PageSourceSearch

https://www.sumup.com/builder-next-assets/_next/static/chunks/2153…?dpl=dpl_AT2QF5Z6WcvMVo5p6ppRNNHes5p3

js sumup.com collected 2026-10-01 09:00:49 UTC 223,836 bytes, 27 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="240b8098-43e3-4c6f-9202-0590ac44124a",e._sentryDebugIdIdentifier="sentry-dbid-240b8098-43e3-4c6f-9202-0590ac44124a")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2153],{589:e=>{e.exports={wrapper:"styles_wrapper__g2Yi6",stickyContainer:"styles_stickyContainer__xwRVD",phoneContainer:"styles_phoneContainer__spmeX",baCardContainer:"styles_baCardContainer__XkBH0",baCard:"styles_baCard__yIwnu",sumUpCardContainer:"styles_sumUpCardContainer__rhOBG",sumUpCard:"styles_sumUpCard__av_Ye",screensWrapper:"styles_screensWrapper__aoaFG",screenImage:"styles_screenImage__RXxCC",screen:"styles_screen__4vnzA",contentContainer:"styles_contentContainer__3aGoe",content:"styles_content__25ftS",jsFallback:"styles_jsFallback__qBO__","background-color-change-wrapper":"styles_background-color-change-wrapper__u9Hsx","background-color-change":"styles_background-color-change__2dggw","card-tilt-left-emerge":"styles_card-tilt-left-emerge__jlbQm","card-tilt-left-hide":"styles_card-tilt-left-hide__30GHy","card-tilt-right":"styles_card-tilt-right__e04l6","screen-phone-in":"styles_screen-phone-in__AjGH5","card-tilt-left-emerge-mobile":"styles_card-tilt-left-emerge-mobile__12ToA","card-tilt-left-hide-mobile":"styles_card-tilt-left-hide-mobile__PG904","card-tilt-right-mobile":"styles_card-tilt-right-mobile__MrL36"}},5300:e=>{e.exports={grid:"style_grid__gB0ix"}},6361:e=>{e.exports={base:"styles_base__07z0C",kilo:"styles_kilo__bKztL",mega:"styles_mega__W_A_m",giga:"styles_giga__Yoh2C",tera:"styles_tera__XpyKu"}},6488:e=>{e.exports={list:"style_list__mnWyR",feature:"style_feature__W2F2R",featureWithIcon:"style_featureWithIcon__a0Y73",icon:"style_icon__QFk8c",content:"style_content__xceda"}},9250:e=>{e.exports={wrapper:"styles_wrapper___B16B",lazyPlaceholder:"styles_lazyPlaceholder__5rVq9",gridLayout:"styles_gridLayout__1GnVk",stickyBox:"styles_stickyBox__71CEl",posContainer:"styles_posContainer__DF5ab",video:"styles_video__iPCiH",staticImages:"styles_staticImages__O3WcV",screensContainer:"styles_screensContainer__CdxNA",screen:"styles_screen__c3l3u",screenAbsolute:"styles_screenAbsolute__V_7jT",screenHidden:"styles_screenHidden__RqcUz",emptyPos:"styles_emptyPos__yorpw",loyaltyFace:"styles_loyaltyFace__u6emb",loyaltyImage:"styles_loyaltyImage__pC4WM",content:"styles_content__ZzoIV",mobileSpacer:"styles_mobileSpacer__tcBoV",contentSection:"styles_contentSection__Am_vy",textBox:"styles_textBox__VHEkx",tag:"styles_tag__LMmpE",headline:"styles_headline__6HTzj",button:"styles_button__Ht9yL",loyaltyHeadline:"styles_loyaltyHeadline__9ho5v",loyaltyDescription:"styles_loyaltyDescription__Ae66j"}},9549:e=>{e.exports={wrapper:"styles_wrapper__v_cWC",field:"styles_field__YhFZP"}},10486:e=>{e.exports={wrapper:"style_wrapper__TMwbn","icon-wrapper":"style_icon-wrapper__k7rAh",icon:"style_icon__r4WZ0"}},11135:e=>{e.exports={wrapper:"styles_wrapper__Dm6lE",stage:"styles_stage__2NNcT",frame:"styles_frame__uUZV_",media:"styles_media__ykRKS",overlay:"styles_overlay__XbfH6",content:"styles_content__WpId_",headline:"styles_headline__HX6XY",description:"styles_description__4T2P0",buttons:"styles_buttons___yIKB",animated:"styles_animated__Pn8T8",promoBadge:"styles_promoBadge__CwLaE",promoBadgeBounce:"styles_promoBadgeBounce__zSQGt",promoLabel:"styles_promoLabel__RcnYe",promoPercentage:"styles_promoPercentage__82Tyv"}},11486:(e,t,l)=>{"use strict";function a(e){let t=!1;for(let l=0;l<e.length;l+=1){let a=e[l];if("<"===a)t=!0;else if(">"===a)t=!1;else if(!t&&a.trim().length>0)return!0}return!1}l.d(t,{h:()=>a})},11960:(e,t,l)=>{"use strict";l.r(t),l.d(t,{Anchor:()=>N,Button:()=>I,Link:()=>w,getClickHandler:()=>S,renderLink:()=>C,resolveLinkData:()=>j,useLinkContext:()=>k});var a=l(95155),n=l(49861),r=l(98500),i=l.n(r),o=l(12115),s=l(68249),d=l(36586),c=l(73321),u=l(25455),p=l(14298),m=l(41522),h=l(74314),g=l(38770),y=l(23124),f=l(27666),v=l(51114),b=l(2117),x=l(34216),_=l(95543),T=l(86504);let w=e=>{var t;let{children:l,href:n,onClick:r,trackingId:o,rel:s,disableSPANavigation:d=!1,disableAutomaticTracking:c=!1,dynamicTrackingIdData:u,isDisabled:p=!1,...m}=e,h=k();if(!n)return l;let{linkInfo:g,hrefWithQueryParams:y,visibleHref:f,formattedURLObject:v,trackingId:b,query:x}=j(n,h,c,u,o),_=S(r,{router:h.router,navigationHref:y,locale:h.request.locale,url:v,environment:h.environment,trackingId:b,linkInfo:g,disableSPANavigation:d,disabled:p}),T=(null==g?void 0:g.isInternal)&&(null==(t=Object.keys(x||{}))?void 0:t.length)>0?"canonical":void 0,w=(null==g?void 0:g.isCurrent)&&"string"==typeof n&&(null==n?void 0:n.startsWith("#"));return(0,a.jsx)(i(),{...m,prefetch:!1,rel:s||((null==g?void 0:g.isExternal)?"noopener noreferrer":T),href:f,onClick:_,"data-track":b,"aria-current":(null==g?void 0:g.isCurrent)?"page":void 0,"aria-disabled":p||void 0,tabIndex:p?-1:m.tabIndex,style:p?{...m.style,pointerEvents:"none"}:m.style,...w&&{"data-skip-highlight":!0},children:l})},N=(0,o.forwardRef)((e,t)=>{let{children:l,href:n,target:r,rel:i,style:o,...d}=e,{commonLabels:c}=(0,f.Z)(),u=(0,_.A)(),h=(0,v._)(),g=(0,m.n8)(n,h),y=(0,p.N0)(g,h,u),b=r||(y.isExternal?"_blank":void 0),x="_blank"===b?(null==c?void 0:c.openInNewTab)||"Open in new tab":void 0;return(0,a.jsx)(s.M,{...d,style:o,href:n,as:w,ref:t,target:b,rel:"_blank"===b?"noopener noreferrer":i,externalLabel:x,children:l})});N.displayName="Anchor";let I=(0,o.forwardRef)((e,t)=>{let{children:l,disabled:n,...r}=e;return l?(0,a.jsx)(d.$,{...r,as:w,ref:t,disabled:n,isDisabled:n,children:l}):null});function C(e){return(0,a.jsx)(w,{...e})}function S(e,t){let{router:l,navigationHref:a,url:r,environment:i,trackingId:o,linkInfo:s,disableSPANavigation:d=!1,disabled:c=!1}=t;return async t=>{if(n.M$.isEditing){null==t||t.preventDefault();return}if(c){null==t||t.preventDefault(),null==t||t.stopPropagation();return}o&&(0,u.BI)({event:"button clicked",button_description:o,destination:(0,u.D1)(r,s)});let p=h.SD(a,r,i);!d&&l&&p&&(null==t||t.preventDefault(),l.push(a)),e&&e(t)}}function k(){let e=(0,_.A)(),t=(0,c.useRouter)(),l=(0,v._)(),{products:a}=(0,b.Q)(),{fees:n}=(0,x.useFees)(),{pageId:r}=(0,y.usePageContext)(),{shopIntegration:i}=(0,T.N)(),[s,d]=(0,o.useState)({});return(0,o.useEffect)(()=>{let e=h.QU();e&&Object.keys(e).length&&d(e)},[]),{environment:e,router:t,request:l,products:a,fees:n,pageId:r,shopIntegration:i,localStorageRequestQuery:s}}function j(e,t,l,a,n){let{request:r,products:i,fees:o,pageId:s,environment:d,shopIntegration:c,localStorageRequestQuery:y}=t,f=(0,m.n8)(e,r),v=(0,g.E7)(f,r.origin,r.locale,c),b=h.Q2(v,r,i,o.feeCampaignTokens,d,{},y),x=h.XH(v,b,r,d),_=h.XH({...v,searchParams:void 0,query:{}},(null==b?void 0:b.qa)?{qa:null==b?void 0:b.qa}:{},r,d),T=h.cC(v,x,_,r),w=(0,p.N0)(v,r,d),N=l?void 0:n||(0,u.AX)({pageId:s,href:T,...null!=a?a:{}});
1return{formattedURLObject:v,hrefWithQueryParams:x,hrefWithoutQueryParams:_,visibleHref:T,query:b,linkInfo:w,trackingId:N}}I.displayName="Button"},12660:e=>{e.exports={container:"style_container__sOaoU","sticky-left-container":"style_sticky-left-container__ysKk9","content-container":"style_content-container__Ux5Wl","trustpilot-wrapper":"style_trustpilot-wrapper__iEg_u",row:"style_row__L1vJk",column:"style_column__wnl1p",heading:"style_heading__dly74",body:"style_body__o7IrC","heading-with-margin-bottom":"style_heading-with-margin-bottom__dxIZR",disabled:"style_disabled__tH13X","button-notification":"style_button-notification__aRfZg","full-width-button":"style_full-width-button__vQ3Ht","pricing-info":"style_pricing-info__7B2pa","strike-through":"style_strike-through__KXbZj","discounted-price":"style_discounted-price__OlINl","with-sumup-one":"style_with-sumup-one__RnwzB",footnote:"style_footnote__2qdSr","as-number":"style_as-number__NApe4","vat-text":"style_vat-text__Qu5Yy","shipping-cost":"style_shipping-cost___Uhks","device-guarantee":"style_device-guarantee__XqKvu","shipping-and-guarantee":"style_shipping-and-guarantee__YYzYH","add-to-cart-container":"style_add-to-cart-container__FiwDj","has-only-one-product":"style_has-only-one-product__olKQq","sticky-add-to-cart":"style_sticky-add-to-cart__Z7vKi","is-sticky":"style_is-sticky__3_Nmv"}},14298:(e,t,l)=>{"use strict";l.d(t,{_8:()=>y,N0:()=>v,dH:()=>b,P:()=>h,VH:()=>g,PR:()=>f});let a=function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",a=Array.isArray(e)?e:null==e?void 0:e.split(l);return null==a?void 0:a.reduce((e,t)=>null==e?void 0:e[t],t)},n=e=>null==e||"object"==typeof e||"number"==typeof e&&Number.isNaN(e),r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?void 0:e.replace(/{{([a-zA-Z0-9_.]+)}}/g,e=>{let l=a(e.slice(2,-2),t);return Array.isArray(l)?l.join(", "):String(n(l)?e||"":l)})},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n(e))return r(String(e),t)};var o=l(32788),s=l(26360);let d=Number(l(40459).env.MEMORY_CACHE_TTL)||1e3;(0,s.createCache)((0,s.memoryStore)({ttl:d}));var c=l(28010);l(16271),l(89538),l(40459),l(70357),l(38890);var u=l(19898);l(41522);var p=l(49861),m=l(83193);function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];try{try{!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach(e=>{p.M$.registerComponent(e.component,e.options)})}(l)}catch(e){throw Error("Error registering components")}let a=new URL(window.location.href),n=decodeURIComponent(a.searchParams.get("builder.user.role.name")||"");try{p.M$.register("editor.settings",{designTokens:e})}catch(e){throw Error("Error registering design tokens")}try{!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];p.M$.register("editor.settings",{customInsertMenu:!0}),(0,m.s)(e,t).forEach(e=>{p.M$.register("insertMenu",e)})}(n,t)}catch(e){throw Error("Error registering menu sections")}}catch(e){throw Error(`Error initializing content client: ${e}`)}}function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{return i(e,t)}catch(e){throw Error("Error in populateBuilderState")}}let y=e=>e.reduce((e,t)=>t.deprecation?e:[...e,{...t,value:`${t.name}_${t.size}`,friendlyName:`[${t.category}]: ${t.name} size:${t.size}`}],[]);function f(e){try{(0,o.PR)(e)}catch(e){throw Error(`Error setting user attributes: ${String(e)}`)}}function v(e,t,l){return(0,u.y6)(e,t,l)}function b(e){let t;e.delete("srcset"),e.delete("noWebp");let l=e.get("image");return l?((0,o._f)(l).then(t=>{t&&e.set("noWebp",!0)}).catch(()=>{}),(t=e.get("aspectRatio"))&&t!==c.zt?null:(0,o.vX)(l).then(t=>{let{width:a,height:n}=t,r=e.get("aspectRatio"),i=!r||r===c.zt;e.get("image")===l&&i&&a&&n&&(e.set("aspectRatio",Math.round(n/a*1e3)/1e3),e.set("height",n),e.set("width",a))})):null}l(93336)},15763:e=>{e.exports={wrapper:"style_wrapper__KmHDJ","is-selected":"style_is-selected__1s4WH",disabled:"style_disabled__pY7Gv","image-wrapper":"style_image-wrapper__YJDXx",image:"style_image__KNPem","content-wrapper":"style_content-wrapper__zaIrM","discounted-price":"style_discounted-price__CWl9p","with-sumup-one":"style_with-sumup-one__k_vgK","strike-through":"style_strike-through__0pqqM","vat-text":"style_vat-text__M3v7k"}},16343:e=>{e.exports={longtext:"styles_longtext__p5u7_"}},18124:e=>{e.exports={step:"styles_step__vFZ1t","step-actions":"styles_step-actions__sm29P","step-actions--full-width":"styles_step-actions--full-width__PAhrU","step-sub-headline":"styles_step-sub-headline__N_SKG","step-disclaimer":"styles_step-disclaimer__r3geP","step-two-columns":"styles_step-two-columns__xWKOg","progress-bar-wrapper":"styles_progress-bar-wrapper__ZiBXo","progress-bar":"styles_progress-bar__tWwdn"}},19029:e=>{e.exports={wrapper:"style_wrapper__zIxVQ","is-selected":"style_is-selected__wYcfn",disabled:"style_disabled___3i4m",badge:"style_badge__SWfdA","icon-success":"style_icon-success__KSa_2","icon-placeholder":"style_icon-placeholder__spQ_T","fee-label":"style_fee-label__c9ptG","cost-value":"style_cost-value__C7B5c","cost-label":"style_cost-label__EDimE",headings:"style_headings__e9utV"}},21510:e=>{e.exports={productCardWrapper:"ShopCatalogItem_productCardWrapper__K3Sj6",hasUrl:"ShopCatalogItem_hasUrl__e7fUZ",highlighted:"ShopCatalogItem_highlighted__04obq",productDetails:"ShopCatalogItem_productDetails__xaRGI",bundleSubscriptions:"ShopCatalogItem_bundleSubscriptions__Y5FoE",productDetailsTop:"ShopCatalogItem_productDetailsTop__Ht1Gy",imageWrapper:"ShopCatalogItem_imageWrapper___ZjXk",badge:"ShopCatalogItem_badge__5VOpn",headline:"ShopCatalogItem_headline__8tJLe",shortDe
1scription:"ShopCatalogItem_shortDescription__QKStl"}},23124:(e,t,l)=>{"use strict";l.d(t,{PageProvider:()=>p,usePageContext:()=>u});var a=l(95155),n=l(12115),r=l(70012),i=l(25455),o=l(93205),s=l(74314),d=l(51114);let c=(0,n.createContext)({status:200});function u(){return(0,n.useContext)(c)}function p(e){let{children:t,status:l=200,pageId:u}=e,p=(0,d._)();return(0,n.useEffect)(()=>{let e=r.getAll();(0,o.ek)(e),(0,i.ez)(),(0,i.BI)({event:"page view",status:l}),(0,s.O7)(p.query)},[]),(0,a.jsx)(c.Provider,{value:{status:l,pageId:u},children:t})}},24245:e=>{e.exports={heading:"style_heading__O4blk",trigger:"style_trigger__xequ0",isLeftAligned:"style_isLeftAligned__IWuNR",isTriggerOpen:"style_isTriggerOpen__gj1Z5",headline:"style_headline__YUU_I",isHeadlineOpenAndBlue:"style_isHeadlineOpenAndBlue__yse7o",panel:"style_panel__yZb_n",isPanelOpen:"style_isPanelOpen__zk7Lj",isBlueAndOpen:"style_isBlueAndOpen__TWSR_",crossIcon:"style_crossIcon__eh2Dh",active:"style_active__LHMOZ"}},25547:e=>{e.exports={list:"style_list__40IS_",item:"style_item__jqaRI"}},27593:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var a=l(12115);function n(e){let{width:t=0,height:l=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e?{width:e.offsetWidth,height:e.offsetHeight}:{width:t,height:l}}let r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[l,r]=(0,a.useState)(n(e.current,t.defaultValues)),i=(0,a.useCallback)(()=>{e.current&&r(n(e.current))},[e]);return(0,a.useEffect)(()=>{let l=e.current;if(l&&(i(),!t.noResize)){if("function"==typeof ResizeObserver){let e=new ResizeObserver(()=>i());return e.observe(l),function(){e.disconnect(),e=null}}return window.addEventListener("resize",i),function(){window.removeEventListener("resize",i)}}},[e,i,t.noResize,t.revalidateKey]),l}},30514:e=>{e.exports={highlightBox:"styles_highlightBox__Y2HHq",content:"styles_content__j45yn",badge:"styles_badge__6LcUL"}},31467:e=>{e.exports={wrapper:"styles_wrapper__6EX3O",divider:"styles_divider__lu_gl",carousel:"styles_carousel__ovGdT",noScroll:"styles_noScroll__KCRTe",noPadding:"styles_noPadding__IvOHa","slides-one":"styles_slides-one__E1S3L","slides-two":"styles_slides-two__S1gWd","slides-auto":"styles_slides-auto__dGwND",dragging:"styles_dragging__HJhEq"}},33079:e=>{e.exports={"form-field":"styles_form-field__jo060","form-field--checkbox":"styles_form-field--checkbox__2a6g2","form-field--quiz":"styles_form-field--quiz__LdTlk","thank-you-or-returning-visitor":"styles_thank-you-or-returning-visitor__kWYC1","thank-you-or-returning-visitor-heading":"styles_thank-you-or-returning-visitor-heading__99Sek","returning-visitor-actions":"styles_returning-visitor-actions__V34qq"}},34158:e=>{e.exports={group:"styles_group__vjleg",option:"styles_option__lNqfk"}},34216:(e,t,l)=>{"use strict";l.r(t),l.d(t,{FeesProvider:()=>o,useFees:()=>i});var a=l(95155),n=l(12115);let r=(0,n.createContext)({fees:{}});function i(){return(0,n.useContext)(r)}function o(e){let{children:t,fees:l}=e;return(0,a.jsx)(r.Provider,{value:{fees:l},children:t})}},34905:e=>{e.exports={wrapper:"style_wrapper__doh7F",list:"style_list__VKcWq",card:"style_card___hGuj"}},36658:e=>{e.exports={slide:"styles_slide__m_FOd",slideImage:"styles_slideImage__zyThp",gradientShadow:"styles_gradientShadow__hkb6A",text:"styles_text__gTLZ8","text-top":"styles_text-top__eq5tR","text-middle":"styles_text-middle__eOa8k","text-right":"styles_text-right__oUKAh",textWhite:"styles_textWhite__BhlfS",textBlack:"styles_textBlack__nPtaa",textShadow:"styles_textShadow__A9qVI",description:"styles_description___dbyk",linkIcon:"styles_linkIcon__qJfaZ",linkIconWhite:"styles_linkIconWhite__4N6eG",linkIconShadow:"styles_linkIconShadow__UQUx5",slideLink:"styles_slideLink__fSQjY"}},40182:e=>{e.exports={vatText:"PriceContainer_vatText__2qQCR",price:"PriceContainer_price__WUSbj",free:"PriceContainer_free__1QGNN",strikethrough:"PriceContainer_strikethrough__Q_pJB",strikethroughInstallments:"PriceContainer_strikethroughInstallments__mT9lD",productPriceWrapper:"PriceContainer_productPriceWrapper__LBcYV",productPrice:"PriceContainer_productPrice__SgErG",divider:"PriceContainer_divider__kD9XN",priceComplement:"PriceContainer_priceComplement__ejBzP",bundleSubscriptionLine:"PriceContainer_bundleSubscriptionLine__rFg1D"}},40882:e=>{e.exports={"action-area-wrapper":"style_action-area-wrapper__lypbF","action-area-anchor":"style_action-area-anchor__DsX_7","action-area-cta-wrapper":"style_action-area-cta-wrapper__qOSBW"}},45144:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var a=l(95155),n=l(12115),r=l(23940),i=l(46685),o=l(86504);function s(e){let{variant:t="warning",message:l="Placeholder notification message",action:s,showOnlyInBuilderUI:d=!1,style:c,showOnlyForLocale:u}=e,{pathnameLocale:p}
1=(0,o.N)(),[m,h]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{u&&p!==u||d&&!i.M$.isEditing?h(!1):(i.M$.isEditing||i.M$.isPreviewing)&&h(!0)},[d,u,p]),m)?(0,a.jsx)(r.P,{style:{marginBottom:"10px",...null!=c?c:{}},variant:t,headline:"Builder Editor Notification (visible in Builder preview only)",body:l,action:s,onClose:()=>h(!1),closeButtonLabel:"Close"}):null}},47263:(e,t,l)=>{"use strict";l.d(t,{_$:()=>a.useCart});var a=l(51912)},47429:e=>{e.exports={container:"style_container__1fTcZ","selling-point":"style_selling-point__gT4sd","feature-name":"style_feature-name__CLXS2",icon:"style_icon__W5kRE",description:"style_description___iCpQ"}},48105:e=>{e.exports={priceWrapper:"style_priceWrapper__KVAW6",priceFirstRow:"style_priceFirstRow__VLxHe",promoPrice:"style_promoPrice__kWqcr",price:"style_price__c2s3f",hasInstallments:"style_hasInstallments__6wYGD","size-s":"style_size-s__cFTmo","size-m":"style_size-m__tgwxs","size-l":"style_size-l__UsROR",originalPrice:"style_originalPrice__HyhpK",promo:"style_promo__zQxxG",secondRow:"style_secondRow__aLysJ",currencySymbol:"style_currencySymbol__fv8K5",prefix:"style_prefix__qmH_M",inlinePrice:"style_inlinePrice__1DLE2",planPriceRow:"style_planPriceRow__hI2Rg",planPriceSizeS:"style_planPriceSizeS__pJg64",planPriceSizeM:"style_planPriceSizeM__c6Oqa",planPriceSizeL:"style_planPriceSizeL__P9Xg6"}},48658:(e,t,l)=>{"use strict";l.d(t,{A:()=>o});var a=l(12115),n=l(62161),r=l(92333),i=l(64322);function o(e){let t=(0,a.useRef)(!1),l=(null==e?void 0:e.defaultViewport)||r.y.DESKTOP,o=(0,n.Q)((null==e?void 0:e.mobileQuery)||i.L.untilKilo),s=(0,n.Q)((null==e?void 0:e.tabletQuery)||i.L.untilMega),d=(0,n.Q)((null==e?void 0:e.desktopQuery)||i.L.mega);return((0,a.useEffect)(()=>{t.current=!0},[]),t.current)?o?r.y.MOBILE:s?r.y.TABLET:d?r.y.DESKTOP:l:l}},51114:(e,t,l)=>{"use strict";l.d(t,{RequestProvider:()=>o,_:()=>s});var a=l(95155),n=l(12115),r=l(28010);let i=(0,n.createContext)({host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",query:{},userAgent:"",cookies:{},headers:{},locale:r.DG.DEFAULT_LOCALE_CODE,builderLocale:r.DG.BUILDER_LOCALE_DEFAULT});function o(e){let{children:t,request:l}=e,[r,o]=(0,n.useState)(l);return(0,n.useEffect)(()=>{let e={hash:window.location.hash.slice(1)||void 0};o({...l,...e,href:e.hash?`${l.href}#${e.hash}`:l.href})},[l]),(0,a.jsx)(i.Provider,{value:r,children:t})}let s=()=>{let e=(0,n.useContext)(i);if(!e)throw Error("useRequestContext must be used within a RequestProvider");return e}},51912:(e,t,l)=>{"use strict";l.r(t),l.d(t,{CartContext:()=>r,CartProvider:()=>o,useCart:()=>i});var a=l(95155),n=l(12115);let r=(0,n.createContext)({isCartOpen:!1,setCartOpen:()=>{}}),i=()=>(0,n.useContext)(r);function o(e){let{children:t,isCartOpen:l=!1}=e,[i,o]=(0,n.useState)(l);return(0,a.jsx)(r.Provider,{value:{isCartOpen:i,setCartOpen:e=>{o(e)}},children:t})}},52153:(e,t,l)=>{"use strict";l.d(t,{PageRenderer:()=>rs,SymbolRenderer:()=>rd});var a=l(95155),n=l(12115),r=l(73321),i=l(46685),o=l(14298),s=l(11960),d=l(61732),c=l(28010),u=l(38770),p=l(36586),m=l(27666),h=l(47263),g=l(2117),y=l(98833),f=l(31132),v=l(45144),b=l(51114),x=l(86504),_=l(97655);let T=e=>{var t;let{builderKey:l,productOrPlan:r,children:i,variant:o,size:s,quantity:d=1,...u}=e,{addToCart:T,replaceSubscriptionInCart:w,order:N}=(0,y.qu)(),{builderLocale:I}=(0,b._)(),{localeCode:C,shopIntegration:S}=(0,x.N)(),{products:k}=(0,g.Q)(),{plans:j}=(0,_.A)(),{shopLabels:L}=(0,m.Z)(),{setCartOpen:A}=(0,h._$)(),[P,z]=(0,n.useState)(!1);if(!C&&c.DG.FALLBACK_LOCALE_CODES_LIST.includes(I))return(0,a.jsx)(v.A,{variant:"warning",message:`Add to cart button cannot be rendered in fallback locale - "${I}" (e.g. full list of fallback locales is 'Default', 'en', 'fr', 'de', 'it', 'nl').`});if(!S)return(0,a.jsx)(v.A,{variant:"warning",message:`Add to cart button cannot be rendered because shop integration is not enabled in locale ${C}. You can enable it in the market model.`});if(!Object.keys(r||{}).length)return(0,a.jsx)(v.A,{variant:"warning",message:"Product or plan reference is required to render Add To Cart button."});
1let E=k[null==r?void 0:r.productId],B=null==E?void 0:E.computedProduct,F=(null==B?void 0:B.kind)==="bundle"&&(null==B||null==(t=B.subscriptions)?void 0:t.length)>0,M=!!(null==r?void 0:r.planId),R=j.find(e=>e.planId===(null==r?void 0:r.planId));if(M&&!R)return(0,a.jsx)(v.A,{variant:"warning",message:"Plan is not found in the market/locale plans list. Add to Cart button will not be rendered."});if(!M&&!E)return(0,a.jsx)(v.A,{variant:"warning",message:"Product is not found in the market/locale products list. Add to Cart button will not be rendered."});let O=(0,f.c3)(N,null==E?void 0:E.code),$=M?(0,f.c3)(N,null==R?void 0:R.code)||(0,f.Uj)(N,null==R?void 0:R.code):void 0,D=null==O?void 0:O.quantity,U=async()=>{if(z(!0),M){let e=await T([{planId:null==R?void 0:R.planId,skuCode:null==R?void 0:R.code}]);(null==e?void 0:e.includes(null==r?void 0:r.code))&&A(!0)}else{let e=[{skuCode:null==E?void 0:E.code,quantity:d}],t=async()=>{var t;let l=null==(t="subscriptions"in B?null==B?void 0:B.subscriptions:[])?void 0:t.map(e=>({subscriptionInOrder:(0,f.Uj)(N,e.skuCode)})).find(e=>e.subscriptionInOrder),a=null==l?void 0:l.subscriptionInOrder;return a&&!(0,f.Rz)(N,a.skuCode)?await w(a.id,e):await T(e)},l=F?await t():await T(e)||[];(null==l?void 0:l.includes(null==E?void 0:E.code))&&A(!0)}z(!1)},V=F&&!!O,H=!!$||V||D>=(0,y.ub)(null==E?void 0:E.hasPromotion);return(0,a.jsx)(p.$,{"data-selector":"add-to-cart",loadingLabel:null==L?void 0:L.loadingLabel,isLoading:P,onClick:U,variant:o,disabled:H,...u,children:i},l)};var w=l(30652),N=l(85076),I=l(94932);let C="monthly",S="yearly",k="billingFrequency",j=e=>e===C||e===S;function L(){let{customState:e}=(0,d.usePageState)(),t=e[k];return j(t)?t:void 0}let A={component:(0,I.A)(e=>{var t,l,r,i,d,p,h,g,y,f,v;let{key:b,...x}=e.attributes||{},_=e.buttonType===c.cL.lP.ADD_TO_CART,{products:I}=(0,w.useProducts)(),{plans:C}=(0,N.usePlans)(),{callToActionLabels:S}=(0,m.Z)(),k=null!=(t=null==S?void 0:S[e.callToActionLabelType])?t:e.text,j=L(),A=(0,n.useMemo)(()=>(0,u.NJ)(C),[C]),P=(0,o.VH)(k,e.builderState);if(_){let t=(null==(y=e.product)||null==(g=y.value)?void 0:g.data)||e.productReferenceId&&Object.values(I||{}).find(t=>(null==t?void 0:t.id)===e.productReferenceId),l=null!=(p=null==(v=e.plan)||null==(f=v.value)?void 0:f.data)?p:e.planReferenceId?C.find(t=>{let{id:l}=t;return l===e.planReferenceId}):void 0,n=null!=(h=(0,u.hd)(A,C.find(e=>{let{planId:t}=e;return t===(null==l?void 0:l.planId)}),j))?h:l;return(0,a.jsx)(T,{builderKey:b,productOrPlan:{code:(null==n?void 0:n.planId)?n.code:null==t?void 0:t.code,productId:null==t?void 0:t.productId,planId:null==n?void 0:n.planId},variant:e.variant,size:e.size,...x,children:P})}let z=async t=>{e.onClick&&e.onClick(t)},E=null!=(l=null==e||null==(d=e.pageReference)||null==(i=d.value)||null==(r=i.data)?void 0:r.url)?l:null==e?void 0:e.url;return(0,a.jsx)(s.Button,{variant:e.variant,href:E,size:e.size,onClick:z,target:e.openInNewTab?"_blank":"_self",trackingId:e.trackingId,dynamicTrackingIdData:{label:P,builderState:e.builderState},...x,children:P},b)},{when:e=>!e.text&&(!e.callToActionLabelType||e.callToActionLabelType===c.cL.BS.CUSTOM),componentName:"Button",missingFields:["text"],defaultsFn:e=>({text:(null==e?void 0:e.text)?e.text:"[mocked data] Button label",url:(null==e?void 0:e.url)?e.url:"/your/page/path"})}),options:{name:"CUI:Button",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",inputs:[{name:"text",type:"string",localized:!0,richText:!0,helperText:"Button label. Required for correct display.",showIf:e=>{let t=e.get("callToActionLabelType");return!t||"custom"===t}},{name:"callToActionLabelType",friendlyName:"Predefined text",type:"enum",enum:[{label:"Custom text",value:"custom"},{label:"Add to cart",value:"addToCart"},{label:"Compare our products",value:"compareOurProducts"},{label:"Talk to sales",value:"talkToSales"},{label:"Choose your products",value:"chooseYourProducts"},{label:"Create your profile",value:"createYourProfile"},{label:"Chat to us",value:"chatToUs"},{label:"Compare your options",value:"compareYourOptions"},{label:"Learn more",value:"learnMore"},{label:"Open your business account",value:"openYourBusinessAccount"},{label:"Start Your Free Trial",value:"startYourFreeTrial"}],defaultValue:"custom",helperText:"Predefined label will be used as the button label. Select one of already translated ones for consistency or stay with custom label to use your own translation."},{name:"pageReference",type:"reference",localized:!0,model:"landing-page",helperText:"Button will be a link to this page. Only landing pages are supported at the moment.",showIf:e=>"link"===e.get("buttonType")},{name:"url",type:"url",localized:!0,helperText:"Button will be a link to this URL. If you select the page reference, this will be ignored.",showIf:e=>"link"===e.get("buttonType")},{name:"buttonType",type:"enum",enum:[{label:"Link",value:"link"},{label:"Add To Cart",value:"addToCart"}],defaultValue:"link",helperText:"Link button will be a link to the page or URL. Add To Cart button will add the product to the cart."},{name:"variant",type:"enum",enum:[{label:"Primary",value:"primary"},{label:"Secondary",value:"secondary"},{label:"Tertiary",value:"tertiary"}],defaultValue:"primary"},{name:"size",type:"enum",enum:[{label:"Small",value:"s"},{label:"Medium",value:"m"}],defaultValue:"m"},{name:"openInNewTab",type:"boolean",defaultValue:!1,showIf:e=>"link"===e.get("buttonType")},{name:"trackingId",type:"text",showIf:e=>"link"===e.get("buttonType")},{name:"product",type:"reference",model:"product",showIf:e=>"addToCart"===e.get("buttonType")},{name:"productReferenceId",type:"string",helperText:"Product reference id in Builder. Useful for binding value from Symbol content inputs. If you select the product reference, this will be ignored.",showIf:e=>"addToCart"===e.get("buttonType")},{name:"plan",type:"reference",model:"plan",showIf:e=>"addToCart"===e.get("buttonType")},{name:"planReferenceId",type:"string",helperText:"Plan reference id in Builder. Useful for binding value from Symbol content inputs. If you select the plan reference, this will be ignored.",showIf:e=>"addToCart"===e.get("buttonType")}],defaults:{},noWrap:!0}};var P=l(35333),z=l(25455);let E={component:(0,i.OF)((0,I.A)(e=>{var t;let{key:l,...r}=e.attributes||{},{commonLabels:s,callToActionLabels:d}=(0,m.Z)(),{setModal:c}=(0,P.h)(),u=(0,n.useCallback)(()=>{c({closeButtonLabel:s.closeDialog,contentClassName:"button-modal",variant:e.modalType,children:(0,a.jsx)("div",{className:"button-modal-content",children:e.children})})},[c,s.closeDialog,e.modalType,e.children]),h=null!=(t=null==d?void 0:d[e.callToActionLabelType])?t:e.text,g=(0,o.VH)(h,e.builderState),y=e.trackingId||(0,z.AX)({label:g,builderState:e.builderState}),f=(0,n.useCallback)(e=>{i.M$.isEditing?e.preventDefault():(y&&(0,z.BI)({event:"button clicked",button_description:y}),u())},[u,y]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v.A,{message:"In order to add modal content, you need to add it as children of the ModalButton component.",action:{children:"Preview Modal Content",onClick:u},showOnlyInBuilderUI:!0}),(0,a.jsx)(p.$,{variant:e.variant,size:e.size,onClick:f,...r,children:g})]})},{when:e=>!e.text&&(!e.callToActionLabelType||e.callToActionLabelType===c.cL.BS.CUSTOM),componentName:"ModalButton",missingFields:["text"],defaultsFn:e=>({text:(null==e?void 0:e.text)?e.text:"[mocked data] Button text"})})),options:{name:"CUI:ModalButton",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",input
1s:[{name:"text",type:"string",localized:!0,richText:!0,helperText:"Button label. Required for correct display.",showIf:e=>{let t=e.get("callToActionLabelType");return!t||"custom"===t}},{name:"callToActionLabelType",friendlyName:"Predefined text",type:"enum",enum:[{label:"Custom text",value:"custom"},{label:"Add to cart",value:"addToCart"},{label:"Compare our products",value:"compareOurProducts"},{label:"Talk to sales",value:"talkToSales"},{label:"Choose your products",value:"chooseYourProducts"},{label:"Create your profile",value:"createYourProfile"},{label:"Chat to us",value:"chatToUs"},{label:"Compare your options",value:"compareYourOptions"},{label:"Learn more",value:"learnMore"},{label:"Open your business account",value:"openYourBusinessAccount"},{label:"Start Your Free Trial",value:"startYourFreeTrial"}],defaultValue:"custom",helperText:"Predefined label will be used as the button label. Select one of already translated ones for consistency or stay with custom label to use your own translation."},{name:"variant",type:"enum",enum:[{label:"Primary",value:"primary"},{label:"Secondary",value:"secondary"},{label:"Tertiary",value:"tertiary"}],defaultValue:"primary"},{name:"size",type:"enum",enum:[{label:"Small",value:"s"},{label:"Medium",value:"m"}],defaultValue:"m"},{name:"modalType",type:"enum",enum:[{label:"Immersive",value:"immersive"},{label:"Contextual",value:"contextual"}],defaultValue:"immersive",helperText:"Use the immersive variant to focus the user's attention on the dialog content."},{name:"trackingId",type:"text"}],canHaveChildren:!0,defaultChildren:[],noWrap:!0}};var B=l(29112),F=l(63313);let M=(0,o._8)(B.P),R={component:F.I,options:{name:"CUI:Icon",image:"https://cdn.builder.io/api/v1/image/assets%2F970aa68ef5444888893ac22df7f024eb%2F0dc4f3d7f0504a3799f2856c385af9cf",inputs:[{name:"circuitIcon",friendlyName:"Circuit UI Icon ",type:"enum",required:!1,enum:M.map(e=>({label:e.friendlyName,value:e.value})),helperText:"Select an icon from the list, you can see all icons in: https://circuit.sumup.com/?path=/docs/features-icons--docs",defaultValue:"checkmark_24"},{name:"iconSrc",friendlyName:"Icon URL",helperText:"Will override circuit icon",type:"url",required:!1},{name:"altText",friendlyName:"Icon Alternative Text",type:"text",required:!1,helperText:'Describe the icon for screen readers. Leave empty if the icon is decorative (next to text that already conveys the meaning). Example: "Checkmark" or "Warning"'},{name:"size",type:"enum",defaultValue:"mega",enum:[{label:"Kilo",value:"kilo"},{label:"Mega",value:"mega"},{label:"Giga",value:"giga"},{label:"Tera",value:"tera"}]}],defaults:{},noWrap:!0}};var O=l(64516);let $={component:(0,I.A)(e=>{let{headers:t,rows:l,rowHeaders:n,noShadow:r,condensed:i,scrollable:o,borderCollapsed:s,initialSortDirection:d,initialSortedColumn:c,...u}=e,{key:p,...m}=u.attributes||{};return(null==l?void 0:l.some(e=>"cells"in e&&e.cells.length>0))?(0,a.jsx)(O.X,{headers:null==t?void 0:t.map(e=>({children:e.children,sortable:e.sortable,sortLabel:t=>"ascending"===t?e.ascendingSortLabel:e.descendingSortLabel})),rows:l,rowHeaders:n,noShadow:r,condensed:i,scrollable:o,borderCollapsed:s,initialSortDirection:d,initialSortedColumn:c,...m},p):(0,a.jsx)(v.A,{showOnlyInBuilderUI:!0,message:"At least 1 row with cells is required for correct display",variant:"warning"})},{when:e=>{var t,l;return!(null==e||null==(t=e.headers)?void 0:t.length)||!(null==e||null==(l=e.rows)?void 0:l.length)},componentName:"Table",missingFields:["headers","rows"],defaultsFn:e=>{var t,l;return{headers:(null==e||null==(t=e.headers)?void 0:t.length)?null==e?void 0:e.headers:[{children:"[mocked data] Name",sortable:!0,ascendingSortLabel:"Name (A-Z)",descendingSortLabel:"Name (Z-A)"},{children:"[mocked data] Age",sortable:!0,ascendingSortLabel:"Age (Low-High)",descendingSortLabel:"Age (High-Low)"}],rows:(null==e||null==(l=e.rows)?void 0:l.length)?null==e?void 0:e.rows:[{cells:[{children:"[mocked data] Jane Doe",align:"left"},{children:"18",align:"left",sortByValue:0}]},{cells:[{children:"[mocked data] John Doe",align:"left"},{children:"20",align:"left",sortByValue:1}]}]}}}),options:{name:"CUI:Table",inputs:[{name:"headers",type:"list",required:!0,helperText:"Table headers. Required for correct display.",subFields:[{name:"children",friendlyName:"Text",type:"string",localized:!0},{name:"sortable",friendlyName:"Is sortable?",type:"boolean",defaultValue:!1},{name:"ascendingSortLabel",friendlyName:"Ascending sort icon label",type:"string",localized:!0,helperText:"Text will be displayed on hover and is necessary for accessibility."},{name:"descendingSortLabel",friendlyName:"Descending sort icon label",type:"string",localized:!0,helperText:"Text will be displayed on hover and is necessary for accessibility."}],localized:!0},{name:"rows",type:"list",required:!0,helperText:"Table rows. Required for correct display.",subFields:[{name:"cells",friendlyName:"Cells",type:"list",subFields:[{name:"children",friendlyName:"Text",type:"string",localized:!0},{name:"align",friendlyName:"Alignment",type:"enum",enum:["left","right","center"]},{name:"sortByValue",friendlyName:"Custom sort by value",type:"number",helperText:"The value that will be used while comparing cells during sorting. Use it when actual value is not sortable."}]}],localized:!0},{friendlyName:"Enable row headers?",name:"rowHeaders",type:"boolean",defaultValue:!1,helperText:"Enables/disables sticky columns on mobile. Defaults to true"},{name:"noShadow",type:"boolean",defaultValue:!1},{name:"condensed",type:"boolean",defaultValue:!1},{name:"scrollable",type:"boolean",defaultValue:!0},{name:"borderCollapsed",type:"boolean",defaultValue:!0},{name:"initialSortDirection",type:"enum",enum:[{label:"Ascending",value:"ascending"},{label:"Descending",value:"descending"}],defaultValue:"ascending"},{name:"initialSortedColumn",helperText:'Specifies the column index which "initialSortDirection" will be applied to. Defaults to 0.',type:"number",defaultValue:0}],defaults:{},noWrap:!0}};var D=l(53492),U=l(51716),V=l(38321),H=l(804);let q=e=>{var t;return(null==(t=e.featureDescription)?void 0:t.label)!==void 0&&(e.values||[]).every(e=>void 0!==e.value||void 0!==e.textValue)},W=e=>(e.features||[]).every(e=>q(e)),G={component:(0,I.A)(e=>{let{caption:t,headers:l,sections:n,showAllFeaturesLabel:r,selectFirstPlanLabel:i,selectSecondPlanLabel:s,builderState:d,...c}=e,u=null==n?void 0:n.every(W);if(!t||!r||!i||!s||(null==l?void 0:l.length)<2||!u){if((null==l?void 0:l.length)<2)return(0,a.jsx)(v.A,{showOnlyInBuilderUI:!0,message:"At least 2 header items are required",variant:"warning"});if(!u){let e=n.filter(e=>!W(e)).flatMap((e,t)=>{var l;return null==(l=e.features)?void 0:l.filter(e=>
1!q(e)).map(l=>`${e.title} (Feature ${t+1})`)});return(0,a.jsx)(v.A,{showOnlyInBuilderUI:!0,message:`Unable to render ComparisonTable. Sections must have features with label and values. Please check features: ${e.join(", ")}`,variant:"warning"})}return null}let{key:p,...m}=c.attributes||{};return(0,a.jsx)(D.g,{caption:(0,o.VH)(t,d),headers:l.map((e,t)=>{var l,a,n,r,i,s,c,u;return{...e,id:`${e.id}-${t}`,title:(0,o.VH)(e.title,d),description:(0,o.VH)(e.description,d),action:(null==(l=e.action)?void 0:l.children)&&(null==(a=e.action)?void 0:a.href)?{children:(0,o.VH)(null==(n=e.action)?void 0:n.children,d),href:null==(r=e.action)?void 0:r.href,target:null==(i=e.action)?void 0:i.target,navigationIcon:(null==(s=e.action)?void 0:s.target)==="_blank"?V.P:void 0,onClick:(0,z.fp)((0,o.VH)(null==(c=e.action)?void 0:c.trackingId,d),{label:(0,o.VH)(null==(u=e.action)?void 0:u.children,d),builderState:d})}:void 0}}),sections:n.map(e=>{var t;return{...e,title:(0,o.VH)(null==e?void 0:e.title,d),features:null==e||null==(t=e.features)?void 0:t.map(e=>{var t,l,n,r,i,s,c,u,p;let{toggletip:m,label:h,description:g}=(null==e?void 0:e.featureDescription)||{};return{values:null==e||null==(t=e.values)?void 0:t.map(e=>(null==e?void 0:e.textValue)?(0,o.VH)(null==e?void 0:e.textValue,d):{label:(0,o.VH)(null==e?void 0:e.label,d),value:null==e?void 0:e.value}),featureDescription:(null==e?void 0:e.featureDescription)?{...e.featureDescription,label:(0,o.VH)(h,d),description:(0,o.
1VH)(g,d),toggletip:(null==m?void 0:m.headline)&&(null==m?void 0:m.body)?{...m,headline:(0,o.VH)(null==m?void 0:m.headline,d),body:(0,o.VH)(null==m?void 0:m.body,d),component:e=>(0,a.jsx)(U.K,{icon:H._,variant:"tertiary",size:"s",...e,children:m.headline}),action:(null==(l=m.action)?void 0:l.children)&&(null==(n=m.action)?void 0:n.href)?{children:(0,o.VH)(null==(r=m.action)?void 0:r.children,d),href:null==(i=m.action)?void 0:i.href,target:null==(s=m.action)?void 0:s.target,navigationIcon:(null==(c=m.action)?void 0:c.target)==="_blank"?V.P:void 0,onClick:(0,z.fp)((0,o.VH)(null==(u=m.action)?void 0:u.trackingId,d),{label:(0,o.VH)(null==(p=m.action)?void 0:p.children,d),builderState:d})}:void 0}:void 0}:void 0}})}}),showAllFeaturesLabel:(0,o.VH)(r,d),selectFirstPlanLabel:(0,o.VH)(i,d),selectSecondPlanLabel:(0,o.VH)(s,d),...m},p)},{when:e=>{var t,l;return!e.caption||!e.showAllFeaturesLabel||!e.selectFirstPlanLabel||!e.selectSecondPlanLabel||!(null==(t=e.headers)?void 0:t.length)||!(null==(l=e.sections)?void 0:l.length)},componentName:"ComparisonTable",missingFields:["caption","showAllFeaturesLabel","selectFirstPlanLabel","selectSecondPlanLabel","headers","sections"],defaultsFn:e=>{var t,l;return{caption:(null==e?void 0:e.caption)||"[mocked data] default caption",showAllFeaturesLabel:(null==e?void 0:e.showAllFeaturesLabel)||"[mocked data] show all features",selectFirstPlanLabel:(null==e?void 0:e.selectFirstPlanLabel)||"[mocked data] select first plan",selectSecondPlanLabel:(null==e?void 0:e.selectSecondPlanLabel)||"[mocked data] select second plan",headers:(null==e||null==(t=e.headers)?void 0:t.length)>0?null==e?void 0:e.headers.map(e=>({title:e.title||"[mocked data] Basic",id:e.id||"basic",description:e.description||"[mocked data] Basic features"})):[{title:"[mocked data] Basic",id:"basic",description:"[mocked data] Basic features"},{title:"[mocked data] Basic",id:"basic-1",description:"[mocked data] Basic features"}],sections:(null==e||null==(l=e.sections)?void 0:l.length)>0?null==e?void 0:e.sections:[{title:"[mocked data] Essential Features",features:[{featureDescription:{label:"[mocked data] Core functionality",description:"[mocked data] Essential features included"},values:[{value:!0,label:"[mocked data] included"},{value:!0,label:"[mocked data] included"}]}]}]}}}),options:{name:"CUI:ComparisonTable",inputs:[{name:"caption",type:"string",localized:!0,required:!0,helperText:"A descriptive caption for the table. Required for accessibility."},{name:"headers",type:"list",required:!0,subFields:[{name:"title",type:"string",localized:!0},{name:"id",type:"string",required:!0,localized:!0},{name:"description",type:"string",localized:!0},{name:"action",type:"object",subFields:[{name:"children",friendlyName:"Label",type:"string",localized:!0},{name:"href",friendlyName:"URL",type:"url",localized:!0},{name:"trackingId",type:"string"},{name:"target",friendlyName:"How to open link?",type:"enum",options:["_blank","_self"],enum:[{label:"Open in new window",value:"_blank"},{label:"Open in the same window",value:"_self"}],defaultValue:"_self"}]}]},{name:"sections",type:"list",required:!0,subFields:[{name:"title",type:"string",localized:!0},{name:"features",type:"list",subFields:[{name:"featureDescription",type:"object",subFields:[{name:"label",type:"string",localized:!0},{name:"description",type:"string",localized:!0},{name:"toggletip",type:"object",subFields:[{name:"headline",type:"string",localized:!0},{name:"body",type:"string",localized:!0},{name:"action",type:"object",subFields:[{name:"children",friendlyName:"Label",type:"string",localized:!0},{name:"href",friendlyName:"URL",type:"url",localized:!0},{name:"trackingId",type:"string"},{name:"target",friendlyName:"How to open link?",type:"enum",options:["_blank","_self"],enum:[{label:"Open in new window",value:"_blank"},{label:"Open in the same window",value:"_self"}],defaultValue:"_self"}]}]}]},{name:"values",type:"list",subFields:[{name:"value",type:"boolean",defaultValue:!1},{name:"textValue",type:"string",localized:!0,helperText:"If you need the text for the value instead of simple yes/no. It takes precedence over the toggle boolean value."},{name:"label",type:"string",localized:!0,helperText:"The invisible label for the value. Required for accessibility."}]}]}]},{name:"showAllFeaturesLabel",friendlyName:"Show all features label",type:"string",localized:!0,required:!0,helperText:"The label for the button that expands the table when collapsed. Required for accessibility."},{name:"selectFirstPlanLabel",friendlyName:"Select first plan label",type:"string",localized:!0,required:!0,helperText:"The label for the first plan selector. Required for accessibility."},{name:"selectSecondPlanLabel",friendlyName:"Select second plan label",type:"string",localized:!0,required:!0,helperText:"The label for the second plan selector. Required for accessibility."}],defaults:{},noWrap:!0}};var Y=l(4583),K=l(29362),Z=l(56085),Q=l.n(Z),X=l(77233);let J="left";var ee=l(24245),et=l.n(ee),el=l(62161);let ea=function(){return(0,el.Q)("(max-width: 599px)")};var en=l(68326);function er(e){let{headline:t,content:l,isOpen:r,onOpen:i,onClose:o,headingAlignment:s,headlineAs:d}=e,c=(0,n.useRef)(null),u=ea(),p=(0,n.useId)(),m=`accordion-trigger${p}`,h=`accordion-panel${p}`,g=(0,n.useCallback)(()=>
1{if(!r){i(),u&&Q()(c.current,{align:{top:0,topOffset:75}});return}o()},[r,u,i,o]);return t||l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Y.$,{as:"div"===d?"h3":d,size:"s",className:et().heading,ref:c,children:(0,a.jsxs)("button",{id:m,type:"button",className:(0,K.$)(et().trigger,r&&et().isTriggerOpen,s===J&&et().isLeftAligned),"aria-expanded":r,"aria-controls":h,"aria-describedby":r?h:void 0,onClick:g,"data-selector":"headline@expansionPanel",children:[(0,a.jsx)("span",{className:(0,K.$)(et().headline,r&&et().isHeadlineOpen,s===J&&et().isLeftAligned),"data-selector":"heading@expansionPanel",children:t||""}),(0,a.jsx)(X.b,{color:"subtle",className:(0,K.$)(et().crossIcon,r&&et().active)})]})}),(0,a.jsx)("div",{id:h,role:"region","aria-labelledby":m,className:(0,K.$)(et().panel,r&&et().isPanelOpen),"aria-hidden":!r,hidden:!r||void 0,"data-selector":"collapse@expansionPanel",children:(0,a.jsx)(en.W,{text:l||""})})]}):null}var ei=l(5300),eo=l.n(ei);let es={component:(0,I.A)(function(e){let{expansionPanels:t=[],className:l="",onlyOne:r=!1,generateSEOSchema:i=!1,builderState:s,openPanelId:d=null,onOpen:c=()=>{},onClose:u=()=>{},headingAlignment:p=J,headlineAs:m="h3"}=e,[h,g]=(0,n.useState)(null!==d?[d]:[]),y=(0,n.useMemo)(()=>t.map(e=>({...e,headline:e.headline?String((0,o.VH)(e.headline,s)):e.headline,content:e.content?String((0,o.VH)(e.content,s)):e.content})),[t,s]),f=(0,n.useMemo)(()=>{let e;return i?0===(e=y.map(e=>{var t,l;let a=String(null!=(t=e.headline)?t:"").trim(),n=String(null!=(l=e.content)?l:"").trim();return a&&n?{"@type":"Question",name:a,acceptedAnswer:{"@type":"Answer",text:n}}:null}).filter(Boolean)).length?null:JSON.stringify({"@context":"https://schema.org","@type":"FAQPage",mainEntity:e}):null},[i,y]),v=(0,n.useCallback)((e,t)=>{h.includes(e)||(g(r?[e]:[...h,e]),c(t),(0,z.BI)({event:"button clicked",button_description:(null==t?void 0:t.trackingId)||"open@faq"}))},[h,r,c]),b=(0,n.useCallback)((e,t)=>{h.includes(e)&&(g(h.filter(t=>t!==e)),u(t))},[h,u]);return t&&0!==t.length?(0,a.jsxs)("div",{className:`${eo().grid} ${l}`,"data-selector":"section@expansionPanelList","data-elbcontext":"component:expansion_panel_list",children:[f?(0,a.jsx)("script",{type:"application/ld+json","data-selector":"faq_schema@expansionPanelList","data-testid":"expansion-panel-list-faq-json-ld",dangerouslySetInnerHTML:{__html:f}}):null,t.map((e,t)=>{var l;let n=y[t];return(0,a.jsx)(er,{isOpen:h.includes(t.toString()),onOpen:()=>v(t.toString(),e),onClose:()=>b(t.toString(),e),headingAlignment:p,headlineAs:m,...n},`${null!=(l=e.headline)?l:""}${t}`)})]}):null},{when:e=>{var t;return!(null==e||null==(t=e.expansionPanels)?void 0:t.length)},componentName:"ExpansionPanelList",missingFields:["expansionPanels"],defaultsFn:e=>{var t;return{expansionPanels:(null==e||null==(t=e.expansionPanels)?void 0:t.length)?e.expansionPanels:[{headline:"Mocked headline",content:"Mocked content",trackingId:"mocked-tracking-id",name:"mocked-expansion-panel"}]}}}),options:{name:"ExpansionPanelList",inputs:[{name:"headingAlignment",type:"enum",enum:[{label:"Left",value:"left"},{label:"Center",value:"center"}],localized:!0},{name:"expansionPanels",type:"list",localized:!0,subFields:[{name:"headline",type:"string",localized:!0},{name:"content",type:"richText",localized:!0},{name:"trackingId",type:"string"},{name:"name",type:"string",localized:!0}]},{name:"onlyOne",type:"boolean",localized:!0},{name:"generateSEOSchema",type:"boolean",localized:!1,helperText:"When enabled, outputs FAQPage JSON-LD next to this FAQ block for search engines."}]}},ed="left",ec={AUTO:"Auto",ONE:"One",TWO:"Two"},eu={LEFT:"Left",RIGHT:"Right"},ep={TOP:"Top",MIDDLE:"Middle",BOTTOM:"Bottom"},em={BLACK:"Black",WHITE:"White"},eh={NORMAL:"Normal",HIGHLIGHT:"Highlight",WARNING:"Warning",SUCCESS:"Success",PROMO:"Promo",STRONG:"Strong"},eg="generic-carousel";var ey=l(31467),ef=l.n(ey),ev=l(78748),eb=l(36658),ex=l.n(eb),e_=l(64846);let eT=e=>{let{children:t,link:l,trackingId:n,shouldRenderLink:r,ariaLabel:i}=e;return r?(0,a.jsx)(s.Anchor,{href:l,className:ex().slideLink,draggable:!1,"aria-label":i,trackingId:n,children:t}):(0,a.jsx)(a.Fragment,{children:t})};function ew(e){let{altText:t,backgroundColor:l,disableClick:n,title:r="",description:i="",textFontColor:o=em.BLACK,textColumnAlignment:s=eu.LEFT,textRowAlignment:d=ep.BOTTOM,hasGradientShadow:c=!1,link:u,maxSlideHeight:p,imageUrl:m,slideRef:h,trackingId:g}=e,y=(e=>{switch(e){case eh.NORMAL:return"var(--cui-bg-normal)";case eh.HIGHLIGHT:return"var(--cui-bg-highlight)";case eh.WARNING:return"var(--cui-bg-warning)";case eh.SUCCESS:return"var(--cui-bg-success)";case eh.PROMO:return"var(--cui-bg-promo)";case eh.STRONG:return"var(--cui-bg-strong)";default:return"var(--cui-bg-normal)"}})(l||""),f=u&&!n,v=o===em.WHITE?"var(--cui-bg-normal)":"var(--cui-fg-normal)";return(0,a.jsx)("div",{ref:h,className:ex().slide,style:{backgroundColor:y,maxHeight:p?`${p}px`:void 0},children:(0,a.jsxs)(eT,{link:u,shouldRenderLink:f,ariaLabel:!r&&!i&&t||void 0,trackingId:g,children:[m?(0,a.jsx)(e_._V,{image:m,alt:null!=t?t:"",className:ex().slideImage,hasGradientShadow:c,sizes:"(max-width: 768px) 100vw, min(100vw, 1200px)",attributes:{key:"slide-image",style:{height:p?`${p}px`:void 0}}}):null,(i||r)&&(0,a.jsxs)("div",{className:(0,K.$)(ex().text,ex()[`text-${s.toLowerCase()}`],ex()[`text-${d.toLowerCase()}`],c&&ex().textShadow),children:[r&&(0,a.jsx)(Y.$,{as:"h3",size:"m",style:{color:v},children:r}),i&&(0,a.jsx)(en.W,{className:(0,K.$)(ex().description),text:i,style:{color:v}})]}),u&&(0,a.jsx)(ev.c,{size:"16",className:(0,K.$)(ex().linkIcon,o===em.WHITE&&ex().linkIconWhite,c&&ex().linkIconShadow)})]})})}var eN=l(79153),eI=l(67770),eC=l(90471),eS=l.n(eC),ek=l(98846);function ej(e){let{isEndOfCarousel:t,isStartOfCarousel:l,onButtonClickHandler:n}=e;return(0,a.jsxs)("div",{className:eS().controls,children:[(0,a.jsx)(U.K,{size:"s",icon:eN.n,onClick:()=>n(ed),disabled:l,"data-selector":(0,ek.A)("prev",eg),children:"Previous"}),(0,a.jsx)(U.K,{size:"s",icon:eI.Q,onClick:()=>n("right"),disabled:t,"data-selector":(0,ek.A)("next",eg),children:"Next"})]})}var eL=l(27593);let eA={component:(0,I.A)(e=>{let{slides:t=[],slidesPerPage:l=ec.AUTO,disableHorizontalScroll:r=!1,disableClick:i=!1,removePadding:o=!1,maxSlideHeight:s}
1=e,[d,c]=(0,n.useState)(!1),[u,p]=(0,n.useState)(0),[m,h]=(0,n.useState)(0),[g,y]=(0,n.useState)(!1),f=(0,n.useRef)(null),v=(0,n.useRef)(null),b=(0,eL.A)(v),[x,_]=(0,n.useState)(!1),[T,w]=(0,n.useState)(!0),N=()=>{if(!f.current)return;let e=f.current.scrollLeft+f.current.offsetWidth>=f.current.scrollWidth-24,t=f.current.scrollLeft-24<=0;_(e),w(t)};return((0,n.useEffect)(()=>{N()}),t.length)?(0,a.jsxs)("div",{className:ef().wrapper,children:[(0,a.jsx)("div",{ref:f,className:(0,K.$)(ef().carousel,ef()[`slides-${l.toLowerCase()}`],r&&ef().noScroll,d&&ef().dragging,o&&ef().noPadding),onMouseDown:e=>{c(!0),y(!1),f.current&&(p(e.pageX-f.current.offsetLeft),h(f.current.scrollLeft))},onMouseLeave:()=>{c(!1)},onMouseUp:e=>{c(!1),Math.abs(e.pageX-u)>30&&y(!0)},onMouseMove:e=>{if(!d||!f.current||r)return;e.preventDefault();let t=e.pageX-f.current.offsetLeft;f.current.scrollTo({left:m-(t-u),behavior:"auto"})},onScroll:()=>{N()},onClickCapture:e=>{g&&(e.stopPropagation(),e.preventDefault())},"data-selector":(0,ek.A)("carousel",eg),children:t.map((e,t)=>(0,a.jsx)(ew,{...e,maxSlideHeight:s,disableClick:i,slideRef:v},`slide-${e.id}-${t} || index}`))}),t.length>1&&(0,a.jsx)(ej,{isEndOfCarousel:x,isStartOfCarousel:T,onButtonClickHandler:e=>{if(!f.current)return;let t=b.width+16;f.current.scrollTo({left:f.current.scrollLeft+(e===ed?-t:t),behavior:"smooth"})}})]}):null},{when:e=>{var t;return!(null==e||null==(t=e.slides)?void 0:t.length)},componentName:"GenericCarousel",missingFields:["slides"],defaultsFn:e=>{var t;return{slides:(null==e||null==(t=e.slides)?void 0:t.length)?e.slides:[{id:"slide-1",title:"Mocked title",description:"Mocked description",backgroundColor:"Highlight"},{id:"slide-2",title:"Mocked title",description:"Mocked description",backgroundColor:"Highlight"}]}}}),options:{name:"GenericCarousel",inputs:[{name:"slidesPerPage",type:"enum",defaultValue:ec.AUTO,enum:Object.values(ec).map(e=>({label:e,value:e})),helperText:"Number of slides to show per page",localized:!0},{name:"slides",type:"list",required:!0,subFields:[{name:"id",type:"string",required:!0,helperText:"Unique identifier for the slide"},{name:"imageUrl",type:"file",allowedFileTypes:["jpeg","jpg","png","webp"],helperText:"Image URL for the slide",localized:!0},{name:"altText",type:"string",helperText:'Describe what the image shows for screen reader users. Leave empty only if the image is purely decorative. Example: "DHL logo"',localized:!0},{name:"title",type:"string",helperText:"Title for the slide",localized:!0},{name:"description",type:"string",helperText:"Description text for the slide",localized:!0},{name:"link",type:"url",helperText:"Link URL when slide is clicked",localized:!0},{name:"trackingId",type:"string",helperText:"Tracking ID for the slide to track clicks in GA4"},{name:"backgroundColor",type:"enum",defaultValue:eh.NORMAL,enum:Object.values(eh).map(e=>({label:e,value:e})),helperText:"Background color for the slide",advanced:!0,localized:!0},{name:"textFontColor",type:"enum",defaultValue:em.BLACK,enum:Object.values(em).map(e=>({label:e,value:e})),helperText:"Font color for the text",advanced:!0,localized:!0},{name:"textColumnAlignment",type:"enum",defaultValue:eu.LEFT,enum:Object.values(eu).map(e=>({label:e,value:e})),helperText:"Horizontal alignment of text",advanced:!0,localized:!0},{name:"textRowAlignment",type:"enum",defaultValue:ep.BOTTOM,enum:Object.values(ep).map(e=>({label:e,value:e})),helperText:"Vertical alignment of text",advanced:!0,localized:!0},{name:"hasGradientShadow",type:"boolean",defaultValue:!1,helperText:"Add gradient shadow overlay",advanced:!0,localized:!0}],helperText:"List of slides to display in the carousel",localized:!0},{name:"disableHorizontalScroll",type:"boolean",defaultValue:!1,helperText:"Disable horizontal scrolling/swiping",advanced:!0,localized:!0},{name:"disableClick",type:"boolean",defaultValue:!1,helperText:"Disable click events on slides",advanced:!0,localized:!0},{name:"maxSlideHeight",type:"number",defaultValue:550,helperText:"Maximum height for slides in pixels",advanced:!0,localized:!0},{name:"removePadding",type:"boolean",defaultValue:!0,helperText:"Remove default padding from carousel",advanced:!0,localized:!0}],defaults:{}}};var eP=l(84038),ez=l(72290),eE=l.n(ez),eB=l(46131);let eF="business",eM="personal";var eR=l(53480),eO=l.n(eR);function e$(e){let{modalHeadline:t,imageSrc:l,imageAltText:n}=e;return(0,a.jsx)("div",{className:"button-modal-content",children:(0,a.jsxs)("div",{className:eO().modal,children:[(0,a.jsx)(Y.$,{as:"h3",size:"m",className:eO().modalHeadline,children:t}),(0,a.jsx)(eB.Hr,{className:eO().modalHr}),(0,a.jsx)("div",{className:eO().qrCode,children:(0,a.jsx)(e_.p$,{src:l,alt:n,width:192,height:192,unoptimized:!0,className:eO().qrCodeImage})})]})})}let eD="(max-width: 899px)",eU="cdn.builder.io",eV="/o/assets/";function eH(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=new URLSearchParams({...t,alt:"media",optimized:"true"});return`https://${eU}${e}?${l.toString()}`}function eq(e){if(!(null==e?void 0:e.trim()))return null!=e?e:"";let t=function(e){try{return new URL(e.replace(/&amp;/g,"&"))}catch(e){return null}}(e);if(!t||t.hostname!==eU)return e;let l=decodeURIComponent(t.pathname);if(l.includes("/compressed"))return e;
1if(l.startsWith(eV)){let[t,a]=l.slice(eV.length).split("/");if(!t||!a)return e;let n=encodeURIComponent(`assets/${t}/${a}/compressed`);return eH(`/o/${n}`,{apiKey:t,token:a})}return l.startsWith("/api/v1/file/assets/")&&!l.endsWith("/compressed")?eH(`${l}/compressed`):e}let eW=(0,n.forwardRef)(function(e,t){let{src:l,sources:n,...r}=e;return(null==n?void 0:n.length)?(0,a.jsx)("video",{ref:t,...r,children:n.map(e=>{let{src:t,type:l}=e;return(0,a.jsx)("source",{src:eq(t),type:l},`${l}:${t}`)})}):(0,a.jsx)("video",{ref:t,src:l?eq(l):void 0,...r})});var eG=l(92333),eY=l(60572);let eK=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[l,a]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let l=(null==e?void 0:e.current)&&new IntersectionObserver(e=>{let[t]=e;a(t)},t);return(null==e?void 0:e.current)&&l&&l.observe(e.current),()=>{l&&l.disconnect()}},[e,t]),l},eZ=function(e){let{rootMargin:t="200px 0px",threshold:l=0,force:a=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=eK(e,(0,n.useMemo)(()=>({rootMargin:t,threshold:l}),[t,l])),[i,o]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{(null==r?void 0:r.isIntersecting)&&o(!0)},[null==r?void 0:r.isIntersecting]),a||i};var eQ=l(9250),eX=l.n(eQ);let eJ=[0,.5,1],e0=Array.from({length:101},(e,t)=>.01*t),e1=null;function e2(e){return`rgb(${249-215*e},${251-237*e},${249-221*e})`}let e4="(max-width: 599px) 100vw, (max-width: 899px) 438px, 708px",e5=e=>[{name:`section${e}Tag`,friendlyName:`Section ${e} - Tag`,type:"string",localized:!0,required:!0,helperText:'Tag label displayed above the headline (e.g. "POS solutions")'},{name:`section${e}Headline`,friendlyName:`Section ${e} - Headline`,type:"string",localized:!0,required:!0},{name:`section${e}Description`,friendlyName:`Section ${e} - Description`,type:"string",localized:!0,required:!0},{name:`section${e}ButtonLabel`,friendlyName:`Section ${e} - Button label`,type:"string",localized:!0},{name:`section${e}ButtonUrl`,friendlyName:`Section ${e} - Button URL`,type:"url",localized:!0},{name:`section${e}ButtonTrackingId`,friendlyName:`Section ${e} - Button Tracking ID`,type:"string"}],e3={component:function(e){let{emptyPosImage:t,emptyPosImageAlt:l,screen1Image:r,screen1ImageAlt:o,screen2Image:d,screen2ImageAlt:c,loyaltyPosImage:u,loyaltyPosImageAlt:p,rotatingHeroVideo:m,section1Tag:h,section1Headline:g,section1Description:y,section1ButtonLabel:f,section1ButtonUrl:v,section1ButtonTrackingId:b,section2Tag:x,section2Headline:_,section2Description:T,section2ButtonLabel:w,section2ButtonUrl:N,section2ButtonTrackingId:I,section3Tag:C,section3Headline:S,section3Description:k,section3ButtonLabel:j,section3ButtonUrl:L,section3ButtonTrackingId:A}=e,P=(0,n.useRef)(null),z=(0,n.useRef)([]),E=(0,n.useRef)([]),B=(0,n.useRef)(null),F=(0,n.useRef)(null),M=(0,n.useRef)(null),R=(0,n.useRef)(null),O=(0,n.useRef)(null),$=(0,n.useRef)(null),D=eZ(P,{force:i.M$.isEditing});!function(e){let{enabled:t=!0}=e;(0,n.useEffect)(()=>{if(!t)return()=>{};let{sectionRefs:l,screenRefs:a,videoRef:n,staticImagesRef:r,screensContainerRef:i,loyaltyFaceRef:o,emptyPosRef:s,stickyBoxRef:d}=e,c=l.current;if(!(null==c?void 0:c.length))return()=>{};let u=window.matchMedia("(prefers-reduced-motion: reduce)").matches,p=c.length-1,m=new IntersectionObserver(e=>{e.forEach(e=>{var t,l;let r=parseInt(null!=(t=e.target.dataset.sectionIndex)?t:"0",10);if(!u&&r===p-1&&e.intersectionRatio>=.5){let e=n.current;e&&"auto"!==e.preload&&(e.preload="auto")}if(u&&r===p){let t=o.current,l=s.current,a=i.current,n=e.intersectionRatio>=.5;l&&(l.style.display=n?"none":"block"),a&&(a.style.display=n?"none":"block"),t&&(t.style.display=n?"block":"none"),document.body.style.backgroundColor=n?e2(1):"",d.current&&(d.current.style.background="");return}let c=null==(l=a.current)?void 0:l[r];if(c){if(0===r)return void c.classList.remove(eX().screenHidden);e.intersectionRatio>=.5?c.classList.remove(eX().screenHidden):c.classList.add(eX().screenHidden)}})},{root:null,threshold:eJ}),h=u?null:new IntersectionObserver(e=>{e.forEach(e=>{let t=n.current,l=r.current,a=i.current,c=o.current,u=s.current;if(e.intersectionRatio>=.3){let n=(e.intersectionRatio-.3)/.7,r=Math.max(0,Math.min((e.intersectionRatio-.3)/.5,1));if(!function(){if(null===e1){let e=navigator.userAgent;e1=/Safari/.test(e)&&!/Chrome/.test(e)&&!/Chromium/.test(e)}return e1}())l&&(l.style.display="none"),t&&(t.style.display="block",e.boundingClientRect.top>=0&&Number.isFinite(t.duration)&&t.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA&&(t.currentTime=t.duration*n));else{let t=e.intersectionRatio>=.85||e.boundingClientRect.top<0;u&&(u.style.display=t?"none":"block"),a&&(a.style.display=t?"none":"block"),c&&(c.style.display=t?"block":"none")}let i=e2(r);window.innerWidth<640&&d.current?d.current.style.background=`linear-gradient(${i} 90%, transparent)`:d.current&&(d.current.style.background="none"),document.body.style.backgroundColor=i}else l&&(l.style.display="block"),u&&(u.style.display="block"),a&&(a.style.display="block"),t&&(t.style.display="none"),c&&(c.style.display="none"),document.body.style.backgroundColor="",d.current&&(d.current.style.background="")})},{root:null,threshold:e0});
1return c.forEach((e,t)=>{e&&(e.dataset.sectionIndex=String(t),t===p&&h?h.observe(e):m.observe(e))}),()=>{m.disconnect(),null==h||h.disconnect()}},[t])}({sectionRefs:z,screenRefs:E,videoRef:B,staticImagesRef:F,screensContainerRef:M,loyaltyFaceRef:R,emptyPosRef:O,stickyBoxRef:$,enabled:D});let U=[{tag:h,headline:g,description:y,buttonLabel:f,buttonUrl:v,buttonTrackingId:b},{tag:x,headline:_,description:T,buttonLabel:w,buttonUrl:N,buttonTrackingId:I},{tag:C,headline:S,description:k,buttonLabel:j,buttonUrl:L,buttonTrackingId:A}],V=e=>e===U.length-1;return(0,a.jsx)("div",{ref:P,className:(0,K.$)(eX().wrapper,!D&&eX().lazyPlaceholder),children:D?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{ref:$,className:(0,K.$)(eX().stickyBox,eX().gridLayout),"aria-hidden":"true","data-testid":"pos-sticky-visual",children:(0,a.jsxs)("div",{className:eX().posContainer,children:[(0,a.jsx)(eW,{ref:B,className:eX().video,src:m,muted:!0,playsInline:!0,preload:"metadata"}),(0,a.jsxs)("div",{ref:F,className:eX().staticImages,children:[(0,a.jsxs)("div",{ref:M,className:eX().screensContainer,children:[(0,a.jsx)("div",{ref:e=>{E.current[0]=e},className:eX().screen,children:(0,a.jsx)(e_.p$,{src:r,alt:null!=o?o:"",fill:!0,sizes:e4,style:{objectFit:"contain"},priority:!0})}),(0,a.jsx)("div",{ref:e=>{E.current[1]=e},className:(0,K.$)(eX().screen,eX().screenAbsolute,eX().screenHidden),children:(0,a.jsx)(e_.p$,{src:d,alt:null!=c?c:"",fill:!0,sizes:e4,style:{objectFit:"contain"}})})]}),(0,a.jsx)("div",{ref:O,className:eX().emptyPos,children:(0,a.jsx)(e_.p$,{src:t,alt:null!=l?l:"",fill:!0,sizes:e4,style:{objectFit:"contain"}})}),(0,a.jsx)("div",{ref:R,className:eX().loyaltyFace,children:(0,a.jsx)("div",{className:eX().loyaltyImage,children:(0,a.jsx)(e_.p$,{src:u,alt:null!=p?p:"",fill:!0,sizes:e4,style:{objectFit:"contain"}})})})]})]})}),(0,a.jsxs)("div",{className:eX().content,children:[(0,a.jsx)("div",{className:eX().mobileSpacer}),U.map((e,t)=>(0,a.jsx)("div",{ref:e=>{z.current[t]=e},className:(0,K.$)(eX().contentSection,eX().gridLayout),children:(0,a.jsxs)("div",{className:eX().textBox,children:[(0,a.jsx)("span",{className:eX().tag,children:e.tag}),(0,a.jsx)("h3",{className:(0,K.$)(eX().headline,V(t)&&eX().loyaltyHeadline),children:e.headline}),(0,a.jsx)("p",{className:V(t)?eX().loyaltyDescription:void 0,children:e.description}),e.buttonLabel&&e.buttonUrl&&(0,a.jsx)(s.Button,{variant:"secondary",size:"m",href:e.buttonUrl,className:eX().button,trackingId:e.buttonTrackingId,children:e.buttonLabel})]})},e.tag))]})]}):null})},options:{name:"PosScrollSection",noWrap:!0,inputs:[{name:"emptyPosImage",friendlyName:"Empty POS Image",type:"file",allowedFileTypes:["jpeg","jpg","png","webp"],required:!0,localized:!0,helperText:"POS register image without any screen content"},{name:"emptyPosImageAlt",friendlyName:"Empty POS Image - Alt text",type:"string",required:!1,localized:!0,helperText:"Accessible description of the empty POS register image"},{name:"screen1Image",friendlyName:"Screen 1 Image",type:"file",allowedFileTypes:["jpeg","jpg","png","webp"],required:!0,localized:!0,helperText:"Screen overlay shown when Section 1 is in view"},{name:"screen1ImageAlt",friendlyName:"Screen 1 Image - Alt text",type:"string",required:!1,localized:!0,helperText:"Accessible description of the Screen 1 overlay image"},{name:"screen2Image",friendlyName:"Screen 2 Image",type:"file",allowedFileTypes:["jpeg","jpg","png","webp"],required:!0,localized:!0,helperText:"Screen overlay shown when Section 2 is in view"},{name:"screen2ImageAlt",friendlyName:"Screen 2 Image - Alt text",type:"string",required:!1,localized:!0,helperText:"Accessible description of the Screen 2 overlay image"},{name:"loyaltyPosImage",friendlyName:"Loyalty POS Image",type:"file",allowedFileTypes:["jpeg","jpg","png","webp"],required:!0,localized:!0,helperText:"Static fallback image for the loyalty side (used on Safari)"},{name:"loyaltyPosImageAlt",friendlyName:"Loyalty POS Image - Alt text",type:"string",required:!1,localized:!0,helperText:"Accessible description of the loyalty POS fallback image"},{name:"rotatingHeroVideo",friendlyName:"Rotating Hero Video",type:"file",allowedFileTypes:["webm","mp4"],required:!0,localized:!0,helperText:"Video of the POS rotation, scrubbed by scroll in the Loyalty section"},...e5(1),...e5(2),...e5(3)]}};var e9=l(877),e6=l(11135),e8=l.n(e6);function e7(e){let{discountPercentage:t}
1=e,{commonLabels:l}=(0,m.Z)(),[n,r]=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("{{discountPercentage}}");return 2!==t.length?[e,""]:[t[0],t[1]]}(l.promoBadgeLabel);return(0,a.jsxs)("div",{className:(0,K.$)(e8().promoBadge),children:[(0,a.jsx)(Y.$,{as:"h4",className:e8().promoLabel,size:"m",children:null!=n?n:""}),(0,a.jsxs)(e9.n,{className:e8().promoPercentage,size:"m",as:"h3",weight:"bold",children:["-",t,"%"]}),(0,a.jsx)(Y.$,{as:"h4",className:e8().promoLabel,size:"m",children:null!=r?r:""})]})}var te=l(48658);let tt=e=>!0===e.get("button2Visible");var tl=l(589),ta=l.n(tl),tn=l(64322);let tr="(max-width: 767px) min(90vw, 400px), 420px",ti={component:(0,i.OF)(function(e){let{steps:t,baCardImage:l,cardImage:r,phoneBorderColor:i,phoneBorderWidth:o,children:s}=e,d=(0,n.useRef)(null),c=(0,n.useRef)(null),u=(0,n.useRef)([]),[p,m]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e,t="u">typeof CSS&&"function"==typeof CSS.supports&&CSS.supports("animation-timeline: scroll()")&&CSS.supports("view-timeline-name: --step-1"),l=()=>"function"==typeof window.matchMedia&&window.matchMedia(tn.L.untilKilo).matches;if(t)return()=>void 0;m(!0);let a=d.current,n=c.current;if(!a||!n)return()=>void 0;let r=e=>Math.max(0,Math.min(1,e)),i=(e,t,l)=>r((e-t)/(l-t)),o=e=>{if(!e)return 0;let t=window.innerHeight||1,a=e.getBoundingClientRect(),n=l()?.99:.75,i=l()?.8:.25,o=Math.max(n,i),s=Math.min(n,i),d=t*o;return r((d-a.top)/(d-t*s))},s=()=>{var e,t;let s,d,c=window.innerHeight||1,p=a.getBoundingClientRect(),m=r((c-p.top)/(p.height+c)),h=r(m/.7),g=i(m,.5,1),y=l()?.5+.19999999999999996*(e=>{if(!e)return 0;let t=window.innerHeight||1,{top:l}=e.getBoundingClientRect();return r((t-l)/(t-.8*t))})(u.current.reduce((e,t)=>null!=t?t:e,null)):.5+.19999999999999996*g,f=(s=i(y,.5,.7),d=(e,t)=>Math.round(e+(t-e)*s),`rgb(${d(251,34)} ${d(251,14)} ${d(249,28)})`);a.style.setProperty("--js-bg-progress",String(y)),a.style.setProperty("--js-card-progress",String(h)),a.style.setProperty("--background-color",f),n.style.setProperty("--background-color",f),a.style.backgroundColor=f;let v=o(null!=(e=u.current[1])?e:null),b=o(null!=(t=u.current[2])?t:null),x=l(),_=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.7;return r((e-t)/.3)},T=_(v,.45*!x),w=_(b,.7*!x),N=_(b,.7*!x);a.style.setProperty("--js-step-2-progress",String(v)),a.style.setProperty("--js-step-3-progress",String(b)),a.style.setProperty("--js-ba-card-emerge-progress",String(T)),a.style.setProperty("--js-ba-card-hide-progress",String(w)),a.style.setProperty("--js-consumer-card-tilt-progress",String(N))},p=()=>{null==e&&(e=window.requestAnimationFrame(()=>{e=void 0,s()}))};return s(),window.addEventListener("scroll",p,{passive:!0}),window.addEventListener("resize",p),()=>{window.removeEventListener("scroll",p),window.removeEventListener("resize",p),null!=e&&window.cancelAnimationFrame(e)}},[]),(0,a.jsxs)("div",{ref:d,className:`${ta().wrapper}${p?` ${ta().jsFallback}`:""}`,style:{"--phone-border-color":i||"#000","--phone-border-width":o||"1px"},"data-testid":"scroll-linked-device-showcase",children:[(0,a.jsx)("div",{ref:c,className:ta().stickyContainer,children:(0,a.jsxs)("div",{className:ta().phoneContainer,children:[(0,a.jsx)("div",{className:ta().baCardContainer,children:(null==l?void 0:l.image)?(0,a.jsx)(e_._V,{className:ta().baCard,image:l.image,alt:l.altText,sizes:tr,attributes:{key:"scroll-linked-ba-card"}}):null}),(0,a.jsx)("div",{className:ta().sumUpCardContainer,children:(null==r?void 0:r.image)?(0,a.jsx)(e_._V,{className:ta().sumUpCard,image:r.image,alt:r.altText,sizes:tr,attributes:{key:"scroll-linked-card"}}):null}),(0,a.jsx)("div",{className:ta().screensWrapper,children:t.map((e,t)=>(0,a.jsx)("div",{className:ta().screen,"data-testid":"scroll-linked-screen-layer",children:e.screenImage?(0,a.jsx)(e_._V,{className:ta().screenImage,image:e.screenImage,alt:e.altText,sizes:tr,attributes:{key:`scroll-linked-screen-${t}`}}):null},e.screenImage?`scroll-step-${e.screenImage}-${t}`:`scroll-step-${t}`))})]})}),(0,a.jsx)("div",{className:ta().contentContainer,children:n.Children.map(s,(e,t)=>null!=e&&!1!==e?(0,a.jsx)("div",{ref:e=>{u.current[t]=e},className:ta().content,children:e},`scroll-beat-${t}`):null)})]})}),options:{name:"AppScrollSection",canHaveChildren:!0,inputs:[{name:"steps",type:"list",required:!0,defaultValue:[{screenImage:"",altText:""},{screenImage:"",altText:""},{screenImage:"",altText:""}],subFields:[{name:"screenImage",type:"file",required:!0,allowedFileTypes:["jpeg","jpg","png","webp"],helperText:"Screenshot shown inside the device for this step.",localized:!0},{name:"altText",type:"string",required:!0,helperText:"Describe the screenshot for screen readers.",localized:!0}],helperText:"Ordered list of device screens shown during scroll progression.",localized:!0},{name:"baCardImage",type:"object",helperText:"Business Account card shown behind the phone on the left during step 2.",subFields:[{name:"image",type:"file",required:!0,allowedFileTypes:["jpeg","jpg","png","webp"],helperText:"Image of the Business Account card.",localized:!0},{name:"altText",type:"string",required:!0,helperText:"Describe the Business Account card for screen readers.",localized:!0}]},{name:"cardImage",type:"object",helperText:"Consumer card shown behind the phone on the right during step 3.",subFields:[{name:"image",type:"file",required:!0,allowedFileTypes:["jpeg","jpg","png","webp"],helperText:"Image of the consumer card shown behind the phone.",localized:!0},{name:"altText",type:"string",required:!0,helperText:"Describe the card image for screen readers.",localized:!0}]},{name:"phoneBorderColor",type:"string",helperText:"CSS color for the phone border (for example: #111111).",localized:!1},{name:"phoneBorderWidth",type:"string",helperText:"CSS width for the phone border (for example: 1px or 2px).",localized:!1}],defaults:{}}},to={name:"Basics",permissions:{allowedRoles:[c.cL.gc.DESIGNER_EDITOR]},items:[{name:"CUI:Button",permissions:{allowedRoles:[c.cL.gc.DESIGNER_EDITOR]}},{name:"CUI:ModalButton",permissions:{allowedRoles:[c.cL.gc.DESIGNER_EDITOR]}},{name:"CUI:Icon",permissions:{allowedRoles:[c.cL.gc.DESIGNER_EDITOR]}},{name:"Symbol",permissions:{allowedRoles:[c.cL.gc.LOCALIZATION_MANAGER]}}]},ts={name:"Complex Components",items:[{name:"CUI:Table"},{name:"CUI:ComparisonTable"},{name:"ExpansionPanelList"},{name:"GenericCarousel"},{name:"PersonalizationContainer"},{name:"DownloadAppSection",permissions:{allowedRoles:[c.cL.gc.DESIGNER]}},{name:"PosScrollSection",permissions:{allowedRoles:[c.cL.gc.DESIGNER]}},{name:"VideoHero",permissions:{allowedRoles:[c.cL.gc.DESIGNER]}},{name:"AppScrollSection",permissions:{allowedRoles:[c.cL.gc.DESIGNER]}},{name:"ProductComparison"}]},td=[A,E,R,$,G,es,{component:function(e){var t,l;let{appStoreLogo:r,googlePlayLogo:o,backgroundVideo:s,leftSideImage:d,rightSideImage:c,leftSideImageAltText:u,rightSideImageAltText:h,headline:g,bodyText:y,businessAppButtonLabel:f,personalAppButtonLabel:v,businessAppButtonTrackingId:b,personalAppButtonTrackingId:x,businessAppModalHeadline:_,personalAppModalHeadline:T,businessAppQrCode:w,personalAppQrCode:N,businessAppUrl:
1I,personalAppUrl:C,attributes:S}=e,k=(0,eY.A)(),{setModal:j}=(0,P.h)(),L=(0,n.useRef)(null),A=(0,n.useRef)(null),E=(0,n.useRef)(null),B=(0,n.useId)(),{key:F,className:M,...R}=null!=S?S:{},O=eZ(L,{force:i.M$.isEditing});(0,n.useLayoutEffect)(()=>{let e=L.current;if(!e)return;let t=0,l=()=>{t=0;let l=window.matchMedia("(prefers-reduced-motion: reduce)").matches,a=e.getBoundingClientRect(),n=window.innerHeight||1,r=0;l?r=1:a.top<=0&&(r=Math.min(1,-a.top/(.75*n))),e.style.setProperty("--scroll-progress",r.toFixed(4))},a=()=>{t||(t=window.requestAnimationFrame(l))};return l(),window.addEventListener("scroll",a,{passive:!0}),window.addEventListener("resize",a),()=>{window.removeEventListener("scroll",a),window.removeEventListener("resize",a),window.cancelAnimationFrame(t)}},[L]),(0,n.useLayoutEffect)(()=>{let e=0,t=()=>{e=0;let t=A.current,l=E.current;if(!t||!l)return;let a=t.getBoundingClientRect(),n=l.getBoundingClientRect(),r=n.width,i=window.matchMedia(eD).matches;if(r>0){let e=Math.max(0,Math.min(100,(a.right-n.left)/r*100));l.style.setProperty("--text-container-split-percentage",`${e.toFixed(2)}%`)}if(i){let e=function(e,t,l){let a=e.height;if(a<=0)return 0;let n=l||e.right>t.left&&e.left<t.right,r=e.bottom>t.top&&e.top<t.bottom;if(!n||!r)return 0;let i=Math.min(e.bottom,t.bottom);return e.top>=t.top?Math.max(0,Math.min(100,(i-e.top)/a*100)):Math.max(0,Math.min(100,(i-t.top)/a*100))}(n,a,!0);l.style.setProperty("--text-container-split-vertical-percentage",`${e.toFixed(2)}%`)}else l.style.removeProperty("--text-container-split-vertical-percentage")},l=()=>{e||(e=window.requestAnimationFrame(t))};t(),window.addEventListener("scroll",l,{passive:!0}),window.addEventListener("resize",l);let a=window.matchMedia(eD);null==a||a.addEventListener("change",l);let n=A.current,r=E.current,i=function(){if("u"<typeof globalThis)return null;let e=globalThis.ResizeObserver;return"function"==typeof e?e:null}(),o=i?new i(l):null;return o&&(n&&o.observe(n),r&&o.observe(r)),()=>{window.removeEventListener("scroll",l),window.removeEventListener("resize",l),window.cancelAnimationFrame(e),null==a||a.removeEventListener("change",l),null==o||o.disconnect()}},[A,E]);let{commonLabels:$}=(0,m.Z)(),D=(null==$?void 0:$.closeDialog)||"Close dialog",U=null!=(t=null==$?void 0:$.businessAppQrCode)?t:"QR code to download the SumUp Business app",V=null!=(l=null==$?void 0:$.personalAppQrCode)?l:"QR code to download the SumUp Personal app",H=(0,n.useMemo)(()=>({[eF]:{modalHeadline:_,imageSrc:w,imageAltText:U},[eM]:{modalHeadline:T,imageSrc:N,imageAltText:V}}),[_,T,w,N,U,V]),q=(0,n.useCallback)(e=>{let{modalHeadline:t,imageSrc:l,imageAltText:n}=H[e];j({closeButtonLabel:D,contentClassName:"button-modal",variant:"contextual",children:(0,a.jsx)(e$,{modalHeadline:t,imageSrc:l,imageAltText:n},`download-${e}-app-modal`)})},[H,D,j]),W=(0,n.useCallback)((e,t)=>{if(i.M$.isEditing)return void t.preventDefault();let l=e===eF?b:x,a=`download_${e}_app_cta@download_app_section`;if((0,z.BI)({event:"button clicked",button_description:l||a,destination:"uncategorized"}),k===eG.y.DESKTOP)q(e);else{let t=e===eF?I:C;window.open(t,"_blank")}},[q,b,x,I,C,k]);return(0,a.jsx)("section",{ref:L,className:(0,K.$)(eE().section,M),"aria-labelledby":O?B:void 0,"data-testid":"download-app-section",...R,children:O?(0,a.jsxs)("div",{className:eE().sticky,children:[(0,a.jsxs)("div",{ref:A,className:eE().backdrop,children:[(0,a.jsx)("div",{className:(0,K.$)(eE().sideImage),children:d&&u&&(0,a.jsx)(e_.p$,{src:d,alt:u,fill:!0})}),(0,a.jsx)("div",{className:(0,K.$)(eE().sideImage),children:c&&h&&(0,a.jsx)(e_.p$,{src:c,alt:h,fill:!0})}),(0,a.jsx)("div",{className:eE().videoSlot,"aria-hidden":"true",children:(0,a.jsx)(eW,{className:eE().backgroundVideo,src:s,muted:!0,playsInline:!0,autoPlay:!0,loop:!0,preload:"metadata"})})]}),(0,a.jsx)("div",{className:eE().ctaContent,children:(0,a.jsxs)("div",{className:eE().columnWrapper,children:[(0,a.jsxs)("div",{className:eE().storeLogoGroup,children:[(0,a.jsx)(e_.p$,{src:r,alt:(null==$?void 0:$.appStoreLogo)||"App Store logo",width:240,height:72,quality:e_.Rn,builderQuality:e_.LB,unoptimized:!0,className:eE().storeLogo}),(0,a.jsx)(e_.p$,{src:o,alt:(null==$?void 0:$.googlePlayLogo)||"Google Play logo",width:240,height:72,quality:e_.Rn,builderQuality:e_.LB,unoptimized:!0,className:eE().storeLogo})]}),(0,a.jsxs)("div",{ref:E,className:eE().textContainer,children:[(0,a.jsx)(Y.$,{as:"h2",id:B,size:"l",className:eE().headline,children:g}),(0,a.jsx)(eP.n,{className:eE().body,children:y})]}),(0,a.jsxs)("div",{className:eE().buttonGroup,children:[f&&(0,a.jsx)(p.$,{variant:"primary",size:"m",className:eE().button,onClick:e=>W(eF,e),children:f}),v&&(0,a.jsx)(p.$,{variant:"primary",size:"m",className:eE().button,onClick:e=>W(eM,e),children:v})]})]})})]}):null})},options:{name:"DownloadAppSection",noWrap:!0,inputs:[{name:"appStoreLogo",friendlyName:"App Store logo",type:"file",allowedFileTypes:["svg","jpeg","jpg","png","webp"],required:!0,localized:!0,helperText:"Ap
1p Store badge or logo"},{name:"googlePlayLogo",friendlyName:"Google Play logo",type:"file",allowedFileTypes:["svg","jpeg","jpg","png","webp"],required:!0,localized:!0,helperText:"Google Play badge or logo"},{name:"backgroundVideo",friendlyName:"Background video",type:"file",allowedFileTypes:["mp4"],required:!0,localized:!0,helperText:"Looping or ambient background video (mp4)"},{name:"leftSideImage",friendlyName:"Left-side image",type:"file",allowedFileTypes:["jpeg","jpg","png","webp"],required:!0,localized:!0,helperText:"Image shown on the left of the section"},{name:"leftSideImageAltText",friendlyName:"Left-side image alt text",type:"string",required:!0,localized:!0,helperText:"Alternative text that describes the image for accessibility"},{name:"rightSideImage",friendlyName:"Right-side image",type:"file",allowedFileTypes:["jpeg","jpg","png","webp"],required:!0,localized:!0,helperText:"Image shown on the right of the section"},{name:"rightSideImageAltText",friendlyName:"Right-side image alt text",type:"string",required:!0,localized:!0,helperText:"Alternative text that describes the image for accessibility"},{name:"headline",friendlyName:"Headline",type:"string",required:!0,localized:!0,helperText:"Main heading above the download content"},{name:"bodyText",friendlyName:"Body text",type:"string",required:!0,localized:!0,helperText:"Supporting copy under the headline"},{name:"businessAppButtonLabel",friendlyName:"Business App Button label",type:"string",required:!0,localized:!0,helperText:"Text shown on the SumUp Business App call-to-action button"}
1,{name:"personalAppButtonLabel",friendlyName:"Personal App Button label",type:"string",required:!0,localized:!0,helperText:"Text shown on the SumUp Personal App call-to-action button"},{name:"businessAppButtonTrackingId",friendlyName:"Business App Button tracking ID",type:"string",required:!1,localized:!1,helperText:"Tracking ID for the SumUp Business App Button"},{name:"personalAppButtonTrackingId",friendlyName:"Personal App Button tracking ID",type:"string",required:!1,localized:!1,helperText:"Tracking ID for the SumUp Personal App Button"},{name:"businessAppModalHeadline",friendlyName:"Business App Modal headline",type:"string",required:!0,localized:!0,helperText:"Text shown on the SumUp Business App modal headline"},{name:"personalAppModalHeadline",friendlyName:"Personal App Modal headline",type:"string",required:!0,localized:!0,helperText:"Text shown on the SumUp Personal App modal headline"},{name:"businessAppQrCode",friendlyName:"Business App QR code",type:"file",allowedFileTypes:["jpeg","jpg","png","webp"],required:!0,localized:!0,helperText:"QR code graphic for SumUp Business App download"}
1,{name:"personalAppQrCode",friendlyName:"Personal App QR code",type:"file",allowedFileTypes:["jpeg","jpg","png","webp"],required:!0,localized:!0,helperText:"QR code graphic for SumUp Personal App download"},{name:"businessAppUrl",friendlyName:"Business App URL",type:"url",required:!0,localized:!0,helperText:"URL where users can download the SumUp Business App"},{name:"personalAppUrl",friendlyName:"Personal App URL",type:"url",required:!0,localized:!0,helperText:"URL where users can download the SumUp Personal App"}]}},eA,e3,{component:function(e){var t,l;let{headline:r,description:i,button1Label:o,button1Url:d,button1TrackingId:c,button1Type:u,button2Visible:p,button2Label:m,button2Type:h,button2Url:g,button2TrackingId:y,desktopVideoMp4:f,desktopVideoWebm:v,tabletVideoMp4:b,tabletVideoWebm:x,mobileVideoMp4:_,mobileVideoWebm:T,posterImage:w,videoAlt:N,enableBoxInEffect:I=!0,darkText:C=!1,promoBadgeVisible:S=!1,discountPercentage:k=0}=e,j=(0,n.useRef)(null),L=(0,el.Q)("(prefers-reduced-motion: reduce)",!0),A=(0,te.A)();t=I&&!L,l=A===eG.y.MOBILE,(0,n.useEffect)(()=>{if(!t)return;let e=j.current;if(!e)return;let a=null,n=()=>{if(a=null,l)window.scrollY>0?e.style.setProperty("--scroll-progress",String(1)):e.style.setProperty("--scroll-progress",String(0));else{let t=e.getBoundingClientRect(),l=Math.max(0,Math.min(1,-(2*t.top)/t.height));e.style.setProperty("--scroll-progress",String(l))}},r=()=>{null===a&&(a=window.requestAnimationFrame(n))};return window.addEventListener("scroll",r,{passive:!0}),n(),()=>{window.removeEventListener("scroll",r),null!==a&&window.cancelAnimationFrame(a),e.style.removeProperty("--scroll-progress")}},[j,t,l]);let P=[{src:T,type:"video/webm",viewport:eG.y.MOBILE},{src:_,type:"video/mp4",viewport:eG.y.MOBILE},{src:x,type:"video/webm",viewport:eG.y.TABLET},{src:b,type:"video/mp4",viewport:eG.y.TABLET},{src:v,type:"video/webm",viewport:eG.y.DESKTOP},{src:f,type:"video/mp4",viewport:eG.y.DESKTOP}].flatMap(e=>{let{viewport:t,src:l,type:a}=e;return t===A&&l?[{src:l,type:a}]:[]});return(0,a.jsx)("section",{ref:j,className:(0,K.$)(e8().wrapper,I&&e8().animated),"data-selector":"video_hero",children:(0,a.jsx)("div",{className:e8().stage,children:(0,a.jsxs)("div",{className:e8().frame,children:[S&&(0,a.jsx)(e7,{discountPercentage:k}),(0,a.jsxs)("div",{className:e8().media,"aria-hidden":!N||void 0,children:[w&&(0,a.jsx)(e_.p$,{src:w,alt:"",width:0,height:0,sizes:"min(100vw, 1440px)",quality:65,priority:!0,fetchPriority:"high",loading:"eager"}),!L&&(0,a.jsx)(eW,{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:"metadata","aria-label":N||void 0,sources:P}),!C&&(0,a.jsx)("div",{className:e8().overlay,"aria-hidden":!0})]}),(0,a.jsxs)("div",{className:e8().content,children:[(0,a.jsx)(e9.n,{style:{color:C?"var(--cui-fg-normal)":"var(--cui-fg-on-strong)"},as:"h1",size:"l",weight:"regular",className:e8().headline,children:r}),i&&(0,a.jsx)(eP.n,{as:"p",size:"m",weight:"bold",color:C?"normal":"on-strong",className:e8().description,children:i}),(0,a.jsxs)("div",{className:e8().buttons,children:[(0,a.jsx)(s.Button,{variant:u,href:d,trackingId:c,children:o}),p&&m&&g&&(0,a.jsx)(s.Button,{variant:h,href:g,trackingId:y,children:m})]})]})]})})})},options:{name:"VideoHero",inputs:[{name:"promoBadgeVisible",type:"boolean",required:!1,localized:!0,defaultValue:!1,helperText:"shows/hides a promotional badge"},{name:"discountPercentage",type:"number",required:!1,localized:!0,defaultValue:10,helperText:"The discount percentage shown in the badge"},{name:"headline",type:"string",required:!0,localized:!0,defaultValue:"Built to connect",helperText:"Main hero headline. Renders as the page <h1>."},{name:"darkText",type:"boolean",required:!1,defaultValue:!1,helperText:"If checked, the headline and description will be displayed in black instead of white"},{name:"description",type:"longText",localized:!0,helperText:"Supporting copy shown beneath the headline."},{name:"button1Label",type:"string",required:!0,localized:!0,helperText:"Label for the primary CTA."},{name:"button1Type",type:"select",enum:["primary","secondary"],defaultValue:"primary"},{name:"button1Url",friendlyName:"Button 1 URL",type:"url",required:!0,localized:!0,helperText:"Destination URL for the primary CTA."},{name:"button1TrackingId",friendlyName:"Button 1 tracking ID",type:"text",helperText:"Tracking ID for the primary CTA click event."},{name:"button2Visible",type:"boolean",defaultValue:!1,helperText:"Show a second CTA next to the primary one."},{name:"button2Label",type:"string",localized:!0,helperText:"Label for the secondary CTA.",showIf:tt},{name:"button2Type",type:"select",enum:["primary","secondary"],defaultValue:"secondary",showIf:tt},{name:"button2Url",friendlyName:"Button 2 URL",type:"url",localized:!0,helperText:"Destination URL for the secondary CTA.",showIf:tt},{name:"button2TrackingId",friendlyName:"Button 2 tracking ID",type:"text",helperText:"Tracking ID for the secondary CTA click event.",showIf:tt},{name:"desktopVideoMp4",friendlyName:"Desktop video - MP4",type:"file",required:!0,localized:!0,allowedFileTypes:["mp4"],helperText:"Desktop background video (mp4). Aim for ≤8MB; this loads on every desktop visit."},{name:"desktopVideoWebm",friendlyName:"Desktop video - WebM",type:"file",localized:!0,allowedFileTypes:["webm"],helperText:"Optional desktop video in webm format (preferred when available)."},{name:"tabletVideoMp4",friendlyName:"Tablet video - MP4",type:"file",localized:!0,allowedFileTypes:["mp4"],helperText:"Optional tablet-specific mp4. Falls back to the desktop video."},{name:"tabletVideoWebm",friendlyName:"Tablet video - WebM",type:"file",localized:!0,allowedFileTypes:["webm"],helperText:"Optional tablet-specific webm."},{name:"mobileVideoMp4",friendlyName:"Mobile  video - MP4",type:"file",localized:!0,allowedFileTypes:["mp4"],helperText:"Optional mobile-specific mp4. Aim for ≤4MB; this loads on every mobile visit."},{name:"mobileVideoWebm",friendlyName:"Mobile video - WebM",type:"file",localized:!0,allowedFileTypes:["webm"],helperText:"Optional mobile-specific webm."},{name:"posterImage",type:"file",required:!0,localized:!0,allowedFileTypes:["jpeg","jpg","png","webp"],helperText:"Shown before the video plays and as the fallback for reduced-motion users."},{name:"videoAlt",type:"string",localized:!0,helperText:"Describe the video for screen-reader users. Leave empty if purely decorative."},{name:"enableBoxInEffect",friendlyName:'Enable "Box-in" scroll effect',type:"boolean",defaultValue:!0,helperText:"Hero contracts and rounds as the user scrolls. Disable for a static layout."}],defaults:{},noWrap:!0}},ti],tc=o.dH,tu={component:e_._V,options:{name:"CUI:Image",friendlyName:"Basic Image",image:"https://cdn.builder.io/api/v1/image/assets%2F970aa68ef5444888893ac22df7f024eb%2F3bb6becf70b54c4ab57e6513d2766fce",canHaveChildren:!0,inputs:[{name:"image",friendlyName:"Image",type:"file",required:!0,allowedFileTypes:c.hp,onChange:tc},{name:"alt",friendlyName:"Alt text",type:"text",required:!0,localized:!0,helperText:"Describe the image for screen reader users. Leave empty only if the image is purely decorative."},{name:"overrideWidthAndHeight",type:"boolean",defaultValue:!1,advanced:!0,helperText:"Deprecated. Only enable to force a fixed rendered size; otherwise the image uses its detected dimensions and remains responsive."},{name:"width",type:"number",advanced:!0,helperText:"Deprecated. Auto-detected from the image; only set when overriding width and height."},{name:"height",type:"number",advanced:!0,helperText:"Deprecated. Auto-detected from the image; only set when overriding width and height."},{name:"hasGradientShadow",friendlyName:"Add gradient shadow",type:"boolean",defaultValue:!1},{name:"hoverEffect",friendlyName:"Hover effect",type:"enum",enum:["zoom","none"],defaultValue:"none"},{name:"priority",type:"boolean",defaultValue:!1,advanced:!0,helperText:"This will make the image load before the rest of the page. Use only for images above the fold (e.g. hero images)."},{name:"sizes",friendlyName:"Responsive sizes",type:"string",advanced:!0,helperText:"How wide the image is on the page at different breakpoints (CSS px), e.g. (max-width: 768px) 100vw, 640px. Affects which optimized file Next.js requests. Leave empty for a full-width–style default; set explicitly when the image sits in a column or card."}],defaults:{},noWrap:!0}},tp={name:"Media",permissions:{allowedRoles:[c.cL.gc.DESIGNER_EDITOR]},items:[{name:"CUI:Image"},{name:"Video"},{name:"Embed"}]};var tm=l(70357);function th(e,t,l){try{return tm.pY.formatCurrencyToParts(e,t,l).reduce((e,t)=>
1"currency"===t.type||"literal"===t.type?e:e+t.value,"")}catch(e){throw Error(`Failed to strip currency symbol from price: ${e instanceof Error?e.message:String(e)}`)}}function tg(e){try{let t;return t=e,e&&"Default"!==e||(t=c.DG.DEFAULT_LOCALE_CODE),tm.pY.getCurrencyFormat(t)}catch(t){throw Error(`Error getting currency format for locale: ${e}`)}}l(18318);var ty=l(26848),tf=l(48105),tv=l.n(tf);function tb(e){let{price:t,installmentsPrice:l,installments:n,hasInstallments:r,locale:i}=e,{currency:o,currencySymbol:s,currencyPosition:d}=tg(i),c=th(r?l:t,i,o);return(0,a.jsxs)(a.Fragment,{children:[r?(0,a.jsx)("span",{children:`${n}\u200Bx\u200B `}):null,"prefix"===d?(0,a.jsx)("span",{children:`${s} ${c}`}):(0,a.jsx)("span",{children:`${c} ${s}`})]})}let tx={s:tv().planPriceSizeS,m:tv().planPriceSizeM,l:tv().planPriceSizeL};function t_(e){return"m"===e||"l"===e?e:"s"}function tT(e){let{anchorPlan:t,plans:l,size:r,billingFrequency:i,showYearlySavingsBadge:o=!0}=e,{shopLabels:s}=(0,m.Z)(),d=(0,n.useMemo)(()=>(0,u.NJ)(l),[l]),p=i===C?C:S,h=(0,u.hd)(d,t,p);if(!h||h.recurringCostFrequency!==p)return null;let g="monthly"===h.recurringCostFrequency?s.monthly:s.yearly,y=p===S?(0,u.ov)(t,l):null,f=(null==o||o)&&null!=y&&y>0?(0,c.Gx)(s.yearlySavingsBadgeLabel,{percentage:String(y)}):null;return(0,a.jsxs)("div",{className:tv().planPriceRow,children:[(0,a.jsxs)("span",{className:(0,K.$)(tv().planPrice,tx[t_(r)]),children:[h.formattedRecurringCost,g]}),f?(0,a.jsx)(ty.E,{variant:"promo",children:f}):null]})}function tw(e){let{builderState:t,product:l,plan:n,showYearlySavingsBadge:r,size:i="s",displayInline:o=!1}=e,s=t_(i),{products:c}=(0,g.Q)(),{plans:p}=(0,_.A)(),{customState:m}=(0,d.usePageState)(),h=!!n,y=function(e,t){if(e){if("value"in e&&e.value){var l;return(0,u.Ud)(t,null==(l=e.value.data)?void 0:l.code)}if("planId"in e)return e}}(n,p);if(h){var f;if(!y)return null;let e=null!=(f=m[k])?f:S;return(0,a.jsx)(tT,{anchorPlan:y,plans:p,size:s,billingFrequency:e,showYearlySavingsBadge:null==r||r})}let v=function(e,t){if(e){if("value"in e){var l,a;let{productId:n}=null!=(l=null==(a=e.value)?void 0:a.data)?l:{};return n?t[n]:void 0}return e}}(l,c);if(!v)return null;let{promotion:b,installments:x,hasPromotion:T,hasInstallments:w}=v,N=v.hasPromotion?b.price:v.price;v.hasInstallments&&(N=v.hasPromotion?b.installmentsPrice:v.installmentsPrice);let{locale:I}=t.state,{currency:C,currencySymbol:j,currencyPosition:L}=tg(I),A=th(N,I,C),P=`name:${v.trackingId}`;return(A&&(P+=`;price:${A}`),o)?(0,a.jsxs)("div",{className:(0,K.$)(tv().inlinePrice,tv()[`size-${s}`]),children:[T&&(0,a.jsx)("span",{className:tv().promoPrice,children:(0,a.jsx)(tb,{price:b.price,installmentsPrice:b.installmentsPrice,installments:x,hasInstallments:w,locale:I,currency:C})}),(0,a.jsx)("span",{className:(0,K.$)(tv().originalPrice,T&&tv().promo,tv()[`size-${s}`]),children:(0,a.jsx)(tb,{price:v.price,installmentsPrice:v.installmentsPrice,installments:x,hasInstallments:w,locale:I,currency:C})})]}):(0,a.jsxs)("div",{"data-elb-product":P,className:tv().priceWrapper,children:[(0,a.jsx)("div",{className:(0,K.$)(tv().priceFirstRow,T&&tv().promoPrice),children:"prefix"===L?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:(0,K.$)(tv().currencySymbol,tv().prefix,tv()[`size-${s}`],w&&tv().hasInstallments),children:[j,w?(0,a.jsxs)("span",{children:[x,"x"]}):null]}),(0,a.jsx)("span",{className:(0,K.$)(tv().price,tv()[`size-${s}`],w&&tv().hasInstallments),children:A})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:(0,K.$)(tv().currencySymbol,tv()[`size-${s}`]),children:w?(0,a.jsxs)("span",{children:[x,"x"]}):null}),(0,a.jsx)("span",{className:(0,K.$)(tv().price,tv()[`size-${s}`]),children:A}),(0,a.jsx)("span",{className:(0,K.$)(tv().currencySymbol,tv()[`size-${s}`]),children:j})]})}),T&&(0,a.jsx)("div",{className:(0,K.$)(tv().secondRow,tv()[`size-${s}`]),children:(0,a.jsx)(tb,{price:v.price,installmentsPrice:b.installmentsPrice,installments:x,hasInstallments:w,locale:I,currency:C})})]})}let tN={component:tw,options:{name:"Price",image:"https://cdn.builder.io/api/v1/image/assets%2F970aa68ef5444888893ac22df7f024eb%2F1c7b2d50ea5c4c3bbfe4a46bdf010872",inputs:[{name:"plan",type:"reference",localized:!0,model:"plan",helperText:"Plan to display the price for. Takes precedence over product. Yearly savings badge requires monthly and yearly plans sharing a frequency group."},{name:"product",type:"reference",localized:!0,model:"product",helperText:`Product to display the price for when no plan is set.
2          The product should be in the list of available products for the market to be displayed properly`},{name:"size",type:"enum",defaultValue:"s",helperText:"Size of the price",enum:[{label:"Small",value:"s"},{label:"Medium",value:"m"},{label:"Large",value:"l"}]},{name:"displayInline",type:"boolean",defaultValue:!1,helperText:"Display the product price inline with promo price. Ignored for plan pricing."},{name:"showYearlySavingsBadge",type:"boolean",defaultValue:!0,helperText:"Plan pricing only. Show savings badge on yearly cadence when savings > 0.",showIf:e=>!!e.get("plan")}]}};var tI=l(94308),tC=l.n(tI);let tS=`data:image/svg+xml,${encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="304" height="304"><rect width="304" height="304" fill="#e5e7eb"/><text x="50%" y="50%" fill="#9ca3af" font-family="sans-serif" font-size="18" text-anchor="middle" dominant-baseline="middle">Sample</text></svg>')}`;var tk=l(70015),tj=l.n(tk),tL=l(49861),tA=l(31868),tP=l(12027),tz=l(56479),tE=l(25547),tB=l.n(tE);let tF={alelo:{name:"alelo",size:"24"},amex:{name:"american_express",size:"24"}
2,applePay:{name:"apple_pay",size:"24"},bancoEstado:{name:"banco_estado",size:"24"},bancontact:{name:"bancontact",size:"32"},boleto:{name:"boleto",size:"24"},conecs:{name:"conecs",size:"24"},dankort:{name:"dankort",size:"24"},diners:{name:"diners_club",size:"24"},discover:{name:"discover",size:"24"},ec:{name:"ec",size:"24"},eftpos:{name:"eftpos",size:"24"},elo:{name:"elo",size:"24"},fasterPayments:{name:"faster_payments",size:"24"},girocard:{name:"girocard",size:"24"},googlePay:{name:"google_pay",size:"24"},hiper:{name:"hiper",size:"24"},hipercard:{name:"hipercard",size:"24"},interac:{name:"interac",size:"32"},jcb:{name:"jcb",size:"24"},maestro:{name:"maestro",size:"24"},mastercard:{name:"mastercard",size:"24"},nfc:{name:"nfc_payment",size:"24"},pix:{name:"pix_full",size:"24"},pluxee:{name:"pluxee",size:"32"},postFinance:{name:"post_finance",size:"24"},redCompra:{name:"red_compra",size:"24"},samsungPay:{name:"samsung_pay",size:"24"},sepa:{name:"sepa",size:"24"},sodexo:{name:"sodexo",size:"24"},swile:{name:"swile",size:"24"},ticket:{name:"ticket",size:"24"},twint:{name:"twint",size:"24"},unionPay:{name:"union_pay",size:"24"},visa:{name:"visa",size:"24"},visaElectron:{name:"visa_electron",size:"24"},vpay:{name:"vpay",size:"24"},vr:{name:"vr",size:"24"}},tM=e=>{let{iconIds:t=[]}=e,{commonLabels:l}=(0,m.Z)(),n=(null==l?void 0:l.paymentMethod)||"";if(!t.length)return null;let r=t.filter(e=>!!tF[e]||((tL.M$.isEditing||tL.M$.isPreviewing)&&console.warn("[ProductComparison] Unknown cardScheme:",e),!1));return r.length?(0,a.jsx)("ul",{className:tB().list,children:r.map(e=>{var t;return(0,a.jsxs)("li",{className:tB().item,children:["24"===(t=tF[e]).size?(0,a.jsx)(tP.g,{name:t.name,alt:"",size:"m"}):(0,a.jsx)(tz.I,{name:t.name,alt:"",size:"l"}),(0,a.jsx)("span",{className:tA.H.hideVisually,children:`${n} ${e}`})]},e)})}):null};var tR=l(6488),tO=l.n(tR);let t$=e=>{let{features:t=[],builderState:l}=e;return t.length?(0,a.jsx)("ul",{className:tO().list,children:t.map((e,t)=>{var n;if(!(null==e?void 0:e.content))return null;let r="url"===e.iconSource?e.iconSrc:"",i=!!r||!!e.circuitIcon;return(0,a.jsxs)("li",{className:i?tO().featureWithIcon:tO().feature,children:[i&&(0,a.jsx)("span",{className:tO().icon,children:(0,a.jsx)(F.I,{circuitIcon:null!=(n=e.circuitIcon)?n:"",iconSrc:null!=r?r:"",size:"mega",altText:""})}),(0,a.jsx)("span",{className:tO().content,dangerouslySetInnerHTML:{__html:(0,o.VH)(e.content,l)}})]},`feature-${t}`)})}):null};var tD=l(54909),tU=l.n(tD);let tV=e=>{let{title:t,imageUrl:l}=e;return(0,a.jsxs)("div",{className:tU().wrapper,children:[l&&(0,a.jsx)("div",{className:tU().imageWrapper,children:(0,a.jsx)(e_._V,{image:l,alt:t,width:912,height:912,sizes:"304px"})}),(0,a.jsx)(Y.$,{as:"h2",size:"s",className:tU().headline,children:t})]})};var tH=l(67920),tq=l.n(tH);let tW=e=>{let{product:t,builderState:l,billingCycleLabel:n,minHeight:r}=e;return(0,a.jsxs)("div",{className:tq().container,style:{minHeight:r},children:[(0,a.jsx)(tw,{product:t,size:"m",displayInline:!1,builderState:l}),!!(null==n?void 0:n.length)&&(0,a.jsx)("div",{className:tq().billingCycleLabel,children:n})]})};var tG=l(65525),tY=l.n(tG),tK=l(68102);let tZ=e=>{let{productOrPlan:t,productTrackingId:l,ctaButtonText:n,ctaButtonType:r,ctaButtonUrl:i,ctaButtonTrackingId:d,builderState:u}=e,{localeCode:p}=(0,x.N)(),m=r===c.cL.lP.ADD_TO_CART;return m&&(null==t?void 0:t.code)&&n?(0,a.jsx)(T,{productOrPlan:{code:t.code,productId:t.productId},variant:"primary",quantity:1,stretch:!0,className:tY().button,children:(0,o.VH)(n,u)}):!m&&n&&i?(0,a.jsx)(s.Button,{href:i,variant:"primary",stretch:!0,disableAutomaticTracking:!0,className:tY().button,onClick:()=>{(0,tK.Ey)({buttonTrackingId:d,productTrackingId:l,locale:null!=p?p:""})},children:(0,o.VH)(n,u)}):null};var tQ=l(95629),tX=l.n(tQ);let tJ=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?{target:"_blank",rel:"noopener noreferrer"}:{}},t0=e=>{let{productTrackingId:t,secondaryButtonText:l,secondaryButtonType:n,secondaryButtonUrl:r,secondaryButtonTrackingId:i,secondaryButtonForceNewTab:d,builderState:u}=e,{order:p}=(0,y.qu)(),m=(0,b._)();if(!l)return null;if(n===c.cL.aI.MODAL)return(0,a.jsx)("span",{});if(!r)return null;let h=new URL(r,m.origin);(null==p?void 0:p.id)&&h.searchParams.set(y.$W,p.id);let g=tJ(d);return(0,a.jsx)(s.Button,{href:h.toString(),variant:"tertiary",size:"s",className:tX().button,disableAutomaticTracking:!0,onClick:()=>{(0,tK.cl)({buttonTrackingId:i,productTrackingId:t})},...g,children:(0,o.VH)(l,u)})},t1=(0,I.A)(e=>{var t,l,n,r,i,o,s,d;let{item:c,product:u,cardSchemes:p,title:m,pricingMinHeight:h,builderState:g}=e,y=!!c.showCardSchemes&&p.length>0,f=!!(null==(t=c.features)?void 0:t.length),v=!!(null==u?void 0:u.productId)&&!!(null==g?void 0:g.state);return(0,a.jsxs)("div",{className:tj().card,children:[(0,a.jsxs)("div",{className:tj().groupTop,children:[(0,a.jsx)(tV,{title:m,imageUrl:(null==(s=c.product)||null==(o=s.value)||null==(i=o.data)||null==(r=i.image)||null==(n=r.value)||null==(l=n.data)?void 0:l.file)||(null==u||null==(d=u.image)?void 0:d.url)}),v&&(0,a.jsx)(tW,{product:u,builderState:g,billingCycleLabel:c.billingCycleLabel,minHeight:h}),c.usp&&(0,a.jsx)("p",{className:tj().usp,children:c.usp}),(0,a.jsx)(tZ,{productOrPlan:{code:null==u?void 0:u.code,productId:null==u?void 0:u.productId},productTrackingId:null==u?void 0:u.trackingId,ctaButtonText:c.ctaButtonText,ctaButtonType:c.ctaButtonType,ctaButtonUrl:c.ctaButtonUrl,ctaButtonTrackingId:c.ctaButtonTrackingId,builderState:g})]}),f&&(0,a.jsx)("div",{className:tj().group,children:(0,a.jsx)(t$,{features:c.features,builderState:g})}),y&&(0,a.jsx)("div",{className:tj().group,children:(0,a.jsx)(tM,{iconIds:p})}),c.secondaryButtonText&&(0,a.jsx)("div",{className:tj().groupBottom,children:(0,a.jsx)(t0,{productTrackingId:null==u?void 0:u.trackingId,secondaryButtonText:c.secondaryButtonText,secondaryButtonType:c.secondaryButtonType,secondaryButtonUrl:c.secondaryButtonUrl,secondaryButtonTrackingId:c.secondaryButtonTrackingId,secondaryButtonForceNewTab:c.secondaryButtonForceNewTab,builderState:g})})]})},{when:e=>{var t,l;return(null==(l=e.builderState)||null==(t=l.state)?void 0:t.locale)===c.DG.BUILDER_LOCALE_DEFAULT&&!e.product},componentName:"ProductComparisonItem",missingFields:["product"],message:"Product not available in this market. Rendered with placeholder data.",defaultsFn:function(){return{product:{productId:"placeholder-product",name:"Product/plan name",image:{url:tS,altText:"Product/plan name"}
2,price:79,formattedFinalPrice:"$79",hasPromotion:!1,hasInstallments:!1}}},variant:"warning",wrapperClassName:tj().placeholderWrapper}),t2=e=>(0,a.jsx)("li",{className:tj().item,"data-vertical-layout":e.verticalLayout?"true":void 0,children:(0,a.jsx)(t1,{...e})}),t4=e=>{let{productId:t,locale:l}=e;console.warn(`[ProductComparison] Product "${null!=t?t:"(missing reference)"}" not found in market ${l} products list.`)},t5={component:e=>{var t,l,r;let o,s,d,{key:c,...u}=e.attributes||{},{items:p=[],verticalLayout:m,contentfulId:h,builderState:y}=e,{products:f}=(0,g.Q)(),{localeCode:v}=(0,x.N)(),b=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},n=[];return e.forEach(e=>{var r,i,o,s,d,c,u,p,m;let h=null==e||null==(i=e.product)?void 0:i.value,g=null==h||null==(o=h.data)?void 0:o.productId;if(!h||!g){null==(d=a.onMissing)||d.call(a,{productId:void 0,locale:l});return}let y=t[g],f=y&&Object.keys(y).length>0?y:void 0;f||null==(c=a.onMissing)||c.call(a,{productId:g,locale:l});let v=e.title||(null==f?void 0:f.title)||(null==f?void 0:f.name)||(null==(m=e.product)||null==(p=m.value)||null==(u=p.data)?void 0:u.name)||"";v&&n.push({item:e,product:f,cardSchemes:null!=(r=null==(s=h.data)?void 0:s.cardScheme)?r:[],title:v,authoredEntryId:h.id})}),n}(p,f,null!=(t=null!=(l=null==y||null==(r=y.state)?void 0:r.locale)?l:v)?t:"",{onMissing:t4}),_=b.slice(0,4),T=Math.max(b.length-4,0),w=(o=(0,n.useRef)([]),s=0===_.length,(0,n.useEffect)(()=>{i.M$.isEditing&&(o.current=_)}),i.M$.isEditing&&s&&o.current.length>0?o.current:_);T>0&&console.warn(`[ProductComparison] Only first 4 items render; ${T} extra item(s) ignored.`);let N=(d=36,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.some(e=>!!(null==e?void 0:e.hasPromotion))}(w.map(e=>e.product))&&(d+=20),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.some(e=>{var t;return!!(null==e||null==(t=e.billingCycleLabel)?void 0:t.length)})}(w.map(e=>e.item))&&(d+=20),d);return(0,a.jsxs)(a.Fragment,{children:[h&&(0,a.jsx)("div",{id:h}),(0,a.jsx)("ul",{...u,className:tC().list,"data-count":w.length,"data-vertical-layout":m?"true":void 0,children:w.map((e,t)=>(0,a.jsx)(t2,{item:e.item,product:e.product,cardSchemes:e.cardSchemes,title:e.title,pricingMinHeight:N,verticalLayout:m,builderState:y},`product-comparison-item-${e.authoredEntryId}-${t}`))},c)]})},options:{name:"ProductComparison",inputs:[{name:"items",type:"list",localized:!0,copyOnAdd:!1,helperText:"Add 2 to 4 products to compare. Items beyond 4 are ignored at render.",defaultValue:[{ctaButtonType:"link",ctaButtonText:"Buy now",secondaryButtonType:"link",secondaryButtonText:"More info"},{ctaButtonType:"link",ctaButtonText:"Buy now",secondaryButtonType:"link",secondaryButtonText:"More info"}],subFields:[{name:"title",type:"string",localized:!0,helperText:"Falls back to referenced product name when empty"},{name:"product",type:"reference",model:"product"},{name:"billingCycleLabel",type:"string",localized:!0},{name:"usp",type:"string",localized:!0,helperText:"Short USP line shown under price (optional)"},{name:"showCardSchemes",friendlyName:"Show card schemes",type:"boolean",defaultValue:!1},{name:"features",type:"list",copyOnAdd:!1,subFields:[{name:"content",type:"string",localized:!0},{name:"iconSource",friendlyName:"Icon source",type:"enum",enum:[{label:"Circuit UI Icon",value:"circuit"},{label:"Custom URL",value:"url"}],defaultValue:"circuit",helperText:"Pick a Circuit UI icon or link to your own icon file"},{name:"circuitIcon",friendlyName:"Circuit UI Icon",type:"enum",required:!1,enum:(0,o._8)(B.P).map(e=>({label:e.friendlyName,value:e.value})),helperText:"Select an icon from the list, you can see all icons in: https://circuit.sumup.com/?path=/docs/features-icons--docs",showIf:e=>"url"!==e.get("iconSource")},{name:"iconSrc",friendlyName:"Icon URL",type:"url",required:!1,helperText:"Link to an icon file (e.g. SVG or PNG)",showIf:e=>"url"===e.get("iconSource")}]},{name:"ctaButtonText",type:"string",localized:!0},{name:"ctaButtonType",type:"enum",enum:[{label:"Link",value:"link"},{label:"Add To Cart",value:"addToCart"}],defaultValue:"link"},{name:"ctaButtonUrl",type:"url",localized:!0,showIf:e=>
2"link"===e.get("ctaButtonType")},{name:"ctaButtonTrackingId",type:"string",showIf:e=>"link"===e.get("ctaButtonType")},{name:"secondaryButtonText",type:"string",localized:!0,defaultValue:"More info"},{name:"secondaryButtonType",type:"enum",enum:[{label:"Link",value:"link"},{label:"Modal",value:"modal"}],defaultValue:"link"},{name:"secondaryButtonUrl",type:"url",localized:!0,showIf:e=>"link"===e.get("secondaryButtonType")},{name:"secondaryButtonForceNewTab",type:"boolean",defaultValue:!1,showIf:e=>"link"===e.get("secondaryButtonType")},{name:"secondaryButtonTrackingId",type:"string"}]},{name:"verticalLayout",type:"boolean",defaultValue:!1,helperText:"Stack cards vertically on mobile"},{name:"contentfulId",type:"string",hideFromUI:!0,helperText:"Contentful ID for the ProductComparison section"}],noWrap:!0}};var t3=l(41522),t9=l(93466),t6=l.n(t9);function t8(e){let{icon:t,label:l}=e;return l?(0,a.jsxs)("div",{className:t6().wrapper,children:[(0,a.jsx)("span",{children:t}),(0,a.jsx)(eP.n,{as:"div",size:"s",children:l})]}):null}var t7=l(10486),le=l.n(t7);let lt={alelo:{name:"alelo",size:"24"},amex:{name:"american_express",size:"24"},applePay:{name:"apple_pay",size:"24"},bancoEstado:{name:"banco_estado",size:"24"},bancontact:{name:"bancontact",size:"32"},boleto:{name:"boleto",size:"24"},dankort:{name:"dankort",size:"24"},diners:{name:"diners_club",size:"24"},discover:{name:"discover",size:"24"},ec:{name:"ec",size:"24"},elo:{name:"elo",size:"24"},eftpos:{name:"eftpos",size:"24"},fasterPayments:{name:"faster_payments",size:"24"},girocard:{name:"girocard",size:"24"},googlePay:{name:"google_pay",size:"24"},hiper:{name:"hiper",size:"24"},hipercard:{name:"hipercard",size:"24"},maestro:{name:"maestro",size:"24"},mastercard:{name:"mastercard",size:"24"},nfc:{name:"nfc_payment",size:"24"},pix:{name:"pix_full",size:"24"},pluxee:{name:"pluxee",size:"32"},postFinance:{name:"post_finance",size:"24"},redCompra:{name:"red_compra",size:"24"},samsungPay:{name:"samsung_pay",size:"24"},sepa:{name:"sepa",size:"24"},sodexo:{name:"sodexo",size:"24"},ticket:{name:"ticket",size:"24"},unionPay:{name:"union_pay",size:"24"},visa:{name:"visa",size:"24"},visaElectron:{name:"visa_electron",size:"24"},vpay:{name:"vpay",size:"24"},vr:{name:"vr",size:"24"},jcb:{name:"jcb",size:"24"},conecs:{name:"conecs",size:"24"},swile:{name:"swile",size:"24"},interac:{name:"interac",size:"32"},twint:{name:"twint",size:"24"}};function ll(e){let{iconId:t=""}=e,{commonLabels:l}=(0,m.Z)(),n=lt[t];if(!n)return null;let r=(null==l?void 0:l.paymentMethod)||"",i=`${r} ${t}`;return(0,a.jsxs)("div",{className:le()["icon-wrapper"],children:["24"===n.size?(0,a.jsx)(tP.g,{name:n.name,alt:"",className:le().icon}):(0,a.jsx)(tz.I,{name:n.name,alt:"",className:le().icon}),(0,a.jsx)("span",{className:tA.H.hideVisually,children:i})]})}function la(e){let{ids:t}=e;return(null==t?void 0:t.length)?(0,a.jsx)("div",{className:le().wrapper,children:t.map(e=>(0,a.jsx)(ll,{iconId:e},e))}):null}var ln=l(17),lr=l(39573),li=l(55119),lo=l(63393),ls=l.n(lo);function ld(e){let{label:t,content:l}=e,{isOpen:n,getButtonProps:r,getContentProps:i}=(0,ln.u)({initialOpen:!1,duration:350});return l?(0,a.jsxs)("div",{className:ls().wrapper,children:[(0,a.jsx)("button",{type:"button",className:ls().button,...r(),children:(0,a.jsxs)(eP.n,{as:"div",className:ls()["button-body"],children:[t&&(0,a.jsx)("span",{children:t}),(0,a.jsx)("span",{children:n?(0,a.jsx)(lr.H,{}):(0,a.jsx)(li.F,{})})]})}),l&&(0,a.jsx)(eP.n,{as:"div",className:ls().content,...i(),children:l})]}):null}var lc=l(68249),lu=l(87294),lp=l.n(lu);function lm(e){let{label:t,modalContent:l,product:n,isPlanModal:r=!1,fromShopCatalog:i=!1}=e,{setModal:o}=(0,P.h)(),{localeCode:s="",currencyCode:d=""}=(0,x.N)(),{shopLabels:c}=(0,m.Z)();if(!l)return null;let u=(0,a.jsx)("div",{className:lp()["modal-children-wrapper"],"data-testid":"learn-more-modal-modal@configurator",children:(0,a.jsx)(en.W,{text:l,className:lp()["modal-content-wrapper"]})}),p=r?u:(()=>{var e,t,r;if(!n)return u;let{hasPromotion:i,price:o,promotion:p,formattedFinalPrice:m}=n,h=null!=(e=null==p?void 0:p.price)?e:0,g=null!=(t=n.vatPrice)?t:Number(null!=o?o:0),y=null!=(r=n.vatPromoPrice)?r:Number(h),f=t3.pY.formatCurrency(g,d,s),v=t3.pY.formatCurrency(y,d,s);return(0,a.jsxs)("div",{className:lp()["modal-children-wrapper"],"data-testid":"learn-more-modal-modal@configurator",children:[m&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h2",{className:lp().price,children:i?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:lp()["discounted-price"],children:t3.pY.formatCurrency(h,d,s)}),(0,a.jsx)("span",{className:lp()["strike-through"],children:t3.pY.formatCurrency(null!=o?o:0,d,s)})]}):t3.pY.formatCurrency(null!=o?o:0,d,s)}),(0,a.jsxs)("p",{className:lp()["price-with-vat"],children:[i?v:f," ",null==c?void 0:c.vatIncludedAbbreviated]})]}),(0,a.jsx)("div",{className:lp()["shipping-cost"],children:null==c?void 0:c.shippingCost}),(0,a.jsx)("div",{children:null==c?void 0:c.deliveryEstimate}),(0,a.jsx)("div",{className:lp()["money-back-guarantee"],children:null==c?void 0:c.moneyBackGuarantee}),(0,a.jsx)(en.W,{text:l,className:lp()["modal-content-wrapper"]})]})})(),h=()=>{let e=n?n.name:t;(0,z.BI)({event:"button clicked",business_flow:"product selection",business_feature:"product detail",button_description:"more_product_information",modal_name:"learn_more_modal",modal_screen_name:e}),o({children:p,variant:"contextual",closeButtonLabel:"Close",style:{maxWidth:"640px"}})};return i?(0,a.jsx)(lc.M,{onClick:h,className:lp()["shop-catalog-label"],"data-testid":"learn-more-modal-anchor@shop-catalog",as:"button",children:t}):(0,a.jsx)("div",{className:lp().wrapper,children:(0,a.jsx)(lc.M,{onClick:h,size:"s",as:"button","data-testid":"learn-more-modal-anchor@configurator",children:t})})}var lh=l(72255),lg=l(19029),ly=l.n(lg);function lf(e){var t,l,n;let{isSelected:r=!1,plan:i,onClick:o,disabled:s=!1}=e,{shopLabels:d}=(0,m.Z)(),c=null==i||null==(n=i.plan)||null==(l=n.value)?void 0:l.data,u="monthly"===c.recurringCostFrequency?d.monthly:d.yearly;return(0,a.jsxs)("button",{type:"button",className:(0,K.$)(ly().wrapper,r&&ly()["is-selected"],s&&ly().disabled),onClick:o,disabled:s,"data-testid":"plan-card@configurator",children:[(null==i?void 0:i.showBadge)&&(0,a.jsx)("span",{className:(0,K.$)(ly().badge,ly()["badge-default"]),children:(0,a.jsx)(ty.E,{variant:"promo",children:i.badgeLabel})}),(0,a.jsxs)("div",{children:[(null==i?void 0:i.planCardHeadings)?(0,a.jsx)(en.W,{text:i.planCardHeadings,className:ly().headings}):(0,a.jsx)(Y.$,{as:"h4",size:"s",children:null!=(t=c.planName)?t:c.name}),(null==i?void 0:i.sellingPoint)&&(0,a.jsx)(t8,{icon:(0,a.jsx)(lh.R,{className:ly()["icon-placeholder"]}),label:(0,a.jsx)(en.W,{text:i.sellingPoint})})]}),(0,a.jsxs)("div",{children:[void 0!==(null==i?void 0:i.transactionFee)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(Y.$,{size:"s",as:"h4",style:{color:"var(--cui-fg-normal)"},children:[i.transactionFee,"%"]}),(null==i?void 0:i.transactionFeeLabel)&&(0,a.jsx)(eP.n,{size:"s",className:ly()["fee-label"],children:i.transactionFeeLabel})]}),void 0!==c.recurringCostFrequency&&(0,a.jsx)(Y.$,{size:"s",as:"h4",className:ly()["cost-value"],children:c.formattedRecurringCost}),(0,a.jsx)(eP.n,{size:"s",className:ly()["cost-label"],children:u})]})]})}var lv=l(15763),lb=l.n(lv);function lx(e){var t,l,n;let{isSelected:r=!1,productId:i,onClick:o,plan:s,afterVATLabel:d="",disabled:c=!1}=e,{products:u}=(0,g.Q)(),{localeCode:p="",currencyCode:m=""}=(0,x.N)(),h=i?u[i]:void 0;if(!h)return null;let{image:y,name:f,hasPromotion:v,price:b,promotion:_}=h,T=v,w=null!=(t=null==_?void 0:_.price)?t:0,N=null==s?void 0:s.hardwareDiscountPercentage;N&&N>0&&(T=!0,w=Number(null!=b?b:0)-Number(null!=b?b:0)*(N/100));let I=null!=(l=h.vatPrice)?l:Number(null!=b?b:0),C=null!=(n=h.vatPromoPrice)?n:Number(w);return(0,a.jsxs)("button",{type:"button",className:(0,K.$)(lb().wrapper,r&&lb()["is-selected"],c&&lb().disabled),onClick:o,"data-testid":"product-card@configurator",children:[(0,a.jsx)("div",{className:lb()["image-wrapper"],children:(null==y?void 0:y.url)&&(0,a.jsx)(e_.p$,{src:y.url,width:90,height:90,sizes:"90px",alt:y.altText||f,className:lb().image})}),(0,a.jsxs)("div",{className:lb()["content-wrapper"],children:[(0,a.jsx)(eP.n,{children:f}),(0,a.jsxs)("div",{children:[(0,a.jsx)(Y.$,{size:"s",as:"h3",children:T?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:lb()["discounted-price"],children:t3.pY.formatCurrency(w,m,p)}),(0,a.jsx)("span",{className:lb()["strike-through"],children:t3.pY.formatCurrency(null!=b?b:0,m,p)})]}):t3.pY.formatCurrency(null!=b?b:0,m,p)}),(0,a.jsxs)(eP.n,{size:"s",color:"subtle",className:lb()["vat-text"],children:[T?t3.pY.formatCurrency(C,m,p):t3.pY.formatCurrency(I,m,p)," ",d]})]})]})]})}var l_=l(34397);function lT(e){var t;let l=null==e?void 0:e.value;return(null==l||null==(t=l.data)?void 0:t.file)?{src:l.data.file,alt:l.data.altText||""}:null}var lw=l(80432),lN=l.n(lw);function lI(e){let{images:t=[]}=e,l=t.map(e=>{let t=lT(e.image);return t?{...t,key:t.src}:null}).filter(e=>
2null!==e),r=l.length,[i,o]=(0,n.useState)(0);return l.length?(0,a.jsx)(l_.d.Container,{style:{gridArea:"carousel",display:"grid"},children:(0,a.jsxs)(l_.d.Slides,{children:[(0,a.jsx)(l_.d.Controls,{className:lN().controls,children:(0,a.jsxs)(l_.d.ButtonList,{children:[(0,a.jsx)(l_.d.PrevButton,{label:"Previous",onClick:()=>o(0===i?r-1:i-1)}),(0,a.jsx)(l_.d.NextButton,{label:"Next",onClick:()=>o(i===r-1?0:i+1)})]})}),l.map((e,t)=>{let{src:l,alt:n,key:r}=e;return(0,a.jsx)(l_.d.Slide,{index:t,step:i,style:{opacity:+(i===t),transition:"opacity .3s ease-in",zIndex:+(i===t),borderRadius:"var(--cui-border-radius-mega)",overflow:"hidden",backgroundColor:"var(--cui-bg-subtle)"},children:(0,a.jsx)(e_._V,{image:l,width:618,height:618,alt:n,priority:0===t})},r)})]})}):null}var lC=l(47429),lS=l.n(lC);function lk(e){let{sellingPoints:t=[]}=e,l=ea();return(null==t?void 0:t.length)?(0,a.jsx)("div",{className:lS().container,children:t.map((e,t)=>{let{featureName:n="",description:r}=e,i=lT(l&&e.imageMobile?e.imageMobile:e.image);return(0,a.jsxs)("div",{className:lS()["selling-point"],children:[i&&(0,a.jsx)(e_.p$,{src:i.src,alt:i.alt,width:48,height:48,sizes:"48px","data-testid":"selling-point-icon",className:lS().icon}),(0,a.jsx)(eP.n,{as:"strong",className:lS()["feature-name"],children:n}),r&&(0,a.jsx)(en.W,{text:r,className:lS().description})]},`${e.featureName}-${t}`)})}):null}var lj=l(12660),lL=l.n(lj);let lA="light",lP="CAROUSEL",lz={ALL:"All languages",SAME_AS_PAGE:"Same language as the page"},lE={[lP]:{width:"100%",height:"160px",mobileHeight:"320px",theme:lA,id:"53aa8912dec7e10d38f59f36"},HORIZONTAL:{width:"100%",height:"28px",mobileHeight:"28px",theme:lA,id:"5406e65db0d04a09e042d5fc"},"MINI CAROUSEL":{width:"100%",height:"350px",mobileHeight:"350px",theme:lA,id:"539ad0ffdec7e10e686debd7",allowFilterByStars:!1},DROPDOWN:{width:"100%",height:"30px",mobileHeight:"30px",theme:lA,id:"5418052cfbfb950d88702476"}},lB=new Map;var lF=l(74158),lM=l.n(lF);let lR={scriptUrl:"https://widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js",templates:lE,availableLanguages:["bg","cs","da","de","el","en","es","et","fi","fr","hr","hu","it","lt","lv","nb","nl","pl","pt","ro","sk","sl","sv"],reviewLanguages:lz,defaults:{locale:"en-GB",template:lP,theme:lA,businessId:"5c0f854e332a53000110717c",stars:"1,2,3,4,5",reviewLanguages:lz.SAME_AS_PAGE}},lO=e=>{let t,{template:l=lR.defaults.template,stars:r=lR.defaults.stars,reviewLanguages:i=lR.defaults.reviewLanguages,filterByTag:o,locale:s=lR.defaults.locale}=e,d=(0,n.useRef)(),c=lE[l],u=s||lR.defaults.locale,p=u.slice(0,2),m=i===lR.reviewLanguages.SAME_AS_PAGE?[p]:lR.availableLanguages;return(!function(e,t){let[l,a]=(0,n.useState)(()=>{var l;return!e||(null==t?void 0:t.shouldPreventLoad)?"idle":null!=(l=lB.get(e))?l:"loading"});(0,n.useEffect)(()=>{var l,n;let r,i;if(!e||(null==t?void 0:t.shouldPreventLoad))return;let o=lB.get(e);if("ready"===o||"error"===o)return void a(o);let s=(i=null==(r=document.querySelector(`script[src="${e}"]`))?void 0:r.getAttribute("data-status"),{node:r,status:i}),d=s.node;if(d)a(null!=(l=null!=(n=s.status)?n:o)?l:"loading");else{(d=document.createElement("script")).src=e,d.async=!0,(null==t?void 0:t.id)&&(d.id=t.id),d.setAttribute("data-status","loading"),document.body.appendChild(d);let l=e=>{let t="load"===e.type?"ready":"error";null==d||d.setAttribute("data-status",t)};d.addEventListener("load",l),d.addEventListener("error",l)}let c=t=>{let l="load"===t.type?"ready":"error";a(l),lB.set(e,l)};return d.addEventListener("load",c),d.addEventListener("error",c),()=>{d&&(d.removeEventListener("load",c),d.removeEventListener("error",c)),d&&(null==t?void 0:t.removeOnUnmount)&&(d.remove(),lB.delete(e))}},[e,null==t?void 0:t.shouldPreventLoad,null==t?void 0:t.removeOnUnmount,null==t?void 0:t.id])}(lR.scriptUrl,{}),(0,n.useEffect)(()=>{window.Trustpilot&&(e=>{try{window.Trustpilot.loadFromElement(e.current,!0)}catch(e){console.error(e)}})(d)},[d,l,r,i,o,s]),!c&&lR.defaults.businessId)?null:(0,a.jsx)("div",{style:(t=null==c?void 0:c.height,{"--trustpilot-height-mobile":null==c?void 0:c.mobileHeight,"--trustpilot-height-desktop":t}),className:lM()["trustpilot-container"],"data-testid":"section-trustpilot","data-elbcontext":"component:trustpilot",children:(0,a.jsx)("div",{className:lM()["trustpilot-widget-container"],children:(0,a.jsx)("div",{ref:d,"data-locale":u,"data-template-id":c.id,"data-businessunit-id":lR.defaults.businessId,"data-review-languages":m,"data-style-width":c.width,"data-theme":c.theme,"data-stars":!1===c.allowFilterByStars?void 0:r||lR.defaults.stars,"data-tags":o,className:"trustpilot-widget","data-testid":"trustpilot-widget"})})})},l$=[{name:"template",type:"enum",defaultValue:"CAROUSEL",localized:!0,enum:[{label:"Carousel",value:"CAROUSEL"},{label:"Horizontal",value:"HORIZONTAL"},{label:"Mini Carousel",value:"MINI CAROUSEL"},{label:"Dropdown",value:"DROPDOWN"}]},{name:"stars",type:"enum",defaultValue:"1,2,3,4,5",enum:[{label:"1 star or more",value:"1,2,3,4,5"},{label:"2 stars or more",value:"2,3,4,5"},{label:"3 stars or more",value:"3,4,5"},{label:"4 stars or more",value:"4,5"},{label:"5",value:"5"}
2],localized:!0},{name:"reviewLanguages",type:"enum",defaultValue:"SAME_AS_PAGE",localized:!0,enum:[{label:"All languages",value:"ALL"},{label:"Same language as the page",value:"SAME_AS_PAGE"}]},{name:"filterByTag",type:"string",defaultValue:"",localized:!0},{name:"locale",type:"string",defaultValue:"en-GB",localized:!0,helpText:"The locale of the reviews - Temporary while we wait for localisation support in premium version",enum:[{label:"Bulgarian (Bulgaria)",value:"bg-BG"},{label:"Czech (Czech Republic)",value:"cs-CZ"},{label:"Danish (Denmark)",value:"da-DK"},{label:"German (Germany)",value:"de-DE"},{label:"Greek (Greece)",value:"el-GR"},{label:"English (United Kingdom)",value:"en-GB"},{label:"English (United States)",value:"en-US"},{label:"English (Australia)",value:"en-AU"},{label:"English (New Zealand)",value:"en-NZ"},{label:"English (Canada)",value:"en-CA"},{label:"Spanish (Spain)",value:"es-ES"},{label:"Estonian (Estonia)",value:"et-EE"},{label:"Finnish (Finland)",value:"fi-FI"},{label:"French (France)",value:"fr-FR"},{label:"Croatian (Croatia)",value:"hr-HR"},{label:"Hungarian (Hungary)",value:"hu-HU"},{label:"Italian (Italy)",value:"it-IT"},{label:"Lithuanian (Lithuania)",value:"lt-LT"},{label:"Latvian (Latvia)",value:"lv-LV"},{label:"Norwegian Bokm\xe5l (Norway)",value:"nb-NO"},{label:"Dutch (Netherlands)",value:"nl-NL"},{label:"Polish (Poland)",value:"pl-PL"},{label:"Portuguese (Portugal)",value:"pt-PT"},{label:"Romanian (Romania)",value:"ro-RO"},{label:"Slovak (Slovakia)",value:"sk-SK"},{label:"Slovenian (Slovenia)",value:"sl-SI"},{label:"Swedish (Sweden)",value:"sv-SE"}]}],lD={component:e=>{var t,l,r,i,o,s,d,c,u,v,T,w,N,I,C,S;let{defaultProduct:k,productChoiceLabel:j,productModalLabel:L,productModalContent:A,planChoiceLabel:P,planModalLabel:z,planModalContent:E,ctaLabel:B,trustpilot:F,productVariants:M=[],defaultPlan:R,planVariants:O=[],imageGallery:$=[],sellingPoints:D=[],moreDetails:U}=e,{plans:V}=(0,_.A)(),{products:H}=(0,g.Q)(),{query:q={}}=(0,b._)(),{setCartOpen:W}=(0,h._$)(),{localeCode:G="",currencyCode:Z="",shopIntegration:Q}=(0,x.N)(),{shopLabels:X}=(0,m.Z)(),J=(null==q?void 0:q.defaultProductId)||(null==k||null==(v=k.value)||null==(u=v.data)?void 0:u.productId),ee=J?H[J]:void 0,et=e=>{if(e)return V.find(t=>t.planId===e)},el=et(null==R||null==(w=R.value)||null==(T=w.data)?void 0:T.planId),[ea,er]=(0,n.useState)(ee),[ei,eo]=(0,n.useState)(el);(0,n.useEffect)(()=>{er(ee)},[ee]),(0,n.useEffect)(()=>{eo(el)},[el]);let{addToCart:es,status:ed,order:ec}=(0,y.qu)(),eu=(null==ea?void 0:ea.code)?(0,f.c3)(ec,ea.code):void 0,ep=null==eu?void 0:eu.quantity,em=(null==ei?void 0:ei.code)?(0,f.c3)(ec,ei.code):void 0,eh=(0,n.useMemo)(()=>(null!=U?U:[]).filter(e=>e.content),[U]),eg=M.find(e=>{var t,l;return e.product.value.data.productId!==(null==k||null==(l=k.value)||null==(t=l.data)?void 0:t.productId)}),ey=null==eg||null==(C=eg.product)||null==(I=C.value)||null==(N=I.data)?void 0:N.productId,ef=ey&&H[ey],ev=(0,n.useRef)(null),eb=eK(ev,{threshold:1}),ex=(0,n.useMemo)(()=>{if(ev.current&&eb){var e;let{boundingClientRect:t,rootBounds:l}=eb;return eb.isIntersecting?t.bottom<0||t.bottom>=(null!=(e=null==l?void 0:l.bottom)?e:0)-t.height-16:t.bottom>t.height}return!1},[eb]);if(!ee||!(null==ea?void 0:ea.productId))return null;let e_=!!ea.hasPromotion,eT=null!=(t=null==(S=ea.promotion)?void 0:S.price)?t:0,ew=null!=(l=ea.price)?l:0,eN=null==ei?void 0:ei.hardwareDiscountPercentage;eN&&eN>0&&(e_=!0,eT=Number(ew)-Number(ew)*(eN/100));let eI=null!=(r=ea.vatPrice)?r:Number(ew),eC=null!=(i=ea.vatPromoPrice)?i:Number(eT),eS=async()=>{if(!(null==ea?void 0:ea.code)||!(null==ei?void 0:ei.planId))return;let e=[{skuCode:ea.code,quantity:1},{planId:ei.planId,quantity:1,skuCode:ei.code}],t=await (null==es?void 0:es(e));(null==t?void 0:t.includes(ea.code))&&W(!0)};return(0,a.jsxs)("div",{className:lL().container,children:[(0,a.jsxs)("div",{className:lL()["sticky-left-container"],children:[(0,a.jsx)(lI,{images:$}),F&&(0,a.jsx)("div",{className:lL()["trustpilot-wrapper"],children:(0,a.jsx)(lO,{template:null!=(o=F.template)?o:"",stars:null!=(s=F.stars)?s:"",reviewLanguages:null!=(d=F.reviewLanguages)?d:"",f
2ilterByTag:null!=(c=F.filterByTag)?c:"",locale:G})})]}),(0,a.jsxs)("div",{className:lL()["content-container"],children:[(0,a.jsx)(Y.$,{as:"h2",className:lL().heading,children:ea.title||ea.name}),(0,a.jsxs)("div",{className:lL()["pricing-info"],children:[(0,a.jsx)(Y.$,{size:"m",as:"h3",children:e_?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:lL()["discounted-price"],children:t3.pY.formatCurrency(eT,Z,G)}),(0,a.jsx)("span",{className:lL()["strike-through"],children:t3.pY.formatCurrency(ew,Z,G)})]}):t3.pY.formatCurrency(ew,Z,G)}),(0,a.jsxs)(eP.n,{size:"s",className:lL()["vat-text"],children:[e_?t3.pY.formatCurrency(eC,Z,G):t3.pY.formatCurrency(eI,Z,G)," ",null==X?void 0:X.vatIncludedAbbreviated]}),(0,a.jsxs)("div",{className:lL()["shipping-and-guarantee"],children:[(0,a.jsx)("div",{className:lL()["shipping-cost"],children:null==X?void 0:X.shippingCost}),(0,a.jsx)("div",{className:lL()["device-guarantee"],children:null==X?void 0:X.moneyBackGuarantee})]})]}),ea.description&&(0,a.jsx)(eP.n,{as:"div",className:lL().body,children:(0,a.jsx)(en.W,{text:ea.description})}),(0,a.jsx)(la,{ids:ea.cardSchemes}),j&&(0,a.jsx)(Y.$,{as:"h3",size:"s",className:lL()["heading-with-margin-bottom"],children:j}),M.length?(0,a.jsx)("div",{className:lL().row,children:M.map(e=>{var t,l,n,r,i,o,s,d,c,u,p,m;return(0,a.jsx)("div",{className:lL().column,children:(0,a.jsx)(lx,{productId:null==(n=e.product)||null==(l=n.value)||null==(t=l.data)?void 0:t.productId,isSelected:(null==(o=e.product)||null==(i=o.value)||null==(r=i.data)?void 0:r.productId)===ea.productId,onClick:()=>{var t,l,a;return er(H[null==(a=e.product)||null==(l=a.value)||null==(t=l.data)?void 0:t.productId])},plan:ei,afterVATLabel:null==X?void 0:X.vatIncludedAbbreviated,disabled:!!(0,f.c3)(ec,null==(c=e.product)||null==(d=c.value)||null==(s=d.data)?void 0:s.code)})},null==(m=e.product)||null==(p=m.value)||null==(u=p.data)?void 0:u.productId)})}):null,L&&(0,a.jsx)(lm,{product:ef||ee,modalContent:A,label:L}),P&&!!O.length&&(0,a.jsx)(Y.$,{as:"h3",size:"s",className:lL()["heading-with-margin-bottom"],children:P}),O.length?(0,a.jsx)("div",{className:lL().row,children:O.map(e=>{var t,l,n,r,i,o,s,d,c;return(0,a.jsx)("div",{className:lL().column,children:(0,a.jsx)(lf,{isSelected:(null==(n=e.plan)||null==(l=n.value)||null==(t=l.data)?void 0:t.planId)===(null==ei?void 0:ei.planId),plan:e,onClick:()=>{var t,l,a;return eo(et(null==(a=e.plan)||null==(l=a.value)||null==(t=l.data)?void 0:t.planId))},disabled:!!(0,f.c3)(ec,null==(o=e.plan)||null==(i=o.value)||null==(r=i.data)?void 0:r.code)})},null==(c=e.plan)||null==(d=c.value)||null==(s=d.data)?void 0:s.planId)})}):null,z&&!!O.length&&(0,a.jsx)(lm,{label:z,modalContent:E,isPlanModal:!0}),(0,a.jsx)("div",{ref:ev,className:(0,K.$)(lL()["add-to-cart-container"],1===M.length&&lL()["has-only-one-product"]),children:(0,a.jsx)("div",{className:(0,K.$)(lL()["sticky-add-to-cart"],ex&&lL()["is-sticky"]),"data-selector":"sticky-add-to-cart",children:!!Q&&(0,a.jsx)(p.$,{className:lL()["full-width-button"],variant:"primary",isLoading:"adding_item"===ed||"fetching"===ed,loadingLabel:(null==X?void 0:X.loadingLabel)||"loading...",onClick:eS,disabled:!!(eu&&em)||(null!=ep?ep:0)>=(0,y.ub)(null==ea?void 0:ea.hasPromotion),children:B})})}),(0,a.jsx)(lk,{sellingPoints:D}),eh.map((e,t)=>(0,a.jsx)(ld,{label:(0,a.jsx)("p",{children:e.title}),content:(0,a.jsx)(en.W,{text:e.content})},`${e.title}-${t}`||`more-details-${t}`))]})]})},options:{name:"ProductConfigurator",inputs:[{name:"ctaLabel",type:"string",localized:!0},{name:"defaultProduct",type:"reference",model:"product"},{name:"productChoiceLabel",type:"string",localized:!0},{name:"productVariants",type:"list",subFields:[{name:"product",type:"reference",model:"product"}]},{name:"productModalLabel",type:"string",localized:!0},{name:"productModalContent",type:"richText",localized:!0},{name:"defaultPlan",type:"reference",model:"plan"},{name:"planChoiceLabel",type:"string",localized:!0},{name:"planVariants",type:"list",subFields:[{name:"plan",type:"reference",model:"plan"},{name:"showBadge",type:"boolean",defaultValue:!1},{name:"badgeLabel",type:"string",localized:!0},{name:"planCardHeadings",type:"richText",localized:!0},{name:"sellingPoint",type:"richText",localized:!0},{name:"transactionFee",type:"number",defaultValue:0},{name:"transactionFeeLabel",type:"string",localized:!0},{name:"monthlyCostLabel",type:"string",localized:!0}]},{name:"planModalLabel",type:"string",localized:!0},{name:"planModalContent",type:"richText",localized:!0},{name:"imageGallery",type:"list",localized:!0,subFields:[{name:"image",type:"reference",model:"asset"}]},{name:"sellingPoints",type:"list",localized:!0,subFields:[{name:"featureName",type:"string",localized:!0},{name:"description",type:"richText",localized:!0},{name:"image",type:"reference",model:"asset"},{name:"imageMobile",type:"reference",model:"asset"}]},{name:"moreDetails",type:"list",localized:!0,subFields:[{name:"title",type:"string",localized:!0},{name:"content",type:"richText",localized:!0}]},{name:"trustpilot",type:"object",subFields:l$},{name:"contentfulId",type:"string",hideFromUI:!0,helperText:"Contentful ID for the ProductConfigurator section"}],noWrap:!0}};var lU=l(66827),lV=l(55907),lH=l.n(lV),lq=l(28266),lW=l(40882),lG=l.n(lW);let lY=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.ZD;return Array(e>=t?0:t-e).fill(0).map((e,t)=>({label:String(t+1),value:t+1}))},lK=e=>{var t,l;let{ctaButtonType:r,ctaButtonText:i,ctaButtonUrl:d,ctaButtonTrackingId:u,secondaryButtonText:p,secondaryButtonType:m,secondaryButtonUrl:h,secondaryButtonTrackingId:g,productOrPlan:f,quantityInCart:v,builderState:_,index:w}
2=e,[N,I]=(0,n.useState)(y.hi),{order:C}=(0,y.qu)(),S=(0,b._)(),{localeCode:k}=(0,x.N)(),j=(null==f?void 0:f.planId)||(null==f?void 0:f.productId),L=w>=0?`${j}-${w}`:j;(0,n.useEffect)(()=>{I(y.hi)},[v]);let A=null==f?void 0:f.computedProduct,P=(null==A?void 0:A.kind)==="bundle"&&!!(null==A||null==(t=A.subscriptions)?void 0:t.length),z=r===c.cL.lP.ADD_TO_CART,E=!!(null==f?void 0:f.productId),B=!!E&&y.ML.includes(null==f?void 0:f.code),F=null==C||null==(l=C.lineItems)?void 0:l.some(e=>y.ML.includes(e.skuCode)),M=(0,y.ub)(!!E&&(null==f?void 0:f.hasPromotion)),R=v>=M,O=lY(v,M),$=new URL(h,S.origin);(null==C?void 0:C.id)&&$.searchParams.set(y.$W,C.id);let D=m===c.cL.aI.MODAL;return(0,a.jsxs)("div",{className:lG()["action-area-wrapper"],children:[z&&(null==f?void 0:f.code)&&(0,a.jsxs)("div",{className:lG()["action-area-cta-wrapper"],children:[E&&!P?(0,a.jsx)(lq.l,{id:L,hideLabel:!0,label:"quantity","aria-label":"Change product quantity",options:O,disabled:R,onChange:e=>{I(parseInt(e.target.value,10))},value:N,"data-testid":"quantity-select@shop-catalog"}):null,i&&(0,a.jsx)(T,{productOrPlan:{code:f.code,productId:null==f?void 0:f.productId,planId:null==f?void 0:f.planId},variant:"primary",quantity:N,children:(0,o.VH)(i,_)})]}),!z&&i&&d&&(0,a.jsx)(s.Button,{href:d,variant:"primary",stretch:!0,disabled:B&&F,disableAutomaticTracking:!0,onClick:()=>{(0,tK.Ey)({buttonTrackingId:u,productTrackingId:f.trackingId,locale:k})},"data-testid":"cta-button@shop-catalog",children:(0,o.VH)(i,_)}),!D&&p&&h&&(0,a.jsx)(s.Button,{href:$.toString(),variant:"tertiary",stretch:!0,"data-testid":"secondary-button@shop-catalog",disableAutomaticTracking:!0,onClick:()=>{(0,tK.cl)({buttonTrackingId:g,productTrackingId:f.trackingId})},children:(0,o.VH)(p,_)}),D&&p&&(0,a.jsx)("span",{})]})};var lZ=l(40182),lQ=l.n(lZ);function lX(e){var t,l,n,r;let{productOrPlan:i,isFreeProduct:o,hasPromo:s,promoPrice:d,price:c,currencyCode:u="EUR",locale:p="en-US",recurrenceCostLabel:h=""}=e,{shopLabels:g}=(0,m.Z)(),y=null!=(t=i.vatPrice)?t:Number(c),f=null!=(l=i.vatPromoPrice)?l:Number(d),v=s?t3.pY.formatCurrency(f,u,p):t3.pY.formatCurrency(y,u,p),{freeLabel:b,fullPrice:x,vatIncludedAbbreviated:_,withoutInstallmentsFee:T}=(0,m.Z)().shopLabels,w=`${v} ${_}`,{hasInstallments:N=!1,installmentsPrice:I=null,installments:C=0}=i||{},S=!o&&N&&C>1,k=s&&!o?d:c,j=null==i?void 0:i.computedProduct,L=(null==j?void 0:j.kind)==="bundle"&&!!(null==j||null==(n=j.subscriptions)?void 0:n.length);return(0,a.jsxs)("div",{className:lQ().productPriceWrapper,children:[(0,a.jsxs)("div",{className:(0,K.$)(lQ().productPriceContainer),children:[S&&s&&I&&(0,a.jsx)(eP.n,{color:"subtle",className:(0,K.$)(lQ().strikethrough,lQ().strikethroughInstallments),children:`${C}x ${t3.pY.formatCurrency(I,u,p)}`}),(0,a.jsxs)("div",{className:lQ().productPrice,children:[S&&(0,a.jsx)(eP.n,{className:lQ().priceComplement,children:`${C}x`}),(0,a.jsxs)(Y.$,{size:"s",as:"h3",className:(0,K.$)(lQ().price,o&&lQ().free),children:[function(e,t,l,a,n,r,i,o,s,d){if(null==e?void 0:e.planId)return`${e.formattedRecurringCost}${d}`;let c=a?n:r;if(s){let{installmentsPrice:t,promotion:l}=e;c=a&&(null==l?void 0:l.installmentsPrice)?l.installmentsPrice:t}return e&&t?l:t3.pY.formatCurrency(c,i,o)}(i,o,b,s,d,c,u,p,S,h),i&&s&&!S&&(0,a.jsx)(eP.n,{className:(0,K.$)(lQ().strikethrough),children:t3.pY.formatCurrency(c,u,p)})]}),S&&(0,a.jsx)(eP.n,{className:lQ().priceComplement,children:T})]}),S&&(0,a.jsx)(eP.n,{color:"subtle",className:lQ().priceComplement,children:`${x} ${t3.pY.formatCurrency(k,u,p)}`})]}),!(null==i?void 0:i.planId)&&!(null==i?void 0:i.hasInstallments)&&!o&&(0,a.jsx)(eP.n,{size:"s",color:"subtle",className:lQ().vatText,children:w}),L&&(null==j||null==(r=j.subscriptions)?void 0:r.map(e=>{let{formattedPrice:t,formattedPriceWithDiscount:l}=e,n=g[e.frequency];return(0,a.jsxs)("div",{className:lQ().bundleSubscriptionLine,children:[l?(0,a.jsxs)(eP.n,{size:"m",weight:"bold",as:"span",children:[l,n]}):(0,a.jsxs)(eP.n,{size:"m",weight:"bold",as:"span",children:[t,n]}),l&&(0,a.jsxs)(eP.n,{className:(0,K.$)(lQ().strikethrough),as:"span",size:"m",weight:"regular",color:"subtle",children:[t,n]})]},e.planId)}))]})}var lJ=l(21510),l0=l.n(lJ);function l1(e){var t,l,r,i,o,d,c;let{product:u={},plan:p={},title:h,shortDescription:g,image:v,ctaButtonText:_,ctaButtonType:T,ctaButtonUrl:w,ctaButtonTrackingId:N,secondaryButtonText:I,secondaryButtonType:C,secondaryButtonUrl:S,secondaryButtonTrackingId:k,secondaryButtonForceNewTab:j,builderState:L,index:A}=e,P=(0,n.useRef)(null),{localeCode:z,currencyCode:E}=(0,x.N)(),{order:B}
2=(0,y.qu)(),F=(0,b._)(),[M,R]=(0,n.useState)(0),[O,$]=(0,n.useState)(!1),{shopLabels:D}=(0,m.Z)(),{[p.recurringCostFrequency]:U}=D,{hasPromotion:V,promotion:H,price:q}=u||{promotion:{}},W=h||(null==u?void 0:u.title)||(null==p?void 0:p.planName),G=tJ(j),Z=S?new URL(S,F.origin):null;Z&&(null==B?void 0:B.id)&&Z.searchParams.set("cl_order_id",B.id);let Q=v||(null==u||null==(t=u.image)?void 0:t.url)||(null==p||null==(l=p.image)?void 0:l.url),X=Math.floor(912),{price:J}=H||{},ee=V&&(d=Number(q),c=Number(J),"number"!=typeof d||"number"!=typeof c||0===d?0:Math.floor((d-c)/d*100)),et=(null==u?void 0:u.productId)&&!q&&!J&&!(null==u?void 0:u.code),{discountLabel:el}=D,ea=(null==u||null==(r=u.computedProduct)?void 0:r.kind)==="bundle"&&!!(null==u||null==(o=u.computedProduct)||null==(i=o.subscriptions)?void 0:i.length),en=Object.keys(u).length>0?u:p,er=!!(null==en?void 0:en.code)||!!(null==u?void 0:u.productId)||!!(null==p?void 0:p.planId);return((0,n.useEffect)(()=>{if(!(null==en?void 0:en.code))return;let e=(0,f.c3)(B,null==en?void 0:en.code);e?($(!0),e.quantity!==M&&R(e.quantity)):($(!1),R(0))},[B,M,null==en?void 0:en.code]),Q&&W)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{onClick:e=>{if(S&&!tL.M$.isEditing&&e.target!==P.current){var t;null==(t=P.current)||t.click()}},className:(0,K.$)(l0().productCardWrapper,O&&l0().highlighted,S&&l0().hasUrl),"data-selector":"product-card@shop-catalog",children:[(0,a.jsxs)("div",{className:l0().imageWrapper,children:[(0,a.jsx)(e_._V,{image:Q,alt:W,width:X,height:X,sizes:"304px"}),V&&(0,a.jsxs)(ty.E,{variant:"promo",className:l0().badge,"data-selector":"",children:[ee,"% ",el]})]}),(0,a.jsxs)("div",{className:(0,K.$)(l0().productDetails,ea&&l0().bundleSubscriptions),children:[(0,a.jsxs)("div",{className:l0().productDetailsTop,children:[(0,a.jsx)(Y.$,{as:"h2",className:l0().headline,children:S&&Z?(0,a.jsx)(s.Anchor,{href:Z.toString(),ref:P,"data-selector":"product-title@shop-catalog",style:{width:"100%"},disableAutomaticTracking:!0,onClick:()=>{(0,tK.cl)({buttonTrackingId:k,productTrackingId:null==en?void 0:en.trackingId})},...G,children:W}):(0,a.jsx)("span",{children:W})}),g&&(0,a.jsx)(eP.n,{size:"s",className:l0().shortDescription,children:g})]}),er&&(0,a.jsx)(lX,{productOrPlan:en,isFreeProduct:et,hasPromo:V,promoPrice:J,price:q,currencyCode:E,locale:z,recurrenceCostLabel:U})]})]}),(0,a.jsx)(lK,{productOrPlan:en,quantityInCart:M,ctaButtonText:_,ctaButtonType:T,ctaButtonUrl:w,ctaButtonTrackingId:N,secondaryButtonText:I,secondaryButtonType:C,secondaryButtonUrl:S,secondaryButtonTrackingId:k,builderState:L,index:A})]}):null}let l2={component:e=>{var t,l,r;let{key:i,...o}=e.attributes||{},{products:s}=(0,g.Q)(),{plans:d}=(0,_.A)(),p=(0,b._)(),{localeCode:m}=(0,x.N)(),h=L(),y=(0,n.useMemo)(()=>(0,u.NJ)(d),[d]),f=null==(l=e.builderState)||null==(t=l.state)?void 0:t.pageCategory,{query:v}=p,T=v.products||v.product,w=Array.isArray(T)?T:null==T?void 0:T.split(","),N=null==(r=e.items)?void 0:r.filter(e=>{var t,l,a,n;if(!v.partner||!w)return!0;let{trackingId:r}=(null==(l=e.plan)||null==(t=l.value)?void 0:t.data)||(null==(n=e.product)||null==(a=n.value)?void 0:a.data)||{};return null==w?void 0:w.some(e=>e===r)}),I=(null==N?void 0:N.length)?N:(null==e?void 0:e.items)||[],C=(null==f?void 0:f.id)===c.cL.Zd.SHOP_CATALOG&&!!((null==v?void 0:v.partner)&&(null==w?void 0:w.length)&&!(null==N?void 0:N.length));return C&&(0,lU.E)("shop_catalog.hidden_partner_filter",e=>(e.setAttributes({"sumup.shop.locale":m}),null)),(null==I?void 0:I.length)||(0,lU.E)("shop_catalog.no_items",e=>(e.setAttributes({"sumup.shop.locale":m}),null)),(0,a.jsxs)(a.Fragment,{children:[e.contentfulId&&(0,a.jsx)("div",{id:e.contentfulId}),(0,a.jsx)("ul",{...o,className:lH()["shop-catalog"],"data-empty-shop-catalog":C?"true":void 0,children:null==I?void 0:I.map((t,l)=>{var n,r,i,o,c,p,g,f,v,b,x,_,T,w;let N=null==(i=t.product)||null==(r=i.value)||null==(n=r.data)?void 0:n.productId,I=s[N];N&&(null==(o=Object.keys(I||{}))?void 0:o.length)===0&&console.warn(`Product "${N}" with name "${null==(x=t.product)||null==(b=x.value)||null==(v=b.data)?void 0:v.name}" is used in shop catalog item but not added into market ${m} products list!`);let C=null==(g=t.plan)||null==(p=g.value)||null==(c=p.data)?void 0:c.planId,S=C?d.find(e=>e.planId===C):void 0;return C&&(null==(f=Object.keys(S||{}))?void 0:f.length)===0&&console.warn(`Plan "${C}" with name "${null==(w=t.plan)||null==(T=w.value)||null==(_=T.data)?void 0:_.name}" is used in shop catalog item but not added into market ${m} plans list!`),(0,a.jsx)("li",{className:lH()["shop-catalog-item"],children:(0,a.jsx)(l1,{product:I,plan:(0,u.hd)(y,S,h),title:t.title,shortDe
2scription:t.shortDescription,image:t.image,ctaButtonText:t.ctaButtonText,ctaButtonType:t.ctaButtonType,ctaButtonUrl:t.ctaButtonUrl,ctaButtonTrackingId:t.ctaButtonTrackingId,secondaryButtonText:t.secondaryButtonText,secondaryButtonType:t.secondaryButtonType,secondaryButtonUrl:t.secondaryButtonUrl,secondaryButtonTrackingId:t.secondaryButtonTrackingId,secondaryButtonForceNewTab:t.secondaryButtonForceNewTab,builderState:e.builderState})},`shop-catalog-item-${t.title}_${l}`)})},i)]})},options:{name:"ShopCatalog",inputs:[{name:"items",type:"list",localized:!0,copyOnAdd:!1,subFields:[{name:"title",type:"string",localized:!0,helperText:"The title of the shop catalog item, it takes precedence over the referenced product title!"},{name:"shortDescription",type:"string",localized:!0},{name:"image",type:"file",localized:!0,helperText:"The image of the shop catalog item, it takes precedence over the referenced product image!"},{name:"product",type:"reference",model:"product"},{name:"plan",type:"reference",model:"plan"},{name:"ctaButtonText",type:"string",localized:!0},{name:"ctaButtonType",type:"enum",enum:[{label:"Link",value:"link"},{label:"Add To Cart",value:"addToCart"}],defaultValue:"link"},{name:"ctaButtonUrl",type:"url",localized:!0,showIf:e=>"link"===e.get("ctaButtonType")},{name:"ctaButtonTrackingId",type:"string",showIf:e=>"link"===e.get("ctaButtonType")},{name:"secondaryButtonText",type:"string",localized:!0,defaultValue:"More info"},{name:"secondaryButtonType",type:"enum",enum:[{label:"Link",value:"link"},{label:"Modal",value:"modal"}],defaultValue:"link"},{name:"secondaryButtonUrl",type:"url",localized:!0,showIf:e=>"link"===e.get("secondaryButtonType")},{name:"secondaryButtonForceNewTab",type:"boolean",defaultValue:!1,showIf:e=>"link"===e.get("secondaryButtonType")},{name:"secondaryButtonTrackingId",type:"string"},{name:"contentfulId",type:"string",hideFromUI:!0,helperText:"Contentful ID for the ShopCatalog item"}]},{name:"contentfulId",type:"string",hideFromUI:!0,helperText:"Contentful ID for the ShopCatalog section"}],noWrap:!0}};var l4=l(78846),l5=l(85571),l3=l.n(l5);let l9="mtd_badge@shop-catalog-mtd-badge";var l6=l(22492),l8=l(74346),l7=l.n(l8);let ae={component:e=>{let{defaultOption:t}=e,[l,r]=(0,n.useState)(j(t)?t:S),i=(0,m.Z)(),{setCustomState:o}=(0,d.usePageState)();return(0,n.useEffect)(()=>{o(k,l)},[l,o]),(0,a.jsx)("div",{children:(0,a.jsx)(l6.z,{className:l7().switcher,name:k,label:`${i.shopLabels.monthlyLabel} / ${i.shopLabels.yearlyLabel}`,hideLabel:!0,"aria-orientation":"horizontal",options:[{label:i.shopLabels.monthlyLabel,value:C},{label:i.shopLabels.yearlyLabel,value:S}],value:l,onChange:e=>{j(e.target.value)&&r(e.target.value)}})})},options:{name:"CUI:BillingFrequencyToggle",image:`data:image/svg+xml,${encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#4d4d4d"><path d="M0 0h24v24H0z" fill="none"/><path d="M17 6H7c-3.31 0-6 2.69-6 6s2.69 6 6 6h10c3.31 0 6-2.69 6-6s-2.69-6-6-6zm0 10H7c-2.21 0-4-1.79-4-4s1.79-4 4-4h10c2.21 0 4 1.79 4 4s-1.79 4-4 4zm0-7c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"/></svg>')}`,inputs:[{name:"defaultOption",friendlyName:"Default option",type:"enum",enum:[{value:C,label:"Monthly"},{value:S,label:"Yearly"}],defaultValue:S,helperText:"Define which option will be selected by default. If no option is selected, yearly will be selected by default."}]}};var at=l(99998);async function al(e){var t,l;let a={country_code:e,user_id:null!=(t=(0,at.t0)())?t:null,browsing_history:(0,at.mA)().map(e=>{let{e:t,t:l,p:a,d:n}=e;return{event:t,timestamp:l,path:a,...n?{data:n}:{}}})},n=await fetch("/api/recommendations/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)});if(!n.ok)throw Error(`Recommendations request failed with ${n.status}`);return null!=(l=(await n.json()).recommendations)?l:[]}let aa={card_reader_support:"Find tips, tricks and guides for all SumUp card readers",invoices:"Create simple, professional invoices in seconds",online_store:"Sell anything, anywhere, with your free online store",sumup_card:"Order a free Mastercard for all your business expenses",payment_links:"Share links with customers to get paid from anywhere",pos:"Simplify your workday with an all-in-one POS system",sumup_marketplace:"Explore exclusive offers from us and our partners",sumup_one:"Save over 40% on fees with our new subscription plan",sumup_bank:"Ative sua conta digital que rende 300% da poupan\xe7a",shop:"Browse our shop to find the right card reader for you",business_account:"Spend, save and manage your money, all in one place",cash_advance:"Get quick access to capital to grow your business",tap_on_phone:"Take contactless payments with just your iPhone",fee_discount:"Get 12% off fees when you open a Business Account",replace_device:"Upgrade your old reader, free of charge",lower_fees:"Save money today with a lower transaction fee",refer_a_friend:"Earn cash when you invite a friend to join SumUp",expenses:"Easily track expenses",bookings:"Accept appointments and stay organised",reviews:"Boost your star rating in Google and Trustpilot",pos_plus:"Unlock tools like open orders for smarter POS management",accounting_integrations:"Sync your SumUp sales data with accounting software",e_invoices:"Create simple, professional eInvoices in seconds",payment_plus:"Save up to 60% on transaction fees",business_account_plus:"Unlock premium tools to manage your money better",expenses_sdi:"Automatically turn eInvoices into SumUp expenses"},an={"android terminal":"shop",air:"shop",solo:"shop",bookings:"bookings","cash advance":"cash_advance",invoicing:"invoices",invoices:"invoices",kiosk:"pos",lending:"cash_advance","online store":"online_store","online-store":"online_store","payment links":"payment_links","payments plus":"payment_plus","pos plus":"pos_plus","pos pro":"pos","sumup register":"pos","sumup one":"sumup_one",suba:"business_account","suba plus":"business_account_plus","tap to pay":"tap_on_phone","tap to pay on android":"tap_on_phone","tap to pay on iphone":"tap_on_phone"},ar={"suba.early_payouts":"7am payouts? That’s an early start. Get today’s earnings in your Business Account in time for tomorrow’s breakfast.","payments_plus.mcc.savings_general":"Take the bite out of transaction fees. {business_type} like yours are saving {perc}%. Cut your fees now.","payments_plus.savings_tpv":"You could’ve saved €{savings_amount} last month with Payments Plus. See how.","payments_plus.fees":"Upgrade your plan and pay 30% less in fees","payments_plus.frequency_savings":"Save 17% on Payments Plus. Switch from monthly to yearly payments and save today."};var ai=l(34905),ao=l.n(ai);function as(e){var t;let{skuCode:l,quantity:r}=e,{products:i}=(0,g.Q)(),{callToActionLabels:o}=(0,m.Z)(),s=(0,n.useMemo)(()=>Object.values(i).find(e=>e.code===l),[i,l]);return(null==s?void 0:s.code)&&s.productId?(0,a.jsx)(T,{productOrPlan:{code:s.code,productId:s.productId},quantity:r,variant:"secondary",size:"s",children:null!=(t=null==o?void 0:o.addToCart)?t:"Add to cart"}):null}let ad=[{recommendation_id:"placeholder-1",product_name:"Solo",sku_code:"card_reader.solo",quantity:1,score:1,score_type:"PLACEHOLDER",message_key:"payments_plus.fees"},{recommendation_id:"placeholder-2",product_name:"Air",sku_code:"card_reader.air",quantity:1,score:1,score_type:"PLACEHOLDER",message_key:"payments_plus.savings_tpv",pitch_values:{s
2avings_amount:42}}],ac={name:"Shop",permissions:{allowedRoles:[c.cL.gc.CONTENT_EDITOR]},items:[{name:"Price"},{name:"ProductConfigurator"},{name:"ShopCatalog"},{name:"ShopCatalogShippingBanner"},{name:"CUI:BillingFrequencyToggle"},{name:"Hackweek:RecommendationSlot",permissions:{allowedRoles:[c.cL.gc.DESIGNER]}}]},au=[tN,lD,l2,{component:()=>{var e,t,l,n,r;let{shopLabels:i}=(0,m.Z)(),{taxCompliance:o}=(0,x.N)(),{badge:d,url:c}=null!=o?o:{},u=null==d||null==(l=d.value)||null==(t=l.data)?void 0:t.file,p=null!=(e=null==d||null==(r=d.value)||null==(n=r.data)?void 0:n.altText)?e:"",h=!!u,g=u&&(0,a.jsx)(e_.p$,{src:u,alt:p,width:360,height:120,quality:e_.Rn,builderQuality:e_.LB,unoptimized:!0,loading:"lazy",decoding:"async"});return(0,a.jsx)("div",{className:(0,K.$)(l3().wrapper,h&&l3().wrapperWithUkBadge),"data-selector":"wrapper@shop-catalog-shipping-banner",children:(0,a.jsxs)("div",{className:l3().inner,children:[(0,a.jsxs)("div",{className:l3().mainRow,children:[(0,a.jsx)(l4.e,{className:l3().icon}),(0,a.jsx)(eP.n,{className:l3().body,children:i.shippingAndReturnPolicy})]}),h&&c&&(0,a.jsx)(s.Link,{href:c,"aria-label":p,className:l3().mtdBadgeSlot,"data-selector":l9,trackingId:l9,"data-testid":"shop-catalog-mtd-badge",children:g}),h&&!c&&(0,a.jsx)("div",{className:l3().mtdBadgeSlot,"data-selector":l9,"data-testid":"shop-catalog-mtd-badge",children:g})]})})},options:{name:"ShopCatalogShippingBanner",noWrap:!0,inputs:[]}},t5,ae,{component:e=>{let{heading:t,fallbackText:l,maxItems:r=3}=e,{locale:o}
2=(0,b._)(),[s,d]=(0,n.useState)("disabled"),[c,u]=(0,n.useState)([]);(0,n.useEffect)(()=>{var e,t;if(i.M$.isEditing||!(0,at.ho)())return;let l=null!=(e=null==(t=o.split("-")[1])?void 0:t.toUpperCase())?e:"";d("loading"),al(l).then(e=>{u(e),d("done")}).catch(()=>d("error"))},[o]);let p=(i.M$.isEditing?ad:c).slice(0,r);if(!i.M$.isEditing){if("disabled"===s||"loading"===s)return null;if("error"===s||0===p.length)return l?(0,a.jsx)(eP.n,{children:l}):null}return(0,a.jsxs)("section",{className:ao().wrapper,children:[t&&(0,a.jsx)(Y.$,{as:"h2",size:"m",children:t}),(0,a.jsx)("ul",{className:ao().list,children:p.map(e=>{let t=function(e,t,l){var a,n;let r=e?ar[e]:void 0;if(r){let e,l,a=(e=!0,l=r.replace(/\{(\w+)\}/g,(l,a)=>{let n=null==t?void 0:t[a];return null==n?(e=!1,""):String(n)}),e?l:null);if(a)return a}let i=(a=null==l?void 0:l.sku_code,n=null==l?void 0:l.product_name,(null==a?void 0:a.startsWith("card_reader"))?"shop":n?an[n.trim().toLowerCase()]:void 0);return i?aa[i]:null}(e.message_key,e.pitch_values,{sku_code:e.sku_code,product_name:e.product_name});return(0,a.jsxs)("li",{className:ao().card,children:[(0,a.jsx)(Y.$,{as:"h3",size:"s",children:e.product_name}),t&&(0,a.jsx)(eP.n,{children:t}),e.sku_code&&(0,a.jsx)(as,{skuCode:e.sku_code,quantity:e.quantity})]},e.recommendation_id)})})]})},options:{name:"Hackweek:RecommendationSlot",inputs:[{name:"heading",type:"text",localized:!0,defaultValue:"Recommended for you"},{name:"fallbackText",type:"text",localized:!0,helperText:"Shown when there are no recommendations or they fail to load. Leave empty to render nothing."},{name:"maxItems",type:"number",defaultValue:3}]}}],ap={component:(0,I.A)(e=>{var t,l,n,r;let{callToActionLabels:i}=(0,m.Z)(),{builderState:d,builderBlock:c,...u}=e,{key:p,...h}=e.attributes||{},{pageReference:g,trackingId:y,...f}=u,v=null!=(t=null==g||null==(r=g.value)||null==(n=r.data)?void 0:n.url)?t:null==u?void 0:u.href,b=null!=(l=null==i?void 0:i[e.labelType])?l:e.children,x=(0,o.VH)(b,d);return(0,a.jsx)(s.Anchor,{...h,...f,href:v,onClick:t=>{e.onClick&&e.onClick(t)},trackingId:y,dynamicTrackingIdData:{label:x,builderState:d},children:x},p)},{when:e=>!e.children&&(!e.labelType||e.labelType===c.cL.BS.CUSTOM),componentName:"Anchor",missingFields:["children"],defaultsFn:e=>({children:(null==e?void 0:e.children)?e.children:"[mocked data] Anchor text"})}),options:{name:"CUI:Anchor",image:"https://cdn.builder.io/api/v1/image/assets%2F970aa68ef5444888893ac22df7f024eb%2F5e03c8ceadda439cbd6c6ed20d5a0b6f",inputs:[{name:"pageReference",type:"reference",localized:!0,model:"landing-page",helperText:"Select a page to link to. Only landing pages are supported at the moment.",showIf:e=>{let t=e.get("labelType");return!t||"custom"===t}},{name:"href",type:"url",localized:!0,helperText:"If you select the page reference, this field will be ignored."},{name:"children",type:"string",friendlyName:"text",localized:!0,helperText:"Anchor text. Required for correct display."},{name:"labelType",friendlyName:"Predefined text",type:"enum",enum:[{label:"Custom text",value:"custom"},{label:"Add to cart",value:"addToCart"},{label:"Compare our products",value:"compareOurProducts"},{label:"Talk to sales",value:"talkToSales"},{label:"Choose your products",value:"chooseYourProducts"},{label:"Create your profile",value:"createYourProfile"},{label:"Chat to us",value:"chatToUs"},{label:"Compare your options",value:"compareYourOptions"},{label:"Learn more",value:"learnMore"},{label:"Open your business account",value:"openYourBusinessAccount"},{label:"Start your free trial",value:"startYourFreeTrial"}],defaultValue:"custom",helperText:"Predefined text will be used as the anchor text. Select one of already translated ones for consistency or stay with custom text to use your own translation."},{name:"size",type:"enum",defaultValue:"m",enum:[{label:"small",value:"s"},{label:"medium",value:"m"},{label:"large",value:"l"},{label:"one",value:"one"},{label:"two",value:"two"}]},{name:"weight",type:"enum",defaultValue:"regular",enum:[{label:"regular",value:"regular"},{label:"bold",value:"bold"},{label:"semibold",value:"semibold"}]},{name:"decoration",type:"enum",enum:[{label:"italic",value:"italic"},{label:"strikethrough",value:"strikethrough"}]},{name:"trackingId",type:"text"}],noWrap:!0}},am={component:(0,I.A)(e=>{let{size:t,text:l,weight:n,decoration:r,color:i,as:s="p",builderState:d,...c}=e,{key:u,...p}=c.attributes||{};return(0,a.jsx)(eP.n,{size:t,weight:n,decoration:r,color:i,as:s,...p,children:(0,o.VH)(l,d)},u)},{when:e=>!e.text,componentName:"Body",missingFields:["text"],defaultsFn:e=>({text:(null==e?void 0:e.text)?e.text:"[mocked data] Body Text",as:(null==e?void 0:e.as)?e.as:"p"})}),options:{name:"CUI:Body Text",image:"https://cdn.builder.io/api/v1/image/assets%2F970aa68ef5444888893ac22df7f024eb%2F6883271cc561493886b8d3b176c735f2",input
2s:[{name:"text",type:"longText",required:!0,localized:!0,helperText:"Body text. Required for correct display."},{name:"size",type:"enum",defaultValue:"m",enum:[{label:"Small",value:"s"},{label:"Medium",value:"m"},{label:"Large",value:"l"}]},{name:"weight",type:"enum",defaultValue:"regular",enum:[{label:"regular",value:"regular"},{label:"semibold",value:"semibold"},{label:"bold",value:"bold"}]},{name:"decoration",type:"enum",defaultValue:"normal",enum:[{label:"normal",value:"normal"},{label:"italic",value:"italic"},{label:"strikethrough",value:"strikethrough"}]},{name:"as",type:"string",helperText:'HTML element to render the body as. Default is "p".'},{name:"color",type:"enum",defaultValue:"normal",enum:[{label:"normal",value:"normal"},{label:"subtle",value:"subtle"},{label:"placeholder",value:"placeholder"},{label:"on-strong",value:"on-strong"},{label:"on-strong-subtle",value:"on-strong-subtle"},{label:"accent",value:"accent"},{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"danger",value:"danger"},{label:"promo",value:"promo"}]}],noWrap:!0,defaults:{}}};var ah=l(88936),ag=l.n(ah);let ay={component:(0,I.A)(e=>{let{text:t,as:l,size:n,weight:r,builderState:i,...s}=e,{key:d,...c}=s.attributes||{};return(0,a.jsx)(e9.n,{size:n,weight:r||"regular",className:ag().display,as:l||"h2",...c,children:(0,o.VH)(t,i)},d)},{when:e=>!e.text,componentName:"Display",missingFields:["text"],defaultsFn:e=>({text:(null==e?void 0:e.text)?e.text:"[mocked data] Display Text"})}),options:{name:"CUI:Display",image:"https://cdn.builder.io/api/v1/image/assets%2F970aa68ef5444888893ac22df7f024eb%2Fe26f4887d92a46d7ba500cfeaf082766",inputs:[{name:"text",type:"string",required:!0,localized:!0,helperText:"Display text. Required for correct display."},{name:"size",type:"enum",defaultValue:"m",enum:[{label:"Small",value:"s"},{label:"Medium",value:"m"},{label:"Large",value:"l"},{label:"Extra Large",value:"xl"}]},{name:"weight",type:"enum",defaultValue:"regular",enum:[{label:"Regular",value:"regular"},{label:"Semibold",value:"semibold"},{label:"Bold",value:"bold"}]},{name:"as",friendlyName:"Heading Element",defaultValue:"h2",type:"enum",enum:[{label:"h1",value:"h1"},{label:"h2",value:"h2"},{label:"h3",value:"h3"},{label:"h4",value:"h4"},{label:"h5",value:"h5"},{label:"h6",value:"h6"}]}],noWrap:!0}},af={component:(0,I.A)(e=>{let{key:t,...l}=e.attributes||{};return(0,a.jsx)(Y.$,{as:e.as,size:e.size,...l,children:(0,o.VH)(e.text,e.builderState)},t)},{when:e=>!e.text,componentName:"Headline",missingFields:["text"],defaultsFn:e=>({text:(null==e?void 0:e.text)?e.text:"[mocked data] Headline text"})}),options:{name:"CUI:Headline",image:"https://cdn.builder.io/api/v1/image/assets%2F970aa68ef5444888893ac22df7f024eb%2F77a4e2f2e47b42d8af80b0a357939e36",inputs:[{name:"text",type:"string",required:!0,localized:!0,helperText:"Headline text. Required for correct display."},{name:"as",friendlyName:"Heading Element",type:"enum",enum:[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"}],defaultValue:"h2"},{name:"size",type:"enum",enum:[{label:"Small",value:"s"},{label:"Medium",value:"m"},{label:"Large",value:"l"}],defaultValue:"m"}],noWrap:!0}},av={component:en.W,options:{name:"CUI:Long Text",image:"https://cdn.builder.io/api/v1/image/assets%2F970aa68ef5444888893ac22df7f024eb%2Fda1fb6aa2afc4c6ba991d5e78c68417f",inputs:[{name:"text",type:"richText",localized:!0},{name:"size",type:"enum",defaultValue:"m",enum:[{label:"Small",value:"s"},{label:"Medium",value:"m"},{label:"Large",value:"l"}]},{name:"weight",type:"enum",defaultValue:"regular",enum:[{label:"regular",value:"regular"},{label:"semibold",value:"semibold"},{label:"bold",value:"bold"}]},{name:"decoration",type:"enum",defaultValue:"normal",enum:[{label:"normal",value:"normal"},{label:"italic",value:"italic"},{label:"strikethrough",value:"strikethrough"}]},{name:"color",type:"enum",defaultValue:"normal",enum:[{label:"normal",value:"normal"},{label:"subtle",value:"subtle"},{label:"placeholder",value:"placeholder"},{label:"on-strong",value:"on-strong"},{label:"on-strong-subtle",value:"on-strong-subtle"},{label:"accent",value:"accent"},{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"danger",value:"danger"},{label:"promo",value:"promo"}]}],noWrap:!0,defaults:{}}};var ab=l(9027);let ax={component:(0,I.A)(e=>{let{size:t,text:l,decoration:n,color:r,as:i="p",builderState:s,...d}=e,{key:c,...u}=d.attributes||{};return(0,a.jsx)(ab.p,{size:t,decoration:n,color:r,as:i,...u,children:(0,o.VH)(l,s)},c)},{when:e=>!e.text,componentName:"Numeral",missingFields:["text"],defaultsFn:e=>({text:(null==e?void 0:e.text)?e.text:"[mocked data] $ 1,009.95",as:(null==e?void 0:e.as)?e.as:"p"})}),options:{name:"CUI:Numeral",image:"https://cdn.builder.io/api/v1/image/assets%2F970aa68ef5444888893ac22df7f024eb%2F6883271cc561493886b8d3b176c735f2",input
2s:[{name:"text",type:"string",required:!0,localized:!0,helperText:"Numeral text. Required for correct display."},{name:"size",type:"enum",defaultValue:"m",enum:[{label:"Small",value:"s"},{label:"Medium",value:"m"},{label:"Large",value:"l"},{label:"Extra Large",value:"xl"}]},{name:"decoration",type:"enum",defaultValue:"normal",enum:[{label:"normal",value:"normal"},{label:"italic",value:"italic"},{label:"strikethrough",value:"strikethrough"}]},{name:"as",type:"string",helperText:'HTML element to render the numeral as. Default is "p".'},{name:"color",type:"enum",defaultValue:"normal",enum:[{label:"normal",value:"normal"},{label:"subtle",value:"subtle"},{label:"placeholder",value:"placeholder"},{label:"on-strong",value:"on-strong"},{label:"on-strong-subtle",value:"on-strong-subtle"},{label:"accent",value:"accent"},{label:"success",value:"success"},{label:"warning",value:"warning"},{label:"danger",value:"danger"},{label:"promo",value:"promo"}]}],noWrap:!0,defaults:{}}},a_={name:"Typography",permissions:{allowedRoles:[c.cL.gc.DESIGNER_EDITOR]},items:[{name:"CUI:Body Text"},{name:"CUI:Long Text"},{name:"CUI:Headline"},{name:"CUI:Display"},{name:"CUI:Anchor"},{name:"CUI:Numeral"}]},aT={name:"Widgets",permissions:{allowedRoles:[c.cL.gc.CONTENT_EDITOR]},items:[{name:"Trustpilot"}]},aw={ONE_COLUMN:"One Column",TWO_COLUMNS:"Two Columns"};function aN(e){return Array.isArray(e)}let aI=/^\S+@\S+\.\S+$/i,aC=/^(https?:\/\/)?([0-9a-z]+\.)?[-_0-9a-z]+\.[0-9a-z]+\/?([0-9a-z/]+)?$/i,aS=/^[0-9+()-\s]+$/,ak=/^[0-9A-Z]+$/,aj={FirstName:{formElement:c.ac.Tn.TEXT_INPUT,autoComplete:c.ac.Oq.FIRST_NAME,getValidations:e=>({maxLength:40})},LastName:{formElement:c.ac.Tn.TEXT_INPUT,autoComplete:c.ac.Oq.LAST_NAME,getValidations:e=>({maxLength:80})},Title:{formElement:c.ac.Tn.TEXT_INPUT,getValidations:e=>({maxLength:40})},Email:{formElement:c.ac.Tn.TEXT_INPUT,inputType:c.ac.nl.EMAIL,autoComplete:c.ac.Oq.EMAIL,getValidations:e=>({pattern:aI,maxLength:80})},Url:{formElement:c.ac.Tn.TEXT_INPUT,inputType:c.ac.nl.URL,autoComplete:c.ac.Oq.URL,getValidations:e=>({pattern:aC,maxLength:80})},Phone:{formElement:c.ac.Tn.TEXT_INPUT,inputType:c.ac.nl.PHONE,autoComplete:c.ac.Oq.PHONE,getValidations:e=>({pattern:aS,maxLength:40,minLength:7})},MobilePhone:{formElement:c.ac.Tn.TEXT_INPUT,inputType:c.ac.nl.PHONE,autoComplete:c.ac.Oq.PHONE,getValidations:e=>({pattern:aS,maxLength:40,minLength:7})},MerchantId:{formElement:c.ac.Tn.TEXT_INPUT,getValidations:e=>({pattern:ak,minLength:8,maxLength:8})},CompanyName:{formElement:c.ac.Tn.TEXT_INPUT,autoComplete:c.ac.Oq.ORGANIZATION,getValidations:e=>({maxLength:40})},Message:{formElement:c.ac.Tn.TEXTAREA,getValidations:e=>({maxLength:1e3})},BillingAddress:{formElement:c.ac.Tn.TEXTAREA},BillingZipCode:{formElement:c.ac.Tn.TEXT_INPUT,autoComplete:c.ac.Oq.POSTAL_CODE,getValidations:e=>({maxLength:255})},BillingCity:{formElement:c.ac.Tn.TEXT_INPUT,getValidations:e=>({maxLength:50})},BillingCountry:{formElement:c.ac.Tn.SELECT},PaymentNotes:{formElement:c.ac.Tn.TEXT_INPUT,getValidations:e=>({maxLength:255})},NumberOfEmployees:{formElement:c.ac.Tn.TEXT_INPUT,inputType:c.ac.nl.NUMBER,getValidations:e=>({maxLength:255})},SalespersonEmail:{formElement:c.ac.Tn.TEXT_INPUT,inputType:c.ac.nl.EMAIL,autoComplete:c.ac.Oq.EMAIL,getValidations:e=>({pattern:aI,maxLength:80})},GdprConsentGiven:{formElement:c.ac.Tn.CHECKBOX},GdprTermsAccepted:{formElement:c.ac.Tn.CHECKBOX},BusinessType:{formElement:[c.ac.Tn.QUIZ,c.ac.Tn.SELECT]},EcomPlatforms:{formElement:[c.ac.Tn.QUIZ,c.ac.Tn.SELECT]},Language:{formElement:c.ac.Tn.SELECT},Salutation:{formElement:c.ac.Tn.SELECT},Industry:{formElement:c.ac.Tn.SELECT},Mcc:{formElement:c.ac.Tn.SELECT},EstimatedTurnover:{formElement:[c.ac.Tn.SELECT,c.ac.Tn.QUIZ]},BusinessFocus:{formElement:c.ac.Tn.SELECT},PartnerType:{formElement:c.ac.Tn.SELECT},AverageTransactionVolumeMerchantPerMonth:{formElement:[c.ac.Tn.SELECT,c.ac.Tn.QUIZ]},ProspectProductInterest:{formElement:c.ac.Tn.HIDDEN},SourcingDirection:{formElement:c.ac.Tn.HIDDEN},LpCampaign:{formElement:c.ac.Tn.HIDDEN},Reseller:{formElement:c.ac.Tn.HIDDEN}},aL=["Country","City","PostalCode"],aA={Oid:{getValue:()=>"00DD0000000pnkQ"},LeadSourceWebsite:{getValue:e=>{let{departmentId:t,locale:l}=e;if(t&&l)return`${t}-${l}`}},SepaMandateId:{getValue:e=>{let{mandateId:t}=e;return t}},GaMedium:{getValue:e=>{let{sessionQuery:t}=e;return null==t?void 0:t.utm_medium}},GaSource:{getValue:e=>{let{sessionQuery:t}=e;return null==t?void 0:t.utm_source}},GaCampaign:{getValue:e=>{let{sessionQuery:t}=e;return null==t?void 0:t.utm_campaign}},Language:{getValue:e=>{let{locale:t,steps:l}=e;if(!(null==l?void 0:l.some(e=>{var t;return null==e||null==(t=e.fields)?void 0:t.some(e=>(null==e?void 0:e.apiFieldName)==="Language")})))return null==t?void 0:t.split("-")[0]}},RedirectUrl:{getValue:e=>{let{submitRedirectUrl:t}=e;return t}},UrlParams:{getValue:e=>{let{sessionQuery:t}=e;if(t&&Object.keys(t).length)return new URLSearchParams(Object.entries(t).flatMap(e=>{let[t,l]=e;return Array.isArray(l)?l.map(e=>[t,e]):[[t,String(l)]]})).toString()}},FormUrl:{getValue:e=>{let{request:t}=e;return null==t?void 0:t.href}},Country:{getValue:e=>{let{request:t,consentStatus:l,locale:a}=e;return(null==l?void 0:l.performance)?null==t?void 0:t.headers["x-vercel-ip-country"]:null==a?void 0:a.split("-")[1]}},City:{getValue:e=>{let{request:t,consentStatus:l}=e;if(null==l?void 0:l.performance)return null==t?void 0:t.headers["x-vercel-ip-city"]}},PostalCode:{getValue:e=>{let{request:t,consentStatus:l}=e;if(null==l?void 0:l.performance)return null==t?void 0:t.headers["x-vercel-ip-postal-code"]}}};function aP(e){return Object.fromEntries(aL.flatMap(t=>{var l,a;let n=null==(a=aA[t])||null==(l=a.getValue)?void 0:l.call(a,e);return n?[[t,n]]:[]}))}function az(e,t){let l={...e};for(let e of aL)delete l[e];return{...l,...aP(t)}}let aE=c.ac.o7.filter(e=>!(e in aA));function aB(e){var t,l;let a=null==(t=aj[e.apiFieldName])?void 0:t.formElement;
2if(null!=a){if(aN(a)){let t=null!=(l=e.formElement)?l:a[0];return a.includes(t)?t:a[0]}return a}}function aF(e){return Object.entries(aj).filter(t=>{let[,l]=t,a=null==l?void 0:l.formElement;return null!=a&&!aN(a)&&a===e}).map(e=>{let[t]=e;return t})}var aM=l(27154);l(40459);let aR="Failed to submit lead",aO=async e=>{let{leadData:t,leadContext:l}=e,a=await fetch("/api/lead",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({leadData:t,leadContext:l})}),n=await a.text();if(!a.ok){let e=function(e){let t;if(!e||"object"!=typeof e)return aR;let l=function(e){let{errors:t}=e;if(t&&"object"==typeof t&&!Array.isArray(t))return Object.keys(t);let{error:l}=e;return!l||"object"!=typeof l||Array.isArray(l)||"message"in l?[]:Object.keys(l)}(e);if("string"==typeof e.message&&e.message.length>0)t=e.message;else{let l=e.error;l&&"object"==typeof l&&"message"in l&&"string"==typeof l.message&&l.message.length>0&&(t=l.message)}return t&&l.length>0?{message:t,errors:l}:t||(l.length>0?{message:aR,errors:l}:aR)}(function(e){try{return JSON.parse(e)}catch(t){return{message:e.trim()||aR}}}(n));if("string"==typeof e)throw Error(e);throw new c.LL(e.message,e.errors)}try{let e=JSON.parse(n);if(e&&"object"==typeof e&&"id"in e&&"string"==typeof e.id&&"crm_lead_id"in e&&"string"==typeof e.crm_lead_id&&"message"in e&&"string"==typeof e.message)return e}catch(e){}return{id:"not-returned-by-api",crm_lead_id:"not-returned-by-api",message:n.trim()||"Lead submitted successfully"}};var a$=l(95484);let{zF:aD,o7:aU}=c.ac,aV=Object.fromEntries(aU.map(e=>[e,a$.lqM(a$.YjP())])),aH=a$._H3(aV),aq=a$.Ikc({apiDestination:a$.KIO([aD.LEADS_API,aD.LEADS_MIDDLEWARE]),locale:a$.FsL(a$.YjP(),a$.BpQ(1))});a$.Ikc({leadData:aH,leadContext:aq});let aW=async e=>{let{leadData:t,leadContext:l}=e,a=Object.fromEntries(Object.entries(t).filter(e=>{let[,t]=e;return void 0!==t&&""!==t&&("boolean"!=typeof t||t)}).map(e=>{let[t,l]=e;return[t,String(l)]}));return await aO({leadData:a,leadContext:l})},aG=e=>{let{label:t,placeholder:l,value:r,defaultValue:i,onChange:o,name:s,optionalLabel:d,required:c,options:u,size:p,disabled:m,invalid:h,validationHint:g}=e,y=(0,n.useMemo)(()=>!(null==u?void 0:u.length)||c||u.some(e=>""===e.value)||!r?u:[{value:"",label:null!=l?l:""},...u],[u,c,l,r]),f=(0,n.useMemo)(()=>""===t||!t,[t]);return(0,a.jsx)(lq.l,{name:s,label:f?"Label is missing":t,placeholder:l,options:y,value:r,defaultValue:i,disabled:m,invalid:h,validationHint:g,optionalLabel:d,hideLabel:f,size:p,onChange:e=>o(e.target.value),required:c,"data-elbcontext":"component:select_field"})};var aY=l(93156);let aK=e=>{let{label:t,placeholder:l,value:n,defaultValue:r,onChange:i,onBlur:o,name:s,optionalLabel:d,required:c,invalid:u,validationHint:p,rows:m,minRows:h,disabled:g}=e;return(0,a.jsx)(aY.f,{name:s,label:null!=t?t:"hidden label",placeholder:l,value:n,defaultValue:r,invalid:u,validationHint:p,optionalLabel:d,hideLabel:""===t||!t,required:c,rows:m,minRows:h,disabled:g,onBlur:o,onChange:e=>i(e.target.value),"data-elbcontext":"component:text_field"})};var aZ=l(50337),aQ=l(19349),aX=l(9549),aJ=l.n(aX);let a0=()=>(0,a.jsx)("div",{className:aJ().wrapper,children:(0,a.jsx)("div",{"aria-hidden":"true",className:aJ().field})}),a1=[{country:"AF",code:"+93"},{country:"AX",code:"+358"},{country:"AL",code:"+355"},{country:"DZ",code:"+213"},{country:"AS",code:"+1",areaCodes:["684"]},{country:"AD",code:"+376"},{country:"AO",code:"+244"},{country:"AI",code:"+1",areaCodes:["264"]},{country:"AQ",code:"+672"},{country:"AG",code:"+1268"},{country:"AR",code:"+54"},{country:"AM",code:"+374"},{country:"AW",code:"+297"},{country:"AU",code:"+61"},{country:"AT",code:"+43"},{country:"AZ",code:"+994"},{country:"BS",code:"+1",areaCodes:["242"]},{country:"BH",code:"+973"},{country:"BD",code:"+880"},{country:"BB",code:"+1",areaCodes:["246"]},{country:"BY",code:"+375"},{country:"BE",code:"+32"},{country:"BZ",code:"+501"},{country:"BJ",code:"+229"},{country:"BM",code:"+1",areaCodes:["441"]},{country:"BT",code:"+975"},{country:"BO",code:"+591"},{country:"BA",code:"+387"},{country:"BW",code:"+267"},{country:"BR",code:"+55"},{country:"IO",code:"+246"},{country:"BN",code:"+673"},{country:"BG",code:"+359"},{country:"BF",code:"+226"},{country:"BI",code:"+257"},{country:"KH",code:"+855"},{country:"CM",code:"+237"},{country:"CA",code:"+1"},{country:"CV",code:"+238"},{country:"KY",code:"+345"},{country:"CF",code:"+236"},{country:"TD",code:"+235"},{country:"CL",code:"+56"},{country:"CN",code:"+86"},{country:"CX",code:"+61"},{country:"CC",code:"+61"},{country:"CO",code:"+57"},{country:"KM",code:"+269"},{country:"CG",code:"+242"},{country:"CD",code:"+243"},{country:"CK",code:"+682"},{country:"CR",code:"+506"},{country:"CI",code:"+225"},{country:"HR",code:"+385"},{country:"CU",code:"+53"},{country:"CY",code:"+357"},{country:"CZ",code:"+420"},{country:"DK",code:"+45"},{country:"DJ",code:"+253"},{country:"DM",code:"+1",areaCodes:["767"]},{country:"DO",code:"+1",areaCodes:["849"]},{country:"EC",code:"+593"},{country:"EG",code:"+20"},{country:"SV",code:"+503"},{country:"GQ",code:"+240"},{country:"ER",code:"+291"},{country:"EE",code:"+372"},{country:"ET",code:"+251"},{country:"FK",code:"+500"},{country:"FO",code:"+298"},{country:"FJ",code:"+679"},{country:"FI",code:"+358"},{country:"FR",code:"+33"},{country:"GF",code:"+594"},{country:"PF",code:"+689"},{country:"GA",code:"+241"},{country:"GM",code:"+220"},{country:"GE",code:"+995"},{country:"DE",code:"+49"},{country:"GH",code:"+233"},{country:"GI",code:"+350"},{country:"GR",code:"+30"},{country:"GL",code:"+299"},{country:"GD",code:"+1",areaCodes:["473"]},{country:"GP",code:"+590"},{country:"GU",code:"+1",areaCodes:["671"]}
2,{country:"GT",code:"+502"},{country:"GG",code:"+44"},{country:"GN",code:"+224"},{country:"GW",code:"+245"},{country:"GY",code:"+595"},{country:"HT",code:"+509"},{country:"VA",code:"+379"},{country:"HN",code:"+504"},{country:"HK",code:"+852"},{country:"HU",code:"+36"},{country:"IS",code:"+354"},{country:"IN",code:"+91"},{country:"ID",code:"+62"},{country:"IR",code:"+98"},{country:"IQ",code:"+964"},{country:"IE",code:"+353"},{country:"IM",code:"+44"},{country:"IL",code:"+972"},{country:"IT",code:"+39"},{country:"JM",code:"+1",areaCodes:["876"]},{country:"JP",code:"+81"},{country:"JE",code:"+44"},{country:"JO",code:"+962"},{country:"KZ",code:"+7",areaCodes:["7"]},{country:"KE",code:"+254"},{country:"KI",code:"+686"},{country:"KP",code:"+850"},{country:"KR",code:"+82"},{country:"KW",code:"+965"},{country:"KG",code:"+996"},{country:"LA",code:"+856"},{country:"LV",code:"+371"},{country:"LB",code:"+961"},{country:"LS",code:"+266"},{country:"LR",code:"+231"},{country:"LY",code:"+218"},{country:"LI",code:"+423"},{country:"LT",code:"+370"},{country:"LU",code:"+352"},{country:"MO",code:"+853"},{country:"MK",code:"+389"},{country:"MG",code:"+261"},{country:"MW",code:"+265"},{country:"MY",code:"+60"},{country:"MV",code:"+960"},{country:"ML",code:"+223"},{country:"MT",code:"+356"},{country:"MH",code:"+692"},{country:"MQ",code:"+596"},{country:"MR",code:"+222"},{country:"MU",code:"+230"},{country:"YT",code:"+262"},{country:"MX",code:"+52"},{country:"FM",code:"+691"},{country:"MD",code:"+373"},{country:"MC",code:"+377"},{country:"MN",code:"+976"},{country:"ME",code:"+382"},{country:"MS",code:"+1664"},{country:"MA",code:"+212"},{country:"MZ",code:"+258"},{country:"MM",code:"+95"},{country:"NA",code:"+264"},{country:"NR",code:"+674"},{country:"NP",code:"+977"},{country:"NL",code:"+31"},{country:"AN",code:"+599"},{country:"NC",code:"+687"},{country:"NZ",code:"+64"},{country:"NI",code:"+505"},{country:"NE",code:"+227"},{country:"NG",code:"+234"},{country:"NU",code:"+683"},{country:"NF",code:"+672"},{country:"MP",code:"+1",areaCodes:["670"]},{country:"NO",code:"+47"},{country:"OM",code:"+968"},{country:"PK",code:"+92"},{country:"PW",code:"+680"},{country:"PS",code:"+970"},{country:"PA",code:"+507"},{country:"PG",code:"+675"},{country:"PY",code:"+595"},{country:"PE",code:"+51"},{country:"PH",code:"+63"},{country:"PN",code:"+872"},{country:"PL",code:"+48"},{country:"PT",code:"+351"},{country:"PR",code:"+1",areaCodes:["939"]},{country:"QA",code:"+974"},{country:"RO",code:"+40"},{country:"RU",code:"+7"},{country:"RW",code:"+250"},{country:"RE",code:"+262"},{country:"BL",code:"+590"},{country:"SH",code:"+290"},{country:"KN",code:"+1",areaCodes:["869"]},{country:"LC",code:"+1",areaCodes:["758"]},{country:"MF",code:"+590"},{country:"PM",code:"+508"},{country:"VC",code:"+1",areaCodes:["784"]},{country:"WS",code:"+685"},{country:"SM",code:"+378"},{country:"ST",code:"+239"},{country:"SA",code:"+966"},{country:"SN",code:"+221"},{country:"RS",code:"+381"},{country:"SC",code:"+248"},{country:"SL",code:"+232"},{country:"SG",code:"+65"},{country:"SK",code:"+421"},{country:"SI",code:"+386"},{country:"SB",code:"+677"},{country:"SO",code:"+252"},{country:"ZA",code:"+27"},{country:"GS",code:"+500"},{country:"ES",code:"+34"},{country:"LK",code:"+94"},{country:"SD",code:"+249"},{country:"SR",code:"+597"},{country:"SJ",code:"+47"},{country:"SZ",code:"+268"},{country:"SE",code:"+46"},{country:"CH",code:"+41"},{country:"SY",code:"+963"},{country:"TW",code:"+886"},{country:"TJ",code:"+992"},{country:"TZ",code:"+255"},{country:"TH",code:"+66"},{country:"TL",code:"+670"},{country:"TG",code:"+228"},{country:"TK",code:"+690"},{country:"TO",code:"+676"},{country:"TT",code:"+1",areaCodes:["868"]},{country:"TN",code:"+216"},{country:"TR",code:"+90"},{country:"TM",code:"+993"},{country:"TC",code:"+1",areaCodes:["649"]},{country:"TV",code:"+688"},{country:"UG",code:"+256"},{country:"UA",code:"+380"},{country:"AE",code:"+971"},{country:"GB",code:"+44"},{country:"US",code:"+1"},{country:"UY",code:"+598"},{country:"UZ",code:"+998"},{country:"VU",code:"+678"},{country:"VE",code:"+58"},{country:"VN",code:"+84"},{country:"VG",code:"+1",areaCodes:["284"]},{country:"VI",code:"+1",areaCodes:["340"]},{country:"WF",code:"+681"},{country:"YE",code:"+967"},{country:"ZM",code:"+260"},{country:"ZW",code:"+263"}],a2="en-US",a4=e=>{let{name:t,label:l,placeholder:r,value:i,defaultValue:o,onChange:s,optionalLabel:d,required:c,invalid:u,validationHint:p,locale:m}
2=e,[h,g]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{g(!0)},[]),h)?(0,a.jsx)(aQ.y,{name:t,label:null!=l?l:"hidden label",value:i,defaultValue:o,invalid:u,validationHint:p,optionalLabel:d,hideLabel:""===l||!l,required:c,locale:null!=m?m:a2,countryCode:{label:"Country code",defaultValue:(null!=m?m:a2).toString().split("-")[1].toUpperCase(),options:a1},subscriberNumber:{label:l,placeholder:r},onChange:e=>s(e.target.value),"data-elbcontext":"component:text_field"}):(0,a.jsx)(a0,{})},a5=e=>{let{label:t,placeholder:l,value:n,onChange:r,onBlur:i,name:o,inputType:s,required:d,optionalLabel:u,autoComplete:p,invalid:m,validationHint:h,locale:g,defaultValue:y}=e;return s===c.ac.nl.PHONE?(0,a.jsx)(a4,{name:o,inputType:s,label:t,placeholder:l,value:n,defaultValue:y,onChange:r,optionalLabel:u,required:d,invalid:m,validationHint:h,locale:g}):(0,a.jsx)(aZ.p,{name:o,type:s,label:null!=t?t:"hidden label",placeholder:l,value:n,defaultValue:y,invalid:m,validationHint:h,optionalLabel:u,required:d,autoComplete:p,hideLabel:""===t||!t,onBlur:i,onChange:e=>r(e.target.value),"data-elbcontext":"component:text_field"})},a3=e=>{let{name:t,value:l}=e;return(0,a.jsx)("input",{type:"hidden",name:t,value:l})};var a9=l(25297),a6=l(11486);function a8(e){return!!e&&(0,a6.h)(e)}var a7=l(18124),ne=l.n(a7);let nt=e=>{let{content:t,currentStep:l,totalSteps:r}=e,{commonLabels:i}=(0,m.Z)(),o=(0,n.useMemo)(()=>{var e;return e={current:l,total:r},t.replaceAll("%CURRENT%",String(e.current)).replaceAll("%TOTAL%",String(e.total))},[t,l,r]);return a8(t)?(0,a.jsxs)("div",{className:ne()["progress-bar-wrapper"],children:[(0,a.jsx)(a9.z,{value:l,max:r,label:i.progressBar,hideLabel:!0,className:ne()["progress-bar"]}),(0,a.jsx)(en.W,{text:o})]}):null},nl=e=>{let{steps:t,stepsProgressBarContent:l,isLoading:r,prevButtonLabel:o,nextButtonLabel:s,submitButtonLabel:d,initialActiveStep:c=0,children:u,onNext:m,onBack:h,onSubmit:g,getIsQuizOnlyStep:y}=e,[f,b]=(0,n.useState)(c);if(!(null==t?void 0:t.length))return(0,a.jsx)("div",{className:"steps-container",children:(0,a.jsx)(v.A,{message:"Form has no content. Please add form steps with fields to render!"})});let x=0===f,_=f===t.length-1,T=t.length>1,w=t[f],N=()=>{if(!w||x)return;let e=Math.max(f-1,0),l=t[e];null==h||h(l,w),b(e)},I=async()=>{if(!w||_)return;let e=Math.min(f+1,t.length-1),l=t[e];!1!==await (null==m?void 0:m(l,w))&&b(e)},C=()=>{i.M$.isEditing||w&&(null==g||g(w))},S=(null==w?void 0:w.layout)===aw.TWO_COLUMNS,k=(0,K.$)(ne().step,S&&ne()["step-two-columns"]),j=T&&a8(l);return(0,a.jsxs)("div",{className:"steps-container","data-elbcontext":T?"component:multistep_form":"component:form",children:[j&&l?(0,a.jsx)(nt,{content:l,currentStep:f+1,totalSteps:t.length}):null,null==t?void 0:t.map((e,t)=>{var l,n,i,c,m,h,g,b;if(t!==f)return null;let x=e.prevButtonLabel||o,w=e.nextButtonLabel||s,S=null!=(l=null==y?void 0:y(e))&&l,j=(!T||_)&&!!d&&!S,L=T&&!!x&&f>0,A=T&&!!w&&!S&&!j,P=L||A||j;return(null==(c=e.subHeadline)?void 0:c.length)||(null==(m=e.disclaimer)?void 0:m.length)||P||(null==e||null==(h=e.f
2ields)?void 0:h.length)?(0,a.jsxs)("div",{className:k,"data-step-layout":null!=(n=e.layout)?n:aw.ONE_COLUMN,children:[(null==(g=e.subHeadline)?void 0:g.length)&&(0,a6.h)(e.subHeadline)?(0,a.jsx)(en.W,{text:e.subHeadline,className:ne()["step-sub-headline"]}):null,u(e,{advanceToNext:I,submit:C,isLastStep:_,isMultiStep:T}),(null==(b=e.disclaimer)?void 0:b.length)&&(0,a6.h)(e.disclaimer)?(0,a.jsx)(en.W,{text:null!=(i=e.disclaimer)?i:"",className:ne()["step-disclaimer"]}):null,P?(0,a.jsxs)("div",{className:(0,K.$)(ne()["step-actions"],e.fullWidthButtons&&ne()["step-actions--full-width"]),children:[L&&(0,a.jsx)(p.$,{type:"button",variant:"secondary",onClick:N,children:x}),A&&(0,a.jsx)(p.$,{type:"submit",variant:"primary",onClick:I,isLoading:r,children:w}),j&&(0,a.jsx)(p.$,{type:"submit",variant:"primary",onClick:C,isLoading:r,children:d})]}):null]},t):(0,a.jsx)(v.A,{message:`Step ${t+1} has no content. Please add step content to render!`},t)})]})};var na=l(55690);let nn=e=>{let{name:t,label:l,value:r,checked:i,optionalLabel:o,defaultChecked:s,required:d,invalid:c,validationHint:u,onChange:p,richTextLabel:m}=e,h=(0,n.useMemo)(()=>""===l||!l,[l]);return(0,a.jsx)(na.S,{name:t,label:m?(0,a.jsx)(en.W,{text:m}):l||"Label is missing",hideLabel:h,value:r,checked:i,defaultChecked:s,invalid:c,validationHint:u,required:d,optionalLabel:d?null:o,onChange:e=>p(e.target.checked),"data-elbcontext":"component:checkbox_field"})};var nr=l(56404);function ni(e,t,l){return l?e.includes(t)?e.filter(e=>e!==t):e.concat(t):[t]}function no(e,t){var l;return 0===e.length?"":t?e.join(";"):null!=(l=e[0])?l:""}function ns(e,t){return e?t?e.split(";").filter(Boolean):e:t?[]:""}var nd=l(34158),nc=l.n(nd);let nu="Label is missing";function np(e){let{name:t,label:l,required:r,optionalLabel:i,invalid:o,validationHint:s,options:d,multiple:c=!1,value:u,onChange:p,onClick:m}=e,h=(0,n.useMemo)(()=>""===l||!l,[l]);if(!Array.isArray(d)||0===d.length)return null;let g=ns(u,c),y=d.map(e=>{var t;let l=e.icon,n=l?e=>(0,a.jsx)(F.I,{iconSrc:l,circuitIcon:"placeholder_24",size:"mega",altText:""}):null;return{label:e.label||nu,value:null!=(t=e.value)?t:"",icon:n,className:nc().option}});return(0,a.jsx)(nr.N,{"data-elbcontext":"component:quiz_field",className:nc().group,label:h?nu:l,optionalLabel:i,multiple:c,required:r,invalid:o,validationHint:s,name:t,options:y,value:g,onChange:e=>{var t;let l;p((t=e.target.value,Array.isArray(l=ns(u,c))?no(ni(l,t,c),c):no(ni([l],t,c),c)))},hideLabel:h,onClick:m})}function nm(e){return e.toString().padStart(2,"0")}var nh=l(33079),ng=l.n(nh);function ny(e){let{action:t,formName:l,formStepName:a,additionalData:n={}}=e;(0,z.BI)({event:"form interaction",target:"Mkt_Web",action:t,form_name:l,form_step_name:a,destination_url:null==n?void 0:n.destinationUrl,destination_category:null==n?void 0:n.destinationCategory}),(0,z.BI)({event:"button clicked",button_description:t})}async function nf(e){var t;let{formSubmissionId:l,formTrackingId:a,formName:n,formStepName:r,additionalData:i={},leadData:o}=e;ny({action:a,formName:n,formStepName:r,additionalData:i});let s=await (0,z.t9)({email:o.Email,phone:null!=(t=o.Phone)?t:o.MobilePhone});(0,z.BI)({event:"generate lead",option:a,...l?{id:l}:{},success:!0,...s})}function nv(e){(0,z.BI)({event:"generate lead",option:e,success:!1})}function nb(e){let{stepTrackingId:t,defaultStepTrackingId:l,formName:a,formStepName:n,additionalData:r={}}=e;ny({action:(null==t?void 0:t.length)&&t!==c.ac.ZO?t:l,formName:a,formStepName:n,additionalData:r})}let nx={values:{},activeStepIndex:0,fileDownloaded:!1};function n_(e){return`website_builder:leads_form:${e}`}function nT(e){let t=window.localStorage.getItem(n_(e));if(!t)return null;try{let e=decodeURIComponent(escape(window.atob(t))),l=JSON.parse(e);if(l&&"object"==typeof l&&"values"in l&&"builderId"in l)return l;return null}catch(e){return console.error(e),null}}let nw=()=>()=>{},nN=()=>nx;function nI(e){let t=document.createElement("a");t.href=e,t.target="_blank",document.body.appendChild(t),t.click(),document.body.removeChild(t)}function nC(e){let{downloadFileTrackingId:t,downloadFileUrl:l,formName:a,formStepName:n}=e;t&&nb({stepTrackingId:t,defaultStepTrackingId:"",formName:a,formStepName:n,additionalData:{destinationUrl:l,destinationCategory:c.zS.q.DOWNLOAD}})}function nS(e){let{currentStep:t,downloadFileUrl:l,downloadFileTrackingId:a,formName:n}=e;return!!t.shouldDownloadFile&&!!l&&(nI(l),nC({downloadFileTrackingId:a,downloadFileUrl:l,formName:n,formStepName:t.name}),!0)}function nk(e){var t,l;return null!=(t=null==(l=e.fields)?void 0:l.map(e=>null==e?void 0:e.apiFieldName).filter(e=>
2!!e))?t:[]}let nj=new Set(c.ac.o7);var nL=l(2794),nA=l(89964);let nP=aF(c.ac.Tn.HIDDEN),nz=aF(c.ac.Tn.SELECT),nE=aF(c.ac.Tn.CHECKBOX),nB=aF(c.ac.Tn.QUIZ),nF=JSON.stringify(nP),nM=JSON.stringify(nE),nR=JSON.stringify(nz),nO=JSON.stringify(nB),n$=JSON.stringify(Object.entries(aj).filter(e=>{let[,t]=e,l=null==t?void 0:t.formElement;return null!=l&&aN(l)}).map(e=>{let[t]=e;return t})),nD=c.ac.Tn.SELECT,nU=c.ac.Tn.QUIZ,nV=Function("options",`return !${nF}.includes(options.get('apiFieldName'));`),nH=Function("options",`const apiFieldName = options.get('apiFieldName');
3const formElement = options.get('formElement');
4if (!apiFieldName) return false;
5if (${nF}.includes(apiFieldName)) return false;
6if (${nM}.includes(apiFieldName)) return false;
7if (${nO}.includes(apiFieldName)) return false;
8if (${n$}.includes(apiFieldName) && formElement === ${JSON.stringify(nU)}) return false;
9return true;`),nq=Function("options",`return !options.get('required') && !${nF}.includes(options.get('apiFieldName'));`),nW=Function("options",`return options.get('required') && !${nF}.includes(options.get('apiFieldName'));`),nG=Function("options",`return ${n$}.includes(options.get('apiFieldName'));`),nY=Function("options",`const apiFieldName = options.get('apiFieldName');
10const formElement = options.get('formElement');
11if (!apiFieldName) return false;
12if (${nR}.includes(apiFieldName)) return true;
13return ${n$}.includes(apiFieldName) && formElement === ${JSON.stringify(nD)};`),nK=Function("options",`const apiFieldName = options.get('apiFieldName');
14if (!apiFieldName) return false;
15return ${nM}.includes(apiFieldName);`),nZ=Function("options",`const apiFieldName = options.get('apiFieldName');
16const formElement = options.get('formElement');
17if (!apiFieldName) return false;
18return ${n$}.includes(apiFieldName) && formElement === ${JSON.stringify(nU)};`),nQ=Function("options",`const apiFieldName = options.get('apiFieldName');
19const formElement = options.get('formElement');
20if (!apiFieldName) return false;
21if (${nM}.includes(apiFieldName)) return false;
22if (${nO}.includes(apiFieldName)) return false;
23if (${n$}.includes(apiFieldName) && formElement === ${JSON.stringify(nU)}) return false;
24return true;`),nX=Function("options",`const apiFieldName = options.get('apiFieldName');
25if (!apiFieldName) return false;
26return !${nF}.includes(apiFieldName) && !${nM}.includes(apiFieldName);`),nJ={component:e=>{var t,l,r,o,d;let u,m,h,g,{name:y,steps:f,submitButtonLabel:b,submitButtonTrackingId:x,submitRedirectUrl:_,thankYouHeading:T,thankYouContent:w,returningVisitorHeading:N,returningVisitorContent:I,downloadFileUrl:C,downloadFileLabel:S,downloadFileTrackingId:k,apiDestination:j=c.ac.zF.LEADS_API,defaultPrevButtonLabel:L,defaultNextButtonLabel:A,defaultPrevButtonTrackingId:P,defaultNextButtonTrackingId:z,departmentId:E,queryParamsInHiddenFields:B=[],requiredErrorMessage:F,optionalLabel:M,stepsProgressBarContent:R,disableDataStorageAndPrefill:O=!1,shouldAlwaysLoadInitialStep:$,...D}=e,{key:U,"builder-id":V="",...H}=null!=(t=D.attributes)?t:{},{localeCode:q}=(0,nL.useWebsite)(),{request:W,localStorageRequestQuery:G}=(0,s.useLinkContext)(),Y=null!=q?q:c.DG.DEFAULT_LOCALE_CODE,Z=(0,n.useMemo)(()=>{let e,t,l,a,n,r,i,o;return e=function(){let e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",t="";for(let l=6;l>0;l-=1)t+=e[Math.floor(Math.random()*e.length)];return t}(),l=(t=new Date).getFullYear(),a=nm(t.getMonth()+1),n=nm(t.getDate()),r=nm(t.getHours()),i=nm(t.getMinutes()),o=nm(t.getSeconds()),`SDEPOSNE${l}${a}${n}${r}${i}${o}${e}`}
26,[]),[Q,X]=(0,n.useState)(!1),[J,ee]=(0,n.useState)(!1),[et,el]=(0,n.useState)(!1),ea=E||"ANY",er=x||`form_submission@${ea}`,ei=(0,nA.S)(),eo=(0,n.useMemo)(()=>({...G,...W.query}),[G,W.query]),es=(r=null!=(l=null==f?void 0:f.length)?l:0,u=null!=(d=(o={skipRestore:i.M$.isEditing||!V,disableDataStorageAndPrefill:O,shouldAlwaysLoadInitialStep:$}).skipRestore)&&d,m=null==o?void 0:o.disableDataStorageAndPrefill,h=null==o?void 0:o.shouldAlwaysLoadInitialStep,g=(0,n.useMemo)(()=>{let e;return()=>(void 0===e&&(e=u||!V?nx:function(e,t,l){var a,n,r,i,o,s;let d=nT(e);if(!d)return{values:{},activeStepIndex:0,fileDownloaded:!1};if(null==l?void 0:l.disableDataStorageAndPrefill)return{values:{},activeStepIndex:0,fileDownloaded:null!=(i=d.fileDownloaded)&&i};if(null==l?void 0:l.shouldAlwaysLoadInitialStep)return{values:null!=(o=d.values)?o:{},activeStepIndex:0,fileDownloaded:null!=(s=d.fileDownloaded)&&s};let c=Math.max(t-1,0),u=Math.min(Math.max((null!=(a=d.lastStepIndex)?a:-1)+1,0),c);return{values:null!=(n=d.values)?n:{},activeStepIndex:u,fileDownloaded:null!=(r=d.fileDownloaded)&&r}}(V,r,{disableDataStorageAndPrefill:m,shouldAlwaysLoadInitialStep:h})),e)},[V,r,u,m,h]),(0,n.useSyncExternalStore)(nw,g,nN)),ed=!i.M$.isEditing&&!J&&es.fileDownloaded&&!et&&!$&&!!(N||I),{control:ec,handleSubmit:eu,getValues:ep,trigger:em,reset:eh,setValue:eg,setError:ey}=(0,aM.mN)({defaultValues:nx.values,shouldUnregister:!1}),ef=(0,n.useMemo)(()=>({locale:Y,request:W,consentStatus:ei.consentStatus}),[Y,W,ei.consentStatus]);(0,n.useEffect)(()=>{!i.M$.isEditing&&V&&eh(es.values)},[V,es.values,eh]),(0,n.useEffect)(()=>{if(i.M$.isEditing)return;let e=aP(ef);for(let l of aL){var t;eg(l,null!=(t=e[l])?t:"")}},[ef,es.values,eg]);let ev=(e,t)=>
26{if(i.M$.isEditing||!V)return;let l=null==f?void 0:f.findIndex(t=>(null==t?void 0:t.name)===(null==e?void 0:e.name));!function(e){try{var t;let l=nT(e.builderId),a=!e.disableDataStorageAndPrefill,n={version:1,builderId:e.builderId,formName:e.formName,updatedAt:new Date().toISOString(),fileDownloaded:!0===e.fileDownloaded||(null==l?void 0:l.fileDownloaded),values:{}};a&&(n.values={...null==l?void 0:l.values,...e.values},n.lastStepName=e.lastStepName,n.lastStepIndex=e.lastStepIndex),window.localStorage.setItem(n_(e.builderId),(t=JSON.stringify(n),window.btoa(unescape(encodeURIComponent(t)))))}catch(e){console.error(e)}}({builderId:V,formName:y,values:ep(),lastStepName:null==e?void 0:e.name,lastStepIndex:l>=0?l:void 0,fileDownloaded:null==t?void 0:t.fileDownloaded,disableDataStorageAndPrefill:O})},eb=async e=>{let t=nk(e);return!t.length||em(t)},ex=e=>{nv(er)},e_=async(e,t)=>{var l,a;if(i.M$.isEditing)return!0;if(!await eb(t))return!1;let n=nS({currentStep:t,downloadFileUrl:C,downloadFileTrackingId:k,formName:y});return n&&el(!0),ev(t,{fileDownloaded:n}),t.shouldSendStepToApi&&aW({leadData:az((l=ep(),a={queryParamsInHiddenFields:B},Object.fromEntries([...nk(t),...function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...Object.keys(aA),...e]}(null==a?void 0:a.queryParamsInHiddenFields)].filter(e=>e in l).map(e=>[e,l[e]]))),ef),leadContext:{locale:Y,apiDestination:j}}).catch(e=>{console.error(e)}),nb({stepTrackingId:null==t?void 0:t.nextButtonTrackingId,defaultStepTrackingId:null!=z?z:"",formName:y,formStepName:t.name}),!0},eT=e=>t=>{i.M$.isEditing||e.onChange(t)},ew=e=>{var t,l;if((null==e||null==(t=e.fields)?void 0:t.length)!==1)return!1;let a=null==e||null==(l=e.fields)?void 0:l[0];return!(!a||aB(a)!==c.ac.Tn.QUIZ||e.fields.find(e=>e.quizAllowMultiple))};return J?(0,a.jsxs)("div",{className:ng()["thank-you-or-returning-visitor"],role:"status","aria-live":"polite",tabIndex:-1,...H,children:[T&&(0,a.jsx)(en.W,{className:ng()["thank-you-or-returning-visitor-heading"],text:T}),w&&(0,a.jsx)(en.W,{className:ng()["thank-you-or-returning-visitor-content"],text:w})]}):ed?(0,a.jsxs)("div",{className:ng()["thank-you-or-returning-visitor"],...H,children:[N&&(0,a.jsx)(en.W,{className:ng()["thank-you-or-returning-visitor-heading"],text:N}),I&&(0,a.jsx)(en.W,{className:ng()["thank-you-or-returning-visitor-content"],text:I}),C&&S&&(0,a.jsx)("div",{className:ng()["returning-visitor-actions"],children:(0,a.jsx)(p.$,{variant:"primary",onClick:()=>{!function(e){let{downloadFileUrl:t,downloadFileTrackingId:l,formName:a}=e;nI(t),nC({downloadFileTrackingId:l,downloadFileUrl:t,formName:a,formStepName:"returning-visitor"})}({downloadFileUrl:C,downloadFileTrackingId:k,formName:y})},children:S})})]}):(0,a.jsxs)("form",{noValidate:!0,onSubmit:e=>e.preventDefault(),"aria-label":y,"aria-busy":Q,...H,children:[(0,a.jsx)(nl,{steps:f,stepsProgressBarContent:R,isLoading:Q,prevButtonLabel:L,nextButtonLabel:A,submitButtonLabel:b,initialActiveStep:es.activeStepIndex,getIsQuizOnlyStep:ew,onSubmit:e=>{let t=async()=>{if(!i.M$.isEditing)try{let t=nS({currentStep:e,downloadFileUrl:C,downloadFileTrackingId:k,formName:y});ev(e,{fileDownloaded:t}),t&&el(!0),X(!0);let l=az(ep(),ef),a=await aW({leadData:l,leadContext:{locale:Y,apiDestination:j}});nf({formTrackingId:er,formName:y,formStepName:e.name,additionalData:{destinationUrl:_,destinationCategory:c.zS.q.FORM_SUBMISSION},formSubmissionId:a.id,leadData:l}),_?window.location.assign(_):(T||w)&&ee(!0)}catch(e){nv(er),e instanceof c.LL&&function(e){let{error:t,steps:l,setError:a}=e;if(0===t.fieldErrors.length)return;let n=function(e){let t=new Map;for(let a of null!=e?e:[]){var l;for(let e of null!=(l=a.fields)?l:[])t.set(e.apiFieldName,e)}return t}(l);for(let e of t.fieldErrors)if(nj.has(e)){var r;let t=n.get(e);a(e,{type:"server",message:null!=(r=null==t?void 0:t.validationErrorMessage)?r:""})}}({error:e,steps:f,setError:ey}),console.error(e)}finally{X(!1)}};eu(t,ex)()},onBack:(e,t)=>{i.M$.isEditing||nb({stepTrackingId:null==t?void 0:t.prevButtonTrackingId,defaultStepTrackingId:null!=P?P:"",formName:y,formStepName:t.name})},onNext:e_,children:(e,t)=>{var l;return null==e||null==(l=e.fields)?void 0:l.map(l=>((e,t,l)=>{var n,r,o,s,d,u,p;let m,h,g,y,f=aj[e.apiFieldName],b=aB(e),x=(m=null!=(u=null==f||null==(p=f.getValidations)?void 0:p.call(f,Y))?u:{},h=(null==e?void 0:e.validationErrorMessage)||"",g=(null==e?void 0:e.requiredErrorMessage)||F,y={...m},e.required&&(y.required=null==g||g),h&&(y.pattern instanceof RegExp&&(y.pattern={value:y.pattern,message:h}),"number"==typeof y.maxLength&&(y.maxLength={value:y.maxLength,message:h}),"number"==typeof y.minLength&&(y.minLength={value:y.minLength,message:h})),y);if(b===c.ac.Tn.SELECT)return(0,a.jsx)(aM.xI,{name:e.apiFieldName,control:ec,rules:x,defaultValue:e.defaultValue,render:t=>{var l,n,r,o,s;let{field:d,fieldState:c}=t;return(0,a.jsx)("div",{className:ng()["form-field"],children:(0,a.jsx)(aG,{name:e.apiFieldName,label:e.label,placeholder:e.placeholder,required:e.required,optionalLabel:null!=(l=e.optionalLabel)?l:M,options:e.selectOptions,value:i.M$.isEditing?null!=(n=e.defaultValue)?n:"":null!=(r=d.value)?r:"",onChange:eT(d),invalid:c.invalid,val
26idationHint:null!=(o=null==(s=c.error)?void 0:s.message)?o:e.infoMessage})})}},e.apiFieldName);if(b===c.ac.Tn.TEXT_INPUT)return(0,a.jsx)(aM.xI,{name:e.apiFieldName,control:ec,defaultValue:null!=(n=e.defaultValue)?n:"",rules:x,render:t=>{var l,n,r,o,s,d;let{field:u,fieldState:p}=t;return(0,a.jsx)("div",{className:ng()["form-field"],children:(0,a.jsx)(a5,{name:e.apiFieldName,label:e.label,placeholder:e.placeholder,required:e.required,optionalLabel:null!=(l=e.optionalLabel)?l:M,value:i.M$.isEditing?null!=(n=e.defaultValue)?n:"":null!=(r=u.value)?r:"",onChange:eT(u),onBlur:u.onBlur,inputType:null!=(o=null==f?void 0:f.inputType)?o:c.ac.nl.TEXT,autoComplete:null==f?void 0:f.autoComplete,invalid:p.invalid,validationHint:null!=(s=null==(d=p.error)?void 0:d.message)?s:e.infoMessage,locale:Y})})}},e.apiFieldName);if(b===c.ac.Tn.TEXTAREA)return(0,a.jsx)(aM.xI,{name:e.apiFieldName,control:ec,defaultValue:null!=(r=e.defaultValue)?r:"",rules:x,render:t=>{var l,n,r,o,s;let{field:d,fieldState:c}=t;return(0,a.jsx)("div",{className:ng()["form-field"],children:(0,a.jsx)(aK,{name:e.apiFieldName,label:e.label,placeholder:e.placeholder,required:e.required,optionalLabel:null!=(l=e.optionalLabel)?l:M,value:i.M$.isEditing?null!=(n=e.defaultValue)?n:"":null!=(r=d.value)?r:"",onChange:eT(d),onBlur:d.onBlur,invalid:c.invalid,validationHint:null!=(o=null==(s=c.error)?void 0:s.message)?o:e.infoMessage})})}},e.apiFieldName);if(b===c.ac.Tn.CHECKBOX){let t=null!=(o=e.defaultChecked)&&o;return(0,a.jsx)(aM.xI,{name:e.apiFieldName,control:ec,rules:x,defaultValue:t,render:l=>{var n,r,o;let{field:s,fieldState:d}=l;return(0,a.jsx)("div",{className:(0,K.$)(ng()["form-field"],ng()["form-field--checkbox"]),children:(0,a.jsx)(nn,{name:e.apiFieldName,label:e.label,richTextLabel:e.checkboxRichTextLabel,required:e.required,checked:i.M$.isEditing?t:!!s.value,optionalLabel:null!=(n=e.optionalLabel)?n:M,onChange:eT(s),onBlur:s.onBlur,invalid:d.invalid,validationHint:null!=(r=null==(o=d.error)?void 0:o.message)?r:e.infoMessage})})}},e.apiFieldName)}if(b===c.ac.Tn.QUIZ){let n=null!=(s=e.quizAllowMultiple)&&s,r=function(e,t){let l=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Array.isArray(e)?no(e.filter(e=>e.preselected||e.value===t).map(e=>e.value).filter(e=>!!e),l):null!=t?t:""}(e.quizOptions,e.defaultValue,n),o=ew(t);return(0,a.jsx)(aM.xI,{name:e.apiFieldName,control:ec,rules:x,defaultValue:r,render:t=>{var s,d,c,u,p;let{field:m,fieldState:h}=t;return(0,a.jsx)("div",{className:(0,K.$)(ng()["form-field"],ng()["form-field--quiz"]),children:(0,a.jsx)(np,{name:e.apiFieldName,label:e.label,required:e.required,optionalLabel:null!=(s=e.optionalLabel)?s:M,options:null!=(d=e.quizOptions)?d:[],multiple:n,value:i.M$.isEditing?r:null!=(c=m.value)?c:"",onCh
26ange:e=>{eT(m)(e),!i.M$.isEditing&&o&&!n&&e&&(l.isLastStep?l.submit():l.advanceToNext())},onClick:()=>{i.M$.isEditing&&!n&&l.advanceToNext()},invalid:h.invalid,validationHint:null!=(u=null==(p=h.error)?void 0:p.message)?u:e.infoMessage})})}},e.apiFieldName)}if(b===c.ac.Tn.HIDDEN){let t=null!=(d=e.defaultValue)?d:"";return t?(0,a.jsx)(aM.xI,{name:e.apiFieldName,control:ec,defaultValue:t,rules:x,render:()=>(0,a.jsx)(a3,{name:e.apiFieldName,value:t})},e.apiFieldName):null}return(0,a.jsx)("div",{className:ng()["form-field"],children:(0,a.jsx)(v.A,{message:"Please select API field name to render the field!"})},e.apiFieldName)})(l,e,t))}},es.activeStepIndex),Object.keys(aA).map(e=>{var t,l;let n=aA[e];if(!n)return null;let r=null!=(t=null==(l=n.getValue)?void 0:l.call(n,{locale:Y,departmentId:E,mandateId:Z,sessionQuery:eo,request:W,submitRedirectUrl:_,consentStatus:ei.consentStatus,steps:f}))?t:"";return r?(0,a.jsx)(aM.xI,{name:e,control:ec,defaultValue:r,render:()=>(0,a.jsx)(a3,{name:e,value:r})},e):null}),null==B?void 0:B.map(e=>{var t;let l=null!=(t=eo[e])?t:"";if(!l)return null;let n=Array.isArray(l)?l.join(","):l;return n?(0,a.jsx)(aM.xI,{name:e,control:ec,defaultValue:n,render:()=>(0,a.jsx)(a3,{name:e,value:n})},e):null})]})},options:{name:"Leads Form",inputs:[{name:"name",type:"string"},{name:"apiDestination",type:"enum",enum:Object.values(c.ac.zF).map(e=>({label:e===c.ac.zF.LEADS_MIDDLEWARE?"Middleware (only to selective use-case)":e,value:e})),defaultValue:c.ac.zF.LEADS_API,helperText:"The API destination for the lead form"},{name:"departmentId",type:"enum",enum:[...Object.values(c.ac.Wr)],helperText:"The department identifier will be used during LeadSourceWebsite API field generation."},{name:"requiredErrorMessage",type:"string",helperText:"The error message to display when a required field is not filled out for all fields in the form. Can be overridden for individual fields.",localized:!0},{name:"optionalLabel",type:"string",helperText:"The label to display for optional fields. Can be overridden for individual fields.",localized:!0},{name:"stepsProgressBarContent",type:"richText",helperText:'If specified, displays a progress bar above multi-step forms. Use %CURRENT% and %TOTAL% placeholders (e.g. "Step %CURRENT% of %TOTAL%").',localized:!0},{name:"shouldAlwaysLoadInitialStep",type:"boolean",defaultValue:!1,helperText:"When enabled, always shows the first form step on page reload or revisit, regardless of saved progress."},{name:"queryParamsInHiddenFields",type:"Tags",helperText:"The query params to be set as hidden fields.",localized:!0},{name:"submitButtonLabel",type:"string",helperText:"The label of the submit button. Can be overwritten per step.",localized:!0},{name:"submitButtonTrackingId",type:"string",helperText:'The tracking ID for the submit button. If not provided, it will be generated based on the department ID (e.g. "form_submission@Marketing_Cloud_Only").',localized:!0},{name:"submitRedirectUrl",type:"string",localized:!0,helperText:'The URL to redirect to after submitting the step. Takes precedence over the "thank you" content.'},{name:"thankYouHeading",type:"richText",helperText:'The heading of the "thank you" content. Appears after the form is submitted and if no submit redirect URL is provided.',localized:!0},{name:"thankYouContent",type:"richText",helperText:'The content of the "thank you" content. Appears after the form is submitted and if no submit redirect URL is provided.',localized:!0},{name:"returningVisitorHeading",type:"richText",helperText:'The heading of the "returning visitor" content. Appears after the form is submitted and if the visitor is a returning visitor.',localized:!0},{name:"returningVisitorContent",type:"richText",helperText:'The content of the "returning visitor" content. Appears after the form is submitted and if the visitor is a returning visitor.',localized:!0},{name:"downloadFileUrl",type:"string",helperText:"The URL of the file to download. Appears after the form is submitted and if the visitor is a returning visitor.",localized:!0},{name:"downloadFileLabel",type:"string",helperText:"The label of the file to download. Appears after the form is submitted and if the visitor is a returning visitor.",localized:!0},{name:"downloadFileTrackingId",type:"string",helperText:"The tracking ID for the file to download. Appears after the form is submitted and if the visitor is a returning visitor."},{name:"defaultPrevButtonLabel",type:"string",helperText:"The label of the previous button. Can be over
26written per step.",localized:!0},{name:"defaultPrevButtonTrackingId",type:"string",helperText:"The default tracking ID for the previous button. All previous buttons will use this tracking ID if not provided per step.",localized:!0},{name:"defaultNextButtonLabel",type:"string",helperText:"The label of the next button. Can be overwritten per step.",localized:!0},{name:"defaultNextButtonTrackingId",type:"string",helperText:"The default tracking ID for the next button. All next buttons will use this tracking ID if not provided per step.",localized:!0},{name:"disableDataStorageAndPrefill",type:"boolean",helperText:"Whether to disable data storage and prefill for the form. If enabled, the form will not store the data and will not prefill the form with the data from the previous step.",defaultValue:!1},{name:"steps",type:"list",localized:!0,copyOnAdd:!1,subFields:[{name:"name",type:"string",helperText:"The name of the step for internal use"},{name:"subHeadline",type:"richText",helperText:"The sub headline of the step",localized:!0},{name:"disclaimer",type:"richText",helperText:"The disclaimer of the step",localized:!0},{name:"prevButtonLabel",type:"string",helperText:"The label of the previous button",localized:!0},{name:"prevButtonTrackingId",type:"string",helperText:"The tracking ID for the previous button",localized:!0},{name:"nextButtonLabel",type:"string",helperText:"The label of the next button which will be used on all steps except the last step. If the step is the last step, the submit button label will be used.",localized:!0},{name:"nextButtonTrackingId",type:"string",helperText:"The tracking ID for the next button",localized:!0},{name:"shouldSendStepToApi",type:"boolean",defaultValue:!1,helperText:"Whether to submit the step data to the API on the step. By default it will only submit the step data to the API on the last step."},{name:"fullWidthButtons",type:"boolean",helperText:"Whether to make the buttons full width"},{name:"layout",helperText:"How to arrange the fields in the step.",type:"enum",enum:[...Object.values(aw)],defaultValue:aw.ONE_COLUMN},{name:"shouldDownloadFile",type:"boolean",defaultValue:!1,helperText:"Whether to download the file after the form is submitted or next step is loaded."},{name:"fields",friendlyName:"Fields",helperText:"The fields of the lead form",type:"list",localized:!0,copyOnAdd:!1,subFields:[{name:"apiFieldName",helperText:"The name of the field sent to Leads API. Most fields render based on this name; some fields also use Form Element below.",type:"enum",enum:[...aE]},{name:"formElement",friendlyName:"Form Element",helperText:"Choose whether this field renders as a quiz or a dropdown select.",type:"enum",enum:[nD,nU],showIf:nG},{name:"label",showIf:nV,type:"string",localized:!0},{name:"placeholder",type:"string",localized:!0,showIf:nH},{name:"required",showIf:nV,type:"boolean",defaultValue:!1},{name:"requiredErrorMessage",showIf:nW,type:"string",helperText:"The error message to display when a required field is not filled out.",localized:!0},{name:"validationErrorMessage",showIf:nX,type:"string",helperText:"The error message to display when a field is not filled out correctly.",localized:!0},{name:"infoMessage",showIf:nV,type:"string",helperText:"The message to display as a hint text under the field.",localized:!0},{showIf:nq,name:"optionalLabel",localized:!0,type:"string"},{showIf:nY,name:"selectOptions",helperText:"The options for the select",type:"list",localized:!0,copyOnAdd:!1,subFields:[{name:"value",type:"string"},{name:"label",type:"string",localized:!0}]},{showIf:nZ,name:"quizOptions",helperText:"The options for the quiz field",type:"list",localized:!0,copyOnAdd:!1,subFields:[{name:"value",type:"string"},{name:"label",type:"string",localized:!0},{name:"icon",type:"file"},{name:"preselected",type:"boolean",defaultValue:!1,helperText:"Whether this option is selected by default when the form loads"}]},{showIf:nZ,name:"quizAllowMultiple",type:"boolean",defaultValue:!1,helperText:"Whether the quiz field allows multiple selections"},{name:"defaultValue",showIf:nQ,localized:!0,helperText:"The default value for the field",type:"string"},{showIf:nK,name:"defaultChecked",helperText:"Whether the checkbox is checked by default",type:"boolean",defaultValue:!1},{showIf:nK,name:"checkboxRichTextLabel",type:"richText",helperText:"The rich text label for the checkbox. Takes precedence over the label field.",localized:!0}]}]},{name:"contentfulId",type:"string",hideFromUI:!0,helperText:"Contentful ID for the lead form section"}],noWrap:!0}},n0={component:()=>(0,a.jsx)("div",{children:"TODO: LegalCaseForm"}),options:{name:"Legal Case Form",inputs:[{name:"name",type:"string"},{name:"subject",friendlyName:"Subject (Case Type)",helperText:"The subject of the legal case form defines the case type.",type:"enum",enum:["Accessibility Form","Bereavement Form","Complaints Form","Credit Card Holder Form","Incapacitated Merchant Form","Insolvency Form","Police Form","Seizure Claim Form"]},{name:"caseClassification",friendlyName:"Case Classification",helperText:"The case classification of the legal case form.",type:"enum",enum:["Profile-Merchant Profile-GDPR-Special care","Profile-Merchant Profile-Sensitive-Bereavement","Non Merchant-Cardh
26older-GDPR-CCH request","Profile-Merchant Profile-Sensitive-Incapacitated","Profile-Merchant Profile-Money claim-Insolvency","Profile-Security-AML-Police request","Insolvency Money claims"]},{name:"origin",friendlyName:"Origin",helperText:"The origin of the legal case form.",type:"enum",enum:["WeCare","Police","GDPR Queries","Insolvency Money claims","Profile-Merchant Profile-Money claim-Seizure"]},{name:"steps",type:"list",localized:!0,subFields:[{name:"name",type:"string"},{name:"fields",friendlyName:"Fields",helperText:"The fields of the legal case form",type:"list",localized:!0,subFields:[{name:"name",type:"string"},{name:"apiFieldName",helperText:"The name of the field that is sent to Legal Case API",type:"enum",enum:["name","email","phoneNumber","country","records","description"]},{name:"apiDescriptionKey",type:"string",helperText:"Key for value when added into `description` API field",showIf:e=>"description"===e.get("apiFieldName")},{name:"formElement",friendlyName:"Form Element",helperText:"The form element that is displayed to the user",type:"enum",enum:["Text","Email","Phone","Select","Checkbox","Quiz","Textarea","Hidden","File"]}]}]},{name:"enableCaptcha",type:"boolean",defaultValue:!0,helperText:"Enable captcha for the legal case form"},{name:"contentfulId",type:"string",hideFromUI:!0,helperText:"Contentful ID for the legal form section"}],noWrap:!0}},n1={name:"Website Forms",permissions:{allowedRoles:[c.cL.gc.CONTENT_EDITOR]},items:[{name:"Leads Form"},{name:"Legal Case Form"}]};var n2=l(30514),n4=l.n(n2),n5=l(54970),n3=l.n(n5);let n9=[{src:"https://www.sumup.com/builder-next-assets/_next/static/media/sky-a.99a3b7c7.webp",height:682,width:1024,blurDataURL:"data:image/webp;base64,UklGRkYAAABXRUJQVlA4IDoAAADwAQCdASoIAAUAAkA4JbACdLoAAmNgxQAA/tTgYKp4UmfXorSi9P/ln/vk8/vID+OJop3s9Q9EJxAA",blurWidth:8,blurHeight:5},{src:"https://www.sumup.com/builder-next-assets/_next/static/media/sky-b.e7f54efa.webp",height:735,width:1024,blurDataURL:"data:image/webp;base64,UklGRkoAAABXRUJQVlA4ID4AAACwAQCdASoIAAYAAkA4JbACdAEOuwSAAP3gG0KEAyqBPJt1n9/5aXn97tjf8rypZ/ma5PR5o++KG6cIlsAAAA==",blurWidth:8,blurHeight:6},{src:"https://www.sumup.com/builder-next-assets/_next/static/media/sky-c.8551b23e.webp",height:735,width:1024,blurDataURL:"data:image/webp;base64,UklGRkYAAABXRUJQVlA4IDoAAADQAQCdASoIAAYAAkA4JbACdAEQD1MewAD+lP7s4qgGX/5aw7D/mXY3+5TYp+pg08hZH5G++KGmh3AA",blurWidth:8,blurHeight:6}],n6=[...n9,...n9],n8=100/n6.length,n7=.5*n8,re=()=>(0,a.jsx)("div",{className:n3().root,"aria-hidden":"true","data-testid":"highlight-box-animation",children:(0,a.jsx)("div",{className:n3().strip,children:n6.map((e,t)=>(0,a.jsx)("div",{className:(0,K.$)(n3().slot),style:{left:`${t*n8-n7}%`,width:`${n8+2*n7}%`},children:(0,a.jsx)(e_.p$,{src:e,alt:"",fill:!0,sizes:"min(200vw, 2880px)",className:n3().image,loading:"lazy",priority:!1,quality:60,fetchPriority:"low"})},t))})}),rt={[eG.y.MOBILE]:"small",[eG.y.TABLET]:"medium",[eG.y.DESKTOP]:"large"};function rl(e,t,l){let{responsiveStyles:a}=e,n=rt[t],r=null==a?void 0:a[n];if(r&&l in r&&r[l])return r[l];let i=rt[eG.y.DESKTOP],o=null==a?void 0:a[i];if(o&&l in o&&o[l])return o[l]}let ra=(0,i.OF)(e=>{let t,l,n,{highlight:r=!1,showBadge:i=!1,badgeLabel:o="",attributes:s,children:d,builderBlock:c}=e,{className:u,key:p,...m}=s,h=(0,eY.A)(),g=(t=rl(c,h,"borderRadius"),l=rl(c,h,"paddingTop"),n=rl(c,h,"paddingBottom"),{"--outer-border-radius":t,"--padding-top":l,"--padding-bottom":n,"--padding-left":rl(c,h,"paddingLeft"),"--padding-right":rl(c,h,"paddingRight")});return(0,a.jsxs)("div",{...m,className:(0,K.$)(u,n4().highlightBox),"data-testid":"highlight-box-container",children:[r&&(0,a.jsx)(re,{}),(0,a.jsx)("div",{className:n4().content,style:g,"data-testid":"highlight-box-content",children:d}),i&&(null==o?void 0:o.length)>0&&(0,a.jsx)("div",{className:n4().badge,"data-testid":"highlight-box-badge",children:o})]},p)}),rn=(0,i.OF)(e=>{let{builderState:t,builderBlock:l,...n}=e,{key:r,...i}=e.attributes||{};return(0,a.jsx)(s.Anchor,{...i,...n,dynamicTrackingIdData:{href:n.href,builderState:t},style:{width:"100%",height:"100%"},children:e.children},r)}),rr={name:"Layout",permissions:{allowedRoles:[c.cL.gc.DESIGNER_EDITOR]},items:[{name:"Core:Section"},{name:"Columns"},{name:"Box"},{name:"Canvas"},{name:"Slot"},{name:"CUI:Box"},{name:"CUI:AnchorBox"}]},ri=[...td,tu,am,av,af,ay,ap,ax,{component:lO,options:{name:"Trustpilot",image:"https://cdn.builder.io/api/v1/image/assets%2F970aa68ef5444888893ac22df7f024eb%2Ff1e1536809c14b57b2feb1f23be35378",input
26s:l$}},...au,nJ,n0,{component:ra,options:{name:"CUI:Box",friendlyName:"Highlight Box",canHaveChildren:!0,noWrap:!0,image:"https://cdn.builder.io/api/v1/assets/970aa68ef5444888893ac22df7f024eb/box-menu-item",inputs:[{name:"highlight",type:"boolean",helperText:"Adds an animated border highlight around the box"},{name:"showBadge",type:"boolean",helperText:"Adds a badge to the top center of the box"},{name:"badgeLabel",type:"string",helperText:"The label of the badge",showIf:e=>!0===e.get("showBadge")}],defaultChildren:[],defaultStyles:{height:"auto",flexGrow:"1",background:"var(--cui-bg-normal)"}}},{component:rn,options:{name:"CUI:AnchorBox",image:"https://cdn.builder.io/api/v1/image/assets%2F970aa68ef5444888893ac22df7f024eb%2F5e03c8ceadda439cbd6c6ed20d5a0b6f",inputs:[{name:"href",type:"url",localized:!0},{name:"trackingId",type:"text"}],noWrap:!0,canHaveChildren:!0,defaultChildren:[]}}];function ro(e){let t=i.M$.isPreviewing||i.M$.isEditing||e.forcePreview;return e.content||t?(0,a.jsx)(i.RZ,{...e,renderLink:s.renderLink,stopClickPropagationWhenEditing:!0}):((0,r.notFound)(),null)}function rs(e){let{userAttributes:t={}}=e,{customState:l}=(0,d.usePageState)();(0,n.useEffect)(()=>{(0,o.PR)(t)},[t]);let r=(0,n.useMemo)(()=>{var t;return{...null!=(t=e.data)?t:{},customState:l}},[e.data,l]);return(0,a.jsx)(ro,{...e,data:r,forcePreview:e.forcePreview})}function rd(e){let{customState:t}=(0,d.usePageState)(),l=(0,n.useMemo)(()=>{var l;return{...null!=(l=e.data)?l:{},customState:t}},[e.data,t]);return(0,a.jsx)(ro,{...e,data:l})}(0,o.P)({fontFamily:[{name:"Narrow",value:"var(--cui-font-stack-default)"},{name:"Black",value:"var(--cui-font-stack-display)"}
26],spacing:[{name:"None",value:"0px"},{name:"Bit",value:"var(--cui-spacings-bit)"},{name:"Byte",value:"var(--cui-spacings-bit)"},{name:"Kilo",value:"var(--cui-spacings-kilo)"},{name:"Mega",value:"var(--cui-spacings-mega)"},{name:"Giga",value:"var(--cui-spacings-giga)"},{name:"Tera",value:"var(--cui-spacings-tera)"},{name:"Peta",value:"var(--cui-spacings-peta)"},{name:"Exa",value:"var(--cui-spacings-exa)"},{name:"Zetta",value:"var(--cui-spacings-zetta)"},{name:"Yotta",value:"var(--cui-spacings-yotta, 72px)"},{name:"Ronna",value:"var(--cui-spacings-ronna, 96px)"},{name:"Quetta",value:"var(--cui-spacings-quetta, 128px)"}],borderColor:[{name:"Normal",value:"var(--cui-border-normal)"},{name:"Subtle",value:"var(--cui-border-subtle)"},{name:"Divider",value:"var(--cui-border-divider)"},{name:"Strong",value:"var(--cui-border-strong)"},{name:"Accent",value:"var(--cui-border-accent)"},{name:"Success",value:"var(--cui-border-success)"},{name:"Warning",value:"var(--cui-border-warning)"},{name:"Danger",value:"var(--cui-border-danger)"},{name:"Promo",value:"var(--cui-border-promo)"},{name:"Focus",value:"var(--cui-border-focus)"},{name:"Brand",value:"var(--cui-border-brand, #ff61f2)"}],borderRadius:[{name:"Bit",value:"var(--cui-border-radius-bit)"},{name:"Byte",value:"var(--cui-border-radius-byte)"},{name:"Kilo",value:"var(--cui-border-radius-kilo)"},{name:"Mega",value:"var(--cui-border-radius-mega)"},{name:"Giga",value:"var(--cui-border-radius-giga, 24px)"},{name:"Tera",value:"var(--cui-border-radius-tera, 32px)"},{name:"Peta",value:"var(--cui-border-radius-peta, 40px)"},{name:"Circle",value:"var(--cui-border-radius-circle)"},{name:"Pill",value:"var(--cui-border-radius-pill)"}
26],borderWidth:[{name:"None",value:"0px"},{name:"Kilo",value:"var(--cui-border-width-kilo)"},{name:"Mega",value:"var(--cui-border-width-mega)"}],zIndex:[{name:"Default",value:"var(--cui-z-index-default)"},{name:"Absolute",value:"var(--cui-z-index-absolute)"},{name:"Input",value:"var(--cui-z-index-input)"},{name:"Popover",value:"var(--cui-z-index-popover)"},{name:"Tooltip",value:"var(--cui-z-index-tooltip)"},{name:"Header",value:"var(--cui-z-index-header)"},{name:"Navigation",value:"var(--cui-z-index-navigation)"},{name:"Toast",value:"var(--cui-z-index-toast)"}],backgroundColor:[{name:"Normal",value:"var(--cui-bg-normal)"},{name:"Subtle",value:"var(--cui-bg-subtle)"},{name:"Highlight",value:"var(--cui-bg-highlight)"},{name:"Strong",value:"var(--cui-bg-strong)"},{name:"Accent",value:"var(--cui-bg-accent)"},{name:"Accent - strong",value:"var(--cui-bg-strong)"},{name:"Success",value:"var(--cui-bg-success)"},{name:"Success - strong",value:"var(--cui-bg-success-strong)"},{name:"Warning",value:"var(--cui-bg-warning)"},{name:"Warning - strong",value:"var(--cui-bg-warning-strong)"},{name:"Danger",value:"var(--cui-bg-danger)"},{name:"Danger - strong",value:"var(--cui-bg-danger-strong)"},{name:"Promo",value:"var(--cui-bg-promo)"},{name:"Promo - strong",value:"var(--cui-bg-promo-strong)"},{name:"Overlay",value:"var(--cui-bg-overlay)"},{name:"Elevated",value:"var(--cui-bg-elevated)"},{name:"Neutral",value:"var(--cui-bg-neutral, #f0eee7)"},{name:"Neutral - strong",value:"var(--cui-bg-neutral-strong, #c7c3b3)"},{name:"Brand",value:"var(--cui-bg-brand, #ff61f2)"}],color:[{name:"Normal",value:"var(--cui-fg-normal)"},{name:"Subtle",value:"var(--cui-fg-subtle)"},{name:"Placeholder",value:"var(--cui-fg-placeholder)"},{name:"On strong",value:"var(--cui-fg-on-strong)"},{name:"On strong - subtle",value:"var(--cui-fg-on-strong-subtle)"},{name:"Accent",value:"var(--cui-fg-accent)"},{name:"Success",value:"var(--cui-fg-success)"},{name:"Warning",value:"var(--cui-fg-warning)"},{name:"Danger",value:"var(--cui-fg-danger)"},{name:"Promo",value:"var(--cui-fg-promo)"},{name:"Neutral",value:"var(--cui-fg-neutral, #655454)"},{name:"Brand",value:"var(--cui-fg-brand, #ff61f2)"}],fontWeight:[{name:"Regular",value:"var(--cui-font-weight-regular)"},{name:"Bold",value:"var(--cui-font-weight-bold)"}]},[rr,to,ts,tp,a_,aT,ac,n1],ri)},53480:e=>{e.exports={modal:"styles_modal__HeTuO",modalHeadline:"styles_modalHeadline__OpF4i",modalHr:"styles_modalHr__5GuuF",qrCode:"styles_qrCode__oS03D",qrCodeImage:"styles_qrCodeImage__gbaUV"}},54909:e=>{e.exports={wrapper:"style_wrapper__UUsVW",imageWrapper:"style_imageWrapper__ccS4U",headline:"style_headline__IZn5g"}},54970:e=>{e.exports={root:"styles_root__dZSXj",strip:"styles_strip__T0urZ",flow:"styles_flow__S4S1b",slot:"styles_slot__H7HxZ",image:"styles_image__yyKPB",mirrored:"styles_mirrored__RpQlc"}},55907:e=>{e.exports={"shop-catalog":"style_shop-catalog__N1vPh","shop-catalog-item":"style_shop-catalog-item__G01gE"}},60572:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});let a=l(48658).A},61732:(e,t,l)=>{"use strict";l.d(t,{PageStateProvider:()=>i,usePageState:()=>o});var a=l(95155),n=l(12115);let r=(0,n.createContext)(null);function i(e){let{children:t}=e,[l,i]=(0,n.useState)({}),o=(0,n.useCallback)((e,t)=>{i(l=>l[e]===t?l:{...l,[e]:t})},[]),s=(0,n.useMemo)(()=>({customState:l,setCustomState:o}),[l,o]);return(0,a.jsx)(r.Provider,{value:s,children:t})}function o(){let e=(0,n.useContext)(r);if(!e)throw Error("usePageState must be used within a PageStateProvider");return e}},63313:(e,t,l)=>{"use strict";l.d(t,{I:()=>s});var a=l(95155),n=l(29362),r=l(6361),i=l.n(r),o=l(64846);let s=e=>{var t;let{key:l,...r}=e.attributes||{},s=`https://circuit.sumup.com/icons/v2/${e.circuitIcon}.svg`,d=e.iconSrc||s;return(0,a.jsx)(o.p$,{...r,className:(0,n.$)(i().base,i()[e.size]),alt:null!=(t=e.altText)?t:"",width:0,height:0,sizes:"48px",src:d,loading:"lazy",priority:!1},l)}},63393:e=>{e.exports={wrapper:"style_wrapper__Ed_jX",button:"style_button__2woJa","button-body":"style_button-body__K2I31",content:"style_content__Aa2zN"}},64322:(e,t,l)=>{"use strict";l.d(t,{L:()=>a});let a={untilKilo:"(max-width: 599px)",kilo:"(min-width: 600px)",kiloToMega:"(min-width: 600px) and (max-width: 899px)",untilMega:"(max-width: 899px)",mega:"(min-width: 900px)",megaToGiga:"(min-width: 900px) and (max-width: 1199px)",untilGiga:"(max-width: 1199px)",giga:"(min-width: 1200px)",gigaToTera:"(min-width: 1200px) and (max-width: 1499px)",untilTera:"(max-width: 1499px)",tera:"(min-width: 1500px)"}},64846:(e,t,l)=>{"use strict";l.d(t,{_V:()=>u,LB:()=>o,Rn:()=>i,p$:()=>s});var a=l(95155),n=l(29362),r=l(5772);let i=75,o=100;function s(e){let{src:t,quality:l,builderQuality:n,width:i,height:o,noWebp:s,unoptimized:d,...c}=e,u="string"!=typeof t?t:function(e,t){let{quality:l,builderQuality:a,width:n,height:r,noWebp:i}=t;return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=null==e?void 0:e.trim();if(!l||t.skip||!function(e){try{let t=new URL(e);return"cdn.builder.io"===t.hostname&&t.pathname.startsWith("/api/v1/image/")}catch(e){return!1}}(l))return e;try{var a;let e=new URL(l),n=null!=(a=t.quality)?a:75;
26return e.searchParams.set("quality",String(n)),t.noWebp||function(e){try{return new URL(e).pathname.toLowerCase().endsWith(".svg")}catch(e){return!1}}(l)||e.searchParams.set("format","webp"),t.width&&t.width>0&&e.searchParams.set("width",String(Math.round(t.width))),t.height&&t.height>0&&e.searchParams.set("height",String(Math.round(t.height))),e.toString()}catch(t){return e}}(e,{quality:null!=a?a:l,width:"number"==typeof n&&n>0?n:void 0,height:"number"==typeof r&&r>0?r:void 0,noWebp:i})}(t,{quality:l,builderQuality:n,width:i,height:o,noWebp:s});return(0,a.jsx)(r.default,{src:u,quality:l,width:i,height:o,unoptimized:d,...c})}var d=l(94914),c=l.n(d);let u=e=>{let t,{image:l,alt:r,hoverEffect:i="none",hasGradientShadow:o=!1,overrideWidthAndHeight:d=!1,width:u,height:p,className:m,priority:h=!1,noWebp:g=!1,sizes:y}=e,{key:f,...v}=e.attributes||{},b=!!(u&&p);return d&&b?t={width:u,height:p}:b&&(t={aspectRatio:`${u} / ${p}`}),(0,a.jsxs)("div",{className:(0,n.$)(c().wrapper,c()[i],m),style:t,children:[(0,a.jsx)(s,{...v,src:l,alt:null!=r?r:"",width:b?u:0,height:b?p:0,sizes:(null==y?void 0:y.trim())||"(max-width: 768px) 100vw, (max-width: 1200px) min(100vw, 1200px), 1200px",style:{width:"100%",height:"100%"},priority:h||!1,loading:h?"eager":"lazy",noWebp:g},f),(0,a.jsx)("div",{className:o?c().gradientShadow:void 0})]})}},65525:e=>{e.exports={button:"style_button__u3LdR"}},67920:e=>{e.exports={container:"style_container__Zn0H6",billingCycleLabel:"style_billingCycleLabel__TBT0y"}},68326:(e,t,l)=>{"use strict";l.d(t,{W:()=>p});var a=l(95155),n=l(84038),r=l(29362),i=l(12115),o=l(14298),s=l(11486),d=l(16343),c=l.n(d),u=l(11960);let p=(0,l(94932).A)(e=>{let{size:t,text:l,weight:s,decoration:d,color:p,as:m,builderState:h,className:g,style:y,onHtmlLinkClick:f,disableSPANavigation:v=!1,disableAutomaticTracking:b=!1,dynamicTrackingIdData:x,..._}=e,{key:T,...w}=_.attributes||{},N=(0,u.useLinkContext)(),I=(0,i.useMemo)(()=>{var e;return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.includes('href="')?e.replace(/(<a\b[^>]*\bhref=")([^"]*)(")/gi,(e,l,a,n)=>{let r=t(String(a));return`${l}${r}${n}`}):e}(null!=(e=(0,o.VH)(l,h))?e:"",e=>(0,u.resolveLinkData)(e,N,b,x).visibleHref)},[l,h,N,b,x]);return(0,a.jsxs)(n.n,{size:t,weight:s,decoration:d,color:p,style:y,as:"div",className:(0,r.$)(c().longtext,g),...w,children:[(0,a.jsx)("div",{onClick:e=>{var t,a,n;let r=null!=(a=Array.from((null!=(t=(0,o.VH)(l,h))?t:"").matchAll(/<a\b[^>]*\bhref="([^"]*)"/gi)).map(e=>e[1]))?a:[],i=e.target,s=null==i?void 0:i.closest("a");if(s&&e.currentTarget.contains(s)){e.preventDefault();let t=s.getAttribute("href");if(!t)return;let l=null!=(n=r.find(e=>e.includes(t)))?n:t,{hrefWithQueryParams:a,formattedURLObject:i,trackingId:o,linkInfo:d}=(0,u.resolveLinkData)(l,N,b,x),c=(0,u.getClickHandler)(void 0,{router:N.router,navigationHref:a,locale:N.request.locale,url:i,environment:N.environment,trackingId:o,disableSPANavigation:v,linkInfo:d});f&&f(e,s),c()}},dangerouslySetInnerHTML:{__html:I}})," "]},T)},{when:e=>null==e||!e.text||!(0,s.h)(e.text),componentName:"LongText",missingFields:["text"],defaultsFn:()=>({text:"<p>[mocked data] Long Text</p>"})})},70015:e=>{e.exports={item:"ProductComparisonItem_item__rT5st",placeholderWrapper:"ProductComparisonItem_placeholderWrapper__9v4_D",card:"ProductComparisonItem_card__QBWty",group:"ProductComparisonItem_group__YizY0",groupTop:"ProductComparisonItem_groupTop__kE9bL",groupBottom:"ProductComparisonItem_groupBottom__XFU9t",usp:"ProductComparisonItem_usp__xSYaR"}},72290:e=>{e.exports={section:"styles_section__V0kPJ",headline:"styles_headline__beRa3",body:"styles_body__P5F3B",textContainer:"styles_textContainer__Zdt2B",sticky:"styles_sticky__zX012",backdrop:"styles_backdrop__yFLkA",sideImage:"styles_sideImage__LJnn2",videoSlot:"styles_videoSlot__hTaKx",backgroundVideo:"styles_backgroundVideo__Fq6yr",ctaContent:"styles_ctaContent__cHrMo",columnWrapper:"styles_columnWrapper__yf_vY",storeLogoGroup:"styles_storeLogoGroup___ssVv",storeLogo:"styles_storeLogo__aZ3He",buttonGroup:"styles_buttonGroup__cjbb0",button:"styles_button__UDQSN"}},74158:e=>{e.exports={"trustpilot-container":"styles_trustpilot-container__Tq4W_","trustpilot-widget-container":"styles_trustpilot-widget-container__QxOpD"}},74346:e=>{e.exports={switcher:"styles_switcher__ISZrm"}},80432:e=>{e.exports={controls:"style_controls__fwfcM"}},85571:e=>{e.exports={wrapper:"style_wrapper__pjODT",inner:"style_inner__zFXW0",wrapperW
26ithUkBadge:"style_wrapperWithUkBadge__d9nJ2",mainRow:"style_mainRow__wsu_y",mtdBadgeSlot:"style_mtdBadgeSlot__jnb98",body:"style_body__9UUjT",icon:"style_icon__D3Oca"}},87294:e=>{e.exports={wrapper:"style_wrapper__WDihf","modal-children-wrapper":"style_modal-children-wrapper__B2yIe","modal-content-wrapper":"style_modal-content-wrapper__WnGgc",price:"style_price__k6kiS","price-with-vat":"style_price-with-vat__kn3W1","shipping-cost":"style_shipping-cost__CUFMB","money-back-guarantee":"style_money-back-guarantee__22q8P","discounted-price":"style_discounted-price__b0Ebw","strike-through":"style_strike-through__OVy6D","shop-catalog-label":"style_shop-catalog-label___Xid0"}},88189:e=>{e.exports={container:"style_container__TFtmS",message:"style_message__ph1nE",warning:"style_warning__6qALp",info:"style_info__xGszp",success:"style_success__irAWO",danger:"style_danger__egxhT"}},88936:e=>{e.exports={display:"styles_display__f1GtA"}},89964:(e,t,l)=>{"use strict";l.d(t,{ConsentProvider:()=>s,S:()=>o});var a=l(95155),n=l(12115),r=l(93205);let i=(0,n.createContext)({consentStatus:{allAccepted:!1,onlyStrict:!0}});function o(){return(0,n.useContext)(i)}function s(e){let{children:t,serverConsentStatus:l}=e,[o,s]=(0,n.useState)(l);return(0,n.useEffect)(()=>{(0,r.cj)(e=>{s(e)})},[]),(0,a.jsx)(i.Provider,{value:{consentStatus:o},children:t})}},90471:e=>{e.exports={controls:"styles_controls__ZASMJ"}},92333:(e,t,l)=>{"use strict";l.d(t,{y:()=>a});let a={MOBILE:"mobile",DESKTOP:"desktop",TABLET:"tablet"};a.TABLET,a.DESKTOP,a.MOBILE},93466:e=>{e.exports={wrapper:"style_wrapper__mcIXx"}},94308:e=>{e.exports={list:"style_list__LZ81_"}},94914:e=>{e.exports={wrapper:"styles_wrapper__rXkMY",zoom:"styles_zoom__UHKMB",gradientShadow:"styles_gradientShadow__Di8AC"}},94932:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var a=l(95155),n=l(12115),r=l(46685),i=l(29362),o=l(18074),s=l(88189),d=l.n(s);function c(e,t){var l,s;let{when:c,componentName:u,missingFields:p=[],defaultsFn:m=()=>({}),message:h,variant:g="warning",wrapperClassName:y}=t,f=t=>{var l;let s=(0,n.useRef)(null),u=(0,n.useRef)(!1),f=c(t);if((0,n.useEffect)(()=>{r.M$.isEditing&&(f?u.current=!0:(s.current=t,u.current=!1))}),!r.M$.isEditing||!f)return(0,a.jsx)(e,{...t});if(!u.current&&null!==s.current)return(0,a.jsx)(e,{...s.current});let v={...t,...m(t)},b=null!=(l=null==p?void 0:p.join(", "))?l:"";return(0,a.jsxs)("div",{className:null!=y?y:d().container,children:[(0,a.jsx)(e,{...v}),p.length>0?(0,a.jsxs)("span",{className:(0,i.$)(d().message,d()[g]),"data-testid":"editor-placeholder-message",children:[(0,a.jsx)(o.M,{size:"16"}),null!=h?h:`Missing fields required for correct display (${b}).
27              Rendered with placeholder data.`]}):null]})};return f.displayName=`withEditorPlaceholder(${null!=(l=null!=(s=e.displayName)?s:e.name)?l:u})`,f}},95543:(e,t,l)=>{"use strict";function a(){return"production"}l.d(t,{A:()=>a})},95629:e=>{e.exports={button:"style_button__Dg_ej"}},98846:(e,t,l)=>{"use strict";function a(e){return e.replace(/([A-Z])/g,"_$1").replace(/[^a-zA-Z0-9]+/g,"_").toLowerCase().replace(/^_+|_+$/g,"")}l.d(t,{A:()=>n});let n=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return(function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return e=>t.reduceRight((e,t)=>t(e),e)})(e=>e.join("@"),e=>e.map(a),e=>e.filter(Boolean))(t)}}}]);

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.