PageSourceSearch

https://www2.telenet.be/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-RUO2VZA6.js

js telenet.be collected 2026-10-01 08:25:39 UTC 32,204 bytes, 1 lines download raw bytes

1import{b as ye}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-LUE63EAL.js";import{a as _e}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-IEEB2GNS.js";import{a as j,b as p,c as d,d as _,e as B,f as Oe,g as ge,h as f,i as l,j as Te,k as Ie}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-POH77DWX.js";import{c as ve,d as Ce}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-2U3DY5HC.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-UANHQMJ2.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-SXBO4SRG.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-GIVLVDEV.js";import{b as m,c as Se,j as he}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-X3I6NIWB.js";import{a as re}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-S3JEZYPC.js";import{b as ue}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-5D56ST6C.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-GXY63D7A.js";import{Ac as Ee,Ec as fe,Xc as C}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-ZQOF5JAS.js";import{q as M}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-DPA6SFDP.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-LMHGO6YA.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-H3C4VQAL.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-L5RR2V3K.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-M43TLWPF.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-LWZFRWZL.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-NFCJIJCL.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-I4P3FCGM.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-BPBK32GX.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-2VC3GU3K.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-OBFDUL7R.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-II6HY24G.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-7KS57OA2.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-SNQA2H4L.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-2CVC5BBX.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-VM6WTIWS.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-SRR7BYAK.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-RA6BOML4.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-XKZAHTSE.js";import{a as le,d as me}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-GM7QTX3Q.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-3VE4T5X3.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-WB5FSQCV.js";import{b as pe}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-NA7KRUKM.js";import{g as de}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-W5YER7AF.js";import{a as E}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-IGZIRJQN.js";import{j as se}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-JH7E5ALJ.js";import{f as ae}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-VDTBCEHH.js";import{A as ne,f as V,h as ie,i as G,s as R,x as h,y as oe}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-GUJRV77H.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-OAFWGKHG.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-R6ATEHOJ.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-TMQTKFW7.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-ME6OOKIW.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-TZWBTES7.js";import{K as w,f as ce}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-LXVF7CF2.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-MXMRLGMX.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-55LBUOLS.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-2IMUUWJB.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-VXK3FO45.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-ASPNFSTE.js";import{a as F}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-OTH5IOCH.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-5FXY6EHC.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-UYV7J5M3.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-FJVWFSSK.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-WSQHVBSB.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-KHZYCMEO.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-LUVC62E7.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-ZOQH4BRJ.js";import{$ as X,aa as q,ca as J,ha as Q,ia as Z,oa as ee,p as z,sa as te}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-GWKWBQ3P.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-3KHHOKR7.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-NJNVRHKN.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-DKZN7K64.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-BYG2IWSB.js";import{j as y,r as K,s as H,t as W,u as Y}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-DKUNSAXA.js";import{a as S,c as a}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-LBCPBUBK.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-VLHNUVO3.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-KFW34AI3.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-G3XYAJPK.js";import"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-WXUJ2XVZ.js";import"@angular/core";import"@ngxs/store";import{firstValueFrom as Tt,finalize as It,mergeMap as $e,tap as yt,Subject as Rt}from"rxjs";import"@angular/core";import"@ngxs/store";import*as T from"@angular/core";import*as Re from"@ngxs/store";var Fe=(()=>{class o{constructor(t,n){this.store=t,this.urlService=n}run(){let t=this.urlService.getRequestParamValue("test",null);t&&t.split("+").forEach(s=>{this.runTest(s)})}runTest(t){t==="error"&&this.runErrorTest()}runErrorTest(){this.store.dispatch(new m.InitAuthorConfiguration({errorUrl:"/error",isDebug:!0,endOfFlowRedirectUrl:"/end/of/flow",endOfFlowRedirectUrlPendingMoveOrderCorrection:"/end/of/flow/pending-order-correction",endOfFlowRedirectUrlOnlyMobileLinesOrderCorrection:"/end/of/flow/mobile-lines-only-order-correction",endOfFlowRedirectUrlMemberOrderCorrection:"/end/of/flow/customer-not-manager-order-correction",endOfFlowRedirectUrlFleetUserOrderCorrection:"/end/of/flow/fleet-user-order-correction",endOfFlowRedirectUrlManualProcessingOrderCorrection:"/end/of/flow/manual-processing-order-correction",endOfFlowRedirectUrlFiberProductOrderCorrection:"/end/of/flow/fiber-product-order-correction",endOfFlowRedirectUrlCustomerServiceSegmentOrderCorrection:"/end/of/flow/customer-service-segment-order-correction",endOfFlowRedirectUrlViewApp
1ointments:"/end/of/flow/view-appointments",legalsAndPrivacyLink:"/legals",applinkApiV2:!1,isSohoInstance:!1})),this.store.dispatch(new m.SetError(Se))}static{this.\u0275fac=function(n){return new(n||o)(T.\u0275\u0275inject(Re.Store),T.\u0275\u0275inject(y))}}static{this.\u0275prov=T.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();import"@angular/core";import{mergeMap as we,of as Me}from"rxjs";var A=class{constructor(r,t,n){this.loginDetails=r,this.productService=t,this.relocationService=n,this.image=p,this.smallHeader=!0,this.reason=d.PENDING_OPERATION_CORRECTION,this.analyticsEvent={stepId:"move-error-screen"}}setCtaLink(r){r&&(this.ctaLink=r.endOfFlowRedirectUrlPendingMoveOrderCorrection)}shouldShowThisOrderCorrection$(){return this.loginDetails.isLoggedIn()?this.hasPendingMoveOperations():Me(!1)}hasPendingMoveOperations(){return this.productService.getProductIds(E.MESSAGE_GROUP,"PLAN").pipe(we(r=>this.relocationService.checkPendingMoveOperations(re.MESSAGE_GROUP,r)),we(r=>Me(r.hasPendingOperations())))}};import"@ngxs/store";import{of as Ae}from"rxjs";var L=class{constructor(r){this.loginDetails=r,this.smallHeader=!0,this.image=p,this.reason=d.CUSTOMER_IS_NOT_MASTER,this.analyticsEvent={stepId:"move-error-screen"}}setCtaLink(r){r&&(this.ctaLink=r.endOfFlowRedirectUrlMemberOrderCorrection)}shouldShowThisOrderCorrection$(){if(this.loginDetails){let r=this.loginDetails.isManager()||this.loginDetails.isContractHolder();return Ae(!r)}return Ae(!1)}};import{map as Je}from"rxjs";var N=class{constructor(r){this.productService=r,this.smallHeader=!0,this.reason=d.EMPTY_PRODUCT_HOLDING,this.image=p,this.analyticsEvent={stepId:"move-error-screen"}}shouldShowThisOrderCorrection$(){return this.productService.getProductLinesByType(E.MESSAGE_GROUP,ce.PLAN).pipe(Je(r=>r.length<=0))}setCtaLink(r){r&&(this.ctaLink=r.errorUrl)}};import{of as Le}from"rxjs";var U=class{constructor(r){this.loginDetails=r,this.reason=d.FLEET_USER_ORDER_CORRECTION,this.smallHeader=!0,this.image=p,this.analyticsEvent={stepId:"move-error-screen"}}shouldShowThisOrderCorrection$(){if(this.loginDetails){let r=this.loginDetails.isFleetManager()||this.loginDetails.isFleetUser();return Le(r)}return Le(!1)}setCtaLink(r){r&&(this.ctaLink=r.endOfFlowRedirectUrlFleetUserOrderCorrection)}};import{of as Qe}from"rxjs";var b=class{constructor(r){this.serviceSegment=r,this.reason=d.CUSTOMER_SERVICE_SEGMENT,this.smallHeader=!0,this.image=p,this.analyticsEvent={stepId:"move-error-screen"}}shouldShowThisOrderCorrection$(){return Qe(ye.isA4To6StarSegment(this.serviceSegment))}setCtaLink(r){r&&(this.ctaLink=r.endOfFlowRedirectUrlCustomerServiceSegmentOrderCorrection)}};import*as O from"@angular/core";import*as Ne from"@ngxs/store";var Ue=(()=>{class o{constructor(t,n,s){this.store=t,this.productService=n,this.relocationService=s}findDarwinMoveFlowOrderCorrections(){let t=this.findLoginDetails(),n=this.store.selectSnapshot(M.customerServiceSegment);return[new U(t),new b(n),new N(this.productService),new L(t),new A(t,this.productService,this.relocationService),new Te(this.productService)]}findLoginDetails(){if(this.store.selectSnapshot(f.isLoggedIn))return this.store.selectSnapshot(Oe.getLoginDetails)}static{this.\u0275fac=function(n){return new(n||o)(O.\u0275\u0275inject(Ne.Store),O.\u0275\u0275inject(w),O.\u0275\u0275inject(fe))}}static{this.\u0275prov=O.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();import{Store as tt}from"@ngxs/store";import{map as rt}from"rxjs/operators";var P=class{constructor(){this.reason=d.MANUAL_PROCESSING_ORDER_CORRECTION,this.smallHeader=!0,this.image=p,this.analyticsEvent={stepId:"move-error-screen"}}shouldShowThisOrderCorrection$(r){return r.get(tt).selectOnce(C.salesOrder).pipe(rt(n=>n?n.manualProcessingRequired||n.manualAddress:!1))}setCtaLink(r){r&&(this.ctaLink=r.endOfFlowRedirectUrlManualProcessingOrderCorrection)}};import{map as it}from"rxjs";var D=class{constructor(r){this.productService=r,this.reason=d.FIBER_PRODUCT_ORDER_CORRECTION,this.smallHeader=!0,this.image=p,this.messageGroup=E.MESSAGE_GROUP,this.analyticsEvent={stepId:"move-error-screen"}}shouldShowThisOrderCorrection$(){return this.customerOwnsFiberProduct()}customerOwnsFiberProduct(){return this.getProducts().pipe(it(r=>r.some(t=>t.productInfo.isFiber())))}setCtaLink(r){r&&(this.ctaLink=r.endOfFlowRedirectUrlFiberProductOrderCorrection)}getProducts(){return this.productService.getAllCustomerProducts(this.messageGroup,`${F.PRODUCT_STATUS_ACTIVE},${F.PRODUCT_STATUS_PENDING},${F.PRODUCT_STATUS_SUSPENDED}`)}};import{AsyncPipe as Ft,NgIf as wt,NgStyle as Mt}from"@angular/common";import{EventEmitter as ot}from"@angular/core";import"@ngxs/store";import{AnalyticsConstants as nt,DatalayerEventNames as st}from"@telenet/ng-lib-datalayer";import{TranslateModule as at}from"@ngx-translate/core";import*as i from"@angular/core";import*as Pe from"@ngxs/store";import*as De from"@telenet/ng-lib-datalayer";import*as xe from"@ngx-translate/core";var ct=o=>
1[o,"authentication","register"],lt=(o,r,t,n)=>({primaryCategory:o,intent:r,flowType:t,cart:n}),pt=()=>({position:"t",size:"m"}),dt=()=>({position:"b",size:"m"}),mt=()=>({position:"t",size:"xl"}),Et=(o,r)=>[o,r],be=o=>[o,"authentication","telenet-customer"],ft=o=>({name:o}),ut=o=>({label:"Aanmelden",event:o}),St=o=>[o,"authentication","login"],ke=(()=>{class o{constructor(t,n){this.store=t,this.dataLayerService=n,this.assetService=Y,this.moduleName=E.MODULE_NAME,this.dataLayerEventNames=st,this.analyticsConstants=nt,this.labelUtil=z,this.moveFlowConstants=E,this.loginClicked=new ot}ngOnInit(){let t={stepId:"move login page",intent:"darwin move flow",flowType:"self-service"};this.dataLayerService.addStepViewEvent(t),this.isResidentialFlow=this.store.selectSnapshot(f.isResidentialFlow)}static{this.\u0275fac=function(n){return new(n||o)(i.\u0275\u0275directiveInject(Pe.Store),i.\u0275\u0275directiveInject(De.DataLayerService))}}static{this.\u0275cmp=i.\u0275\u0275defineComponent({type:o,selectors:[["app-login"]],outputs:{loginClicked:"loginClicked"},decls:25,vars:40,consts:[[1,"stepper-page__body"],[1,"stepper-page__body-inner","pt--xs"],[1,"stepper-page__title"],["tgTextFlow","label",1,"stepper-page__title-label"],["tgTextFlow","",1,"text--l","text--xxl--sm","text-font-family--t2"],[1,"stepper-page__content"],["id","authentication",1,"stepper-page__content","mt--l--sm",3,"trackingInfo"],["tgGridRow","",1,"display--flex","justify-content--center",3,"tgMargin"],[1,"authentication--cards-wrapper"],[1,"cards","cards--container","cards--full-height","background-white","cursor--pointer","border-radius--all--s","shadow--xs-inverse","mx--xl","mx--n--sm"],[1,"cards--body","display--flex","flex-direction--column","justify-content--between","align-items--stretch","flex-grow","text-align--center","pt--l","pb--xl","pl--s","pr--s"],["tgFontFamily","t6","tgFontSize","l",1,"text-align--center","text-uppercase",3,"tgMargin"],[1,"display--block","col-sm-7","ml--auto--sm","mr--auto--sm"],["alt","",3,"src"],[1,"body","pt--m"],[1,"button","button--primary","button--fullwidth",3,"click","clickEvent"]],template:function(n,s){n&1&&(i.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2),i.\u0275\u0275element(3,"div",3),i.\u0275\u0275elementStart(4,"div",4),i.\u0275\u0275text(5),i.\u0275\u0275pipe(6,"translate"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(7,"div",5)(8,"div",6)(9,"div",7)(10,"div",8)(11,"div",9)(12,"div",10)(13,"div",11),i.\u0275\u0275text(14),i.\u0275\u0275pipe(15,"translate"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(16,"div",12),i.\u0275\u0275element(17,"img",13),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(18,"div",14)(19,"p"),i.\u0275\u0275text(20),i.\u0275\u0275pipe(21,"translate"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(22,"button",15),i.\u0275\u0275listener("click",function(){return s.loginClicked.emit(!0)}),i.\u0275\u0275text(23),i.\u0275\u0275pipe(24,"translate"),i.\u0275\u0275elementEnd()()()()()()()()()),n&2&&(i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(6,9,s.labelUtil.getLabelKeyWithTypeText(i.\u0275\u0275pureFunction1(17,ct,s.moveFlowConstants.MESSAGE_GROUP)))," "),i.\u0275\u0275advance(3),i.\u0275\u0275property("trackingInfo",i.\u0275\u0275pureFunction4(19,lt,s.analyticsConstants.PRIMARY_CATEGORY_CARE,s.analyticsConstants.INTENT_MOVE_FLOW,s.analyticsConstants.FLOW_TYPE_SELF_SERVICE,s.cart)),i.\u0275\u0275advance(),i.\u0275\u0275property("tgMargin",i.\u0275\u0275pureFunction0(24,pt)),i.\u0275\u0275advance(4),i.\u0275\u0275property("tgMargin",i.\u0275\u0275pureFunction2(27,Et,i.\u0275\u0275pureFunction0(25,dt),i.\u0275\u0275pureFunction0(26,mt))),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(15,11,s.labelUtil.getLabelKeyWithTypeTitle(i.\u0275\u0275pureFunction1(30,be,s.moveFlowConstants.MESSAGE_GROUP)))," "),i.\u0275\u0275advance(3),i.\u0275\u0275property("src",s.assetService.getImagePath(s.moduleName,"telenet-login.svg"),i.\u0275\u0275sanitizeUrl),i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate(i.\u0275\u0275pipeBind1(21,13,s.labelUtil.getLabelKeyWithTypeText(i.\u0275\u0275pureFunction1(32,be,s.moveFlowConstants.MESSAGE_GROUP)))),i.\u0275\u0275advance(2),i.\u0275\u0275property("clickEvent",i.\u0275\u0275pureFunction1(36,ut,i.\u0275\u0275pureFunction1(34,ft,s.dataLayerEventNames.CTA_BUTTON_CLICKED))),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",i.\u0275\u0275pipeBind1(24,15,s.labelUtil.getLabelKeyWithTypeText(i.\u0275\u0275pureFunction1(38,St,s.moveFlowConstants.MESSAGE_GROUP)))," "))},dependencies:[at,Q,X,ee,te,J,Z,q,xe.TranslatePipe],encapsulation:2})}}return o}
1)();import"@angular/core";import{NgxsModule as Ot}from"@ngxs/store";import{HttpClientModule as gt}from"@angular/common/http";import"@angular/core";import{Action as v,State as ht,Store as _t}from"@ngxs/store";import{DataLayerService as vt,EventNameEnum as Ve,EventStatusEnum as Ct,EventTypeEnum as g}from"@telenet/ng-lib-datalayer";import*as I from"@angular/core";import*as Ge from"@telenet/ng-lib-datalayer";import*as je from"@ngxs/store";var c=(()=>{class o{static{this.MESSAGE_GROUPS=["move-flow"]}static{this.EVENT_NAME_SELF_SERVICE_FLOW_STARTED="self-service flow"}static{this.EVENT_NAME_NEXT_INSTALL_TYPE="option"}static{this.EVENT_NAME_EDIT_LINK_CLICKED="link"}static{this.EVENT_NAME_SELF_SERVICE_FLOW_ENDED="self-service flow"}static{this.EVENT_TYPE_NEXT="option-click"}static{this.EVENT_VALIDATION_ERROR_ON_SCREEN="validation-error-on-screen"}static{this.ATTRIBUTE_ITEM_NAME_CONTINUE_BUTTON_CLICKED="continue button clicked"}static{this.ATTRIBUTE_ITEM_NAME_BACK_BUTTON_CLICKED="back button clicked"}static{this.ATTRIBUTE_ITEM_NAME_EDIT="change details"}}return o})(),u=class x{constructor(r,t){this.dataLayerService=r,this.store=t}onNotifyStepRendered(r,t){this.lastRenderedStep=t.stepKey,this.dataLayerService.addStepViewEvent(this.enrichWithCommonAttributes({stepId:this.computeStepId(t.stepKey)}))}onLastStepSendEndEvent(){let r=this.store.selectSnapshot(h.currentStep),t=this.store.selectSnapshot(h.steps);t&&t.indexOf(r)===t.length-1&&this.sendEndEvent()}onGoToNextStepAction(){this.lastRenderedStep===l.INTRODUCTION?this.sendStartEvent():this.sendNextEvent()}onGoToNextStepActionUserInput(){let r=this.store.selectSnapshot(h.currentStep),t=this.store.selectSnapshot(h.steps),n=t.indexOf(r);t[n-1]?.key===l.CHOOSE_INSTALL_TYPE&&this.dataLayerService.sendEvent({eventInfo:this.dataLayerService.createEventInfo(c.EVENT_NAME_NEXT_INSTALL_TYPE,c.EVENT_TYPE_NEXT,c.MESSAGE_GROUPS),attributes:this.enrichWithCommonAttributes({itemName:this.getInstallType()}),category:this.categorySelfService()})}onGoToPreviousStepAction(){this.dataLayerService.sendEvent({eventInfo:this.dataLayerService.createEventInfo(c.ATTRIBUTE_ITEM_NAME_BACK_BUTTON_CLICKED,g.EVENT_TYPE_CLICK,c.MESSAGE_GROUPS),attributes:this.enrichWithCommonAttributes({itemName:c.ATTRIBUTE_ITEM_NAME_BACK_BUTTON_CLICKED,itemData:this.store.selectSnapshot(h.currentStep).key}),category:this.categorySelfService()})}onSetStepToEditAction(r,t){this.sendEditEvent(t.stepKey)}onSetUIErrors(r,t){let n=this.buildErrorMessages(t.errors);if(n.length>0){let s=this.dataLayerService.createEventInfo(Ve.EVENT_NAME_ERROR_OCCURRED,g.EVENT_TYPE_ERROR,c.MESSAGE_GROUPS);s.setEventStatus(Ct.EVENT_STATUS_FAILED),s.setEventStatusMessage(n.join(" | ")),this.dataLayerService.sendEvent({eventInfo:s,attributes:this.enrichWithCommonAttributes({itemName:c.EVENT_VALIDATION_ERROR_ON_SCREEN,itemData:this.computeItemDataForEditEvent(this.store.selectSnapshot(h.currentStep).key)})})}}buildErrorMessages(r){return Object.keys(r).map(t=>`${t}: ${Object.keys(r[t]).join(",")}`)}computeStepId(r){switch(r){case l.LOGIN:return"move-login-page";case l.INTRODUCTION:return"start-moveflow";case l.MOVE_TO:return"new-address";case l.CHOOSE_INSTALL_TYPE:return"install-type";case l.CHOOSE_MOVE_DATE:return`${this.getInstallTypePrefix()}-date-selector`;case l.CHOOSE_APPOINTMENT:return`${this.getInstallTypePrefix()}-date-selector`;case l.DELIVERY_DETAILS:return`${this.getInstallTypePrefix()}-address`;case l.OVERVIEW:return`${this.getInstallTypePrefix()}-overview`;case l.CONFIRMATION:return"confirmation-screen"}}getInstallTypePrefix(){switch(this.store.selectSnapshot(B.installType)){case _.SELF_INSTALL:return"self-install";case _.SELF_INSTALL_HOME_DELIVERY:return"homedelivery";case _.COMFORT_INSTALL:return"technician";case _.BUSINESS_INSTALL:return"business-install"}}getInstallType(){switch(this.store.selectSnapshot(B.installType)){case _.SELF_INSTALL:return"self-install";case _.SELF_INSTALL_HOME_DELIVERY:return"homedelivery";case _.COMFORT_INSTALL:return"technician";case _.BUSINESS_INSTALL:return"business"}}sendStartEvent(){this.dataLayerService.sendEvent({eventInfo:this.dataLayerService.createEventInfo(c.EVENT_NAME_SELF_SERVICE_FLOW_STARTED,g.EVENT_TYPE_SELF_SERVICE_FLOW_STARTED,c.MESSAGE_GROUPS),attributes:this.commonAttributes(),category:this.categorySelfService()})}sendNextEvent(){this.dataLayerService.sendEvent({eventInfo:this.dataLayerService.createEventInfo(Ve.EVENT_NAME_CONTINUE_BUTTON_CLICKED,g.EVENT_TYPE_CLICK,c.MESSAGE_GROUPS),attributes:this.enrichWithCommonAttributes({itemName:c.ATTRIBUTE_ITEM_NAME_CONTINUE_BUTTON_CLICKED}),category:this.categorySelfService()})}sendEditEvent(r){this.dataLayerService.sendEvent({eventInfo:this.dataLayerService.createEventInfo(c.EVENT_NAME_EDIT_LINK_CLICKED,g.EVENT_TYPE_CLICK,c.MESSAGE_GROUPS),attributes:this.enrichWithCommonAttributes({itemName:c.ATTRIBUTE_ITEM_NAME_EDIT,itemData:this.computeItemDataForEditEvent(r)}),category:this.categorySelfService()})}computeItemDataForEditEvent(r){switch(r){case l.MOVE_TO:return"address";case l.CHOOSE_INSTALL_TYPE:return"installation type";case l.CHOOSE_MOVE_DATE:return"moving date";case l.CHOOSE_APPOINTMENT:return"installation date"}}sendEndEvent(){this.dataLayerService.sendEvent({eventInfo:this.dataLayerService.createEventInfo(c.EVENT_NAME_SELF_SERVICE_FLOW_ENDED,g.EVENT_TYPE_SELF_SERVICE_FLOW_END,c.MESSAGE_GROUPS),attributes:this.commonAttributes(),category:this.categorySelfService()})}categorySelfService(){return this.dataLayerService.createCategory("self-service")}enrichWithCommonAttributes(r){return Object.assign(this.commonAttributes(),r)}commonAttributes(){return{intent:"darwin move flow",flowType:"self-service"}}static{this.\u0275fac=function(t){return new(t||x)(I.\u0275\u0275inject(Ge.DataLayerService),I.\u
10275\u0275inject(je.Store))}}static{this.\u0275prov=I.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac})}};S([v(R),a("design:type",Function),a("design:paramtypes",[Object,R]),a("design:returntype",void 0)],u.prototype,"onNotifyStepRendered",null);S([v(R),a("design:type",Function),a("design:paramtypes",[]),a("design:returntype",void 0)],u.prototype,"onLastStepSendEndEvent",null);S([v(V),a("design:type",Function),a("design:paramtypes",[]),a("design:returntype",void 0)],u.prototype,"onGoToNextStepAction",null);S([v(V),a("design:type",Function),a("design:paramtypes",[]),a("design:returntype",void 0)],u.prototype,"onGoToNextStepActionUserInput",null);S([v(ie),a("design:type",Function),a("design:paramtypes",[]),a("design:returntype",void 0)],u.prototype,"onGoToPreviousStepAction",null);S([v(G),a("design:type",Function),a("design:paramtypes",[Object,G]),a("design:returntype",void 0)],u.prototype,"onSetStepToEditAction",null);S([v(m.SetUIErrors),a("design:type",Function),a("design:paramtypes",[Object,m.SetUIErrors]),a("design:returntype",void 0)],u.prototype,"onSetUIErrors",null);u=S([ht({name:"moveFlowAnalytics",defaults:null}),a("design:paramtypes",[vt,_t])],u);import*as k from"@angular/core";var Be=(()=>{class o{static{this.\u0275fac=function(n){return new(n||o)}}static{this.\u0275mod=k.\u0275\u0275defineNgModule({type:o})}static{this.\u0275inj=k.\u0275\u0275defineInjector({providers:[se],imports:[de,gt,Ot.forFeature([h,ue,ge,u,ve,he,M,C,ae,Ee])]})}}return o})();import*as e from"@angular/core";import*as Ke from"@ngxs/store";var At=()=>({background:"url(/etc/designs/aff-telenet-be/media/general/bg_testing.png)"});function Lt(o,r){if(o&1){let t=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"app-login",4),e.\u0275\u0275listener("loginClicked",function(){e.\u0275\u0275restoreView(t);let s=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(s.onLoginClicked())}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}}function Nt(o,r){if(o&1&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Lt,2,0,"ng-container",3),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275elementContainerEnd()),o&2){let t=e.\u0275\u0275nextContext(2),n=e.\u0275\u0275reference(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!e.\u0275\u0275pipeBind1(2,2,t.hasOrderCorrection$))("ngIfElse",n)}}function Ut(o,r){if(o&1&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",5),e.\u0275\u0275element(2,"app-step-container",6),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(3,"app-step-navigation-bar",7),e.\u0275\u0275elementContainerEnd()),o&2){let t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngStyle",t.isTest()&&e.\u0275\u0275pureFunction0(2,At)),e.\u0275\u0275advance(),e.\u0275\u0275property("messageGroup",t.moveFlowConstants.MESSAGE_GROUP)}}function bt(o,r){if(o&1&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Ut,4,3,"ng-container",3),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275elementContainerEnd()),o&2){let t=e.\u0275\u0275nextContext(2),n=e.\u0275\u0275reference(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!e.\u0275\u0275pipeBind1(2,2,t.hasOrderCorrection$))("ngIfElse",n)}}function Pt(o,r){if(o&1&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Nt,3,4,"ng-container",2),e.\u0275\u0275pipe(2,"async"),e.\u0275\u0275template(3,bt,3,4,"ng-container",2),e.\u0275\u0275pipe(4,"async"),e.\u0275\u0275elementContainerEnd()),o&2){let t=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!e.\u0275\u0275pipeBind1(2,2,t.isLoggedIn$)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",e.\u0275\u0275pipeBind1(4,4,t.isLoggedIn$))}}function Dt(o,r){if(o&1&&(e.\u0275\u0275element(0,"order-correction",8),e.\u0275\u0275pipe(1,"async")),o&2){let t=e.\u0275\u0275nextContext();e.\u0275\u0275property("orderCorrection",e.\u0275\u0275pipeBind1(1,3,t.orderCorrection$))("messageGroup",t.moveFlowConstants.MESSAGE_GROUP)("moduleName",t.moveFlowConstants.MODULE_NAME)}}var ho=(()=>{class o{constructor(t,n,s,$,He,We,Ye,ze){this.productService=t,this.store=n,this.loaderService=s,this.urlService=$,this.orderCorrectionService=He,this.flowFactory=We,this.testService=Ye,this.orderCorrectionFactory=ze,this.initialized=!1,this.loggedIn=!1,this.moveFlowConstants=E,this.hasOrderCorrection$=this.store.select(f.hasOrderCorrections),this.orderCorrection$=this.store.select(f.orderCorrection),this.isLoggedIn$=this.store.select(f.isLoggedIn),this.subs$=new Rt,this.PARAM_IS_TEST="test"}ngOnInit(){this.loaderService.start(),this.checkError(),this.initAuthorConfig().then(()=>{this.initTest(),this.initFlow()})}initTest(){this.store.selectSnapshot(f.authorConfiguration).isDebug&&this.testService.run()}initAuthorConfig(){return Tt(this.store.dispatch(new m.InitAuthorConfiguration({endOfFlowRedirectUrl:this.endOfFlowRedirectUrl,endOfFlowRedirectUrlPendingMoveOrderCorrection:this.endOfFlowRedirectUrlPendingMoveOrderCorrection,endOfFlowRedirectUrlOnlyMobileLinesOrderCorrection:this.endOfFlowRedirectUrlOnlyMobileLinesOrderCorrection,endOfFlowRedirectUrlMemberOrderCorrection:this.endOfFlowRedirectUrlMemberOrderCorrection,endOfFlowRedirectUrlFleetUserOrderCorrection:this.endOfFlowRedirectUrlFleetUserOrderCorrection,endOfFlowRedirectUrlCustomerServiceSegmentOrderCorrection:this.endOfFlowRedirectUrlCustomerServiceSegmentOrderCorrection,endOfFlowRedirectUrlManualProcessingOrderCorrection:this.endOfFlowRedirectUrlManualProcessingOrderCorrection,endOfFlowRedirectUrlFiberProductOrderCorrection:this.endOfFlowRedirectUrlFiberProductOrderCorrection,endOfFlowRedirectUrlViewApp
1ointments:this.endOfFlowRedirectUrlViewAppointments,legalsAndPrivacyLink:this.legalsAndPrivacyLink,errorUrl:this.errorUrl,isDebug:this.isDebug,applinkApiV2:this.applinkApiV2,isSohoInstance:this.isSohoInstance})))}onLoginClicked(){this.store.dispatch(new m.Login)}isTest(){return this.urlService.getRequestParamValue(this.PARAM_IS_TEST,"false")==="true"}ngOnDestroy(){this.subs$.next(null),this.subs$.complete()}initFlow(){let t=this.getStepFlowConfig();this.store.dispatch(new m.Initialise(t)).pipe($e(()=>{let n=this.orderCorrectionFactory.findDarwinMoveFlowOrderCorrections();return this.setOrderCorrections(n)}),It(()=>{this.initialized=!0,this.loaderService.stop()})).subscribe(),this.store.select(C.salesOrder).pipe($e(()=>{let n=[new P,new D(this.productService)];return this.setOrderCorrections(n)})).subscribe()}setOrderCorrections(t){let n=this.store.selectSnapshot(f.authorConfiguration);return this.orderCorrectionService.orderCorrectionIfConditionsMet$(t,n).pipe(yt(s=>{this.store.dispatch(new m.SetOrderCorrection(s))}))}getStepFlowConfig(){let t=this.store.selectSnapshot(f.isSohoFlow);return this.flowFactory.createFlow(t?j.SOHO:j.RES)}checkError(){this.store.select(Ce.error).subscribe(t=>{t&&(this.store.dispatch(new m.SetError(t)),this.loaderService.stop())})}static{this.\u0275fac=function(n){return new(n||o)(e.\u0275\u0275directiveInject(w),e.\u0275\u0275directiveInject(Ke.Store),e.\u0275\u0275directiveInject(K),e.\u0275\u0275directiveInject(y),e.\u0275\u0275directiveInject(_e),e.\u0275\u0275directiveInject(Ie),e.\u0275\u0275directiveInject(Fe),e.\u0275\u0275directiveInject(Ue))}}static{this.\u0275cmp=e.\u0275\u0275defineComponent({type:o,selectors:[["tg-dwn-move"]],inputs:{endOfFlowRedirectUrl:"endOfFlowRedirectUrl",endOfFlowRedirectUrlPendingMoveOrderCorrection:"endOfFlowRedirectUrlPendingMoveOrderCorrection",endOfFlowRedirectUrlOnlyMobileLinesOrderCorrection:"endOfFlowRedirectUrlOnlyMobileLinesOrderCorrection",endOfFlowRedirectUrlMemberOrderCorrection:"endOfFlowRedirectUrlMemberOrderCorrection",endOfFlowRedirectUrlFleetUserOrderCorrection:"endOfFlowRedirectUrlFleetUserOrderCorrection",endOfFlowRedirectUrlCustomerServiceSegmentOrderCorrection:"endOfFlowRedirectUrlCustomerServiceSegmentOrderCorrection",endOfFlowRedirectUrlManualProcessingOrderCorrection:"endOfFlowRedirectUrlManualProcessingOrderCorrection",endOfFlowRedirectUrlFiberProductOrderCorrection:"endOfFlowRedirectUrlFiberProductOrderCorrection",endOfFlowRedirectUrlViewApp
1ointments:"endOfFlowRedirectUrlViewAppointments",legalsAndPrivacyLink:"legalsAndPrivacyLink",errorUrl:"errorUrl",isDebug:"isDebug",applinkApiV2:"applinkApiV2",isSohoInstance:"isSohoInstance",enableLoader:"enableLoader",enableMask:"enableMask"},decls:4,vars:4,consts:[["orderCorrections",""],[3,"enableLoader","pageType","enableMask"],[4,"ngIf"],[4,"ngIf","ngIfElse"],[3,"loginClicked"],[1,"stepper-page__body",3,"ngStyle"],[3,"messageGroup"],["styling","buttons"],[3,"orderCorrection","messageGroup","moduleName"]],template:function(n,s){n&1&&(e.\u0275\u0275element(0,"app-loader",1),e.\u0275\u0275template(1,Pt,5,6,"ng-container",2)(2,Dt,2,5,"ng-template",null,0,e.\u0275\u0275templateRefExtractor)),n&2&&(e.\u0275\u0275property("enableLoader",s.enableLoader)("pageType","care-page")("enableMask",s.enableMask),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",s.initialized))},dependencies:[wt,Mt,W,H,ke,ne,oe,me,le,pe,Be,Ft],encapsulation:2})}}return o})();export{ho as MoveComponent};

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.