(window.webpackJsonp=window.webpackJsonp||[]).push([[292,109],{1620:function(e,t,r){var content=r(2244);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(252).default)("8e018d98",content,!0,{sourceMap:!1})},2243:function(e,t,r){"use strict";r(1620)},2244:function(e,t,r){var n=r(251)((function(i){return i[1]}));n.push([e.i,".c-shortcodeBuyButton{width:50%}@media(max-width: 768px){.c-shortcodeBuyButton{flex:0 0 100%;width:unset}}",""]),n.locals={},e.exports=n},2994:function(e,t,r){"use strict";r.r(t);var n=r(0),o=r(887),l=r(10),c=r(933),d=r(962),v=new l.a("ShortcodeBuyButton"),h=class extends o.Vue{get buttonLink(){var e=null;try{var t;e=null===(t=JSON.parse(this.api))||void 0===t?void 0:t.url}catch(e){v.log("Unable to parse monetized url.")}return e||this.buttonUrl||this.rawUrl}};Object(n.a)([Object(o.Prop)({default:""}),Object(n.b)("design:type",String)],h.prototype,"api",void 0),Object(n.a)([Object(o.Prop)({default:""}),Object(n.b)("design:type",String)],h.prototype,"buttonText",void 0),Object(n.a)([Object(o.Prop)({default:""}),Object(n.b)("design:type",String)],h.prototype,"buttonUrl",void 0),Object(n.a)([Object(o.Prop)({default:""}),Object(n.b)("design:type",String)],h.prototype,"rawUrl",void 0),Object(n.a)([Object(o.Prop)({default:""}),Object(n.b)("design:type",String)],h.prototype,"id",void 0),Object(n.a)([Object(o.Prop)({default:!1}),Object(n.b)("design:type",Boolean)],h.prototype,"isLeftRailTemplate",void 0),Object(n.a)([Object(o.Prop)({default:""}),Object(n.b)("design:type",String)],h.prototype,"contentId",void 0);var f=h=Object(n.a)([Object(o.Component)({components:{CommerceBuyButton:c.default},mixins:[d.a],inheritAttrs:!1})],h),O=(r(2243),r(152)),component=Object(O.a)(f,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"c-shortcodeBuyButton g-outer-spacing-bottom-large",class:e.$attrs.class},[t("CommerceBuyButton",{attrs:{"button-text":e.buttonText,"button-url":e.buttonLink,"has-offer":!e.useReseller,"content-id":e.contentId,"lead-click-data":e.winningOfferTrackingData,"track-product-viewed":!0,"is-left-rail-template":e.isLeftRailTemplate,"data-location":"BODY",section:"commerce-button"}})],1)}),[],!1,null,null,null);t.default=component.exports},892:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));r(4),r(5),r(13);var n=r(381);function o(e){return{bind:e.bind?function(){return e.bind(...arguments)}:()=>{},componentUpdated:e.componentUpdated?function(){return e.componentUpdated(...arguments)}:()=>{},inserted:e.inserted?function(){return e.inserted(...arguments)}:()=>{},unbind:e.unbind?function(){return e.unbind(...arguments)}:()=>{},update:e.update?function(){return e.update(...arguments)}:()=>{}}}function l(e,t){var r=new t;return Object(n.createDecorator)((t=>{t.directives=(null==t?void 0:t.directives)||{},t.directives[e]=o(r)}))}},893:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r(39);var n=new(r(10).a)("observer");class o{constructor(e,t){if(!window.IntersectionObserver)return n.warn("This browser does not support IntersectionObserver"),this;e.rootMargin=e.rootMargin||"0px",e.singleIntersection=!!e.singleIntersection&&e.singleIntersection,e.triggerOn=e.triggerOn?e.triggerOn:"top";try{return this.create(e,t)}catch(t){return n.error("Failed to construct IntersectionObserver: ".concat(t.toString()),e),this}}create(e,t){if(n.log("create options",e),this.el=e.el,t)return Array.isArray(this.el)&&(this.lastTriggerPosition=[]),this.observer=new IntersectionObserver(((r,o)=>{r.forEach((r=>{var o=!0,data=(null==e?void 0:e.data)||{};if(Array.isArray(this.el)){var l,c,d=this.el.findIndex((e=>e===(null==r?void 0:r.target))),v=null===(l=this.lastTriggerPosition)||void 0===l?void 0:l[d];o=void 0===v||v>r.boundingClientRect.y,this.lastTriggerPosition[d]=r.boundingClientRect.y,data=(null==e||null===(c=e.data)||void 0===c?void 0:c[d])||{}}else o=void 0===this.lastTriggerPosition||this.lastTriggerPosition>r.boundingClientRect.y,this.lastTriggerPosition=r.boundingClientRect.y;var h=o?"down":"up",f=!1;if(n.log(h,r),e.singleIntersection?"top"===e.triggerOn?"down"===h&&r.isIntersecting?f=!0:"up"!==h||r.isIntersecting||(f=!0):"bottom"===e.triggerOn&&("down"!==h||r.isIntersecting?"up"===h&&r.isIntersecting&&(f=!0):f=!0):r.isIntersecting&&(f=!0),f){var O={direction:h,data:data,observer:this,entry:r};n.log(h,r,this),t(O)}}))}),e),this.enable(),this;n.warn("No handler specified on Intersection Observer")}enable(){this.observer&&this.el&&(Array.isArray(this.el)?this.el.forEach((e=>{this.observer.observe(e)})):this.observer.observe(this.el))}disable(){this.observer&&this.el&&(Array.isArray(this.el)?this.el.forEach((e=>{this.observer.unobserve(e)})):this.observer.unobserve(this.el))}destroy(){this.observer&&this.el&&(this.disable(),this.observer.disconnect(),this.observer=null,this.el=null)}refresh(){this.observer&&this.el&&(this.disable(),this.enable())}}},894:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(382);class o{bind(e,t,r){var{arg:o,value:l}=t,{context:c}=r;this.action=()=>{var t,r=c.$track(this.eventType);(t="function"==typeof l?r.create(l):r.with(l).create()).trackingData=n.a.replaceAttributeReferences(e,t.trackingData),t.fire()},e.addEventListener(o||"mousedown",this.action)}unbind(e,t){var{arg:r,value:n}=t;e.removeEventListener(r||"mousedown",this.action)}}function l(e){return class extends o{get eventType(){return e}}}},905:function(e,t,r){"use strict";var n=r(19),o=r(41),l=r(31),c=r(105),d=r(48),v=r(121),h=r(385),f=r(69),O=r(179),m=r(386),y=r(582),P=r(55),j=r(107),w=P("replace"),T=TypeError,I=l("".indexOf),D=l("".replace),x=l("".slice),C=Math.max;n({target:"String",proto:!0},{replaceAll:function(e,t){var r,n,l,P,R,_,k,U,S,E=c(this),A=0,N=0,L="";if(!v(e)){if((r=h(e))&&(n=f(c(m(e))),!~I(n,"g")))throw new T("`.replaceAll` does not allow non-global regexes");if(l=O(e,w))return o(l,e,E,t);if(j&&r)return D(f(E),e,t)}for(P=f(E),R=f(e),(_=d(t))||(t=f(t)),k=R.length,U=C(1,k),A=I(P,R);-1!==A;)S=_?f(t(R,A,P)):y(R,P,A,[],void 0,t),L+=x(P,N,A)+S,N=A+k,A=A+U>P.length?-1:I(P,R,A+U);return N
{null==T||T.delete(param)}));var I={s1:f||null,s2:c||null,s3:O||null,s4:y||null,s5:"cb-".concat(h||null,"-").concat("mobile"===m?"mwb":"dtp")};for(var[D,x]of Object.entries(I))null==T||T.append(D,x);w.search=null==T?void 0:T.toString(),t=null==w?void 0:w.toString()}return t}},962:function(e,t,r){"use strict";var n=r(6),o=(r(4),r(581),r(39),r(254),r(5),r(154),r(106),r(0)),l=r(887),c=r(17),d=r(387);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t0)}get hasCreditCardOffer(){var e;return!(null===(e=this.extraData)||void 0===e||null===(e=e.creditCardData)||void 0===e||null===(e=e.attributes)||void 0===e||!e.link)}get monetizedUrl(){var e;return(null===(e=this.extraData)||void 0===e?void 0:e.monetizedUrl)||null}get offerUrl(){var e;return(null===(e=this.extraData)||void 0===e?void 0:e.offerUrl)||null}get productPrice(){var e,t;return this.useReseller?(null===(e=this.preferredReseller)||void 0===e?void 0:e.price)/100:Number(null===(t=this.merchantOffer)||void 0===t?void 0:t.offerPrice)}get resellerName(){var e,t;return(this.useReseller?null===(e=this.preferredReseller)||void 0===e?void 0:e.name:null===(t=this.merchantOffer)||void 0===t?void 0:t.offerMerchant)||null}get techProdOfferText(){var e;return(null===(e=this.techProd)||void 0===e||null===(e=e.attributes)||void 0===e||null===(e=e.find((e=>"offer-link-text"===e.slug)))||void 0===e?void 0:e.val.toString())||null}get techProdOfferUrl(){var e;return(null===(e=this.techProd)||void 0===e||null===(e=e.attributes)||void 0===e||null===(e=e.find((e=>"offer-link-url"===e.slug)))||void 0===e?void 0:e.val.toString())||null}get productFamily(){var e;return(null===(e=this.techProd)||void 0===e||null===(e=e.family)||void 0===e?void 0:e[0])||{uuid:"",name:""}}get promoText(){var e,t,r=null===(e=this.techProd)||void 0===e||null===(e=e.attributes)||void 0===e?void 0:e.find((e=>"promo-text"===e.slug));return null==r||null===(t=r.val)||void 0===t?void 0:t[0]}get promoCode(){var e,t,r=null===(e=this.techProd)||void 0===e||null===(e=e.attributes)||void 0===e?void 0:e.find((e=>"coupon-code"===e.slug));return null==r||null===(t=r.val)||void 0===t?void 0:t[0]}get promoTextRightRail(){var e,t,r=null===(e=this.techProd)||void 0===e||null===(e=e.attributes)||void 0===e?void 0:e.find((e=>"vpn-promo-text-test"===e.slug));return null==r||null===(t=r.val)||void 0===t?void 0:t[0]}get techProd(){var e;return(null===(e=this.extraData)||void 0===e?void 0:e.techProd)||null}get usePricing(){var e;return(null===(e=this.extraData)||void 0===e?void 0:e.usePricing)||!1}get useReseller(){return!(!this.hasReseller||!this.techProd||!this.usePricing&&(this.hasMerchantOffer||this.hasOfferLink))}get productCategory(){return this.useReseller?"PRODUCT-CATALOG-OFFER":this.usePricing?"MANUAL-OFFER-NO-PRODUCT-CATALOG-ENTRY":"MANUAL-OFFER-PRODUCT-CATALOG-DEACTIVATED"}get allLeadsTrackingData(){var e=this.useReseller?this.preferredResellers:this.merchantOffers,t=[];for(var r of e)t.push({rawUrl:this.useReseller?null==r?void 0:r.url:null==r?void 0:r.rawUrl,resellerName:this.useReseller?null==r?void 0:r.name:null==r?void 0:r.offerMerchant});return t}get creditCardOffer(){var e,t,r,n;try{var o;r=new URL(null===(o=this.merchantOffer)||void 0===o?void 0:o.url)}catch(e){}if(null!==(e=r)&&void 0!==e&&null!==(e=e.hostname)&&void 0!==e&&e.endsWith("amazon.com"))return r.href;try{var l;n=new URL(null===(l=this.extraData)||void 0===l||null===(l=l.creditCardData)||void 0===l||null===(l=l.attributes)||void 0===l?void 0:l.link)}catch(e){}if(n){var v,h=n.searchParams;h.append("c_correlation_id",d.ID_PLACEHOLDER[0]),h.append("c_tenant_id",null==c||null===(v=c.cohesion)||void 0===v?void 0:v.sourceKey),h.append("c_anonymous_id",this.$store.getters["tracking/clientId"]),h.append("c_session_id",this.$store.getters["tracking/sessionId"]),h.append("c_instance_id",this.$store.getters["tracking/viewGuid"])}return null===(t=n)||void 0===t?void 0:t.href}get winningOfferUrl(){return this.hasCreditCardOffer?this.creditCardOffer:this.techProdOfferUrl?this.techProdOfferUrl:this.useReseller?(null===(e=this.preferredReseller)||void 0===e?void 0:e.url)||null:this.monetizedUrl?this.monetizedUrl:this.hasMerchantOffer?(null===(t=this.merchantOffer)||void 0===t?void 0:t.url)||null:this.offerUrl?this.offerUrl:null;var e,t}get winningOfferTrackingData(){var e=this.useReseller?this.preferredReseller:this.merchantOffer;return this.getLeadTrackingData(e,this.useReseller)}shortcodeType(e){var t={commercelink:"link",commercelinkshortcode:"link",cnetlisticle:"listicle",cross_content_listicle:"x-listicle",commercepromo:"promo",buybutton:"button",reviewcard:"reviewcard"};return t[e]?t[e]:e}getLeadTrackingData(e){var t,r,n,o,l,c,v,f,O,m,y,P,j,w,T,I,D,x,C,R=arguments.length>1&&void 0!==arguments[1]&&arguments[1],data={brand:null==e?void 0:e.offerMerchant,coupon:this.promoText,monetizationStatus:"",productCpc:"",productCategory:this.productCategory,productId:(null===(t=this.techProd)||void 0===t?void 0:t.id)||"",productManufacturer:(null===(r=this.techProd)||void 0===r||null===(r=r.manufacturer)||void 0===r?void 0:r.name)||"",productSeriesId:(null===(n=this.productFamily)||void 0===n?void 0:n.uuid)||"",productSeriesName:(null===(o=this.productFamily)||void 0===o?void 0:o.name)||"",productSku:Array.isArray(null===(l=this.techProd)||void 0===l||null===(l=l.product)||void 0===l?void 0:l.sku)&&(null===(c=this.techProd)||void 0===c||null===(c=c.product)||void 0===c||null===(c=c.sku)||void 0===c?void 0:c.length)>0?null===(v=this.techProd)||void 0===v||null===(v=v.product)||void 0===v||null===(v=v.sku)||void 0===v?void 0:v[0]:(null===(f=this.techProd)||void 0===f||null===(f=f.product)||void 0===f?void 0:f.sku)||"",productSlug:(null===(O=this.techProd)||void 0===O||null===(O=O.product)||void 0===O?void 0:O.slug)||"",resellerId:"",resellerTtag:"",shortcodeId:(null===(m=this.extraData)||void 0===m?void 0:m.uuid)||"",shortcodeType:this.shortcodeType(null!==(y=null===(P=this.extraData)||void 0===P?void 0:P.shortcodeType)&&void 0!==y?y:""),useMonetization:""};return h(h({},data),{},R?{productCpc:e.cpc,productName:null===(j=this.techProd)||void 0===j||null===(j=j.product)||void 0===j?void 0:j.name,productPrice:Number(e.totalPrice/100)||Number(e.price/100),rawUrl:(null==e?void 0:e.url)||(null===(w=this.extraData)||void 0===w?void 0:w.rawUrl),resellerId:e.id,resellerName:e.name,resellerTtag:e.tTag,subId:Object(d.getSubIdTrackingValue)(this.stateMappings,(null==e?void 0:e.url)||(null===(T=this.extraData)||void 0===T?void 0:T.rawUrl))}:{monetizationStatus:null==e?void 0:e.monetizationStatus,productName:(null===(I=this.techProd)||void 0===I||null===(I=I.product)||void 0===I?void 0:I.name)||(null===(D=this.extraData)||void 0===D?void 0:D.hed)||this.hed,productPrice:(null==e?void 0:e.offerPrice)||0,rawUrl:(null==e?void 0:e.rawUrl)||(null===(x=this.extraData)||void 0===x?void 0:x.rawUrl),resellerName:null==e?void 0:e.offerMerchant,subId:Object(d.getSubIdTrackingValue)(this.stateMappings,(null==e?void 0:e.rawUrl)||(null===(C=this.extraData)||void 0===C?void 0:C.rawUrl)),useMonetization:null==e?void 0:e.useMonetization})}getLowestOfferPrice(e){var t,r,n;if(!Array.isArray(e)||0===e.length)return null;var o=(null===(t=e[0])||void 0===t?void 0:t.totalPrice)||(null===(r=e[0])||void 0===r?void 0:r.price)||(null===(n=e[0])||void 0===n?void 0:n.offerPrice);return e.forEach((e=>{var t=(null==e?void 0:e.totalPrice)||(null==e?void 0:e.price)||(null==e?void 0:e.offerPrice);t