https://www.indigoneo.lu/_next/static/chunks/pages/purchase/subscription/address-700acf387f6d45af.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1970],{415:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c,M:()=>s});var r=n(78854),i=n(53298),a=n(35358),l=n(59507),o=n.n(l),s=function(e){return e.TopOfScreen="topOfScreen",e.Inline="inline",e}({});function c(e){let{className:t,label:n,position:l}=e;return(0,r.FD)("div",{className:(0,i.A)(t,o().bannerWithPattern,{[o().topOfScreenPosition]:"topOfScreen"===l,[o().inlinePosition]:"inline"===l}),children:[(0,r.Y)(a.$1,{className:o().leftPattern}),(0,r.Y)(a.GZ,{className:o().rightPattern}),(0,r.Y)("div",{className:o().label,children:"string"==typeof n.children?(0,r.Y)("div",{className:o().title,children:n.children}):n.children})]})}},1988:e=>{e.exports={subscriptionBanner:"SubscriptionBanner_subscriptionBanner__DC9vF"}},2167:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});var r=n(52184),i=n(97323);let a=()=>{let e=(0,i.useContext)(r.C);if(!e)throw Error("React context not found.");return e}},3348:(e,t,n)=>{"use strict";n.d(t,{EU:()=>p,m9:()=>_,qY:()=>h,aR:()=>m,II:()=>g,yw:()=>v});var r=n(78854),i=n(53298),a=n(35358),l=n(70524),o=n(81646),s=n.n(o),c=function(e){return e.Info="info",e.Valid="valid",e.Warning="warning",e.Error="error",e.Alert="alert",e.New="new",e}({});let d={info:a.ai,valid:a.iW,warning:a.GC,error:a.UH,alert:a.GC,new:a.Aw};function u(e){let{action:t,title:n,label:a,variant:o,dataCy:c}=e,u=(0,i.A)(s().infoView,{[s().info]:["info","new"].includes(o),[s().valid]:"valid"===o,[s().warning]:"warning"===o,[s().error]:["error","alert"].includes(o)}),p=d[o];return(0,r.FD)("div",{className:u,"data-cy":c,children:[(0,r.FD)("div",{className:s().leftPart,children:[(0,r.Y)("div",{className:s().iconWrapper,children:(0,r.Y)(p,{className:s().icon})}),(0,r.Y)("div",{className:s().curvedLine})]}),(0,r.FD)("div",{className:s().contentContainer,children:[(0,r.FD)("section",{className:s().contentWrapper,children:[n&&(0,r.Y)("h2",{className:s().title,children:n}),(0,r.Y)("div",{className:s().content,children:a})]}),t&&(0,r.Y)(l.Yq,{className:(0,i.A)(s().action,t.className),...t})]})]})}function p(e){return(0,r.Y)(u,{...e,variant:c.Alert})}function _(e){return(0,r.Y)(u,{...e,variant:c.Error})}function h(e){return(0,r.Y)(u,{...e,variant:c.Info})}function m(e){return(0,r.Y)(u,{...e,variant:c.New})}function g(e){return(0,r.Y)(u,{...e,variant:c.Valid})}function v(e){return(0,r.Y)(u,{...e,variant:c.Warning})}},6895:e=>{e.exports={container:"ContentWithSummaryTemplate_container__m0mku",withStepper:"ContentWithSummaryTemplate_withStepper__zjqCT",content:"ContentWithSummaryTemplate_content__dxWxu",summary:"ContentWithSummaryTemplate_summary__wUQuM",stepper:"ContentWithSummaryTemplate_stepper__hdee1"}},11405:e=>{e.exports={emptyState:"EmptyState_emptyState___99nJ",errorMessageContainer:"EmptyState_errorMessageContainer__zlCfr",title:"EmptyState_title__m6gjy",description:"EmptyState_description__uxBaS",illustration:"EmptyState_illustration__mvPCd"}},12031:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(78854),i=n(53298),a=n(97323),l=n(35358),o=n(68355),s=n.n(o);function c(e){let{steps:t,className:n}=e;return(0,r.Y)("div",{className:(0,i.A)(n,s().stepper),children:t.map((e,n)=>{let o=n+1,c=o<t.length,d=!e.isCompleted||e.isActive,u=void 0!==e.onClick,p=u?()=>{var t;return null==(t=e.onClick)?void 0:t.call(e)}:void 0;return(0,r.FD)(a.Fragment,{children:[(0,r.Y)("div",{className:(0,i.A)(s().step,{[s().current]:e.isActive,[s().completed]:e.isCompleted,[s().clickable]:u}),onClick:p,children:(0,r.Y)("div",{className:s().number,children:d?o:(0,r.Y)(l.Vs,{className:s().icon})})}),c&&(0,r.Y)("div",{className:(0,i.A)(s().separatorContainer,{[s().completed]:e.isCompleted}),children:(0,r.Y)("div",{className:s().separator})})]},n)})})}},24251:e=>{e.exports={contentWrapper:"SubscriptionPurchaseAddress_contentWrapper__IQdNA"}},28701:(e,t,n)=>{"use strict";n.d(t,{d:()=>p});var r=n(78854),i=n(53298),a=n(97323),l=n(61547),o=n(64254),s=n(90512),c=n(68237),d=n(74104),u=n.n(d);function p(e){let{className:t,error:n,toggleList:d}=e,p=n.isDisplayed;return(0,r.FD)("div",{className:u().legalTogglesTemplateContainer,children:[(0,r.Y)(l.GE,{className:(0,i.A)(u().paperContainer,t),state:p?l.NY.Error:l.NY.Default,variant:l.dg.WithInteractiveChildren,children:d.map((e,t)=>e?(0,r.FD)(a.Fragment,{children:[(0,r.Y)(o.dT,{...e}),t!==d.length-1&&(0,r.Y)(s.w,{variant:s.B.Horizontal})]},t):null)}),p&&(0,r.Y)(c.r9,{message:n.message,variant:c.Cz.Error})]})}}
1,29889:(e,t,n)=>{"use strict";n.d(t,{_:()=>u});var r=n(78854),i=n(63823),a=n(33982),l=n(7412),o=n(41785),s=n(42117),c=n.n(s),d=n(97323);let u=()=>{let e=(0,i.q)(),t=(0,d.useMemo)(()=>o.o.load(e),[]);return(0,r.Y)(a.p,{title:t.displayableLabels().title,description:t.displayableLabels().description,illustration:{component:l.RC},actions:{nextLink:{as:c(),href:t.getCtaUrl(),label:t.displayableLabels().cta}}})}},30516:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(78854),i=n(9980),a=n(41389),l=n(2167),o=n(33178),s=n(32922);let c=e=>{let{children:t}=e,{flowUI:n}=(0,l.l)(),c=(0,s.d4)(i.lt),d=!!(0,s.d4)(i.Hb),u=o.n.load({isLoadingAuthentication:c,isAuthenticated:d,navigationUI:n.getNavigationUI()});return u.shouldDisplayIsLoading()?null:(0,r.FD)(r.FK,{children:[u.shouldDisplayStepContent()&&t,u.shouldDisplayAuthentication()&&(0,r.Y)(a.k,{})]})};var d=n(52184),u=n(52651),p=n(14558);let _=e=>{let{children:t}=e;return(0,r.FD)(u.A,{children:[(0,r.Y)(d.O,{children:(0,r.Y)(c,{children:t})}),(0,r.Y)(p.A,{})]})}},33982:(e,t,n)=>{"use strict";n.d(t,{p:()=>p});var r=n(78854),i=n(53298),a=n(10559),l=n(61547),o=n(63496),s=n(11285);n(40571),n(28701),n(55789),n(68768);var c=n(24776),d=n(11405),u=n.n(d);function p(e){let{illustration:t,title:n,description:d,actions:p}=e,_=t.component;return(0,r.FD)(l.GE,{variant:l.dg.Default,state:l.NY.Default,className:u().emptyState,children:[(0,r.Y)(_,{className:(0,i.A)(u().illustration,t.className)}),(0,r.FD)("div",{className:u().errorMessageContainer,children:[(0,r.Y)("span",{className:u().title,children:n}),d&&(0,r.Y)("span",{className:u().description,children:d})]}),(0,c.W)(p)&&(0,r.Y)(s.O,{...p}),(0,a.DV)(p)&&(0,r.Y)(o.l,{...p})]})}},39218:(e,t,n)=>{"use strict";n.d(t,{G:()=>o});var r=n(78854),i=n(35358),a=n(55277),l=n.n(a);function o(e){let{text:t}=e;return(0,r.FD)("div",{className:l().loadingState,children:[(0,r.Y)(i.Cd,{className:l().icon}),t&&(0,r.Y)("div",{className:l().text,children:t})]})}},40571:(e,t,n)=>{"use strict";n.d(t,{m:()=>d});var r=n(78854),i=n(53298),a=n(97323),l=n(90489),o=n(12031),s=n(6895),c=n.n(s);let d=e=>{let{pageClassName:t,steps:n,content:s,summary:d}=e,[u,p]=(0,a.useState)(!1),_=n.length>0;return(0,r.FD)("div",{className:(0,i.A)(t,c().container,{[c().withStepper]:_}),children:[(0,r.Y)(l.W,{titleWhenOpened:d.mobileTitle.opened,titleWhenClosed:d.mobileTitle.closed,onClick:()=>{d.mobileTitle.onClick(),p(e=>!e)},className:c().summary,isOpen:u,children:d.children}),_&&(0,r.Y)("div",{className:c().stepper,children:(0,r.Y)(o.A,{steps:n})}),(0,r.Y)("div",{className:c().content,children:s.children})]})}},52184:(e,t,n)=>{"use strict";n.d(t,{C:()=>g,O:()=>v});var r=n(78854),i=n(63823),a=n(29889),l=n(52651),o=n(78740),s=n(97323),c=n(57243),d=n(96762),u=n(3582),p=n(46303),_=n(25121),h=n(14920),m=n(2996);let g=(0,s.createContext)(void 0),v=e=>{let{children:t}=e,n=(0,i.q)(),{flowUI:v}=(()=>{let e=(0,i.q)().translationRepository(),t=[(0,c._)(),(0,c._)(),(0,c._)(),(0,c._)(),(0,c._)(),(0,c._)()],n=(0,c.N)(!1),r=(0,c.N)(null),a=(0,c.N)(u.D.empty()),l=(()=>{let e="".concat(_.N_.ACCOUNT_SUBS.PATH,"/{subscriptionId}"),t=_.N_.HOME.PATH,n=_.N_.ACCOUNT_VEHICLES.PATH,r=_.N_.CARPARK.PATH,a="/purchase/subscription",l=[{name:"configuration",path:"".concat(a,"/configuration")},{name:"vehicles",path:"".concat(a,"/vehicles")},{name:"address",path:"".concat(a,"/address")},{name:"phone-number",path:"".concat(a,"/phone-number")},{name:"payment",path:"".concat(a,"/payment")}],o=(0,i.q)(),{goTo:c,activePath:d}=(0,p.q)(),u=(()=>{let{query:e,isReady:t}=(0,m.useRouter)(),n=e.extRef?String(e.extRef):null,r=e.assetId?String(e.assetId):null,i=e.rateExtRef?String(e.rateExtRef):null,a=e.promoExtRef?String(e.promoExtRef):null,l=e.productId?String(e.productId):null,o=e.purchaseIntentId?String(e.purchaseIntentId):null;return t&&(o||(n||i)&&r||l)?{purchaseIntentId:o,assetId:r,extRef:n,rateExtRef:i,promoExtRef:a,productId:l}:null})();if(null===u)return null;let g={activePath:d,initialPath:"/parkings",rightRequestPath:"/right-file",subscriptionDetailsPath:e,orderDetailsPath:"/account/orders/{orderId}",homePath:t,accountVehiclesPath:n,carParkPath:r,flowGoTo:c,flowParams:u,translationRepository:o.translationRepository()};return(0,s.useMemo)(()=>h.l.load(l,g),[]).reload(d)})();return{flowUI:null===l?null:d.L.buildEmpty({stepsUI:t,navigationUI:l,translationRepository:e,indigoProCountryRule:r,redirecting:n,pageTrackerStatus:a})}})();return v?v.shouldRedirectIfNotInitialized()?(0,r.Y)(l._,{withSummary:!0,children:(0,r.Y)(o.G,{})}):(0,r.Y)(g.Provider,{value:{flowUI:v,repositoryFactory:n},children:t}):(0,r.Y)(l._,{withSummary:!0,children:(0,r.Y)(a._,{})})}},55277:e=>{e.exports={loadingState:"LoadingState_loadingState__5cTx9",text:"LoadingState_text__opRuR",icon:"LoadingState_icon__DUAnz"}},59507:e=>{e.exports={bannerWithPattern:"BannerWithPattern_bannerWithPattern__rKGJy",label:"BannerWithPattern_label__4ZH6I",topOfScreenPosition:"BannerWithPattern_topOfScreenPosition__sYb0g",inlinePosition:"BannerWithPattern_inlinePosition__UhLF8",leftPattern:"BannerWithPattern_leftPattern__TCa0A",rightPattern:"BannerWithPattern_rightPattern__JaHlc"}},61819:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/purchase/subscription/address",function(){return n(99834)}])},62481:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r.Z});var r=n(415)},68355:e=>{e.exports={stepper:"Stepper_stepper__eXf1G",step:"Stepper_step__GMMwz",number:"Stepper_number__1hU0P",completed:"Stepper_completed__aFepM",current:"Stepper_current__GNQtA",icon:"Stepper_icon__rpULB",clickable:"Stepper_clickable__njWAK",separatorContainer:"Stepper_separatorContainer__d2zaW",separator:"Stepper_separator__Umy7A"}},69059:e=>{e.exports={mobileAccordionView:"MobileAccordionView_mobileAccordionView__Ymo6d",headingPart:"MobileAccordionView_headingPart__jllP6",label:"MobileAccordionView_label__zmhDB",collapseIcon:"MobileAccordionView_collapseIcon__BuqqR",summaryContent:"MobileAccordionView_summaryContent__617Rn",opened:"MobileAccordionView_opened___dAik"}},74104:e=>{e.exports={legalTogglesTemplateContainer:"LegalTogglesTemplate_legalTogglesTemplateContainer__qhNnF",paperContainer:"LegalTogglesTemplate_paperContainer__BgiDA"}},78740:(e,t,n)=>{"use strict";n.d(t,{G:()=>r.G});var r=n(39218)},81646:e=>{e.exports={infoView:"InfoView_infoView__ccvoJ",contentContainer:"InfoView_contentContainer__iZISM",contentWrapper:"InfoView_contentWrapper__sDhIh",content:"InfoView_content__KlCxm",title:"InfoView_title__5GnLn",leftPart:"InfoView_leftPart__tOqIL",iconWrapper:"InfoView_iconWrapper__yfiuV",icon:"InfoView_icon__X7a45",curvedLine:"InfoView_curvedLine__0JxH2",action:"InfoView_action__Svbdb",info:"InfoView_info__eBOsV",valid:"InfoView_valid__Xa6ON",warning:"InfoView_warning__4Tv9h",error:"InfoView_error__ULLaE"}},83340:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});var r=n(78854),i=n(62481),a=n(1988),l=n.n(a);function o(e){return(0,r.Y)(i.Z,{...e,className:l().subscriptionBanner,label:{children:e.label}})}}
1,90489:(e,t,n)=>{"use strict";n.d(t,{W:()=>s});var r=n(78854),i=n(53298),a=n(35358),l=n(69059),o=n.n(l);function s(e){let{ref:t,className:n,contentClassName:l,children:s,titleWhenClosed:c,titleWhenOpened:d,onClick:u,isOpen:p}=e;return(0,r.FD)("div",{ref:t,className:(0,i.A)(o().mobileAccordionView,{[o().opened]:p},n),children:[(0,r.FD)("div",{className:o().headingPart,onClick:u,children:[(0,r.Y)("div",{className:o().label,children:p?d:c}),(0,r.Y)(a.rI,{className:o().collapseIcon})]}),(0,r.Y)("div",{className:(0,i.A)(o().summaryContent,l),children:s})]})}},99834:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>w,default:()=>y});var r=n(78854),i=n(48120),a=n(72989),l=n(54674),o=n(24251),s=n.n(o),c=n(30516),d=n(63823),u=n(2167),p=n(43257),_=n(58486),h=n(94615),m=n(85733),g=n(32625),v=n(52651),f=n(415),I=n(11285),b=n(39218),S=n(19366),N=n(83340),P=n(45111),Y=n.n(P);let C=e=>{let{subscriptionPurchaseAddressUI:t,navigationUI:n,flowUI:o}=e,s=t.getPurchaseAddressIndigoProBannerUI(),c=t.getPurchaseAddressContentUI();return(0,r.FD)(r.FK,{children:[(0,r.Y)(a.o,{...(0,i.h)(c)}),c.willBePurchasingIndigoPro()&&(0,r.Y)(l.t,{purchaseAddressIndigoProBannerUI:s}),(0,r.Y)(I.a,{backButton:{label:o.getNavigationUI().getScreenTranslations().buttons.back,onClick:()=>n.goToStep("vehicles")},nextButton:{label:o.getNavigationUI().getScreenTranslations().buttons.validate,onClick:t.submit}})]})},A=()=>{var e;let{subscriptionPurchaseAddressUI:t,navigationUI:n,flowUI:i}=(()=>{var e,t;let{flowUI:n}=(0,u.l)(),r=null!=(t=null==(e=n.getSubscriptionPurchaseVehiclesUI())?void 0:e.countSelectedVehicles())?t:1;n.redirectIfRequired(n.getNavigationUI());let i=((e,t,n,r)=>{var i,a,l;let o=null!=(i=null==n?void 0:n.getPurchaseAddressContentUI())?i:null,s=r.getRequiredSubscriptionQuoteUI().subscriptionDetailsUI.isNeoProEligible,c=(0,d.q)(),u=(0,g.V)(null==o?void 0:o.readonlyProps.stepUI),v=(0,g.j)(null!=(a=null==o?void 0:o.readonlyProps.selectedDeliveryAddressUI)?a:null),f=(0,g.j)(null!=(l=null==o?void 0:o.readonlyProps.selectedBillingAddressUI)?l:null),I=(0,p.q)(()=>null===o?h.J.load({translationRepository:c.translationRepository(),trackerRepository:c.subscriptionPurchaseTrackerRepository()}
1):o.readonlyProps.purchaseAddressIndigoProBannerUI),b=(0,p.q)(()=>null===o?_.XZ.load({purchaseType:"SUBSCRIPTION",quantity:t,hasRequiredDeliveryAddress:r.getRequiredBadgeAccess(),isNeoProEligible:s,stepUI:u,selectedDeliveryAddressUI:v,selectedBillingAddressUI:f,repositoryFactory:c,purchaseAddressIndigoProBannerUI:I,evBadgeInfoCardUI:null,evSubscriptionQuoteUI:null,subscriptionQuoteUI:r.getRequiredSubscriptionQuoteUI()}):o.reload(s));return null!=n?n:m.r.load({purchaseAddressContentUI:b,navigationUI:e,repositoryFactory:c,shouldSkipPhoneStep:r.getRequiredSubscriptionQuoteUI().subscriptionDetailsUI.purchasePhoneNumberUI.isAutomaticallySkipped()})})(n.getNavigationUI(),r,n.getSubscriptionPurchaseAddressUI(),n.getSubscriptionPurchaseConfigurationUI());return n.initializeSubscriptionPurchaseAddressUI(i),{subscriptionPurchaseAddressUI:n.getSubscriptionPurchaseAddressUI(),navigationUI:n.getNavigationUI(),flowUI:n}})();return!t||i.isRedirecting()?null:(0,r.FD)(r.FK,{children:[(0,r.Y)(Y(),{children:(0,r.Y)("title",{children:null==(e=i.getSubscriptionPurchaseConfigurationUI())?void 0:e.displayableLabels().metaTitle})}),(0,r.Y)(N.q,{label:i.displayable().banner.title,position:f.M.TopOfScreen}),(0,r.FD)(v._,{children:[(0,r.Y)(S.C,{steps:n.getStepperVisibleSteps()}),(0,r.Y)("div",{className:s().contentWrapper,children:t.isLoading()?(0,r.Y)(b.G,{}):(0,r.Y)(C,{subscriptionPurchaseAddressUI:t,navigationUI:n,flowUI:i})})]})]})};A.getLayout=e=>(0,r.Y)(c.A,{children:e});var w=!0;let y=A}},e=>{e.O(0,[4652,1947,5931,8939,3875,5956,8928,4424,4657,4254,2107,6320,4838,3203,7923,9881,3440,4619,636,6593,8792],()=>e(e.s=61819)),_N_E=e.O()}]);
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.