1import{C as I,F as v,ca as D}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-VLHNUVO3.js";import{e as T}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-KFW34AI3.js";import{a as S,b as L}from"/etc/designs/aff-telenetgroup/ng/dist/telenetgroup-app/chunk-WXUJ2XVZ.js";import{ReplaySubject as U,forkJoin as j,timeout as G,from as H,BehaviorSubject as ve,Subject as Ee,Observable as we}from"rxjs";import*as o from"@angular/core";import{Inject as be,InjectionToken as Qe,inject as Se,APP_INITIALIZER as it,LOCALE_ID as at,EventEmitter as Le,ElementRef as lt}from"@angular/core";import*as V from"@telenet/ng-lib-datalayer";import{EventTypeEnum as Ie,EventCategoryEnum as Te}from"@telenet/ng-lib-datalayer";import{DirectCallLabelEnum as De}from"@telenet/ng-lib-udl";import{shareReplay as gt,map as Re,filter as mt,mergeMap as vt,tap as Et,take as wt,takeUntil as Ae}from"rxjs/operators";import Ce from"@angular/common/locales/nl-BE";import ye from"@angular/common/locales/fr-BE";import Oe from"@angular/common/locales/en-BE";import"@angular/router";import{ActivatedRoute as Rt,RouterModule as At}from"@angular/router";import{AsyncPipe as yt,JsonPipe as Ot,CommonModule as Ne,registerLocaleData as Nt}from"@angular/common";import{Subject as O,Subscription as J,from as Q,EMPTY as ee}from"rxjs";import{\u0275NG_PIPE_DEF as te,\u0275getLContext as ne,\u0275global as ie}from"@angular/core";import{mergeMap as R,takeUntil as re}from"rxjs/operators";var oe=te;function se(t){return!!t[oe]}var ae=Symbol("__destroy"),N=Symbol("__decoratorApplied");function _(t){return typeof t=="string"?Symbol(`__destroy__${t}`):ae}function ce(t){t.prototype[N]=!0}function M(t,i){t[i]||(t[i]=new O)}function P(t,i){t[i]&&(t[i].next(),t[i].complete(),t[i]=null)}function B(t){t instanceof J&&t.unsubscribe()}function de(t){Array.isArray(t)&&t.forEach(B)}function F(t,i){return function(){if(t&&t.call(this),P(this,_()),i.arrayName&&de(this[i.arrayName]),i.checkProperties)for(let e in this)i.blackList?.includes(e)||B(this[e])}}function le(t,i){t.prototype.ngOnDestroy=F(t.prototype.ngOnDestroy,i)}function ue(t,i){let e=t.\u0275pipe;e.onDestroy=F(e.onDestroy,i)}function k(t={}){return i=>{se(i)?ue(i,t):le(i,t),ce(i)}}var A=7,C=Symbol("CheckerHasBeenSet");function he(t,i){t[C]||fe()||(y(()=>Q(Promise.resolve()).pipe(R(()=>{let e;try{e=ne(t)}catch{e=null}let n=e?.lView;if(n==null)return ee;let r=n[A]||(n[A]=[]),s=new O;return r.push(function(){y(()=>{s.next(),s.complete()})}),s}),R(()=>Promise.resolve())).subscribe(()=>{(i.observed??i.observers.length>0)&&console.warn(pe(t))})),t[C]=!0)}function fe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]"}function y(t){let i=ie.Zone;return!!i&&typeof i.root?.run=="function"?i.root.run(t):t()}function pe(t){return` 2 The ${t.constructor.name} still has subscriptions that haven't been unsubscribed. 3 This may happen if the class extends another class decorated with @UntilDestroy(). 4 The child class implements its own ngOnDestroy() method but doesn't call super.ngOnDestroy(). 5 Let's look at the following example: 6 @UntilDestroy() 7 @Directive() 8 export abstract class BaseDirective {} 9 @Component({ template: '' }) 10 export class ConcreteComponent extends BaseDirective implements OnDestroy { 11 constructor() { 12 super(); 13 someObservable$.pipe(untilDestroyed(this)).subscribe(); 14 } 15 ngOnDestroy(): void { 16 // Some logic here... 17 } 18 } 19 The BaseDirective.ngOnDestroy() will not be called since Angular will call ngOnDestroy() 20 on the ConcreteComponent, but not on the BaseDirective. 21 One of the solutions is to declare an empty ngOnDestroy method on the BaseDirective: 22 @UntilDestroy() 23 @Directive() 24 export abstract class BaseDirective { 25 ngOnDestroy(): void {} 26 } 27 @Component({ template: '' }) 28 export class ConcreteComponent extends BaseDirective implements OnDestroy { 29 constructor() { 30 super(); 31 someObservable$.pipe(untilDestroyed(this)).subscribe(); 32 } 33 ngOnDestroy(): void { 34 // Some logic here... 35 super.ngOnDestroy(); 36 } 37 } 38 `}var E=!1;function ge(t,i,e){let n=t[i];if(E&&typeof n!="function")throw new Error(`${t.constructor.name} is using untilDestroyed but doesn't implement ${i}`);M(t,e),t[i]=function(){n.apply(this,arguments),P(this,e),t[i]=n}}function x(t,i){return e=>{let n=_(i);typeof i=="string"?ge(t,i,n):(E&&me(t),M(t,n));let r=t[n];return E&&he(t,r),e.pipe(re(r))}}function me(t){let i=Object.getPrototypeOf(t);if(!(N in i))throw new Error("untilDestroyed operator cannot be used inside directives or components or providers that are not decorated with UntilDestroy decorator")}import*as X from"@ngx-translate/core";import{TranslateModule as _e,TranslateLoader as Pt}from"@ngx-translate/core";import{HttpClient as Ft}from"@angular/common/http";var Me=(()=>{class t{static CONTEXTHUB="ContextHub";static MESSAGE_GROUP_NBALIST="nbaList";static STORE_NAME_CONTACT_DETAILS="contactDetails";static MESSAGE_GROUP_CONTACT_DETAILS="contact-details";static STORE_NAME_PEGA="pega";static ANGULAR_STORE_SERVICE_REF="angularStoreServicesRef";static EVENT_STORE_READY="store-ready"}return t})(),Pe=function(t,i,e,n){var r=arguments.length,s=r<3?i:n===null?n=Object.getOwnPropertyDescriptor(i,e):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,i,e,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(r<3?a(s):r>
383?a(i,e,s):a(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s},Be=function(t,i){return function(e,n){i(e,n,t)}},W=class{_ngZone;window;dataLayerService;storeConfig;STORE_DATA_LOADED_CALL_LABEL="store_data_loaded";contextHubSubject=new U(1);isGetDataCallInvoked=!1;constructor(i,e,n,r){this._ngZone=i,this.window=e,this.dataLayerService=n,this.storeConfig=r,this.registerAngularService(),this.registerStoreEventHook()}enrich(i){throw new Error("Method not Supported")}onLoadData(i){throw new Error("Method not Supported")}getStoreData(){let i=this.getStore();if(i){let e=i.name+"_store_ready";i.eventing.once(Me.EVENT_STORE_READY,()=>{this.isGetDataCallInvoked||(this.isGetDataCallInvoked=!0,i.getData(!0))},e,!0)}return this.contextHubSubject}updateStoreData(i,e=!0){this.getStore()?.updateStoreData(i,e)}onStoreDataLoaded(i){this.contextHubSubject&&(i=this.handleEnrich(i),this.contextHubSubject.next(i),this.contextHubSubject.complete(),this.contextHubSubject=new U(1),this.isGetDataCallInvoked=!1)}registerAngularService(){this.window.angularStoreServicesRef||(this.window.angularStoreServicesRef={});let i=this.window.angularStoreServicesRef;i&&(i[this.storeConfig.serviceName]={service:this,zone:this._ngZone})}getStore(){let i=this.window.ContextHub;return!i||typeof i.getStore!="function"?null:i.getStore(this.storeConfig.storeName)??null}handleEnrich(i){try{return this.enrich(i)}catch{return this.storeConfig.storeModel?.enrich?this.storeConfig.storeModel.enrich(i):{}}}registerStoreEventHook(){let i=this.getStore();i!==null&&this.sendDataLayerEventOnStoreEvent(i,this.STORE_DATA_LOADED_CALL_LABEL,De.STORE_DATA_LOADED)}sendDataLayerEventOnStoreEvent(i,e,n){i.eventing.once(e+":"+i.name,()=>this.sendDataLayerStoreEvent("contexthub "+e,n,i),i.name+"_"+e,!0)}sendDataLayerStoreEvent(i,e,n){let r=this.dataLayerService.createEventInfo(i,Ie.EVENT_TYPE_CH_STORE),s=this.dataLayerService.createCategory(Te.PRIMARY_CATEGORY_GENERAL),a={storeName:n.name};this.dataLayerService.sendEvent({eventInfo:r,attributes:a,category:s,directCallLabel:e})}};W=Pe([Be(1,be("Window"))],W);var l=(function(t){return t[t.EDGE=0]="EDGE",t[t.OPERA=1]="OPERA",t[t.CHROME=2]="CHROME",t[t.INTERNET_EXPLORER=3]="INTERNET_EXPLORER",t[t.FIREFOX=4]="FIREFOX",t[t.SAFARI=5]="SAFARI",t[t.UNKNOWN=6]="UNKNOWN",t})(l||{}),Fe=(()=>{class t{static SUBSTRING_NOT_IN_STRING_DELIMETER=-1;clientBrowserType(){let e=window.navigator.userAgent.toLowerCase();return e.indexOf("edge")>t.SUBSTRING_NOT_IN_STRING_DELIMETER?l.EDGE:e.indexOf("opr")>t.SUBSTRING_NOT_IN_STRING_DELIMETER&&window.opr?l.OPERA:e.indexOf("chrome")>t.SUBSTRING_NOT_IN_STRING_DELIMETER&&window.chrome?l.CHROME:e.indexOf("trident")>t.SUBSTRING_NOT_IN_STRING_DELIMETER?l.INTERNET_EXPLORER:e.indexOf("firefox")>t.SUBSTRING_NOT_IN_STRING_DELIMETER?l.FIREFOX:e.indexOf("safari")>t.SUBSTRING_NOT_IN_STRING_DELIMETER?l.SAFARI:l.UNKNOWN}isClientUsingSafari(){return this.clientBrowserType()===l.SAFARI}static \u0275fac=function(n){return new(n||t)};static \u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),p=(function(t){return t.RESIDENTIAL="RESIDENTIAL",t.BUSINESS="BUSINESS",t.FLEET_PORTAL="FLEET-PORTAL",t.BUSINESS_LINE="Business",t.RESIDENTIAL_LINE="Residential",t.ORPHAN="ORPHAN USER",t.FLEET_MANAGER="FLEET MANAGER",t.FLEET_USER="FLEET USER",t.LEGACY="LEGACY USER",t})(p||{});var u=(function(t){return t.BRAND_TELENET="TELENET",t.BRAND_BASE="BASE",t})(u||{}),K=(function(t){return t.FLOW="flow",t.PGSTATUS="pgstatus",t.ITEM="item",t.PRODUCT_TYPE="producttype",t.SALES_ORDER_ID="sid",t.PRODUCT_IDENTIFIER="pid",t.STATUSES="statuses",t.INTENT="intent",t.SOURCE="source",t.SOURCE_NBA="nba",t.SOURCE_ITS_ME="itsme",t.SOURCE_EMAIL="email",t.VAL="val",t.SO_TOKEN="token",t.JWT_TOKEN="jwt",t.FLOW_MARKETING="marketing",t.IDENTIFIER="identifier",t.STEP="step",t.INTENT_SUFFIX="intentsuffix",t.ACTION="action",t.INSTALLATION_LOCATION_ID="installationLocationId",t.SDATA="sdata",t})(K||{}),d=(function(t){return t.NL="nl",t.FR="fr",t.EN="en",t})(d||{}),xt=(()=>{class t{window;constructor(e){this.window=e}language;getLanguage(){let e=this.window.document.documentElement.lang;if(e=e&&e.toLowerCase(),!this.language&&e)switch(!0){case e.includes(d.FR):return d.FR;case e.includes(d.EN):return d.EN;case e.includes(d.NL):default:return d.NL}else return d.NL}getAllLanguages(){return Object.values(d)}getLocale(){switch(this.getLanguage()){case d.FR:return ye;case d.EN:return Oe;case d.NL:default:return Ce}}
38getLocaleString(){switch(this.getLanguage()){case d.FR:return"fr-BE";case d.EN:return"en-BE";case d.NL:default:return"nl-BE"}}static \u0275fac=function(n){return new(n||t)(o.\u0275\u0275inject("Window"))};static \u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ut=(()=>{class t{normalizeKey(e){return e?e.replace(/ /g,"-").replace(/\./g,"-").replace(/[^0-9a-zA-Z_-]/g,"").toLowerCase():""}normalizeList(e){return e?.length?e.map(n=>this.normalizeKey(n)):[]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Y=(()=>{class t{window;constructor(e){this.window=e}getPostfixVariables(){return{BRAND_POSTFIX:this.getBrandPostfix(),CATEGORY_POSTFIX:this.getCategoryPostfix(),BRAND_CATEGORY_POSTFIX:this.getBrandPostfix()+this.getCategoryPostfix()}}getBrandPostfix(){let e=this.getBrandLabelSuffix();return e?`.${e}`:""}getCategoryPostfix(){let e=this.getCategoryLabelSuffix();return e?`.${e}`:window.location.pathname.indexOf("/business/")!==-1?".tfb":""}getCategoryLabelSuffix(){return this.window.TelenetGroup?.pathCategorisation?.categoryLabelSuffix}getBrandLabelSuffix(){return this.window.TelenetGroup?.pathCategorisation?.brandLabelSuffix}getLabelSuffix(){return this.window.TelenetGroup?.pathCategorisation?.labelSuffix}getCustomerBrand(){return this.window.TelenetGroup?.pathCategorisation?.customerBrand}getCustomerCategory(){return this.window.TelenetGroup?.pathCategorisation?.customerCategory}isCustomerOfBrandTypes(e=[]){return e.includes(this.getCustomerBrand())}isCustomerOfBrand(e){return this.getCustomerBrand()===e}isCustomerOfType(e){return this.getCustomerCategory()?.toUpperCase()===e.toUpperCase()}isBrandBaseAndCategoryResidential(){return this.getCustomerBrand()===u.BRAND_BASE&&this.isCustomerOfType(p.RESIDENTIAL)}isBrandBaseAndCategoryBusiness(){return this.getCustomerBrand()===u.BRAND_BASE&&this.isCustomerOfType(p.BUSINESS)}isBrandTelenetAndCategoryResidential(){return this.getCustomerBrand()===u.BRAND_TELENET&&this.isCustomerOfType(p.RESIDENTIAL)}isBrandTelenetAndCategoryBusiness(){return this.getCustomerBrand()===u.BRAND_TELENET&&this.isCustomerOfType(p.BUSINESS)}isBrandTelenetAndCategoryFleetPortal(){return this.getCustomerBrand()===u.BRAND_TELENET&&this.isCustomerOfType(p.FLEET_PORTAL)}isBrandTelenetAndCategoryResidentialOrFleet(){return this.isBrandTelenetAndCategoryResidential()||this.isBrandTelenetAndCategoryFleetPortal()}isBrandBaseAndCategoryResidentialOrBusiness(){return this.isBrandBaseAndCategoryResidential()||this.isBrandBaseAndCategoryBusiness()}getDisplayBrand(){let e=this.getCustomerBrand();return e?.toUpperCase()===u.BRAND_TELENET?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():u.BRAND_BASE}static \u0275fac=function(n){return new(n||t)(o.\u0275\u0275inject("Window"))};static \u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ke=/^\s*(javascript|data|vbscript|file):/i,jt=(()=>{class t{window;dataLayerService;clientBrowserTypeService;constructor(e,n,r){this.window=e,this.dataLayerService=n,this.clientBrowserTypeService=r}getCurrentUrl(){return this.window.location&&this.window.location.href?this.window.location.href:""}openWindow(e){this.window.open(e,"_self")}openNewTab(e){this.clientBrowserTypeService.isClientUsingSafari()?this.openNewTabForSafari(e):this.window.open(e,this.windowIsIonic()?"_system":"_blank")}reloadWindow(){this.window.location.reload()}getParameterByName(e){let n=RegExp("[?&]"+e+"=([^&]*)").exec(this.window.location.search);return n&&decodeURIComponent(n[1])}getParamsValueFromUrl(e,n){let r=RegExp("[?&]"+n+"=([^&]*)").exec(e);return r&&decodeURIComponent(r[1])}getUrlWithParams(e,n){let r=v(n,s=>s.getKeyValue());return e+"?"+r.join("&")}redirectTo(e){let n=this.dataLayerService.getAnalyticsPromises();n?.length===0?this.doRedirect(e):j(n).pipe(G(5e3)).subscribe({next:()=>{this.doRedirect(e)},error:()=>{console.warn("Timeout: Datalayer promises couldn't be resolved. Redirecting to the url"),this.doRedirect(e)}})}resolveLink(e){return!e||e==="#"||/^(https?:|mailto:|tel:)/i.test(e)||e.startsWith("//")?e:/^[a-z][a-z0-9+.-]*:/i.test(e)?"#":new URL(e,`${this.getOrigin()}/`).toString()}redirectToLink(e){let n=this.resolveLink(e);!n||n==="#"||this.redirectTo(n)}getCapacitorPlatform(){return window.Capacitor?.getPlatform?.()}isNativeHost(){let e=this.getCapacitorPlatform();return!!e&&e!=="web"}redirectToNative(e){if(e){if(ke.test(e)){console.warn(`Refusing to open unsafe native deeplink "${e}".`);return}if(!this.isNativeHost()){console.warn(`Native deeplink "${e}" reached a web context; ignoring (no web equivalent).`);return}this.redirectAsLinkOut(e)}}doRedirect(e){this.windowIsIonic()?this.redirectAsLinkOut(e):this.redirectInWindow(e)}redirectInWindow(e){this.window.location.href=e}redirectAsLinkOut(e){this.window.open(e,"_system")}windowIsIonic(){return window.Capacitor!==void 0}doHistoryBack(){this.window.history&&this.window.history.back()}doHistoryBackButWaitForAnalytics(){let e=this.dataLayerService.getAnalyticsPromises();e?.length===0?this.window.history.back():j(e).pipe(G(5e3)).subscribe({next:()=>{this.window.history.back()},error:()=>{console.warn("Timeout: Datalayer promises couldn't be resolved. Redirecting to the url"),this.window.history.back()}})}getRequestParametersAsString(){return this.window.location&&this.window.location.search?this.window.location.search:""}getRequestParameters(){let e={};if(this.window.location&&this.window.location.search){let n=this.window.location.search.substring(1).split("&"),r=[];
38n.forEach(s=>{s!==""&&(r=s.split("="),e[decodeURIComponent(r[0])]=decodeURIComponent(r[1]))})}return e}getRequestParameterOrDefault(e,n){return I(this.getRequestParameters(),function(r,s){return s.toLowerCase()===e.toLowerCase()})||n}getRequestParamValue(e,n){return this.getRequestParameterOrDefault(e,n)}requestParamsContains(e){return this.getRequestParameters()[e]!==void 0}getHashParameter(e){let n=this.getHashParameters()[e];return n!==void 0?n.value:null}getUrlWithOnlyHashParam(){return this.window&&this.window.location&&this.window.location.hash?this.window.location.hash:""}removeURLParameters(e){let n=new RegExp(e.join("=|")+"="),r=this.window.location.search.slice(1).split("&"),s=[];for(let c of r)c.length>0&&!n.test(c)&&s.push(c);let a=this.window.location.pathname+(s.length?"?"+s.join("&"):"")+this.window.location.hash;this.window.history.replaceState({},this.window.document.title,a)}removeParametersFromUrl(e,n){if(Array.isArray(n)||(n=[n]),!e?.startsWith("http"))return e;let r=new URL(e),s=r.searchParams;return n.forEach(a=>{s.delete(a)}),r.href}replaceURLParameters(e){let n=this.window.location.search.slice(1).split("&"),r=[];for(let a of n)if(a.length>0){let c=a.split("="),b=decodeURIComponent(c[0]),q=e.find(Z=>Z.key===b)?.value??decodeURIComponent(c[1]);r.push(`${encodeURIComponent(b)}=${encodeURIComponent(q)}`)}e.filter(a=>!n.find(c=>decodeURIComponent(c.split("=")[0])===a.key)).forEach(a=>r.push(`${encodeURIComponent(a.key)}=${encodeURIComponent(a.value)}`));let s=this.window.location.pathname+(r.length?"?"+r.join("&"):"")+this.window.location.hash;this.window.history.replaceState({},this.window.document.title,s)}fromSource(e){let n=this.getRequestParamValue(K.SOURCE,"");return n=n&&n.toUpperCase(),n===e.toUpperCase()}getHashParameters(){if(this.window&&this.window.location&&this.window.location.hash){let e=this.window.location.hash.replace(/^#/,"");if(e!==""){let n=decodeURI(e).split("/");return D(v(n,r=>{let s=r.split("=");return{key:s[0],value:s[1]}}),r=>r.key)}}return{}}buildUrlWithParams(e,n){let r=[];return n.forEach((s,a)=>{r.push(`${a}=${s}`)}),e+(r.length>0?`?${r.join("&")}`:"")}buildUrlWithHashParams(e,n){let r=[];return n.forEach((s,a)=>{r.push(`${a}=${s}`)}),e+(r.length>0?`/#/${r.join("/")}`:"")}getOrigin(){return this.windowIsIonic()&&this.window.ionicShellWebOrigin?this.window.ionicShellWebOrigin:this.window.location.origin}getActionParametersRemovedURL(){let e=[],n=this.getCurrentUrl().split("&");for(let r of n)r.length>0&&r!=="action=register"&&e.push(r);return e.join("&")}getParameters(e){let n=new URL(e),r=new Map;for(let[s,a]of n.searchParams.entries())r.set(s,decodeURIComponent(a));return r}openNewTabForSafari(e){let n=document.createElement("a");n.href=e,n.target="_blank",n.rel="noopener noreferrer",document.body.appendChild(n),n.click(),n.remove()}static \u0275fac=function(n){return new(n||t)(o.\u0275\u0275inject("Window"),o.\u0275\u0275inject(V.DataLayerService),o.\u0275\u0275inject(Fe))};static \u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$=class{key;value;constructor(i,e){this.key=i,this.value=e}getKeyValue(){return this.value?`${this.key}=${this.value}`:this.key}},Gt=(()=>{class t{window;static JSON_URL="JsonUrl";libng;constructor(e){this.window=e,this.libng=this.window[t.JSON_URL]&&this.window[t.JSON_URL]("lzma")}compress(e){return H(this.libng.compress(e))}decompress(e){return H(this.libng.decompress(e))}static \u0275fac=function(n){return new(n||t)(o.\u0275\u0275inject("Window"))};static \u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),m=(function(t){return t.COMPUTER="computer",t.MOBILE="mobile",t.TABLET="tablet",t})(m||{}),h=(function(t){return t.XS="(max-width: 20em)",t.SM="(max-width: 36em)",t.MD="(max-width: 48.0625em)",t.LG="(max-width: 74.5em)",t.XL="(max-width: 90em)",t.XXL="(max-width: 104.688em)",t})(h||{}),xe=/iPad|Tablet|PlayBook|Silk|Kindle|Nexus (7|9|10)|SM-T\d+|Android(?!.*Mobile)/i,Ue=/Mobi|iPhone|iPod|Android.*Mobile|Windows Phone|IEMobile|BlackBerry|BB10|Opera Mini/i;function z(t){return/Mac/.test(t.platform??"")&&(t.maxTouchPoints??0)>1}function je(t){let i=t.userAgent??"";return xe.test(i)||z(t)?"tablet":Ue.test(i)?"mobile":"desktop"}function Ge(t){let i=t.userAgent??"";
38switch(!0){case/Android/i.test(i):return"Android";case(/iPhone|iPad|iPod/i.test(i)||z(t)):return"iOS";case/Windows/i.test(i):return"Windows";case/CrOS/i.test(i):return"Chrome-OS";case/Macintosh|Mac OS X/i.test(i):return"Mac";case/Linux/i.test(i):return"Linux";default:return"Unknown"}}function He(t){return typeof t.matchMedia!="function"?"Unknown":t.matchMedia("(orientation: landscape)").matches?"landscape":"portrait"}var Ht=(()=>{class t{window;#e;constructor(e){this.window=e}getDeviceName(){switch(this.deviceType){case"mobile":return m.MOBILE;case"tablet":return m.TABLET;default:return m.COMPUTER}}getDeviceInfo(){return L(S({},this.staticInfo),{orientation:He(this.window)})}isLandscapeMode(){return this.window.innerHeight<this.window.innerWidth}isMobile(){return this.deviceType==="mobile"}isTablet(){return this.deviceType==="tablet"}isDesktop(){return this.deviceType==="desktop"}get staticInfo(){if(!this.#e){let e=this.window.navigator??{};this.#e={userAgent:e.userAgent??"",os:Ge(e),deviceType:je(e)}}return this.#e}get deviceType(){return this.staticInfo.deviceType}isXsScreen(){return this.window.matchMedia(h.XS).matches}isSmScreen(){return this.window.matchMedia(h.SM).matches}isMdScreen(){return this.window.matchMedia(h.MD).matches}isLgScreen(){return this.window.matchMedia(h.LG).matches}isXlScreen(){return this.window.matchMedia(h.XL).matches}isXxlScreen(){return this.window.matchMedia(h.XXL).matches}static \u0275fac=function(n){return new(n||t)(o.\u0275\u0275inject("Window"))};static \u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Wt=(()=>{class t{unsubscribe$=new Ee;onDestroy(){}ngOnDestroy(){this.unsubscribe$.next(null),this.unsubscribe$.complete(),this.onDestroy()}obs(e){return e.pipe(Ae(this.unsubscribe$))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=o.\u0275\u0275defineComponent({type:t,selectors:[["app-abstract-base"]],decls:0,vars:0,template:function(n,r){},encapsulation:2,changeDetection:0})}return t})();var g=class{isAPIExecutionInProgress;dataCapturedOn;constructor(i){this.isAPIExecutionInProgress=i,this.dataCapturedOn=new Date().getTime()}},We=(()=>{class t{skipUrls=["/authrefresh","/?p=eligibleproducts","/search/api/"];loadingStatus=new ve(new g(!1));start(){let e=new g(!0);this.loadingStatus.next(e)}stop(){let e=new g(!1);this.loadingStatus.next(e)}shouldDisableLoader(e){return this.skipUrls.some(n=>new RegExp(n).test(e))||e.includes("disabledLoader=true")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$e=function(t,i,e,n){var r=arguments.length,s=r<3?i:n===null?n=Object.getOwnPropertyDescriptor(i,e):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,i,e,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(r<3?a(s):r>3?a(i,e,s):a(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s},$t=(()=>
38{let t=class w{loaderService;translate;pathCategorisationService;window;pageType="";startByDefault=!1;enableLoader=!1;enableMask=!1;loaderMessages;pageLoaderID="page-loader";loaderObj;messages=[];constructor(e,n,r,s){this.loaderService=e,this.translate=n,this.pathCategorisationService=r,this.window=s,this.loaderObj=this.window?.telenetgroupLoader}ngOnChanges(e){e.loaderMessages&&this.updateMessages()}ngAfterViewInit(){this.updateMessages(),this.loaderObj?(this.startByDefault&&this.showPageLoader(),this.loaderService.loadingStatus.pipe(x(this),Re(e=>e.isAPIExecutionInProgress)).subscribe(e=>{e?this.showPageLoader():this.hidePageLoader()})):console.error("Loader Plugin not initialised")}showPageLoader(){let e=this.pathCategorisationService.getCustomerBrand(),n={enable_loader:this.enableLoader,enable_mask:this.enableMask,loader_message:this.messages,brand:e,selector:this.pageLoaderID};this.loaderObj?.showPageLoader(n)}hidePageLoader(){setTimeout(()=>{this.loaderObj?.hidePageLoader()},250)}updateMessages(){this.loaderMessages?.length===3?this.messages=this.loaderMessages:this.messages=[this.translate.instant("ng.loader.message.sm"),this.translate.instant("ng.loader.message.lg"),this.translate.instant("ng.loader.message.xlg")]}static \u0275fac=function(n){return new(n||w)(o.\u0275\u0275directiveInject(We),o.\u0275\u0275directiveInject(X.TranslateService),o.\u0275\u0275directiveInject(Y),o.\u0275\u0275directiveInject("Window"))};static \u0275cmp=o.\u0275\u0275defineComponent({type:w,selectors:[["app-loader"]],inputs:{pageType:"pageType",startByDefault:"startByDefault",enableLoader:"enableLoader",enableMask:"enableMask",loaderMessages:"loaderMessages"},features:[o.\u0275\u0275NgOnChangesFeature],decls:0,vars:0,template:function(n,r){},encapsulation:2,changeDetection:0})};return t=$e([k()],t),t})();var Vt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=o.\u0275\u0275defineNgModule({type:t});static \u0275inj=o.\u0275\u0275defineInjector({imports:[Ne,_e]})}return t})(),Xt=(()=>{class t{static imagePaths={SALES:"/components/sales/nc/sales-checkout/media/",HARDWARE_CHECKOUT:"/content/dam/www-telenet-touch/default/images/hardware-checkout/",MOVE:"/components/care/administration/cafe/move/media/",CHANGE_FLAVOUR:"/components/sales/cafe/change-flavour/media/",CONNECT_FIVE:"/components/sales/cafe/connect-five/media/",PRODUCT_DASHBOARD:"/components/sales/cafe/product-dashboard/media/",TIP:"/components/tip/nc/media/",INTENT_FINDER:"/components/navigation/common/intent-finder/media/",CONTACT_SCHEDULER:"/components/general/common/contact-scheduler/media/",FLEET_HARDWARE:"/components/fleet/hardware/nc/media/",FLEET_PROFILE:"/components/fleet/create-profile/nc/media/",DWN_MOVE_FLOW:"/components/care/administration/nc/move-flow/media/",SELF_INSTALL:"/components/care/administration/nc/self-install/media/",FLEET_REMOVE_OPTIONS:"/components/fleet/product/nc/lineremoveoptions/media/",FLEET_ADD_OPTIONS:"/components/fleet/product/nc/lineaddoptions/media/",FLEET_LINE_CHANGE_TARIFF_PLAN:"/components/fleet/product/nc/linechangetariffplan/media/",MANAGE_EASY_SWITCH:"/components/care/administration/nc/manage-easy-switch/media/",CENTRAL_LOGIN:"/components/common/central-login/media/",DEFAULT_PROFILE_PIC:"/components/general/common/telenet-login/media/",FLEET_LINE_NAVIGATION_LIST:"/components/fleet/sim-swap/nc/line-navigation-list/media/",IN_HOME_CONNECTIVITY:"/components/sales/nc/in-home-connectivity/media/",FLEET_ACCOUNT:"/components/fleet/account/nc/media/",FLEET_SWITCH_LINE:"/components/fleet/contact/switch-line/nc/media/",ONLINE_PAYMENT:"/components/sales/online-payment/media/",FPB:"/components/fpb/search-contacts/nc/media/",STORE_FINDER:"/components/general/common/store-finder/media/",FTTH:"/content/dam/www-telenet-bus/nl/producten/ftth/"};static getImagePath(e,n,r){let s=t.imagePaths[e]||"",a=r?r.toLocaleLowerCase().concat("/"):"";return s+a+n}static \u0275fac=function(n){return new(n||t)};static \u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Kt=(()=>{class t{el;imageBasePath;override=!1;src="";constructor(e,n){this.el=e,this.imageBasePath=n}ngOnChanges(e){if(e.src?.isFirstChange()){let n=e.src.currentValue;if(this.el.nativeElement.tagName!=="IMG"||this.override){this.el.nativeElement.src=n;return}let r=this.imageBasePath.endsWith("/")?this.imageBasePath.slice(0,-1):this.imageBasePath,s=n.startsWith("/")?n.slice(1):n;this.el.nativeElement.src=`${r}/${s}`}}static \u0275fac=function(n){return new(n||t)(o.\u0275\u0275directiveInject(o.ElementRef),o.\u0275\u0275directiveInject("IMAGE_BASE_PATH"))};static \u0275dir=o.\u0275\u0275defineDirective({type:t,selectors:[["","src",""]],inputs:{override:"override",src:"src"},features:[o.\u0275\u0275NgOnChangesFeature]})}return t})(),Yt=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[{provide:"IMAGE_BASE_PATH",useValue:e}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=o.\u0275\u0275defineNgModule({type:t});static \u0275inj=o.\u0275\u0275defineInjector({})}return t})();
38var f=(function(t){return t.LABEL="lbl",t.BUTTON="btn",t.PLACEHOLDER="phd",t.LINK="lnk",t.TOOLTIP="ttp",t.TITLE="title",t.ERROR="error",t.TXT="text",t})(f||{}),zt=(()=>{class t{window;pathCategorisationService=Se(Y);postfixes=this.pathCategorisationService.getPostfixVariables();constructor(e){this.window=e,this.initializeBrandAndCategoryLabels()}initializeBrandAndCategoryLabels(){this.getTranslationData().subscribe(e=>{for(let n in e)this.overwriteOriginalLabelWithBrandOrCategorySpecificLabel(e,n)})}overwriteOriginalLabelWithBrandOrCategorySpecificLabel(e,n){let r=this.getPostfix(n);if(r){let s=n.replace(new RegExp(r+"$"),"");e[s]!==void 0&&(e[s]=e[n])}}getPostfix(e){return[this.postfixes.BRAND_CATEGORY_POSTFIX,this.postfixes.CATEGORY_POSTFIX,this.postfixes.BRAND_POSTFIX].find(n=>e.endsWith(n))||null}getTranslation(e){return this.getTranslationData()}getTranslationData(){return new we(e=>{T(this.window?.localisationData?.keys)?this.window?.pageLocaleData?.bundle?(e.next(this.window?.pageLocaleData.bundle),e.complete()):(e.next({}),e.complete(),console.log("NG Translations could not be loaded")):(e.next(this.window?.localisationData.keys),e.complete())})}static \u0275fac=function(n){return new(n||t)(o.\u0275\u0275inject("Window"))};static \u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac})}return t})(),Ve=(()=>{class t{notTranslated(e){return e.includes("undefined")?"":e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),qt=(()=>{class t{telenetMissingTranslationService;handle(e){return this.telenetMissingTranslationService.notTranslated(e.key)}constructor(e){this.telenetMissingTranslationService=e}static \u0275fac=function(n){return new(n||t)(o.\u0275\u0275inject(Ve))};static \u0275prov=o.\u0275\u0275defineInjectable({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Zt=(()=>{class t{static LABEL_PREFIX="ng";static getLabelKeyWithTypeLabel(e){return this.parseKey(e,f.LABEL)}static getLabelKeyWithTypeTitle(e){return this.parseKey(e,f.TITLE)}static getLabelKeyWithTypePlaceholder(e){return this.parseKey(e,f.PLACEHOLDER)}static getLabelKeyWithTypeText(e){return this.parseKey(e,f.TXT)}static getLabelKeyWithTypeError(e){return this.parseKey(e,f.ERROR)}static getLabelKeyWithTypeButton(e){return this.parseKey(e,f.BUTTON)}static normalizeKey(e){return e.replace(/ /g,"-").replace(/_/g,"-").replace(/[^.0-9a-zA-Z_-]/g,"").toLowerCase()}static parseKey(e,n){return Array.isArray(e)?this.joinKeys([this.LABEL_PREFIX,this.joinKeys(e),n]):this.joinKeys([this.LABEL_PREFIX,e,n])}static joinKeys(e){return e.join(".")}}return t})();var Jt=(()=>{class t{elementRef;appClickOutside=new Le;constructor(e){this.elementRef=e}onClick(e,n){if(!n)return;this.elementRef.nativeElement.contains(n)||this.appClickOutside.emit(e)}static \u0275fac=function(n){return new(n||t)(o.\u0275\u0275directiveInject(o.ElementRef))};static \u0275dir=o.\u0275\u0275defineDirective({type:t,selectors:[["","appClickOutside",""]],hostBindings:function(n,r){n&1&&o.\u0275\u0275listener("click",function(a){return r.onClick(a,a.target)},o.\u0275\u0275resolveDocument)},outputs:{appClickOutside:"appClickOutside"}})}return t})();export{k as a,x as b,p as c,u as d,K as e,d as f,xt as g,Ut as h,Y as i,jt as j,$ as k,Gt as l,m,h as n,Ht as o,Wt as p,g as q,We as r,$t as s,Vt as t,Xt as u,Kt as v,Yt as w,f as x,zt as y,Ve as z,qt as A,Zt as B,Jt as C};
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.