1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3683],{5076:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(67684),a=n(67768),o=n(94622),s=n(34356),i=n(79989),c=n(46725),l=n(84269),u=n(44930),d=n(57146),h=n(87620);let p={1:"plan_upsell_channel",2:"upsell_channel"};function m(){let e=(0,a.jE)();return(0,o.n)({mutationFn:async e=>{let{planId:t,channelKey:n="1",referer:r=""}=e,a=await s.N5.selectPlan({plan_id:t,[p[n]]:r||(0,l.rg)()});if(h.m4.has((0,d.LY)(a))||a.err)throw a;return a},onSuccess:t=>{var n;let{cart:a={}}=null!=(n=null==t?void 0:t.data)?n:{};e.setQueryData(i.P.all,(0,r._)({},a))},onError:e=>{let{errors:t}=(0,d.HH)(e);(0,u.Sc)({error_title:"Sorry",errors:t}),(0,c.V)("useCartMutationSelectplan")(e)}})}},23457:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=n(42408).A},38318:e=>{e.exports={star:"starrating_star__F36CK",count:"starrating_count__RxRNx",rating:"starrating_rating__nmNlc",fadein:"starrating_fadein___l__W",loading:"starrating_loading__2Gydi"}},42408:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(67684),a=n(62701),o=n(32271),s=n(764),i=n(70572),c=n(6610),l=n.n(c),u=n(15039),d=n.n(u),h=n(7078),p=n(68551),m=n(38318),_=n.n(m);let v={sm:14,md:20,lg:25},g=l()(i.memo,e=>t=>{let{size:n,stars:i,onClick:c,count:l}=t,u=(0,o._)(t,["size","stars","onClick","count"]),d=Math.floor(i),p=i%1,m=(0,a._)((0,r._)({fullStars:d,partialStarValue:p,emptyStars:5-(d+ +(0!==p)),size:n?v[n]:v.md,onClick:c,count:l&&(0,h.Qk)(l)},u),{tag:c?"a":"span"});return(0,s.Y)(e,(0,r._)({},m))})(e=>{let{size:t=25,fullStars:n,partialStarValue:r,emptyStars:a,count:o=0,onClick:c,tag:l,className:u}=e,h=(0,i.useCallback)(e=>{e.preventDefault(),null==c||c()},[c]),m="string"==typeof o?parseInt(o.replace(/,/g,""),10):o;return(0,s.FD)(l,{href:"#",className:d()(_().rating,u),onClick:m>2?h:null,"data-testid":"star-ratings",children:[[...Array(n)].map((e,n)=>(0,s.Y)(p.A,{value:1,size:t,className:_().star},"fs".concat(n))),0!==r&&(0,s.Y)(p.A,{value:r,size:t,className:_().star}),[...Array(a)].map((e,n)=>(0,s.Y)(p.A,{value:0,size:t,className:_().star},"es".concat(n))),!!o&&(0,s.Y)("span",{className:d()("caption n700",_().count),children:o})]})})},49532:(e,t,n)=>{"use strict";n.d(t,{D3:()=>p,Zb:()=>_,ks:()=>m,mU:()=>v,tp:()=>h,xy:()=>d});var r=n(67684),a=n(62701),o=n(76042),s=n(53774),i=n(31063),c=n(7078),l=n(87620),u=n(25633);let d=e=>{let{isPlanPricingTest:t=!0}=e;return t?{yearlyID:o.FV,monthlyID:o.AP}:{yearlyID:o.Iy,monthlyID:o.Og}},h=e=>{let{planProducts:t,featured:n=!0,isMobileOrTablet:i=!1}=e,{ANNUAL:c,MONTHLY:u}=o.io,h=(e=>{let{planProducts:t=[]}=e;if(!Array.isArray(t)||!t.length)return null;let{ANNUAL:n,MONTHLY:s}=o.io,i=t.find(e=>e.id===o.p8);if(i){let{yearlyID:e,monthlyID:t}=d({});return i.prices.reduce((n,o)=>{let{id:s,planInterval:i}=o;return s===e||s===t?(0,a._)((0,r._)({},n),{[i]:o}):n},{[n]:null,[s]:null})}return null})({planProducts:t}),p={};return[c,u].forEach(e=>{p=(0,a._)((0,r._)({},p),{[e]:(0,a._)((0,r._)({},h[e]),{benefits:(e=>{let{plan:t}=e,{includedSkus:n=[],truckRollFee:o,productDiscount:i}=t||{},{inHome:c,online:u,checkup:d,antivirus:h,password:p,productDiscount:m}=s.G8,_=[],{amount:v}=i||{};return _.push(u),_.push((0,a._)((0,r._)({},c(o)),{truckRollFee:o})),l.hI||"function"!=typeof m||_.push((0,a._)((0,r._)({},m(v)),{discountAmount:v})),n.forEach(e=>{let t=e.name.toLowerCase();t.includes("checkup")?_.push(d):t.includes("malwarebytes")?_.push(h):t.includes("dashlane")&&_.push(p)}),_})({plan:h[e],isMobileOrTablet:i})})})}),(0,a._)((0,r._)({},p),{featured:n})},p=e=>{let{isLoaded:t,treatment:n,treatmentConfig:r}=(0,u.A)(i.Rj),{ANNUAL:a,MONTHLY:s}=o.io,c="showSavings"===n,{oldPrice:l,currentPrice:d}=c&&(null==r?void 0:r[a])||{},{oldPrice:h,currentPrice:p}=c&&(null==r?void 0:r[s])||{};return t?e?{oldPrice:h,currentPrice:p,planPricingSplit:c}:{oldPrice:l,currentPrice:d,planPricingSplit:c}:{oldPrice:"",currentPrice:"",planPricingSplit:!1}},m=e=>{let{planProducts:t}=e,[n=[]]=t.map(e=>e.latestReviews);return n},_=e=>{if(!Object.keys(e).length)return null;let{yearly:t,monthly:n}=e,{amount:r}=t||{},{amount:a}=n||{};return"".concat((0,c.xX)((12*a-r)/(12*a)*100),"%")},v=e=>{let{planProducts:t}=e,{ANNUAL:n,MONTHLY:a}=o.io,i=t.find(e=>e.id===o.GJ),c={[n]:null,[a]:null};
1return((null==i?void 0:i.prices)||[]).forEach(e=>{let{id:t}=e;t===o.sw?c[a]=(0,r._)({benefits:[s.p4.online]},e):t===o.mq&&(c[n]=(0,r._)({benefits:[s.p4.online]},e))}),c}},53774:(e,t,n)=>{"use strict";n.d(t,{Ao:()=>h,G8:()=>v,lz:()=>y,p4:()=>g});var r=n(67684),a=n(62701),o=n(87620);let s="/_nextassets_/icons/home-checkup.svg",i="/_nextassets_/icons/inhome-discounts.svg",c="/_nextassets_/icons/tech-specialist.svg",l="/_nextassets_/icons/premium-antivirus.svg",u="/_nextassets_/icons/premium-password.svg",d="/_nextassets_/icons/product-discount.svg",h={ONLINE:"online",CHECKUP:"checkup",ANTIVIRUS:"antivirus",PASSWORD:"password",IN_HOME:"inHome",HOME_TECH:"homeTech",PRODUCT:"product"},p="Get free 'round-the-clock' support for computers, printers, and more.",m="Manage passwords securely, effortlessly, and across all devices with Dashlane.",_="membership exclusive",v=(0,a._)((0,r._)({homeTech:{id:h.HOME_TECH,header:"Home Tech Specialist",alternateHeader:"Home Tech Specialist",subheader:"Unlimited, instant help with any connected device. No appointments needed.",badgeCopy:"save up to $100",icon:c},online:{id:h.ONLINE,header:"Unlimited Online Support",subheader:p,badgeCopy:"save up to $100",icon:"/_nextassets_/icons/online-support.svg",value:"$100"},inHome:e=>({id:h.IN_HOME,header:"Only $".concat(e," for In-Home Services"),subheader:"Save up to $100 with a members-only discount for any in-home service.",badgeCopy:_,icon:i})},o.hI?{}:{productDiscount:function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"10";return{id:h.PRODUCT,header:"".concat(t,"% Savings on Products"),subheader:(e=t,"Save ".concat(e,"% on curated smart home products, with or without installation.")),badgeCopy:_,icon:d}}}),{checkup:{id:h.CHECKUP,header:"Home Technology Checkup",subheader:"Exclusive to members, we'll come to your home to evaluate and improve your home tech's security, reliability, and speed.",badgeCopy:"valued at $100",icon:s,value:"$100"},antivirus:{id:h.ANTIVIRUS,header:"Premium Antivirus Software",subheader:"We've partnered with MalwareBytes to offer the best in protection against computer threats.",badgeCopy:"valued at $40",icon:l,value:"$40"},password:{id:h.PASSWORD,header:"Premium Password Manager",subheader:m,badgeCopy:"valued at $60",icon:u,value:"$60"}});v.homeTech,v.online;let g={online:{id:h.ONLINE,header:"Unlimited Online Support",subheader:p,badgeCopy:"save up to $100"}};(0,r._)({homeTech:{id:h.HOME_TECH,header:"Unlimited Remote Support",subheader:"Instant access to a home tech specialist. No appointments needed",icon:c},inHome:{id:h.IN_HOME,header:"Exclusive Discounts",subheader:"Members-only discount on in-home services and products, with $0 platform fees.",icon:i},checkup:{id:h.CHECKUP,header:"Home Technology Checkup",subheader:"A comprehensive evaluation of your home technology ecosystem",icon:s},antivirus:{id:h.ANTIVIRUS,header:"Premium Antivirus Software",subheader:"We offer the best in protection against computer threats",icon:l},password:{id:h.PASSWORD,header:"Premium Password Manager",subheader:m,badgeCopy:"valued at $60",icon:u}},o.hI?{}:{productDiscount:e=>{let t;return{id:h.PRODUCT,header:"Premium Password Manager",subheader:(t=e,"Save ".concat(t,"% on curated smart home products, with or without installation.")),icon:d}}});let f=o.hI||"function"!=typeof v.productDiscount?{}:{title:v.productDiscount().header,text:v.productDiscount().subheader,icon:v.productDiscount().icon},y=[{title:v.homeTech.header,text:v.homeTech.subheader,icon:v.homeTech.icon},{title:v.inHome(69).header,text:v.inHome().subheader,icon:v.inHome().icon},(0,r._)({},f),{title:v.online.header,text:v.online.subheader,icon:v.online.icon},{title:v.checkup.header,text:v.checkup.subheader,icon:v.checkup.icon},{title:v.antivirus.header,text:v.antivirus.subheader,icon:v.antivirus.icon},{title:v.password.header,text:v.password.subheader,icon:v.password.icon}]},68551:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(764);let a=(0,n(70572).memo)(e=>{let{color:t="#ccd4dd",fillColor:n="#faca71",value:a,size:o=25,className:s}=e,i=100*a.toFixed(2);return(0,r.FD)("svg",{className:s,version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"".concat(o,"px"),height:"".concat(o,"px"),viewBox:"0 0 ".concat(o," ").concat(o),children:[(0,r.Y)("defs",{children:(0,r.FD)("linearGradient",{id:"star-".concat(i),children:[(0,r.Y)("stop",{offset:"0%",stopColor:n}),(0,r.Y)("stop",{offset:"".concat(i,"%"),stopColor:n}),(0,r.Y)("stop",{offset:"".concat(i,"%"),stopColor:t}),(0,r.Y)("stop",{offset:"100%",stopColor:t})]})}),(0,r.Y)("g",{transform:"scale(".concat(o/530,")"),children:(0,r.Y)("path",{fill:"url(#star-".concat(i,")"),d:"M275.747 418.909l-164.153 86.3 31.351-182.786-132.802-129.45 183.528-26.668 82.076-166.304 82.076 166.304 183.528 26.668-132.802 129.45 31.351 182.786z"})})]})})},84269:(e,t,n)=>{"use strict";n.d(t,{XV:()=>s,cq:()=>a,rg:()=>o});var r=n(10189);let a={added:"Upsell Added",viewed:"Upsell Viewed",removed:"Upsell Removed"},o=()=>{let[,e]=[[/\/(tech-support|landings)\/*/,"SKU_UPSELL"],[/\cart\/booking/,"ORDER_REVIEW_UPSELL"],[/\/cart/,"CART_UPSELL"],[/\/orders\/confirmation/,"ORDER_CONFIRMATION_UPSELL"],[/\/product/,"PRODUCT_UPSELL"],[/\/plans/,"CLIENT_STANDALONE"],[/\.*/,"NO_PAGE_DERIVED"]].find(e=>{let[t]=e;return t.test(window.location.pathname)});return e},s={upsell(e,t){let{referrer:n="",plan:a,partner:s=null}=e,{amount:i,name:c,id:l,planId:u}=a,d={upsell_name:n||o(),plan:{plan_id:l||u,amount:i,name:c,partner:s}};r.A.track(t,d)}}},91971:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(764);let a=e=>{let{condition:t,children:n}=e;return(0,r.Y)(r.FK,{children:!!t&&n})}}}]); 2//# sourceMappingURL=3683-0ede368c61f4a28e.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.