1import{a as Ee,b as xe,c as Oe,d as Fe,e as Ue,g as Ae,h as We,i as Ge,j as Be,k as Re,l as ze,m as Ke,o as $e,p as Ze,q as qe,r as Ye,s as K,t as Je}from"./chunk-LGDC7IOB.js";import{g as y,h as Le,i as je,j as He}from"./chunk-JMY2RTHT.js";import{a as Me}from"./chunk-ZFADGOZU.js";import{b as ke}from"./chunk-ASMDRDVX.js";import{a as Te,h as Ie}from"./chunk-UC7BNX4E.js";import{d as z,f as De,g as Ve,h as Ne}from"./chunk-EXOAW5VD.js";import{$b as _e,Aa as d,D as oe,E as D,F as ne,G as V,Ib as he,Jb as X,K as P,Kc as R,L as E,Lb as ge,Lc as we,Mb as B,Na as A,Nb as fe,Oa as ae,Ob as L,Pb as j,Rb as H,Sa as se,T as s,Ta as W,Tb as Ce,Tc as Pe,Ua as ce,Va as le,W as u,Y as _,Z as N,_a as G,a as M,aa as O,ba as h,cb as pe,cc as ve,e as ee,ea as o,fa as J,ha as c,ia as l,ib as S,ja as p,ka as v,la as b,m as te,ma as re,mc as be,na as F,oa as f,oc as lt,pa as m,pc as Se,qb as de,r as ie,s as Y,sb as me,sc as x,uc as C,vb as ue,z as w,za as U,zc as ye}from"./chunk-5YM2RROR.js";import{f as ct}from"./chunk-XMWKLAFE.js";var k=ct(lt());var $=new ne("detectViewCampaignUrl");var I=(()=>{let t=class t{constructor(r,n,a){this.httpClient=r,this.browserService=n,this.detectViewCampaignUrl=a}getViewCampaignCookie(){this.browserService.getCookie("staticentry")&&this.httpClient.get(this.detectViewCampaignUrl).pipe(ie(()=>ee([]))).subscribe()}};t.\u0275fac=function(n){return new(n||t)(V(pe),V(S),V($))},t.\u0275prov=oe({token:t,factory:t.\u0275fac});let e=t;return e})();var Q=(()=>{let t=class t{static withOptions(r){return{ngModule:t,providers:[{provide:$,useValue:r.detectViewCampaignUrl}]}}};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=N({type:t}),t.\u0275inj=D({providers:[I],imports:[G]});let e=t;return e})();function ut(e,t){e&1&&(c(0,"span"),p(1,"a",13),l())}function ht(e,t){e&1&&(c(0,"span"),p(1,"a",14),l())}function gt(e,t){e&1&&(c(0,"span"),p(1,"a",15),l())}function ft(e,t){e&1&&(c(0,"p",20),d(1," Gutschein erfolgreich eingel\xF6st! Beachte: Kann nicht mit anderen Aktionen kombiniert werden. "),l())}function Ct(e,t){e&1&&(c(0,"p",21),d(1," Das hat leider nicht geklappt! Der Gutschein ist nicht g\xFCltig. "),l())}function _t(e,t){e&1&&(c(0,"p",21),d(1," Das hat leider nicht geklappt! Der Gutscheincode passt nicht zum Produkt. "),l())}function vt(e,t){e&1&&(c(0,"p",21),d(1," Leider kannst du aufgrund technischer Wartungsarbeiten derzeit keinen Aktionscode eingeben. Bitte versuche es zu einem sp\xE4teren Zeitpunkt noch einmal. "),p(2,"br"),d(3,"Vielen Dank f\xFCr dein Verst\xE4ndnis. "),l())}function bt(e,t){if(e&1&&(c(0,"div")(1,"div",16),v(2,17),h(3,ft,2,0,"p",18)(4,Ct,2,0,"p",19)(5,_t,2,0,"p",19)(6,vt,4,0,"p",19),b(),l()()),e&2){let i=m();s(2),o("ngSwitch",i.status),s(),o("ngSwitchCase",i.CouponCodeStatus.valid),s(),o("ngSwitchCase",i.CouponCodeStatus.invalid),s(),o("ngSwitchCase",i.CouponCodeStatus.nomatch),s(),o("ngSwitchCase",i.CouponCodeStatus.technicalError)}}var et=(()=>{let t=class t{constructor(r,n){this.couponService=r,this.browserService=n,this.form=new fe({couponCode:new L("",{nonNullable:!0})}),this.CouponCodeStatus=C,this.status=C.empty,this.destroy$=new M}ngAfterViewInit(){try{let r=this.browserService.getCookie("campaignContext"),n=r?JSON.parse(r.value):null;if(n&&n.couponCode){let{couponCode:a}=n;this.form.get("couponCode").setValue(a),this.onSubmit()}}catch{}}onSubmit(){this.status=C.pending;let r=this.form.get("couponCode").value;if(!r){this.status=C.invalid;return}this.couponService.isCouponValid(r).pipe(w(this.destroy$)).subscribe(()=>{this.status=C.valid},a=>{a.cause==="invalid"&&(this.status=C.invalid),a.cause==="nomatch"&&(this.status=C.nomatch),a.technicalError&&(this.status=C.technicalError)})}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.unsubscribe()}};t.\u0275fac=function(n){return new(n||t)(u(we),u(S))},t.\u0275cmp=_({type:t,selectors:[["checkout-coupon-code"]],standalone:!1,decls:20,vars:10,consts:[[1,"form--coupon",3,"ngSubmit","formGroup"],[1,"col-12","product-price-table"],[1,"mt-3","row","product-price-table__cell","pt-0"],[1,"col-12","mb-1","p-0"],[1,"form-label"],[1,"col-12","mb-md-0","col-md-6","col-lg-6","col-xl-5","p-0"],[1,"input-animation-wrapper"],["id","couponCode","name","couponCode","formControlName","couponCode","placeholder","Gutscheincode","commonHandleFocusBlur","",1,"form-control","input","input-animation"],["for","couponCode",1,"input-animation-wrapper__label"],[4,"ngIf"],[1,"mt-2"],[1,"col-12","col-md-4","col-lg-3","pl-md-2","p-0","pb-2","pb-mb-0"],["
1id","redeem","type","submit",1,"btn-secondary","btn-secondary--themed","icon--arrow-right","pt-md-2",3,"disabled"],[1,"input-addon--icon","input-addon__wrapper","icon--check"],[1,"input-addon--icon","input-addon__wrapper","icon--warning"],[1,"input-addon--icon","input-addon__wrapper","icon--update","loading-indicator"],["data-test-coupon-code-validation-result",""],[3,"ngSwitch"],["data-test-coupon-code-validation-result-valid","","class","notice notice--success icon--check pb-2 pd-md-0",4,"ngSwitchCase"],["class","notice notice--error icon--warning pb-2 pd-md-0",4,"ngSwitchCase"],["data-test-coupon-code-validation-result-valid","",1,"notice","notice--success","icon--check","pb-2","pd-md-0"],[1,"notice","notice--error","icon--warning","pb-2","pd-md-0"]],template:function(n,a){if(n&1&&(c(0,"form",0),f("ngSubmit",function(){return a.onSubmit()}),c(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),d(5,"Du hast einen Gutscheincode?"),l()(),c(6,"div",5)(7,"div")(8,"span",6),p(9,"input",7),c(10,"label",8),d(11,"Gutscheincode"),l(),h(12,ut,2,0,"span",9)(13,ht,2,0,"span",9)(14,gt,2,0,"span",9),l()(),c(15,"div",10),h(16,bt,7,5,"div",9),l()(),c(17,"div",11)(18,"button",12),d(19," Gutscheincode einl\xF6sen "),l()()()()()),n&2){let g;o("formGroup",a.form),s(8),J("animate-label",(g=a.form.get("couponCode"))==null?null:g.value),s(),J("input--error",a.status===a.CouponCodeStatus.invalid||a.status===a.CouponCodeStatus.nomatch),s(3),o("ngIf",a.status===a.CouponCodeStatus.valid),s(),o("ngIf",a.status===a.CouponCodeStatus.invalid||a.status===a.CouponCodeStatus.nomatch),s(),o("ngIf",a.status===a.CouponCodeStatus.pending),s(2),o("ngIf",a.status!==a.CouponCodeStatus.empty&&a.status!==a.CouponCodeStatus.pending),s(2),o("disabled",a.status===a.CouponCodeStatus.pending)}},dependencies:[W,ce,le,j,he,ge,B,H,Ce],styles:[".form--coupon[_ngcontent-%COMP%] .btn-primary[_ngcontent-%COMP%], .form--coupon[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%], .form--coupon[_ngcontent-%COMP%] .input-addon__wrapper[_ngcontent-%COMP%]{height:55px}.form--coupon[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{padding-right:50px}.form--coupon[_ngcontent-%COMP%] .input-addon__wrapper[_ngcontent-%COMP%]{background:none}.notice--success[_ngcontent-%COMP%]{color:#1d8900}.form--coupon[_ngcontent-%COMP%] .input-addon--icon[_ngcontent-%COMP%]:before{position:absolute;top:10px;right:4px}@media(min-width:768px){.form--coupon[_ngcontent-%COMP%] .input-addon--icon[_ngcontent-%COMP%]:before{top:5px}}a.input-addon--icon.input-addon__wrapper.icon--check[_ngcontent-%COMP%]{color:#008b78}a.input-addon--icon.input-addon__wrapper.icon--warning[_ngcontent-%COMP%]{color:#e2001a}.loading-indicator[_ngcontent-%COMP%]:before{top:15px!important;color:#000}"]});let e=t;return e})();var tt=(()=>{let t=class t extends Le{constructor(r,n){super(),this.cartService=r,this.storageService=n,this.modalName="esimWarningModal"}continueWithESim(){this.closeModal(y.SUCCESS)}continueWithTripleSim(){this.cartService.getCart().setSimCardType(x.TRIPLE_SIM),this.cartService.getCart().removeEsimDeviceManufacturer(),this.storageService.saveItem(K.STORAGE_KEY,{simType:x.TRIPLE_SIM,deviceManufacturer:null}),this.closeModal(y.SUCCESS)}cancel(){this.closeModal(y.CANCEL)}};t.\u0275fac=function(n){return new(n||t)(u(R),u(ye))},t.\u0275cmp=_({type:t,selectors:[["checkout-esim-warning-modal"]],standalone:!1,features:[O],decls:20,vars:1,consts:[["tabindex","-1","role","dialog","aria-labelledby","esimWarningModal","aria-hidden","true",1,"modal",3,"id"],["role","document",1,"modal-dialog","modal
1-lg","background-color--bright"],[1,"modal-content"],[1,"modal-header","background-color--bright"],[1,"modal-title"],["role","button","data-dismiss","modal","aria-label","Close",1,"close","icon--close",3,"click"],[1,"modal-body","background-color--bright"],[1,"mb-2"],[1,"mb-3"],[1,"theme--checkout"],["data-test-e-sim-with-non-e-sim-device-warning-modal-continue-with-e-sim-button","",1,"btn-primary","btn-primary--large","btn-primary--themed","btn-primary--next","btn--xs-block","mb-2",3,"click"],["data-test-e-sim-with-non-e-sim-device-warning-modal-continue-with-triple-sim-button","",1,"btn-primary","btn-primary--large","btn-primary--themed","btn-primary--next","btn--xs-block","mb-2",3,"click"]],template:function(n,a){n&1&&(c(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h4",4),d(5,"Hinweis"),l(),c(6,"a",5),f("click",function(){return a.closeModal()}),l()(),c(7,"div",6)(8,"p"),d(9," Das von dir ausgew\xE4hlte Ger\xE4t unterst\xFCtzt die eSIM leider nicht. "),l(),c(10,"p",7),d(11," Du kannst trotzdem mit der eSIM fortfahren oder die klassische SIM-Karte w\xE4hlen. "),l(),c(12,"p",8)(13,"b"),d(14," Wie m\xF6chtest du fortfahren? "),l()(),c(15,"div",9)(16,"button",10),f("click",function(){return a.continueWithESim()}),d(17," Weiter mit eSIM "),l(),c(18,"button",11),f("click",function(){return a.continueWithTripleSim()}),d(19," Weiter mit klassischer SIM-Karte "),l()()()()()()),n&2&&o("id",a.modalName)},styles:["button[_ngcontent-%COMP%]{width:100%}.modal-dialog[_ngcontent-%COMP%]{max-width:500px;margin:1.75rem auto}"]});let e=t;return e})();function wt(e,t){e&1&&re(0)}function Pt(e,t){if(e&1&&(v(0),c(1,"div",30),p(2,"common-product-table-option",31)(3,"common-product-table-campaign",27),l(),b()),e&2){let i=t.$implicit;s(2),o("option",i)("showLegalUSPs",!1)("showInfoUSPs",!0)("showControls",!1)("hideTopSeparator",!0),s(),o("discounts",i.discounts)("basePrice",i.price)}}function Et(e,t){if(e&1&&p(0,"common-product-table-section-header",32),e&2){let i=m(4);o("type",i.SectionHeaderSize.TALL)}}function xt(e,t){if(e&1&&p(0,"checkout-product-table-device",33),e&2){let i=m(4);o("device",i.plan.device)("showControls",!0)}}function Tt(e,t){if(e&1&&(p(0,"common-product-table-top-header",25)(1,"common-product-table-plan",26),h(2,Pt,4,7,"ng-container",20),p(3,"common-product-table-campaign",27),h(4,Et,1,1,"common-product-table-section-header",28)(5,xt,1,2,"checkout-product-table-device",29)),e&2){let i=m(3);o("header","Tarif")("plan",i.plan),s(),o("plan",i.plan)("showControls",!0)("showLegalUSPs",!1)("showInfoUSPs",!0)("showInfoSheet",!1),s(),o("ngForOf",i.plan.getMandatoryOptions()),s(),o("discounts",i.plan.discounts)("basePrice",i.plan.price),s(),o("ngIf",i.plan.device),s(),o("ngIf",i.plan.device)}}function It(e,t){if(e&1&&p(0,"checkout-product-table-device",33),e&2){let i=m(4);o("device",i.plan.device)("showControls",!0)}}function kt(e,t){if(e&1&&p(0,"common-product-table-section-header",35),e&2){let i=m(4);o("type",i.SectionHeaderSize.TALL)}}function Mt(e,t){if(e&1&&(v(0),c(1,"div",30),p(2,"common-product-table-option",31)(3,"common-product-table-campaign",27),l(),b()),e&2){let i=t.$implicit;s(2),o("option",i)("showLegalUSPs",!1)("showInfoUSPs",!0)("showControls",!1)("hideTopSeparator",!0),s(),o("discounts",i.discounts)("basePrice",i.price)}}function Dt(e,t){if(e&1&&(p(0,"common-product-table-top-header",25),h(1,It,1,2,"checkout-product-table-device",29)(2,kt,1,1,"common-product-table-section-header",34),p(3,"common-product-table-plan",26),h(4,Mt,4,7,"ng-container",20),p(5,"common-product-table-campaign",27)),e&2){let i=m(3);o("header",i.plan.device?"Endger\xE4t":"Tarif")("plan",i.plan),s(),o("ngIf",i.plan.device),s(),o("ngIf",i.plan.device),s(),o("plan",i.plan)("showControls",!0)("showLegalUSPs",!1)("showInfoUSPs",!0)("showInfoSheet",!1),s(),o("ngForOf",i.plan.getMandatoryOptions()),s(),o("discounts",i.plan.discounts)("basePrice",i.plan.price)}}function Vt(e,t){if(e&1&&p(0,"checkout-product-table-service-address",36),e&2){let i=m(3);o("title",i.isFixed?"Anschlussadresse":"Nutzungsadresse")("plan",i.plan)}}function Nt(e,t){if(e&1&&p(0,"common-product-table-section-header",37),e&2){let i=m(3);o("type",i.SectionHeaderSize.SLIM)}}function Ot(e,t){if(e&1&&(v(0),c(1,"div",30),p(2,"common-product-table-option",38)(3,"common-product-table-campaign",27),l(),b()),e&2){let i=t.$implicit,r=m(3);s(2),o("option",i)("showInfoUSPs",!0)("showLegalUSPs",!1)("showControls",!r.plan.showMixer),s(),o("discounts",i.discounts)("basePrice",i.price)}}function Ft(e,t){if(e&1&&p(0,"checkout-product-table-number-porting",39),e&2){let i=m(3);o("plan",i.plan)("showControls",!0)}}function Ut(e,t){if(e&1){let i=F();c(0,"checkout-product-table-sim-card-selection",40),f("formGroupValueEmitted",function(n){P(i);let a=m(3);return E(a.updateSimCardSelectionData(n))}),l()}if(e&2){let i=m(3);o("submitButtonClicks",i.submitButtonClicks)}}function At(e,t){if(e&1&&(c(0,"div",16),h(1,wt,1,0,"ng-container",17)(2,Tt,6,12,"ng-template",null,1,A)(4,Dt,6,12,"ng-template",null,2,A)(6,Vt,1,2,"checkout-product-table-service-address",18)(7,Nt,1,1,"common-product-table-section-header",19)(8,Ot,4,6,"ng-container",20)(9,Ft,1,2,"checkout-product-table-number-porting",21),c(10,"div",22),h(11,Ut,1,1,"checkout-product-table-sim-card-selection",23),l(),p(12,"checkout-product-table-subtotal",24),l()),e&2){let i=U(3),r=U(5),n=m(2);s(),o("ngIf",n.isFixedOrHomespotWithDevice)("ngIfThen",i)("ngIfElse",r),s(5),o("ngIf",n.showServiceAddress),s(),o("ngIf",n.plan.hasNonMandatoryOptions()),s(),o("ngForOf",n.plan.getNonMandatoryOptions()),s(),o("ngIf",(n.plan.hasMnpIn||n.plan.isTelephonyEnabled)&&!n.isGetToKnowCongstarPlan()),s(2),o("ngIf",n.shouldShowSimCardSelection),s(),o("plan",n.plan)}}function Wt(e,t){if(e&1&&(c(0,"common-total-price",41),d(1," Dein Guthaben wird mit Paket- oder Optionskosten verrechnet (einmaliger Bereitstellungspreis ausgenommen). "),l()),e&2){let i=m(2);o("plan",i.plan)("shippingCosts",i.plan.getShippingCosts())}}function Gt(e,t){e&1&&p(0,"img",46)}function Bt(e,t){if(e&1&&(c(0,"div",42)(1,"small"),d(2,"M\xF6gliche Zahlungsmethoden f\xFCr diese Bestellung:"),l(),c(3,"div",43),p(4,"img",44),h(5,Gt,1,0,"img",45),l()()),e&2){let i=m(2);s(5),o("ngIf",i.plan.isPayPalPaymentAvailable())}}function Lt(e,t){if(e&1){let i=F();c(0,"div")(1,"common-page-layout",6)(2,"form",7),f("ngSubmit",function(){P(i);let n=m();return E(n.intendToGoToNextPage())}),c(3,"common-bucket",8)(4,"common-bucket-header"),d(5,"Produkte"),l(),h(6,At,13,9,"div",9),l(
1),c(7,"common-bucket",8)(8,"common-bucket-header"),d(9,"Gesamtkosten"),l(),h(10,Wt,2,2,"common-total-price",10),p(11,"checkout-coupon-code"),c(12,"div",11)(13,"div",12),h(14,Bt,6,1,"div",13),l(),c(15,"div",14)(16,"button",15),d(17," Weiter zur Kasse "),l()()()()()()()}if(e&2){let i=m();s(2),o("formGroup",i.form),s(),o("noContentPadding",!0),s(3),o("ngIf",i.plan),s(),o("noContentPadding",!0),s(3),o("ngIf",i.plan),s(4),o("ngIf",!i.isExistingCustomer),s(2),o("disabled",i.isButtonDisabled())}}function jt(e,t){e&1&&(c(0,"common-page-layout",47)(1,"div",48)(2,"div",49)(3,"a",50),d(4,"Weiter einkaufen"),l()()()())}var it=(()=>{let t=class t extends ke{constructor(r,n,a,g,Z,q,ot,nt,rt,at){super(),this.cartService=r,this.router=n,this.detectViewCampaignService=a,this.browserService=g,this.formBuilder=Z,this.cdr=q,this.route=ot,this.tealiumReporterService=nt,this.reenableLegiService=rt,this.featureToggleService=at,this.showEsimWarningModal=!1,this.SectionHeaderSize=Fe,this.shouldShowSimCardSelection=!1,this.showProductNotAvailableModal=!1,this.isFixedOrHomespotWithDevice=!1,this.isExistingCustomer=!1,this.destroy$=new M,this.numberPortingPageUrl="/rufnummernmitnahme",this.personalDataUrl="/persoenliche-daten",this.nextPageUrl=this.personalDataUrl,this.navigation=this.router.getCurrentNavigation(),this.featureToggleService.isToggleActive("CheckoutCancelationHelper").subscribe(st=>{this.featureFlagCheckoutCancelationHelper=st})}initializeFormGroup(){this.form=this.formBuilder.group({simCardSelectionData:new L(null)}),this.simCardSelectionDataControl=this.form.get("simCardSelectionData")}setEsimValidationIfNeeded(){let r=this.simCardSelectionDataControl.hasValidator(X.required),n=this.eSimValidationShouldBeSet();!r&&n?(this.simCardSelectionDataControl.clearValidators(),this.simCardSelectionDataControl.addValidators(X.required),this.simCardSelectionDataControl.updateValueAndValidity()):r&&!n&&(this.simCardSelectionDataControl.clearValidators(),this.simCardSelectionDataControl.updateValueAndValidity())}eSimValidationShouldBeSet(){return this.plan?.isEsimCapable}ngOnInit(){this.detectViewCampaignService.getViewCampaignCookie(),this.initializeFormGroup(),this.cartService.getCart().getPlan().pipe(w(this.destroy$)).subscribe(r=>{this.initializePlanData(r)}),te({routeData:this.route.data.pipe(Y(1)),plan:this.cartService.getCart().getPlan().pipe(Y(1))}).pipe(w(this.destroy$)).subscribe(r=>{let n=r.routeData.customer;this.evaluateShowSimCardSelection(),this.setEsimValidationIfNeeded(),this.generateTealiumEvent(n),this.isExistingCustomer=be(n)})}generateTealiumEvent(r){let n=Se(r);if(this.plan){let a=new Ie().withProductData(this.plan,r).withProductStatus(k.ProductStatus.ADD).build();this.tealiumReporterService.generatePageViewEvent(k.PageType.CHECKOUT,n,a)}else this.tealiumReporterService.generatePageViewEvent(k.PageType.CHECKOUT,n)}updateSimCardSelectionData(r){this.reenableLegiService.addToCache(r),this.simCardSelectionDataControl.setValue(r)}evaluateShowSimCardSelection(){this.shouldShowSimCardSelection=this.plan&&this.plan.isEsimCapable}isGetToKnowCongstarPlan(){return this.plan.id===479}configureKeyboardNavigation(){this.keyEventHandle=r=>{r.key==="Enter"&&this.intendToGoToNextPage()},document.addEventListener("keypress",this.keyEventHandle)}ngAfterViewInit(){this.plan&&this.configureKeyboardNavigation(),this.navigation?.extras?.state?.scrollTo&&this.browserService.scrollIntoViewById(this.navigation.extras.state.scrollTo),!this.cartService.planIsComplete()&&!this.showProductNotAvailableModal&&(this.showProductIsNotAvailableModal(),this.cdr.detectChanges())}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.unsubscribe(),document.removeEventListener("keypress",this.keyEventHandle)}isCartEmpty(){return this.cartService.getCart().isEmpty()}intendToGoToNextPage(){if(this.prepareFormForSubmit(),this.simCardSelectionDataControl.invalid){this.browserService.scrollIntoViewById("sim-card-selection");return}if(this.plan.isNumberPorting&&(!this.featureFlagCheckoutCancelationHelper||this.isExistingCustomer)&&(this.nextPageUrl=this.numberPortingPageUrl),this.plan.simType===x.E_SIM&&this.plan.device&&!this.plan.device.isSupportingEsim){this.toggleEsimWarningModal();return}this.router.navigate([this.nextPageUrl])}onClosedEsimWarningModal(r){this.toggleEsimWarningModal(),r===y.SUCCESS&&this.router.navigate([this.nextPageUrl])}showProductIsNotAvailableModal(){this.productNotAvailableModalBody='<p>Leider sind nicht mehr alle deine Artikel im Warenkorb verf\xFCgbar. </p><p>Aktuelle Smartphone-Angebote findest du \xFCbrigens hier: <a href="/handys/alle-handys/">Handy-Angebote</a></p><p>Tarife und Optionen kannst du dir im congstar <a href="/handytarife/">Tarifberater</a> zusammenstellen.</p>',this.showProductNotAvailableModal=!0}onClosedProductNotAvailableModal(){this.showProductNotAvailableModal=!1}toggleEsimWarningModal(){this.showEsimWarningModal=!this.showEsimWarningModal}initializePlanData(r){this.plan=r,this.isFixed=this.plan?.isPlanType("FIXED"),this.showServiceAddress=this.plan?.requiresServiceAddress&&this.isFixed,(this.isFixed&&this.plan.device||this.plan?.isPlanType("HOMESPOT")&&this.plan.device)&&(this.isFixedOrHomespotWithDevice=!0)}};t.\u0275fac=function(n){return new(n||t)(u(R),u(me),u(I),u(S),u(_e),u(ae),u(de),u(Te),u(Me),u(Ee))},t.\u0275cmp=_({type:t,selectors:[["checkout-cart"]],standalone:!1,features:[O],decls:5,vars:5,consts:[["cartEmpty",""],["fixedOrHomespotWithDeviceOrder",""],["defaultOrder",""],[4,"ngIf","ngIfElse"],[3,"closed","showModal"],["title","Artikel nicht mehr verf\xFCgbar","name","productNotAvailableModal",3,"closed","showModal","body"],["sidebarKameleoonId","sidebar","sidebarTypoId","bWRWKzlVUFpYNlp1dUErUjZ3b1RGdz09","pageTitle","Dein Warenkorb"],[3,"ngSubmit","formGroup"],[1,"mt-3",3,"noContentPadding"],["class","product-price-table","data-test-product-table-subtotal-div","",4,"ngIf"],[3,"plan","shippingCosts",4,"ngIf"],["data-test-submit-panel","",1,"submit-panel","background-color--bright","row"],["data-test-payment-box","",1,"col-12","col-md-6","mt-4","mt-md-0"],["data-test-payment-box-content","",4,"ngIf"],["data-test-next-personal-data-button-box","",1,"col-12","col-md-6","align-right","align-self-end","order-first","order-md-last"],["type","submit","data-test-next-personal-data","",1,"btn-primary","btn-primary--large","btn-primary--themed","btn-primary--next","btn--xs-block",3,"disabled"],["data-test-product-table-subtotal-div","",1,"product-price-table"],[4,"ngIf","ngIfThe
1n","ngIfElse"],["data-test-product-table-service-address","",3,"title","plan",4,"ngIf"],["data-test-product-table-option-header","","header","Hinzugebuchte Optionen",3,"type",4,"ngIf"],[4,"ngFor","ngForOf"],["data-test-product-table-number-porting","",3,"plan","showControls",4,"ngIf"],["id","sim-card-selection"],["id","simCardSelectionData","data-simcard-selection","",3,"submitButtonClicks","formGroupValueEmitted",4,"ngIf"],[3,"plan"],[3,"header","plan"],[3,"plan","showControls","showLegalUSPs","showInfoUSPs","showInfoSheet"],[3,"discounts","basePrice"],["header","Endger\xE4t",3,"type",4,"ngIf"],[3,"device","showControls",4,"ngIf"],[1,"product-price-table__row-group"],["data-test-product-table-mandatory-option","",3,"option","showLegalUSPs","showInfoUSPs","showControls","hideTopSeparator"],["header","Endger\xE4t",3,"type"],[3,"device","showControls"],["header","Tarif",3,"type",4,"ngIf"],["header","Tarif",3,"type"],["data-test-product-table-service-address","",3,"title","plan"],["data-test-product-table-option-header","","header","Hinzugebuchte Optionen",3,"type"],[3,"option","showInfoUSPs","showLegalUSPs","showControls"],["data-test-product-table-number-porting","",3,"plan","showControls"],["id","simCardSelectionData","data-simcard-selection","",3,"formGroupValueEmitted","submitButtonClicks"],[3,"plan","shippingCosts"],["data-test-payment-box-content",""],[1,"row","col-12","mt-1"],["src","assets/sepa-lastschrift.svg","width","119","height","48","title","SEPA Lastschrift","data-test-sepa-logo","",1,"mr-1"],["src","assets/paypal.svg","width","119","height","48","title","PayPal","data-test-paypal-logo","",4,"ngIf"],["src","assets/paypal.svg","width","119","height","48","title","PayPal","data-test-paypal-logo",""],["sidebarKameleoonId","sidebar","sidebarTypoId","bWRWKzlVUFpYNlp1dUErUjZ3b1RGdz09","pageTitle","Dein Warenkorb ist leer."],["data-test-empty-cart","",1,"row","mt-3"],[1,"col-12"],["href","/","data-test-continue-button","",1,"btn-primary","btn-primary--large","btn-primary--themed","btn-primary--next","btn--xs-block"]],template:function(n,a){if(n&1){let g=F();h(0,Lt,18,7,"div",3)(1,jt,5,0,"ng-template",null,0,A),c(3,"checkout-esim-warning-modal",4),f("closed",function(q){return P(g),E(a.onClosedEsimWarningModal(q))}),l(),c(4,"common-generic-modal",5),f("closed",function(){return P(g),E(a.onClosedProductNotAvailableModal())}),l()}if(n&2){let g=U(2);o("ngIf",a.isCartEmpty()===!1)("ngIfElse",g),s(3),o("showModal",a.showEsimWarningModal),s(),o("showModal",a.showProductNotAvailableModal)("body",a.productNotAvailableModalBody)}},dependencies:[se,W,je,j,B,H,Ve,De,Re,ze,Ke,Oe,Ae,We,Ge,K,Be,Ue,qe,z,et,tt],encapsulation:2});let e=t;return e})();var So=(()=>{let t=class t{};t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=N({type:t}),t.\u0275inj=D({providers:[$e],imports:[G,He,ve,Ne,Ye,Je,xe,Ze,ue.forChild([{path:"",pathMatch:"full",component:it}]),z,Q.withOptions({detectViewCampaignUrl:Pe.detectViewCampaignUrl})]});let e=t;return e})();export{So as a};
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.