1import{a as ti}from"./chunk-TU4HS7DK.js";import{a as pi,k as Ni}from"./chunk-JE6V5G7H.js";import{a as st,c as Ri,d as Et}from"./chunk-YBKYC6ZO.js";import{a as di}from"./chunk-SVGMRVKV.js";import"./chunk-RU6I4RW7.js";import{a as It}from"./chunk-4BYXXBMT.js";import{a as Z,b as Ct,c as X,d as tt}from"./chunk-WYYGTMZQ.js";import"./chunk-3AF2FY7R.js";import{a as oi,b as bt,d as ai,f as Ot,g as Fi}from"./chunk-IUJ3XKBB.js";import{d as Gt}from"./chunk-3HZTQANH.js";import"./chunk-WPI45L2F.js";import{a as Xe,b as U}from"./chunk-OF4G3LWV.js";import{a as N,b as Ze}from"./chunk-3RDWKOPK.js";import{a as wi,b as Ei,c as Oi,d as xi,e as Ti}from"./chunk-FVC2P4FZ.js";import"./chunk-75FMBNAY.js";import{a as wt}from"./chunk-7JZD7OJ4.js";import{a as Vt}from"./chunk-TBS23I2Q.js";import"./chunk-RX2QZ7KY.js";import"./chunk-63UNW6OR.js";import{a as ci}from"./chunk-MSESEH7H.js";import"./chunk-MNNBRWSC.js";import"./chunk-UCTXCWYE.js";import{a as et,b as li,c as it,d as ui}from"./chunk-QE2RFR3A.js";import"./chunk-3ORZ5HPX.js";import"./chunk-UECSTCKC.js";import{A as Ci,B as bi,C as Ai,D as Ii,E as At,a as J,b as Y,c as Kt,d as vt,e as ei,f as ii,g as ri,h as Wt,i as ni,j as si,q as Q,t as mi,u as fi,v as hi,w as gi,x as yi,y as Si,z as vi}from"./chunk-HCUC3NOO.js";import{f as Be,i as He,j as Ge,n as K,o as T}from"./chunk-XPHZSUHH.js";import"./chunk-BFMBCTON.js";import"./chunk-C3K4HGJA.js";import{c as $e}from"./chunk-4GARSLLQ.js";import"./chunk-6CQPCFUJ.js";import"./chunk-RULHVCV2.js";import{a as G,d as gt}from"./chunk-NCUSZAE2.js";import"./chunk-OZF65NGS.js";import"./chunk-7ZH3MW5T.js";import{a as jr}from"./chunk-6XLZH56E.js";import{a as W,b as Ke,c as yt,e as We,l as Ve,m as qe,n as St,q as Je,r as Ye,s as Qe}from"./chunk-UOH7FEVC.js";import{b as De,c as Pe,g as Ue,h as ze}from"./chunk-KW6DEXY7.js";import"./chunk-3U7PUHCT.js";import"./chunk-DDHCCZ7T.js";import{a as q}from"./chunk-POVH2XMP.js";import{A as ke,E as ht,H as V,I as Me,J as je,K as _e,a as mt,w as ft}from"./chunk-LTE72U6U.js";import{A as he,B as ge,Cc as Fe,D as Bt,E as _,I as w,J as ye,L as Se,Ma as Ie,N as B,Oa as we,Qd as Le,Sb as Ne,Ta as Ee,Tb as H,U as ut,Ua as Oe,ab as xe,ba as ve,c as Ut,ca as Ce,cb as Te,ea as be,fb as Re,fc as Ht,g as zt,h as le,ha as O,i as ue,ia as pt,j as pe,k as de,ka as dt,la as Ae,m as A,n as nt,pa as C,q as me,qa as $,r as I,sa as R,t as fe,ua as u,va as S,za as $t}from"./chunk-6P6DX2R6.js";import{a as k,b as D,f as Mr,g as lt}from"./chunk-GAL4ENT6.js";function Li(t,n){let i=[U.CONFIG.getValue().services?.booking?.host],r=S(Gt);if(i.some(s=>t.url.includes(s))){let s=t.url,o={},{id:a,token:p,expiry:c,funnel:g,device:l}=Gt.SESSION();return a&&p&&c&&(o=D(k({},o),{"Session-Id":a,"Session-Token":p,"Session-Token-Expiry":`${c}`,"Funnel-Id":`${g}`,"EWP-Device-Id":l})),n(t.clone({url:s,setHeaders:o})).pipe(w(m=>{switch(m.status){case 410:{r.notifySessionExpired(l,g);break}}throw m}))}else return n(t)}var ot={name:"enterprise-web-platform",version:"6.3.0-rc.8",license:"MIT",bin:{ewp:"./tools/ewp/src/cli/cli.js"},scripts:{ng:"nx",ewp:"node ./tools/ewp/src/cli/cli.js",postinstall:"node ./decorate-angular-cli.js",start:"nx serve gotham",build:"nx build",test:"nx test","test:coverage-report":"npx nx run-many -t test --all --codeCoverage --coverageReporters=json && node tools/merge-coverage.js",affected:"nx graph --affected","local:ci-check":"npx nx format:write && npm run lint:styles && npx nx affected:lint --parallel && npx nx affected:test --parallel && npx nx affected:build --parallel","lint:styles":'stylelint "**/*.scss"',"lint:styles:fix":'stylelint "**/*.scss" --fix',prepare:"husky install","build:server":"npx nx build gotham --configuration=${npm_config_configuration:-production-carglass-at} && node ./dist/apps/gotham/server/server.mjs","build:size":"npx nx build gotham --configuration=${npm_config_configuration:-production-carglass-at} --source-map && npx source-map-explorer dist/apps/gotham/browser/*.js"},private:!0,engines:{node:"22.17.0",npm:"10.9.2"},dependencies:{"@angular/animations":"19.2.20","@angular/cdk":"19.2.9","@angular/common":"19.2.20","@angular/compiler":"19.2.20","@angular/core":"19.2.20","@angular/forms":"19.2.20","@angular/material":"19.2.9","@angular/platform-browser":"19.2.20","@angular/platform-browser-dynamic":"19.2.20","@angular/platform-server":"19.2.20","@angular/router":"19.2.20","@angular/ssr":"19.2.20","@angular/youtube-player":"19.2.19","@fortawesome/angular-fontawesome":"0.15.0","@fortawesome/fontawesome-svg-core":"6.6.0","@fortawesome/free-brands-svg-icons":"6.7.2","@fortawesome/free-solid-svg-icons":"6.6.0","@ngrx/component-store":"19.2.1","@
1ngrx/effects":"19.2.1","@ngrx/entity":"19.2.1","@ngrx/operators":"19.2.1","@ngrx/router-store":"19.2.1","@ngrx/store":"19.2.1","@ngrx/store-devtools":"19.2.1","@ngx-translate/core":"15.0.0","@ngx-translate/http-loader":"8.0.0","@nx/angular":"20.5.0","angular-svg-icon":"16.0.0","date-fns":"4.1.0","dd-trace":"3.58.0",esbuild:"^0.19.2",express:"4.22.1",graphql:"16.8.1","libphonenumber-js":"1.12.8",rxjs:"7.8.0",tslib:"2.3.1","zone.js":"0.15.1"},devDependencies:{"@angular-architects/ddd":"2.1.2","@angular-devkit/architect":"0.1902.9","@angular-devkit/build-angular":"19.2.20","@angular-devkit/core":"19.2.20","@angular-devkit/schematics":"19.2.9","@angular-eslint/eslint-plugin":"19.8.1","@angular-eslint/eslint-plugin-template":"19.8.1","@angular-eslint/template-parser":"19.8.1","@angular/cli":"~19.2.0","@angular/compiler-cli":"19.2.20","@angular/language-service":"19.2.20","@babel/runtime":"7.22.6","@bil2022/ewp-content-api":"2.159.0","@bil2022/ewp-robin":"1.8.0","@commitlint/cli":"17.6.3","@commitlint/config-conventional":"17.6.3","@cypress/webpack-dev-server":"3.11.0","@eslint/eslintrc":"^2.1.1","@inquirer/prompts":"8.6.0","@ngrx/schematics":"19.2.1","@
1nx/cypress":"20.5.0","@nx/devkit":"20.5.0","@nx/eslint":"20.5.0","@nx/eslint-plugin":"20.5.0","@nx/jest":"20.5.0","@nx/js":"20.5.0","@nx/linter":"19.6.3","@nx/node":"20.5.0","@nx/plugin":"20.5.0","@nx/workspace":"20.5.0","@schematics/angular":"19.2.9","@semantic-release/changelog":"6.0.3","@semantic-release/commit-analyzer":"9.0.2","@semantic-release/exec":"6.0.3","@semantic-release/git":"10.0.1","@semantic-release/gitlab":"9.5.1","@semantic-release/npm":"12.0.1","@semantic-release/release-notes-generator":"10.0.3","@tailwindcss/aspect-ratio":"0.4.2","@types/express":"4.17.25","@types/jest":"29.5.14","@types/jsdom":"16.2.14","@types/node":"^18.16.9","@types/tailwindcss":"3.1.0","@types/woosmap.map":"1.4.14","@types/youtube":"0.1.2","@typescript-eslint/utils":"^7.16.0","angular-eslint":"19.8.1",autoprefixer:"10.4.14","browser-sync":"^3.0.0",commitizen:"4.3.0",cypress:"13.17.0","cz-conventional-changelog":"3.3.0",eslint:"^9.8.0","eslint-config-prettier":"9.1.0","eslint-plugin-import":"2.31.0","eslint-plugin-prettier":"5.2.1","eslint-plugin-security":"3.0.1","fs-extra":"11.3.3",glob:"13.0.0","html-webpack-plugin":"5.6.6",husky:"8.0.3","jasmine-marbles":"0.9.2",jest:"29.7.0","jest-environment-jsdom":"29.7.0","jest-junit":"16.0.0","jest-preset-angular":"14.4.2","jsonc-eslint-parser":"2.3.0","lint-staged":"13.2.2",liquidjs:"10.16.4","ng-packagr":"19.2.2",nx:"20.5.0","nx-cloud":"19.1.3",nyc:"17.1.0",postcss:"8.5.1","postcss-import":"15.1.0","postcss-preset-env":"7.8.3","postcss-url":"10.1.3",prettier:"3.3.3","prettier-plugin-tailwindcss":"0.2.8","semantic-release":"21.0.2","source-map-explorer":"2.5.3",stylelint:"15.10.1","stylelint-config-standard-scss":"10.0.0",tailwindcss:"3.3.2","ts-jest":"29.1.1","ts-node":"10.9.1",tslib:"2.6.0",typescript:"5.7.3","typescript-eslint":"^8.13.0","web-animations-js":"2.3.2",webpack:"5.97.1"},config:{commitizen:{path:"./node_modules/cz-conventional-changelog"}},"lint-staged":{"{apps,libs,tools}/**/*.{js,ts,json,md,html,scss}":["npx nx format:check --base=origin/rc --head=HEAD --parallel"],"{apps,libs}/**/*.scss":["npm run lint:styles"]},stylelint:{extends:["stylelint-config-standard-scss"],rules:{"at-rule-no-unknown":null,"scss/at-rule-no-unknown":[!0,{ignoreAtRules:["apply","screen"]}],"selector-pseudo-element-no-unknown":[!0,{ignorePseudoElements:["ng-deep"]}]}}};var Ur="@ngrx/router-store/request",qn=J(Ur,Y()),ki="@ngrx/router-store/navigation",Jn=J(ki,Y()),Di="@ngrx/router-store/cancel",Yn=J(Di,Y()),Pi="@ngrx/router-store/error",Qn=J(Pi,Y()),zr="@ngrx/router-store/navigated",Zn=J(zr,Y());function Mi(t,n){let e=n;switch(e.type){case ki:case Pi:case Di:return{state:e.payload.routerState,navigationId:e.payload.event.id};default:return t}}var Xn=new R("@ngrx/router-store Internal Configuration"),ts=new R("@ngrx/router-store Configuration");var ct="PERFORM_ACTION",Br="REFRESH",$i="RESET",Hi="ROLLBACK",Gi="COMMIT",Ki="SWEEP",Wi="TOGGLE_ACTION",$r="SET_ACTIONS_ACTIVE",Vi="JUMP_TO_STATE",qi="JUMP_TO_ACTION",oe="IMPORT_STATE",Ji="LOCK_CHANGES",Yi="PAUSE_RECORDING",rt=class{constructor(n,e){if(this.action=n,this.timestamp=e,this.type=ct,typeof n.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}},qt=class{constructor(){this.type=Br}},Jt=class{constructor(n){this.timestamp=n,this.type=$i}},Yt=class{constructor(n){this.timestamp=n,this.type=Hi}},Qt=class{constructor(n){this.timestamp=n,this.type=Gi}},Zt=class{constructor(){this.type=Ki}},Xt=class{constructor(n){this.id=n,this.type=Wi}};var te=class{constructor(n){this.index=n,this.type=Vi}},ee=class{constructor(n){this.actionId=n,this.type=qi}},ie=class{constructor(n){this.nextLiftedState=n,this.type=oe}},re=class{constructor(n){this.status=n,this.type=Ji}},ne=class{constructor(n){this.status=n,this.type=Yi}};var Nt=new R("@ngrx/store-devtools Options"),ji=new R("@ngrx/store-devtools Initial Config");function Qi(){return null}var Hr="NgRx Store DevTools";function Gr(t){let n={maxAge:!1,monitor:Qi,actionSanitizer:void 0,stateSanitizer:void 0,name:Hr,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectInZone:!1},e=typeof t=="function"?t():t,i=e.logOnly?{pause:!0,export:!0,test:!0}:!1,r=e.features||i||n.features;r.import===!0&&(r.import="custom");let s=Object.assign({},n,{features:r},e);if(s.maxAge&&s.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${s.maxAge}`);return s}function _i(t,n){return t.filter(e=>n.indexOf(e)<0)}function Zi(t){let{computedStates:n,currentStateIndex:e}=t;if(e>=n.length){let{state:r}=n[n.length-1];return r}let{state:i}=n[e];return i}function at(t){return new rt(t,+Date.now())}function Kr(t,n){return Object.keys(n).reduce((e,i)=>{let r=Number(i);return e[r]=Xi(t,n[r],r),e},{})}function Xi(t,n,e){return D(k({},n),{action:t(n.action,e)})}function Wr(t,n){return n.map((e,i)=>({state:tr(t,e.state,i),error:e.error}))}function tr(t,n,e){return t(n,e)}function er(t){return t.predicate||t.actionsSafelist||t.actionsBlocklist}function Vr(t,n,e,i){let r=[],s={},o=[];return t.stagedActionIds.forEach((a,p)=>{let c=t.actionsById[a];c&&(p&&ae(t.computedStates[p],c,n,e,i)||(s[a]=c,r.push(a),o.push(t.computedStates[p])))}),D(k({},t),{stagedActionIds:r,actionsById:s,computedStates:o})}function ae(t,n,e,i,r){let s=e&&!e(t,n.action),o=i&&!n.action.type.match(i.map(p=>Ui(p)).join("|")),a=r&&n.action.type.match(r.map(p=>Ui(p)).join("|"));return s||o||a}function Ui(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ir(t){return{ngZone:t?S(Ee):null,connectInZone:t}}var Ft=(()=>{class t extends vt{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ie(t)))(r||t)}})()}static{this.\u0275prov=C({token:t,factory:t.\u0275fac})}}return t}
1)(),xt={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},se=new R("@ngrx/store-devtools Redux Devtools Extension"),rr=(()=>{class t{constructor(e,i,r){this.config=i,this.dispatcher=r,this.zoneConfig=ir(this.config.connectInZone),this.devtoolsExtension=e,this.createActionStreams()}notify(e,i){if(this.devtoolsExtension)if(e.type===ct){if(i.isLocked||i.isPaused)return;let r=Zi(i);if(er(this.config)&&ae(r,e,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;let s=this.config.stateSanitizer?tr(this.config.stateSanitizer,r,i.currentStateIndex):r,o=this.config.actionSanitizer?Xi(this.config.actionSanitizer,e,i.nextActionId):e;this.sendToReduxDevtools(()=>this.extensionConnection.send(o,s))}else{let r=D(k({},i),{stagedActionIds:i.stagedActionIds,actionsById:this.config.actionSanitizer?Kr(this.config.actionSanitizer,i.actionsById):i.actionsById,computedStates:this.config.stateSanitizer?Wr(this.config.stateSanitizer,i.computedStates):i.computedStates});this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,r,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new Ut(e=>{let i=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=i,i.init(),i.subscribe(r=>e.next(r)),i.unsubscribe}):pe}createActionStreams(){let e=this.createChangesObservable().pipe(Ce()),i=e.pipe(_(c=>c.type===xt.START)),r=e.pipe(_(c=>c.type===xt.STOP)),s=e.pipe(_(c=>c.type===xt.DISPATCH),I(c=>this.unwrapAction(c.payload)),ye(c=>c.type===oe?this.dispatcher.pipe(_(g=>g.type===Wt),me(1e3),Se(1e3),I(()=>c),w(()=>A(c)),B(1)):A(c))),a=e.pipe(_(c=>c.type===xt.ACTION),I(c=>this.unwrapAction(c.payload))).pipe(pt(r)),p=s.pipe(pt(r));this.start$=i.pipe(pt(r)),this.actions$=this.start$.pipe(O(()=>a)),this.liftedActions$=this.start$.pipe(O(()=>p))}unwrapAction(e){return typeof e=="string"?(0,eval)(`(${e})`):e}getExtensionConfig(e){let i={name:e.name,features:e.features,serialize:e.serialize,autoPause:e.autoPause??!1,trace:e.trace??!1,traceLimit:e.traceLimit??75};return e.maxAge!==!1&&(i.maxAge=e.maxAge),i}sendToReduxDevtools(e){try{e()}catch(i){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",i)}}static{this.\u0275fac=function(i){return new(i||t)(u(se),u(Nt),u(Ft))}}static{this.\u0275prov=C({token:t,factory:t.\u0275fac})}}return t})(),Rt={type:Kt},qr="@ngrx/store-devtools/recompute",Jr={type:qr};function nr(t,n,e,i,r){if(i)return{state:e,error:"Interrupted by an error up the chain"};let s=e,o;try{s=t(e,n)}catch(a){o=a.toString(),r.handleError(a)}return{state:s,error:o}}function Tt(t,n,e,i,r,s,o,a,p){if(n>=t.length&&t.length===s.length)return t;let c=t.slice(0,n),g=s.length-(p?1:0);for(let l=n;l<g;l++){let m=s[l],E=r[m].action,f=c[l-1],d=f?f.state:i,L=f?f.error:void 0,M=o.indexOf(m)>-1?f:nr(e,E,d,L,a);c.push(M)}return p&&c.push(t[t.length-1]),c}function Yr(t,n){return{monitorState:n(void 0,{}),nextActionId:1,actionsById:{0:at(Rt)},stagedActionIds:[0],skippedActionIds:[],committedState:t,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function Qr(t,n,e,i,r={}){return s=>(o,a)=>{let{monitorState:p,actionsById:c,nextActionId:g,stagedActionIds:l,skippedActionIds:m,committedState:E,currentStateIndex:f,computedStates:d,isLocked:L,isPaused:x}=o||n;o||(c=Object.create(c));function M(b){let v=b,z=l.slice(1,v+1);for(let P=0;P<z.length;P++)if(d[P+1].error){v=P,z=l.slice(1,v+1);break}else delete c[z[P]];m=m.filter(P=>z.indexOf(P)===-1),l=[0,...l.slice(v+1)],E=d[v].state,d=d.slice(v),f=f>v?f-v:0}function j(){c={0:at(Rt)},g=1,l=[0],m=[],E=d[f].state,f=0,d=[]}let y=0;switch(a.type){case Ji:{L=a.status,y=1/0;break}case Yi:{x=a.status,x?(l=[...l,g],c[g]=new rt({type:"@ngrx/devtools/pause"},+Date.now()),g++,y=l.length-1,d=d.concat(d[d.length-1]),f===l.length-2&&f++,y=1/0):j();break}case $i:{c={0:at(Rt)},g=1,l=[0],m=[],E=t,f=0,d=[];break}case Gi:{j();break}case Hi:{c={0:at(Rt)},g=1,l=[0],m=[],f=0,d=[];break}case Wi:{let{id:b}=a;m.indexOf(b)===-1?m=[b,...m]:m=m.filter(z=>z!==b),y=l.indexOf(b);break}case $r:{let{start:b,end:v,active:z}=a,P=[];for(let _t=b;_t<v;_t++)P.push(_t);z?m=_i(m,P):m=[...m,...P],y=l.indexOf(b);break}case Vi:{f=a.index,y=1/0;break}case qi:{let b=l.indexOf(a.actionId);b!==-1&&(f=b),y=1/0;break}case Ki:{l=_i(l,m),m=[],f=Math.min(f,l.length-1);break}case ct:{if(L)return o||n;if(x||o&&ae(o.computedStates[f],a,r.predicate,r.actionsSafelist,r.actionsBlocklist)){let v=d[d.length-1];d=[...d.slice(0,-1),nr(s,a.action,v.state,v.error,e)],y=1/0;break}r.maxAge&&l.length===r.maxAge&&M(1),f===l.length-1&&f++;let b=g++;c[b]=a,l=[...l,b],y=l.length-1;break}case oe:{({monitorState:p,actionsById:c,nextActionId:g,stagedActionIds:l,skippedActionIds:m,committedState:E,currentStateIndex:f,computedStates:d,isLocked:L,isPaused:x}=a.nextLiftedState);break}case Kt:{y=0,r.maxAge&&l.length>r.maxAge&&(d=Tt(d,y,s,E,c,l,m,e,x),M(l.length-r.maxAge),y=1/0);break}case Wt:{if(d.filter(v=>v.error).length>0)y=0,r.maxAge&&l.length>r.maxAge&&(d=Tt(d,y,s,E,c,l,m,e,x),M(l.length-r.maxAge),y=1/0);else{if(!x&&!L){f===l.length-1&&f++;let v=g++;c[v]=new rt(a,+Date.now()),l=[...l,v],y=l.length-1,d=Tt(d,y,s,E,c,l,m,e,x)}d=d.map(v=>D(k({},v),{state:s(v.state,Jr)})),f=l.length-1,r.maxAge&&l.length>r.maxAge&&M(l.length-r.maxAge),y=1/0}break}default:{y=1/0;break}}return d=Tt(d,y,s,E,c,l,m,e,x),p=i(p,a),{monitorState:p,actionsById:c,nextActionId:g,stagedActionIds:l,skippedActionIds:m,committedState:E,currentStateIndex:f,computedStates:d,isLocked:L,isPaused:x}}}var zi=(()=>{class t{constructor(e,i,r,s,o,a,p,c){let g=Yr(p,c.monitor),l=Qr(p,g,a,c.monitor,c),m=Bt(Bt(i.asObservable().pipe(be(1)),s.actions$).pipe(I(at)),e,s.liftedActions$).pipe(de(ue)),E=r.pipe(I(l)),f=ir(c.connectInZone),d=new le(1);this.liftedStateSubscription=m.pipe(Ae(E),Bi(f),ve(({state:M},[j,y])=>{let b=y(M,j);
1return j.type!==ct&&er(c)&&(b=Vr(b,c.predicate,c.actionsSafelist,c.actionsBlocklist)),s.notify(j,b),{state:b,action:j}},{state:g,action:null})).subscribe(({state:M,action:j})=>{if(d.next(M),j.type===ct){let y=j.action;o.next(y)}}),this.extensionStartSubscription=s.start$.pipe(Bi(f)).subscribe(()=>{this.refresh()});let L=d.asObservable(),x=L.pipe(I(Zi));Object.defineProperty(x,"state",{value:$e(x,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=e,this.liftedState=L,this.state=x}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(e){this.dispatcher.next(e)}next(e){this.dispatcher.next(e)}error(e){}complete(){}performAction(e){this.dispatch(new rt(e,+Date.now()))}refresh(){this.dispatch(new qt)}reset(){this.dispatch(new Jt(+Date.now()))}rollback(){this.dispatch(new Yt(+Date.now()))}commit(){this.dispatch(new Qt(+Date.now()))}sweep(){this.dispatch(new Zt)}toggleAction(e){this.dispatch(new Xt(e))}jumpToAction(e){this.dispatch(new ee(e))}jumpToState(e){this.dispatch(new te(e))}importState(e){this.dispatch(new ie(e))}lockChanges(e){this.dispatch(new re(e))}pauseRecording(e){this.dispatch(new ne(e))}static{this.\u0275fac=function(i){return new(i||t)(u(Ft),u(vt),u(ii),u(rr),u(ni),u(Oe),u(ei),u(Nt))}}static{this.\u0275prov=C({token:t,factory:t.\u0275fac})}}return t})();function Bi({ngZone:t,connectInZone:n}){return e=>n?new Ut(i=>e.subscribe({next:r=>t.run(()=>i.next(r)),error:r=>t.run(()=>i.error(r)),complete:()=>t.run(()=>i.complete())})):e}var Zr=new R("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function Xr(t,n){return!!t||n.monitor!==Qi}function tn(){let t="__REDUX_DEVTOOLS_EXTENSION__";return typeof window=="object"&&typeof window[t]<"u"?window[t]:null}function en(t){return t.state}function rn(t={}){return $t([rr,Ft,zi,{provide:ji,useValue:t},{provide:Zr,deps:[se,Nt],useFactory:Xr},{provide:se,useFactory:tn},{provide:Nt,deps:[ji],useFactory:Gr},{provide:si,deps:[zi],useFactory:en},{provide:ri,useExisting:Ft}])}var sr=(()=>{class t{static instrument(e={}){return{ngModule:t,providers:[rn(e)]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=H({type:t})}static{this.\u0275inj=$({})}}return t})();var h=function(t){return t.conversionLinker="conversionLinker",t.doubleClick="doubleClick",t.googleAds="googleAds",t.googleAnalytics="googleAnalytics",t.gtm="gtm",t.usercentrics="usercentrics",t.cloudflare="cloudflare",t.googleAjax="googleAjax",t.tvty="tvty",t.googleAnalytics4="googleAnalytics4",t.microsoftAds="microsoftAds",t.microsoftAdsRemaketing="microsoftAdsRemaketing",t.microsoftClarity="microsoftClarity",t.googleSyndication="googleSyndication",t.optimizely="optimizely",t.contentSquare="contentSquare",t}(h||{});var or=(()=>{class t{get windowUC_UI(){return window.UC_UI}get initialConsentStatus(){return{[h.gtm]:this.configuration.gtm?.strict||this.missingConfigOrDisabled,[h.conversionLinker]:this.missingConfigOrDisabled,[h.doubleClick]:this.missingConfigOrDisabled,[h.googleAds]:this.missingConfigOrDisabled,[h.googleAnalytics]:this.missingConfigOrDisabled,[h.usercentrics]:this.missingConfigOrDisabled,[h.cloudflare]:this.missingConfigOrDisabled,[h.googleAjax]:this.missingConfigOrDisabled,[h.tvty]:this.missingConfigOrDisabled,[h.googleAnalytics4]:this.missingConfigOrDisabled,[h.microsoftAds]:this.missingConfigOrDisabled,[h.microsoftAdsRemaketing]:this.missingConfigOrDisabled,[h.microsoftClarity]:this.missingConfigOrDisabled,[h.googleSyndication]:this.missingConfigOrDisabled,[h.optimizely]:this.configuration.optimizely?.strict||this.missingConfigOrDisabled,[h.contentSquare]:this.configuration.contentSquare?.strict||this.missingConfigOrDisabled}}static ucEvent(e){window.addEventListener("ucEvent",e)}get consentSettingsChanged$(){return this._consentSettingsChanged.asObservable()}get missingConfigOrDisabled(){return this.configuration.usercentrics?!this.configuration.usercentrics.enabled||!1:(console.error("No Usercentrics config found. Please check provided configuration."),!1)}constructor(e,i,r,s,o){this.isBrowser=e,this.document=i,this.configuration=r,this.injector=s,this.router=o,this.LOADER_ID="usercentrics-cmp",this.activeServices=new Map,this.initialized$=new zt(!1),this._consentSettingsChanged=new zt(this.initialConsentStatus)}initialize(){this.isBrowser&&(this.createOrDestroyServices(),this.router.events.pipe(_(e=>e instanceof We),_(e=>!this.configuration.hiddenConsentBannerRoutes?.includes(e.url)),B(1)).subscribe(()=>{this.addConsentStatusChangeListener(),this.addUserCentricScripts()}))}activateService(e,i=!0){if(!this.configuration.usercentrics)return;let{consentServiceSettings:r}=this.configuration.usercentrics;if(!this.hasActiveService(e)){let o=r[e]?.service;if(o!==void 0){let a=this.injector.get(o);this.activeServices.set(e,a)}}if(i){let s=this._consentSettingsChanged.value&&this._consentSettingsChanged.value[e]||!1;this.applyConsentStatus(e,s)}return this.activeServices.get(e)}createOrDestroyServices(){if(!this.configuration.usercentrics)return;let{consentServiceSettings:e}=this.configuration.usercentrics;for(let i in e)this.activateService(i,!1)}destroy(){if(this.missingConfigOrDisabled)return;let e=this.document.querySelector(`#${this.LOADER_ID}`);e?.parentElement?.removeChild(e),this.initialized$.next(!1)}
1addUserCentricScripts(){if(!this.configuration?.usercentrics?.settingsId)throw new Error("Please provide a configuration in your environments for consentManagement");if(!this.configuration?.usercentrics?.enabled||this.document.getElementById(this.LOADER_ID))return;let e=[],i=this.document.head,r=this.configuration?.usercentrics?.crossDomainPath,s=this.document.createElement("script");s.innerHTML=`window.UC_UI_DOMAINS = {crossDomainConsentSharingIFrame: '${r}'};`,e.push(s);let o=this.document.createElement("script");o.id=this.LOADER_ID,o.src=this.configuration?.usercentrics?.scriptUrl,o.async=!0,o.dataset.settingsId=this.configuration?.usercentrics?.settingsId;let a=this.configuration?.usercentrics?.version;a&&(o.dataset.version=a),o.addEventListener("load",()=>this.addUcConsentStatusChangeListener()),e.push(o),e.forEach(p=>{i.insertBefore(p,o.nextSibling)})}addScriptTag(e,i,r){let s=this.document.createElement("script");if(s.id=e,s.async=!0,s.src=i,s.type="text/javascript",r)for(let o in r)s.setAttribute(o,r[o]);this.document.head.insertBefore(s,this.document.head.childNodes[0])}removeScriptTag(e){let i=this.document.querySelector(`#${e}`);i?.parentElement?.removeChild(i)}openSecondLayer(){this.windowUC_UI.showSecondLayer()}addUcConsentStatusChangeListener(){t.ucEvent(e=>{e instanceof CustomEvent&&e.detail&&e.detail.event==="consent_status"&&this.setConsentSettingsChanged(this.mapServiceNameToId(e.detail))})}setConsentSettingsChanged(e){this._consentSettingsChanged.next(e)}mapServiceNameToId(e){let i=this.configuration?.usercentrics?.consentServiceSettings||{},r={};
1return Object.keys(i).forEach(s=>{let o=s;i[o]?.consentKey in e&&(r=D(k({},r),{[s]:e[i[o]?.consentKey]}))}),r}addConsentStatusChangeListener(){this.consentSettingsChanged$.subscribe(e=>{for(let i in e)if(i){let r=i,s=e[r];(r===h.optimizely&&this.configuration.optimizely?.strict||r===h.gtm&&this.configuration.gtm?.strict||r===h.contentSquare&&this.configuration.contentSquare?.strict)&&(s=!0),s!==void 0&&this.applyConsentStatus(i,s)}})}hasActiveService(e){return this.activeServices&&this.activeServices.has(e)}applyConsentStatus(e,i){let r=this.activeServices.get(e);this.hasActiveService(e)&&r!==void 0&&(i?r.initialize():r.destroy())}static{this.\u0275fac=function(i){return new(i||t)(u(G),u(mt),u(et),u(we),u(St))}}static{this.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ar=(()=>{class t{get initialized(){return this.document.querySelectorAll("[id^=ConversionLinker").length>0}get configurationConversionLinker(){return this.configuration.conversionLinker}get isEnabled(){return this.configuration?.conversionLinker?.enabled}constructor(e,i,r,s){this.isBrowser=e,this.document=i,this.configuration=r,this.consentService=s}initialize(){!this.isBrowser||!this.isEnabled||this.initialized||this.addScriptTag()}destroy(){this.initialized&&this.removeScriptTag()}ngOnDestroy(){this.destroy()}addScriptTag(){this.consentService.addScriptTag("ConversionLinker","https://google.com")}removeScriptTag(){this.consentService.removeScriptTag("ConversionLinker")}static{this.\u0275fac=function(i){return new(i||t)(u(G),u(mt),u(et),u(it))}}static{this.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var cr=(()=>{class t{constructor(e,i,r,s,o,a){this.isBrowser=e,this.localStorage=i,this.config=r,this.http=s,this.transferState=o,this.response=a,this.headerStateKey="header",this.footerStateKey="footer",this.cmsPageStateKey="cmsPage",this.firstLoadedServerPagePath="firstLoadedServerPagePath"}updateLocale(){return e=>e.pipe(O(i=>lt(this,null,function*(){let r=i?.lang||this.config.htmlLanguage,s=r?r.slice(0,2):"en";if(this.globalLanguage!==s){try{switch(s){case"pt":let{pt:o}=yield import("./chunk-XMRSRQYY.js");N({locale:o});break;case"nb":let{nb:a}=yield import("./chunk-LAK2NPFD.js");N({locale:a});break;case"se":let{se:p}=yield import("./chunk-PIISY57W.js");N({locale:p});break;case"sv":let{sv:c}=yield import("./chunk-4YG6FRHU.js");N({locale:c});break;case"fi":let{fi:g}=yield import("./chunk-64VTPGPE.js");N({locale:g});break;case"da":let{da:l}=yield import("./chunk-4FX6JLCK.js");N({locale:l});break;case"de":let{de:m}=yield import("./chunk-G4KH25SU.js");N({locale:m});break;case"nl":let{nl:E}=yield import("./chunk-IGYNX4J3.js");N({locale:E});break;case"fr":let{fr:f}=yield import("./chunk-YIC7FD64.js");N({locale:f});break;case"it":let{it:d}=yield import("./chunk-NT6JINIK.js");N({locale:d});break;default:let{enGB:L}=yield import("./chunk-7K4XE3GT.js");N({locale:L});break}}catch{let{enGB:a}=yield import("./chunk-7K4XE3GT.js");N({locale:a})}this.globalLanguage=s}return i})))}multiLingualContent(e){return i=>i.pipe(I(r=>{let s=r?.languages;if(!s||r.templateId==="ewpBranchPage")return r;let o=r.lang,p=s.find(c=>c.id===o)?.path===e;if(p)return r;if(!p){let c=this.getPreferredLanguagePath(s);return c?(this.transferState.remove(this.headerStateKey),this.transferState.remove(this.footerStateKey),c):r}return r}),O(r=>he(()=>typeof r=="string",this.http.get(`${this.config.contentApiUrl}/page/${this.config.contentApiPageName}${r}`),A(r))))}getPreferredLanguagePath(e){if(!this.isBrowser)return;let i=this.localStorage.getItem("preferredLanguage"),r;return i&&e&&(r=e.find(({id:s})=>s===i)?.id),r||(r=(navigator.languages||[navigator.language]).map(o=>new Intl.Locale(o).language).find(o=>e?.some(({id:a})=>a===o))),e.find(s=>s.id===r)?.path}loadPage(e){let i=this.http.get(`${this.config.contentApiUrl}/page/${this.config.contentApiPageName}${e}`);if(this.isBrowser){if(this.transferState.hasKey(this.cmsPageStateKey)&&this.transferState.get(this.firstLoadedServerPagePath,null)===this.config.contentApiPageName){let r=this.transferState.get(this.cmsPageStateKey,{});return this.transferState.remove(this.cmsPageStateKey),A(r).pipe(this.updateLocale(),this.multiLingualContent(e))}return i.pipe(this.updateLocale(),this.multiLingualContent(e))}return i.pipe(dt(r=>{this.transferState.set(this.cmsPageStateKey,r),this.transferState.set(this.firstLoadedServerPagePath,this.config.contentApiPageName)}),w(r=>(this.transferState.set(this.cmsPageStateKey,r.error),this.transferState.set(this.firstLoadedServerPagePath,this.config.contentApiPageName),this.response.status=r.status,A(r.error))))}getParams(e){let i=new ht;return e.auHash&&e["latest-version"]&&(i=i.append(st.AU_HASH,e.auHash),i=i.append(st.LATEST_VERSION,e.auHash)),e.langcode&&(i=i.append(st.LANGCODE,e.langcode)),e.topic&&(i=i.append(st.TOPIC,e.topic)),i}loadHeader(e){let i=this.getParams(e),r=this.http.get(`${this.config.contentApiUrl}/header/${this.config.contentApiPageName}`,{params:i});if(this.isBrowser&&this.transferState.hasKey(this.headerStateKey)){let s=this.transferState.get(this.headerStateKey,{});return this.transferState.remove(this.headerStateKey),A(s)}return r.pipe(dt(s=>{this.isBrowser||this.transferState.set(this.headerStateKey,s)}))}loadFooter(e){let i=this.getParams(e),r=this.http.get(`${this.config.contentApiUrl}/footer/${this.config.contentApiPageName}`,{params:i});if(this.isBrowser&&this.transferState.hasKey(this.footerStateKey)){let s=this.transferState.get(this.footerStateKey,{});return this.transferState.remove(this.footerStateKey),A(s)}return r.pipe(dt(s=>{this.isBrowser||this.transferState.set(this.footerStateKey,s)}))}static{this.\u0275fac=function(i){return new(i||t)(u(G),u(gt),u(q),u(V),u(Re),u(Le,8))}}static{this.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var lr=new R("LOCATIONS_CONFIG");var Lt=(()=>
1{class t{constructor(e,i,r,s){this.http=e,this.woosmapService=i,this.cmsFacade=r,this.config=s}getLocations(e){return this.cmsFacade.headerLang$.pipe(B(1),O(i=>{let{host:r,key:s,locality:o}=this.config.woosmap,a=new ht().set("input",e).set("key",s);o.types&&(a=a.set("types",o.types)),o.components&&(a=a.set("components",o.components));let p=i||this.config.htmlLanguage?.slice(0,2)||this.config.countryCode?.toLowerCase();return p&&(a=a.set("language",p)),this.http.get(`${r}/${o.apiPath}`,{params:a})}),I(i=>i?.localities?i.localities.map(r=>this.mapLocalityToLocation(r)):[]),w(i=>(console.error("[WoosmapLocationService] autocomplete error:",i),A([]))))}getCurrentLocation(e){return this.woosmapService.fetchBranchSearch({latlng:`${e.latitude},${e.longitude}`}).pipe(I(i=>i?{success:!0,status:Vt.LOOKUP_COMPLETE,data:{postcode:i.formatted_address?.split(",")?.pop()?.trim()||"",city:i.address_components?.find(r=>r.types?.includes("locality"))?.long_name||""}}:{success:!1,status:Vt.NOT_FOUND,data:null}))}mapLocalityToLocation(e){let i=e.description.split(",").map(o=>o.trim()),r="",s="";return e.type==="postal_code"?(r=i[0]||"",s=i[1]||""):e.type==="locality"?(s=e.name||i[0]||"",r=e.postal_codes&&e.postal_codes.length>0?e.postal_codes[0]:i.find(o=>/^\d+[\w-]*$/.test(o))||""):(s=i[0]||"",r=i.find(o=>/^\d+[\w-]*$/.test(o))||""),{zipCode:r,city:s,region:e.admin_1,publicId:e.public_id,description:e.description,type:e.type}}static{this.\u0275fac=function(i){return new(i||t)(u(V),u(ci),u(At),u(q))}}static{this.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var kt=(()=>{class t{constructor(e,i){this.actions$=e,this.cmsDataService=i,this.loadCmsPage$=Z(()=>this.actions$.pipe(X(mi),O(r=>this.cmsDataService.loadPage(r.payload.path).pipe(I(s=>fi({payload:{page:s,path:r.payload.path}})),w(s=>A(hi({payload:{error:s?.message,page:s?.error,path:r.payload.path}}))))))),this.loadCmsHeader$=Z(()=>this.actions$.pipe(X(gi),O(r=>this.cmsDataService.loadHeader(r.payload).pipe(I(s=>yi({payload:{header:s}})),w(s=>A(Si({payload:{error:JSON.stringify(s)}}))))))),this.loadCmsFooter$=Z(()=>this.actions$.pipe(X(vi),O(r=>this.cmsDataService.loadFooter(r.payload).pipe(I(s=>Ci({payload:{footer:s}})),w(s=>A(bi({payload:{error:JSON.stringify(s)}})))))))}static{this.\u0275fac=function(i){return new(i||t)(u(Ct),u(cr))}}static{this.\u0275prov=C({token:t,factory:t.\u0275fac})}}return t})();var Dt=new R("SHARED_DATA_CMS_DOMAIN_MODULE_CONFIG_TOKEN");var ur=(()=>{class t{static forRoot(){return{ngModule:t,providers:[{provide:It,useClass:Lt}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=H({type:t})}static{this.\u0275inj=$({imports:[ft,Q.forFeature(Ai,Ii),tt.forFeature([kt])]})}}return t})();var pr=(()=>{class t{constructor(){this.config=U.CONFIG.getValue(),this.alfredConfig=Ze.CONFIG(),this.translate=S(bt),this.localStorage=S(gt),this.translate.setDefaultLang(this.alfredConfig?.locale?.languageCode||this.localStorage.getItem("preferredLanguage")||this.config.language)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var on=200,dr=5,an=["/validate/","/config/","/vehicles/search"];function cn(t){return/\.(svg|jpg|jpeg|gif|webp|png)/i.test(t)}function ln(t){return an.some(n=>t.includes(n))}function mr(t,n){let e=S(Ot),i=S(St),s=un().some(p=>i.url.startsWith(`/${p}`)),a=[ln(t.url),cn(t.url)].filter(Boolean).length===0&&s;return a&&e.showLoader(),fr({next:n,request:t,retriesLeft:dr,router:i,allowRetries:a}).pipe(ut(()=>e.hideLoader()))}function un(){let t=U.CONFIG.getValue(),n=[];return t.olb?.funnels?n.push(...t.olb.funnels.map(e=>e.path).filter(Boolean)):t.olb.funnel&&n.push(t.olb.funnel.path),t.tintedWindows?.funnels&&n.push(...t.tintedWindows.funnels.map(e=>e.path).filter(Boolean)),t.customerPortal?.customerPortals&&n.push(...t.customerPortal.customerPortals.map(e=>e.funnel.path).filter(Boolean)),t.quote?.funnels&&n.push(...t.quote.funnels.map(e=>e.path).filter(Boolean)),t.bookQuote?.funnels&&n.push(...t.bookQuote.funnels.map(e=>
1e.path).filter(Boolean)),n}function fr({next:t,request:n,retriesLeft:e,router:i,allowRetries:r}){let s=U.CONFIG.getValue();return t(n).pipe(w(o=>{if((o.status>=500||o.status===429||o.status===0)&&r)if(e-1>0){let p=on+(dr-e)*100;return ge(p).pipe(fe(()=>fr({next:t,request:n,retriesLeft:e-1,router:i,allowRetries:r})))}else e===1&&i.navigate(["/",s.errors.runtimeError],{skipLocationChange:!0});return nt(()=>o)}))}var Pt=class{http;prefix;suffix;constructor(n,e="/assets/i18n/",i=".json"){this.http=n,this.prefix=e,this.suffix=i}getTranslation(n){return this.http.get(`${this.prefix}${n}${this.suffix}`)}};function hr(t){return new Pt(t,"./assets/ui/i18n/",".json")}var gr=(()=>{class t{postContactForm(e,i){throw new Error("Please provide a real implementation of the contactForm service!")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=C({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var yr=(()=>{class t{constructor(e,i){this.actions$=e,this.contactFormDataService=i,this.postContactForm$=Z(()=>this.actions$.pipe(X(wi),O(({payload:r})=>this.contactFormDataService.postContactForm(r).pipe(I(s=>Ei({payload:s})),w(s=>A(Oi({payload:{error:s?.message??JSON.stringify(s)}})))))))}static{this.\u0275fac=function(i){return new(i||t)(u(Ct),u(gr))}}static{this.\u0275prov=C({token:t,factory:t.\u0275fac})}}return t})();var Sr=new R("CM_CONTACTFORM_CONFIG");var vr=(()=>{class t{static forRoot(e,i,r,s){return{ngModule:t,providers:[{provide:Dt,useValue:e},{provide:wt,useValue:r},{provide:Sr,useValue:i},{provide:lr,useValue:s}]}}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=H({type:t})}static{this.\u0275inj=$({imports:[ft,ur,Q.forFeature(xi,Ti),tt.forFeature([kt,yr])]})}}return t})();var Cr=[{bgColor:!1,ctas:[{ctaSize:"medium",ctaVariation:"primary",link:{external:!1,href:"/termin-anfragen",text:"Jetzt Termin vereinbaren",target:"_self",templateId:"ewpLink"},showIcon:!0,templateId:"ewpCta"},{ctaSize:"medium",ctaVariation:"tertiary",link:{external:!1,href:"/",text:"Zur Startseite",target:"_self",templateId:"ewpLink"},showIcon:!0,templateId:"ewpCta"}],headline:{headlineAlignment:"left",hTag:"h1",templateId:"ewpHeadline",title:"404 \u2013 Seite nicht gefunden"},introAlignment:"center",richtext:{templateId:"ewpRichtext",wysiwyg:"<p>Sie haben das Internet nicht kaputt gemacht, aber wir k\xF6nnen nicht finden, was Sie suchen. Wenn Sie einen Termin bei uns buchen m\xF6chten, hier gehts:</p>"},templateId:"ewpIntro",whitespace:"l"},{bgColor:!1,distributorItems:[{cta:{ctaSize:"small",ctaVariation:"tertiary",link:{external:!1,href:"/service/windschutzscheibe",text:"",target:"_self",templateId:"ewpLink"},showIcon:!0,templateId:"ewpCta"},headline:{headlineAlignment:"center",hTag:"h4",templateId:"ewpHeadline",title:"Reparatur oder Tausch?"},icon:{alt:"Tools",src:"https://carglass-at.cms.prd-euc1.ewp.belron.com/sites/g/files/cukesk281/files/2022-10/tools_0.svg",templateId:"ewpIcon"}},{cta:{ctaSize:"small",ctaVariation:"tertiary",link:{external:!1,href:"/kosten",text:"",target:"_self",templateId:"ewpLink"},showIcon:!0,templateId:"ewpCta"},headline:{headlineAlignment:"center",hTag:"h4",templateId:"ewpHeadline",title:"Was kostet es?"},icon:{alt:"Euro bubble",src:"https://carglassat-dev.cloud.carglass.fr/sites/g/files/cukesk281/files/2022-10/euro-bubble.svg",templateId:"ewpIcon"}},{cta:{ctaSize:"small",ctaVariation:"tertiary",link:{external:!1,href:"/standorte",text:"",target:"_self",templateId:"ewpLink"},showIcon:!0,templateId:"ewpCta"},headline:{headlineAlignment:"center",hTag:"h4",templateId:"ewpHeadline",title:"Wo finde ich Carglass\xAE?"},icon:{alt:"Map Marker",src:"https://carglassat-dev.cloud.carglass.fr/sites/g/files/cukesk281/files/2022-10/map-marker.svg",templateId:"ewpIcon"}},{cta:{ctaSize:"small",ctaVariation:"tertiary",link:{external:!1,href:"/faq",text:"",target:"_self",templateId:"ewpLink"},showIcon:!0,templateId:"ewpCta"},headline:{headlineAlignment:"center",hTag:"h4",templateId:"ewpHeadline",title:"Garantie & Qualit\xE4t"},icon:{alt:"Certificate",src:"https://carglassat-dev.cloud.carglass.fr/sites/g/files/cukesk281/files/2022-10/certificate.svg",templateId:"ewpIcon"}}],headline:{headlineAlignment:"center",hTag:"h2",templateId:"ewpHeadline",title:"Me
1ist gesuchte Inhalte"},templateId:"ewpDistributor",whitespace:"l"}];var br=Mr(jr());function ce(t){return{useOpeningHoursSchema:t.content.useOpeningHoursSchema,contentApiPageName:t.content.pageName,contentGoApiUrl:t.content.goApiUrl,contentApiUrl:t.content.apiUrl,pageErrorModel:Cr,updateOnRouterChange:!0,tenant:t.services?.dynamicForm?.tenantName,countryCode:t?.countryCode,htmlLanguage:t?.htmlLanguage,productApiUrl:t.services?.productApiUrl,productBasketUrl:t.services?.productBasketUrl,productDetailUrl:t.services?.productDetailUrl,locale:t?.locale,features:{showHeaderWithBar:t.features?.showHeaderWithBar,enableUrlsWithTrailingSlash:t.features?.enableUrlsWithTrailingSlash,showHideStickyCta:t.features?.showHideStickyCta,enableAlternativeLayoutEventTracking:t.features?.enableAlternativeLayoutEventTracking},turnstile:{siteKey:t.services?.turnstile?.siteKey,scriptUrl:t.services?.turnstile?.scriptUrl,theme:t.services?.turnstile?.theme,size:t.services?.turnstile?.size,language:t.services?.turnstile?.language},woosmap:t.services?.woosmap?{key:t.services?.woosmap?.key,mapsScriptUrl:t.services?.woosmap?.mapsScriptUrl,host:t.services?.woosmap?.host,storesApiPath:t.services?.woosmap?.storesApiPath,hideMobileCentresOnMap:t.services?.woosmap?.hideMobileCentresOnMap,branchPrefixes:t.services?.woosmap?.branchPrefixes,locality:{components:t.services?.woosmap?.localityComponents,apiPath:t.services?.woosmap?.localityApiPath,types:t.services?.woosmap?.localityTypes,detailsApiPath:t.services?.woosmap?.localityDetailsApiPath,noDeprecatedFields:t.services?.woosmap?.localityNoDeprecatedFields,autocompleteDebounceInMS:t.services?.woosmap?.autocompleteDebounceInMS}}:void 0,insuranceList:{baseUrl:t.services?.insuranceList?.baseUrl,tenantEndpoint:t.services?.insuranceList?.tenantEndpoint,insuranceMatrixEndpoint:t.services?.insuranceList?.insuranceMatrixEndpoint},assetsBucketBaseUrl:t.assetsBucketBaseUrl,webshop:t?.webshop,tintedWindows:t?.tintedWindows,olb:t?.olb,customerPortal:t?.customerPortal,quote:t?.quote,bookQuote:t?.bookQuote,olbAssetsUrl:`${t.assetsBucketBaseUrl}assets/${t.content.tenantName}`}}function Ar(t){let{olb:{apiUrl:n,assetsUrl:e,appointments:i},services:{woosmap:{key:r,localityApiPath:s,localityDetailsApiPath:o,localityNoDeprecatedFields:a,localityComponents:p,localityTypes:c,autocompleteDebounceInMS:g,host:l,storesApiPath:m,storesLimit:E,distanceApiPath:f}}}=t;return{olbApiUrl:n,olbAssetsUrl:`${e}/carglass-at`,appId:1,countryCode:"AT",locale:br.Locale.De,woosmapConfig:{key:r,locality:{types:c,components:p,apiPath:s,autocompleteDebounceInMS:g,detailsApiPath:o,noDeprecatedFields:a},host:l,stores:{apiPath:m,limit:E},distance:{apiPath:f}},appointmentConfig:{openIntervals:i?.openIntervals,replaceJobBufferDays:i?.replaceJobBufferDays,repairJobBufferDays:i?.repairJobBufferDays,defaultReplacementTimeSlot:i?.defaultReplacementTimeSlot}}}var Ir=(()=>{class t{constructor(){this.lang="de"}setLang(e){this.lang=e}getLang(){return this.lang}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=C({token:t,factory:t.\u0275fac})}}return t})();var wr=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Ne({type:t,selectors:[["ewp-root"]],standalone:!1,decls:1,vars:0,template:function(i,r){i&1&&Fe(0,"ewp-cm-root-layout")},dependencies:[Et],encapsulation:2})}}return t})();function Er(t,n){return S(T).olb?.funnel?mr(t,n):n(t)}function Or(t,n){return S(T).olb?.funnel?Li(t,n):n(t)}var dn=5,mn=["/validate/"];function fn(t){return/\.(svg|jpg|jpeg|gif|webp|png)/i.test(t)}function hn(t){return mn.some(n=>t.includes(n))}function xr(t,n){let e=S(Ot);return[!hn(t.url),!fn(t.url)].includes(!1)||e.showLoader(),Tr(n,t,dn).pipe(ut(()=>{e.hideLoader()}))}function gn(t){let n=S(He);return n.triggerRefresh(),n.newTurnstileResponse$.pipe(B(1),O(e=>{if(e){let i=t.headers.set("Cf-Turnstile-Response",e),r=t.clone({headers:i});return A(r)}else return nt(()=>new Error("Turnstile response is null."))}))}function Tr(t,n,e){return t(n).pipe(w(i=>n.headers.has("Cf-Turnstile-Response")&&(i.status>=500||i.status===429||i.status===0)&&e-1>0?gn(n).pipe(O(s=>
1Tr(t,s,e-1))):nt(()=>i)))}function Rr(t,n,e){return()=>{if(ke(n)&&e){let i=e.lang;i=e.getLang();let r=i==="default"?null:i;t.loadHeader({auHash:null,"latest-version":null,langcode:r}),t.loadFooter({auHash:null,"latest-version":null,langcode:r})}}}var Mt=class extends yt{serialize(n){let e=super.serialize(n),i=e.indexOf("?")>-1?"?":"#",r=e.split(i);return r[0].endsWith("/")||(r[0]+="/"),r.join(i)}};var yn=t=>{let n={},e=(i,r=null)=>r?{consentKey:i,service:r}:{consentKey:i};return t?.gtm&&(n[h.gtm]=e("Google Tag Manager",ui)),t?.optimizely&&(n[h.optimizely]=e("Optimizely",pi)),t?.conversionLinker&&(n[h.conversionLinker]=e("Conversion Linker",ar)),t?.googleSyndication&&(n[h.googleSyndication]=e("Google Syndication")),t?.microsoftAds&&(n[h.microsoftAds]=e("Microsoft Advertising")),t?.contentSquare&&(n[h.contentSquare]=e("ContentSquare",di)),n},Nr=t=>{let{services:{gtm:n,consent:e,contentSquare:i,optimizely:r},olb:s}=t;return{appVersion:ot.version,hiddenConsentBannerRoutes:e.hiddenConsentBannerRoutes,gtm:n?{enabled:!0,disableLogging:!1,containers:Array.isArray(n)?n:[n],strict:Array.isArray(n)?n.every(o=>!!o.strict):!!n.strict}:void 0,contentSquare:i?{tagId:i.tagId,enabled:i.enabled,strict:!!i.strict}:void 0,optimizely:r?{enabled:r.enabled,scriptUrl:r.url,strict:!!r.strict}:void 0,conversionLinker:{enabled:!0},usercentrics:{settingsId:e.settingsId,scriptUrl:e.scriptUrl,version:e.version,enabled:e.enabled,crossDomainPath:e.crossDomainPath,consentServiceSettings:yn(e.settings)},olbPath:s?.legacyPath?`/${s.legacyPath}`:void 0}};var Sn=["quote","bookQuote","webshop","tintedWindows"];function vn(t){return Sn.flatMap(n=>{let e=t[n];return e?.funnels?e.funnels:[]})}function Cn(t){return t.olb?.funnels&&t.olb.funnels.length>0?t.olb.funnels:t.olb?.funnel?[t.olb.funnel]:[]}function bn(t){return t.customerPortal&&t.customerPortal.customerPortals?.length>0?t.customerPortal.customerPortals.map(n=>n.funnel):[]}function Fr(t){let n=vn(t),e=Cn(t),i=bn(t),r=[...e,...i,...n].map(o=>({path:`${o.path}`,loadChildren:()=>lt(null,null,function*(){return(yield import("./chunk-5Z64EFTQ.js")).funnelsRoutesFactory(o,o.lang||t.htmlLanguage,o.type,o.topic)})})),s=[];return t.services?.woosmap?.branchPrefixes&&t.services.woosmap.branchPrefixes.forEach(o=>{let a=o.prefix.replace(/\/$$/,"").split("/");s.push(An(a,o,t.content.tenantName))}),t?.olb?.legacyPath&&s.push(In(t.olb)),t?.errors&&s.push({path:`${t?.errors.notFound}`,loadComponent:()=>import("./chunk-BK45BPS5.js").then(o=>o.BookingErrorComponent)}),s.push(...r),s.push({path:"",loadChildren:()=>import("./chunk-VJNRNY3T.js").then(o=>o.ROUTES)}),s}function Lr(t,n){return()=>n.olb?.funnel?t.initialiseConfig():A()}var An=(t,n,e)=>({matcher:i=>{let r=t.length,s=i.slice(0,r).map(o=>o.path);if(JSON.stringify(s)===JSON.stringify(t))switch(e){case K.CarglassIt:if(i.length===r+3)return{consumed:i,posParams:{bigRegion:new W(i[r].path,{}),region:new W(i[r+1].path,{}),branch:new W(i[r+2].path,{})}};break;case K.CarglassPt:case K.CarglassLu:case K.CarglassBe:case K.CarglassDk:case K.CarglassSe:if(i.length===r+2)return{consumed:i,posParams:{region:new W(i[r].path,{}),branch:new W(i[r+1].path,{})}};break;case K.CarglassAt:if(i.length===r+1)return{consumed:i,posParams:{branch:new W(i[r].path,{})}}}return null},loadChildren:()=>import("./chunk-CSEQMEHZ.js").then(i=>i.ROUTE(n))}),In=t=>({path:t.legacyPath,loadChildren:()=>import("./chunk-6XSIFEQD.js").then(n=>n.OlbLegacyModule)});function wn(t){return t.features?.enableUrlsWithTrailingSlash?new Mt:new yt}function En(t){return t.content.appId}var On=t=>({apiUrl:t.services?.dynamicForm?.apiUrl,tenantName:t.services?.dynamicForm?.tenantName,contactApiUrl:t.services?.dynamicForm?.contactApiUrl,recipient:t.services?.dynamicForm?.recipient}),kr=(()=>{class t{constructor(e,i){this.isBrowser=e,this.consentService=i,this.isBrowser&&this.consentService.initialize()}static{this.\u0275fac=function(i){return new(i||t)(u(G),u(it))}}static{this.\u0275mod=H({type:t,bootstrap:[wr]})}static{this.\u0275inj=$({providers:[ze(Ue()),Me(_e(),je([Ge,xr,Er,Or])),Je([],Qe(),Ye({scrollPositionRestoration:"top",anchorScrolling:"enabled"})),{provide:xe,useFactory:e=>En(e),deps:[T]},{provide:Dt,useFactory:e=>ce(e),deps:[T]},{provide:q,useFactory:e=>ce(e),deps:[T]},{provide:Be,useFactory:e=>On(e),deps:[T]},{provide:Ni,useFactory:e=>Ar(D(k({},e),{componentMapping:{}})),deps:[T]},{provide:wt,useValue:null},{provide:et,useFactory:e=>Nr(e),deps:[T]},{provide:It,useClass:Lt},{provide:it,useClass:or},{provide:Ke,useFactory:e=>wn(e),deps:[T]},Ht(()=>Lr(S(U),S(T))()),{provide:Ve,useFactory:e=>Fr(e),deps:[T],multi:!0},Ht(()=>Rr(S(At),S(Te),S(Ir,{optional:!0}))()),{provide:qe,useClass:Ri}
1,{provide:Fi,useClass:pr,multi:!0,deps:[bt]}],imports:[Pe,ti,vr,Et,Q.forRoot({router:Mi},{runtimeChecks:{strictStateImmutability:!0,strictActionImmutability:!0,strictStateSerializability:!0,strictActionSerializability:!0}}),tt.forRoot([]),sr.instrument({name:"example-com",maxAge:100}),li,ai.forRoot({loader:{provide:oi,useFactory:hr,deps:[V]}})]})}}return t})();var Dr={$schema:"../config.schema.json",production:!1,content:{apiUrl:"https://carglass-at.cms.dev-euc1.ewp.belron.com/web-content",pageName:"carglass.at",tenantName:"carglass-at",appId:"carglass-at"},fonts:{families:[{name:"Roboto",weights:[400,700],files:["roboto-v30-latin-regular.woff2","roboto-v30-latin-700.woff2"]},{name:"Roboto Condensed",weights:[400,700],files:["roboto-condensed-v25-latin-regular.woff2","roboto-condensed-v25-latin-700.woff2"]}]},olb:{apiUrl:"https://alfred.dev-euc1.ewp.belron.com/api",assetsBaseUrl:"https://olb-assets-ewp-euc1-dev.s3.eu-central-1.amazonaws.com/",assetsUrl:"https://olb-assets-ewp-euc1-dev.s3.eu-central-1.amazonaws.com/assets",businessUnit:"carglass-at",countryCode:"AT",appointments:{openIntervals:{default:{start:"08:00",end:"15:00"},overrides:{friday:{start:"08:00",end:"13:00"},saturday:{isClosed:!0},sunday:{isClosed:!0}}},defaultReplacementTimeSlot:"08:00",replaceJobBufferDays:4,repairJobBufferDays:2},legacyPath:"termin-anfragen",phoneNumber:{debounceTime:400,phoneNumberMinLength:5},funnel:{id:5761075,path:"future-termin-anfragen",tenant:"carglass-at",topic:{header:"olb"}}},countryCode:"AT",htmlLanguage:"de-AT",language:"de",features:{enableAlternativeLayoutEventTracking:!1,showHeaderWithBar:!1,enableClientHydration:!0,enableUrlsWithTrailingSlash:!1,enableDDRum:!1,contentSquareFunnelExclusion:"olb",showHideStickyCta:{enabled:!0,scrollDistance:400}},services:{consent:{crossDomainPath:"https://carglass-at.dev-euc1.ewp.belron.com/assets/usercentrics-cross-domain-bridge.html",enabled:!0,scriptUrl:"https://app.usercentrics.eu/browser-ui/latest/loader.js",settingsId:"tPcyBZNig",version:"preview",hiddenConsentBannerRoutes:["/agb","/impressum","/datenschutz"],settings:{gtm:!0,conversionLinker:!0,googleSyndication:!0,microsoftAds:!0,optimizely:!1,contentSquare:!0}},gtm:{auth:"ltGDP22-Wr9PfYDLHU0Ofw",containerId:"GTM-5H6R2FG",preview:"env-5",strict:!0},contentSquare:{tagId:"8fb8fbaff69d6",enabled:!0,strict:!0},optimizely:{url:"https://optimizely-dev.carglass.at/edge-client/v1/339441196/24350850194",enabled:!0,strict:!0,optimizelyExperiments:[{id:"5680810557177856",name:"[DEV] - OLB - Appointment relocation",variation:{id:"6221933444857856",name:"Variation #1"}}]},dataDog:{rumAppId:"b32cdbdd-8f6c-47ee-8767-713c3ad5cb96",rumClientToken:"pubd8ed29d116eeff1dbe4475c6db5550e5"},woosmap:{key:"woos-5e5b16cc-868e-310c-8a00-59b35b12b090",serviceCentreLookupLimit:5,host:"https://api.woosmap.com",length:1,delay:500,postcodes:1,localityTypes:"locality|postal_code|address",localityComponents:"country:at",localityApiPath:"localities/autocomplete",autocompleteDebounceInMS:100,localityNoDeprecatedFields:!0,localityDetailsApiPath:"localities/details",storesApiPath:"stores/search",storesLimit:5,distanceApiPath:"distance/distancematrix/json",countries:["country:at"],mapsScriptUrl:"https://sdk.woosmap.com/map/map.js",types:["address","postal_code","locality"],branchPrefixes:[{prefix:"standorte/",lang:"default",drupalTemplatePage:"/centre-de-services-template/"}]},dynamicForm:{apiUrl:"https://alfred-go.dev-euc1.ewp.belron.com/api",tenantName:"carglass-at",contactApiUrl:"https://alfred-go.dev-euc1.ewp.belron.com/api/v1/forms/contact",recipient:"530336e6-289f-43cf-a949-3882bd381ca3"},booking:{host:"https://alfred-go.dev-euc1.ewp.belron.com/api",vehicles:"at"},turnstile:{scriptUrl:"https://challenges.cloudflare.com/turnstile/v0/api.js",siteKey:"0x4AAAAAAAKiunAgoxYOOsDW",turnstileId:"turnstileId",loading:"Loading content..."}},loader:{delayInMilliseconds:250,text:"Loading..."},errors:{notFound:"technical-error",runtimeError:"technical-error"},assetsBucketBaseUrl:"https://olb-assets-ewp-euc1-dev.s3.eu-central-1.amazonaws.com/"};var jt={production:!1,config:"/tenant/carglass-at/config.json",configJson:Dr};function Pr(){console.log("Environment: ",jt.production),console.log("Config path: ",jt.config),console.log("Environment: carglass-at")}function Tn(t){De([{provide:T,useValue:t},{provide:Xe,useValue:t}]).bootstrapModule(kr).catch(n=>console.error(n.message))}fetch(`${jt.config}?v=${ot.version}`).then(t=>t.json()).then(t=>
1{t.production?void 0:Pr(),console.log("Deployed Version:",ot.version),Tn(t)});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.