(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[95],{7831:function(e,r,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/compare/[slug]",function(){return s(4025)}])},4025:function(e,r,s){"use strict";s.r(r),s.d(r,{__N_SSP:function(){return U},default:function(){return I}});var i=s(5893),n=s(7294),t=s(5675),a=s.n(t),c=s(6643),o=s.n(c);let l=e=>{let{content:r}=e;return(0,i.jsxs)("div",{className:o().container,children:[(0,i.jsxs)("div",{className:o().content,children:[(0,i.jsx)("h1",{children:r.title}),(0,i.jsx)("p",{children:r.description}),r.deviceInfo&&(0,i.jsxs)("div",{className:o().devices,children:[r.deviceInfo.label,(0,i.jsx)("ul",{children:r.deviceInfo.icons.map((e,r)=>(0,i.jsx)("li",{children:(0,i.jsx)(a(),{src:e.src,width:e.width,height:e.height,alt:e.alt||e.title})},"device-info-".concat(r)))})]})]}),(0,i.jsx)("div",{className:o().image,children:r.image&&(0,i.jsx)(a(),{src:r.image.src,width:r.image.width,height:r.image.height,alt:r.image.alt||r.image.title})})]})};var d=s(1478),p=s.n(d);let h=e=>e?e.map((e,r)=>(0,i.jsx)("li",{children:(0,i.jsx)(a(),{src:e.src,width:e.width,height:e.height,alt:e.alt||e.title})},"press-".concat(r))):null,_=e=>{let{content:r}=e;return(0,i.jsx)("div",{className:p().container,children:(0,i.jsxs)("ul",{className:p().content,children:[(0,i.jsx)("li",{children:r.label}),h(r.logos)]})})};var u=s(5509),g=s(8293),v=s(3556),x=s.n(v);let m=e=>{let{card:r,ppcTablePage:s,showHighlight:t}=e,[c,o]=(0,n.useState)("pros"),[l,d]=(0,n.useState)(!1),p={pageLinkType:g.Pz.PPCTable,providerSlug:r.slug,pageType:g.GV.PPC,tablePosition:parseInt(r.rank),cardID:r.id,sendReferrer:r.sendReferrer,pageSlug:s.slug},h=e=>{let r=e.target;"a"!=r.tagName.toLowerCase()&&"img"!=r.tagName.toLowerCase()&&window.open((0,g.EW)({clickType:g.uD.Content,linkType:g.Un.Card,...p}))},_=(e,r)=>{o(e),r.stopPropagation()};(0,n.useEffect)(()=>{let e=setTimeout(()=>{d(!0)},1e3),r=setTimeout(()=>{d(!1)},9e3);return()=>{clearTimeout(e),clearTimeout(r)}},[]);let v="";r.nudge&&(v=r.nudge.replace(/([0-9]+)/g,"$1"));let m=x().container;t&&(m+=" "+x().highlight);let b=r.features.filter(e=>"pro"==e.type).length,k=r.features.filter(e=>"con"==e.type).length,w=b&&k,T=N(s.header.language);return(0,i.jsxs)("div",{className:m,onClick:h,children:[f(r),(0,i.jsxs)("div",{className:x().provider,children:[r.provider.product&&(0,i.jsx)(u.OD,{...p,clickType:g.uD.Content,linkType:g.Un.Image,ariaLabel:r.provider.name,className:x().product,children:(0,i.jsx)(a(),{src:r.provider.product.src,alt:r.provider.product.alt||r.provider.product.title,width:r.provider.product.width,height:r.provider.product.height,priority:t})}),(0,i.jsx)(u.OD,{...p,clickType:g.uD.Content,linkType:g.Un.Image,ariaLabel:r.provider.name,className:x().logo,children:(0,i.jsx)(a(),{src:r.provider.logo.src,alt:r.provider.logo.alt||r.provider.logo.title,width:r.provider.logo.width,height:r.provider.logo.height,priority:t})}),(0,i.jsx)(u.tS,{score:r.score.number,maxScore:10}),(0,i.jsx)("p",{children:r.headline})]}),(0,i.jsxs)("div",{className:x().features+" "+x()[c],children:[r.headline&&(0,i.jsx)("p",{className:x().headline,children:r.headline}),w>0&&(0,i.jsxs)("div",{className:x().tabs,children:[(0,i.jsx)("strong",{className:"pros"==c?x().active:"",onClick:e=>_("pros",e),children:T.pros}),(0,i.jsx)("strong",{className:"cons"==c?x().active:"",onClick:e=>_("cons",e),children:T.cons})]}),(0,i.jsx)("ul",{className:w?x()["with-tabs"]:"",children:r.features.map(j)}),r.discount&&(0,i.jsx)("p",{className:x().offer,children:(0,i.jsx)(u.OD,{...p,clickType:g.uD.Content,linkType:g.Un.Text,pageLinkType:g.Pz.PPCTableDiscountURL,children:r.discount.label})})]}),(0,i.jsxs)("div",{className:x().score,children:[(0,i.jsx)("div",{className:x().circle,children:r.score.number.toFixed(1)}),r.score.superlative&&(0,i.jsx)("p",{children:r.score.superlative})]}),(0,i.jsxs)("div",{className:x().visit,children:[(0,i.jsx)("div",{className:x().circle,children:r.score.number.toFixed(1)}),(0,i.jsx)("button",{children:(0,i.jsx)(u.OD,{...p,clickType:g.uD.Button,linkType:g.Un.Button,children:r.button.title})}),(0,i.jsx)(u.OD,{...p,clickType:g.uD.LinkOut,linkType:g.Un.Text,children:r.button.label})]}),v.length>0&&(0,i.jsx)("div",{className:x().nudge+(l?" "+x().visible:""),children:(0,i.jsx)("p",{dangerouslySetInnerHTML:{__html:v}})})]})},j=(e,r)=>{let s=x()["pro"==e.type?"tick":"cross"];return(0,i.jsx)("li",{className:s,children:e.label},"feature-".concat(r))},f=e=>e.flag?(0,i.jsxs)("span",{className:x().flag,children:[e.rank," / ",e.flag]}):(0,i.jsxs)("span",{className:x().rank,children:[e.rank," /"]}),N=e=>({french:{pros:"Pours",cons:"Contres"},italian:{pros:"Pro",cons:"Contro"},spaniush:{pros:"Pros",cons:"Contras"},portuguese:{pros:"Pr\xf3s",cons:"Contras"},german:{pros:"Vor-",cons:"Nachteile"},dutch:{pros:"Voors",cons:"Tegens"},swedish:{pros:"F\xf6r-",cons:"Nackdelar"},norweigian:{pros:"Fordeler",cons:"Ulemper"},danish:{pros:"Fordele",cons:"Ulemper"}})[e]||{pros:"Pros",cons:"Cons"};var b=s(7328),k=s.n(b);let w=e=>{let{faq:r,startExpanded:s}=e,[t,a]=(0,n.useState)(s||!1),c=()=>{a(!t)},o=k().container;return t&&(o+=" "+k().expanded),(0,i.jsxs)("div",{className:o,children:[(0,i.jsxs)("h3",{onClick:c,children:[r.question," ",(0,i.jsx)("i",{className:t?k().collapse:"",children:(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,height:16,children:[t?"Collapse":"Expand",(0,i.jsx)("use",{xlinkHref:"#svg-chevron"})]})})]}),(0,i.jsx)("div",{className:k().content,dangerouslySetInnerHTML:{__html:r.answer}})]})};var T=s(689),y=s.n(T);let C=e=>{let{faqs:r}=e,s=r.items.map((e,r)=>(0,i.jsx)(w,{faq:e,startExpanded:0==r},"faq-".concat(r)));return(0,i.jsxs)("div",{className:y().container,children:[(0,i.jsx)("h2",{children:r.title}),s]})};var P=s(786),S=s.n(P);let D=(e,r)=>e&&e.cards?(0,i.jsx)(u.lr,{cards:e.cards.map(e=>(0,u.Vp)(e,r))}):null,L=e=>{let{globalSettings:r,ppcTablePage:s,userAgent:n}=e;return(0,i.jsxs)(u.Ar,{globalSettings:r,fullWidth:!0,disclosure:s.disclosure,children:[(0,i.jsx)(u.kc,{fields:s.seo}),(0,i.jsx)(l,{content:s.header}),s.header.press&&(0,i.jsx)(_,{content:s.header.press}),(0,i.jsxs)("div",{className:S().cards,children:[s.cards&&s.cards.map((e,r)=>(0,i.jsx)(m,{card:e,ppcTablePage:s,showHighlight:0==r},"card-".concat(r))),s.carousel&&s.carousel.title&&(0,i.jsx)("h2",{children:s.carousel.title}),D(s.carousel,s.slug)]}),(0,i.jsxs)("div",{className:S().other,children:[s.faqs&&(0,i.jsx)(C,{faqs:s.faqs}),s.aboutUs&&(0,i.jsx)(u.qX,{title:s.aboutUs.title,children:s.aboutUs.body})]}),(0,i.jsx)(u.ve,{content:s.externalUtils,userAgent:n})]})};var U=!0,I=L},6643:function(e){e.exports={container:"compare-header_container__y1_CN",content:"compare-header_content__QuEOP",devices:"compare-header_devices__09dN_",image:"compare-header_image__PkSr_"}},1478:function(e){e.exports={container:"press_container__BIxaW",content:"press_content__bo03a"}},3556:function(e){e.exports={container:"provider-card_container__b4Plh",provider:"provider-card_provider__p9QA4",features:"provider-card_features___7y0m",score:"provider-card_score__cwnvc",flag:"provider-card_flag__MwJce",rank:"provider-card_rank__OlLYB",tick:"provider-card_tick__CDN27",cross:"provider-card_cross__l4UrR",headline:"provider-card_headline__cgnPG",offer:"provider-card_offer__wnbrd",tabs:"provider-card_tabs__zLtJF",circle:"provider-card_circle__QhocH",visit:"provider-card_visit__HpH9B",highlight:"provider-card_highlight__Sv1Q4",nudge:"provider-card_nudge__OjZIt",visible:"provider-card_visible__ngnbA","with-tabs":"provider-card_with-tabs__QfIuN",cons:"provider-card_cons__O48iE",active:"provider-card_active__uRwIi",pros:"provider-card_pros__wNV5E"}},7328:function(e){e.exports={container:"question_container____Our",collapse:"question_collapse__1LPg1",content:"question_content__KGQnn",expanded:"question_expanded__cQzAc"}},689:function(e){e.exports={container:"questions_container__9Ztra"}},786:function(e){e.exports={cards:"compare_cards__Szn45",other:"compare_other__mxLAk"}}},function(e){e.O(0,[247,509,774,888,179],function(){return e(e.s=7831)}),_N_E=e.O()}]);