1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[8792],{41251(ye,A,n){var u=n(96623),l=n(25293),h=n(33990),c=n(17988),T=n(39191),o=n(47606),D=n(11971);class x extends l.qj{supportsDOMEvents=!0;static makeCurrent(){(0,l.ig)(new x)}onAndCancel(f,O,y,R){return f.addEventListener(O,y,R),()=>{f.removeEventListener(O,y,R)}}dispatchEvent(f,O){f.dispatchEvent(O)}remove(f){f.remove()}createElement(f,O){return(O=O||this.getDefaultDocument()).createElement(f)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(f){return f.nodeType===Node.ELEMENT_NODE}isShadowRoot(f){return f instanceof DocumentFragment}getGlobalEventTarget(f,O){return"window"===O?window:"document"===O?f:"body"===O?f.body:null}getBaseHref(f){const O=function w(){return j=j||document.head.querySelector("base"),j?j.getAttribute("href"):null}();return null==O?null:function H(m){return new URL(m,document.baseURI).pathname}(O)}resetBaseElement(){j=null}getUserAgent(){return window.navigator.userAgent}getCookie(f){return(0,h.b)(document.cookie,f)}}let j=null,S=(()=>{class m{build(){return new XMLHttpRequest}static \u0275fac=function(y){return new(y||m)};static \u0275prov=c.jDH({token:m,factory:m.\u0275fac})}return m})();const J=["alt","control","meta","shift"],Y={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},re={alt:m=>m.altKey,control:m=>m.ctrlKey,meta:m=>m.metaKey,shift:m=>m.shiftKey};let G=(()=>{class m extends D.Hl{constructor(O){super(O)}supports(O){return null!=m.parseEventName(O)}addEventListener(O,y,R,ee){const He=m.parseEventName(y),_t=m.eventCallback(He.fullKey,R,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,l.rb)().onAndCancel(O,He.domEventName,_t,ee))}static parseEventName(O){const y=O.toLowerCase().split("."),R=y.shift();if(0===y.length||"keydown"!==R&&"keyup"!==R)return null;const ee=m._normalizeKey(y.pop());let He="",_t=y.indexOf("code");if(_t>-1&&(y.splice(_t,1),He="code."),J.forEach(Vt=>{const _n=y.indexOf(Vt);_n>-1&&(y.splice(_n,1),He+=Vt+".")}),He+=ee,0!=y.length||0===ee.length)return null;const Bt={};return Bt.domEventName=R,Bt.fullKey=He,Bt}static matchEventFullKeyCode(O,y){let R=Y[O.key]||O.key,ee="";return y.indexOf("code.")>-1&&(R=O.code,ee="code."),!(null==R||!R)&&(R=R.toLowerCase()," "===R?R="space":"."===R&&(R="dot"),J.forEach(He=>{He!==R&&(0,re[He])(O)&&(ee+=He+".")}),ee+=R,ee===y)}static eventCallback(O,y,R){return ee=>{m.matchEventFullKeyCode(ee,O)&&R.runGuarded(()=>y(ee))}}static _normalizeKey(O){return"esc"===O?"escape":O}static \u0275fac=function(y){return new(y||m)(c.KVO(c.qQL))};static \u0275prov=c.jDH({token:m,factory:m.\u0275fac})}return m})();function De(m){return{appProviders:[...ne,...m?.providers??[]],platformProviders:Qe}}const Qe=[{provide:o.Agw,useValue:T.AJ},{provide:o.PLl,useValue:function ke(){x.makeCurrent()},multi:!0},{provide:c.qQL,useFactory:function Re(){return(0,o._9u)(document),document}}],ne=[{provide:c.GBX,useValue:"root"},{provide:c.zcH,useFactory:function it(){return new c.zcH}},{provide:D.Q5,useClass:D.jd,multi:!0,deps:[c.qQL]},{provide:D.Q5,useClass:G,multi:!0,deps:[c.qQL]},D.mE,D.CI,D.EU,{provide:o._9s,useExisting:D.mE},{provide:h.N,useClass:S},[]];var Te=n(52621),je=n(20396),we=n(23389),Be=n(24406),at=n(61856),Ot=n(97097),Et=n(10432),Yt=n(86493),ut=n(9904),bt=n(18657),Xe=n(56207),tt=n(61130),Ht=n(61151),ze=n(81502),vt=n(75117),pt=n(82805),an=n(73496),s=n(5219),mt=n(61969),Wt=n(48282),jt=n(93612);function Lt(){return(Lt=(0,Xe.A)(function*(m,f){return f?navigator.serviceWorker.register(f+"/assets/service-worker.js",{scope:m}):navigator.serviceWorker.register(n.tu(new URL(n.p+n.u(2771),n.b)),{scope:m,name:"service-worker"})})).apply(this,arguments)}let wt=(()=>{var m;class f{constructor(){this.env=(0,c.WQX)(Et.v),this.isBrowser=(0,c.WQX)(Wt.f).isBrowser,this.win=(0,c.WQX)(jt.$).nativeWindow,this.zone=(0,c.WQX)(o.SKi),this.router=(0,c.WQX)(tt.Ix),this.scope=`${this.win.location.origin}
1/`,this.readySubject=new Ht.m(1),this.messageSubject=new ze.B,this.serviceWorkerContainer=this.getServiceWorkerContainer()}get ready$(){return this.readySubject.pipe((0,vt.s)(1))}get message$(){return this.messageSubject.asObservable()}init(y){this.initData={...this.initData,...y},this.initSubscription||=this.initialize()}postMessage(y){this.serviceWorker?.postMessage(y)}initialize(){return this.isBrowser&&this.zone.runOutsideAngular(()=>(0,pt.O)([(0,an.H)(this.setupWorker()),(0,s.O)(8e3).pipe((0,mt.M)(()=>{Te.V.error("ServiceWorker initialization timed out. Please clear all site data!"),this.triggerReady()}))]).subscribe())}setupWorker(){var y=this;return(0,Xe.A)(function*(){if(!y.serviceWorker&&y.serviceWorkerContainer)try{return yield function sn(m,f){return Lt.apply(this,arguments)}(y.scope,y.env.staticResourcePath),y.initCommunication()}catch(R){Te.V.error("ServiceWorker registration failed:",R)}y.triggerReady()})()}getServiceWorkerContainer(){return this.isBrowser&&"serviceWorker"in navigator&&navigator.serviceWorker}initCommunication(){var y=this;return(0,Xe.A)(function*(){const{active:R}=yield y.serviceWorkerContainer.ready;if(y.serviceWorker=R,"activated"===R.state&&!y.serviceWorkerContainer.controller)return y.router.dispose(),void y.win.location.reload();y.listenToMessages(),y.postMessage({type:"INIT",...y.initData})})()}listenToMessages(){this.serviceWorkerContainer.addEventListener("message",({data:y={}})=>{y.ready?this.triggerReady(y):this.messageSubject.next(y)})}triggerReady(y={}){this.readySubject.next(y)}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return m(),f})();var cn=n(60371);let Mn=(()=>{var m;class f{constructor(){this.env=(0,c.WQX)(Et.v),this.logout=(0,c.WQX)(ut.k),this.userContext=(0,c.WQX)(cn.i),this.serviceWorkerService=(0,c.WQX)(wt),this.zone=(0,c.WQX)(o.SKi),this.origin=(0,c.WQX)(c.qQL).location.origin,this.hasBearer=!1,this.setInitData(),this.observeTokenChanges(),this.observeAccountChanges()}get ready$(){return this.serviceWorkerService.ready$.pipe((0,Be.T)(()=>null))}get hasToken(){return this.hasBearer}setToken(y){y&&this.postToken(y)}setInitData(){const{isLoggedIn:y,hasOauthSession:R,ssoUserRole:ee,customerOriginId:He,contactOriginId:_t}=this.userContext;this.serviceWorkerService.init({tokenStore:{enabled:y,requestUrls:this.getRequestUrls(),userId:y&&R?[ee,He,_t].filter(Boolean).join():null}})}postToken(y){this.serviceWorkerService.postMessage({type:"SET_TOKEN",tokenStore:{token:y}})}observeAccountChanges(){this.userContext.isLoggedIn&&this.logout.switchAccount$().subscribe(()=>this.postToken(""))}observeTokenChanges(){this.serviceWorkerService.message$.pipe((0,Be.T)(({tokenStore:y})=>y),(0,at.p)(y=>(0,Yt.YP)(y,"hasToken"))).subscribe(({hasToken:y})=>{this.hasBearer=y,y&&!this.checkSubscription&&(this.checkSubscription=this.checkTokenPresence())})}checkTokenPresence(){return this.zone.runOutsideAngular(()=>(0,Ot.Y)(1e4).subscribe(()=>{this.serviceWorkerService.postMessage({type:"HAS_TOKEN"})}))}getRequestUrls(){return[this.env.dusBaseUrl,this.env.cloudBaseUrl,this.env.chatBaseUrl,this.env.isProduction||this.env.gqlEndpointUri?.startsWith("http")?"":this.origin+this.env.gqlEndpointUri].filter(Boolean)}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return m(),f})();const Ut={provide:bt.K,useExisting:Mn};
1var rn=n(41350),In=n(21082),An=n(93003),Xn=n(56480);const Pr=(0,o.phd)(function Fr(){const{kameleoonSiteId:m}=(0,c.WQX)(Et.v),f=(0,c.WQX)(An.I);if(!f.getToggleById("ldt_ab_testing")||!f.getToggleById("abtesting_hydration_compat")||!m)return;const O=(0,c.WQX)(jt.$).nativeWindow;O.kameleoonQueue=O.kameleoonQueue||[],O.kameleoonStartLoadTime=Date.now();const y=(0,c.WQX)(Xn.V);(0,c.WQX)(o.o8S).isStable.pipe((0,at.p)(Boolean),(0,vt.s)(1),(0,In.n)(()=>y.loadScript$(`//${m}.kameleoon.eu/engine.js`,{id:"kameleoon-engine",attributes:[{name:"async",value:"true"}]}))).subscribe()});var Dr=n(1831),wr=n(11167);const Sr=(0,o.phd)(function jn(){const m=(0,c.WQX)(Dr.zZ),{nativeWindow:f}=(0,c.WQX)(jt.$),{search:O}=f.location||{};if(O){const y=m.getStorage(wr.eL.SESSION),R=new URLSearchParams(O);y&&R.forEach((ee,He)=>y.setItem(He,ee))}});var Ve=n(68661),Ae=n(31346),$e=n(37067);const gt=[Ve.N,{provide:Ae.T6,useClass:Ae.$b,deps:[Et.v,Ve.N]},{provide:$e.G,useClass:$e.J,deps:[Et.v,Ve.N]}];var Kt=n(69488),ln=n(72288);function un(m,f){return(0,c.WQX)(Wt.f).isBrowser&&(0,c.WQX)(ln.Q5).isRedirecting?Kt.t:f(m)}var nn=n(14970),Rt=n(13901),Xt=n(83535);function Er(m,f){const O=(0,c.WQX)(o.pJN);if(!["GET","HEAD"].includes(m.method))return f(m);const y=function bn(m){return(0,o.zw6)((0,Xt.hz)(m))}(m);if(O.hasKey(y))return(0,Rt.of)((0,Xt.eD)(O.get(y,{})));{const R=f(m);return(0,c.WQX)(Wt.f).isServer&&m.context.get(Xt.qb)?R.pipe((0,mt.M)(ee=>{ee instanceof je.cS&&O.set(y,(0,Xt.sI)({...ee,url:(0,Xt.e7)(m)}))})):R}}var Fn=n(16377),Yn=n(39848),Qn=n(11135),vr=n(34616);let cr=(()=>{var m;class f{constructor(){this.activeRequests=0,this.preloaderService=(0,c.WQX)(vr.M)}intercept(y,R){const ee=y.body?.operationName||(0,Qn.Jf)(y.url);return this.preloaderService.shouldTrackRequest(ee)?(0===this.activeRequests&&this.preloaderService.startLoading(vr.c.REQUEST),this.activeRequests++,R(y).pipe((0,Yn.j)(()=>{this.activeRequests--,0===this.activeRequests&&this.preloaderService.stopLoading(vr.c.REQUEST)}))):R(y)}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac}))}return m(),f})();var nr=n(4642);const Jn="hdms-website";var lr=n(48065),Wr=n(61642),or=n(23478);const zr=`/${Wr.x.BASE}/${Wr.x.ACCOUNT}`,go=`/${Wr.x.BASE}/${Wr.x.CONTACT}`;let ct=(()=>{var m;class f{constructor(){this.router=(0,c.WQX)(tt.Ix),this.envService=(0,c.WQX)(Et.v),this.userContextService=(0,c.WQX)(cn.i),this.redirectService=(0,c.WQX)(ln.Q5),this.storage=(0,c.WQX)(wr.n$),this.logoutService=(0,c.WQX)(ut.k),this.routePartialRegisteredUser(),this.cleanUpRegistrationRedirectionFlagUponLogout()}routePartialRegisteredUser(){this.userContextService.isPendingRegistration&&this.router.events.pipe((0,at.p)(y=>y instanceof tt.Z),(0,lr.pQ)()).subscribe(({url:y})=>{this.canRedirectToRegistrationBaseRoute(y)&&(this.envService.hostContext?this.redirectService.redirectTo(zr):this.router.navigateByUrl(zr))})}canRedirectToRegistrationBaseRoute(y){return!(y.includes(zr)||y.includes(go)||this.storage.getItem(or.LC,wr.eL.LOCAL,!0))}cleanUpRegistrationRedirectionFlagUponLogout(){this.logoutService.logout$().pipe((0,lr.pQ)()).subscribe(()=>this.storage.removeItem(or.LC,wr.eL.LOCAL,!0))}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return m(),f})();const $=(0,o.phd)(()=>{(0,c.WQX)(ct)}),ue={providers:[(0,je.$R)((0,je.ZZ)(),function ar(...m){return(0,je.b$)([Er,Fn.o,un,nn.L,...m])}(function qn(m,f){return(0,c.WQX)(cr).intercept(m,f)}
1)),function Fe(){return(0,o.phd)(()=>(0,c.WQX)(T.Xr).setOffset([0,55]))}(),{provide:nr.G,useValue:Jn},{provide:we.n$,useExisting:rn.X},Ut,Pr,gt,Sr,$]};var fe=n(13917),Oe=n(65545),Ce=n(46271),p=n(76552),Ke=n(72783),nt=n(57440),It=n(96410),dn=n(77171),fn=n(27027),gn=n(64517);n(90523);const xt=(m,f)=>m&&f?[...m.keys()].reduce((O,y)=>O.set(y,m.get(y)),f):f||m;const Rn={batchInterval:10,batchMax:10,uri:"graphql",method:"POST",withCredentials:!1,includeQuery:!0,includeExtensions:!1,useMultipart:!1};function wn(m,f,O){return function Zt(...m){return m.find(f=>typeof f<"u")}(m[O],f[O],Rn[O])}class Tr extends It.C{httpClient;options;requester;print=fn.y;constructor(f,O){super(),this.httpClient=f,this.options=O,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=y=>new gn.c(R=>{const ee=y.getContext();let He=wn(ee,this.options,"method");const _t=wn(ee,this.options,"includeQuery"),Bt=wn(ee,this.options,"includeExtensions"),Vt=wn(ee,this.options,"uri"),_n=wn(ee,this.options,"withCredentials"),en=wn(ee,this.options,"useMultipart"),hn=!0===this.options.useGETForQueries,Un=xt(ee.httpContext,xt(this.options.httpContext,new je._y)),Cr=y.query.definitions.some(qr=>"OperationDefinition"===qr.kind&&"query"===qr.operation);hn&&Cr&&(He="GET");const Rr={method:He,url:"function"==typeof Vt?Vt(y):Vt,body:{operationName:y.operationName,variables:y.variables},options:{withCredentials:_n,useMultipart:en,headers:this.options.headers,context:Un}};Bt&&(Rr.body.extensions=y.extensions),_t&&(Rr.body.query=this.print(y.query));const Do=function xn(m){let f=m.headers&&m.headers instanceof je.Lr?m.headers:new je.Lr(m.headers);if(m.clientAwareness){const{name:O,version:y}=m.clientAwareness;O&&!f.has("apollographql-client-name")&&(f=f.set("apollographql-client-name",O)),y&&!f.has("apollographql-client-version")&&(f=f.set("apollographql-client-version",y))}return f}(ee);Rr.options.headers=((m,f)=>m&&f?f.keys().reduce((y,R)=>y.set(R,f.getAll(R)),m):f||m)(Rr.options.headers,Do);const Vr=((m,f,O)=>{const y=-1!==["POST","PUT","PATCH"].indexOf(m.method.toUpperCase()),ee=m.body.length;let _t,He=m.options&&m.options.useMultipart;if(He){if(ee)return new gn.c(Vt=>Vt.error(new Error("File upload is not available when combined with Batching")));if(!y)return new gn.c(Vt=>Vt.error(new Error("File upload is not available when GET is used")));if(!O)return new gn.c(Vt=>Vt.error(new Error('To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink\'s options')));_t=O(m.body),He=!!_t.files.size}let Bt={};if(ee){if(!y)return new gn.c(Vt=>Vt.error(new Error("Batching is not available for GET requests")));Bt={body:m.body}}else Bt=y?{body:He?_t.clone:m.body}:{params:Object.keys(m.body).reduce((en,hn)=>{const Un=m.body[hn];return en[hn]=-1!==["variables","extensions"].indexOf(hn.toLowerCase())?JSON.stringify(Un):Un,en},{})};if(He&&y){const Vt=new FormData;Vt.append("operations",JSON.stringify(Bt.body));const _n={},en=_t.files;let hn=0;en.forEach(Un=>{_n[++hn]=Un}),Vt.append("map",JSON.stringify(_n)),hn=0,en.forEach((Un,Cr)=>{Vt.append(++hn+"",Cr,Cr.name)}),Bt.body=Vt}return f.request(m.method,m.url,{observe:"response",responseType:"json",reportProgress:!1,...Bt,...m.options})})(Rr,this.httpClient,this.options.extractFiles).subscribe({next:qr=>{y.setContext({response:qr}),R.next(qr.body)},error:qr=>R.error(qr),complete:()=>R.complete()});return()=>{Vr.closed||Vr.unsubscribe()}})}request(f){return this.requester(f)}}let Lr=(()=>{class m{httpClient;constructor(O){this.httpClient=O}create(O){return new Tr(this.httpClient,O)}static \u0275fac=function(y){return new(y||m)(c.KVO(je.Qq))};static \u0275prov=c.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})();var eo=n(31014),On=n(11436),mr=n(29856),Tn=n(6417),Yr=n(26366);const de={kind:Tn.b.FIELD,name:{kind:Tn.b.NAME,value:"__typename"}},Je=Object.assign(function(m){return(0,Yr.YR)(m,{SelectionSet:{enter(f,O,y){if(y&&y.kind===Tn.b.OPERATION_DEFINITION)return;const{selections:R}=f;return R&&!R.some(_t=>_t.kind===Tn.b.FIELD&&("__typename"===_t.name.value||0===_t.name.value.lastIndexOf("__",0)))?y.kind===Tn.b.FIELD&&y.directives&&y.directives.some(_t=>"export"===_t.name.value)?void 0:{...f,selections:[...R,de]}:void 0}}})},{added:m=>m===de});var Ee=n(43841),xe=n(72460),ft=n(64152);function kt(m){return!(!m||"object"!=typeof m||"string"!=typeof m.__ref)}var tn=n(35506),Nn=n(21026),Vn=n(25406),_r=n(71069),Wn=n(38754),sr=n(71444);function Jr(m,f){let O=f;const y=[];return m.definitions.forEach(ee=>{if("OperationDefinition"===ee.kind)throw(0,Vn.vA)(10,ee.operation,ee.name?` named '${ee.name.value}'`:"");"FragmentDefinition"===ee.kind&&y.push(ee)}),typeof O>"u"&&((0,Vn.V1)(1===y.length,11,y.length),O=y[0].name.value),{...m,definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:O}}]}},...m.definitions]}}function Ar(...m){return On.NS.bind(null,...m)}class kr{assumeImmutableResults=!1;lookupFragment(f){return null}batch(f){let y;return this.performTransaction(()=>y=f.update(this),"string"==typeof f.optimistic?f.optimistic:!1===f.optimistic?null:void 0),y}recordOptimisticTransaction(f,O){this.performTransaction(f,O)}transformDocument(f){return f}transformForLink(f){return f}identify(f){}gc(){return[]}modify(f){return!1}readQuery(f,O=!!f.optimistic){return this.read({...f,rootId:f.id||"ROOT_QUERY",optimistic:O})}watchFragment(f){const{fragment:O,fragmentName:y,from:R,optimistic:ee=!0,...He}=f,_t=this.getFragmentDoc(O,y),Bt=typeof R>"u"||"string"==typeof R?R:this.identify(R);if(tn.g){const en=y||(0,Wn.E)(O).name.value;Bt||tn.g&&Vn.V1.warn(110,en)}const Vt={...He,returnPartialData:!0,id:Bt,query:_t,optimistic:ee};let _n;return new gn.c(en=>this.watch({...Vt,immediate:!0,callback:hn=>{let Un=hn.result;if(null===Un&&(Un={}),_n&&(0,sr.a)(_t,{data:_n.result},{data:Un},f.variables))return;const Cr={data:Un,dataState:hn.complete?"complete":"partial",complete:!!hn.complete};hn.missing&&(Cr.missing=hn.missing.missing),_n={...hn,result:Un},en.next(Cr)}}))}getFragmentDoc=(0,On.LV)(Jr,{max:Ee.v["cache.fragmentQueryDocuments"]||1e3,cache:_r.l,makeCacheKey:Ar(this)});readFragment(f,O=!!f.optimistic){return this.read({...f,query:this.getFragmentDoc(f.fragment,f.fragmentName),rootId:f.id,optimistic:O})}writeQuery({id:f,data:O,...y}){return this.write(Object.assign(y,{dataId:f||"ROOT_QUERY",result:O}))}writeFragment({id:f,data:O,fragment:y,fragmentName:R,...ee}){return this.write(Object.assign(ee,{query:this.getFragmentDoc(y,R),dataId:f,result:O}))}updateQuery(f,O){return this.batch({update(y){const R=y.readQuery(f),ee=O(R);return null==ee?R:(y.writeQuery({...f,data:ee}),ee)}})}updateFragment(f,O){return this.batch({update(y){const R=y.readFragment(f),ee=O(R);return null==ee?R:(y.writeFragment({...f,data:ee}),ee)}})}}tn.g&&(kr.prototype.getMemoryInternals=Nn.tQ);var co=n(51602),Nr=n(52154);const{hasOwnProperty:lo}
1=Object.prototype,uo=function(m,f,O){return this.merge(m[O],f[O])};class $r{reconciler;constructor(f=uo){this.reconciler=f}merge(f,O,...y){return(0,Nr.U)(O)&&(0,Nr.U)(f)?(Object.keys(O).forEach(R=>{if(lo.call(f,R)){const ee=f[R];if(O[R]!==ee){const He=this.reconciler(f,O,R,...y);He!==ee&&((f=this.shallowCopyForMerge(f))[R]=He)}}else(f=this.shallowCopyForMerge(f))[R]=O[R]}),f):O}isObject=Nr.U;pastCopies=new Set;shallowCopyForMerge(f){return(0,Nr.U)(f)&&(this.pastCopies.has(f)||(f=Array.isArray(f)?f.slice(0):{__proto__:Object.getPrototypeOf(f),...f},this.pastCopies.add(f))),f}}function to(m){return{__ref:String(m)}}var vo=n(32045),Go=n(65618),Zr=n(4050),mo=n(18615),Oo=n(65630),Fo=n(61718),Qo=n(10601),Si=n(84577);const{hasOwnProperty:Kr}=Object.prototype;function ei({__typename:m,id:f,_id:O},y){if("string"==typeof m&&(y&&(y.keyObject=null!=f?{id:f}:null!=O?{_id:O}:void 0),null==f&&null!=O&&(f=O),null!=f))return`${m}:${"number"==typeof f||"string"==typeof f?f:JSON.stringify(f)}`}const ai={dataIdFromObject:ei,resultCaching:!0},To=/^[_a-z][_0-9a-z]*/i;function Ur(m){const f=m.match(To);return f?f[0]:m}function Co(m,f,O){return!!(0,Nr.U)(f)&&((0,Zr.c)(f)?f.every(y=>Co(m,y,O)):m.selections.every(y=>{if((0,mo.d)(y)&&(0,Oo.M)(y,O)){const R=(0,Fo.u)(y);return Kr.call(f,R)&&(!y.selectionSet||Co(y.selectionSet,f[R],O))}return!0}))}function Lo(m){return(0,Nr.U)(m)&&!kt(m)&&!(0,Zr.c)(m)}function ci(m,f){const O=(0,Qo.J)((0,Si.z)(m));return{fragmentMap:O,lookupFragment(y){let R=O[y];return!R&&f&&(R=f.lookup(y)),R||null}}}const Ao={},Wo=()=>Ao,Pe={};class Se{policies;group;data={};constructor(f,O){this.policies=f,this.group=O}toObject(){return{...this.data}}has(f){return void 0!==this.lookup(f,!0)}get(f,O){if(this.group.depend(f,O),Kr.call(this.data,f)){const y=this.data[f];if(y&&Kr.call(y,O))return y[O]}return"__typename"===O&&Kr.call(this.policies.rootTypenamesById,f)?this.policies.rootTypenamesById[f]:this instanceof L?this.parent.get(f,O):void 0}lookup(f,O){return O&&this.group.depend(f,"__exists"),Kr.call(this.data,f)?this.data[f]:this instanceof L?this.parent.lookup(f,O):this.policies.rootTypenamesById[f]?{}:void 0}merge(f,O){let y;kt(f)&&(f=f.__ref),kt(O)&&(O=O.__ref);const R="string"==typeof f?this.lookup(y=f):f,ee="string"==typeof O?this.lookup(y=O):O;if(!ee)return;(0,Vn.V1)("string"==typeof y,96);const He=new $r(le).merge(R,ee);if(this.data[y]=He,He!==R&&(delete this.refs[y],this.group.caching)){const _t={};R||(_t.__exists=1),Object.keys(ee).forEach(Bt=>{if(!R||R[Bt]!==He[Bt]){_t[Bt]=1;const Vt=Ur(Bt);Vt!==Bt&&!this.policies.hasKeyArgs(He.__typename,Vt)&&(_t[Vt]=1),void 0===He[Bt]&&!(this instanceof L)&&delete He[Bt]}}),_t.__typename&&!(R&&R.__typename)&&this.policies.rootTypenamesById[y]===He.__typename&&delete _t.__typename,Object.keys(_t).forEach(Bt=>this.group.dirty(y,Bt))}}modify(f,O,y){const R=this.lookup(f);if(R){const ee={};let He=!1,_t=!0;const Bt={DELETE:Ao,INVALIDATE:Pe,isReference:kt,toReference:this.toReference,canRead:this.canRead,readField:(Vt,_n)=>this.policies.readField("string"==typeof Vt?{fieldName:Vt,from:_n||to(f)}:Vt,{store:this})};if(Object.keys(R).forEach(Vt=>{const _n=Ur(Vt);let en=R[Vt];if(void 0===en)return;const hn="function"==typeof O?O:O[Vt]||(y?void 0:O[_n]);if(hn){let Un=hn===Wo?Ao:hn((0,vo.G)(en),{...Bt,fieldName:_n,storeFieldName:Vt,storage:this.getStorage(f,Vt)});if(Un===Pe)this.group.dirty(f,Vt);else if(Un===Ao&&(Un=void 0),Un!==en&&(ee[Vt]=Un,He=!0,en=Un,tn.g)){const Cr=Rr=>{if(void 0===this.lookup(Rr.__ref))return tn.g&&Vn.V1.warn(97,Rr),!0};if(kt(Un))Cr(Un);else if(Array.isArray(Un)){let Do,Rr=!1;for(const Vr of Un){if(kt(Vr)){if(Rr=!0,Cr(Vr))break}else if("object"==typeof Vr&&Vr){const[qr]=this.policies.identify(Vr);qr&&(Do=Vr)}
1if(Rr&&void 0!==Do){tn.g&&Vn.V1.warn(98,Do);break}}}}}void 0!==en&&(_t=!1)}),He)return this.merge(f,ee),_t&&(this instanceof L?this.data[f]=void 0:delete this.data[f],this.group.dirty(f,"__exists")),!0}return!1}delete(f,O,y){const R=this.lookup(f);if(R){const ee=this.getFieldValue(R,"__typename"),He=O&&y?this.policies.getStoreFieldName({typename:ee,fieldName:O,args:y}):O;return this.modify(f,He?{[He]:Wo}:Wo,!!y)}return!1}evict(f,O){let y=!1;return f.id&&(Kr.call(this.data,f.id)&&(y=this.delete(f.id,f.fieldName,f.args)),this instanceof L&&this!==O&&(y=this.parent.evict(f,O)||y),(f.fieldName||y)&&this.group.dirty(f.id,f.fieldName||"__exists")),y}clear(){this.replace(null)}extract(){const f=this.toObject(),O=[];return this.getRootIdSet().forEach(y=>{Kr.call(this.policies.rootTypenamesById,y)||O.push(y)}),O.length&&(f.__META={extraRootIds:O.sort()}),f}replace(f){if(Object.keys(this.data).forEach(O=>{f&&Kr.call(f,O)||this.delete(O)}),f){const{__META:O,...y}=f;Object.keys(y).forEach(R=>{this.merge(R,y[R])}),O&&O.extraRootIds.forEach(this.retain,this)}}rootIds={};retain(f){return this.rootIds[f]=(this.rootIds[f]||0)+1}release(f){if(this.rootIds[f]>0){const O=--this.rootIds[f];return O||delete this.rootIds[f],O}return 0}getRootIdSet(f=new Set){return Object.keys(this.rootIds).forEach(f.add,f),this instanceof L?this.parent.getRootIdSet(f):Object.keys(this.policies.rootTypenamesById).forEach(f.add,f),f}gc(){const f=this.getRootIdSet(),O=this.toObject();f.forEach(R=>{Kr.call(O,R)&&(Object.keys(this.findChildRefIds(R)).forEach(f.add,f),delete O[R])});const y=Object.keys(O);if(y.length){let R=this;for(;R instanceof L;)R=R.parent;y.forEach(ee=>R.delete(ee))}return y}refs={};findChildRefIds(f){if(!Kr.call(this.refs,f)){const O=this.refs[f]={},y=this.data[f];if(!y)return O;const R=new Set([y]);R.forEach(ee=>{kt(ee)&&(O[ee.__ref]=!0),(0,Nr.U)(ee)&&Object.keys(ee).forEach(He=>{const _t=ee[He];(0,Nr.U)(_t)&&R.add(_t)})})}return this.refs[f]}makeCacheKey(){return this.group.keyMaker.lookupArray(arguments)}getFieldValue=(f,O)=>(0,vo.G)(kt(f)?this.get(f.__ref,O):f&&f[O]);canRead=f=>kt(f)?this.has(f.__ref):"object"==typeof f;toReference=(f,O)=>{if("string"==typeof f)return to(f);if(kt(f))return f;const[y]=this.policies.identify(f);if(y){const R=to(y);return O&&this.merge(y,f),R}};get supportsResultCaching(){return this.group.caching}}class rt{caching;parent;d=null;keyMaker;constructor(f,O=null){this.caching=f,this.parent=O,this.resetCaching()}resetCaching(){this.d=this.caching?(0,On.yN)():null,this.keyMaker=new co.b}depend(f,O){if(this.d){this.d(Mt(f,O));const y=Ur(O);y!==O&&this.d(Mt(f,y)),this.parent&&this.parent.depend(f,O)}}dirty(f,O){this.d&&this.d.dirty(Mt(f,O),"__exists"===O?"forget":"setDirty")}}function Mt(m,f){return f+"#"+m}function St(m,f){ge(m)&&m.group.depend(f,"__exists")}Se.Root=class oe extends Se{constructor({policies:f,resultCaching:O=!0,seed:y}){super(f,new rt(O)),y&&this.replace(y)}stump=new W(this);addLayer(f,O){return this.stump.addLayer(f,O)}removeLayer(){return this}storageTrie=new co.b;getStorage(){return this.storageTrie.lookupArray(arguments)}};class L extends Se{id;parent;replay;group;constructor(f,O,y,R){super(O.policies,R),this.id=f,this.parent=O,this.replay=y,this.group=R,y(this)}addLayer(f,O){return new L(f,this,O,this.group)}removeLayer(f){const O=this.parent.removeLayer(f);return f===this.id?(this.group.caching&&Object.keys(this.data).forEach(y=>{const R=this.data[y],ee=O.lookup(y);ee?R?R!==ee&&Object.keys(R).forEach(He=>{(0,eo.L)(R[He],ee[He])||this.group.dirty(y,He)}):(this.group.dirty(y,"__exists"),Object.keys(ee).forEach(He=>{this.group.dirty(y,He)})):this.delete(y)}),O):O===this.parent?this:O.addLayer(this.id,this.replay)}toObject(){return{...this.parent.toObject(),...this.data}}findChildRefIds(f){const O=this.parent.findChildRefIds(f);return Kr.call(this.data,f)?{...O,...super.findChildRefIds(f)}:O}getStorage(...f){let O=this.parent;for(;O.parent;)O=O.parent;return O.getStorage(...f)}}class W extends L{constructor(f){super("EntityStore.Stump",f,()=>{},new rt(f.group.caching,f.group))}removeLayer(){return this}merge(f,O){return this.parent.merge(f,O)}}function le(m,f,O){const y=m[O],R=f[O];return(0,eo.L)(y,R)?y:R}function ge(m){return!(!m||!m.supportsResultCaching)}var Le=n(90252),qe=n(83177);function Pt(m,f){if(m.arguments&&m.arguments.length){const O={};
1return m.arguments.forEach(({name:y,value:R})=>(0,qe.J)(O,y,R,f)),O}return null}const Tt=["connection","include","skip","client","rest","export","nonreactive"];let Gt=xe.M;const zt=Object.assign(function(m,f,O){if(f&&O&&O.connection&&O.connection.key){if(O.connection.filter&&O.connection.filter.length>0){const R=O.connection.filter?O.connection.filter:[];R.sort();const ee={};R.forEach(_t=>{ee[_t]=f[_t]});const He=Gt(ee);if("{}"!==He)return`${O.connection.key}(${He})`}return O.connection.key}let y=m;if(f){const R=Gt(f);"{}"!==R&&(y+=`(${R})`)}return O&&Object.keys(O).forEach(R=>{-1===Tt.indexOf(R)&&(O[R]&&Object.keys(O[R]).length?y+=`@${R}(${Gt(O[R])})`:y+=`@${R}`)}),y},{setStringify(m){const f=Gt;return Gt=m,f}});var Dn=n(95593),Cn=n(85554);const mn={};function Pn(m){const f=JSON.stringify(m);return mn[f]||(mn[f]={})}function Kn(m){const f=Pn(m);return f.keyFieldsFn||(f.keyFieldsFn=(O,y)=>{const R=(He,_t)=>y.readField(_t,He),ee=y.keyObject=Zn(m,He=>{let _t=fr(y.storeObject,He,R);return void 0===_t&&O!==y.storeObject&&Kr.call(O,He[0])&&(_t=fr(O,He,br)),(0,Vn.V1)(void 0!==_t,99,He.join("."),O),_t});return`${y.typename}:${JSON.stringify(ee)}`})}function Bn(m){const f=Pn(m);return f.keyArgsFn||(f.keyArgsFn=(O,{field:y,variables:R,fieldName:ee})=>{const He=Zn(m,Bt=>{const Vt=Bt[0],_n=Vt.charAt(0);if("@"!==_n){if("$"===_n){const en=Vt.slice(1);if(R&&Kr.call(R,en)){const hn=Bt.slice(0);return hn[0]=en,fr(R,hn)}return}if(O)return fr(O,Bt)}else if(y&&(0,Cn.E)(y.directives)){const en=Vt.slice(1),hn=y.directives.find(Cr=>Cr.name.value===en),Un=hn&&Pt(hn,R);return Un&&fr(Un,Bt.slice(1))}}),_t=JSON.stringify(He);return(O||"{}"!==_t)&&(ee+=":"+_t),ee})}function Zn(m,f){const O=new $r;return yr(m).reduce((y,R)=>{let ee=f(R);if(void 0!==ee){for(let He=R.length-1;He>=0;--He)ee={[R[He]]:ee};y=O.merge(y,ee)}return y},{})}function yr(m){const f=Pn(m);if(!f.paths){const O=f.paths=[],y=[];m.forEach((R,ee)=>{(0,Zr.c)(R)?(yr(R).forEach(He=>O.push(y.concat(He))),y.length=0):(y.push(R),(0,Zr.c)(m[ee+1])||(O.push(y.slice(0)),y.length=0))})}return f.paths}function br(m,f){return m[f]}function fr(m,f,O){return O=O||br,te(f.reduce(function y(R,ee){return(0,Zr.c)(R)?R.map(He=>y(He,ee)):R&&O(R,ee)},m))}function te(m){return(0,Nr.U)(m)?(0,Zr.c)(m)?m.map(te):Zn(Object.keys(m).sort(),f=>fr(m,f)):m}const se=new On.DX,V=new WeakMap;function Me(m){let f=V.get(m);return f||V.set(m,f={vars:new Set,dep:(0,On.yN)()}),f}function lt(m){Me(m).vars.forEach(f=>f.forgetCache(m))}function er(m){const f=new Set,O=new Set,y=function(ee){if(arguments.length>0){if(m!==ee){m=ee,f.forEach(_t=>{Me(_t).dep.dirty(y),function io(m){m.broadcastWatches&&m.broadcastWatches()}(_t)});const He=Array.from(O);O.clear(),He.forEach(_t=>_t(m))}}else{const He=se.getValue();He&&(R(He),Me(He).dep(y))}return m};y.onNextChange=ee=>(O.add(ee),()=>{O.delete(ee)});const R=y.attachCache=ee=>(f.add(ee),Me(ee).vars.add(y),y);return y.forgetCache=ee=>f.delete(ee),y}function no(m){return void 0!==m.args?m.args:m.field?Pt(m.field,m.variables):null}const ko=()=>{},yi=(m,f)=>f.fieldName,li=(m,f,{mergeObjects:O})=>O(m,f),Ei=(m,f)=>f;class jo{config;typePolicies={};toBeAdded={};supertypeMap=new Map;fuzzySubtypes=new Map;cache;rootIdsByTypename={};rootTypenamesById={};usingPossibleTypes=!1;constructor(f){this.config=f,this.config={dataIdFromObject:ei,...f},this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),f.possibleTypes&&this.addPossibleTypes(f.possibleTypes),f.typePolicies&&this.addTypePolicies(f.typePolicies)}identify(f,O){const y=this,R=O&&(O.typename||O.storeObject?.__typename)||f.__typename;if(R===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];const ee=O&&O.storeObject||f,He={...O,typename:R,storeObject:ee,readField:O&&O.readField||((..._n)=>{const en=Xo(_n,ee);return y.readField(en,{store:y.cache.data,variables:en.variables})})};let _t;const Bt=R&&this.getTypePolicy(R);let Vt=Bt&&Bt.keyFn||this.config.dataIdFromObject;return Le.y.withValue(!0,()=>{for(;Vt;){const _n=Vt({...f,...ee},He);if(!(0,Zr.c)(_n)){_t=_n;break}Vt=Kn(_n)}}),_t=_t?String(_t):void 0,He.keyObject?[_t,He.keyObject]:[_t]}addTypePolicies(f){Object.keys(f).forEach(O=>{const{queryType:y,mutationType:R,subscriptionType:ee,...He}=f[O];y&&this.setRootTypename("Query",O),R&&this.setRootTypename("Mutation",O),ee&&this.setRootTypename("Subscription",O),Kr.call(this.toBeAdded,O)?this.toBeAdded[O].push(He):this.toBeAdded[O]=[He]})}updateTypePolicy(f,O,y){const R=this.getTypePolicy(f),{keyFields:ee,fields:He}=O;function _t(Bt,Vt){Bt.merge="function"==typeof Vt?Vt:!0===Vt?li:!1===Vt?Ei:Bt.merge}_t(R,O.merge),R.keyFn=!1===ee?ko:(0,Zr.c)(ee)?Kn(ee):"function"==typeof ee?ee:R.keyFn,He&&Object.keys(He).forEach(Bt=>{let Vt=y[Bt];(!Vt||Vt?.typename!==f)&&(Vt=y[Bt]={typename:f});const _n=He[Bt];if("function"==typeof _n)Vt.read=_n;else{const{keyArgs:en,read:hn,merge:Un}=_n;Vt.keyFn=!1===en?yi:(0,Zr.c)(en)?Bn(en):"function"==typeof en?en:Vt.keyFn,"function"==typeof hn&&(Vt.read=hn),_t(Vt,Un)}Vt.read&&Vt.merge&&(Vt.keyFn=Vt.keyFn||yi)})}setRootTypename(f,O=f){const y="ROOT_"+f.toUpperCase(),R=this.rootTypenamesById[y];O!==R&&((0,Vn.V1)(!R||R===f,100,f),R&&delete this.rootIdsByTypename[R],this.rootIdsByTypename[O]=y,this.rootTypenamesById[y]=O)}addPossibleTypes(f){this.usingPossibleTypes=!0,Object.keys(f).forEach(O=>
1{this.getSupertypeSet(O,!0),f[O].forEach(y=>{this.getSupertypeSet(y,!0).add(O);const R=y.match(To);(!R||R[0]!==y)&&this.fuzzySubtypes.set(y,new RegExp(y))})})}getTypePolicy(f){if(!Kr.call(this.typePolicies,f)){const y=this.typePolicies[f]={};y.fields={};let R=this.supertypeMap.get(f);!R&&this.fuzzySubtypes.size&&(R=this.getSupertypeSet(f,!0),this.fuzzySubtypes.forEach((ee,He)=>{if(ee.test(f)){const _t=this.supertypeMap.get(He);_t&&_t.forEach(Bt=>R.add(Bt))}})),R&&R.size&&R.forEach(ee=>{const{fields:He,..._t}=this.getTypePolicy(ee);Object.assign(y,_t),Object.assign(y.fields,He)})}const O=this.toBeAdded[f];return O&&O.length&&O.splice(0).forEach(y=>{this.updateTypePolicy(f,y,this.typePolicies[f].fields)}),this.typePolicies[f]}getFieldPolicy(f,O){if(f)return this.getTypePolicy(f).fields[O]}getSupertypeSet(f,O){let y=this.supertypeMap.get(f);return!y&&O&&this.supertypeMap.set(f,y=new Set),y}fragmentMatches(f,O,y,R){if(!f.typeCondition)return!0;if(!O)return!1;const ee=f.typeCondition.name.value;if(O===ee)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(ee)){const He=this.getSupertypeSet(O,!0),_t=[He],Bt=en=>{const hn=this.getSupertypeSet(en,!1);hn&&hn.size&&_t.indexOf(hn)<0&&_t.push(hn)};let Vt=!(!y||!this.fuzzySubtypes.size),_n=!1;for(let en=0;en<_t.length;++en){const hn=_t[en];if(hn.has(ee))return He.has(ee)||(_n&&tn.g&&Vn.V1.warn(101,O,ee),He.add(ee)),!0;hn.forEach(Bt),Vt&&en===_t.length-1&&Co(f.selectionSet,y,R)&&(Vt=!1,_n=!0,this.fuzzySubtypes.forEach((Un,Cr)=>{const Rr=O.match(Un);Rr&&Rr[0]===O&&Bt(Cr)}))}}return!1}hasKeyArgs(f,O){const y=this.getFieldPolicy(f,O);return!(!y||!y.keyFn)}getStoreFieldName(f){const{typename:O,fieldName:y}=f,R=this.getFieldPolicy(O,y);let ee,He=R&&R.keyFn;if(He&&O){const _t={typename:O,fieldName:y,field:f.field||null,variables:f.variables},Bt=no(f);for(;He;){const Vt=He(Bt,_t);if(!(0,Zr.c)(Vt)){ee=Vt||y;break}He=Bn(Vt)}}return void 0===ee&&(ee=f.field?function on(m,f){let O=null;m.directives&&(O={},m.directives.forEach(R=>{O[R.name.value]={},R.arguments&&R.arguments.forEach(({name:ee,value:He})=>(0,qe.J)(O[R.name.value],ee,He,f))}));let y=null;return m.arguments&&m.arguments.length&&(y={},m.arguments.forEach(({name:R,value:ee})=>(0,qe.J)(y,R,ee,f))),zt(m.name.value,y,O)}(f.field,f.variables):zt(y,no(f))),!1===ee?y:y===Ur(ee)?ee:y+":"+ee}readField(f,O){const y=f.from;if(!y||!f.field&&!f.fieldName)return;if(void 0===f.typename){const _n=O.store.getFieldValue(y,"__typename");_n&&(f.typename=_n)}const ee=this.getStoreFieldName(f),He=Ur(ee),_t=O.store.getFieldValue(y,ee),Bt=this.getFieldPolicy(f.typename,He),Vt=Bt&&Bt.read;if(Vt){const _n=ti(this,y,f,O,O.store.getStorage(kt(y)?y.__ref:y,ee));return se.withValue(this.cache,Vt,[_t,_n])}return _t}getReadFunction(f,O){const y=this.getFieldPolicy(f,O);return y&&y.read}getMergeFunction(f,O,y){let R=this.getFieldPolicy(f,O),ee=R&&R.merge;return!ee&&y&&(R=this.getTypePolicy(y),ee=R&&R.merge),ee}runMergeFunction(f,O,{field:y,typename:R,merge:ee},He,_t){return ee===li?ui(He.store)(f,O):ee===Ei?O:(He.overwrite&&(f=void 0),ee(f,O,ti(this,void 0,{typename:R,fieldName:y.name.value,field:y,variables:He.variables},He,_t||{})))}}function ti(m,f,O,y,R){const ee=m.getStoreFieldName(O),He=Ur(ee),_t=O.variables||y.variables,{toReference:Bt,canRead:Vt}=y.store;return{args:no(O),field:O.field||null,fieldName:He,storeFieldName:ee,variables:_t,isReference:kt,toReference:Bt,storage:R,cache:m.cache,canRead:Vt,readField:(..._n)=>m.readField(Xo(_n,f,_t),y),mergeObjects:ui(y.store)}}function Xo(m,f,O){const{0:y,1:R,length:ee}=m;let He;return"string"==typeof y?He={fieldName:y,from:ee>1?R:f}:(He={...y},Kr.call(He,"from")||(He.from=f)),tn.g&&void 0===He.from&&tn.g&&Vn.V1.warn(102,(0,Dn.p)(Array.from(m))),void 0===He.variables&&(He.variables=O),He}function ui(m){return function(O,y){if((0,Zr.c)(O)||(0,Zr.c)(y))throw(0,Vn.vA)(103);if((0,Nr.U)(O)&&(0,Nr.U)(y)){const R=m.getFieldValue(O,"__typename"),ee=m.getFieldValue(y,"__typename");if(R&&ee&&R!==ee)return y;if(kt(O)&&Lo(y))return m.merge(O.__ref,y),O;if(Lo(O)&&kt(y))return m.merge(O,y.__ref),y;if(Lo(O)&&Lo(y))return{...O,...y}}return y}}var ni=n(84544),Li=n(54110),Is=n(56415),Ni=n(11049);function Ps(m){let f=m[0]||{};const O=m.length;if(O>1){const y=new $r;for(let R=1;R<O;++R)f=y.merge(f,m[R])}return f}
1class di extends Error{message;path;query;variables;constructor(f,O,y,R){if(super(f),this.message=f,this.path=O,this.query=y,this.variables=R,this.name="MissingFieldError",Array.isArray(this.path)){this.missing=this.message;for(let ee=this.path.length-1;ee>=0;--ee)this.missing={[this.path[ee]]:this.missing}}else this.missing=this.path;this.__proto__=di.prototype}missing}function Ci(m){return[m.selectionSet,m.objectOrReference,m.context]}class Di{executeSelectionSet;executeSubSelectedArray;config;knownResults=new WeakMap;constructor(f){this.config=f,this.executeSelectionSet=(0,On.LV)(O=>{const y=Ci(O);return this.executeSelectionSet.peek(...y)||(St(O.context.store,O.enclosingRef.__ref),this.execSelectionSetImpl(O))},{max:Ee.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:Ci,makeCacheKey(O,y,R){if(ge(R.store))return R.store.makeCacheKey(O,kt(y)?y.__ref:y,R.varString)}}),this.executeSubSelectedArray=(0,On.LV)(O=>(St(O.context.store,O.enclosingRef.__ref),this.execSubSelectedArrayImpl(O)),{max:Ee.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey({field:O,array:y,context:R}){if(ge(R.store))return R.store.makeCacheKey(O,y,R.varString)}})}diffQueryAgainstStore({store:f,query:O,rootId:y="ROOT_QUERY",variables:R,returnPartialData:ee=!0}){const He=this.config.cache.policies;R={...(0,ni.w)((0,Li.A)(O)),...R};const _t=to(y),Bt=this.executeSelectionSet({selectionSet:(0,Is.V)(O).selectionSet,objectOrReference:_t,enclosingRef:_t,context:{store:f,query:O,policies:He,variables:R,varString:(0,xe.M)(R),...ci(O,this.config.fragments)}});let Vt;Bt.missing&&(Vt=new di(function zo(m){try{JSON.stringify(m,(f,O)=>{if("string"==typeof O)throw O;return O})}catch(f){return f}}(Bt.missing),Bt.missing,O,R));const _n=!Vt,{result:en}=Bt;return{result:_n||ee?0===Object.keys(en).length?null:en:null,complete:_n,missing:Vt}}isFresh(f,O,y,R){if(ge(R.store)&&this.knownResults.get(f)===y){const ee=this.executeSelectionSet.peek(y,O,R);if(ee&&f===ee.result)return!0}return!1}execSelectionSetImpl({selectionSet:f,objectOrReference:O,enclosingRef:y,context:R}){if(kt(O)&&!R.policies.rootTypenamesById[O.__ref]&&!R.store.has(O.__ref))return{result:{},missing:`Dangling reference to missing ${O.__ref} object`};const{variables:ee,policies:He,store:_t}=R,Bt=_t.getFieldValue(O,"__typename"),Vt=[];let _n;const en=new $r;function hn(Vr,qr){return Vr.missing&&(_n=en.merge(_n,{[qr]:Vr.missing})),Vr.result}"string"==typeof Bt&&!He.rootIdsByTypename[Bt]&&Vt.push({__typename:Bt});const Un=new Set(f.selections);Un.forEach(Vr=>{if((0,Oo.M)(Vr,ee))if((0,mo.d)(Vr)){let qr=He.readField({fieldName:Vr.name.value,field:Vr,variables:R.variables,from:O},R);const Ko=(0,Fo.u)(Vr);void 0===qr?Je.added(Vr)||(_n=en.merge(_n,{[Ko]:`Can't find field '${Vr.name.value}' on ${kt(O)?O.__ref+" object":"object "+JSON.stringify(O,null,2)}`})):(0,Zr.c)(qr)?qr.length>0&&(qr=hn(this.executeSubSelectedArray({field:Vr,array:qr,enclosingRef:y,context:R}),Ko)):Vr.selectionSet&&null!=qr&&(qr=hn(this.executeSelectionSet({selectionSet:Vr.selectionSet,objectOrReference:qr,enclosingRef:kt(qr)?qr:y,context:R}
1),Ko)),void 0!==qr&&Vt.push({[Ko]:qr})}else{const qr=(0,Ni.H)(Vr,R.lookupFragment);if(!qr&&Vr.kind===Tn.b.FRAGMENT_SPREAD)throw(0,Vn.vA)(104,Vr.name.value);qr&&He.fragmentMatches(qr,Bt)&&qr.selectionSet.selections.forEach(Un.add,Un)}});const Rr={result:Ps(Vt),missing:_n},Do=(0,vo.G)(Rr);return Do.result&&this.knownResults.set(Do.result,f),Do}execSubSelectedArrayImpl({field:f,array:O,enclosingRef:y,context:R}){let ee,He=new $r;function _t(Bt,Vt){return Bt.missing&&(ee=He.merge(ee,{[Vt]:Bt.missing})),Bt.result}return f.selectionSet&&(O=O.filter(R.store.canRead)),O=O.map((Bt,Vt)=>null===Bt?null:(0,Zr.c)(Bt)?_t(this.executeSubSelectedArray({field:f,array:Bt,enclosingRef:y,context:R}),Vt):f.selectionSet?_t(this.executeSelectionSet({selectionSet:f.selectionSet,objectOrReference:Bt,enclosingRef:kt(Bt)?Bt:y,context:R}),Vt):(tn.g&&function ri(m,f,O){if(!f.selectionSet){const y=new Set([O]);y.forEach(R=>{(0,Nr.U)(R)&&((0,Vn.V1)(!kt(R),105,function Eo(m,f){return kt(f)?m.get(f.__ref,"__typename"):f&&f.__typename}(m,R),f.name.value),Object.values(R).forEach(y.add,y))})}}(R.store,f,Bt),Bt)),{result:O,missing:ee}}}var es=n(13179);const{toString:ts}=Object.prototype;function oi(m){return Yo(m)}function Yo(m,f){switch(ts.call(m)){case"[object Array]":{if((f=f||new Map).has(m))return f.get(m);const O=m.slice(0);return f.set(m,O),O.forEach(function(y,R){O[R]=Yo(y,f)}),O}case"[object Object]":{if((f=f||new Map).has(m))return f.get(m);const O=Object.create(Object.getPrototypeOf(m));return f.set(m,O),Object.keys(m).forEach(y=>{O[y]=Yo(m[y],f)}),O}default:return m}}function ns(m,f,O){const y=`${f}${O}`;let R=m.flavors.get(y);return R||m.flavors.set(y,R=m.clientOnly===f&&m.deferred===O?m:{...m,clientOnly:f,deferred:O}),R}class Hi{cache;reader;fragments;constructor(f,O,y){this.cache=f,this.reader=O,this.fragments=y}writeToStore(f,{query:O,result:y,dataId:R,variables:ee,overwrite:He}){const _t=(0,es.V)(O),Bt=function No(){return new $r}();ee={...(0,ni.w)(_t),...ee};const Vt={store:f,written:{},merge:(en,hn)=>Bt.merge(en,hn),variables:ee,varString:(0,xe.M)(ee),...ci(O,this.fragments),overwrite:!!He,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map},_n=this.processSelectionSet({result:y||{},dataId:R,selectionSet:_t.selectionSet,mergeTree:{map:new Map},context:Vt});if(!kt(_n))throw(0,Vn.vA)(106,y);return Vt.incomingById.forEach(({storeObject:en,mergeTree:hn,fieldNodeSet:Un},Cr)=>{const Rr=to(Cr);if(hn&&hn.map.size){const Do=this.applyMerges(hn,Rr,en,Vt);if(kt(Do))return;en=Do}if(tn.g&&!Vt.overwrite){const Do={};Un.forEach(Ko=>{Ko.selectionSet&&(Do[Ko.name.value]=!0)});const Vr=Ko=>!0===Do[Ur(Ko)],qr=Ko=>{const Ku=hn&&hn.map.get(Ko);return!!(Ku&&Ku.info&&Ku.info.merge)};Object.keys(en).forEach(Ko=>{Vr(Ko)&&!qr(Ko)&&function rs(m,f,O,y){const R=en=>{const hn=y.getFieldValue(en,O);return"object"==typeof hn&&hn},ee=R(m);if(!ee)return;const He=R(f);if(!He||kt(ee)||(0,eo.L)(ee,He)||Object.keys(ee).every(en=>void 0!==y.getFieldValue(He,en)))return;const _t=y.getFieldValue(m,"__typename")||y.getFieldValue(f,"__typename"),Bt=Ur(O),Vt=`${_t}.${Bt}`;if(ms.has(Vt))return;ms.add(Vt);const _n=[];!(0,Zr.c)(ee)&&!(0,Zr.c)(He)&&[ee,He].forEach(en=>{const hn=y.getFieldValue(en,"__typename");"string"==typeof hn&&!_n.includes(hn)&&_n.push(hn)}),tn.g&&Vn.V1.warn(109,Bt,_t,_n.length?"either ensure all objects of type "+_n.join(" and ")+" have an ID or a custom merge function, or ":"",Vt,{...ee},{...He})}(Rr,en,Ko,Vt.store)})}f.merge(Cr,en)}),f.retain(_n.__ref),_n}processSelectionSet({dataId:f,result:O,selectionSet:y,context:R,mergeTree:ee}){const{policies:He}=this.cache;let _t={};const Bt=f&&He.rootTypenamesById[f]||ii(O,y,R.fragmentMap)||f&&R.store.get(f,"__typename");"string"==typeof Bt&&(_t.__typename=Bt);const Vt=(...en)=>{const hn=Xo(en,_t,R.variables);if(kt(hn.from)){const Un=R.incomingById.get(hn.from.__ref);if(Un){const Cr=He.readField({...hn,from:Un.storeObject},R);if(void 0!==Cr)return Cr}}return He.readField(hn,R)},_n=new Set;this.flattenFields(y,O,R,Bt).forEach((en,hn)=>{const Un=(0,Fo.u)(hn),Cr=O[Un];if(_n.add(hn),void 0!==Cr){const Rr=He.getStoreFieldName({typename:Bt,fieldName:hn.name.value,field:hn,variables:en.variables}),Do=$i(ee,Rr);let qr,Vr=this.processFieldValue(Cr,hn,hn.selectionSet?ns(en,!1,!1):en,Do);hn.selectionSet&&(kt(Vr)||Lo(Vr))&&(qr=Vt("__typename",Vr));const Ko=He.getMergeFunction(Bt,hn.name.value,qr);Ko?Do.info={field:hn,typename:Bt,merge:Ko}:Vo(ee,Rr),_t=en.merge(_t,{[Rr]:Vr})}else tn.g&&!en.clientOnly&&!en.deferred&&!Je.added(hn)&&!He.getReadFunction(Bt,hn.name.value)&&Vn.V1.error(107,(0,Fo.u)(hn),O)});try{const[en,hn]=He.identify(O,{typename:Bt,selectionSet:y,fragmentMap:R.fragmentMap,storeObject:_t,readField:Vt});f=f||en,hn&&(_t=R.merge(_t,hn))}catch(en){if(!f)throw en}if("string"==typeof f){const en=to(f),hn=R.written[f]||(R.written[f]=[]);if(hn.indexOf(y)>=0||(hn.push(y),this.reader&&this.reader.isFresh(O,en,y,R)))return en;const Un=R.incomingById.get(f);return Un?(Un.storeObject=R.merge(Un.storeObject,_t),Un.mergeTree=Mi(Un.mergeTree,ee),_n.forEac
1h(Cr=>Un.fieldNodeSet.add(Cr))):R.incomingById.set(f,{storeObject:_t,mergeTree:hi(ee)?void 0:ee,fieldNodeSet:_n}),en}return _t}processFieldValue(f,O,y,R){return O.selectionSet&&null!==f?(0,Zr.c)(f)?f.map((ee,He)=>{const _t=this.processFieldValue(ee,O,y,$i(R,He));return Vo(R,He),_t}):this.processSelectionSet({result:f,selectionSet:O.selectionSet,context:y,mergeTree:R}):tn.g?oi(f):f}flattenFields(f,O,y,R=ii(O,f,y.fragmentMap)){const ee=new Map,{policies:He}=this.cache,_t=new co.b(!1);return function Bt(Vt,_n){const en=_t.lookup(Vt,_n.clientOnly,_n.deferred);en.visited||(en.visited=!0,Vt.selections.forEach(hn=>{if(!(0,Oo.M)(hn,y.variables))return;let{clientOnly:Un,deferred:Cr}=_n;if(!(Un&&Cr)&&(0,Cn.E)(hn.directives)&&hn.directives.forEach(Rr=>{const Do=Rr.name.value;if("client"===Do&&(Un=!0),"defer"===Do){const Vr=Pt(Rr,y.variables);(!Vr||!1!==Vr.if)&&(Cr=!0)}}),(0,mo.d)(hn)){const Rr=ee.get(hn);Rr&&(Un=Un&&Rr.clientOnly,Cr=Cr&&Rr.deferred),ee.set(hn,ns(y,Un,Cr))}else{const Rr=(0,Ni.H)(hn,y.lookupFragment);if(!Rr&&hn.kind===Tn.b.FRAGMENT_SPREAD)throw(0,Vn.vA)(108,hn.name.value);Rr&&He.fragmentMatches(Rr,R,O,y.variables)&&Bt(Rr.selectionSet,ns(y,Un,Cr))}}))}(f,y),ee}applyMerges(f,O,y,R,ee){if(f.map.size&&!kt(y)){const He=(0,Zr.c)(y)||!kt(O)&&!Lo(O)?void 0:O,_t=y;let Bt;He&&!ee&&(ee=[kt(He)?He.__ref:He]);const Vt=(_n,en)=>(0,Zr.c)(_n)?"number"==typeof en?_n[en]:void 0:R.store.getFieldValue(_n,String(en));f.map.forEach((_n,en)=>{const hn=Vt(He,en),Un=Vt(_t,en);if(void 0===Un)return;ee&&ee.push(en);const Cr=this.applyMerges(_n,hn,Un,R,ee);Cr!==Un&&(Bt=Bt||new Map,Bt.set(en,Cr)),ee&&(0,Vn.V1)(ee.pop()===en)}),Bt&&(y=(0,Zr.c)(_t)?_t.slice(0):{..._t},Bt.forEach((_n,en)=>{y[en]=_n}))}return f.info?this.cache.policies.runMergeFunction(O,y,f.info,R,ee&&R.store.getStorage(...ee)):y}}const Oi=[];function $i({map:m},f){return m.has(f)||m.set(f,Oi.pop()||{map:new Map}),m.get(f)}function Mi(m,f){if(m===f||!f||hi(f))return m;if(!m||hi(m))return f;const O=m.info&&f.info?{...m.info,...f.info}:m.info||f.info,y=m.map.size&&f.map.size,ee={info:O,map:y?new Map:m.map.size?m.map:f.map};if(y){const He=new Set(f.map.keys());m.map.forEach((_t,Bt)=>{ee.map.set(Bt,Mi(_t,f.map.get(Bt))),He.delete(Bt)}),He.forEach(_t=>{ee.map.set(_t,Mi(f.map.get(_t),m.map.get(_t)))})}return ee}function hi(m){return!m||!(m.info||m.map.size)}function Vo({map:m},f){const O=m.get(f);O&&hi(O)&&(Oi.push(O),m.delete(f))}const ms=new Set;function ii(m,f,O){let y;for(const R of f.selections)if((0,mo.d)(R)){if("__typename"===R.name.value)return m[(0,Fo.u)(R)]}else y?y.push(R):y=[R];if("string"==typeof m.__typename)return m.__typename;if(y)for(const R of y){const ee=ii(m,(0,Ni.H)(R,O).selectionSet,O);if("string"==typeof ee)return ee}}class os extends kr{data;optimisticData;config;watches=new Set;storeReader;storeWriter;addTypenameTransform=new mr.c(Je);maybeBroadcastWatch;assumeImmutableResults=!0;policies;makeVar=er;constructor(f={}){super(),this.config=function Mo(m){return(0,Go.o)(ai,m)}(f),this.policies=new jo({cache:this,dataIdFromObject:this.config.dataIdFromObject,possibleTypes:this.config.possibleTypes,typePolicies:this.config.typePolicies}),this.init()}init(){const f=this.data=new Se.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=f.stump,this.resetResultCache()}resetResultCache(){const{fragments:f}=this.config;this.addTypenameTransform.resetCache(),f?.resetCaches(),this.storeWriter=new Hi(this,this.storeReader=new Di({cache:this,fragments:f}),f),this.maybeBroadcastWatch=(0,On.LV)((O,y)=>this.broadcastWatch(O,y),{max:Ee.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:O=>{const y=O.optimistic?this.optimisticData:this.data;if(ge(y)){const{optimistic:R,id:ee,variables:He}=O;return y.makeCacheKey(O.query,O.callback,(0,xe.M)({optimistic:R,id:ee,variables:He}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(O=>O.resetCaching())}restore(f){return this.init(),f&&this.data.replace(f),this}extract(f=!1){return(f?this.optimisticData:this.data).extract()}read(f){const{returnPartialData:O=!1}=f;return this.storeReader.diffQueryAgainstStore({...f,store:f.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:O}).result}write(f){try{return++this.txCount,this.storeWriter.writeToStore(this.data,f)}finally{! --this.txCount&&!1!==f.broadcast&&this.broadcastWatches()}}
1modify(f){if(Kr.call(f,"id")&&!f.id)return!1;const O=f.optimistic?this.optimisticData:this.data;try{return++this.txCount,O.modify(f.id||"ROOT_QUERY",f.fields,!1)}finally{! --this.txCount&&!1!==f.broadcast&&this.broadcastWatches()}}diff(f){return this.storeReader.diffQueryAgainstStore({...f,store:f.optimistic?this.optimisticData:this.data,rootId:f.id||"ROOT_QUERY",config:this.config})}watch(f){return this.watches.size||function Sn(m){Me(m).vars.forEach(f=>f.attachCache(m))}(this),this.watches.add(f),f.immediate&&this.maybeBroadcastWatch(f),()=>{this.watches.delete(f)&&!this.watches.size&<(this),this.maybeBroadcastWatch.forget(f)}}gc(f){xe.M.reset(),ft.y.reset();const O=this.optimisticData.gc();return f&&!this.txCount&&f.resetResultCache&&this.resetResultCache(),O}retain(f,O){return(O?this.optimisticData:this.data).retain(f)}release(f,O){return(O?this.optimisticData:this.data).release(f)}identify(f){if(kt(f))return f.__ref;try{return this.policies.identify(f)[0]}catch(O){tn.g&&Vn.V1.warn(O)}}evict(f){if(!f.id){if(Kr.call(f,"id"))return!1;f={...f,id:"ROOT_QUERY"}}try{return++this.txCount,this.optimisticData.evict(f,this.data)}finally{! --this.txCount&&!1!==f.broadcast&&this.broadcastWatches()}}reset(f){return this.init(),xe.M.reset(),f&&f.discardWatches?(this.watches.forEach(O=>this.maybeBroadcastWatch.forget(O)),this.watches.clear(),lt(this)):this.broadcastWatches(),Promise.resolve()}removeOptimistic(f){const O=this.optimisticData.removeLayer(f);O!==this.optimisticData&&(this.optimisticData=O,this.broadcastWatches())}txCount=0;batch(f){const{update:O,optimistic:y=!0,removeOptimistic:R,onWatchUpdated:ee}=f;let He;const _t=Vt=>{const{data:_n,optimisticData:en}=this;++this.txCount,Vt&&(this.data=this.optimisticData=Vt);try{return He=O(this)}finally{--this.txCount,this.data=_n,this.optimisticData=en}},Bt=new Set;return ee&&!this.txCount&&this.broadcastWatches({...f,onWatchUpdated:Vt=>(Bt.add(Vt),!1)}),"string"==typeof y?this.optimisticData=this.optimisticData.addLayer(y,_t):!1===y?_t(this.data):_t(),"string"==typeof R&&(this.optimisticData=this.optimisticData.removeLayer(R)),ee&&Bt.size?(this.broadcastWatches({...f,onWatchUpdated(Vt,_n){const en=ee.call(this,Vt,_n);return!1!==en&&Bt.delete(Vt),en}}),Bt.size&&Bt.forEach(Vt=>this.maybeBroadcastWatch.dirty(Vt))):this.broadcastWatches(f),He}performTransaction(f,O){return this.batch({update:f,optimistic:O||null!==O})}transformDocument(f){return this.addTypenameTransform.transformDocument(this.addFragmentsToDocument(f))}fragmentMatches(f,O){return this.policies.fragmentMatches(f,O)}lookupFragment(f){return this.config.fragments?.lookup(f)||null}broadcastWatches(f){this.txCount||this.watches.forEach(O=>this.maybeBroadcastWatch(O,f))}addFragmentsToDocument(f){const{fragments:O}=this.config;return O?O.transform(f):f}broadcastWatch(f,O){const{lastDiff:y}=f,R=this.diff(f);O&&(f.optimistic&&"string"==typeof O.optimistic&&(R.fromOptimisticTransaction=!0),O.onWatchUpdated&&!1===O.onWatchUpdated.call(this,f,R,y))||(!y||!(0,eo.L)(y.result,R.result))&&f.callback(f.lastDiff=R,y)}}tn.g&&(os.prototype.getMemoryInternals=Nn.cM);var jr=n(78440);class Ki extends os{constructor(){super(...arguments),this.queryVarCache={}}extract(f=!1){const O=Object.keys(this.queryVarCache).length?{VAR_CACHE:this.queryVarCache}:{};return{...super.extract(f),...O}}restore(f){const O=f?.VAR_CACHE;return O&&(this.queryVarCache=O,delete f.VAR_CACHE),super.restore(f)}reset(){return this.queryVarCache={},super.reset()}write(f){const{query:O,variables:y}=f;return(0,jr.UB)(O)&&this.setQueryVars((0,jr.CL)(O),y),super.write(f)}readQuery(f,O=!1){return f.variables||(f.variables=this.queryVarCache[(0,jr.CL)(f.query)]),super.readQuery(f,O)}writeQuery(f){const O=(0,jr.CL)(f.query);return f.variables?this.queryVarCache[O]||this.setQueryVars(O,f.variables):f.variables=this.queryVarCache[O],super.writeQuery(f)}setQueryVars(f,O){O&&(f?this.queryVarCache[f]=O:console.error("Cannot add variables to QueryVar cache as query doesn't have an OperationName!"))}}const Ti={typePolicies:{Query:{fields:{accounts:(0,jr.ti)(),authorizationContacts:(0,jr.t
1i)(),billingAddresses:(0,jr.Ov)(["customerId"]),contacts:(0,jr.Ov)(),customerCareNotes:(0,jr.ti)(["orderBy"]),fleetQuotations:(0,jr.ti)(["filter"]),loggedInContext:{merge:!0},orders:(0,jr.ti)(["filter"]),shippingAddresses:(0,jr.Ov)(["customerId"]),shoppingLists:(0,jr.ti)(["filter","orderBy"]),eVouchers:(0,jr.ti)(["filter","orderBy"]),eVoucherCampaignRestrictedAccountsConfiguration:(0,jr.ti)(["filter"],"originId"),eVoucherAccountRestrictedAccountsConfiguration:(0,jr.ti)(["filter"],"originId"),standardQuotations:(0,jr.ti)(["filter"]),storeConfiguration:{merge:!0},tools:(0,jr.ti)(["filter","orderBy"]),repairNotifications:(0,jr.ti)(["filter","orderBy"]),softwareSubscription:{merge:!0},consumptionProducts:(0,jr.ti)(["filter"]),searchEditorials:(0,jr.ti)(["filter","pagination"]),searchTechnicalDocuments:{keyArgs:["filter","pagination"],merge:(m,f)=>f},searchSoftwareFaq:(0,jr.ti)(["filter"]),searchVideos:(0,jr.ti)(["filter"]),consumablesSubscriptionProductUsage:(0,jr.ti)(["filter","orderBy"]),consumablesSubscriptionMonthlyUsage:(0,jr.ti)(["filter","orderBy"]),searchTechnicalDocumentRelatedProducts:(0,jr.ti)(["id"]),searchProducts:{keyArgs:["filter","orderBy","pagination"],merge:(m,f)=>f}}},Account:{keyFields:["originId"]},Address:{merge:!0,fields:{formatted:{merge:!1}}},Discount:{keyFields:!1},FleetQuotation:{keyFields:["id"]},HiltiCenter:{keyFields:!1},FormFieldValue:{keyFields:!1},Order:{fields:{deliveryInformation:{merge:!0}}},ProductTechnicalAttribute:{keyFields:!1},ProductConfigurationFilter:{keyFields:!1},ShoppingList:{fields:{items:(0,jr.ti)()}},Tool:{keyFields:!1},ToolSalesOrderDetails:{keyFields:!1},SalesUnit:{keyFields:!1},SearchFilter:{keyFields:!1},SearchFilterValue:{keyFields:["id","count","isSelected"]},SearchProduct:{keyFields:["id","rankingLabels"]},StandardQuotations:{keyFields:["id"]},StoreConfiguration:{fields:{common:{merge:!0}}},SoftwareSubscription:{fields:{users:{merge:(m,f)=>f}}}}};var fi=n(57604);class is extends It.C{constructor(){super(...arguments),this.oauth=(0,c.WQX)(p.z),this.platform=(0,c.WQX)(Wt.f),this.tokenService=(0,c.WQX)(fi.B),this.userContext=(0,c.WQX)(cn.i),this.pendingOperations=[],this.pendingSubscriptions=[]}request(f,O){return this.platform.isBrowser&&this.userContext.isLoggedIn?new gn.c(y=>{const R=()=>{this.pendingOperations.push({obs:y,subscribe:()=>O(f).subscribe(y)}),this.refreshAuth()};let ee;return this.tokenService.hasBearerToken?ee=O(f).subscribe({next:y.next.bind(y),error:He=>{401!==He.status?y.error(He):R()},complete:y.complete.bind(y)}):R(),()=>{ee?.unsubscribe(),this.pendingSubscriptions=this.pendingSubscriptions.filter(He=>(He.closed&&He.unsubscribe(),!He.closed))}}):O(f)}refreshAuth(){this.refreshSubscription||=this.oauth.refreshAuthToken$().pipe((0,Yn.j)(()=>{this.pendingOperations=[],this.refreshSubscription=null})).subscribe({next:f=>{this.pendingSubscriptions=this.pendingOperations.map(({subscribe:O})=>
1O())},error:f=>{this.pendingOperations.forEach(({obs:O})=>O.error(f))}})}}var Ii=n(29491),Pi=n(86987);class Ai extends It.C{constructor(f){super((O,y)=>new gn.c(R=>{let ee,He,_t;try{ee=y(O).subscribe({next:Bt=>{const Vt=O.client.queryManager.incrementalHandler,_n=Vt.isIncrementalResult(Bt)?Vt.extractErrors(Bt):Bt.errors;_n?_t=f({error:new Ii.K(Bt,_n),result:Bt,operation:O,forward:y}):(0,Pi.uR)(Bt)&&(_t=f({error:Bt.extensions[Pi.K$],result:Bt,operation:O,forward:y})),He=_t?.subscribe(R),He||R.next(Bt)},error:Bt=>{_t=f({operation:O,error:(0,Pi.$b)(Bt),forward:y}),He=_t?.subscribe(R),He||R.error(Bt)},complete:()=>{_t||R.complete()}})}catch(Bt){f({error:(0,Pi.$b)(Bt),operation:O,forward:y}),R.error(Bt)}return()=>{ee&&ee.unsubscribe(),He&&He.unsubscribe()}}))}}const Gi="[GraphQL error]:";function ss(){const{isBrowser:m}=(0,c.WQX)(Wt.f);return new Ai(({error:f})=>{const O=Ii.K.is(f)&&f.errors,y=!O&&f,R=(O||[]).map(ee=>(function As(m,f){f?Te.V.error(Gi,function ur({extensions:{id:m}={},message:f}){return f+(m?` (id: ${m})`:"")}(m)):Te.V.error({...m,message:`${Gi} ${m.message}`})}(ee,m),f.message));m&&function as(m){const f=m.find(O=>(0,jr.AC)(O));f&&alert(`${Gi}\nEndpoint waking up. Please reload the page.\n\n${f}`)}(y?[JSON.stringify(y.error)]:R)})}class Qi extends It.C{constructor(f){super((O,y)=>{const{...R}=O;return Object.defineProperty(R,"client",{enumerable:!1,value:O.client}),new gn.c(ee=>{let He=!1;return Promise.resolve(R).then(_t=>f(O.getContext(),_t)).then(O.setContext).then(()=>{He||y(O).subscribe(ee)}).catch(ee.error.bind(ee)),()=>{He=!0}})})}}var pi=n(79632);function ws({authToken:m},f,O){const y={...O instanceof je.Lr?O.keys().reduce((R,ee)=>({...R,[ee]:O.get(ee)}),{}):O};return m&&(y[bt.I]=m),f&&(y[or.i5]=function bs(m,f){if(!m)return f;const O=m.split(",").map(y=>y.trim()).filter(Boolean);return O.includes(f)||O.push(f),O.join(",")}(y[or.i5],pi.Sk)),y}function Pa(){const m=(0,c.WQX)(fi.B),f=(0,c.WQX)(pi.as).hasProductRestrictions;return new Qi(({headers:O})=>({headers:ws(m,f,O)}))}var ls=n(64752);function Bs(){const m=(0,c.WQX)(fi.B).ready$;let f=!1;return new It.C((O,y)=>f?y(O):m.pipe((0,mt.M)(()=>f=!0),(0,ls.Z)(()=>y(O))))}var Us=n(18417),_s=n(82252);function Fs(){const m=(0,c.WQX)(An.I),f=["ftInclude","ftRemove"];return new mr.c(O=>(0,Us.d)(f,O)?(0,_s.i)([{test:y=>f.includes(y.name.value),remove:!1},{test:y=>{const{name:{value:R},arguments:ee}=y;if(f.includes(R)){const He=(ee.find(_t=>"if"===_t.name.value)?.value).value;return m.getToggleById(He)===("ftRemove"===R)}return!1},remove:!0}],O):O,{getCacheKey:O=>[O.loc]})}const vs=(0,o.zw6)("apollo.state");function k({gqlEndpointUri:m}){const f=(0,c.WQX)(Lr).create({uri:m,withCredentials:!0}),O=[ss(),Bs(),new is,Pa(),f].filter(Boolean);return It.C.from(O)}function Q(m){const f=new Ki(Ti),O=(0,c.WQX)(o.pJN);if(m){const y=O.get(vs,null);y&&f.restore(y)}else O.onSerialize(vs,()=>f.extract());return f}var Ne=n(7675),et=n(81950);const At=(0,o.phd)(()=>(0,c.WQX)(et.P).getConfig$().pipe((0,vt.s)(1)));var Jt=n(84332);const Gr=(0,o.phd)(function kn(){const{logLevel:m,isProduction:f}=(0,c.WQX)(Et.v),O=(0,c.WQX)(Wt.f).isServer?Wt.Y.SERVER:Wt.Y.BROWSER;Te.V.init({isProduction:f,platformType:O,logLevel:m})});var _o=n(86514);const wi=[cr,(0,o.phd)(()=>{(0,c.WQX)(vr.M)})];var zi=n(1140),Bi=n(66376);var xr=n(99016);const Oc={loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",multiSeparator:"+",allowMultiLoading:!1,fetch:typeof fetch>"u"?void 0:fetch,parse:JSON.parse,stringify:JSON.stringify,requestOptions:{}};class Ws extends Error{retry=null;constructor(f,O=!1){super(f),this.retry=O}}let Es=(()=>class m{constructor(O,y){this.init(O,y)}type="backend";static type="backend";init(O,y={}){this.services=O,this.options={...Oc,...this.options,...y}}getLoadPath(O,y){return((m,...f)=>"function"==typeof m?m(...f):m)(this.options.loadPath,O,y)}read(O,y,R){const ee=this.getLoadPath(O,y),He=this.services.interpolator.interpolate(ee,{lng:O,ns:y}
1);this.loadUrl(He,R)}readMulti(O,y,R){const ee=this.getLoadPath(O,y),{multiSeparator:He}=this.options,_t=this.services.interpolator.interpolate(ee,{lng:O.join(He),ns:y.join(He)});this.loadUrl(_t,R)}loadUrl(O,y){const{fetch:R,requestOptions:ee,parse:He}=this.options;R(O,ee).then(_t=>{const{ok:Bt,status:Vt}=_t;if(!Bt)throw new Ws(`failed loading ${O}`,Vt>=500&&Vt<600);return _t.text()},()=>{throw new Ws(`failed loading ${O}`)}).then(_t=>{try{return y(null,He(_t,O))}catch{throw new Ws(`failed parsing ${O} to json`,!1)}}).catch(_t=>{_t instanceof Ws&&y(_t.message,_t.retry)})}create(O,y,R,ee){const He={[R]:ee||""};(m=>Array.isArray(m)?m:[m])(O).forEach(_t=>{const{addPath:Bt,requestOptions:Vt,fetch:_n,stringify:en}=this.options,hn=this.services.interpolator.interpolate(Bt,{lng:_t,ns:y});try{_n(hn,{method:"POST",body:en(He),...Vt})}catch(Un){console.error(Un)}})}})();var ba=n(40420),ks=n(70559);const js="debugKeysOutput",Rs={type:"postProcessor",name:js,process:(m,f,O,y)=>{const{options:R}=y,ee=f[f.length-1],He=ee.split(R.keySeparator),_t=y.resourceStore.data[R.fallbackLng||R.lng];let Bt="";for(const Vt in _t)if((0,Yt.YP)(_t,Vt)&&He.reduce((en,hn)=>en&&hn&&en[hn],_t[Vt])){Bt=Vt;break}return`${Bt}${R.nsSeparator}${ee}`}};function Ra(m,{nativeWindow:f},O){let y=!1;if(m){const R="showMessageCode",ee=new URL(f.location.href).searchParams;ee.has(R)&&("true"===ee.get(R)?O.setItem(R,!0,wr.eL.SESSION):O.removeItem(R,wr.eL.SESSION)),y=O.getItem(R,wr.eL.SESSION)}return y&&[js]}const Vs=new c.nKC("apps.website.i18nextBackend",{factory:()=>Es});function ra(){const m=(0,c.WQX)(xr.WY),{nativeWindow:f}=(0,c.WQX)(jt.$);f.$localize=([O])=>{const y=(0,ba.L9)(O?.replace(/(:@@)([^:]*)(.*)/,"$2"));return m.t(y)}}function Hs(){const m=(0,c.WQX)(xr.WY),f=(0,c.WQX)(Vs),O=(0,c.WQX)(ks.p),{languageTagLong:y,translationPath:R,resourcePath:ee,releaseVersion:He,isProduction:_t}=(0,c.WQX)(Et.v),Bt=(0,c.WQX)(jt.$),{isBrowser:Vt}=(0,c.WQX)(Wt.f),_n=(0,c.WQX)(wr.n$),en=_t?null:"en",hn=_t?[y]:[y,en],Un=R||`${ee}/assets/i18n`,Cr=Vt&&R?`?${He}`:"";return m.use(Rs).use(f).init({supportedLngs:hn,lng:y,fallbackLng:en,ns:O,defaultNS:O,fallbackNS:O,keySeparator:".",nsSeparator:":",postProcess:Ra(Vt,Bt,_n),returnEmptyString:!1,appendNamespaceToMissingKey:!0,interpolation:{skipOnVariables:!1},load:"currentOnly",initAsync:Vt,backend:{loadPath:(Rr,Do)=>`${Un}/${Do}.${Rr.replace("-","_")}.json${Cr}`}})}const he={provide:n(64679).H,deps:[xr.WY],useFactory:m=>({ariaLabel:m.t("breadcrumb.ariaLabel")})},ot={provide:n(66055).r,deps:[xr.WY],useFactory:m=>({addToCartSuccessTitle:m.t("cart.addToCart.message.success.title"),goToCartLabel:m.t("common.label.button.goToCart"),addToCartSuccessMessage:(f,O)=>m.t("cart.addToCart.message.success.copy",{count:f,name:O,context:O?"withName":null}),roundUpMessage:{headline:m.t("cart.addToCart.message.roundUp.title"),copy:(f,O)=>m.t("cart.addToCart.message.roundUp.copy",{count:f,context:f&&O?null:"generic"})},genericError:{headline:m.t("cart.addToCart.message.genericError.title"),copy:m.t("cart.addToCart.message.genericError.copy")}})};var Nt=n(4199),$t=n(11640),pn=n(1733);const Ln=new c.nKC("util-core.commonPageTitle");let pr=(()=>{var m;class f{constructor(){this.routerHelper=(0,c.WQX)(pn.T),this.titleService=(0,c.WQX)(Nt.hE),this.translate=(0,c.WQX)(ks.G,{optional:!0}),this.appTitle=(0,c.WQX)(Ln,{optional:!0}),this.translate&&this.subscribeToRouterEvents()}subscribeToRouterEvents(){this.routerHelper.activatedRoute$.pipe((0,ls.Z)(y=>(0,$t.z)([y.data,y.params])),(0,lr.pQ)()).subscribe(([y,R])=>this.setPageTitle(y,R))}setPageTitle({pageTitle:y,i18nextNamespaces:R},ee){if(y||={key:this.appTitle},"value"in y)return void this.titleService.setTitle(this.buildPageTitle(y.value));const{key:He,ns:_t=R,pattern:Bt,paramKey:Vt}=y;let _n=this.appTitle;He!==this.appTitle&&(_n=this.translate(He,{ns:_t}),Bt&&(_n=this.translate(Bt,{ns:_t,title:_n,[Vt]:ee[Vt]})),_n=this.buildPageTitle(_n)),this.titleService.setTitle(_n)}buildPageTitle(y){return y?`${y} - ${this.appTitle}`:this.appTitle}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return m(),f})();const Qr={provide:Ln,deps:[xr.WY],useFactory:m=>m.t("common.label.pageTitle")},so={provide:new c.nKC("shared.util-core.ConsentManagementTranslations"),deps:[xr.WY],useFactory:m=>m.events.initialized.pipe((0,Be.T)(()=>({privacyPolicyUrl:m.t("common.urls.didomiPrivacyPolicy")})))};var bo=n(62314);let xo=(()=>{var m;class f{constructor(){this.weekdayShort=[],this.monthShort=[],this.monthFull=[],this.i18NextService=(0,c.WQX)(xr.WY),this.weekdayShort=Object.values(this.i18NextService.t("date.weekdayShort",{returnObjects:!0})),this.monthFull=Object.values(this.i18NextService.t("date.monthFull",{returnObjects:!0})),this.monthShort=Object.values(this.i18NextService.t("date.monthShort",{returnObjects:!0})),this.ariaCalendar=this.i18NextService.t("common.label.button.openCalendar"),this.ariaClear=this.i18NextService.t("common.label.button.clear")}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac}))}return m(),f})();const $o={provide:bo.n,useClass:xo},gi={provide:n(3573).j,deps:[xr.WY],useFactory:m=>({deleteButtonLabel:m.t("common.label.documentUpload.delete"),dictFileTooBig:m.t("common.label.documentUpload.messages.fileTooBig",{interpolation:{ski
1pOnVariables:!0}}),dictInvalidFileType:m.t("common.label.documentUpload.messages.invalidFileType"),noFileSelectedLabel:m.t("common.label.documentUpload.noFile"),uploadButtonLabel:m.t("common.label.documentUpload.upload"),uploadSystemErrorMessage:m.t("common.label.documentUpload.messages.uploadSystemError"),dragAndDropLabel:m.t("common.label.documentUpload.dragAndDrop.label"),dragAndDropHint:m.t("common.label.documentUpload.dragAndDrop.hint")})};var ds=n(1647);const mi="common.label.documentUpload",Sa={provide:ds.J,deps:[xr.WY],useFactory:m=>({deleteButtonLabel:m.t(`${mi}.delete`),dictFileTooBig:m.t(`${mi}.messages.fileTooBig`,{interpolation:{skipOnVariables:!0}}),dictInvalidFileType:m.t(`${mi}.messages.invalidFileType`),noFileSelectedLabel:m.t(`${mi}.noFile`),uploadButtonLabel:m.t(`${mi}.upload`),dragAndDropLabel:m.t(`${mi}.dragAndDrop.label`),dragAndDropHint:m.t(`${mi}.dragAndDrop.hint`)})},La={provide:n(28437).H,deps:[xr.WY],useFactory:m=>({actions:{cancel:m.t("common.label.button.cancel"),confirm:m.t("common.label.button.proceed")}})},Na={provide:n(82837).i,deps:[xr.WY],useFactory:m=>({ultimate:m.t("common.label.performance.ultimate"),premium:m.t("common.label.performance.premium"),standard:m.t("common.label.performance.standard")})},$s={provide:n(9685).n,deps:[xr.WY],useFactory:m=>({googlePlay:m.t("mobileAppDownload.ariaLabel.googlePlay"),appStore:m.t("mobileAppDownload.ariaLabel.appStore")})};var xa=n(31640);const Tc="common.label.button.close",Fl={provide:xa.R,deps:[xr.WY],useFactory:m=>({header:{close:m.t(Tc)},defaultSmartBar:{back:m.t(Tc)}})},kl={provide:n(53310).N,deps:[xr.WY],useFactory:m=>({currentOptionDescriptionHidden:m.t("common.label.form.currentOptionDescriptionHidden"),showMoreOptions:m.t("common.label.form.showMoreOptions")})},Ic={provide:n(40601).W,deps:[xr.WY],useFactory:m=>({of:m.t("common.label.of"),ariaLabelGoToNextPage:m.t("pagination.ariaLabelGoToNextPage"),ariaLabelGoToPreviousPage:m.t("pagination.ariaLabelGoToPreviousPage"),ariaLabelGoToPage:f=>m.t("pagination.ariaLabelGoToPage",{page:f})})},dd={provide:n(52861).U,deps:[xr.WY],useFactory:m=>({ariaLabel:m.t("preloader.ariaLabel")})},Hl={provide:n(925).e,deps:[xr.WY],useFactory:m=>({ariaLabel:m.t("ribbon.ariaLabel"),backButtonLabel:m.t("common.label.button.back")})};var wa=n(42453);let ia=(()=>{var m;class f{constructor(){this.i18nNamespaceProp="i18nextNamespaces",this.rootBreadCrumbItem={title:"home",href:(0,c.WQX)(wa.C)},this.i18NextService=(0,c.WQX)(xr.WY)}translate(y,R){return y.map(ee=>{const _t=`${ee.title.includes(".")?"":"breadcrumb."}${ee.title}`,Bt=R?.find(Vt=>this.i18NextService.exists(_t,{ns:Vt}));return{...ee,title:this.i18NextService.t(_t,{...ee.routeParams,ns:Bt})}})}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac}))}return m(),f})();const $l={provide:Jt.v3,useClass:ia},Ba={provide:n(33757).m,deps:[xr.WY],useFactory:m=>({ariaLabel:m.t("smartbar.ariaLabel")})};var Ac=n(64465);let F=(()=>{var m;class f{constructor(){this.i18NextService=(0,c.WQX)(xr.WY)}get(y,R,ee,He=null){const _t={context:R,defaultValue:null,ns:He,...ee};return this.i18NextService.t(`validation.${y}`,_t)}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac}))}return m(),f})();const Ge=[he,ot,Qr,so,$o,gi,Sa,La,Na,Fl,kl,Ic,dd,Hl,$l,Ba,{provide:Ac.D8,useClass:F},$s],Ft=[function oa(m){return[(0,xr.zL)(),(0,o.phd)(Hs),(0,o.phd)(ra),{provide:ks.p,useValue:m},{provide:o.xe9,deps:[Et.v],useFactory:f=>f.languageTag},{provide:ks.G,deps:[xr.WY],useFactory:f=>f.t.bind(f)}]}("website"),Ge];var qt=function(m){return m.BASE="punchout",m}(qt||{});const Gn={provide:wa.C,useFactory:()=>{const m=(0,c.WQX)(pi.as).isActiveSession?`/${qt.BASE}`:"/";return(0,c.WQX)(Bi.of).addLanguagePrefix(m)}};var Xr=n(45873),ho=n(69599),yo=n(30595),Io=n(15954),Ui=n(93176),fd=n(64106),Hf=n(94234),Kl=n(76366),pd=n(75588),$f=n(90038),gd=n(58481),sa=n(50656),aa=function(m){return m.BASE="myaccount-contract",m}(aa||{}),Gl=n(91671),bc=n(75140);const Ql=[["","content",ho.G.BASE,ho.G.BASE_CATEGORY_PAGE,ho.G.STORAGE_CONFIGURATOR,yo.w.BASE,yo.w.SPECIAL_PRODUCTS,Io.y.BASE,Ui._.BASE,"data-subject-right-request",...Object.values(fd.U)]],Rc=[[Hf.s.BASE,Kl.y.BASE,Kl.y.LEGACY_COMPANY_LISTS,pd.x.BASE,$f.Q.BASE,gd.T.BASE,sa.a.BASE,aa.BASE,Gl.h.BASE]];var hs=n(73606),Kf=n(65552),Sc=n(94908),_d=n(61202),zl=n(6790);let Ks=(()=>{var m;class f{constructor(){this.redirectService=(0,c.WQX)(ln.Q5),this.router=(0,c.WQX)(tt.Ix),this.navError$=this.getNavigationError$(),this.addRouterErrorHandler(),this.preventScrollTopAfterHydration()}handleChunkLoadError(y){if(y.error instanceof Error&&"ChunkLoadError"===y.error.name&&this.redirectService.redirectTo(y.url,!0,!0))return this.router.dispose(),!0}addRouterErrorHandler(){this.navError$.subscribe(y=>this.handleChunkLoadError(y))}preventScrollTopAfterHydration(){if((0,c.WQX)(Wt.f).isBrowser&&!(0,c.WQX)(bc.K)().hash){const y=(0,c.WQX)(zl.b),R=(0,c.WQX)(jt.$).nativeWindow,ee=R.scrollTo,He=()=>{};this.router.events.pipe((0,mt.M)(()=>{R.scrollY&&R.scrollTo!==He&&(R.scrollTo=He)}),(0,at.p)(_t=>_t instanceof tt.wF||_t instanceof tt.L6),(0,vt.s)(1),(0,at.p)(()=>R.scrollTo===He),(0,_d.c)(10)).subscribe(()=>{R.scrollTo=ee,y.triggerScroll()})}}getNavigationError$(){return this.router.events.pipe((0,at.p)(y=>y instanceof tt.L6),(0,lr.pQ)())}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return m(),f})();var Gf=n(94743),Qf=n(26466);let Lc=(()=>{var m;class f{static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["website-empty"]],decls:0,vars:0,template:function(R,ee){},encapsulation:2,changeDetection:0}))}return m(),f})(),Xf=(()=>{var m;class f extends Ks{constructor(){super(),this.cacheConfig=(0,c.WQX)(Gf.W),this.envService=(0,c.WQX)(Et.v),this.location=(0,c.WQX)(l.aZ),this.setPageFrameRouteConfig()}addRouterErrorHandler(){let y;this.navError$.subscribe(R=>{if(!this.handleChunkLoadError(R)){(0,Qf.CV)(this.cacheConfig);let ee=function vd(m){return m.replaceAll("(","%28").replaceAll(")","%29")}(R.url),He=!1;y===ee&&(ee=`/${fd.U.GENERIC_ERROR}`,He=!0),y!==ee&&(this.location.go(R.url),this.router.navigateByUrl(ee,{replaceUrl:!0,skipLocationChange:He}),y=ee)}})}setPageFrameRouteConfig(){this.envService.hostContext&&this.router.resetConfig([{path:"**",component:Lc}])}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return m(),f})();
1const zf=(0,o.phd)(()=>{(0,c.WQX)(pn.T),(0,c.WQX)(Xf)});var Cs=n(16885),Ss=n(39480),Yl=n(30965),Yf=n(19583),Ed=function(m){return m.BASE="cxm",m}(Ed||{}),Ua=n(35335),Cd=function(m){return m.BASE="subscription",m}(Cd||{}),Zi=n(87546),Jl=n(68713);let Jf=(()=>{var m;class f extends dn.XK{constructor(){super(...arguments),this.document=dn.J1` 2 query HiltiStoresConfig($localization: LocalizationInput!) { 3 storeConfiguration(localization: $localization) { 4 common { 5 storeLocator 6 } 7 } 8 } 9 `}static#e=m=()=>(this.\u0275fac=(()=>{let y;return function(ee){return(y||(y=o.xGo(f)))(ee||f)}})(),this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return m(),f})();var qi=n(27410);const fs=/^\/(c\/)?r?\d+$/;var fo=n(5794),yd=n(88016),la=n(11255);const tp="shared-compare.feature",Fa="shared.feature-price-agreement",ua="shared-store-locator.feature",Od="search.feature",Zl="product.shared",Nc="myaccount-favorites.feature",xc="product.feature-product-configurator",rp=[{path:"data-subject-right-request",loadChildren:()=>n.e(2278).then(n.bind(n,82278)).then(m=>m.dsrFeatureRoutes)},{path:"technical-library",canActivate:[(0,fo.s)(Od,"technical-library.feature","product.shared")],loadChildren:()=>Promise.all([n.e(3650),n.e(7979),n.e(9589),n.e(1583),n.e(9581),n.e(3896),n.e(4857),n.e(1403),n.e(2448),n.e(6177),n.e(132),n.e(5132),n.e(5716),n.e(9546)]).then(n.bind(n,67345)).then(m=>m.technicalLibraryFeatureRoutes),data:{pageTitle:{key:"common.label.pageTitle"},cacheConfig:{ttl:7200,useQueryParams:["filter","page","text"]}}},{path:Oe.MB,loadChildren:()=>Promise.all([n.e(7979),n.e(9589),n.e(1583),n.e(8092)]).then(n.bind(n,87468)).then(m=>m.toggleManagementFeatureRoutes),data:{metaData:{robotsNoIndex:!0}}},{matcher:m=>m.length&&/^punchout$/i.test(m[0].path)?{consumed:m.slice(0,1)}:null,canMatch:[(m,f)=>(0,c.WQX)(pi.as).isActiveSession&&(0,Zi.b)(m,f)],canActivate:[(0,fo.s)("punchout.feature")],loadChildren:()=>n.e(5009).then(n.bind(n,75009)).then(m=>m.punchoutFeatureRoutes),data:{metaData:{robotsNoIndex:!0},cacheConfig:{pathPattern:"(punchout|PUNCHOUT)"}}},{path:"content/hilti/**",component:Lc,data:{cacheConfig:{ttl:7200}}},{path:"",canActivate:[()=>!(0,c.WQX)(pi.as).isActiveSession||(0,c.WQX)(tt.Ix).createUrlTree([qt.BASE])],loadChildren:()=>Promise.all([n.e(3650),n.e(9589),n.e(1583),n.e(9581),n.e(8589),n.e(3896),n.e(4857),n.e(5060),n.e(1403),n.e(6177),n.e(4114),n.e(9210),n.e(3482),n.e(7678),n.e(6004),n.e(2076),n.e(6753)]).then(n.bind(n,19844)).then(m=>m.homepageFeatureRoutes),data:{cacheConfig:{ttl:7200}}},{path:"content",canActivate:[(0,fo.s)("shared-content-management.feature")],loadChildren:()=>Promise.all([n.e(7979),n.e(3482),n.e(2076),n.e(2010)]).then(n.bind(n,77453)).then(m=>m.editorialsFeatureRoutes),data:{cacheConfig:{ttl:7200}}},{path:Ui._.BASE,canMatch:[()=>{const m=(0,c.WQX)(Et.v);return(0,c.WQX)(Jf).fetch({variables:{localization:(0,jr.a$)(m)},context:{httpContext:(new je._y).set(Xt.cN,14400)}}).pipe((0,Be.T)(({data:O})=>!!O?.storeConfiguration?.common?.storeLocator),(0,Jl.W)(()=>(0,Rt.of)(!1)))}],canActivate:[(0,fo.s)("hilti-stores.feature",ua)],loadChildren:()=>Promise.all([n.e(3650),n.e(7979),n.e(9589),n.e(1583),n.e(9581),n.e(4292),n.e(7236),n.e(5968),n.e(309),n.e(2076),n.e(9940)]).then(n.bind(n,3744)).then(m=>m.hiltiStoresFeatureRoutes)},{path:Yl.K.BASE,canMatch:[la.Gd],canActivate:[(0,fo.s)("cart.feature",ua,Ss.To,Fa)],loadChildren:()=>Promise.all([n.e(3650),n.e(7979),n.e(9589),n.e(1583),n.e(9581),n.e(4292),n.e(8720),n.e(6235),n.e(3896),n.e(7757),n.e(4857),n.e(2483),n.e(1403),n.e(6177),n.e(4114),n.e(9210),n.e(1264),n.e(2220),n.e(5102),n.e(6198),n.e(1234),n.e(369),n.e(2076),n.e(9626)]).then(n.bind(n,31934)).then(m=>m.CartFeatureModule),data:{pageTitle:{key:"ribbon.headline"},metaData:{robotsNoIndex:!0}}},{path:Yl.K.SPA,canMatch:[la.Gd],canActivate:[(0,fo.s)("cart.feature",ua,Ss.To,Fa)],loadChildren:()=>Promise.all([n.e(3650),n.e(7979),n.e(9589),n.e(1583),n.e(9581),n.e(4292),n.e(8720),n.e(6235),n.e(3896),n.e(7757),n.e(4857),n.e(2483),n.e(1403),n.e(6177),n.e(4114),n.e(9210),n.e(1264),n.e(2220),n.e(5102),n.e(6198),n.e(1234),n.e(369),n.e(2076),n.e(9626)]).then(n.bind(n,31934)).then(m=>m.CartFeatureModule),data:{pageTitle:{key:"ribbon.headline"},metaData:{robotsNoIndex:!0}}},{path:Yf.c.BASE,canMatch:[la.Gd],loadChildren:()=>Promise.all([n.e(2076),n.e(519)]).then(n.bind(n,60519)).then(m=>m.checkoutFeatureRoutes),data:{blockCartIdForBanners:!0,metaData:{robotsNoIndex:!0}}},{path:Ed.BASE,canActivate:[(0,fo.s)("customer-experience-measurement.feature")],loadChildren:()=>Promise.all([n.e(3650),n.e(7979),n.e(4105)]).then(n.bind(n,14105)).then(m=>m.CustomerExperiencesMeasurmentsRoutes),data:{metaData:{robotsNoIndex:!0}}},{path:Ua.g.BASE,canMatch:[Zi.b],canActivate:[(0,fo.s)("evouchers.feature")],loadChildren:()=>Promise.all([n.e(9589),n.e(4292),n.e(6188)]).then(n.bind(n,88852)).then(m=>m.EvouchersFeatureModule),data:{preventLoginRedirect:!0,blockMarketingBanners:!0,pageTitle:{key:"title.eVouchers"},metaData:{robotsNoIndex:!0},tracking:{templateType:Cs.b9}}},{path:Ua.g.EVOUCHER_LOGIN,canActivate:[()=>(0,c.WQX)(cn.i).isEVoucherBackofficeUser?(0,c.WQX)(tt.Ix).createUrlTree([Ua.g.BASE]):(0,c.WQX)(p.z).redirectToLogin$("EVOUCHER",!1).pipe((0,Be.T)(m=>!0))],component:Lc,data:{ssoRedirectRoute:`/${Ua.g.BASE}`,metaData:{robotsNoIndex:!0}}},{path:Hf.s.BASE,canMatch:[Zi.b],canActivate:[(0,fo.s)("myaccount-authmanagement.feature","shared-profile-forms.feature")],loadChildren:()=>Promise.all([n.e(2076),n.e(5309)]).then(n.bind(n,85309)).then(m=>m.MyaccountAuthmanagementFeatureModule),data:{pageTitle:{key:"ribbon.headline"},metaData:{robotsNoIndex:!0}}},{path:$f.Q.BASE,canMatch:[Zi.b],canActivate:[(0,fo.s)("myaccount-profile.feature","shared-profile-forms.feature")],loadChildren:()=>Promise.all([n.e(3650),n.e(7979),n.e(9589),n.e(1583),n.e(9581),n.e(4292),n.e(7236),n.e(328),n.e(8720),n.e(4578),n.e(3896),n.e(6622),n.e(9884),n.e(829),n.e(2752),n.e(2064),n.e(2076),n.e(5926)]).then(n.bind(n,25088)).then(m=>m.MyaccountProfileFeatureModule),data:{pageTitle:{key:"header.account.navigation.personalInformation"},metaData:{robotsNoIndex:!0}}},{path:pd.x.BASE,canMatch:[Zi.b],canActivate:[(0,fo.s)("shared.feature-quote","shared.feature-delivery-method","financial-hub.feature",Fa)],loadChildren:()=>Promise.all([n.e(3650),n.e(7979),n.e(9589),n.e(1583),n.e(9581),n.e(4292),n.e(7236),n.e(328),n.e(8720),n.e(4578),n.e(6235),n.e(3896),n.e(5166),n.e(6622),n.e(6421),n.e(7757),n.e(9884),n.e(829),n.e(5068),n.e(4857),n.e(2483),n.e(3948),n.e(2752),n.e(122),n.e(1917),n.e(8441),n.e(9755),n.e(5364),n.e(2076),n.e(1978)]).then(n.bind(n,39826)).then(m=>m.FinancialHubFeatureModule),data:{pageTitle:{key:"ribbon.breadcrumbs.orders"},metaData:{robotsNoIndex:!0}}},{path:`${pd.x.GUEST_ORDER_TRACKING}/:hashId`,canMatch:[la.Gd],canActivate:[(0,fo.s)("financial-hub.feature")],loadComponent:()=>Promise.all([n.e(3650),n.e(7979),n.e(9589),n.e(1583),n.e(9581),n.e(4292),n.e(7236),n.e(328),n.e(8720),n.e(4578),n.e(6235),n.e(3896),n.e(5166),n.e(6622),n.e(6421),n.e(7757),n.e(9884),n.e(829),n.e(5068),n.e(4857),n.e(2483),n.e(3948),n.e(2752),n.e(122),n.e(1917),n.e(8441),n.e(9755),n.e(5364),n.e(2076),n.e(1978)]).then(n.bind(n,39826)).then(m=>m.GuestOrderTrackingComponent),data:{metaData:{robotsNoIndex:!0},pageTitle:{key:"trackShipment.guest.pageTitle"},tracking:{pageName:"Track Shipments",templateType:"Guest Access Pages",tabInfo:"Track Shipments"}},pathMatch:"full"},{path:Kl.y.BASE,canMatch:[Zi.b],canActivate:[(0,fo.s)(Nc,xc)],loadChildren:()=>Promise.all([n.e(3650),n.e(9581),n.e(3896),n.e(4857),n.e(1403),n.e(6177),n.e(9210),n.e(2076),n.e(6443)]).then(n.bind(n,37759)).then(m=>m.MyaccountFavoritesFeatureModule),data:{pageTitle:{key:"ribbon.title"},metaData:{robotsNoIndex:!0}}},{path:Kl.y.LEGACY_COMPANY_LISTS,canMatch:[Zi.b],canActivate:[(0,fo.s)(Nc,Ss.To)],loadChildren:()=>Promise.all([n.e(3650),n.e(9581),n.e(3896),n.e(4857),n.e(1403),n.e(6177),n.e(9210),n.e(2076),n.e(6443)]).then(n.bind(n,37759)).then(m=>m.MyaccountFavoritesFeatureModule),data:{metaData:{robotsNoIndex:!0}}},{path:gd.T.BASE,canMatch:[Zi.b],loadChildren:()=>n.e(6072).then(n.bind(n,96072)).then(m=>m.MyaccountSubscriptionsFeatureModule),data:{pageTitle:{key:"breadcrumb.softwareSubscriptions"},metaData:{robotsNoIndex:!0}}},{path:sa.a.BASE,canMatch:[Zi.b],canActivate:[(0,fo.s)("myaccount-tools.feature","shared-global-labelling.feature",ua)],loadChildren:()=>Promise.all([n.e(1685),n.e(2076),n.e(8778)]).then(n.bind(n,98778)).then(m=>m.MyaccountToolsFeatureModule),data:{pageTitle:{key:"header.toolManagement.title"},metaData:{robotsNoIndex:!0}}},{matcher:function ca(m){const f=`/${m.map(({path:O})=>O).join("/")}`;return fs.test(f)?{consumed:m}:null},loadChildren:()=>Promise.all([n.e(2076),n.e(8519)]).then(n.bind(n,58519)).then(m=>m.inPreparationProductFeatureRoutes)},{path:ho.G.BASE,loadChildren:()=>Promise.all([n.e(2076),n.e(8519)]).then(n.bind(n,58519)).then(m=>m.ProductFeatureModule),data:{cacheConfig:{ttl:qi.yF}}},{path:ho.G.BASE_CATEGORY_PAGE,canActivate:[(0,fo.s)("product.feature-category-page",Zl)],loadChildren:()=>Promise.all([n.e(7979),n.e(9589),n.e(1583),n.e(9581),n.e(4292),n.e(7236),n.e(5068),n.e(132),n.e(3482),n.e(9273),n.e(4285),n.e(3390),n.e(2076),n.e(7027)]).then(n.bind(n,37087)).then(m=>m.ProductFeatureCategoryPageModule),data:{isCategoryFirstLevel:!0,cacheConfig:{useQueryParams:["viewDetails"],ttl:qi.yF,tags:[qi.Fj,qi.$1]}}},{path:ho.G.STORAGE_CONFIGURATOR,canActivate:[(0,fo.s)("product.feature-storage-configurator",Zl,"product.make-it-fit",xc)],loadChildren:()=>n.e(7557).then(n.bind(n,77557)).then(m=>
9m.ProductFeatureStorageConfiguratorModule),canMatch:[la.Gd,(0,yd.KV)({name:"ldt_storage_configurator_page",disabledReroute:ho.G.BASE_CATEGORY_PAGE})],data:{metaData:{robotsNoIndex:!0}}},{path:Cd.BASE,canActivate:[(0,fo.s)("subscription.feature")],loadChildren:()=>Promise.all([n.e(3650),n.e(2076),n.e(6317)]).then(n.bind(n,26317)).then(m=>m.SubscriptionFeatureModule),data:{metaData:{robotsNoIndex:!0}}},{path:Wr.x.BASE,canMatch:[la.Gd],canActivate:[(0,fo.s)("registration.feature")],loadChildren:()=>Promise.all([n.e(3650),n.e(7979),n.e(9589),n.e(1583),n.e(9581),n.e(4292),n.e(328),n.e(8720),n.e(4578),n.e(3896),n.e(5166),n.e(6622),n.e(9884),n.e(829),n.e(5068),n.e(4857),n.e(5102),n.e(2076),n.e(1510)]).then(n.bind(n,32635)).then(m=>m.RegistrationFeatureModule),data:{blockMarketingBanners:!0,isCompressedPageLayout:!0,pageTitle:{key:"header.title"}}},{path:Gl.h.BASE,canMatch:[Zi.b],canActivate:[(0,fo.s)("care-notes.feature","myaccount-profile.feature")],loadChildren:()=>Promise.all([n.e(3650),n.e(7979),n.e(9589),n.e(1583),n.e(9581),n.e(7236),n.e(328),n.e(8720),n.e(8441),n.e(9755),n.e(2064),n.e(2076),n.e(7801)]).then(n.bind(n,51945)).then(m=>m.CareNotesFeatureModule),data:{pageTitle:{key:"careNotes.list.header.title"},metaData:{robotsNoIndex:!0}}},{path:yo.w.BASE,canActivate:[(0,fo.s)(Od,tp,Zl)],loadChildren:()=>Promise.all([n.e(3650),n.e(7979),n.e(9589),n.e(1583),n.e(9581),n.e(4292),n.e(7236),n.e(4578),n.e(3896),n.e(4857),n.e(5060),n.e(1403),n.e(2448),n.e(6177),n.e(132),n.e(9125),n.e(5132),n.e(4271),n.e(5716),n.e(2076),n.e(9355)]).then(n.bind(n,29500)).then(m=>m.searchFeatureRoutes),data:{metaData:{robotsNoIndex:!0}}},{path:yo.w.SPECIAL_PRODUCTS,canActivate:[(0,fo.s)(Od,tp,Zl)],canMatch:[()=>(0,c.WQX)(cn.i).isAccountManager],loadChildren:()=>Promise.all([n.e(3650),n.e(7979),n.e(9589),n.e(1583),n.e(9581),n.e(4292),n.e(7236),n.e(4578),n.e(3896),n.e(4857),n.e(5060),n.e(1403),n.e(2448),n.e(6177),n.e(132),n.e(9125),n.e(5132),n.e(4271),n.e(5716),n.e(2076),n.e(9355)]).then(n.bind(n,29500)).then(m=>m.specialProductsRoutes),data:{metaData:{robotsNoIndex:!0}}},{path:aa.BASE,canActivate:[(0,fo.s)("shared.feature-quote","e-contracting.feature-quotation","shared-global-labelling.feature")],canMatch:[Zi.b],loadChildren:()=>n.e(482).then(n.bind(n,70482)).then(m=>m.EContractingFeatureModule),data:{pageTitle:{key:"pageTitle"},isCompressedPageLayout:!0,metaData:{robotsNoIndex:!0}}},{path:sa.a.REPAIR_TRACKING,canMatch:[la.Gd],canActivate:[(0,fo.s)("myaccount-tools.feature-repair-tracking")],loadChildren:()=>Promise.all([n.e(3650),n.e(7979),n.e(9589),n.e(1583),n.e(9581),n.e(4292),n.e(7236),n.e(328),n.e(8720),n.e(4578),n.e(6235),n.e(5166),n.e(6622),n.e(6421),n.e(7757),n.e(9884),n.e(829),n.e(9195),n.e(2483),n.e(3948),n.e(2752),n.e(122),n.e(7072),n.e(714),n.e(1917),n.e(8441),n.e(9755),n.e(5914),n.e(5608),n.e(1685),n.e(458),n.e(5376),n.e(5364),n.e(1370),n.e(2076),n.e(150)]).then(n.bind(n,11370)).then(m=>m.MyaccountToolsFeatureAnonymousRepairTrackingModule),data:{pageTitle:{key:"details.pageTitles.basic"},metaData:{robotsNoIndex:!0}}},{path:"contact",loadChildren:()=>Promise.all([n.e(3650),n.e(7979),n.e(9589),n.e(1583),n.e(7236),n.e(25),n.e(6941)]).then(n.bind(n,6941)).then(m=>m.contactUsFeatureRoutes),canActivate:[()=>{return m=()=>new tt.cS((0,c.WQX)(tt.Ix).parseUrl("/#contact"),{skipLocationChange:!0}),(0,c.WQX)(_o.z).isMobileApp||m?.()||!1;var m}],data:{metaData:{robotsNoIndex:!0}}},{path:fd.U.EMPTY,component:Lc,data:{cacheConfig:{ttl:86400}}},{path:"",canActivate:[(0,fo.s)("status.feature")],loadChildren:()=>Promise.all([n.e(3650),n.e(7979),n.e(9581),n.e(8720),n.e(7757),n.e(2483),n.e(6158)]).then(n.bind(n,40452)).then(m=>m.statusFeatureRoutes)}],ip={provide:tt.b,useClass:class op extends tt.Gl{shouldReuseRoute(f,O){return f.url.length?f.url.toString()===O.url.toString():f.routeConfig===O.routeConfig}}},sp=[(0,hs.lh)((m=rp,m.map(f=>f.loadChildren??f.loadComponent?{...f,providers:[...f.providers??[],Sc.r,Kf.x]}:f)),(0,hs.lG)(),(0,hs.Zy)(),(0,hs.Ii)({paramsInheritanceStrategy:"always"}),(0,hs.oH)({anchorScrolling:"enabled",scrollPositionRestoration:"enabled"})),zf,ip],Md={providers:[{provide:fe.M,useValue:{production:!0}
9},{provide:o.sZ2,useValue:Jn},function Yi(m=/.*/){return[{provide:zi.hM,useValue:m},{provide:l.kB,useFactory:()=>{const f=(0,c.WQX)(jt.$).nativeWindow,O=(0,c.WQX)(Bi.of);return m.test(O.removeLanguagePrefix(f.location.pathname))?O.addLanguagePrefix("/"):"/"}}]}(/^\/(?!(content\/(hilti|dam)|client-oauth|engineering|r?\d+)(\/|$))/),function md(){return{provide:zi.w$,useFactory:()=>{const m=(0,c.WQX)(bc.K),f=(0,c.WQX)(An.I).getToggleById("ldt_soft_navigate_myaccount_pages")?[...Ql,...Rc]:Ql,O=(0,Xr.EW)(()=>{const y=(0,Qn.t9)(m().unPrefixedPathname);return f.find(R=>R.includes(y))??[y]});return y=>O().includes((0,Qn.t9)(y))}}}(),function Z(m=!1){return{provide:Oe.jK,useFactory:()=>{const f=(0,c.WQX)(fe.e)?.server,O=f?.featureToggles||(0,c.WQX)(fe.M).featureToggles;return{toggles:O,hash:f?.togglesHash,addClasses:m||!!O}}}}(),wi,function me(m){return(0,dn.xC)(()=>function K(m){const{isBrowser:f}=(0,c.WQX)(Wt.f),O=(0,c.WQX)(Et.v),{isProduction:y,releaseVersion:R}=O,ee=f?{ssrForceFetchDelay:100}:{ssrMode:!0};return{documentTransform:Fs(),cache:Q(f),link:k(O),...ee,devtools:{enabled:f&&!y},defaultContext:{clientAwareness:{name:m,version:y?R:"default"}},defaultOptions:{watchQuery:{notifyOnNetworkStatusChange:!1}}}}(m))}("hdms-frontend"),function yt(){return[{provide:Ce.C,useExisting:p.z},{provide:Ke.p,useExisting:nt.H}]}
9(),sp,Ft,Ne.mW,Jt.An,At,Gr,Gn,function si(){return(0,o.phd)(()=>{const m=(0,c.WQX)(_o.z);(0,c.WQX)(Wt.f).isBrowser&&m.isMobileApp&&m.init()})}()]};var m,Ro=n(9042),wc=n(54786),Bc=n(57388),ql=n(60974);let Uc=(()=>{var m;class f{constructor(){this.isBrowser=(0,c.WQX)(Wt.f).isBrowser,this.maintenanceModeService=(0,c.WQX)(ql.s),this.modalService=(0,c.WQX)(wc.B),this.destroyRef=(0,c.WQX)(c.abz)}subscribeToMaintenanceModeToggle(){var y=this;this.isBrowser&&this.maintenanceModeService.open$.pipe((0,lr.pQ)(this.destroyRef)).subscribe(function(){var R=(0,Xe.A)(function*(ee){const{MaintenanceModeModalComponent:He}=yield Promise.all([n.e(3650),n.e(9581),n.e(4946)]).then(n.bind(n,52565));y.modalService.open(He,{closeOnNavigation:!1,fitToContent:!0,size:Bc.r.SM,hashId:!1},{messageType:ee})});return function(ee){return R.apply(this,arguments)}}())}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return m(),f})();var Fi=n(21357),eu=n(39805),Jo=n(79168),Fc=n(51596),Gs=n(65319),da=n(96178),tu=n(57552),Wc=n(93488);const kc="https://hilti.com/app",jc="hiltimsa",ys="smartBannerDismissal",nu="smartAppBannerActionClicked",ru=864e5,Pd=[/^\/?$/,/^\/cart/,/^\/checkout/,/^\/myaccount-favorites/,/^\/content/,/^\/myaccount-financialhub/,/^\/myaccount-profile/,/^\/myaccount-subscriptions/,/^\/myaccount-tools/,/^\/register/,/^\/repair-tracking/,/^\/stores/,/^\/subscription/,/^\/c\//,/^\/products/,/^\/search/,/^\/order-tracking\//];let ou=(()=>{var m;class f{constructor(){this.visible=(0,Xr.EW)(()=>this.activated()&&this.breakpoint.isMobileView()&&(m=>Pd.some(f=>f.test(m)))(this.currentUrl().unPrefixedPathname)),this.actionUrl=(0,Xr.EW)(()=>{const y=this.currentUrl().pathname;if(!this.appLikelyInstalled()){const R=function Qs(m){const f=new URLSearchParams;return m.searchParams.forEach((O,y)=>{y.startsWith("utm_")&&f.set(y,O)}),f.toString()}(this.currentUrl());return R?`${kc}?${R}`:kc}if(this.browser.isAndroid){const R=encodeURIComponent(kc);return`intent:/${y}#Intent;scheme=${jc};package=com.hilti.mobile.hiltionline;S.browser_fallback_url=${R};end`}return`${jc}:/${y}`}),this.actionLabel=(0,Xr.EW)(()=>this.appLikelyInstalled()?"smartAppBanner.open":"smartAppBanner.get"),this.subtitleLabel=(0,Xr.EW)(()=>this.appLikelyInstalled()?"smartAppBanner.openSubtitle":"smartAppBanner.subtitle"),this.promotionData={items:[{promotion_id:"SmartAppBanner",promotion_name:"Hilti Shop App",creative_name:"SmartAppBanner",creative_slot:0}]},this.analytics=(0,c.WQX)(Gs.c),this.breakpoint=(0,c.WQX)(da.d),this.browser=(0,c.WQX)(tu.I),this.currentUrl=(0,c.WQX)(bc.K),this.featureToggle=(0,c.WQX)(An.I),this.mobileApp=(0,c.WQX)(_o.z),this.platform=(0,c.WQX)(Wt.f),this.storage=(0,c.WQX)(wr.n$),this.activated=(0,c.vPA)(!1),this.appLikelyInstalled=(0,c.vPA)(!1)}init(){this.canActivate()&&(this.activated.set(!0),this.detectAppInstall())}dismiss(){this.activated.set(!1),this.analytics.sendEvent("smart_banner_dismissed"),this.persistDismissal()}onActionClick(){this.storage.setItem(nu,{timestamp:Date.now()})}canActivate(){return this.featureToggle.getToggleById(Wc.ot)&&!this.platform.isServer&&this.browser.isMobile&&!this.mobileApp.isMobileApp&&!this.isSuppressed()}detectAppInstall(){const y=this.storage.getItem(nu);y?.timestamp&&(Date.now()-y.timestamp)/ru<90&&this.appLikelyInstalled.set(!0)}isSuppressed(){const y=this.storage.getItem(ys);return!!y&&Date.now()<y.suppressUntil}persistDismissal(){const y=this.storage.getItem(ys),R=Date.now(),He=y&&(R-y.lastDismissedAt)/ru<14?y.count+1:1;this.storage.setItem(ys,{count:He,lastDismissedAt:R,suppressUntil:R+(He>=2?30:7)*ru})}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac}))}return m(),f})();function Ad(m,f){if(1&m){const O=o.RV6();o.j41(0,"div",0)(1,"button",1),o.nI1(2,"i18next"),o.bIt("click",function(){c.eBV(O);const R=o.XpG();return c.Njj(R.dismiss())}),o.nrm(3,"shrd-uic-svg-icon",2),o.k0s(),o.j41(4,"div",3),o.nrm(5,"shrd-uic-image",4),o.k0s(),o.j41(6,"div",5)(7,"span",6),o.EFF(8),o.nI1(9,"i18next"),o.k0s(),o.j41(10,"span",7),o.EFF(11),o.nI1(12,"i18next"),o.k0s()(),o.j41(13,"a",8),o.bIt("click",function(){c.eBV(O);const R=o.XpG();return c.Njj(R.onActionClick())}),o.EFF(14),o.nI1(15,"i18next"),o.k0s()()}if(2&m){const O=o.XpG();o.Y8G("eventType","view_promotion")("shrdUtcTrackEcommerceEvent",O.promotionData),o.R7$(),o.BMQ("aria-label",o.bMT(2,10,"smartAppBanner.dismiss")),o.R7$(2),o.Y8G("inheritColor",!0),o.R7$(5),o.JRh(o.bMT(9,12,"smartAppBanner.title")),o.R7$(3),o.JRh(o.bMT(12,14,O.subtitleLabel())),o.R7$(2),o.Y8G("href",O.actionUrl(),o.B4B)("eventType","select_promotion")("shrdUtcTrackEcommerceEvent",O.promotionData),o.R7$(),o.SpI(" ",o.bMT(15,16,O.actionLabel())," ")}}let iu=(()=>{var m;class f{constructor(){this.service=(0,c.WQX)(ou),this.visible=this.service.visible,this.actionUrl=this.service.actionUrl,this.actionLabel=this.service.actionLabel,this.subtitleLabel=this.service.subtitleLabel,this.promotionData=this.service.promotionData,this.service.init()}dismiss(){this.service.dismiss()}onActionClick(){this.service.onActionClick()}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ft-smart-banner"]],features:[o.Jv_([ou])],decls:1,vars:1,consts:[["role","regi
9on","aria-labelledby","app-smart-banner-title app-smart-banner-subtitle",1,"smart-banner",3,"eventType","shrdUtcTrackEcommerceEvent"],["type","button",1,"btn","btn-close",3,"click"],["icon","cross","size","small",3,"inheritColor"],[1,"icon"],["src","/assets/images/hilti-shop-app.svg","alt","Hilti app","maxWidth","32","maxHeight","32"],[1,"content"],["id","app-smart-banner-title",1,"title"],["id","app-smart-banner-subtitle",1,"subtitle"],[1,"action",3,"click","href","eventType","shrdUtcTrackEcommerceEvent"]],template:function(R,ee){1&R&&o.nVh(0,Ad,16,18,"div",0),2&R&&o.vxM(ee.visible()?0:-1)},dependencies:[eu.h,Jo.D,Fi.E,Fc.f,xr.ov],styles:[".smart-banner[_ngcontent-%COMP%]{position:fixed;inset:0 0 auto;z-index:4003;display:flex;align-items:center;gap:.625rem;height:3.4375rem;padding-inline:.625rem .9375rem;background-color:#f8f8f7;border-bottom:.0625rem solid #cbc8c1}.smart-banner[_ngcontent-%COMP%] .btn-close[_ngcontent-%COMP%]{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:2.0625rem;height:2.0625rem;padding:0;border:none;background:transparent;color:#979598}.smart-banner[_ngcontent-%COMP%] .btn-close[_ngcontent-%COMP%] shrd-uic-svg-icon[_ngcontent-%COMP%]{width:.625rem;height:.625rem}.smart-banner[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{flex-shrink:0;width:2.0625rem;height:2.0625rem;border-radius:.4375rem;overflow:hidden}.smart-banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column}.smart-banner[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;overflow-wrap:break-word;font-size:.8125rem;font-weight:600;line-height:1.3;color:#524f53;letter-spacing:-.005rem}.smart-banner[_ngcontent-%COMP%] .subtitle[_ngcontent-%COMP%]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;overflow-wrap:break-word;font-size:.6875rem;line-height:1.3;color:#979598;margin-block-start:.0625rem}.smart-banner[_ngcontent-%COMP%] .action[_ngcontent-%COMP%]{flex-shrink:0;display:inline-flex;align-items:center;height:2.0625rem;padding-inline:.9375rem;border:none;border-radius:1.03125rem;background-color:#007aff;color:#fff;font-size:.9375rem;font-weight:500;text-transform:uppercase;text-decoration:none;white-space:nowrap}.smart-banner[_ngcontent-%COMP%] .action[_ngcontent-%COMP%]:hover{opacity:.85;color:#fff}"],changeDetection:0}))}return m(),f})();var ka=n(7359),lp=n(35514),up=n(20297),bd=n(95840),ja=n(79746),Va=n(56816),ha=n(50121),Ha=n(72315);let L_=(()=>{var m;class f extends dn.XK{constructor(){super(...arguments),this.document=dn.J1` 10 query HeaderProductCategories($localization: LocalizationInput!) { 11 topLevelProductNavigation(localization: $localization) { 12 id 13 title 14 thumbnail 15 } 16 } 17 `}static#e=m=()=>(this.\u0275fac=(()=>{let y;return function(ee){return(y||(y=o.xGo(f)))(ee||f)}})(),this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return m(),f})();const su={BASE:`/${ho.G.BASE}/`,CATEGORY:`/${ho.G.BASE_CATEGORY_PAGE}`,SPECIAL:`/${yo.w.SPECIAL_PRODUCTS}`,STORAGE_CONFIG:`/${ho.G.STORAGE_CONFIGURATOR}`};let fa=(()=>{var m;class f{constructor(){this.env=(0,c.WQX)(Et.v),this.i18next=(0,c.WQX)(xr.WY),this.categoriesGqlService=(0,c.WQX)(L_),this.userContextService=(0,c.WQX)(cn.i),this.assetPathPipe=(0,c.WQX)(Ha.W),this.navigationService=(0,c.WQX)(nt.H),this.punchoutService=(0,c.WQX)(pi.as),this.routerHelper=(0,c.WQX)(pn.T),this.addCategoryUrls=this.addCategoryUrls.bind(this),this.primaryLinks$=this.getPrimaryNavLinks$()}getPrimaryNavLinks$(){return(0,$t.z)([this.getProductNavItem$(),this.getEditorialNavItems$()]).pipe((0,Be.T)(([y,R])=>[y,...R]),(0,bd.t)(1))}getProductNavItem$(){return this.getCategories$().pipe((0,Be.T)(y=>({id:"p0",title:this.i18next.t("header.navigation.products"),menuType:ha.O7.PRODUCTS,url:su.CATEGORY,childList:[[y]]})),(0,ls.Z)(y=>this.routerHelper.router.events.pipe((0,at.p)(R=>R instanceof tt.wF),(0,Be.T)(({url:R})=>(0,Qn.Jf)(R)),(0,ja.F)(),(0,Va.Z)(this.routerHelper.finalUrl()),(0,Be.T)(R=>[R,y]),(0,Be.T)(([R,ee])=>({...ee,active:Object.values(su).some(He=>R.startsWith(He))})))))}getCategories$(){return this.categoriesGqlService.fetch({variables:{localization:(0,jr.a$)(this.env)},context:{headers:{[or.i5]:or.EJ},httpContext:(new je._y).set(Xt.cN,qi.yF).set(Xt.LL,[qi.Fj,qi.$1])}}).pipe((0,Be.T)(({data:{topLevelProductNavigation:y}})=>y),(0,Jl.W)(y=>(0,Rt.of)([])),(0,Be.T)(this.addCategoryUrls),(0,In.n)(y=>this.getAccountManagerCategories$(y)),(0,Be.T)(y=>({menuType:ha.Np.CATEGORY,childList:y})))}
17getEditorialNavItems$(){return this.punchoutService.isActiveSession?(0,Rt.of)([]):this.navigationService.editorialNavItems$}getAccountManagerCategories$(y){return this.userContextService.update$().pipe((0,Va.Z)(null),(0,Be.T)(R=>this.userContextService.isAccountManager),(0,ja.F)(),(0,Be.T)(R=>this.addSpecialProductsNavLink(y,R)))}addSpecialProductsNavLink(y,R){return R?[...y,this.getSpecialProductsNavLink()]:y}getSpecialProductsNavLink(){return{title:this.i18next.t("header.navigation.specialProducts"),thumbnail:this.assetPathPipe.transform("/assets/images/navigation/icon-category-special-products.png"),url:su.SPECIAL}}addCategoryUrls(y){return y.map(R=>({...R,url:`${su.BASE}${R.id}`}))}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return m(),f})();var Xs=n(61643),Rd=n(52547),dp=n(96702),hp=n(87615),Sd=n(53156),N_=n(19401),fp=n(61229);const pp=["shrd-pf-ft-menu-seo-only-links",""];function gp(m,f){if(1&m&&(o.rj2(0,"a",0),o.nI1(1,"langPrefix"),o.EFF(2),o.eux()),2&m){const O=o.XpG(2).$implicit;o.Avn("href",o.bMT(1,2,O.url),o.B4B),o.R7$(2),o.JRh(O.title)}}function mp(m,f){if(1&m&&o.EFF(0),2&m){const O=o.XpG(2).$implicit;o.SpI(" ",O.title," ")}}function Ld(m,f){if(1&m&&(o.rj2(0,"li")(1,"a",0),o.nI1(2,"langPrefix"),o.EFF(3),o.eux()()),2&m){const O=o.XpG().$implicit;o.R7$(),o.Avn("href",o.bMT(2,2,O.url),o.B4B),o.R7$(2),o.SpI(" ",O.headline||O.title," ")}}function Nd(m,f){1&m&&o.nVh(0,Ld,4,4,"li"),2&m&&o.vxM(f.$implicit.url?0:-1)}function xd(m,f){if(1&m&&o.Z7z(0,Nd,1,1,null,null,o.Vm6),2&m){const O=o.XpG().$implicit;o.Dyx(O.childList)}}function pa(m,f){if(1&m&&o.nVh(0,xd,2,0),2&m){const O=f.$implicit;o.vxM(null!=O.childList&&O.childList.length?0:-1)}}function ps(m,f){1&m&&o.Z7z(0,pa,1,1,null,null,o.Vm6),2&m&&o.Dyx(f.$implicit)}function wd(m,f){if(1&m&&(o.rj2(0,"li")(1,"ul"),o.Z7z(2,ps,2,0,null,null,o.Vm6),o.eux()()),2&m){const O=o.XpG(2).$implicit;o.R7$(2),o.Dyx(O.childList)}}function _p(m,f){if(1&m&&(o.rj2(0,"ul")(1,"li"),o.nVh(2,gp,3,4,"a",0)(3,mp,1,1),o.eux(),o.nVh(4,wd,4,0,"li"),o.eux()),2&m){const O=o.XpG().$implicit;o.R7$(2),o.vxM(O.url?2:3),o.R7$(2),o.vxM(null!=O.childList&&O.childList.length?4:-1)}}function Bd(m,f){if(1&m&&o.nVh(0,_p,5,2,"ul"),2&m){const O=f.$implicit;o.vxM(O.url||null!=O.childList&&O.childList.length?0:-1)}}let x_=(()=>{var m;class f{static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["","shrd-pf-ft-menu-seo-only-links",""]],hostAttrs:["inert","",1,"visually-hidden"],inputs:{primaryNavItems:"primaryNavItems"},attrs:pp,decls:2,vars:0,consts:[[3,"href"]],template:function(R,ee){1&R&&o.Z7z(0,Bd,1,1,null,null,o.Vm6),2&R&&o.Dyx(ee.primaryNavItems)},dependencies:[fp.f],encapsulation:2,changeDetection:0}))}return m(),f})();var w_=n(62467),Ud=n(6669),Hc=n(52455),B_=n(40704);let vp=(()=>{var m;class f{constructor(){this.userData=(0,u.hFB)(),this.btnDisabled=(0,c.vPA)(!1),this.chatTimeout=B_.Q,this.liveChatService=(0,c.WQX)(Hc.TE),this.envService=(0,c.WQX)(Et.v),this.i18NextPipe=(0,c.WQX)(xr.ov),this.isAccountManager=(0,c.WQX)(cn.i).isAccountManager,this.isChatRecaptchaFtEnabled=(0,c.WQX)(An.I).getToggleById(Hc.OA),this.liveChatRecaptchaKey=this.envService.liveChatRecaptchaV3PublicKey,this.recaptchaService=(0,c.WQX)(Ud.N),this.toastMessagesService=(0,c.WQX)(rn.X),this.win=(0,c.WQX)(jt.$).nativeWindow}ngOnInit(){this.liveChatService.isChatJsAvailable&&this.liveChatService.checkMessengerStatus()}handleClick(){this.liveChatService.isChatSessionActive?this.toggleMessenger():!this.isAccountManager&&this.envService.liveChatDeploymentId?this.initChatBot():this.win.location.assign("#overlay/contact/livechat")}handleError(){this.btnDisabled.set(!1),this.toastMessagesService.danger(this.i18NextPipe.transform("header.contact.messages.genericError.message"),this.i18NextPipe.transform("header.contact.messages.genericError.headline"),{autoClose:!0,tapToDismiss:!0,showCloseButton:!0})}launchMessenger(y){this.btnDisabled.set(!1),this.liveChatService.openMessenger(this.liveChatService.populateChatAttributes(y,this.userData()))}initChatBot(){this.btnDisabled.set(!0),this.liveChatService.isChatJsAvailable||this.liveChatService.injectLiveChatJS(),this.liveChatService.isChatInitialized$.pipe((0,w_.w)(this.chatTimeout),(0,vt.s)(1)).subscribe(()=>{this.liveChatService.checkLauncherStatus(),this.liveChatService.checkMessengerStatus(),this.openChatBot()})}openChatBot(){this.liveChatRecaptchaKey&&this.isChatRecaptchaFtEnabled?this.recaptchaService.generateV3Token$({
17siteKey:this.liveChatRecaptchaKey,action:"live_chat"}).subscribe({next:y=>this.launchMessenger(y),error:()=>this.handleError()}):this.launchMessenger()}toggleMessenger(){this.liveChatService.isChatWindowOpen?this.liveChatService.closeMessenger():this.liveChatService.openMessenger()}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ft-live-chat-button"]],hostAttrs:[1,"d-block","position-fixed","live-chat-button-container"],inputs:{userData:[1,"userData"]},decls:5,vars:8,consts:[["aria-controls","genesys-mxg-container-frame","type","button",1,"live-chat-button",3,"click","disabled"],["size","large",3,"icon"]],template:function(R,ee){if(1&R){const He=o.RV6();o.SS7(0),o.nI1(1,"async"),o.j41(2,"button",0),o.nI1(3,"i18next"),o.bIt("click",function(){return c.eBV(He),c.Njj(ee.handleClick())}),o.nrm(4,"shrd-uic-svg-icon",1),o.k0s()}if(2&R){const He=o.bMT(1,4,ee.liveChatService.isChatOpen$);o.R7$(2),o.Y8G("disabled",ee.btnDisabled()),o.BMQ("aria-expanded",He)("aria-label",o.bMT(3,6,"liveChat.ariaLabel."+(He?"minimize":"open"))),o.R7$(2),o.Y8G("icon",He?"arrow-down":"contact")}},dependencies:[Jo.D,Fi.E,Ro.Jj,xr.ov],styles:[":root{--live-chat-icon-size: 2.75rem}@media (min-width: 1024px){:root{--live-chat-icon-size: 3.4375rem}}.genesys-mxg-launcher-frame{display:none}.genesys-mxg-container-frame{bottom:calc(var(--live-chat-icon-size) + 1.375rem + 4.8125rem)!important}.live-chat-button-container{bottom:4.8125rem;height:var(--live-chat-icon-size);overflow:visible;right:1.75rem;width:var(--live-chat-icon-size);z-index:1003}.live-chat-button-container .live-chat-button{background-color:#524f53;border-radius:50%;color:#fff;height:100%;width:100%}.live-chat-button-container .live-chat-button:hover{box-shadow:0 0 .625rem #00000026}.live-chat-button-container .live-chat-button:focus-visible{outline:.125rem solid #4292ed!important;outline-offset:-.125rem!important}\n"],encapsulation:2,changeDetection:0}))}return m(),f})();var Fd=n(6531),Ep=n(17007),Ds=n(94375);let Wd=(()=>{var m;class f{constructor(){this.small=(0,u.hFB)(!1),this.homeLink=(0,c.WQX)(wa.C)}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ui-logo"]],hostVars:2,hostBindings:function(R,ee){2&R&&o.AVh("header-logo-wrapper",!ee.small())},inputs:{small:[1,"small"]},decls:5,vars:11,consts:[[1,"hilti-logo",3,"shrdUtcRouterLink"],[3,"src","alt"]],template:function(R,ee){1&R&&(o.j41(0,"a",0),o.nI1(1,"i18next"),o.nrm(2,"img",1),o.nI1(3,"assetPath"),o.nI1(4,"i18next"),o.k0s()),2&R&&(o.Y8G("shrdUtcRouterLink",ee.homeLink),o.BMQ("aria-label",o.bMT(1,4,"header.label.home")),o.R7$(2),o.Y8G("src",o.i5U(3,6,"/assets/images/hilti-logo.svg",!0),o.B4B)("alt",o.bMT(4,9,"common.label.hiltiLogoAlt")))},dependencies:[Ds.j,Ha.W,xr.ov],styles:["[_nghost-%COMP%]{display:flex;align-items:center;z-index:0}.header-logo-wrapper[_nghost-%COMP%]{margin-inline-end:1.875rem}@media (min-width: 1440px){.header-logo-wrapper[_nghost-%COMP%]{margin-inline-end:2.8125rem}}@media (min-width: 1024px){.header-logo-wrapper[_nghost-%COMP%] .hilti-logo[_ngcontent-%COMP%]{transition:transform .25s ease-out;transform-origin:left}:root[dir=rtl] .header-logo-wrapper[_nghost-%COMP%] .hilti-logo[_ngcontent-%COMP%]{transform-origin:right}.header-logo-wrapper[_nghost-%COMP%] .hilti-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:2.0625rem;width:8.6875rem}}[_nghost-%COMP%] .hilti-logo[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%] .hilti-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:1.375rem;width:5.8125rem}@media (min-width: 1024px){.is-compressed-page-layout header.header-logo-wrapper[_nghost-%COMP%] .hilti-logo[_ngcontent-%COMP%], .is-compressed-page-layout header .header-logo-wrapper[_nghost-%COMP%] .hilti-logo[_ngcontent-%COMP%]{transform:scale(.88);transition:none}}@media screen and (min-height: 650px) and (min-width: 1024px){.header-minimized header.header-logo-wrapper[_nghost-%COMP%] .hilti-logo[_ngcontent-%COMP%], .header-minimized header .header-logo-wrapper[_nghost-%COMP%] .hilti-logo[_ngcontent-%COMP%]{transform:scale(.88);transition-duration:.3s;transition-timing-function:ease-in-out}}"],changeDetection:0}))}return m(),f})();var Ri=n(11564),Wi=n(92229),kd=n(43648);let jd=(()=>{var m;class f{transform(y){return!/^(\s+|#+|\B)$/.test(y)}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275pipe=o.EJ8({name:"shrdPfValidUrl",type:f,pure:!0}))}return m(),f})();var zs=n(73472),au=n(68730),Cp=n(79518),Vd=n(870),$a=n(47066),yp=n(10360);const Dp=/\/client-oauth\/login/,Op=/\/myaccount-/,ro=/#overlay\/login/;let Hd=(()=>{var m;class f{constructor(){this.isLoggedIn=!1,this.analyticsService=(0,c.WQX)(Gs.c),this.element=(0,c.WQX)(o.aKT).nativeElement,this.destroyRef=(0,c.WQX)(c.abz)}onUserInput(){const y=this.element.href,R=!!y&&[Dp,Op,ro].some(ee=>ee.test(y));this.isLoggedIn||!R||this.analyticsService.sendEvent("login_started",this.shrdUtcLoginStartedTrackEvent)}ngOnInit(){(0,Vd.h)(...yp.Q.map(y=>(0,$a.R)(this.element,y))).pipe((0,lr.pQ)(this.destroyRef)).subscribe(()=>{this.onUserInput()})}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275dir=o.FsC({type:f,selectors:[["","shrdUtcLoginStartedTrackEvent",""]],inputs:{shrdUtcLoginStartedTrackEvent:"shrdUtcLoginStartedTrackEvent",isLoggedIn:"isLoggedIn"}}))}return m(),f})();const $d=m=>({event_method:"footer",button_text:m});function $c(m,f){if(1&m){const O=o.RV6();o.j41(0,"button",4),o.bIt("click",function(){c.eBV(O);const R=o.XpG();return c.Njj(R.triggerToggle())}),o.j41(1,"span",5),o.EFF(2),o.k0s(),o.nrm(3,"shrd-uic-svg-icon",6),o.k0s()}if(2&m){let O;const y=o.XpG();o.R7$(2),o.JRh(y.sectionTitle()),o.R7$(),o.Y8G("inheritColor",!0)("icon",null!=(O=y.accordion())&&O.isOpen?y.iconName.ARROW_UP:y.iconName.ARROW_DOWN)}}function Mp(m,f){if(1&m&&(o.j41(0,"p",2),o.EFF(1),o.k0s()),2&m){const O=o.XpG();o.R7$(),o.JRh(O.sectionTitle())}}function lu(m,f){1&m&&o.eu8(0)}function Ka(m,f){if(1&m&&(o.j41(0,"shrd-uic-accordion"),o.DNE(1,lu,1,0,"ng-container",7),o.k0s()),2&m){o.XpG();const O=o.sdS(7);o.R7$(),o.Y8G("ngTemplateOutlet",O)}}function uu(m,f){1&m&&o.eu8(0)}function Kd(m,f){if(1&m&&(o.j41(0,"div",3),o.DNE(1,uu,1,0,"ng-container",7),o.k0s()),2&m){o.XpG();const O=o.sdS(7);o.R7$(),o.Y8G("ngTemplateOutlet",O)}}function Gd(m,f){if(1&m&&o.nrm(0,"shrd-uic-svg-icon",10),2&m){const O=o.XpG(3);o.Y8G("icon",f)("size",O.sizeOption.SMALL)}}function Kc(m,f){if(1&m){const O=o.RV6();o.j41(0,"a",9),o.bIt("click",function(){const R=c.eBV(O).$implicit,ee=o.XpG(2);return c.Njj(ee.emitLinkClicked(R))}),o.nVh(1,Gd,1,2,"shrd-uic-svg-icon",10),o.j41(2,"span",11),o.EFF(3),o.k0s()()}if(2&m){let O;const y=f.$implicit,R=o.XpG(2);o.Y8G("shrdUtcLoginStartedTrackEvent",o.eq3(5,$d,y.title))("isLoggedIn",R.isLoggedIn())("shrdUtcRouterLink",y.url),o.R7$(),o.vxM((O=y.type)?1:-1,O),o.R7$(2),o.JRh(y.title)}}function Ga(m,f){if(1&m&&o.Z7z(0,Kc,4,7,"a",8,o.Vm6),2&m){const O=o.XpG();o.Dyx(O.links())}}let Gc=(()=>{var m;class f{constructor(){this.sectionTitle=(0,u.hFB)(),this.links=(0,u.hFB)(),this.isLast=(0,u.hFB)(!1),this.isLoggedIn=(0,u.hFB)(!1),this.linkClicked=(0,u.CGW)(),this.accordion=(0,u.ebz)(au.M),this.sizeOption=Jo.V,this.iconName=zs.i,this.isServer=(0,c.WQX)(Wt.f).isServer,this.isMobileView$=this.isServer?(0,Rt.of)(!1):(0,c.WQX)(da.d).isMobileView$,this.ngOnDestroy$=new ze.B,this.accordionService=(0,c.WQX)(Cp.C)}ngOnInit(){this.accordionService.register(this)}ngOnDestroy(){this.accordionService.unregister(this),this.ngOnDestroy$.next(),this.ngOnDestroy$.complete()}triggerToggle(){this.accordionService.toggle(this)}toggleOpen(){this.accordion().toggleOpen()}close(){this.accordion().close()}
17emitLinkClicked(y){this.linkClicked.emit(y)}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ui-links-column-accordion"]],viewQuery:function(R,ee){1&R&&o.wEZ(ee.accordion,au.M,5),2&R&&o.NyB()},hostAttrs:["ngSkipHydration","true"],inputs:{sectionTitle:[1,"sectionTitle"],links:[1,"links"],isLast:[1,"isLast"],isLoggedIn:[1,"isLoggedIn"]},outputs:{linkClicked:"linkClicked"},decls:8,vars:4,consts:[["linkList",""],["type","button","shrdUicButton","","variant","tertiaryMinorBorderless",1,"m-0","mb-md-2","mt-md-n1","d-flex","align-items-center","justify-content-between","column-header"],[1,"text-bold"],[1,"d-none","d-md-block"],["type","button","shrdUicButton","","variant","tertiaryMinorBorderless",1,"m-0","mb-md-2","mt-md-n1","d-flex","align-items-center","justify-content-between","column-header",3,"click"],[1,"text-bold","text-start","pe-2"],[1,"d-md-none",3,"inheritColor","icon"],[4,"ngTemplateOutlet"],["shrdUicButton","","variant","navList","shrdUtcAutoTarget","",1,"mt-0","mb-1","default-icon-color",3,"shrdUtcLoginStartedTrackEvent","isLoggedIn","shrdUtcRouterLink"],["shrdUicButton","","variant","navList","shrdUtcAutoTarget","",1,"mt-0","mb-1","default-icon-color",3,"click","shrdUtcLoginStartedTrackEvent","isLoggedIn","shrdUtcRouterLink"],[3,"icon","size"],[1,"no-truncate"]],template:function(R,ee){if(1&R&&(o.SS7(0),o.nI1(1,"async"),o.nVh(2,$c,4,3,"button",1)(3,Mp,2,1,"p",2),o.nVh(4,Ka,2,1,"shrd-uic-accordion")(5,Kd,2,1,"div",3),o.DNE(6,Ga,2,0,"ng-template",null,0,o.C5r)),2&R){const He=o.bMT(1,2,ee.isMobileView$);o.R7$(2),o.vxM(ee.isServer||He?2:3),o.R7$(2),o.vxM(!ee.isServer&&He?4:5)}},dependencies:[Ri._,Jo.D,au.M,Ro.T3,kd.e,Hd,Ds.j,Ro.Jj],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%], [_nghost-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff!important}[_nghost-%COMP%] .column-header[_ngcontent-%COMP%]{font-size:.9375rem;text-transform:unset}@media (min-width: 1024px){[_nghost-%COMP%]{padding-top:.6875rem;padding-bottom:.6875rem}[_nghost-%COMP%] .column-header[_ngcontent-%COMP%]{line-height:1.125rem}}"],changeDetection:0}))}return m(),f})();const du=()=>({}),hu=()=>({navigationItem:"Logo"});function Tp(m,f){1&m&&o.eu8(0)}function Qc(m,f){if(1&m){const O=o.RV6();o.j41(0,"shrd-pf-ui-links-column-accordion",17),o.nI1(1,"i18next"),o.bIt("linkClicked",function(R){c.eBV(O);const ee=o.XpG(3);return c.Njj(ee.emitNavigationData("Footer",R.title))}),o.k0s()}if(2&m){const O=o.XpG(2),y=o.XpG();o.Y8G("sectionTitle",o.bMT(1,4,"header.meta.contact"))("links",f)("isLast",!(null!=O.columns&&O.columns.length))("isLoggedIn",y.isLoggedIn())}}function ga(m,f){if(1&m){const O=o.RV6();o.j41(0,"shrd-pf-ui-links-column-accordion",17),o.bIt("linkClicked",function(R){c.eBV(O);const ee=o.XpG(4);return c.Njj(ee.emitNavigationData("Footer",R.title))}),o.k0s()}if(2&m){const O=f.$implicit,y=f.$index,R=f.$count,ee=o.XpG(4);o.Y8G("sectionTitle",O.title)("links",O.childList)("isLast",y===R-1)("isLoggedIn",ee.isLoggedIn())}}function Ip(m,f){1&m&&o.Z7z(0,ga,1,4,"shrd-pf-ui-links-column-accordion",12,o.Vm6),2&m&&o.Dyx(f)}function Pp(m,f){}function Qd(m,f){if(1&m&&(o.j41(0,"a",20),o.nrm(1,"shrd-uic-svg-icon",21),o.k0s()),2&m){const O=f.$implicit,y=o.XpG(4);o.Y8G("href",O.url,o.B4B),o.BMQ("aria-label",O.title),o.R7$(),o.Y8G("icon",O.type)("size",y.sizeOption.SMALL)("inheritColor",!0)}}function Xd(m,f){if(1&m&&(o.j41(0,"div",16)(1,"div",18)(2,"p",19),o.EFF(3),o.k0s(),o.Z7z(4,Qd,2,5,"a",20,o.Vm6),o.k0s()()),2&m){const O=f;o.R7$(3),o.JRh(O.title),o.R7$(),o.Dyx(O.childList)}}function Ap(m,f){if(1&m&&(o.j41(0,"div",4)(1,"div",5)(2,"div",6)(3,"div",7)(4,"div",8)(5,"div",9),o.DNE(6,Tp,1,0,"ng-container",10),o.k0s(),o.j41(7,"div",11),o.nVh(8,Qc,2,6,"shrd-pf-ui-links-column-accordion",12),o.nVh(9,Ip,2,0),o.k0s()()()()()(),o.j41(10,"div",13)(11,"div",6)(12,"div",14),o.DNE(13,Pp,0,0,"ng-template",15),o.k0s(),o.nVh(14,Xd,6,1,"div",16),o.k0s()()),2&m){let O,y,R;const ee=o.XpG(),He=o.sdS(4),_t=o.sdS(6),Bt=o.XpG();o.R7$(6),o.Y8G("ngTemplateOutlet",Bt.leftColumnTpl()||_t),o.R7$(2),o.vxM((O=ee.footerContact)?8:-1,O),o.R7$(),o.vxM((y=ee.columns)?9:-1,y),o.R7$(4),o.Y8G("ngTemplateOutlet",He),o.R7$(),o.vxM((R=ee.
17socialMediaIcons)?14:-1,R)}}function zd(m,f){}function bp(m,f){if(1&m&&(o.j41(0,"div",2)(1,"div",5)(2,"div",6)(3,"div",22),o.DNE(4,zd,0,0,"ng-template",15),o.k0s()()()()),2&m){o.XpG();const O=o.sdS(4);o.R7$(4),o.Y8G("ngTemplateOutlet",O)}}function Ys(m,f){1&m&&o.nrm(0,"shrd-ft-footer-print-layout")}function fu(m,f){if(1&m){const O=o.RV6();o.j41(0,"a",27),o.bIt("click",function(){c.eBV(O);const R=o.XpG().$implicit,ee=o.XpG(3);return c.Njj(ee.emitNavigationData("Legal Footer",R.title))}),o.EFF(1),o.k0s()}if(2&m){const O=o.XpG().$implicit;o.Y8G("shrdUtcRouterLink",O.url),o.R7$(),o.SpI(" ",O.title," ")}}function Qa(m,f){if(1&m&&(o.j41(0,"span",26),o.EFF(1),o.k0s()),2&m){const O=o.XpG().$implicit;o.R7$(),o.JRh(O.title)}}function Yd(m,f){if(1&m&&(o.j41(0,"li",24),o.nVh(1,fu,2,2,"a",25),o.nI1(2,"shrdPfValidUrl"),o.vZN(3,Qa,2,1,"span",26),o.k0s()),2&m){const O=f.$implicit;o.R7$(),o.vxM(o.bMT(2,1,O.url)?1:3)}}function Zo(m,f){if(1&m&&(o.j41(0,"div",18)(1,"ul",23),o.Z7z(2,Yd,4,3,"li",24,o.Vm6),o.k0s()()),2&m){const O=o.XpG();o.R7$(2),o.Dyx(O.legalLinks)}}function Jd(m,f){if(1&m&&(o.j41(0,"div",29)(1,"span",30),o.EFF(2),o.k0s()()),2&m){o.XpG();const O=o.r8f(0);o.R7$(2),o.JRh(O)}}function Rp(m,f){if(1&m&&(o.SS7(0),o.nI1(1,"i18nextOptionalText"),o.nrm(2,"shrd-pf-ui-logo",28),o.nVh(3,Jd,3,1,"div",29)),2&m){const O=o.bH3(o.bMT(1,4,"common.label.hiltiSlogan"));o.R7$(2),o.Y8G("small",!!O)("shrdUtcTrackEvent",o.lJ4(7,du))("navigationData",o.lJ4(8,hu)),o.R7$(),o.vxM(O?3:-1)}}function Os(m,f){if(1&m&&(o.nVh(0,Ap,15,5)(1,bp,5,1,"div",2),o.DNE(2,Ys,1,0,"shrd-ft-footer-print-layout",3)(3,Zo,4,0,"ng-template",null,0,o.C5r)(5,Rp,4,9,"ng-template",null,1,o.C5r)),2&m){const O=o.XpG();o.vxM(O.isCompressed()?1:0)}}let Zd=(()=>{var m;class f{constructor(){this.isCompressed=(0,u.hFB)(!1),this.isLoggedIn=(0,u.hFB)(!1),this.linksData=(0,u.hFB)(),this.leftColumnTpl=(0,u.hFB)(),this.showToolboxImage=(0,u.hFB)(!0),this.navigationData=(0,u.CGW)(),this.imageUrl=`url(${(0,c.WQX)(Ha.W).transform("/assets/images/bg-toolbox.webp")})`,this.sizeOption=Jo.V}emitNavigationData(y,R){this.navigationData.emit({navigationItem:y,navigationItemDetails:R})}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ft-page-footer-layout"]],hostAttrs:[1,"shrd-pf-ft-page-footer-layout"],hostVars:2,hostBindings:function(R,ee){2&R&&o.xc7("--bg-toolbox-image-url",ee.showToolboxImage()?ee.imageUrl:null)},inputs:{isCompressed:[1,"isCompressed"],isLoggedIn:[1,"isLoggedIn"],linksData:[1,"linksData"],leftColumnTpl:[1,"leftColumnTpl"],showToolboxImage:[1,"showToolboxImage"]},outputs:{navigationData:"navigationData"},decls:1,vars:1,consts:[["legalLinksTpl",""],["defaultLeftColumnTpl",""],[1,"bg-neutral-megalight"],[4,"shrdUtcIfPlatformBrowser"],[1,"d-print-none","footer-contents","bg-box","bg-footer"],[1,"container-fluid","mb
17-0"],[1,"row"],[1,"col"],[1,"content-box","content-columns"],[1,"py-4"],[4,"ngTemplateOutlet"],[1,"link-columns","bg-footer"],[3,"sectionTitle","links","isLast","isLoggedIn"],[1,"container-fluid","mt-3","mb-2","d-print-none"],[1,"col","col-24","col-md-18","col-lg-16"],[3,"ngTemplateOutlet"],[1,"col","col-24","mt-2","mt-md-0","col-md-6","col-lg-8"],[3,"linkClicked","sectionTitle","links","isLast","isLoggedIn"],[1,"content-box"],[1,"text-bold","mb-0"],["shrdUicButton","","variant","tertiaryMinorBorderless","target","_blank",1,"my-0",3,"href"],[3,"icon","size","inheritColor"],[1,"col","mt-2","mb-1"],[1,"basic-link-container","no-markers","mb-0"],[1,"pe-3"],["shrdUtcAutoTarget","",1,"basic-link",3,"shrdUtcRouterLink"],[1,"basic-link"],["shrdUtcAutoTarget","",1,"basic-link",3,"click","shrdUtcRouterLink"],[3,"small","shrdUtcTrackEvent","navigationData"],[1,"mt-1","mt-lg-3","mb-0","heading-xl","text-bold","text-light"],[1,"d-block","w-50","w-sm-100","w-lg-50"]],template:function(R,ee){if(1&R&&o.nVh(0,Os,7,1),2&R){let He;o.vxM((He=ee.linksData())?0:-1,He)}},dependencies:[kd.e,Ri._,Fd.e,Wd,Rd.m,Gc,Ro.T3,Wi.N,Jo.D,Fc.f,Fi.E,Ds.j,Ep.V,xr.ov,jd],styles:['.shrd-pf-ft-page-footer-layout{display:block}.shrd-pf-ft-page-footer-layout .bg-footer{background:linear-gradient(180deg,#bd051c 0,#d2051e 8.25rem)}.shrd-pf-ft-page-footer-layout .bg-footer.link-columns{box-shadow:inset 0 .625rem .625rem -.625rem #00000026}@media (min-width: 1440px){.shrd-pf-ft-page-footer-layout .bg-footer.link-columns{box-shadow:inset .625rem 0 .625rem -.625rem #00000026}:root[dir=rtl] .shrd-pf-ft-page-footer-layout .bg-footer.link-columns{box-shadow:inset -.625rem 0 .625rem -.625rem #00000026}}.shrd-pf-ft-page-footer-layout .bg-box{position:relative}.shrd-pf-ft-page-footer-layout .bg-box:before{content:"";display:block;position:absolute;inset-inline-start:0;height:100%;width:100%;background-position:-20rem -2.0625rem;background-image:var(--bg-toolbox-image-url)}:root[dir=rtl] .shrd-pf-ft-page-footer-layout .bg-box:before{transform:scaleX(-1)}@media (min-width: 1024px){.shrd-pf-ft-page-footer-layout .bg-box:before{background-position-x:-19.6875rem}}@media (min-width: 1440px){.shrd-pf-ft-page-footer-layout .bg-box:before{width:50%;background-position:-16.875rem 0}}@media (min-width: 1920px){.shrd-pf-ft-page-footer-layout .bg-box:before{background-position-x:calc(-16.875rem - ((120rem - 100vw)/2))}}.shrd-pf-ft-page-footer-layout .content-columns{position:relative}@media (min-width: 1440px){.shrd-pf-ft-page-footer-layout .content-columns{display:grid;grid-template-columns:calc(33% - 1.5625rem) auto}}.shrd-pf-ft-page-footer-layout .link-columns{display:grid;grid-column-gap:2.5rem;padding-top:2.0625rem;padding-bottom:2.0625rem}@media (max-width: 1439.98px){.shrd-pf-ft-page-footer-layout .link-columns{margin-left:-1.875rem;margin-right:-1.875rem;padding-left:1.875rem;padding-right:1.875rem}}@media (max-width: 1023.98px){.shrd-pf-ft-page-footer-layout .link-columns{margin-left:-1.5625rem;margin-right:-1.5625rem;padding-left:1.5625rem;padding-right:1.5625rem}}@media (min-width: 1024px){.shrd-pf-ft-page-footer-layout .link-columns{grid-template-columns:1fr 1fr 1fr 1fr;padding-top:2.75rem;padding-bottom:2.0625rem}}@media (min-width: 1440px){.shrd-pf-ft-page-footer-layout .link-columns{padding-inline-start:2.5rem}}.shrd-pf-ft-page-footer-layout .basic-link-container li{display:flex;margin-bottom:.6875rem}.shrd-pf-ft-page-footer-layout .basic-link-container .basic-link{font-weight:400;font-size:.8125rem;line-height:1.375rem;text-decoration:none}.shrd-pf-ft-page-footer-layout .basic-link-container a.basic-link:hover,.shrd-pf-ft-page-footer-layout .basic-link-container a.basic-link:focus{text-decoration:underline}@media (min-width: 1024px){.shrd-pf-ft-page-footer-layout .basic-link-container{display:flex;flex-direction:row;flex-wrap:wrap}.shrd-pf-ft-page-footer-layout .basic-link-container li{margin-bottom:0}}:host-context(.modal-open) .footer-contents{width:100vw;padding-inline-end:var(--scrollbar-width, 15px)}\n'],encapsulation:2,changeDetection:0}))}return m(),f})();const qd=["shrd-pf-ft-page-footer",""],U_=()=>[Promise.all([n.e(4292),n.e(2076),n.e(9578)]).then(n.bind(n,9578)).then(m=>
17m.UserSuggestedActionsInfoboxComponent)],pu=m=>({compressed:m});function Xc(m,f){if(1&m&&o.nrm(0,"shrd-pf-ft-live-chat-button",3),2&m){o.XpG();const O=o.r8f(0);o.Y8G("userData",O)}}function Sp(m,f){1&m&&(o.j41(0,"div",4),o.nrm(1,"shrd-pf-ft-user-suggested-actions-infobox"),o.k0s())}let oo=(()=>{var m;class f{constructor(){this.canShowInfobox=(0,c.vPA)(!1),this.sizeOption=Jo.V,this.footerLinks$=(0,c.WQX)(nt.H).footerLinks$,this.compressed$=(0,c.WQX)(Sd.r).isCompressed$,this.primaryLinks$=(0,c.WQX)(fa).primaryLinks$.pipe((0,vt.s)(1)),this.showLiveChatbotOnPageLoadToggle=Wc.Ls,this.analyticsService=(0,c.WQX)(Gs.c),this.breakpointService=(0,c.WQX)(da.d),this.suggestedActionsService=(0,c.WQX)(N_.r4),this.headerUserService=(0,c.WQX)(Xs.M),this.bannerService=(0,c.WQX)(up._),this.modalService=(0,c.WQX)(wc.B),this.isBrowser=(0,c.WQX)(Wt.f).isBrowser,this.bannerService.preloadDefaultBannerData(),this.subscribeToMarketingBanner(),this.userData$=this.headerUserService.getUserData$()}ngOnInit(){this.checkShowInfoBox()}storeNavigationData(y){this.analyticsService.storeData(y)}checkShowInfoBox(){this.suggestedActionsService.isInfoBoxAvailable$.subscribe(y=>{const R=y&&this.breakpointService.isWithinMaxBound(hp.EA.SM)&&!this.suggestedActionsService.disableMobileInfoBox;this.canShowInfobox.set(R)})}subscribeToMarketingBanner(){this.isBrowser&&this.bannerService.marketingBanner$.pipe((0,In.n)(y=>(0,s.O)(y.displayDelay||0).pipe((0,Be.T)(()=>y))),(0,mt.M)(y=>!this.modalService.hasOpenModals()&&this.openMarketingBannerModal(y))).subscribe()}openMarketingBannerModal(y){var R=this;return(0,Xe.A)(function*(){const{MarketingBannersComponent:ee}=yield Promise.all([n.e(4292),n.e(8120)]).then(n.bind(n,88120));R.modalService.open(ee,{size:Bc.r.SM,fitToContent:!0,windowClass:"marketing-banner-modal"},{banner:y})})()}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["footer","shrd-pf-ft-page-footer",""]],attrs:qd,decls:11,vars:17,consts:[[3,"navigationData","isCompressed","linksData","isLoggedIn"],[3,"userData",4,"shrdUtcFeatureToggleOn"],["shrd-pf-ft-menu-seo-only-links","",3,"primaryNavItems"],[3,"userData"],[1,"container-fluid","m-0"]],template:function(R,ee){if(1&R){const He=o.RV6();o.SS7(0),o.nI1(1,"async"),o.j41(2,"shrd-pf-ft-page-footer-layout",0),o.nI1(3,"async"),o.nI1(4,"async"),o.bIt("navigationData",function(Bt){return c.eBV(He),c.Njj(ee.storeNavigationData(Bt))}),o.k0s(),o.DNE(5,Xc,1,1,"shrd-pf-ft-live-chat-button",1),o.nrm(6,"nav",2),o.nI1(7,"async"),o.PeT(8,Sp,2,0),o.nv$(9,8,U_)}if(2&R){const He=o.bH3(o.bMT(1,6,ee.userData$));o.R7$(2),o.Y8G("isCompressed",o.eq3(15,pu,o.bMT(3,9,ee.compressed$)).compressed)("linksData",o.bMT(4,11,ee.footerLinks$))("isLoggedIn",He.isLoggedIn),o.R7$(3),o.Y8G("shrdUtcFeatureToggleOn",ee.showLiveChatbotOnPageLoadToggle),o.R7$(),o.Y8G("primaryNavItems",o.bMT(7,13,ee.primaryLinks$)),o.R7$(3),o.LVR(ee.canShowInfobox())}},dependencies:[Rd.m,Fi.E,x_,vp,dp.V,Zd,Ro.Jj],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}))}return m(),f})();var Xa=n(72268),zc=n(28949),Lp=n(74936),Np=n(65377),Yc=n(4135),eh=n(24464),th=n(23646),za=n(28798),xp=n(30661),nh=n(32286),rh=n(35733),gu=n(77941),Jc=n(26158),Ls=n(95337);let oh=(()=>{var m;class f{constructor(){this.destroyRef=(0,c.WQX)(c.abz),this.hashTrigger=(0,c.WQX)(gu.G9),this.headerUserService=(0,c.WQX)(Xs.M),this.menuState=(0,c.WQX)(Ls.S),this.modalService=(0,c.WQX)(wc.B)}init(){this.hashTrigger.registerHash(...Object.keys(Jc.t6)),this.hashTrigger.hashChange$.pipe((0,Be.T)(y=>Jc.t6[y]),(0,at.p)(y=>!!y),(0,rh.E)(this.headerUserService.getUserData$()),(0,lr.pQ)(this.destroyRef)).subscribe(([y,R])=>this.openContactModal(y,R)),this.menuState.close$.pipe((0,lr.pQ)(this.destroyRef)).subscribe(y=>this.contactModal?.dismiss())}openContactModal(y,R){var ee=this;return(0,Xe.A)(function*(){const{ContactModalComponent:He}=yield Promise.all([n.e(3650),n.e(7979),n.e(9589),n.e(1583),n.e(7236),n.e(25),n.e(1070)]).then(n.bind(n,68689));ee.contactModal?.dismiss(),ee.contactModal=ee.modalService.open(He,ee.getModalOptions(),{activeTab:y,userData:R})})()}getModalOptions(){return{closeOnNavigation:!1,windowClass:"page-frame-contact-modal",hashId:!1,centered:!1,fitToContent:!0}}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return m(),f})(),ih=(()=>{var m;class f{static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ft-burger-button"]],decls:3,vars:4,consts:[["shrdUicButton","","type","button","variant","tertiaryMinorBorderless",1,"m-0","burger-menu
17-button"],["icon","hamburger",3,"inheritColor"]],template:function(R,ee){1&R&&(o.j41(0,"button",0),o.nI1(1,"i18next"),o.nrm(2,"shrd-uic-svg-icon",1),o.k0s()),2&R&&(o.BMQ("aria-label",o.bMT(1,2,"header.icon.hamburger")),o.R7$(2),o.Y8G("inheritColor",!0))},dependencies:[Ri._,Jo.D,xr.ov],styles:["[_nghost-%COMP%]{z-index:1005}body:not(.is-compressed-page-layout)[_nghost-%COMP%] .burger-menu-button[_ngcontent-%COMP%], body:not(.is-compressed-page-layout) [_nghost-%COMP%] .burger-menu-button[_ngcontent-%COMP%]{color:#fff}"],changeDetection:0}))}return m(),f})();var mu=n(90826),ma=n(42673),sh=n(24143),Zc=n(34468),qc=n(1018);let el=(()=>{var m;class f{constructor(){this.btnVariant="tertiaryMinorBorderlessNeutralDark",this.btnClasses="",this.iconsName=zs.i,this.cartUrl=mu.t.cart,this.cartAmount$=(0,c.WQX)(zc.mx).cartAmount$,this.headerTrackingService=(0,c.WQX)(sh.w)}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ft-header-cart"]],inputs:{btnVariant:"btnVariant",btnClasses:"btnClasses",title:"title",trackingName:"trackingName"},decls:7,vars:11,consts:[["shrdUicButton","","data-qa-id","header-cart-link",1,"meta-nav-item",3,"click","shrdUtcRouterLink","variant","shrdUtcCountIndicator","scaleIn"],["shrdPfUiMaxWidth","",1,"visually-hidden-sm-down","no-truncate"],[3,"inheritColor","icon"]],template:function(R,ee){if(1&R){const He=o.RV6();o.SS7(0),o.nI1(1,"async"),o.j41(2,"shrd-pf-ui-meta-nav-item")(3,"a",0),o.bIt("click",function(){return c.eBV(He),c.Njj(ee.headerTrackingService.storeNavigationData("Top Menu",ee.trackingName))}),o.j41(4,"span",1),o.EFF(5),o.k0s(),o.nrm(6,"shrd-uic-svg-icon",2),o.k0s()()}if(2&R){const He=o.bMT(1,9,ee.cartAmount$);o.R7$(3),o.HbH(ee.btnClasses),o.Y8G("shrdUtcRouterLink",ee.cartUrl)("variant",ee.btnVariant)("shrdUtcCountIndicator",He)("scaleIn",!0),o.R7$(2),o.JRh(ee.title),o.R7$(),o.Y8G("inheritColor",!0)("icon",He?ee.iconsName.CART_FULL:ee.iconsName.CART_EMPTY)}},dependencies:[Ri._,Jo.D,za.o,ma.U,Zc.b,qc.m,Ds.j,Ro.Jj],styles:["[_nghost-%COMP%]{display:flex;align-items:center;z-index:1}"],changeDetection:0}))}return m(),f})();var ah=n(68214),Ya=function(m){return m.QA="QA",m.AM="AM",m.EV="EV",m}(Ya||{}),_u=function(m){return m.QA="is-qa-mode",m.AM="is-ts-mode",m}(_u||{}),Ja=n(47744);let vu=(()=>{var m;class f{constructor(){this.userContext=(0,c.WQX)(cn.i),this.cookieService=(0,c.WQX)(Ja.O),this.ftService=(0,c.WQX)(An.I)}getMode$(){return this.userContext.update$().pipe((0,Va.Z)(null),(0,Be.T)(y=>[{class:_u.QA,...this.getQaData()},{class:_u.AM,...this.getEmployeeData()}].filter(R=>!!R.type)))}getQaData(){const y=this.cookieService.get(Oe.oH);return y?{type:Ya.QA,data:{label:y}}:null}getEmployeeData(){const y=this.userContext.isAccountManager,R=this.userContext.isEVoucherBackofficeUser&&this.ftService.getToggleById(ah.on);if(y||R){const ee={type:y?Ya.AM:Ya.EV};return!this.userContext.preventUserDataCaching&&this.userContext.hasData&&(ee.data=y?this.getAmData():this.getEvData()),ee}return null}getAmData(){const{company:y,company2:R}=this.userContext.account.address||{},{contact:{firstName:ee,lastName:He},preselectedShipToId:_t}=this.userContext;return{company:y,company2:R,firstName:ee,lastName:He,preselectedShipToId:_t}}getEvData(){const{contact:{formatted:y}}=this.userContext;return{formatted:y}}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return m(),f})();const ch=m=>({"d-none d-md-inline":m}),_a=(m,f)=>f.type;function lh(m,f){if(1&m){const O=o.RV6();o.j41(0,"a",6),o.EFF(1),o.k0s(),o.j41(2,"button",7),o.bIt("click",function(){c.eBV(O);const R=o.XpG(2);return c.Njj(R.removeLabel())}),o.nrm(3,"shrd-uic-svg-icon",8),o.k0s()}if(2&m){const O=o.XpG().$implicit,y=o.XpG();o.R7$(),o.SpI("QA MODE: ",O.data.label),o.R7$(2),o.Y8G("size",y.sizeOption.SMALL)("icon",y.iconName.CROSS)("inheritColor",!0)}}function wp(m,f){1&m&&o.EFF(0),2&m&&o.SpI(" Ship-To: ",f," - ")}function uh(m,f){if(1&m&&(o.EFF(0),o.j41(1,"span",12),o.EFF(2),o.k0s(),o.EFF(3," - "),o.nVh(4,wp,1,1),o.EFF(5),o.nI1(6,"i18next")),2&m){let O;const y=o.XpG();o.SpI(" ",y.company," "),o.R7$(2),o.JRh(y.company2),o.R7$(2),o.vxM((O=y.preselectedShipToId)?4:-1,O),o.R7$(),o.E5c(" ",o.bMT(6,6,"header.meta.contact"),": ",y.firstName," ",y.lastName," ")}}function Bp(m,f){if(1&m&&o.EFF(0),2&m){const O=o.XpG();o.SpI(" ",O.formatted," ")}}function Eu(m,f){if(1&m&&o.nVh(0,uh,7,8)(1,Bp,1,1),2&m){const O=o.XpG(2).$implicit,y=o.XpG();o.vxM(y.modeType.AM===O.type?0:1)}}function Za(m,f){if(1&m&&(o.j41(0,"div",5)(1,"span",9)(2,"span",10),o.EFF(3),o.nI1(4,"i18next"),o.k0s(),o.nVh(5,Eu,2,1),o.k0s(),o.j41(6,"a",11)(7,"span"),o.EFF(8),o.nI1(9,"i18next"),o.k0s(),o.nrm(10,"shrd-uic-svg-icon",8),o.k0s()()),2&m){let O;const y=o.XpG().$implicit,R=o.XpG();o.R7$(2),o.Y8G("ngClass",o.eq3(12,ch,R.modeType.AM===y.type)),o.R7$(),o.SpI(" ",o.bMT(4,8,"header.account.loggedInAs")," "),o.R7$(2),o.vxM((O=y.data)?5:-1,O),o.R7$(),o.Y8G("href",R.eVoucherRoute,o.B4B),o.R7$(2),o.JRh(o.bMT(9,10,"header.label.eVoucherHub")),o.R7$(2),o.Y8G("size",R.sizeOption.SMALL)("icon",R.iconName.SHIPMENT)("inheritColor",!0)}}function Cu(m,f){if(1&m&&(o.j41(0,"div")(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),o.nVh(5,lh,4,4)(6,Za,11,14,"div",5),o.k0s()()()()()),2&m){const O=f.$implicit,y=o.XpG();o.HbH(O.class),o.R7$(5),o.vxM(O.type===y.modeType.QA?5:6)}}let dh=(()=>{var m;class f{constructor(){this.modeType=Ya,this.sizeOption=Jo.V,this.iconName=zs.i,this.eVoucherRoute=`/${Ua.g.BASE}`,this.modes$=this.getModes$(),this.document=(0,c.WQX)(c.qQL),this.renderer=(0,c.WQX)(o.sFG),this.cookieService=(0,c.WQX)(Ja.O),this.win=(0,c.WQX)(jt.$).nativeWindow}removeLabel(){this.cookieService.delete(Oe.oH),this.win.location.reload()}getModes$(){return(0,c.WQX)(vu).getMode$().pipe((0,mt.M)(y=>y.forEach(R=>this.renderer.addClass(this.document.body,R.class))))}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ft-header-logged-mode"]],decls:3,vars:2,consts:[[3,"class"],[1,"container-fluid","my-0"],[1,"row"],[1,"col-24"],[1,"content-box","pb-0","pt-0","heading-xs","m-0","text-truncate","text-bold","bl-h-2","d-flex","align-items-center"],[1,"d-flex","justify-content-between","align-items-center","w-100"],["href","/toggles/qalabel",1,"text-white","text-decoration-none"],["type","button",1,"d-inline-flex","bg-light","p-0","ms-auto","btn-remove-label",3,"click"],[3,"size","icon","inheritColor"],[1,"logged-text","pe-2"],[3,"ngClass"],["shrdUicButton","","variant","link",1,"m-0","text-white","bl-h-2","flex-shrink-0","link-evouchers",3,"href"],[1,"d-none","d-md-inline"]],template:function(R,ee){1&R&&(o.Z7z(0,Cu,7,3,"div",0,_a),o.nI1(2,"async")),2&R&&o.Dyx(o.bMT(2,0,ee.modes$))},dependencies:[Ro.YU,Fi.E,Ri._,Jo.D,Ro.Jj,xr.ov],styles:["[_nghost-%COMP%]{display:none;color:#fff;z-index:1;position:relative;transition:transform .25s ease-out;box-shadow:0 -.625rem .625rem .625rem #00000026}[_nghost-%COMP%] .is-qa-mode[_ngcontent-%COMP%]{background-color:#671a3d}[_nghost-%COMP%] .is-ts-mode[_ngcontent-%COMP%]{background-color:#d2051e}[_nghost-%COMP%] .logged-text[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[_nghost-%COMP%] .btn-remove-label[_ngcontent-%COMP%]{width:1rem;height:1rem;opacity:.6}[_nghost-%COMP%] .btn-remove-label[_ngcontent-%COMP%]:hover{opacity:1}[_nghost-%COMP%] .btn-remove-label[_ngcontent-%COMP%] .shrd-uic-svg-icon[_ngcontent-%COMP%]{transform:scale(.8);transform-origin:.25rem}@media screen and (min-height: 650px){.header-minimized[_nghost-%COMP%], .header-minimized [_nghost-%COMP%]{transition:transform .3s ease-in-out;transform:translateY(4.8125rem)}}.is-qa-mode[_nghost-%COMP%], .is-qa-mode [_nghost-%COMP%], .is-ts-mode[_nghost-%COMP%], .is-ts-mode [_nghost-%COMP%]{display:block}.link-evouchers[_ngcontent-%COMP%]{font-size:.8125rem}"],changeDetection:0}))}return m(),f})();var Up=n(84825),Fp=n(16514),yu=n(21855),Ms=n(10409);let hh=(()=>{var m;class f{constructor(){this.item=(0,u.hFB)(),this.isProductMenu=(0,Xr.EW)(()=>this.item().menuType===ha.O7.PRODUCTS),this.flyout=(0,u.ebz)(Ms.fA),this.hashTriggerService=(0,c.WQX)(gu.G9),this.stateService=(0,c.WQX)(Ls.S),this.destroyRef=(0,c.WQX)(c.abz),this.zone=(0,c.WQX)(o.SKi)}ngAfterViewInit(){this.restoreMenuState(),this.subscribeToHashChange(),this.stateService.close$.pipe((0,lr.pQ)(this.destroyRef)).subscribe(y=>this.closeFlyout())}handleFlyoutVisibilityChange(y){y?this.stateService.setState({id:this.item().id}):this.item().id===this.stateService.state.id&&this.stateService.setState(null)}ngOnDestroy(){this.closeFlyout()}closeFlyout(){this.flyout().close()}restoreMenuState(){this.stateService.state.id===this.item().id&&this.zone.run(()=>this.flyout().open())}subscribeToHashChange(){const y=this.item().hash?.replace(gu.zA,"").replace(/&.*/,"");if(y){const R=y+".*",ee=new RegExp(R);this.hashTriggerService.registerHash(R),this.hashTriggerService.hashChange$.pipe((0,at.p)(He=>ee.test(He)),(0,lr.pQ)(this.destroyRef)).subscribe(He=>this.flyout().open())}}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275dir=o.FsC({type:f,viewQuery:function(R,ee){1&R&&o.wEZ(ee.flyout,Ms.fA,5),2&R&&o.NyB()},hostAttrs:[1,"mega-menu-item"],inputs:{item:[1,"item"]}}
17))}return m(),f})();var tl=n(64838);function fh(m,f){if(1&m&&o.nrm(0,"shrd-pf-ui-product-menu-links",6),2&m){const O=o.XpG(2);o.Y8G("menuItem",O.item())("inFlyout",!0)}}function ph(m,f){if(1&m&&o.nrm(0,"shrd-pf-ui-editorial-menu-links",7),2&m){const O=o.XpG(2);o.Y8G("menuItem",O.item())("inFlyout",!0)}}function Du(m,f){if(1&m&&(o.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"shrd-uic-flyout-body",5),o.nVh(4,fh,1,2,"shrd-pf-ui-product-menu-links",6)(5,ph,1,2,"shrd-pf-ui-editorial-menu-links",7),o.k0s()()()()),2&m){const O=o.XpG();o.R7$(3),o.Y8G("hasGrid",!1)("autoUpdateFocusScope",O.isProductMenu()),o.R7$(),o.vxM(O.isProductMenu()?4:5)}}let gh=(()=>{var m;class f extends hh{static#e=m=()=>(this.\u0275fac=(()=>{let y;return function(ee){return(y||(y=o.xGo(f)))(ee||f)}})(),this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ft-header-mega-menu-item"]],features:[o.Vt3],decls:5,vars:6,consts:[["popoverContent",""],["type","button","shrdUicButton","","variant","headerNav","shrdUicFlyout","",3,"visibilityChange","ngbPopover","placeInStickyParent","showWhiteArrow"],[1,"mega-menu-popover","container-fluid","d-none","d-md-block"],[1,"row"],[1,"col-24"],[1,"header-mega-menu-item-flyout-body","py-0",3,"hasGrid","autoUpdateFocusScope"],[1,"links-container","px-1",3,"menuItem","inFlyout"],[1,"pt-1","pb-2","links-container","content-box",3,"menuItem","inFlyout"]],template:function(R,ee){if(1&R){const He=o.RV6();o.j41(0,"button",1),o.bIt("visibilityChange",function(Bt){return c.eBV(He),c.Njj(ee.handleFlyoutVisibilityChange(Bt))}),o.j41(1,"span"),o.EFF(2),o.k0s()(),o.DNE(3,Du,6,3,"ng-template",null,0,o.C5r)}if(2&R){const He=o.sdS(4);o.AVh("active",ee.item().active),o.Y8G("ngbPopover",He)("placeInStickyParent",!0)("showWhiteArrow",!0),o.R7$(2),o.JRh(ee.item().title)}},dependencies:[Ri._,yu.G,Ms.fA,tl.T,Xa.ZM,Up.ig,Fp.S],styles:[".header-mega-menu-item-flyout-body.shrd-uic-flyout-body .shrd-uic-flyout-body-container.has-scrollbar{max-height:calc(100vh - 8.25rem)!important}.header-minimized .header-mega-menu-item-flyout-body.shrd-uic-flyout-body .shrd-uic-flyout-body-container.has-scrollbar{max-height:calc(100vh - 4.125rem)!important}.header-mega-menu-item-flyout-body.shrd-uic-flyout-body .shrd-uic-flyout-body-container.has-scrollbar.scrollbar-vertical-shown .links-container{padding-right:.34375rem}\n"],encapsulation:2,changeDetection:0}))}return m(),f})();const Ou=m=>({navigationItem:"Main Menu",navigationItemDetails:m}),Js=(m,f)=>f.id;function mh(m,f){if(1&m&&o.nrm(0,"shrd-pf-ft-header-mega-menu-item",0),2&m){const O=o.XpG().$implicit;o.Y8G("item",O)}}function nl(m,f){if(1&m&&(o.j41(0,"a",2)(1,"span"),o.EFF(2),o.k0s()()),2&m){const O=o.XpG().$implicit;o.AVh("active",O.active),o.Y8G("shrdUtcRouterLink",O.url)("navigationData",o.eq3(5,Ou,O.title)),o.R7$(2),o.JRh(O.title)}}function Mu(m,f){if(1&m&&o.nVh(0,mh,1,1,"shrd-pf-ft-header-mega-menu-item",0)(1,nl,3,7,"a",1),2&m){const O=f.$implicit,y=o.XpG();o.vxM(y.isBrowser&&null!=O.childList&&O.childList.length?0:1)}}let rl=(()=>{var m;class f{constructor(){this.primaryNavItems=(0,u.hFB)(),this.isBrowser=(0,c.WQX)(Wt.f).isBrowser}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ft-mega-menu"]],hostAttrs:["ngSkipHydration","true"],inputs:{primaryNavItems:[1,"primaryNavItems"]},decls:2,vars:0,consts:[[3,"item"],["shrdUicButton","","variant","headerNav","shrdUtcTrackEvent","",1,"mega-menu-item",3,"active","shrdUtcRouterLink","navigationData"],["shrdUicButton","","variant","headerNav","shrdUtcTrackEvent","",1,"mega-menu-item",3,"shrdUtcRouterLink","navigationData"]],template:function(R,ee){1&R&&o.Z7z(0,Mu,2,1,null,null,Js),2&R&&o.Dyx(ee.primaryNavItems())},dependencies:[Ri._,gh,Fc.f,Ds.j],styles:["[_nghost-%COMP%] .mega-menu-item[_ngcontent-%COMP%]{margin:0 .625rem}@media (min-width: 1440px){[_nghost-%COMP%] .mega-menu-item[_ngcontent-%COMP%]{margin:0 .9375rem}}[_nghost-%COMP%] .mega-menu-item[_ngcontent-%COMP%]:first-child{margin-inline-start:0}[_nghost-%COMP%] .mega-menu-item[_ngcontent-%COMP%]:last-child{margin-inline-end:0}"],changeDetection:0}))}return m(),f})(),Wp=(()=>{var m;class f{constructor(){this.btnVariant="tertiaryMinorBorderlessNeutralDark",this.btnClasses="",this.iconsName=zs.i,this.ordersUrl=mu.t.orders,this.headerTrackingService=(0,c.WQX)(sh.w)}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ft-header-orders"]
17],inputs:{btnVariant:"btnVariant",btnClasses:"btnClasses",title:"title",trackingName:"trackingName"},decls:5,vars:7,consts:[["shrdUicButton","","data-qa-id","header-orders-link",1,"meta-nav-item",3,"click","shrdUtcRouterLink","variant"],["shrdPfUiMaxWidth","",1,"visually-hidden-sm-down","no-truncate"],[3,"inheritColor","icon"]],template:function(R,ee){1&R&&(o.j41(0,"shrd-pf-ui-meta-nav-item")(1,"a",0),o.bIt("click",function(){return ee.headerTrackingService.storeNavigationData("Top Menu",ee.trackingName)}),o.j41(2,"span",1),o.EFF(3),o.k0s(),o.nrm(4,"shrd-uic-svg-icon",2),o.k0s()()),2&R&&(o.R7$(),o.HbH(ee.btnClasses),o.Y8G("shrdUtcRouterLink",ee.ordersUrl)("variant",ee.btnVariant),o.R7$(2),o.JRh(ee.title),o.R7$(),o.Y8G("inheritColor",!0)("icon",ee.iconsName.TRUCK))},dependencies:[Ri._,Jo.D,ma.U,Zc.b,qc.m,Ds.j],styles:["[_nghost-%COMP%]{display:flex;align-items:center;z-index:1}"],changeDetection:0}))}return m(),f})();const _h=["*"];function kp(m,f){if(1&m&&(o.j41(0,"shrd-uic-flyout-body",4),o.SdG(1),o.k0s()),2&m){const O=o.XpG();o.Y8G("ngClass",O.flyoutClass)("scrollbarEnabled",!1)("hasGrid",!1)}}let jp=(()=>{var m;class f{constructor(){this.stateService=(0,c.WQX)(Ls.S)}onVisibilityChange(y){this.isOpen=y}ngAfterContentInit(){this.closeSubscription=this.stateService.close$.subscribe(y=>this.flyout.close())}ngOnDestroy(){this.closeSubscription?.unsubscribe()}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ft-meta-popover"]],viewQuery:function(R,ee){if(1&R&&o.GBs(Ms.fA,5),2&R){let He;
17o.mGM(He=o.lsd())&&(ee.flyout=He.first)}},inputs:{navItem:"navItem",flyoutClass:"flyoutClass",buttonCustomMaxWidth:"buttonCustomMaxWidth",qaId:"qaId"},ngContentSelectors:_h,decls:7,vars:12,consts:[["popoverTemplate",""],["type","button","shrdUicButton","","variant","tertiaryMinorBorderlessNeutralDark","shrdUicFlyout","","placement","bottom",1,"my-0","meta-nav-item",3,"visibilityChange","ngbPopover","autoPosFixedWidth","placeInStickyParent","showWhiteArrow"],[3,"shrdPfUiMaxWidth","update","ngClass"],[3,"inheritColor","icon"],[1,"d-none","d-md-block","p-0",3,"ngClass","scrollbarEnabled","hasGrid"]],template:function(R,ee){if(1&R){const He=o.RV6();o.NAR(),o.j41(0,"shrd-pf-ui-meta-nav-item")(1,"button",1),o.bIt("visibilityChange",function(Bt){return c.eBV(He),c.Njj(ee.onVisibilityChange(Bt))}),o.j41(2,"span",2),o.EFF(3),o.k0s(),o.nrm(4,"shrd-uic-svg-icon",3),o.k0s()(),o.DNE(5,kp,2,3,"ng-template",null,0,o.C5r)}if(2&R){const He=o.sdS(6);o.R7$(),o.Y8G("ngbPopover",He)("autoPosFixedWidth",!0)("placeInStickyParent",!0)("showWhiteArrow",!0),o.BMQ("data-qa-id",ee.qaId)("aria-label",ee.navItem.headerLabel?ee.navItem.headerLabel+", "+ee.navItem.title:null),o.R7$(),o.Y8G("shrdPfUiMaxWidth",ee.buttonCustomMaxWidth)("update",ee.navItem)("ngClass",ee.buttonCustomMaxWidth?"btn-truncate-1":"no-truncate"),o.R7$(),o.SpI(" ",ee.navItem.titleShort||ee.navItem.title,"\u200e "),o.R7$(),o.Y8G("inheritColor",!0)("icon",ee.navItem.icon)}},dependencies:[ma.U,Zc.b,qc.m,Ri._,yu.G,Ms.fA,tl.T,Xa.ZM,Ro.YU,Jo.D],styles:["[_nghost-%COMP%]{display:flex;align-items:center;z-index:1}.contact-popover[_ngcontent-%COMP%]{width:43.75rem}.btn-truncate-1[_ngcontent-%COMP%]{text-overflow:ellipsis;display:inline!important}"],changeDetection:0}))}return m(),f})();var Tu=n(64672),ol=n(19799),Ns=n(85174);const Vp=()=>[Promise.all([n.e(5060),n.e(1403),n.e(9125),n.e(1205),n.e(6434)]).then(n.bind(n,6434)).then(m=>m.SearchFlyoutComponent),Ro.Jj];function Hp(m,f){if(1&m&&(o.nrm(0,"shrd-pf-ft-header-search-flyout",5,1),o.nI1(2,"async")),2&m){const O=o.XpG(),y=o.r8f(7);o.Y8G("hasFlyout",O.hasFlyout())("searchSuggestions",y)("searchTerm",o.bMT(2,3,O.searchTerm$))}}let Iu=(()=>{var m;class f{constructor(){this.searchFocused=(0,u.CGW)(),this.hasFlyout=(0,c.vPA)(!1),this.hasFocus=(0,c.vPA)(null),this.searchInput=(0,u.ebz)(Ns.R),this.document=(0,c.WQX)(c.qQL),this.backdrop=(0,c.WQX)(ol.u),this.element=(0,c.WQX)(o.aKT).nativeElement,this.suggestionService=(0,c.WQX)(ka.OG),this.menuState=(0,c.WQX)(Ls.S),this.destroyRef=(0,c.WQX)(c.abz),this.hasTerm=!1,this.isLoading$=this.suggestionService.isLoading$(),this.searchTerm$=this.suggestionService.getSearchTerm$(),this.searchSuggestions$=this.getSearchSuggestions$(),(0,o.mal)(()=>this.subscribeToMenuClose()),(0,u.uEv)(()=>{const y=this.hasFocus();null!==y&&this.searchFocused.emit(y)})}ngOnDestroy(){this.removeBackdrop(),this.hasFocus.set(!1)}onInputFocusIn(){this.hasFocus.set(!0),this.addBackdrop(),Tu.E.schedule(()=>this.openFlyout(),350)}onInputFocusOut(){this.document.hasFocus()&&!this.element.contains(this.document.activeElement)&&this.closeFlyout()}restoreInitialState(){this.document.hasFocus()&&this.hasFocus()&&(this.closeFlyout(),this.hasFocus.set(!1),this.removeBackdrop(),this.searchInput().blur())}closeFlyout(){this.hasFlyout.set(!1)}openFlyout(){this.hasTerm&&this.hasFocus()&&!this.hasFlyout()&&(this.hasFlyout.set(!0),this.scheduleFocusInput())}getSearchSuggestions$(){return this.suggestionService.searchSuggestions$.pipe((0,mt.M)(({hasValidTerm:y})=>{this.hasTerm=y,y?this.openFlyout():this.closeFlyout()}))}addBackdrop(){this.backdrop.create({hostClasses:["z-fixed"]})}removeBackdrop(){this.backdrop.remove()}scheduleFocusInput(){Tu.E.schedule(()=>this.searchInput().focus())}subscribeToMenuClose(){this.menuState.close$.pipe((0,lr.pQ)(this.destroyRef)).subscribe(()=>this.restoreInitialState())}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ft-search-popover"]],viewQuery:function(R,ee){1&R&&o.wEZ(ee.searchInput,Ns.R,5),2&R&&o.NyB()},hostAttrs:[1,"shrd-pf-ft-search-popover"],hostVars:2,hostBindings:function(R,ee){1&R&&o.bIt("keydown.escape",function(){return ee.closeFlyout()}),2&R&&o.AVh("has-focus",ee.hasFocus())},outputs:{searchFocused:"searchFocused"},decls:12,vars:12,consts:[["searchInput",""],["flyout",""],["ariaControl
17s","header-search-flyout",3,"focusChange","usePreloader","loading","ariaExpanded","placeholderKey"],["id","header-search-flyout","role","dialog","aria-modal","true","aria-labelledby","search-suggestions-description",1,"position-absolute","w-100"],["id","search-suggestions-description",1,"visually-hidden"],[3,"hasFlyout","searchSuggestions","searchTerm"]],template:function(R,ee){if(1&R){const He=o.RV6();o.j41(0,"shrd-pf-ft-search-input",2,0),o.nI1(2,"async"),o.bIt("focusChange",function(Bt){return c.eBV(He),c.Njj(Bt?ee.onInputFocusIn():ee.onInputFocusOut())}),o.k0s(),o.j41(3,"div",3)(4,"p",4),o.EFF(5),o.nI1(6,"i18next"),o.k0s(),o.SS7(7),o.nI1(8,"async"),o.PeT(9,Hp,3,5),o.nv$(10,9,Vp),o.KSk(0),o.k0s()}2&R&&(o.Y8G("usePreloader",ee.hasFocus())("loading",o.bMT(2,5,ee.isLoading$))("ariaExpanded",ee.hasFlyout())("placeholderKey",ee.hasFocus()?"header.search.placeholderDesktop":"header.search.placeholder"),o.R7$(5),o.SpI(" ",o.bMT(6,7,"header.search.suggestionsDescription")," "),o.R7$(2),o.bH3(o.bMT(8,9,ee.searchSuggestions$)))},dependencies:[Ns.R,Fi.E,Ro.Jj,xr.ov],styles:[".shrd-pf-ft-search-popover{flex-basis:16.25rem;transition:flex-basis .4s ease}.shrd-pf-ft-search-popover.has-focus{transition-delay:.25s;transition-duration:.5s;flex-basis:100%}@media (min-width: 1440px){.shrd-pf-ft-search-popover.has-focus{flex-basis:84.25rem}}\n"],encapsulation:2,changeDetection:0}))}return m(),f})();var $p=n(65213),Kp=n(15806),Pu=n(40779),Au=n(82519);const Eh=m=>({$implicit:m}),Ch=m=>({activeTab:m});function F_(m,f){if(1&m&&(o.EFF(0),o.nrm(1,"shrd-pf-ui-header-user-name",5)),2&m){const O=o.XpG(3);o.SpI(" ",O.userNameAbTesting().data," | "),o.R7$(),o.Y8G("user",O.userData.selectedAccount.contact)}}function Gp(m,f){1&m&&o.EFF(0),2&m&&o.SpI(" (",f,")\u200e ")}function Qp(m,f){if(1&m&&(o.nrm(0,"shrd-pf-ui-header-user-name",5),o.nVh(1,Gp,1,1)),2&m){let O;const y=o.XpG(3);o.Y8G("user",y.userData.selectedAccount.contact),o.R7$(),o.vxM((O=null==y.userData.selectedAccount?null:y.userData.selectedAccount.originId)?1:-1,O)}}function Xp(m,f){if(1&m&&o.nVh(0,F_,2,2)(1,Qp,2,2),2&m){const O=o.XpG(2);o.vxM(O.userNameAbTesting().enabled&&O.userNameAbTesting().data?0:1)}}function bu(m,f){1&m&&(o.EFF(0),o.nI1(1,"i18next")),2&m&&o.SpI(" ",o.bMT(1,1,"header.account.registrationPending")," ")}function zp(m,f){if(1&m&&(o.j41(0,"span",3),o.nVh(1,Xp,2,1)(2,bu,2,3),o.k0s()),2&m){const O=o.XpG();o.Y8G("update",O.userData)("hidden",O.userData.isLoading)("slideEnabled",!O.userData.isLoading),o.R7$(),o.vxM(O.userData.isRegistered?1:2)}}function il(m,f){1&m&&o.eu8(0)}function Yp(m,f){if(1&m&&(o.j41(0,"div",6)(1,"div",7)(2,"div",8),o.DNE(3,il,1,0,"ng-container",9),o.k0s()()()),2&m){const O=o.XpG().$implicit;o.XpG();const y=o.sdS(7);o.R7$(3),o.Y8G("ngTemplateOutlet",y)("ngTemplateOutletContext",o.eq3(2,Eh,O))}}function sl(m,f){1&m&&o.eu8(0)}function al(m,f){if(1&m&&o.DNE(0,sl,1,0,"ng-container",10),2&m){o.XpG(2);const O=o.sdS(7);o.Y8G("ngTemplateOutlet",O)}}function W_(m,f){if(1&m&&o.nVh(0,Yp,4,4,"div",6)(1,al,1,1,"ng-container"),2&m){const O=o.XpG();o.vxM(O.userData.accountMenuEnabled?0:1)}}function yh(m,f){1&m&&o.eu8(0)}function Ru(m,f){if(1&m&&(o.j41(0,"shrd-uic-flyout-body",11),o.DNE(1,yh,1,0,"ng-container",9),o.k0s()),2&m){const O=f.$implicit,y=o.XpG();o.AVh("flyout-fixed-width",!y.userData.accountMenuEnabled),o.Y8G("scrollbarEnabled",!1)("hasGrid",!1)("autoUpdateFocusScope",!0),o.R7$(),o.Y8G("ngTemplateOutlet",y.contentRef)("ngTemplateOutletContext",o.eq3(7,Ch,O))}}const qa="abt_header_user_name";let Jp=(()=>{var m;class f{constructor(){this.notificationsStateService=(0,c.WQX)(nh.p),this.unsubscribe$=new ze.B,this.stateService=(0,c.WQX)(Ls.S),this.abTestingEventListenerService=(0,c.WQX)(Pu.D),this.userNameAbTesting=this.abTestingEventListenerService.observeExperiment(qa),(0,Xr.QZ)(()=>{this.userNameAbTesting()&&(this.userData={...this.userData})})}ngAfterViewInit(){this.stateService.close$.pipe((0,$p.Q)(this.unsubscribe$)).subscribe(y=>this.flyout.close()),this.stateService.state$.pipe((0,at.p)(({id:y})=>y===ha.vG.USER_ACCOUNT),(0,$p.Q)(this.unsubscribe$)).subscribe(({subId:y})=>this.flyout.open({$implicit:y}))}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete(),this.abTestingEventListenerService.cleanupExperiment(qa)}handleFlyoutVisibilityChange(y){y||this.notificationsStateService.highlightTab(!1)}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ft-user-popover"]],viewQuery:function(R,ee){if(1&R&&o.GBs(Ms.fA,5),2&R){let He;
17o.mGM(He=o.lsd())&&(ee.flyout=He.first)}},inputs:{userData:"userData",contentRef:"contentRef"},decls:8,vars:10,consts:[["flyoutRegisteredUser",""],["flyoutBody",""],["shrdUicButton","","type","button","variant","tertiaryMinorBorderlessNeutralDark","shrdUicFlyout","","placement","bottom",1,"my-0","text-center","meta-nav-item",3,"visibilityChange","ngbPopover","shrdUtcCountIndicator","scaleIn","autoPosFixedWidth","placeInStickyParent","showWhiteArrow"],["shrdPfUiMaxWidth","","shrd-pf-ft-user-slide","",1,"no-truncate",3,"update","hidden","slideEnabled"],["icon","profile",3,"inheritColor"],[3,"user"],[1,"container-fluid"],[1,"row"],[1,"col-24"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],[1,"p-0","d-none","d-md-block",3,"scrollbarEnabled","hasGrid","autoUpdateFocusScope"]],template:function(R,ee){if(1&R){const He=o.RV6();o.j41(0,"button",2),o.nI1(1,"async"),o.bIt("visibilityChange",function(Bt){return c.eBV(He),c.Njj(ee.handleFlyoutVisibilityChange(Bt))}),o.nVh(2,zp,3,4,"span",3),o.nrm(3,"shrd-uic-svg-icon",4),o.k0s(),o.DNE(4,W_,2,1,"ng-template",null,0,o.C5r)(6,Ru,2,9,"ng-template",null,1,o.C5r)}if(2&R){let He;const _t=o.sdS(5);o.Y8G("ngbPopover",_t)("shrdUtcCountIndicator",null==(He=o.bMT(1,8,ee.notificationsStateService.notificationsState$))?null:He.notificationsCount)("scaleIn",!0)("autoPosFixedWidth",!ee.userData.accountMenuEnabled)("placeInStickyParent",!0)("showWhiteArrow",!0),o.R7$(2),o.vxM(ee.userData.isLoading?-1:2),o.R7$(),o.Y8G("inheritColor",!0)}},dependencies:[Ro.T3,Ri._,za.o,yu.G,Ms.fA,tl.T,Xa.ZM,ma.U,qc.m,Kp.x,Fi.E,Jo.D,Au.b,Ro.Jj,xr.ov],encapsulation:2,changeDetection:0}))}return m(),f})();var Zp=n(2721),qp=n(68544);const cl=["sliderContent"],eg=[[["",8,"primary"]],"*"],va=[".primary","*"];let Zs=(()=>{var m;class f extends qp.y{constructor(){super(...arguments),this.slideOn=!1}ngOnInit(){this.shrdPfUiContentHeight=this.sliderContent.nativeElement}static#e=m=()=>(this.\u0275fac=(()=>{let y;return function(ee){return(y||(y=o.xGo(f)))(ee||f)}})(),this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ui-content-slider"]],viewQuery:function(R,ee){if(1&R&&o.GBs(cl,7),2&R){let He;o.mGM(He=o.lsd())&&(ee.sliderContent=He.first)}},hostVars:2,hostBindings:function(R,ee){2&R&&o.AVh("slide-on",ee.slideOn)},inputs:{slideOn:"slideOn"},features:[o.Vt3],ngContentSelectors:va,decls:6,vars:0,consts:[["sliderContent",""],[1,"slider-content"],[1,"primary-content"],[1,"secondary-content"]],template:function(R,ee){1&R&&(o.NAR(eg),o.rj2(0,"div",1,0)(2,"div",2),o.SdG(3),o.eux(),o.rj2(4,"div",3),o.SdG(5,1),o.eux()())},styles:["[_nghost-%COMP%]{width:100%;overflow:hidden;display:block;transition:height .25s ease-out}[_nghost-%COMP%] .slider-content[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%] .primary-content[_ngcontent-%COMP%], [_nghost-%COMP%] .secondary-content[_ngcontent-%COMP%]{width:100%;height:auto;flex-shrink:0;transition:transform .25s ease-out}[_nghost-%COMP%] .secondary-content[_ngcontent-%COMP%]{height:0}.slide-on[_nghost-%COMP%] .primary-content[_ngcontent-%COMP%], .slide-on[_nghost-%COMP%] .secondary-content[_ngcontent-%COMP%]{transform:translate(-100%)}.slide-on[_nghost-%COMP%] .primary-content[_ngcontent-%COMP%]{height:0}.slide-on[_nghost-%COMP%] .secondary-content[_ngcontent-%COMP%]{height:auto}[dir=rtl].slide-on[_nghost-%COMP%] .primary-content[_ngcontent-%COMP%], [dir=rtl] .slide-on[_nghost-%COMP%] .primary-content[_ngcontent-%COMP%], [dir=rtl].slide-on[_nghost-%COMP%] .secondary-content[_ngcontent-%COMP%], [dir=rtl] .slide-on[_nghost-%COMP%] .secondary-content[_ngcontent-%COMP%]{transform:translate(100%)}"],changeDetection:0}))}return m(),f})();var k_=n(27412),j_=n(18146),ec=n(92661),tg=n(74256),ll=n(37957),Dh=n(65815),ng=n(92424),rg=n(36256);const og=["rightPanelContent"],ig=()=>[Promise.all([n.e(3650),n.e(7236),n.e(1685),n.e(7643),n.e(8355),n.e(8617)]).then(n.bind(n,18448)).then(m=>m.UserAccountContentComponent)];function sg(m,f){if(1&m){const O=o.RV6();o.j41(0,"shrd-pf-ft-user-account-content",12),o.bIt("hasLoaded",function(){c.eBV(O);const R=o.XpG(2);return c.Njj(R.onAccountContentsLoaded())}),o.k0s()}if(2&m){const O=o.XpG(2);o.Y8G("activeTab",O.activeTab())("disableLinks",O.showAccountSelection())}}function ag(m,f){if(1&m){const O=o.RV6();o.j41(0,"shrd-pf-ft-header-user-account-wrapper",4),o.nI1(1,"async"),o.bIt("toggleAccountSelection",function(R){c.eBV(O);const ee=o.XpG();return c.Njj(ee.toggleAccountSelection(R))}),o.k0s(),o.j41(2,"div",5)(3,"div",6,0)(5,"div",7,1)(7,"shrd-pf-ui-content-slider",8)(8,"shrd-pf-ui-header-user-select",9),o.nI1(9,"async"),o.bIt("accountChanged",function(R){c.eBV(O);const ee=o.XpG();return c.Njj(ee.onAccountChanged(R))}),o.k0s(),o.j41(10,"div",10),o.PeT(11,sg,1,2),o.nv$(12,11,ig),o.HdQ(),o.nrm(14,"shrd-uic-preloader",11),o.k0s()()()(),o.nrm(15,"shrd-uic-scrollbar",null,2),o.k0s()}if(2&m){const O=o.sdS(6),y=o.sdS(16),R=o.XpG();o.Y8G("userAccount",R.userData().selectedAccount)("omitUserTitle",!0)("canSwitchAccount",o.bMT(1,13,R.hasAccounts$))("role",R.userData().role),o.R7$(2),o.AVh("is-content-loading",!R.accountContentsLoaded()),o.R7$(),o.Y8G("scrollBarVerticalRef",y)("scrollContentRef",O),o.R7$(4),o.Y8G("slideOn",R.showAccountSelection()),o.R7$(),o.Y8G("accounts",o.bMT(9,15,R.accounts$))("selectedAccountId",R.userData().selectedAccount.originId)("disabled",!R.showAccountSelection()),o.R7$(6),o.Y8G("active",!R.accountContentsLoaded())}}function Oh(m,f){if(1&m&&(o.j41(0,"div",3),o.nrm(1,"shrd-pf-ft-header-registration-button",13),o.j41(2,"shrd-pf-ft-header-user-logout",14)(3,"span"),o.EFF(4),o.nI1(5,"i18next"),o.k0s()()()),2&m){const O=o.XpG();o.R7$(),o.Y8G("userData",O.userData()),o.R7$(3),o.JRh(o.bMT(5,2,"header.account.logout"))}}let V_=(()=>{var m;class f{constructor(){this.userData=(0,u.hFB)(),this.activeTab=(0,u.hFB)("",{transform:y=>y||Zp.M.SELF_SERVICE}),this.showAccountSelection=(0,c.vPA)(!1),this.accountContentsLoaded=(0,c.vPA)(!1),this.accountWrapper=(0,u.ebz)(ll.M),this.rightPanelContent=(0,u.ebz)("rightPanelContent"),this.headerUserService=(0,c.WQX)(Xs.M),this.menuStateService=(0,c.WQX)(Ls.S),this.hasAccounts$=this.headerUserService.hasAccounts$,this.accounts$=this.headerUserService.accounts$}ngAfterViewInit(){this.activeTab()===ha.i1.ACCOUNT_SELECT&&(this.toggleAccountSelection(!0),this.accountWrapper().setAccountState(!0))}toggleAccountSelection(y){this.showAccountSelection.set(y),this.rightPanelContent().nativeElement.scrollTop=0}onAccountChanged(y){this.headerUserService.setSelectedAccount(y),this.menuStateService.closeAll()}onAccountContentsLoaded(){this.accountContentsLoaded.set(!0)}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ft-user-popover-content"]],viewQuery:function(R,ee){1&R&&(o.wEZ(ee.accountWrapper,ll.M,5),o.wEZ(ee.rightPanelContent,og,5)),2&R&&o.NyB(2)},hostAttrs:[1,"position-relative"],inputs:{userData:[1,"userData"],activeTab:[1,"activeTab"]}
17,decls:2,vars:1,consts:[["rightPanelContent",""],["scrollContent",""],["scrollbar",""],[1,"px-3","py-1","w-100"],[1,"left-panel","me-0",3,"toggleAccountSelection","userAccount","omitUserTitle","canSwitchAccount","role"],[1,"right-panel","ms-0"],["shrdUicScrollbar","",1,"right-panel-content",3,"scrollBarVerticalRef","scrollContentRef"],[1,"scroll-content"],[1,"min-h-100",3,"slideOn"],[1,"account-selection-view","secondary",3,"accountChanged","accounts","selectedAccountId","disabled"],[1,"primary","bg-light"],["immediate","",3,"active"],[3,"hasLoaded","activeTab","disableLinks"],[3,"userData"],["buttonClasses","m-0","buttonVariant","tertiaryFlyout"]],template:function(R,ee){1&R&&o.nVh(0,ag,17,17)(1,Oh,6,4,"div",3),2&R&&o.vxM(ee.userData().accountMenuEnabled?0:1)},dependencies:[ec.p,ng.G,rg.yR,ll.M,Zs,k_.k,j_.s,tg.a,Dh.i,Fi.E,Ro.Jj,xr.ov],styles:["[_nghost-%COMP%]{display:flex}[_nghost-%COMP%] .account-selection-view[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fill,minmax(12.5rem,1fr))}[_nghost-%COMP%] .left-panel[_ngcontent-%COMP%]{flex:0 0 13.75rem;background:#f8f8f7;padding:.6875rem .3125rem;margin-inline-end:.3125rem}@media (min-width: 1440px){[_nghost-%COMP%] .left-panel[_ngcontent-%COMP%]{flex-basis:15rem}}[_nghost-%COMP%] .right-panel[_ngcontent-%COMP%]{flex:1;grid-column:2/-1;margin-inline-start:.3125rem}[_nghost-%COMP%] .right-panel[_ngcontent-%COMP%] .right-panel-content[_ngcontent-%COMP%]{max-height:calc(100vh - 6.875rem);padding:.6875rem 0;padding-inline:.625rem}[_nghost-%COMP%] .right-panel[_ngcontent-%COMP%] .right-panel-content.scrollbar-vertical-shown[_ngcontent-%COMP%]{padding-inline-end:1.5625rem}[_nghost-%COMP%] .right-panel[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] .right-panel[_ngcontent-%COMP%] .right-panel-content[_ngcontent-%COMP%]{min-height:100%}[_nghost-%COMP%] .right-panel.is-content-loading[_ngcontent-%COMP%] .scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] .right-panel.is-content-loading[_ngcontent-%COMP%] .right-panel-content[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] .right-panel[_ngcontent-%COMP%] .account-selection-view[_ngcontent-%COMP%]{display:grid;grid-auto-rows:max-content;grid-gap:.625rem}"],changeDetection:0}))}return m(),f})();var Mh=n(35542),cg=n(29519),ul=n(341),lg=n(16405),H_=n(60453),Su=n(88880);const dl="sticky-top-transition",Lu="full-transition-animation";let Ph=(()=>{var m;class f{constructor(){this.isMinimized=(0,c.vPA)(!1),this.renderer=(0,c.WQX)(o._9s).createRenderer(null,null),this.breakpointService=(0,c.WQX)(da.d),this.menuState=(0,c.WQX)(Ls.S),this.pageConfig=(0,c.WQX)(Su.x),this.scrollService=(0,c.WQX)(zl.b),this.router=(0,c.WQX)(tt.Ix),this.destroyRef=(0,c.WQX)(c.abz),this.body=(0,c.WQX)(c.qQL).body}set headerElement(y){this.element=y,this.subscribeToScroll()}toggle(y,R=!0){y!==this.isMinimized()&&(this.addTransitionClass(),R&&this.toggleClass(Lu,!0,this.element),this.forceReflow(),this.toggleClass("header-minimized",y),this.isMinimized.set(y),this.menuState.closeAll())}subscribeToScroll(){const y=(0,Vd.h)(this.isMouseOutside$(),this.navigationStart$()).pipe((0,In.n)(R=>R?this.scrollService.scroll$:Kt.t),(0,H_.Z)(10),(0,ja.F)((R,ee)=>Math.abs(ee-R)<20));(0,$t.z)([y,this.pageConfig.isCompressedPageLayout$,this.breakpointService.isMobileView$]).pipe((0,Be.T)(([R,ee,He])=>!He&&!ee&&R>99),(0,at.p)(R=>R!==this.isMinimized()),(0,lr.pQ)(this.destroyRef)).subscribe(R=>this.toggle(R))}addTransitionClass(){this.toggleClass(dl,!0),(0,$a.R)(this.element,"transitionend").pipe((0,at.p)(y=>y.target===this.element&&"transform"===y.propertyName),(0,vt.s)(1),(0,lr.pQ)(this.destroyRef)).subscribe(y=>{this.toggleClass(dl,!1),this.toggleClass(Lu,!1,this.element)})}isMouseOutside$(){return(0,$a.R)(this.element,"mouseenter").pipe((0,In.n)(()=>(0,$a.R)(this.element,"mouseleave").pipe((0,Be.T)(y=>!0),(0,Va.Z)(!1))),(0,Va.Z)(!0))}navigationStart$(){return this.router.events.pipe((0,at.p)(y=>y instanceof tt.Z),(0,Be.T)(()=>!0))}toggleClass(y,R,ee=this.body){this.renderer[R?"addClass":"removeClass"](ee,y)}forceReflow(){return this.body.offsetHeight}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac}))}return m(),f})();const Ea=["primaryNav"],Ah=["*"],bh=()=>({}),Ca=()=>({navigationItem:"Logo"});function Nu(m,f){1&m&&o.eu8(0)}function tc(m,f){if(1&m&&o.nrm(0,"shrd-ft-header-print-layout",9),2&m){const O=o.XpG();o.Y8G("logoTpl",O.logoPrintTpl()||O.logoTpl())}}function hg(m,f){1&m&&o.eu8(0)}function Rh(m,f){1&m&&o.eu8(0)}function hl(m,f){1&m&&o.eu8(0)}function $_(m,f){if(1&m){const O=o.RV6();o.j41(0,"div",11)(1,"div",12)(2,"div",13)(3,"div",14)(4,"div",15),o.DNE(5,hg,1,0,"ng-container",7),o.k0s()()()()(),o.j41(6,"div",16)(7,"div",13)(8,"div",17,3)(10,"div",18),o.DNE(11,Rh,1,0,"ng-container",7),o.j41(12,"div",19)(13,"div",20),o.DNE(14,hl,1,0,"ng-container",7),o.k0s(),o.j41(15,"button",21,4),o.nI1(17,"i18next"),o.bIt("click",function(){c.eBV(O);const R=o.sdS(16);return o.XpG(2).expandHeader(),c.Njj(R.blur())}),o.nrm(18,"shrd-uic-svg-icon",22),o.k0s()()()()()()}if(2&m){const O=o.XpG(2),y=o.sdS(12);o.R7$(4),o.AVh("search-input-focus",O.searchInputIsFocused()),o.R7$(),o.Y8G("ngTemplateOutlet",O.desktopMetaNavigationTpl()),o.R7$(6),o.Y8G("ngTemplateOutlet",O.logoTpl()||y),o.R7$(3),o.Y8G("ngTemplateOutlet",O.megaMenuTpl()
17),o.R7$(),o.Y8G("disabled",!O.isMinimized()),o.BMQ("aria-label",o.bMT(17,9,"header.icon.hamburger")),o.R7$(3),o.Y8G("icon",O.iconName.HAMBURGER)("inheritColor",!0)}}function K_(m,f){1&m&&o.eu8(0)}function nc(m,f){1&m&&o.eu8(0)}function fg(m,f){1&m&&o.eu8(0)}function fl(m,f){if(1&m&&(o.j41(0,"div",10)(1,"div",12)(2,"div",13)(3,"div",23)(4,"div",24),o.DNE(5,K_,1,0,"ng-container",7)(6,nc,1,0,"ng-container",7),o.k0s()(),o.j41(7,"div",23)(8,"div",25),o.DNE(9,fg,1,0,"ng-container",7),o.k0s()()()()()),2&m){const O=o.XpG(2),y=o.sdS(12);o.R7$(4),o.AVh("opacity-0",O.mobileSearchOpened()),o.R7$(),o.Y8G("ngTemplateOutlet",O.burgerMenuWrapperTpl()),o.R7$(),o.Y8G("ngTemplateOutlet",O.logoTpl()||y),o.R7$(3),o.Y8G("ngTemplateOutlet",O.mobileMetaNavigationTpl())}}function xu(m,f){if(1&m&&(o.nVh(0,$_,19,11),o.nVh(1,fl,10,5,"div",10)),2&m){const O=o.XpG();o.vxM(O.isDesktop()?0:-1),o.R7$(),o.vxM(O.isMobile()?1:-1)}}function pg(m,f){1&m&&o.eu8(0)}function G_(m,f){1&m&&o.eu8(0)}function Q_(m,f){if(1&m&&(o.j41(0,"div",16)(1,"div",13)(2,"div",17)(3,"div",27),o.DNE(4,pg,1,0,"ng-container",7),o.j41(5,"div",28),o.DNE(6,G_,1,0,"ng-container",7),o.k0s()()()()()),2&m){const O=o.XpG(2),y=o.sdS(12);o.R7$(4),o.Y8G("ngTemplateOutlet",O.logoTpl()||y),o.R7$(2),o.Y8G("ngTemplateOutlet",O.compressedDesktopNavigationTpl())}}function gg(m,f){1&m&&o.eu8(0)}function mg(m,f){1&m&&o.eu8(0)}function X_(m,f){1&m&&o.eu8(0)}function z_(m,f){if(1&m&&(o.j41(0,"div",26)(1,"div",13)(2,"div",23)(3,"div",29),o.DNE(4,gg,1,0,"ng-container",7)(5,mg,1,0,"ng-container",7),o.k0s()(),o.j41(6,"div",23)(7,"div",25),o.DNE(8,X_,1,0,"ng-container",7),o.k0s()()()()),2&m){const O=o.XpG(2),y=o.sdS(12);o.R7$(4),o.Y8G("ngTemplateOutlet",O.burgerMenuWrapperTpl()),o.R7$(),o.Y8G("ngTemplateOutlet",O.logoTpl()||y),o.R7$(3),o.Y8G("ngTemplateOutlet",O.compressedMobileNavigationTpl())}}function Y_(m,f){if(1&m&&(o.nVh(0,Q_,7,2,"div",16),o.nVh(1,z_,9,3,"div",26)),2&m){const O=o.XpG();o.vxM(O.isDesktop()?0:-1),o.R7$(),o.vxM(O.isMobile()?1:-1)}}function _g(m,f){1&m&&o.nrm(0,"shrd-pf-ui-logo",30),2&m&&o.Y8G("shrdUtcTrackEvent",o.lJ4(2,bh))("navigationData",o.lJ4(3,Ca))}let wu=(()=>{var m;class f{constructor(){this.isCompressed=(0,u.hFB)(!1),this.searchInputIsFocused=(0,u.hFB)(!1),this.mobileSearchOpened=(0,u.hFB)(!1),this.desktopMetaNavigationTpl=(0,u.hFB)(),this.mobileMetaNavigationTpl=(0,u.hFB)(),this.compressedDesktopNavigationTpl=(0,u.hFB)(),this.compressedMobileNavigationTpl=(0,u.hFB)(),this.megaMenuTpl=(0,u.hFB)(),this.logoTpl=(0,u.hFB)(),this.logoPrintTpl=(0,u.hFB)(),this.burgerMenuWrapperTpl=(0,u.hFB)(),this.showToolboxImage=(0,u.hFB)(!0),this.focusOut=(0,u.CGW)(),this.isDesktop=(0,c.WQX)(da.d).isDesktopView,this.isMobile=this.getIsMobile(),this.iconName=zs.i,this.imageUrl=`url(${(0,c.WQX)(Ha.W).transform("/assets/images/bg-toolbox-sm.webp")})`,this.primaryNav=(0,u.ebz)("primaryNav",{read:o.aKT}),this.unsubscribe$=new ze.B,this.minimizeHeader=(0,c.WQX)(Ph),this.element=(0,c.WQX)(o.aKT).nativeElement,this.renderer=(0,c.WQX)(o.sFG),this.isMinimized=this.minimizeHeader.isMinimized,this.minimizeHeader.headerElement=this.element}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete(),this.unsubscribeFocusout()}expandHeader(y=!0){this.minimizeHeader.toggle(!1,y)}handleSearchFocus(y){this.isDesktop()&&y?this.focusoutListener||=this.renderer.listen(this.element,"focusout",R=>this.handleElementFocusout(R.relatedTarget)):this.unsubscribeFocusout()}getIsMobile(){const{isServer:y}=(0,c.WQX)(Wt.f);return(0,Xr.EW)(()=>(this.unsubscribeFocusout(),y||!this.isDesktop()))}handleElementFocusout(y){const R=this.element.contains(y),ee=this.primaryNav().nativeElement.contains(y);(!R||ee)&&this.focusOut.emit()}unsubscribeFocusout(){this.focusoutListener?.(),this.focusoutListener=null}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ft-page-header-layout"]],viewQuery:function(R,ee){1&R&&o.wEZ(ee.primaryNav,Ea,5,o.aKT),2&R&&o.NyB()},hostAttrs:[1,"shrd-pf-ft-page-header","sticky-top"],hostVars:2,hostBindings:function(R,ee){2&R&&o.xc7("--bg-toolbox-sm-image-url",ee.showToolboxImage()?ee.imageUrl:null)},inputs:{isCompressed:[1,"isCompressed"],searchInputIsFocused:[1,"searchInputIsFocused"],mobileSearchOpened:[1,"mobileSearchOpened"],desktopMetaNavigationTpl:[1,"desktopMetaNavigationTpl"],mobileMetaNavigationTpl:[1,"mobileMetaNavigationTpl"],compressedDesktopNavigationTpl:[1,"compressedDesktopNavigationTpl"],compressedMobileNavigationTpl:[1,"compressedMobileNavigationTpl"],megaMenuTpl:[1,"megaMenuTpl"],logoTpl:[1,"logoTpl"],logoPrintTpl
17:[1,"logoPrintTpl"],burgerMenuWrapperTpl:[1,"burgerMenuWrapperTpl"],showToolboxImage:[1,"showToolboxImage"]},outputs:{focusOut:"focusOut"},features:[o.Jv_([Ph])],ngContentSelectors:Ah,decls:13,vars:6,consts:[["fullHeaderTpl",""],["compressedHeaderTpl",""],["logo",""],["primaryNav",""],["btn",""],[1,"header-strip-wrapper","d-print-none"],["href","#main","shrdUicButton","",1,"visually-hidden-focusable","position-absolute","ms-3","my-0","mt-md-1","skip-main-btn"],[4,"ngTemplateOutlet"],[3,"logoTpl",4,"shrdUtcIfPlatformBrowser"],[3,"logoTpl"],[1,"d-md-none","bg-box","bg-box-mobile"],[1,"d-none","d-md-block","bg-box"],[1,"container-fluid","my-auto"],[1,"row","w-100","w-md-auto"],[1,"col-24","meta-nav"],[1,"content-box","d-flex","justify-content-end","py-1"],[1,"container-fluid","my-auto","d-none","d-md-block"],[1,"col-24"],[1,"content-box","content-box-tertiary-left-sm-max","d-flex","primary-nav-container"],[1,"nav-wrapper"],[1,"primary-nav","d-none","d-md-inline-flex"],["shrdUicButton","","variant","tertiaryMinorBorderless","type","button",1,"m-0","btn-show-nav",3,"click","disabled"],["size","small",3,"icon","inheritColor"],[1,"col-12"],[1,"content-box","content-box-tertiary-left-sm-max","d-flex","opacity-transition"],[1,"content-box","content-box-tertiary-right","d-flex","justify-content-end","header-meta-nav-mobile-wrapper"],[1,"container-fluid","my-auto","d-md-none"],[1,"content-box","content-box-tertiary-right","d-flex","py-1"],[1,"d-flex","flex-row","content-col-right"],[1,"content-box","content-box-tertiary-left-sm-max","d-flex"],[3,"shrdUtcTrackEvent","navigationData"]],template:function(R,ee){if(1&R&&(o.NAR(),o.SdG(0),o.j41(1,"div",5)(2,"a",6),o.EFF(3),o.nI1(4,"i18next"),o.k0s(),o.DNE(5,Nu,1,0,"ng-container",7),o.k0s(),o.DNE(6,tc,1,1,"shrd-ft-header-print-layout",8)(7,xu,2,2,"ng-template",null,0,o.C5r)(9,Y_,2,2,"ng-template",null,1,o.C5r)(11,_g,1,4,"ng-template",null,2,o.C5r)),2&R){const He=o.sdS(8),_t=o.sdS(10);o.R7$(),o.AVh("is-compressed",ee.isCompressed()),o.R7$(2),o.SpI(" ",o.bMT(4,4,"header.meta.skipMainLabel")," "),o.R7$(2),o.Y8G("ngTemplateOutlet",ee.isCompressed()?_t:He)}},dependencies:[Ro.T3,Ri._,Wd,lg.U,Wi.N,Fc.f,Fi.E,Jo.D,xr.ov],styles:['[_nghost-%COMP%]{display:block;width:100%;background-color:#fff;box-shadow:0 -.625rem .625rem .625rem #00000026}@media print{[_nghost-%COMP%]{box-shadow:none!important}}.shrd-pf-ft-page-header[_nghost-%COMP%]{top:0;z-index:1005}@media screen and (max-height: 649px) and (min-width: 1024px){[_nghost-%COMP%]{top:unset!important}}[_nghost-%COMP%] .skip-main-btn[_ngcontent-%COMP%]{z-index:1006}[_nghost-%COMP%] .header-strip-wrapper[_ngcontent-%COMP%]{height:3.4375rem}@media (max-width: 1023.98px){[_nghost-%COMP%] .header-strip-wrapper[_ngcontent-%COMP%]{align-items:center;display:flex}}@media (min-width: 1024px){[_nghost-%COMP%] .header-strip-wrapper[_ngcontent-%COMP%]{height:6.1875rem}}[_nghost-%COMP%] .header-strip-wrapper.is-compressed[_ngcontent-%COMP%]{height:3.4375rem}[_nghost-%COMP%] .header-strip-wrapper[_ngcontent-%COMP%] .btn-show-nav[_ngcontent-%COMP%]{display:none}@media (min-width: 1024px){[_nghost-%COMP%] .header-strip-wrapper[_ngcontent-%COMP%] .btn-show-nav[_ngcontent-%COMP%]{display:flex;position:absolute;top:0;pointer-events:none;opacity:0;transform:translateY(-1.375rem);transition:transform .15s ease-out,opacity .15s ease-out;inset-inline-end:0}}@media (min-width: 1024px){.sticky-top-transition .shrd-pf-ft-page-header[_nghost-%COMP%], [_nghost-%COMP%] .primary-nav[_ngcontent-%COMP%], [_nghost-%COMP%] .meta-nav[_ngcontent-%COMP%]{transition:transform .25s ease-out,opacity .25s ease-out}}[_nghost-%COMP%] .nav-wrapper[_ngcontent-%COMP%]{flex:1 1 auto;position:relative}[_nghost-%COMP%] .content-col-right[_ngcontent-%COMP%]{margin-inline-start:auto}[_nghost-%COMP%] .bg-box[_ngcontent-%COMP%]{position:relative;background-color:#d2051e}[_nghost-%COMP%] .bg-box[_ngcontent-%COMP%]:before{content:"";display:block;position:absolute;height:100%;inset-inline-start:0;background-image:linear-gradient(90deg,#d2051e00 72%,#d2051e),var(--bg-toolbox-sm-image-url);background-size:cover;background-position-x:0,-10rem;width:75%}@media (min-width: 1024px){[_nghost-%COMP%] .bg-box[_ngcontent-%COMP%]:before{width:50%}}@media (min-width: 1440px){[_nghost-%COMP%] .bg-box[_ngcontent-%COMP%]:before{background-position-x:0,-6.875rem}}@media (min-width: 1920px){[_nghost-%COMP%] .bg-box[_ngcontent-%COMP%]:before{background-position-x:0,calc(-6.875rem - ((120rem - 100vw)/2))}}:root[dir=rtl] [_nghost-%COMP%] .bg-box[_ngcontent-%COMP%]:before{transform:scale
17X(-1)}[_nghost-%COMP%] .bg-box.bg-box-mobile[_ngcontent-%COMP%]{display:flex;height:100%;width:100%}@media (min-width: 1024px){body.sticky-top-transition[_nghost-%COMP%] .primary-nav-container[_ngcontent-%COMP%], body.sticky-top-transition [_nghost-%COMP%] .primary-nav-container[_ngcontent-%COMP%]{transition:transform .25s ease-out}body.sticky-top-transition[_nghost-%COMP%] .header-strip-wrapper[_ngcontent-%COMP%], body.sticky-top-transition [_nghost-%COMP%] .header-strip-wrapper[_ngcontent-%COMP%]{transition:height .25s ease-out}}.hdms-page-preloader-active [_nghost-%COMP%]{z-index:10001}body:not(.is-compressed-page-layout)[_nghost-%COMP%] .primary-nav-container[_ngcontent-%COMP%], body:not(.is-compressed-page-layout) [_nghost-%COMP%] .primary-nav-container[_ngcontent-%COMP%]{padding-top:1.375rem}@media (min-width: 1024px){body:not(.is-compressed-page-layout)[_nghost-%COMP%] .header-strip-wrapper[_ngcontent-%COMP%], body:not(.is-compressed-page-layout) [_nghost-%COMP%] .header-strip-wrapper[_ngcontent-%COMP%]{height:8.25rem}}@media (min-width: 1440px){body:not(.is-compressed-page-layout)[_nghost-%COMP%] .skip-main-btn[_ngcontent-%COMP%], body:not(.is-compressed-page-layout) [_nghost-%COMP%] .skip-main-btn[_ngcontent-%COMP%]{margin-left:3.75rem!important}}@media (min-width: 1920px){body:not(.is-compressed-page-layout)[_nghost-%COMP%] .skip-main-btn[_ngcontent-%COMP%], body:not(.is-compressed-page-layout) [_nghost-%COMP%] .skip-main-btn[_ngcontent-%COMP%]{margin-left:calc((120rem - 100vw + var(--scrollbar-width, 15px)) / 2 * -1 + 3.75rem)!important}}.is-compressed-page-layout[_nghost-%COMP%] .header-strip-wrapper[_ngcontent-%COMP%], .is-compressed-page-layout [_nghost-%COMP%] .header-strip-wrapper[_ngcontent-%COMP%]{height:3.4375rem}.is-compressed-page-layout[_nghost-%COMP%], .is-compressed-page-layout [_nghost-%COMP%], .is-compressed-page-layout[_nghost-%COMP%] .primary-nav[_ngcontent-%COMP%], .is-compressed-page-layout [_nghost-%COMP%] .primary-nav[_ngcontent-%COMP%], .is-compressed-page-layout[_nghost-%COMP%] .meta-nav[_ngcontent-%COMP%], .is-compressed-page-layout [_nghost-%COMP%] .meta-nav[_ngcontent-%COMP%]{transition:none}@media screen and (min-height: 650px){.header-minimized:not(.is-compressed-page-layout)[_nghost-%COMP%] .primary-nav-container[_ngcontent-%COMP%], .header-minimized:not(.is-compressed-page-layout) [_nghost-%COMP%] .primary-nav-container[_ngcontent-%COMP%]{transform:translateY(.6875rem)}}@media screen and (min-height: 650px) and (min-width: 1024px){.header-minimized:not(.is-compressed-page-layout)[_nghost-%COMP%], .header-minimized:not(.is-compressed-page-layout) [_nghost-%COMP%]{transform:translateY(-4.8125rem);transition-duration:.3s;transition-timing-function:ease-in-out;transition-property:transform}.header-minimized:not(.is-compressed-page-layout)[_nghost-%COMP%] .meta-nav[_ngcontent-%COMP%], .header-minimized:not(.is-compressed-page-layout) [_nghost-%COMP%] .meta-nav[_ngcontent-%COMP%]{pointer-events:none;opacity:0;transition:transform 0s ease-out,opacity .25s ease-out}.header-minimized:not(.is-compressed-page-layout)[_nghost-%COMP%]:not(.full-transition-animation) .meta-nav[_ngcontent-%COMP%], .header-minimized:not(.is-compressed-page-layout) [_nghost-%COMP%]:not(.full-transition-animation) .meta-nav[_ngcontent-%COMP%]{transform:translateY(2.75rem);transition:transform .25s ease-out .3s,opacity .25s ease-out}.header-minimized:not(.is-compressed-page-layout)[_nghost-%COMP%] .primary-nav[_ngcontent-%COMP%], .header-minimized:not(.is-compressed-page-layout) [_nghost-%COMP%] .primary-nav[_ngcontent-%COMP%]{transition-duration:.3s;transition-timing-function:ease-in-out;transform:translate(-1.21rem)}.header-minimized:not(.is-compressed-page-layout)[_nghost-%COMP%] .btn-show-nav[_ngcontent-%COMP%], .header-minimized:not(.is-compressed-page-layout) [_nghost-%COMP%] .btn-show-nav[_ngcontent-%COMP%]{pointer-events:unset;opacity:1;transform:translateY(0);transition-delay:.3s;transition-duration:.25s;transition-timing-function:cubic-bezier(.14,0,.47,1.39)}}@media screen and (min-height: 650px) and (min-width: 1024px){[dir=rtl] .header-minimized:not(.is-compressed-page-layout)[_nghost-%COMP%] .primary-nav[_ngcontent-%COMP%], [dir=rtl] .header-minimized:not(.is-compressed-page-layout) [_nghost-%COMP%] .primary-nav[_ngcontent-%COMP%]{transform:translate(1.21rem)}}.modal-open[_nghost-%COMP%] .bg-box[_ngcontent-%COMP%], .modal
17-open [_nghost-%COMP%] .bg-box[_ngcontent-%COMP%]{width:100vw;padding-inline-end:var(--scrollbar-width, 15px)}'],changeDetection:0}))}return m(),f})();const vg=["burgerMenuWrapper"],Bu=["shrd-pf-ft-page-header",""],rc=()=>[Xa.ZM,Promise.all([n.e(5060),n.e(1403),n.e(9125),n.e(1205),n.e(2754)]).then(n.bind(n,82754)).then(m=>m.SearchMobileComponent),Yc.q],Uu=()=>[Promise.all([n.e(3650),n.e(7979),n.e(9589),n.e(1583),n.e(7236),n.e(25),n.e(511)]).then(n.bind(n,30511)).then(m=>m.ContactPopoverContentComponent)],pl=()=>[Promise.all([n.e(3650),n.e(7979),n.e(9589),n.e(1583),n.e(7236),n.e(25),n.e(3401)]).then(n.bind(n,93401)).then(m=>m.BurgerMenuWrapperComponent)],Sh=m=>({"js-sticky-header is-sticky":m});function oc(m,f){if(1&m){const O=o.RV6();o.j41(0,"shrd-pf-ft-page-header-layout",18),o.nI1(1,"async"),o.bIt("focusOut",function(){let R;c.eBV(O);const ee=o.XpG();return c.Njj(null==(R=ee.searchComponent())?null:R.restoreInitialState())}),o.nrm(2,"shrd-pf-ft-header-logged-mode",19),o.k0s()}if(2&m){let O;const y=o.XpG(),R=o.sdS(4),ee=o.sdS(6),He=o.sdS(8),_t=o.sdS(10),Bt=o.sdS(12),Vt=o.sdS(22);o.Y8G("ngClass",o.eq3(12,Sh,y.addLegacyClasses))("isCompressed",o.bMT(1,10,y.isCompressed$))("searchInputIsFocused",null==(O=y.searchComponent())?null:O.hasFocus())("mobileSearchOpened",y.mobileSearchOpened())("desktopMetaNavigationTpl",R)("mobileMetaNavigationTpl",He)("compressedDesktopNavigationTpl",_t)("compressedMobileNavigationTpl",Bt)("burgerMenuWrapperTpl",Vt)("megaMenuTpl",ee)}}function Lh(m,f){1&m&&o.eu8(0)}function Eg(m,f){if(1&m&&o.nrm(0,"shrd-pf-ft-header-orders",21),2&m){const O=f;o.Y8G("title",O.title)("trackingName",O.trackingName)}}function ic(m,f){1&m&&o.eu8(0)}function Nh(m,f){1&m&&(o.j41(0,"shrd-pf-ft-meta-popover",22),o.nrm(1,"shrd-pf-ft-select-currency",24),o.k0s()),2&m&&(o.Y8G("navItem",f)("qaId","header-currency-selector"),o.R7$(),o.Y8G("inContentBox",!0))}function xh(m,f){1&m&&o.eu8(0)}function qs(m,f){if(1&m&&o.nrm(0,"shrd-pf-ft-header-cart",21),2&m){const O=f;o.Y8G("title",O.title)("trackingName",O.trackingName)}}function Fu(m,f){if(1&m){const O=o.RV6();o.DNE(0,Lh,1,0,"ng-container",20),o.nVh(1,Eg,1,2,"shrd-pf-ft-header-orders",21),o.DNE(2,ic,1,0,"ng-container",20),o.nVh(3,Nh,2,3,"shrd-pf-ft-meta-popover",22),o.DNE(4,xh,1,0,"ng-container",20),o.nVh(5,qs,1,2,"shrd-pf-ft-header-cart",21),o.j41(6,"shrd-pf-ft-search-popover",23),o.bIt("searchFocused",function(R){c.eBV(O);const ee=o.XpG();return c.Njj(ee.layoutComponent().handleSearchFocus(R))}),o.k0s()}if(2&m){let O,y,R,ee;const He=o.XpG(),_t=o.sdS(14),Bt=o.sdS(18),Vt=o.sdS(20),_n=o.sdS(24);o.Y8G("ngTemplateOutlet",_t),o.R7$(),o.vxM((O=He.metaNavItemsMap()[He.metaMenuType.ORDERS])?1:-1,O),o.R7$(),o.Y8G("ngTemplateOutlet",Bt),o.R7$(),o.vxM((y=He.metaNavItemsMap()[He.metaMenuType.CURRENCY])?3:-1,y),o.R7$(),o.Y8G("ngTemplateOutlet",Vt),o.R7$(),o.vxM((R=He.metaNavItemsMap()[He.metaMenuType.CART])?5:-1,R),o.R7$(),o.Y8G("disableTrap",!(null!=(ee=He.searchComponent())&&ee.hasFlyout()))("autoUpdate",!0)("ngbPopover",_n)("disableTooltip",He.disableBarcodeGuidanceTooltip)("tooltipVisibilityConfig",He.barcodeGuidanceTooltipVisibilityConfig)}}function Cg(m,f){if(1&m&&o.nrm(0,"shrd-pf-ft-mega-menu",25),2&m){const O=o.XpG();o.Y8G("primaryNavItems",O.primaryNavItems())}}function yg(m,f){1&m&&o.eu8(0)}function wh(m,f){if(1&m&&o.nrm(0,"shrd-pf-ft-header-cart",27),2&m){const O=f;o.Y8G("btnVariant","tertiaryMinorBorderless")("title",O.title)("trackingName",O.trackingName)}}function Bh(m,f){if(1&m){const O=o.RV6();o.j41(0,"shrd-pf-ft-search-mobile",28),o.bIt("opened",function(R){c.eBV(O);const ee=o.XpG(2);return c.Njj(ee.mobileSearchOpened.set(R))}),o.k0s()}if(2&m){const O=o.XpG(2),y=o.sdS(24);o.Y8G("ngbPopover",y)("disableTooltip",O.disableBarcodeGuidanceTooltip)("tooltipVisibilityConfig",O.barcodeGuidanceTooltipVisibilityConfig)("tooltipExtraMargin",!0)}}function Dg(m,f){if(1&m&&(o.j41(0,"a",29),o.nI1(1,"i18next"),o.nrm(2,"shrd-uic-svg-icon",30),o.k0s()),2&m){const O=o.XpG(2);o.Y8G("href",O.searchBaseRoute,o.B4B),o.BMQ("aria-label",o.bMT(1,4,"header.icon.search")),o.R7$(2),o.Y8G("icon",O.iconName.SEARCH)("inheritColor",!0)}}function Og(m,f){if(1&m&&(o.j41(0,"div",26),o.DNE(1,yg,1,0,"ng-container",20),o.nVh(2,wh,1,3,"shrd-pf-ft-header-cart",27),o.k0s(),o.PeT(3,B
17h,1,4)(4,Dg,3,6),o.nv$(5,3,rc,null,4),o.HdQ()),2&m){let O;const y=o.XpG(),R=o.sdS(16);o.AVh("opacity-0",y.mobileSearchOpened()),o.R7$(),o.Y8G("ngTemplateOutlet",R),o.R7$(),o.vxM((O=y.metaNavItemsMap()[y.metaMenuType.CART])?2:-1,O)}}function Mg(m,f){1&m&&o.eu8(0)}function sc(m,f){1&m&&o.eu8(0)}function Tg(m,f){1&m&&o.eu8(0)}function Ig(m,f){if(1&m&&o.DNE(0,Mg,1,0,"ng-container",20)(1,sc,1,0,"ng-container",20)(2,Tg,1,0,"ng-container",20),2&m){o.XpG();const O=o.sdS(14),y=o.sdS(18),R=o.sdS(20);o.Y8G("ngTemplateOutlet",O),o.R7$(),o.Y8G("ngTemplateOutlet",y),o.R7$(),o.Y8G("ngTemplateOutlet",R)}}function Pg(m,f){1&m&&o.eu8(0)}function gl(m,f){if(1&m){const O=o.RV6();o.j41(0,"button",32),o.bIt("click",function(){const R=c.eBV(O),ee=o.XpG(2);return c.Njj(ee.burgerMenuWrapper().openSecondaryMenu(R))}),o.nrm(1,"shrd-uic-svg-icon",30),o.k0s()}if(2&m){const O=f;o.BMQ("aria-label",O.title),o.R7$(),o.Y8G("icon",O.icon)("inheritColor",!0)}}function Uh(m,f){if(1&m){const O=o.RV6();o.j41(0,"button",32),o.bIt("click",function(){const R=c.eBV(O),ee=o.XpG(2);return c.Njj(ee.burgerMenuWrapper().openSecondaryMenu(R))}),o.nrm(1,"shrd-uic-svg-icon",30),o.k0s()}if(2&m){const O=f;o.BMQ("aria-label",O.title),o.R7$(),o.Y8G("icon",O.icon)("inheritColor",!0)}}function Fh(m,f){if(1&m&&(o.DNE(0,Pg,1,0,"ng-container",20),o.nVh(1,gl,2,3,"button",31),o.nVh(2,Uh,2,3,"button",31)),2&m){let O,y;const R=o.XpG(),ee=o.sdS(16);o.Y8G("ngTemplateOutlet",ee),o.R7$(),o.vxM((O=R.metaNavItemsMap()[R.metaMenuType.LANG])?1:-1,O),o.R7$(),o.vxM((y=R.metaNavItemsMap()[R.metaMenuType.CONTACT])?2:-1,y)}}function Wh(m,f){if(1&m&&o.nrm(0,"shrd-pf-ft-user-popover-content",35),2&m){let O;const y=f.activeTab,R=o.XpG(3),ee=o.r8f(0);o.Y8G("activeTab",null!=(O=R.notificationsState())&&O.highlightTab?"notifications":y)("userData",ee)}}function Ag(m,f){if(1&m&&(o.j41(0,"shrd-pf-ft-user-popover",34),o.DNE(1,Wh,1,2,"ng-template",null,13,o.C5r),o.k0s()),2&m){let O;const y=o.sdS(2),R=o.XpG(2),ee=o.sdS(26),He=o.r8f(0);o.Y8G("tooltipPosition",R.tooltipPlacement.BOTTOM_END)("userData",He)("contentRef",y)("ngbPopover",ee)("disableTooltip",!(null!=(O=R.notificationsState())&&O.showTooltip))("tooltipVisibilityConfig",R.cncTooltipVisibilityConfig)}}function kh(m,f){if(1&m&&(o.j41(0,"shrd-pf-ft-user-wrapper",33),o.DNE(1,Ag,3,6,"ng-template",null,12,o.C5r),o.k0s()),2&m){const O=o.sdS(2);o.XpG();const y=o.r8f(0);o.Y8G("userData",y)("loggedUserTemplateRef",O)}}function Wu(m,f){if(1&m){const O=o.RV6();o.j41(0,"button",37),o.nI1(1,"i18next"),o.bIt("click",function(){c.eBV(O);const R=o.XpG(2);return c.Njj(R.burgerMenuWrapper().openMenuFromAccount())}),o.nrm(2,"shrd-uic-svg-icon",30),o.k0s()}if(2&m){let O,y;const R=o.XpG(2),ee=o.sdS(26);o.Y8G("tooltipPosition",R.tooltipPlacement.AUTO)("ngbPopover",ee)("disableTooltip",!(null!=(O=R.notificationsState())&&O.showTooltip))("tooltipVisibilityConfig",R.cncTooltipVisibilityConfig)("shrdUtcCountIndicator",null==(y=R.notificationsState())?null:y.notificationsCount),o.BMQ("aria-label",o.bMT(1,8,"header.icon.profile")),o.R7$(2),o.Y8G("icon",R.iconName.PROFILE)("inheritColor",!0)}}function ml(m,f){if(1&m&&(o.j41(0,"shrd-pf-ft-user-wrapper",36),o.DNE(1,Wu,3,10,"ng-template",null,14,o.C5r),o.k0s()),2&m){const O=o.sdS(2);o.XpG();const y=o.r8f(0);o.Y8G("userData",y)("loggedUserTemplateRef",O)("inMobileHeader",!0)}}function bg(m,f){1&m&&(o.j41(0,"shrd-pf-ft-meta-popover",22),o.nrm(1,"shrd-pf-ft-select-language",24),o.k0s()),2&m&&(o.Y8G("navItem",f)("qaId","header-language-selector"),o.R7$(),o.Y8G("inContentBox",!0))}function Rg(m,f){if(1&m&&o.nVh(0,bg,2,3,"shrd-pf-ft-meta-popover",22),2&m){let O;const y=o.XpG();o.vxM((O=y.metaNavItemsMap()[y.metaMenuType.LANG])?0:-1,O)}}function Sg(m,f){if(1&m&&o.nrm(0,"shrd-pf-ft-contact-popover-content",40),2&m){o.XpG();const O=o.sdS(1);o.XpG(2);const y=o.r8f(0);o.Y8G("userData",y)("isOpen",O.isOpen)}}function Lg(m,f){1&m&&o.nrm(0,"shrd-uic-fade-preloader",41),2&m&&o.Y8G("size","small")}function Ng(m,f){if(1&m&&(o.j41(0,"shrd-pf-ft-meta-popover",38,15)(2,"div",39),o.PeT(3,Sg,1,2)(4,Lg,1,1),o.nv$(5,3,Uu,4),o.k0s()()),2&m){const O=o.sdS(1);o.Y8G("navItem",f)("qaId","header-contact-button"),o.R7$(5),o.LVR(O.isOpen)}}function xg(m,f){if(1&m&&o.nVh(0,Ng,7,3,"shrd-pf-ft-meta-popover",38),2&m){let O;const y=o.XpG();o.vxM((O=y.metaNavItemsMap()[y.metaMenuType.CONTACT])?0:-1,O)}}
17function ku(m,f){if(1&m&&o.nrm(0,"shrd-pf-ft-burger-menu-wrapper",43,16),2&m){const O=o.XpG(2),y=o.r8f(0);o.Y8G("metaNavItems",O.metaNavItems())("primaryNavItems",O.primaryNavItems())("userData",y)("openOnInit",O.shouldOpenBurgerMenu())}}function wg(m,f){if(1&m){const O=o.RV6();o.j41(0,"shrd-pf-ft-burger-button",42),o.bIt("click",function(){c.eBV(O);const R=o.XpG();return c.Njj(R.openBurgerMenu())}),o.k0s(),o.PeT(1,ku,2,4),o.nv$(2,1,pl)}if(2&m){const O=o.XpG();o.R7$(2),o.LVR(O.isMobileView())}}function jh(m,f){1&m&&(o.j41(0,"shrd-uic-tooltip",44),o.nI1(1,"i18next"),o.EFF(2),o.nI1(3,"i18next"),o.k0s()),2&m&&(o.Y8G("closeBtnLabel",o.bMT(1,2,"common.label.button.close")),o.R7$(2),o.SpI(" ",o.bMT(3,4,"header.search.barcodeGuidance")," "))}function Vh(m,f){if(1&m){const O=o.RV6();o.j41(0,"shrd-uic-tooltip",45),o.nI1(1,"i18next"),o.nI1(2,"i18next"),o.bIt("explicitClose",function(){c.eBV(O);const R=o.XpG();return c.Njj(R.onCncTooltipClosed())}),o.EFF(3),o.nI1(4,"i18next"),o.k0s()}2&m&&(o.Y8G("headline",o.bMT(1,3,"header.notifications.tooltip.title"))("closeBtnLabel",o.bMT(2,5,"common.label.button.close")),o.R7$(3),o.SpI(" ",o.bMT(4,7,"header.notifications.tooltip.message")," "))}const ju="loginClicked";let ya=(()=>{var m;class f{constructor(){this.burgerMenuWrapper=(0,u.ebz)("burgerMenuWrapper"),this.layoutComponent=(0,u.ebz)(wu),this.searchComponent=(0,u.ebz)(Iu),this.notificationsState=(0,c.vPA)(null),this.mobileSearchOpened=(0,c.vPA)(!1),this.addLegacyClasses=!!(0,c.WQX)(Et.v).hostContext,this.isMobileApp=(0,c.WQX)(_o.z).isMobileApp,this.cncTooltipVisibilityConfig=xp.Oi,this.iconName=zs.i,this.metaMenuType=ha.vG,this.tooltipPlacement=eh.F,this.searchBaseRoute=`/${yo.w.BASE}`,this.metaNavItemsMap=(0,c.vPA)({}),this.metaNavItems=(0,c.vPA)(null),this.primaryNavItems=(0,c.vPA)([]),this.isMobileView=(0,c.WQX)(da.d).isMobileView,this.shouldOpenBurgerMenu=(0,c.vPA)(!1),this.analyticsService=(0,c.WQX)(Gs.c),this.cartService=(0,c.WQX)(zc.mx),this.configService=(0,c.WQX)(Sd.r),this.contactModalService=(0,c.WQX)(oh),this.destroyRef=(0,c.WQX)(c.abz),this.headerNavigationService=(0,c.WQX)(fa),this.headerUserService=(0,c.WQX)(Xs.M),this.injector=(0,c.WQX)(c.zZn),this.liveChatService=(0,c.WQX)(Hc.TE),this.modalService=(0,c.WQX)(wc.B),this.storageService=(0,c.WQX)(wr.n$),this.notificationsStateService=(0,c.WQX)(nh.p),this.isCompressed$=this.configService.isCompressed$,this.userData$=this.getUserData$(),this.setupBarcodeGuidance()}ngOnInit(){this.subscribeDataLayerUpdate(),this.subscribeNotificationsState(),this.subscribeToAccountChange(),this.warnUserWhenInvalidShipTo(),this.contactModalService.init(),this.isMobileApp?this.subscribeToCartData():(this.subscribeMetaNavigationData(),this.subscribePrimaryNavigationData()),this.liveChatService.checkActiveSession()}onCncTooltipClosed(){this.notificationsStateService.setTooltipState()}openBurgerMenu(){this.burgerMenuWrapper()?this.burgerMenuWrapper().openMenu():this.shouldOpenBurgerMenu.set(!0)}subscribeNotificationsState(){this.notificationsStateService.notificationsState$.pipe((0,lr.pQ)(this.destroyRef)).subscribe(y=>{this.notificationsState.set(y),y.showTooltip&&y.notificationsCount>0&&!y.highlightTab&&this.notificationsStateService.highlightTab(!0)})}getUserData$(){return this.headerUserService.getUserData$().pipe((0,mt.M)(y=>this.trackUserLoggedIn(y)))}subscribePrimaryNavigationData(){(0,$t.z)([this.headerNavigationService.primaryLinks$,this.isCompressed$]).pipe((0,Be.T)(([y,R])=>R?[]:y),(0,lr.pQ)(this.destroyRef)).subscribe(y=>{this.primaryNavItems.set(y)})}subscribeMetaNavigationData(){this.configService.metaNavConfig$.pipe((0,lr.pQ)(this.destroyRef)).subscribe(([y,R])=>{this.metaNavItemsMap.set(y),this.metaNavItems.set(R)})}subscribeToCartData(){this.cartService.cart$.pipe((0,lr.pQ)(this.destroyRef)).subscribe()}subscribeDataLayerUpdate(){this.analyticsService.dataLayerUpdated$.pipe((0,lr.pQ)(this.destroyRef)).subscribe(y=>{"generic_ga4_event"===y.event&&"login_started"===y.event_name&&this.storageService.setItem(ju,y.login_started.event_method,wr.eL.SESSION,!0)})}trackUserLoggedIn({isLoggedIn:y}){const R=this.storageService.getItem(ju,wr.eL.SESSION,!0);y&&R&&(this.storageService.removeItem(ju,wr.eL.SESSION,!0),this.analyticsService.sendEvent("login",{event_method:R}))}subscribeToAccountChange(){this.headerUserService.tabAccountChanged$.pipe((0,at.p)(Boolean),(0,ja.F)(),(0,lr.pQ)(this.destroyRef)).subscribe(()=>this.openAccountChangedModal())}warnUserWhenInvalidShipTo(){this.userData$.pipe((0,at.p)(({invalidShipTo:y})=>!!y),(0,vt.s)(1),(0,lr.pQ)(this.destroyRef)).subscribe(({invalidShipTo:y})=>this.openInvalidShipToModal(y))}openAccountChangedModal(){var y=this;return(0,Xe.A)(function*(){const{AccountChangedModalComponent:R}=yield n.e(7445).then(n.bind(n,17445));y.modalService.open(R,{closeOnNavigation:!1,injector:y.injector,size:Bc.r.SM,beforeDismiss:()=>!1})})()}openInvalidShipToModal(y){var R=this;return(0,Xe.A)(function*(){const{InvalidShiptoModalComponent:ee}=yield Promise.all([n.e(9581),n.e(6045)]).then(n.bind(n,16045));R.modalService.open(ee,{injector:R.injector,size:Bc.r.SM},{shipToId:y})})()}setupBarcodeGuidance(){const y=(0,c.WQX)(pn.T).finalUrl()===`/${Yl.K.BASE}`;this.disableBarcodeGuidanceTooltip=!(0,c.WQX)(ka.OG).isBarcodeSupported()||y,this.barcodeGuidanceTooltipVisibilityConfig=!y&&{id:"barcode-guidance-tooltip",showOnce:!0}}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["header","shrd-pf-ft-page-header",""]],viewQuery:function(R,ee){1&R&&(o.wEZ(ee.burgerMenuWrapper,vg,5),o.wEZ(ee.layoutComponent,wu,5),o.wEZ(ee.searchComponent,Iu,5)),2&R&&o.NyB(3)},attrs:Bu,decls:27,vars:4,consts:[["desktopMetaNavigationTpl",""],["megaMenuTpl",""],["mobileMetaNavigationTpl",""],["compressedDesktopNavigationTpl",""],["compressedMobileNavigationTpl",""],["desktopUserWrapperTpl",""],["mobileUserWrapperTpl",""],["langPopoverTpl",""],["contactPopoverTpl",""],["burgerMenuWrapperTpl",""],["barcodeGuidanceTooltip",""],["cncTooltip",""],["loggedUserTpl",""],["popoverContent",""],["loggedMobileTpl",""],["contactPopover",""],["burgerMenuWrapper",""],[3,"ngClass","isCompressed","searchInputIsFocused","mobileSearchOpened","desktopMetaNavigationTpl","mobileMetaNavigationTpl","compressedDesktopNavigationTpl","compressedMobileNavigationTpl","burgerMenuWrapperTpl","megaMenuTpl"],[3,"focusOut","ngClass","isCompressed","searchInputIsFocused","mobileSearchOpened","desktopMetaNavigationTpl","mobileMetaNavigationTpl","compressedDesktopNavigationTpl","compressedMobileNavigationTpl","burgerMenuWrapperTpl","megaMenuTpl"],[1,"d-print-none"],[4,"ngTemplateOutlet"],["btnClasses","my-0",3,"title","trackingName"],["flyoutClass","flyout-fixed-width",3,"navItem","qaId"],["shrdUicTooltipPopover","","shrdUicFocusTrap","",1,"position-relative","d-flex","ms-3","ms-lg-4",3,"searchFocused","disableTrap","autoUpdate","ngbPopover","disableTooltip","tooltipVisibilityConfig"],[3,"inContentBox"],[3,"primaryNavItems"],[1,"d-flex","opacity-transition"],["btnClasses","m-0 icon-count-indicator--top-reset",3,"btnVariant","title","trackingName"],["shrdUicTooltipPopover","",3,"opened","ngbPopover","disableTooltip","tooltipVisibilityConfig","tooltipExtraMargin"],["shrdUicButton","","variant","tertiaryMinorBorderless",1,"m-0","text-white",3,"href"],[3,"icon","inheritColor"],["shrdUicButton","","variant","tertiaryMinorBorderless","type","button",1,"m-0"],["shrdUicButton","","variant","tertiaryMinorBorderless","type","button",1,"m-0",3,"click"],[3,"userData","loggedUserTemplateRef"],["shrdUicTooltipPopover","",3,"tooltipPosition","userData","contentRef","ngbPopover","disableTooltip","tooltipVisibilityConfig"],[3,"activeTab","userData"],[3,"userData","loggedUserTemplateRef","inMobileHeader"],["shrdUicButton","","variant","tertiaryMinorBorderless","type","button","shrdUicTooltipPopover","",1,"m-0","icon-count-indicator--top-reset","text-light",3,"click","tooltipPosition","ngbPopover","disableTooltip","tooltipVisibilityConfig","shrdUtcCountIndicator"],["flyoutClass","contact-popover",3,"navItem","qaId"],[1,"bg-white","bl-min-h-20","position-relative"],[3,"userData","isOpen"],[3,"size"],[3,"click"],[3,"metaNavItems","primaryNavItems","userData","openOn
17Init"],[3,"closeBtnLabel"],[3,"explicitClose","headline","closeBtnLabel"]],template:function(R,ee){1&R&&(o.SS7(0),o.nI1(1,"async"),o.nVh(2,oc,3,14,"shrd-pf-ft-page-header-layout",17),o.DNE(3,Fu,7,11,"ng-template",null,0,o.C5r)(5,Cg,1,1,"ng-template",null,1,o.C5r)(7,Og,7,4,"ng-template",null,2,o.C5r)(9,Ig,3,3,"ng-template",null,3,o.C5r)(11,Fh,3,3,"ng-template",null,4,o.C5r)(13,kh,3,2,"ng-template",null,5,o.C5r)(15,ml,3,3,"ng-template",null,6,o.C5r)(17,Rg,1,1,"ng-template",null,7,o.C5r)(19,xg,1,1,"ng-template",null,8,o.C5r)(21,wg,4,1,"ng-template",null,9,o.C5r)(23,jh,4,6,"ng-template",null,10,o.C5r)(25,Vh,5,9,"ng-template",null,11,o.C5r)),2&R&&(o.bH3(o.bMT(1,1,ee.userData$)),o.R7$(2),o.vxM(!ee.isMobileApp&&ee.metaNavItems()?2:-1))},dependencies:[Ri._,za.o,el,dh,rl,jp,Wp,Iu,Jp,ul.R,Xa.ZM,Ro.YU,Ro.T3,wu,Mh.h,cg.Q,Jo.D,th.b,Yc.q,Fi.E,V_,Lp.R,Np.e,ih,Ro.Jj,xr.ov],styles:["[_nghost-%COMP%]{display:contents}"],changeDetection:0}))}return m(),f})();var _l=n(75955);let Bg=(()=>{var m;class f{static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275mod=o.$C({type:f}),this.\u0275inj=c.G2t({providers:[ka.OG,(0,lp.Z)(_l.mc,!0,!0)],imports:[ya,oo]}))}return m(),f})();var ac=n(13051),Hh=n(17137);let Vu=(()=>{var m;class f extends Hh.U{constructor(){super(),this.preloaderElement=this.document.querySelector(`.${ac.v.PAGE_PRELOADER}`),this.bodyElement=this.document.body,this.hasBeenReset=!1,this.preloaderElement&&(this.isBrowser&&this.setA11yAttributes(),this.createStatusSubscription((0,c.WQX)(vr.M).loadingStatus))}show(){super.show();const y=[ac.v.BODY_ACTIVE];this.isBrowser&&this.hasBeenReset&&y.push(ac.v.NAVIGATE),this.bodyElement.classList.add(...y)}reset(){super.reset(),this.hasBeenReset=!0,this.bodyElement.classList.remove(ac.v.BODY_ACTIVE,ac.v.NAVIGATE)}setA11yAttributes(){this.preloaderElement.setAttribute("aria-live","polite"),this.createContentLoadingMessage()}createContentLoadingMessage(){const y=this.document.createElement("span");y.classList.add("visually-hidden","content-loading-message"),y.textContent=this.preloaderTranslations.ariaLabel,this.preloaderElement.append(y)}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275dir=o.FsC({type:f,selectors:[["","shrdUicPagePreloader",""]],features:[o.Vt3]}))}return m(),f})();var Ug=n(49788),$h=n(99728),J_=n(82867);let Kh=(()=>{var m;class f{constructor(){this.win=(0,c.WQX)(jt.$).nativeWindow,this.locale=(0,c.WQX)(Et.v).locale,this.trackingDto=(0,c.WQX)(J_.w),this.consentService=(0,c.WQX)($h.o),this.analyticsService=(0,c.WQX)(Gs.c),this.ftService=(0,c.WQX)(An.I),this.rumDataSubject=ne
17w ze.B,this.consentSubject=new ze.B,(0,c.WQX)(Wt.f).isBrowser&&this.client&&(this.ready$=this.getReady$(),this.subscribeToData(),this.checkConsent(),this.subscribeToBaseTrackingUpdate(),this.subscribeToPageTrackingUpdate())}get client(){return this.win.DD_RUM}updateData(y){this.rumData={...this.rumData,...(0,Yt.Dz)(y)},this.win.mPulseData=this.rumData,this.rumDataSubject.next(this.rumData)}getReady$(){return new gn.c(y=>{this.client.onReady(()=>{y.next(),y.complete()})}).pipe((0,bd.t)(1))}subscribeToBaseTrackingUpdate(){this.trackingDto.update$().pipe((0,vt.s)(1)).subscribe(y=>this.updateData({marketOrganisation:y.country,locale:this.locale,isLoggedIn:y.loggedIn,isEmployee:y.hiltiUser,isAccountManager:y.hiltiSession,hasFleetContract:y.fleetContract,isMobileApp:y.mobileApp,hub:y.region,frontendMode:this.win.document.body.dataset.mpulseFrontendMode}))}subscribeToPageTrackingUpdate(){this.analyticsService.dataLayerUpdated$.pipe((0,at.p)(y=>y.event===Ug.iM.PAGE_VIEW)).subscribe(({templateType:y,productCategory:R})=>this.updateData({templateType:y,productCategory:R}))}subscribeToData(){(0,$t.z)([this.rumDataSubject,this.ready$]).subscribe(([y])=>{this.client.setGlobalContext(y)}),(0,$t.z)([this.consentSubject,this.rumDataSubject,this.ready$]).pipe((0,Be.T)(([y])=>y),(0,ja.F)()).subscribe(y=>{this.client.setTrackingConsent(y)}),(0,$t.z)([this.ftService.evaluateFlag$,this.ready$]).subscribe(([{id:y,val:R}])=>{this.client.addFeatureFlagEvaluation(y,R)})}checkConsent(){this.consentService.ready$.subscribe(y=>{if(this.consentService.isGdprEnabled){const R=y.getRequiredVendorIds().find(_t=>_t.toString().startsWith("c:datadogr")).replace("c:",""),He=y.getCurrentUserStatus().vendors[R];this.setConsentStatus(He.enabled),y.addVendorStatusListener(R,_t=>{this.setConsentStatus(_t.enabled)})}else this.setConsentStatus(!0)})}setConsentStatus(y){this.consentSubject.next(y?"granted":"not-granted")}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}))}return m(),f})();class Ts{_attachedHost;attach(f){return this._attachedHost=f,f.attach(this)}detach(){let f=this._attachedHost;null!=f&&(this._attachedHost=null,f.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(f){this._attachedHost=f}}class cc extends Ts{component;viewContainerRef;injector;projectableNodes;constructor(f,O,y,R){super(),this.component=f,this.viewContainerRef=O,this.injector=y,this.projectableNodes=R}}class vl extends Ts{templateRef;viewContainerRef;context;injector;constructor(f,O,y,R){super(),this.templateRef=f,this.viewContainerRef=O,this.context=y,this.injector=R}get origin(){return this.templateRef.elementRef}attach(f,O=this.context){return this.context=O,super.attach(f)}detach(){return this.context=void 0,super.detach()}}class Hu extends Ts{element;constructor(f){super(),this.element=f instanceof o.aKT?f.nativeElement:f}}class Vg{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(f){return f instanceof cc?(this._attachedPortal=f,this.attachComponentPortal(f)):f instanceof vl?(this._attachedPortal=f,this.attachTemplatePortal(f)):this.attachDomPortal&&f instanceof Hu?(this._attachedPortal=f,this.attachDomPortal(f)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(f){this._disposeFn=f}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Da extends Vg{outletElement;_appRef;_defaultInjector;constructor(f,O,y){super(),this.outletElement=f,this._appRef=O,this._defaultInjector=y}attachComponentPortal(f){let O;if(f.viewContainerRef){const y=f.injector||f.viewContainerRef.injector,R=y.get(o.Ab1,null,{optional:!0})||void 0;O=f.viewContainerRef.createComponent(f.component,{index:f.viewContainerRef.length,injector:y,ngModuleRef:R,projectableNodes:f.projectableNodes||void 0}),this.setDisposeFn(()=>O.destroy())}else{const y=this._appRef,R=f.injector||this._defaultInjector||c.zZn.NULL,ee=R.get(c.uvJ,y.injector);O=(0,u.a0P)(f.component,{elementInjector:R,environmentInjector:ee,projectableNodes:f.projectableNodes||void 0}),y.attachView(O.hostView),this.setDisposeFn(()=>{y.viewCount>0&&y.detachView(O.hostView),O.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(O)),this._attachedPortal=f,O}attachTemplatePortal(f){let O=f.viewContainerRef,y=O.createEmbeddedView(f.templateRef,f.context,{injector:f.injector});
17return y.rootNodes.forEach(R=>this.outletElement.appendChild(R)),y.detectChanges(),this.setDisposeFn(()=>{let R=O.indexOf(y);-1!==R&&O.remove(R)}),this._attachedPortal=f,y}attachDomPortal=f=>{const O=f.element,y=this.outletElement.ownerDocument.createComment("dom-portal");O.parentNode.insertBefore(y,O),this.outletElement.appendChild(O),this._attachedPortal=f,super.setDisposeFn(()=>{y.parentNode&&y.parentNode.replaceChild(O,y)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(f){return f.hostView.rootNodes[0]}}let Qh=(()=>{var m;class f{constructor(){this.document=(0,c.WQX)(c.qQL),this.platform=(0,c.WQX)(Wt.f),this.env=(0,c.WQX)(Et.v),this.toastMessagesService=(0,c.WQX)(rn.X),this.applicationRef=(0,c.WQX)(o.o8S),this.contentContainer=this.getContentContainer(),this.footerContainer=this.getFooterContainer()}renderContentPortal(y,R){if(this.contentContainer){const ee=new Da(this.contentContainer),He=new vl(y,R);ee.attachTemplatePortal(He)}}renderFooterPortal(y,R){if(this.footerContainer){const ee=(0,u.a0P)(y,{environmentInjector:R.injector,hostElement:this.footerContainer});this.applicationRef.attachView(ee.hostView)}}configureToastContainer(y){const R=this.env.hostContext?this.document.querySelector("main"):y;this.toastMessagesService.setGlobalToastContainer(R)}getContentContainer(){return this.platform.isBrowser&&this.env.hostContext?this.document.querySelector("website-content"):null}getFooterContainer(){return this.env.hostContext?this.document.querySelector("website-footer"):null}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275prov=c.jDH({token:f,factory:f.\u0275fac}))}return m(),f})();var El=n(2917),$g=n(70125),Xh=n(46761),Cl=n(13800);const yl=m=>({event_method:"global banner",button_text:m});function Kg(m,f){1&m&&(o.j41(0,"span",2),o.EFF(1),o.k0s()),2&m&&(o.Y8G("shrdCmsUiPreviewInspector","headline"),o.R7$(),o.JRh(f))}function Gg(m,f){if(1&m){const O=o.RV6();o.j41(0,"a",5),o.nI1(1,"sanitizeCmsLink"),o.nI1(2,"cmsLoginUrl"),o.bIt("click",function(){c.eBV(O);const R=o.XpG(3),ee=o.r8f(0);return c.Njj(R.trackBanner(ee))}),o.nrm(3,"shrd-uic-svg-icon",6),o.j41(4,"span"),o.EFF(5),o.k0s()()}if(2&m){const O=f,y=o.XpG(3);o.Y8G("variant","tertiaryTrivialTextBold")("shrdUtcLoginStartedTrackEvent",o.eq3(11,yl,O.title))("isLoggedIn",y.isLoggedIn)("shrdUtcRouterLink",o.bMT(2,9,o.bMT(1,7,O.url)))("shrdCmsUiPreviewInspector","linkLabel"),o.R7$(3),o.Y8G("icon",y.iconName.ARROW_RIGHT),o.R7$(2),o.JRh(O.title)}}function Qg(m,f){if(1&m&&(o.nVh(0,Kg,2,2,"span",2),o.j41(1,"span",3),o.EFF(2),o.k0s(),o.nVh(3,Gg,6,13,"a",4)),2&m){let O,y;o.XpG(2);const R=o.r8f(0);o.vxM((O=R.heading)?0:-1,O),o.R7$(),o.Y8G("shrdCmsUiPreviewInspector","text"),o.R7$(),o.JRh(R.text),o.R7$(),o.vxM((y=R.link)?3:-1,y)}}function zh(m,f){if(1&m&&(o.j41(0,"button",7)(1,"span"),o.EFF(2),o.nI1(3,"i18next"),o.k0s(),o.nrm(4,"shrd-uic-svg-icon",8),o.k0s(),o.j41(5,"span",9),o.EFF(6),o.nI1(7,"i18next"),o.k0s()),2&m){const O=o.XpG(2);o.Y8G("variant","tertiaryTrivialTextBold"),o.R7$(2),o.JRh(o.bMT(3,5,"maintenanceMode.title")),o.R7$(2),o.Y8G("icon",O.iconName.ARROW_RIGHT)("inheritColor",!0),o.R7$(2),o.JRh(o.bMT(7,7,"maintenanceMode.banner.description"))}}function Yh(m,f){if(1&m&&(o.j41(0,"div",1),o.nVh(1,Qg,4,4)(2,zh,8,9),o.k0s()),2&m){const O=o.XpG(),y=o.r8f(0);o.AVh("bg-primary",O.isMaintenanceMode),o.R7$(),o.vxM(y?1:O.isMaintenanceMode?2:-1)}}let sv=(()=>{var m;class f{constructor(){this.iconName=zs.i,this.isLoggedIn=(0,c.WQX)(cn.i).isLoggedIn,this.isMaintenanceMode=(0,c.WQX)(ql.s).isMaintenanceMode,this.showBanner=(0,c.vPA)(!1),this.navigationService=(0,c.WQX)(nt.H),this.analyticsService=(0,c.WQX)(Gs.c),this.configService=(0,c.WQX)(Sd.r),this.punchoutService=(0,c.WQX)(pi.as),this.content$=!this.isMaintenanceMode&&!this.punchoutService.isActiveSession&&this.getContent$()}trackBanner(y,R="select_promotion"){const ee={};"select_promotion"===R&&(this.analyticsService.storeData({navigationItem:"GlobalBanner",navigationItemDetails:`GlobalBanner_${y.heading}`}),ee.promotion_cta=y.link?.title),this.analyticsService.trackEcommerceEvent(R,{...ee,items:[{promotion_id:`GlobalBanner_${y.heading}`,promotion_name:y.text,creative_name:"GlobalBanner",creative_slot:0}]})}getContent$(){return(0,$t.z)([this.navigationService.globalBanner$,this.configService.isCompressed$]).pipe((0,Be.T)(([y,R])=>!R&&y),(0,mt.M)(y=>{this.showBanner.set(!!y),y&&this.trackBanner(y,"view_promotion")}))}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["shrd-pf-ft-global-banner"]],hostVars:4,hostBindings:function(R,ee){2&R&&o.AVh("global-banner-container",ee.showBanner())("d-block",ee.isMaintenanceMode)},decls:3,vars:4,consts:[[1,"bl-h-5","d-flex","align-items-center","justify-content-center","border-bottom","border-neutral-light",3,"bg-primary"],[1,"bl-h-5","d-flex","align-items-center","justify-content-center","border-bottom","border-neutral-light"],[1,"text-bold","mx-1",3,"shrdCmsUiPreviewInspector"],[1,"mx-1",3,"shrdCmsUiPreviewInspector"],["shrdUicButton","",1,"mx-1","my-0",3,"variant","shrdUtcLoginStartedTrackEvent","isLoggedIn","shrdUtcRouterLink","shrdCmsUiPreviewInspector"],["shrdUicButton","",1,"mx-1","my-0",3,"click","variant","shrdUtcLoginStartedTrackEvent","isLoggedIn","shrdUtcRouterLink","shrdCmsUiPreviewInspector"],[3,"icon"],["shrdUicButton","","shrdUtcMaintenanceMode","","type","button",1,"text-bold","text-white","mx-1","my-0",3,"variant"],[3,"icon","inheritColor"],[1,"text-white","mx-1","d-none","d-md-flex"]],template:function(R,ee){if(1&R&&(o.SS7(0),o.nI1(1,"async"),o.nVh(2,Yh,3,3,"div",0)),2&R){const He=o.bH3(o.bMT(1,1,ee.content$));o.R7$(2),o.vxM(He||ee.isMaintenanceMode?2:-1)}},dependencies:[Ri._,Cl.s,El.Z,Jo.D,Hd,Fi.E,Ds.j,Ro.Jj,Xh.G,xr.ov,$g.v],styles:["[_nghost-%COMP%]{display:none}@media screen and (min-width: 1024px){.global-banner-container[_nghost-%COMP%]{display:block}}.hdms-page-preloader-active.navigate:not(.modal-open)[_nghost-%COMP%], .hdms-page-preloader-active.navigate:not(.modal-open) [_nghost-%COMP%]{z-index:10000;position:relative}"],changeDetection:0}))}return m(),f})();const Xg=["footerRef"],lc=["defaultOutlet"],zg=["globalToastContainerRef"],Jh=()=>[iu];function Yg(m,f){1&m&&o.nrm(0,"shrd-pf-ft-smart-banner")}function Zh(m,f){if(1&m&&(o.PeT(0,Yg,1,0),o.nv$(1,0,Jh),o.nrm(3,"shrd-pf-ft-global-banner")),2&m){const O=o.XpG();o.R7$(),o.LVR(O.isMobileBrowser)}}function qh(m,f){1&m&&o.eu8(0)}function Jg(m,f){if(1&m&&(o.j41(0,"main",6),o.DNE(1,qh,1,0,"ng-container",7),o.k0s()),2&m){o.XpG();const O=o.sdS(6);o.R7$(),o.Y8G("ngTemplateOutlet",O)}}function ef(m,f){1&m&&o.eu8(0)}function Zg(m,f){if(1&m&&(o.j41(0,"div"),o.DNE(1,ef,1,0,"ng-container",7),o.k0s()),2&m){o.XpG();const O=o.sdS(6);o.R7$(),o.Y8G("ngTemplateOutlet",O)}}function Dl(m,f){if(1&m){const O=o.RV6();o.j41(0,"router-outlet",8,3),o.nI1(2,"async"),o.bIt("activate",function(R){c.eBV(O);const ee=o.sdS(1),He=o.XpG();return c.Njj(He.onOutletActivate(R,ee))}),o.k0s(),o.eu8(3,null,4)}if(2&m){const O=o.XpG();o.BMQ("data-qa-id",o.bMT(2,1,O.qaI18nNsData$))}}let em=(()=>{var m;class f{constructor(){this.isMobileApp=(0,c.WQX)(_o.z).isMobileApp,this.isBrowser=(0,c.WQX)(Wt.f).isBrowser,this.isMobileBrowser=this.isBrowser&&(0,c.WQX)(tu.I).isMobile,this.footerRef=u.ebz.required("footerRef",{read:o.c1b}),this.defaultOutlet=u.ebz.required("defaultOutlet",{read:o.C4Q}
17),this.globalToastContainerRef=(0,u.ebz)("globalToastContainerRef",{read:o.c1b}),this.pageConfigService=(0,c.WQX)(Su.x),this.document=(0,c.WQX)(c.qQL),this.routerHelper=(0,c.WQX)(pn.T),this.env=(0,c.WQX)(Et.v),this.renderer=(0,c.WQX)(o.sFG),this.portalService=(0,c.WQX)(Qh),this.destroyRef=(0,c.WQX)(c.abz),this.injector=(0,c.WQX)(c.uvJ),this.maintenanceModeModalService=(0,c.WQX)(Uc),this.hostContext=this.env.hostContext,this.qaI18nNsData$=this.getQaI18nNsData$(),this.instantiateServices()}ngOnInit(){!this.hostContext&&this.initPageConfig(),this.initPageFrame(),this.initialiseMaintenanceMode()}ngAfterViewInit(){this.portalService.configureToastContainer(this.globalToastContainerRef())}onOutletActivate(y,R){const ee=(0,u.HJs)(y.constructor).selector,He=ee&&R.parentElement.querySelectorAll(this.isBrowser?`:scope > ${ee}`:ee);He?.length&&He.forEach(_t=>{this.renderer.addClass(_t,"hdms-content")})}instantiateServices(){(0,c.WQX)(An.I),(0,c.WQX)(Gs.c),(0,c.WQX)(Kh),this.env.hostContext||(0,c.WQX)(pr)}initPageConfig(){this.pageConfigService.init(),this.pageConfigService.isCompressedPageLayout$.pipe((0,lr.pQ)(this.destroyRef)).subscribe(y=>this.toggleClass("is-compressed-page-layout",y))}initPageFrame(){if(!this.isMobileApp){const y=(0,o.w6W)(Bg,this.injector);this.hostContext?this.portalService.renderFooterPortal(oo,y):this.footerRef().createComponent(oo,{ngModuleRef:y})}this.portalService.renderContentPortal(this.defaultOutlet(),this.footerRef())}toggleClass(y,R){this.renderer[R?"addClass":"removeClass"](this.document.body,y)}getQaI18nNsData$(){return this.routerHelper.routeData$.pipe((0,Be.T)(({i18nextNamespaces:y})=>JSON.stringify({i18nNs:y})))}initialiseMaintenanceMode(){this.maintenanceModeModalService.subscribeToMaintenanceModeToggle()}static#e=m=()=>(this.\u0275fac=function(R){return new(R||f)},this.\u0275cmp=o.VBU({type:f,selectors:[["website-root"]],viewQuery:function(R,ee){1&R&&(o.wEZ(ee.footerRef,Xg,5,o.c1b),o.wEZ(ee.defaultOutlet,lc,5,o.C4Q),o.wEZ(ee.globalToastContainerRef,zg,5,o.c1b)),2&R&&o.NyB(3)},features:[o.Jv_([Qh])],decls:9,vars:2,consts:[["defaultOutlet",""],["outletRef",""],["footerRef",""],["outlet",""],["globalToastContainerRef",""],["shrd-pf-ft-page-header",""],["id","main",1,"hdms-main"],[4,"ngTemplateOutlet"],["shrdUicPagePreloader","",3,"activate"]],template:function(R,ee){1&R&&(o.nrm(0,"header",5),o.nVh(1,Zh,4,1),o.nVh(2,Jg,2,1,"main",6),o.DNE(3,Zg,2,1,"ng-template",null,0,o.C5r)(5,Dl,5,3,"ng-template",null,1,o.C5r),o.eu8(7,null,2)),2&R&&(o.R7$(),o.vxM(ee.isMobileApp?-1:1),o.R7$(),o.vxM(ee.hostContext?-1:2))},dependencies:[Ro.T3,tt.n3,Vu,Bg,ya,sv,Ro.Jj],encapsulation:2,changeDetection:0}))}return m(),f})();(function q(){n.p=new URL(import.meta.url).pathname.replace(/[^/]+\.js$/,"")})(),function ce(m,f,O){const y={rootComponent:m,platformRef:O?.platformRef,...De(f)};return(0,u.TL3)(y)}(em,(0,u.v7R)(Md,ue)).catch(m=>Te.V.error(m))},16885(ye,A,n){n.d(A,{$e:()=>h,OB:()=>o,SC:()=>C,UF:()=>T,b9:()=>c,cu:()=>D,qT:()=>u,uA:()=>g,xl:()=>l});const u=20,l="ldt_decimal_spaces",h="ldt_evoucher_creation_form_refactor",c="E-Voucher Hub Page",T="ldt_fleet_threshold_update",o="ldt_fleet_renewal_proposal",D="ldt_evoucher_value_percentage_hint",g="ldt_evoucher_admin_config_overview",C="ldt_mobile_app_only_voucher"},39480(ye,A,n){n.d(A,{CT:()=>c,FJ:()=>o,JW:()=>h,To:()=>u,aW:()=>l,qJ:()=>T});const u="shared-add-to-favorites-flyout.feature",l="addToFavorites.toastMessages.createdNewList",h="addToFavorites.toastMessages.addedToExistingList",c="ldt_hdms_favorite_list_add_message",T="ADD_TO_FAVORITES_LIST_ERROR",o="addToFavorites.toastMessages"},90742(ye,A,n){n.d(A,{j:()=>u,t:()=>l});var u=function(h){return h.CACHE_FIRST="cache-first",h.NETWORK_ONLY="network-only",h.CACHE_ONLY="cache-only",h.NO_CACHE="no-cache",h.STANDBY="standby",h}(u||{}),l=function(h){return h.NONE="none",h.IGNORE="ignore",h.ALL="all",h}(l||{})},42453(ye,A,n){n.d(A,{C:()=>l});const l=new(n(17988).nKC)("shrd-common-types.homeUrl",{providedIn:"root",factory:()=>"/"})},62777(ye,A,n){n.d(A,{$:()=>u});var u=function(l){return l[l.DEBUG=0]="DEBUG",l[l.LOG=1]="LOG",l[l.INFO=2]="INFO",l[l.WARN=3]="WARN",l[l.ERROR=4]="ERROR",l[l.OFF=5]="OFF",l}(u||{})},51417(ye,A,n){n.d(A,{_:()=>u});var u=function(h){return h.XS="xs",h.MD="medium",h.LG="large",h.WIDE="wide",h}(u||{})},13051(ye,A,n){n.d(A,{v:()=>u});const u={ACTIVE:"active",SHOW:"show",HIDE:"hide",INITIAL:"initial",PAGE_PRELOADER:"js-hdms-page-preloader",BODY_ACTIVE:"hdms-page-preloader-active",NAVIGATE:"navigate"}},91671(ye,A,n){n.d(A,{h:()=>u});var u=function(l){return l.BASE="myaccount-ccn",l}(u||{})},30965(ye,A,n){n.d(A,{K:()=>u});var u=function(l){return l.BASE="cart",l.SPA="cart_spa",l}(u||{})},19583(ye,A,n){n.d(A,{c:()=>u});var u=function(l){return l.BASE="checkout",l.SUMMARY="summary",l.GUEST_CHECKOUT="guest-checkout",l.ROOT_CHECKOUT_PATH="",l.ORDER_LABELING="order-label",l.QUOTE_CONVERSION="conversion/summary/:id",l.SUMMARY_ORDER_ERROR="summary-error",l.CONFIRMATION_ORDER_ERROR="confirmation-error",l.GUEST_SUMMARY_ORDER_ERROR="guest-summary-error",l.GUEST_CONFIRMATION_ORDER_ERROR="guest-confirmation-error",l.CONFIRMATION="confirmation",l.ORDER_ERROR="error",l.PAYMENT_OPTIONS_ERROR="payment-options-error",l.CART="/cart",l.FLEET_LABELING="fleet-label",l.CONVERSION="conversion",l.QUOTE_CONVERSION_FLEET_LABELING="conversion/fleet-label/:id",l.QUOTE_CONVERSION_ORDER_LABELING="conversion/order-label/:id",l.QUOTE_CREATION_CONFIRMATION="quotation-confirmation",l.CREATE_QUOTE="create-quotation",l.CREATE_QUOTE_FLEET_LABELING="create-quotation/fleet-label",l.CREATE_QUOTE_ORDER_LABELING="create-quotation/order-label",l}(u||{})},64106(ye,A,n){n.d(A,{U:()=>u});var u=function(l){return l.EMPTY="empty",l.NOT_FOUND="not-found",l.OAUTH_ERROR="oauth-error",l.GENERIC_ERROR="error",l.AUTHORIZATION_ERROR="authorization-error",l.MAINTENANCE="maintenance",l}(u||{})},35335(ye,A,n){n.d(A,{g:()=>u});var u=function(l){return l.BASE="evouchers",l.EVOUCHER_LOGIN="evoucherlogin",l}(u||{})},93176(ye,A,n){n.d(A,{_:()=>u});var u=function(l){return l.BASE="stores",l}(u||{})},94234(ye,A,n){n.d(A,{s:()=>u});var u=function(l){return l.BASE="myaccount-authmanagement",l}(u||{})},76366(ye,A,n){n.d(A,{y:()=>u});var u=function(l){return l.BASE="myaccount-favorites",l.MY_FAVORITES="my-favorites",l.COMPANY_LIST
17="my-companylists",l.LEGACY_COMPANY_LISTS="myaccount-companylists",l.RECOMMENDED_PRODUCTS="recommendation-list",l.RECENTLY_PURCHASED="last-purchases",l.SUBMITTALS="myaccount-submittals",l}(u||{})},75588(ye,A,n){n.d(A,{x:()=>u});var u=function(l){return l.BASE="myaccount-financialhub",l.ORDERS="orders",l.REPAIR_ORDERS="repair-orders",l.QUOTES="quotes",l.CONSUMABLE_REPORTING="consopass-reporting",l.CONSUMABLE_SUBSCRIPTION_MANAGEMENT="consopass-management",l.GUEST_ORDER_TRACKING="order-tracking",l.ORDER_INFORMATION="information",l}(u||{})},90038(ye,A,n){n.d(A,{Q:()=>u});var u=function(l){return l.BASE="myaccount-profile",l.COMMUNICATION_PREFERENCES="communication-preferences",l.COMPANY_INFORMATION="company-information",l.DELIVERY_ADDRESS_LIST="delivery-addresses",l.PERSONAL_INFORMATION="personal-information",l}(u||{})},58481(ye,A,n){n.d(A,{T:()=>u});var u=function(l){return l.BASE="myaccount-subscriptions",l.SOFTWARE="software",l}(u||{})},50656(ye,A,n){n.d(A,{a:()=>u,t:()=>l});var u=function(h){return h.BASE="myaccount-tools",h.GENERAL_TOOLS="general-tools",h.REPAIR="repair",h.RETURN="return",h.REPAIR_TRACKING="repair-tracking",h.REORDER_LABELS="reorder-labels",h.LOST_STOLEN="lost-stolen",h.COST_CENTER_LIST="change-cost-center-list",h.FLEET_EXCHANGE="fleet-exchange",h.LOAN="loan",h.PEAK="peak",h.CIRCULARITY_REPORTS="circularity-reports",h.PROCESS="process",h.RENEW="renew",h.ON_TRACK="onTrack",h}(u||{});const l={...u,REPAIR_TRACKING_DETAILS:String.raw`repair-tracking/[\d\w]*(/|/success|/error)?`,COST_CENTER:"change-cost-center"}},69599(ye,A,n){n.d(A,{G:()=>u});var u=function(l){return l.BASE="c",l.BASE_CATEGORY_PAGE="products",l.STORAGE_CONFIGURATOR="storage-configurator",l.CMS_SEGMENT="info",l}(u||{})},61642(ye,A,n){n.d(A,{x:()=>u});var u=function(l){return l.ACCOUNT="account",l.BASE="register",l.CONTACT="contact",l}(u||{})},30595(ye,A,n){n.d(A,{w:()=>u});var u=function(l){return l.BASE="search",l.SPECIAL_PRODUCTS="special-products",l.DOWNLOADS="downloads",l}(u||{})},15954(ye,A,n){n.d(A,{y:()=>u});var u=function(l){return l.BASE="technical-library",l}(u||{})},20220(ye,A,n){n.d(A,{$9:()=>Er,$A:()=>je,AB:()=>N,BI:()=>c,BX:()=>Qn,Bf:()=>Rt,Bm:()=>Z,CA:()=>jt,CO:()=>l,Cc:()=>Et,Cn:()=>H,DX:()=>J,FU:()=>bt,FZ:()=>ct,GM:()=>zr,Gc:()=>re,H1:()=>Dr,HF:()=>Yn,HX:()=>T,IX:()=>o,Iu:()=>lr,J$:()=>s,Kv:()=>Ze,LB:()=>Y,LC:()=>An,Mc:()=>ar,NK:()=>ke,OV:()=>D,Og:()=>mt,P:()=>x,Pb:()=>v,Pp:()=>bn,Qw:()=>Ot,SJ:()=>wt,T:()=>Te,T$:()=>Wr,UY:()=>Xn,Uf:()=>Ce,Uh:()=>pt,Vw:()=>Be,X3:()=>P,YT:()=>M,Yf:()=>vr,Z3:()=>Ht,_X:()=>E,_x:()=>Lt,a0:()=>gt,aX:()=>vn,am:()=>Qe,b0:()=>Oe,ch:()=>Fr,dN:()=>an,el:()=>tt,g4:()=>In,gB:()=>j,j$:()=>ue,j2:()=>Fn,jH:()=>it,jU:()=>Yt,jo:()=>at,k:()=>X,k7:()=>pe,kX:()=>un,kl:()=>De,l3:()=>Jn,lC:()=>I,ls:()=>$e,lz:()=>Mn,mB:()=>go,mD:()=>ce,mH:()=>q,ny:()=>Ae,o0:()=>$n,ox:()=>ze,pE:()=>Ut,pI:()=>sn,pY:()=>ut,px:()=>u,qh:()=>or,qy:()=>Or,rH:()=>Mr,rc:()=>h,ru:()=>Wt,s0:()=>cr,sE:()=>wr,t6:()=>Fe,ut:()=>g,uv:()=>w,vi:()=>qn,w8:()=>nr,wP:()=>fe,wh:()=>$,xP:()=>Ve,yi:()=>G,yt:()=>z});var u=function(p){return p.FLEET="FLEET",p.FLEET_RENEWAL="FLEET_RENEWAL",p.STANDARD="STANDARD",p}(u||{}),l=function(p){return p.BILL_TO="BILL_TO",p.CONSORTIUM="CONSORTIUM",p.CORPORATE_GROUP="CORPORATE_GROUP",p.DENIED_CUSTOMER="DENIED_CUSTOMER",p.FIRST_TIME_CUSTOMER="FIRST_TIME_CUSTOMER",p.INFLUENCER="INFLUENCER",p.PAYER="PAYER",p.PROJECT="PROJECT",p.PROSPECT="PROSPECT",p.SHIP_TO="SHIP_TO",p.SOLD_TO="SOLD_TO",p.SPECIFIER="SPECIFIER",p.TERRITORY="TERRITORY",p.WALK_IN_CUSTOMER="WALK_IN_CUSTOMER",p}(l||{}),h=function(p){return p.GENERAL="GENERAL",p.LEVEL2="LEVEL2",p.LEVEL3="LEVEL3",p}(h||{}),c=function(p){return p.ACCEPTED="ACCEPTED",p.DECLINED="DECLINED",p.NOT_VALIDATED="NOT_VALIDATED",p}(c||{}),T=function(p){return p.LIFESTYLE="LIFESTYLE",p.NO_IMAGE="NO_IMAGE",p.PRODUCT="PRODUCT",p}(T||{}),o=function(p){return p.IMMEDIATELY="IMMEDIATELY",p.ON_ORDER_CREATION="ON_ORDER_CREATION",p}(o||{}),D=function(p){return p.COST_CENTER="COST_CENTER",p.INVENTORY_NUMBER="INVENTORY_NUMBER",p.ORGANIZATIONAL_REFERENCE="ORGANIZATIONAL_REFERENCE",p}(D||{}),g=function(p){return p.FREE_OF_CHARGE="FREE_OF_CHARGE",p.MONTHLY="MONTHLY",p.QUARTERLY="QUARTERLY",p.SEMI_YEARLY="SEMI_YEARLY",p.SINGLE="SINGLE",p.YEARLY="YEARLY",p.YEARLY_AND_MONTHLY="YEARLY_AND_MONTHLY",p}(g||{}),v=function(p){return p.CHECKOUT="CHECKOUT",p.CREATE_QUOTATION="CREATE_QUOTATION",p.GUEST_CHECKOUT="GUEST_CHECKOUT",p}(v||{}),E=function(p){return p.CLICK_AND_COLLECT_NOT_SUPPORTED="CLICK_AND_COLLECT_NOT_SUPPORTED",p.CONFLICTING_SUBSCRIPTION="CONFLICTING_SUBSCRIPTION",p.ELIGIBLE="ELIGIBLE",p.ELIGIBLE_WITH_AUTOREMOVAL="ELIGIBLE_WITH_AUTOREMOVAL",p.MAXIMUM_DISCOUNT_EXCEEDED="MAXIMUM_DISCOUNT_EXCEEDED",p.NOTHING_TO_CHECKOUT="NOTHING_TO_CHECKOUT",p.NOT_ELIGIBLE="NOT_ELIGIBLE",p.NOT_ELIGIBLE_FOR_AM_CHECKOUT="NOT_ELIGIBLE_FOR_AM_CHECKOUT",p.NOT_ELIGIBLE_FOR_QUOTATION_CONSOPASS="NOT_ELIGIBLE_FOR_QUOTATION_CONSOPASS",p.NOT_ELIGIBLE_FOR_QUOTATION_FLEET_CLASSIC="NOT_ELIGIBLE_FOR_QUOTATION_FLEET_CLASSIC",p.NOT_ELIGIBLE_FOR_QUOTATION_PEAK="NOT_ELIGIBLE_FOR_QUOTATION_PEAK",p.NOT_ELIGIBLE_FOR_QUOTATION_SOFTWARE_OR_SERVICE="NOT_ELIGIBLE_FOR_QUOTATION_SOFTWARE_OR_SERVICE",p.NO_PERMISSION="NO_PERMISSION",p.TOO_LARGE_FOR_SIMULATION="TOO_LARGE_FOR_SIMULATION",p}(E||{}),M=function(p){return p.ALREADY_ACTIVE_SUBSCRIPTION="ALREADY_ACTIVE_SUBSCRIPTION",p.CONFLICTING_SUBSCRIPTION="CONFLICTING_SUBSCRIPTION",p.HAZARDOUS_GOOD="HAZARDOUS_GOOD",p.INVALID="INVALID",p.INVALID_PEAK="INVALID_PEAK",p.MISSING_PRICE="MISSING_PRICE",p.NOT_ELIGIBLE_FOR_AM_CHECKOUT="NOT_ELIGIBLE_FOR_AM_CHECKOUT",p.NOT_ELIGIBLE_FOR_GUEST_CHECKOUT="NOT_ELIGIBLE_FOR_GUEST_CHECKOUT",p.PHASED_OUT="PHASED_OUT",p.VALID="VALID",p}(M||{}),N=function(p){return p.QUOTATION="QUOTATION",p.STANDARD="STANDARD",p}(N||{}),P=function(p){return p.PROPERCASE="PROPERCASE",p.UPPERCASE="UPPERCASE",p}(P||{}),I=function(p){return p.FULL="FULL",p.NONE="NONE",p.PARTIAL="PARTIAL",p}(I||{}),x=function(p){return p.CONTACT_PERSON_VALIDATION_FAILED="CONTACT_PERSON_VALIDATION_FAILED",p.EMAIL_NOTIFICATION_FAILED="EMAIL_NOTIFICATION_FAILED",p.GENERIC_ERROR="GENER
17IC_ERROR",p.SUCCESS="SUCCESS",p}(x||{}),j=function(p){return p.ACTIVE="ACTIVE",p.CANCELED="CANCELED",p.NOT_STARTED="NOT_STARTED",p}(j||{}),w=function(p){return p.CONSOPASS="CONSOPASS",p.LOCKER="LOCKER",p.REFILL="REFILL",p}(w||{}),H=function(p){return p.ACTIVE="ACTIVE",p.DISABLED="DISABLED",p.INACTIVE="INACTIVE",p.INVITED="INVITED",p}(H||{}),J=function(p){return p.BUSINESS="BUSINESS",p.INDIVIDUAL="INDIVIDUAL",p}(J||{}),Y=function(p){return p.FRIDAY="FRIDAY",p.MONDAY="MONDAY",p.SATURDAY="SATURDAY",p.SUNDAY="SUNDAY",p.THURSDAY="THURSDAY",p.TUESDAY="TUESDAY",p.WEDNESDAY="WEDNESDAY",p}(Y||{}),re=function(p){return p.SALES_TACTICS="SALES_TACTICS",p}(re||{}),G=function(p){return p.CLICK_AND_COLLECT_IN_HILTI_STORE="CLICK_AND_COLLECT_IN_HILTI_STORE",p.COLLECT_IN_HILTI_STORE="COLLECT_IN_HILTI_STORE",p.SHIP_TO_ADDRESS="SHIP_TO_ADDRESS",p.SHIP_TO_HILTI_STORE="SHIP_TO_HILTI_STORE",p.SHIP_TO_PICK_UP_DROP_OFF="SHIP_TO_PICK_UP_DROP_OFF",p}(G||{}),ce=function(p){return p.BIG_FLEET="BIG_FLEET",p.CONSUMABLE_SUBSCRIPTION="CONSUMABLE_SUBSCRIPTION",p.DEFAULT="DEFAULT",p.FLEET="FLEET",p.PEAK="PEAK",p.STANDARD="STANDARD",p}(ce||{}),pe=function(p){return p.KM="KM",p.MI="MI",p}(pe||{}),De=function(p){return p.NON_TARGETED="NON_TARGETED",p.TARGETED="TARGETED",p}(De||{}),z=function(p){return p.CREATED_BY_CURRENT_EMPLOYEE="CREATED_BY_CURRENT_EMPLOYEE",p.CURRENT_CUSTOMER="CURRENT_CUSTOMER",p}(z||{}),ke=function(p){return p.CATEGORY="CATEGORY",p.PRODUCT="PRODUCT",p.TYPE="TYPE",p}(ke||{}),it=function(p){return p.GIFT="GIFT",p.STANDARD="STANDARD",p}(it||{}),Qe=function(p){return p.ACTIVE="ACTIVE",p.COMPLETED="COMPLETED",p.DRAFT="DRAFT",p.EXPIRED="EXPIRED",p.INACTIVE="INACTIVE",p.PENDING="PENDING",p.PENDING_ACTIVATION="PENDING_ACTIVATION",p.PROCESSING="PROCESSING",p.REDEEMED="REDEEMED",p}(Qe||{}),Ze=function(p){return p.ACCOUNT="ACCOUNT",p.CAMPAIGN="CAMPAIGN",p}(Ze||{}),X=function(p){return p.ANNUALLY="ANNUALLY",p.MONTHLY="MONTHLY",p.QUARTERLY="QUARTERLY",p.SEMI_ANNUALLY="SEMI_ANNUALLY",p}(X||{}),q=function(p){return p.ACCEPTED="ACCEPTED",p.ASSIGNED="ASSIGNED",p.COMPLETED="COMPLETED",p.HI_SIGNED="HI_SIGNED",p.QUOTATION="QUOTATION",p.REJECTED="REJECTED",p.SIGNED="SIGNED",p.STARTED="STARTED",p.UPDATED="UPDATED",p}(q||{}),Te=function(p){return p.DIGITAL="DIGITAL",p.DIGITAL_PHYSICAL="DIGITAL_PHYSICAL",p.PHYSICAL="PHYSICAL",p}(Te||{}),je=function(p){return p.LANDSCAPE="LANDSCAPE",p.PORTRAIT="PORTRAIT",p}(je||{}),Fe=function(p){return p.ACTIVE="ACTIVE",p.BANKRUPTCY="BANKRUPTCY",p.INACTIVE="INACTIVE",p.PREPARE="PREPARE",p.QUOTATION="QUOTATION",p.TERMINATED="TERMINATED",p.WORK_IN_PROGRESS="WORK_IN_PROGRESS",p}(Fe||{}),Be=function(p){return p.DROPDOWN="DROPDOWN",p.STRING="STRING",p}(Be||{}),at=function(p){return p.ADDRESS="ADDRESS",p.ADDRESS_DISPLAY="ADDRESS_DISPLAY",p.CONTACT_DISPLAY="CONTACT_DISPLAY",p.GUEST_CHECKOUT_BILLING_DETAILS="GUEST_CHECKOUT_BILLING_DETAILS",p.GUEST_CHECKOUT_SHIPPING_DETAILS="GUEST_CHECKOUT_SHIPPING_DETAILS",p.NEW_CONTACT="NEW_CONTACT",p.PROFILE_COMPANY="PROFILE_COMPANY",p.PROFILE_CONTACT="PROFILE_CONTACT",p}(at||{}),Ot=function(p){return p.ERROR="ERROR",p.SUCCESS="SUCCESS",p}(Ot||{}),Et=function(p){return p.HILTI_STORE="HILTI_STORE",p.PICK_UP_DROP_OFF="PICK_UP_DROP_OFF",p}(Et||{}),Yt=function(p){return p.HILTI_ONLINE_CHECKOUT="HILTI_ONLINE_CHECKOUT",p.HILTI_ONLINE_REPAIR="HILTI_ONLINE_REPAIR",p.HILTI_ONLINE_STORES="HILTI_ONLINE_STORES",p}(Yt||{}),ut=function(p){return p.BLANK="BLANK",p.COST_CENTER="COST_CENTER",p.ORGANIZATIONAL_REFERENCE="ORGANIZATIONAL_REFERENCE",p.PURCHASE_ORDER_NUMBER="PURCHASE_ORDER_NUMBER",p.SHIP_TO="SHIP_TO",p}(ut||{}),bt=function(p){return p.SUBSCRIPTION="SUBSCRIPTION",p}(bt||{}),tt=function(p){return p.HILTI_ONLINE_MY_ACCOUNT="HILTI_ONLINE_MY_ACCOUNT",p.HILTI_ONLINE_PRODUCT="HILTI_ONLINE_PRODUCT",p.HILTI_ONLINE_PRODUCT_LIST="HILTI_ONLINE_PRODUCT_LIST",p.HILTI_ONLINE_QUICK_CHECKOUT="HILTI_ONLINE_QUICK_CHECKOUT",p.HILTI_ONLINE_QUOTE_CREATION="HILTI_ONLINE_QUOTE_CREATION",p.HILTI_ONLINE_REGISTRATION="HILTI_ONLINE_REGISTRATION",p.HILTI_ONLINE_TOOL_PARK_MANAGEMENT="HILTI_ONLINE_TOOL_PARK_MANAGEMENT",p}(tt||{}),Ht=function(p){return p.CUSTOMER_FEEDBACK="CUSTOMER_FEEDBACK",p.EVENTS_AND_PROMOTIONS="EVENTS_AND_PROMOTIONS",p.NEWSLETTER="NEWSLETTER",p.PHONE="PHONE",p.SOCIAL_NETWORK="SOCIAL_NETWORK",p.TECHNICAL_EDUCATION="TECHNICAL_EDUCATION",p}(Ht||{}),ze=function(p){return p.ERROR="ERROR",p.SUCCESS="SUCCESS",p}(ze||{}),pt=function(p){return p.ERROR="ERROR",p.SUCCESS="SUCCESS",p}(pt||{}),an=function(p){return p.CLICK_AND_COLLECT="CLICK_AND_COLLECT",p.DELIVERY_ADDRESS="DELIVERY_ADDRESS",p.HILTI_STORE="HILTI_STORE",p.SHIP_TO_HILTI_STORE="SHIP_TO_HILTI_STORE",p}(an||{}),s=function(p){return p.CALCULATED="CALCULATED",p.FAILED="FAILED",p.IN_PROGRESS="IN_PROGRESS",p.NOT_SIMULATED="NOT_SIMULATED",p.SIMULATED="SIMULATED",p.SKIPPED="SKIPPED",p}(s||{}),mt=function(p){return p.EXPECTED_DELAY="EXPECTED_DELAY",p.FAILED_DELIVERY_ATTEMPT="FAILED_DELIVERY_ATTEMPT",p.FAILED_PICKUP_ATTEMPT="FAILED_PICKUP_ATTEMPT",p.GOODS_ISSUE="GOODS_ISSUE",p.GOODS_RECEIPT="GOODS_RECEIPT",p.OUT_FOR_DELIVERY="OUT_FOR_DELIVERY",p.PARTIALLY_DELIVERED="PARTIALLY_DELIVERED",p.PICKING_AND_PACKING="PICKING_AND_PACKING",p.RETURNED_TO_SENDER="RETURNED_TO_SENDER",p.SUCCESSFUL_DELIVERY="SUCCESSFUL_DELIVERY",p.SUCCESSFUL_PICKUP="SUCCESSFUL_PICKUP",p}(mt||{}),Wt=function(p){return p.AUTHORIZE="AUTHORIZE",p.CAPTURE="CAPTURE",p}(Wt||{}),jt=function(p){return p.COMPUTOP="COMPUTOP",p.DIGITAL_PAYMENT="DIGITAL_PAYMENT",p.NOVALNET="NOVALNET",p.STRIPE="STRIPE",p}(jt||{}),sn=function(p){return p.HILTI_ONLINE_WEBSITE="HILTI_ONLINE_WEBSITE",p.HILTI_SHOP_MOBILE_APP="HILTI_SHOP_MOBILE_APP",p}(sn||{}),Lt=function(p){return p.HILTI_ONLINE_CLICK_AND_COLLECT="HILTI_ONLINE_CLICK_AND_COLLECT",p.HILTI_ONLINE_GUEST_CHECKOUT="HILTI_ONLINE_GUEST_CHECKOUT",p.HILTI_ONLINE_QUICK_CHECKOUT="HILTI_ONLINE_QUICK_CHECKOUT",p.HILTI_ONLINE_QUOTE_TO_ORDER="HILTI_ONLINE_QUOTE_TO_ORDER",p.HILTI_ONLINE_SOFTWARE_SUBSCRIPTION="HILTI_ONLINE_SOFTWARE_SUBSCRIPTION",p.HILTI_ONLINE_SOFTWARE_SUBSCRIPTION_ACTIVATION="HILTI_ONLINE_SOFTWARE_SUBSCRIPTION_ACTIVATION",p.HILTI_ONLINE_SOFTWARE_SUBSCRIPTION_UPDATE="HILTI_ONLINE_SOFTWARE_SUBSCRIPTION_UPDATE",p}(Lt||{}),vn=function(p){return p.BROWSE_ALL_CAMPAIGN_EVOUCHER="BROWSE_ALL_CAMPAIGN_EVOUCHER",p.BROWSE_ALL_CONSUMABLE_EVOUCHER="BROWSE_ALL_CONSUMABLE_EVOUCHER",p.BROWSE_CREATED_BY_CONSUMABLE_EVOUCHER="BROWSE_CREATED_BY_CONSUMABLE_EVOUCHER",p.BROWSE_CURRENT_CUSTOMER_EVOUCHER="BROWSE_CURRENT_CUSTOMER_EVOUCHER",p.BROWSE_EVOUCHER_CONFIG="BROWSE_EVOUCHER_CONFIG",p.CREATE_CAMPAIGN_EVOUCHER="CREATE_CAMPAIGN_EVOUCHER",p.CREATE_CONSUMABLE_EVOUCHER="CREATE_CONSUMABLE_EVOUCHER",p.DEACTIVATE_EVOUCHER="DEACTIVATE_EVOUCHER",p.DELETE_EVOUCHER="DELETE_EVOUCHER",p.REACTIVATE_EVOUCHER="REACTIVATE_EVOUCHER",p.REPORT_CAMPAIGN_EVOUCHER="REPORT_CAMPAIGN_EVOUCHER",p.REPORT_CONSUMABLE_EVOUCHER="REPORT_CONSUMABLE_EVOUCHER",p.REPORT_CREATED_BY_CONSUMABLE_EVOUCHER="REPORT_CREATED_BY_CONSUMABLE_EVOUCHER",p.UPDATE_EVOUCHER_CONFIG="UPDATE_EVOUCHER_CONFIG",p}(vn||{}),wt=function(p){return p.FLEET="FLEET",p.STANDARD="STANDARD",p.SUBSCRIPTION="SUBSCRIPTION",p}(wt||{}),Mn=function(p){return p.ASPECT_RATIO_200="ASPECT_RATIO_200",p.ASPECT_RATIO_300="ASPECT_RATIO_300",p.ASPECT_RATIO_600="ASPECT_RATIO_600",p.ASPECT_RATIO_800="ASPECT_RATIO_800",p.ASPECT_RATIO_1200="ASPECT_RATIO_1200",p.ASPECT_RATIO_2000="ASPECT_RATIO_2000",p.PNG_ORIGINAL="PNG_ORIGINAL",p}(Mn||{}
17),Ut=function(p){return p.APPLICATION="APPLICATION",p.ISOMETRIC="ISOMETRIC",p.LANDING="LANDING",p.TECHNICAL="TECHNICAL",p}(Ut||{}),In=function(p){return p.CONTACT_US="CONTACT_US",p.EXTERNAL="EXTERNAL",p}(In||{}),An=function(p){return p.COMPLEMENTARY_RANGES="COMPLEMENTARY_RANGES",p.RELATED_RANGES="RELATED_RANGES",p.TOP_SELLERS="TOP_SELLERS",p}(An||{}),Xn=function(p){return p.FIRST_ITEM="FIRST_ITEM",p.LAST_ITEM="LAST_ITEM",p}(Xn||{}),Fr=function(p){return p.ACCESSORY="ACCESSORY",p.BATTERIES_AND_CHARGERS="BATTERIES_AND_CHARGERS",p.CONSUMABLE="CONSUMABLE",p.INSERT="INSERT",p.SERVICE="SERVICE",p.SOFTWARE="SOFTWARE",p.TOOL="TOOL",p}(Fr||{}),Dr=function(p){return p.HILTI_ONLINE_WEBSITE="HILTI_ONLINE_WEBSITE",p.HILTI_SHOP_MOBILE_APP="HILTI_SHOP_MOBILE_APP",p}(Dr||{}),wr=function(p){return p.CONSUMABLE_SUBSCRIPTION="CONSUMABLE_SUBSCRIPTION",p.FLEET="FLEET",p.PEAK="PEAK",p.SOFTWARE="SOFTWARE",p.SOFTWARE_MONTHLY="SOFTWARE_MONTHLY",p.SOFTWARE_YEARLY="SOFTWARE_YEARLY",p.STANDARD="STANDARD",p.SUBSCRIPTION="SUBSCRIPTION",p}(wr||{}),Ve=function(p){return p.COMPLETED="COMPLETED",p.CONVERTED="CONVERTED",p.EXPIRED="EXPIRED",p.IN_PROCESS="IN_PROCESS",p.OPEN="OPEN",p.PARTIALLY_CONVERTED="PARTIALLY_CONVERTED",p}(Ve||{}),Ae=function(p){return p.ACCESSORY="ACCESSORY",p.BATTERIES_CHARGERS="BATTERIES_CHARGERS",p.CONSUMABLE="CONSUMABLE",p.INSERT="INSERT",p.RELATED_TOOL="RELATED_TOOL",p.SERVICE="SERVICE",p.SOFTWARE="SOFTWARE",p}(Ae||{}),$e=function(p){return p.COMPLETED="COMPLETED",p.OPEN="OPEN",p}($e||{}),gt=function(p){return p.ANALYSIS="ANALYSIS",p.ARRIVED_AT_TSC="ARRIVED_AT_TSC",p.BOUGHT_NEW_AND_RECYCLED="BOUGHT_NEW_AND_RECYCLED",p.DELAYED_EXCEPTIONAL_VOLUME="DELAYED_EXCEPTIONAL_VOLUME",p.DELAYED_WAITING_SPAREPARTS="DELAYED_WAITING_SPAREPARTS",p.DROPPED_OFF="DROPPED_OFF",p.EXPECT_DELAYS="EXPECT_DELAYS",p.FAILED_DELIVERY="FAILED_DELIVERY",p.IN_DELIVERY_PHASE="IN_DELIVERY_PHASE",p.IN_TRANSIT="IN_TRANSIT",p.NO_FAILURE_FOUND="NO_FAILURE_FOUND",p.ORDER_RECEIVED="ORDER_RECEIVED",p.PACKAGING_ARRIVED="PACKAGING_ARRIVED",p.PACKAGING_DISPATCHED="PACKAGING_DISPATCHED",p.PICK_UP="PICK_UP",p.PICK_UP_DELAYED="PICK_UP_DELAYED",p.PICK_UP_FAILED="PICK_UP_FAILED",p.QUOTATION_APPROVED="QUOTATION_APPROVED",p.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",p.RECYCLED="RECYCLED",p.RETURNED="RETURNED",p.RETURNED_TO_SENDER="RETURNED_TO_SENDER",p.SENT_BACK_UNREPAIRED="SENT_BACK_UNREPAIRED",p.START_TOOL_SERVICE="START_TOOL_SERVICE",p.WAITING_DROP_OFF="WAITING_DROP_OFF",p.WAITING_QUOTATION_DECISION="WAITING_QUOTATION_DECISION",p}(gt||{}),un=function(p){return p.CONSUMABLES_SUBSCRIPTION="CONSUMABLES_SUBSCRIPTION",p.EVOUCHER_BACKOFFICE="EVOUCHER_BACKOFFICE",p}(un||{}),Rt=function(p){return p.MULTI="MULTI",p.SINGLE="SINGLE",p}(Rt||{}),bn=function(p){return p.FLEET="FLEET",p.STANDARD="STANDARD",p}(bn||{}),Er=function(p){return p.COMPANY="COMPANY",p.PRIVATE="PRIVATE",p}(Er||{}),Fn=function(p){return p.ACTIVE="ACTIVE",p.INACTIVE="INACTIVE",p.INVITED="INVITED",p}(Fn||{}),ar=function(p){return p.ACTIVATE_LEGACY="ACTIVATE_LEGACY",p.CHANGE_LICENSE="CHANGE_LICENSE",p.CHANGE_LICENSE_WITH_QUANTITY="CHANGE_LICENSE_WITH_QUANTITY",p.CHANGE_QUANTITY="CHANGE_QUANTITY",p.IMMEDIATE_CANCELLATION="IMMEDIATE_CANCELLATION",p.MANAGE_SUBSCRIPTION="MANAGE_SUBSCRIPTION",p.MANAGE_USERS="MANAGE_USERS",p.OVERRIDE_PRICE="OVERRIDE_PRICE",p.TRANSFER_ADMIN_RIGHTS="TRANSFER_ADMIN_RIGHTS",p}(ar||{}),Yn=function(p){return p.END_OF_TERM="END_OF_TERM",p.IMMEDIATE="IMMEDIATE",p}(Yn||{}),Qn=function(p){return p.ACTIVE="ACTIVE",p.ACTIVE_LEGACY="ACTIVE_LEGACY",p.CANCELED="CANCELED",p.CANCELED_LEGACY="CANCELED_LEGACY",p.NOT_STARTED="NOT_STARTED",p.OTHER="OTHER",p.PAUSED="PAUSED",p.PENDING="PENDING",p}(Qn||{}),vr=function(p){return p.ASC="ASC",p.DESC="DESC",p}(vr||{}),qn=function(p){return p.MATERIAL_NOT_AVAILABLE="MATERIAL_NOT_AVAILABLE",p.NOT_SUFFICIENT_AMOUNT_AVAILABLE="NOT_SUFFICIENT_AMOUNT_AVAILABLE",p.REQUIRED_AMOUNT_AVAILABLE="REQUIRED_AMOUNT_AVAILABLE",p.UNKNOWN_AVAILABILITY="UNKNOWN_AVAILABILITY",p}(qn||{}),cr=function(p){return p.CHECKOUT="CHECKOUT",p.REPAIR="REPAIR",p}(cr||{}),nr=function(p){return p.BX4A="BX4A",p.BX13="BX13",p.BX23="BX23",p.BX41="BX41",p.ICMO="ICMO",p.IPI="IPI",p}(nr||{}),Jn=function(p){return p.BOM="BOM",p.SNT="SNT",p}(Jn||{}),$n=function(p){return p.DELIVERY_NOTE="DELIVERY_NOTE",p.REPAIR_CERTIFICATE="REPAIR_CERTIFICATE",p}($n||{}),Or=function(p){return p.IN_PROGRESS="IN_PROGRESS",p.REPLACEMENT_REQUIRED="REPLACEMENT_REQUIRED",p}(Or||{}),Mr=function(p){return p.FLEET_FREE_OF_CHARGE="FLEET_FREE_OF_CHARGE",p.PURCHASED_IN_WARRANTY="PURCHASED_IN_WARRANTY",p.PURCHASED_OUT_OF_WARRANTY="PURCHASED_OUT_OF_WARRANTY",p}(Mr||{}),lr=function(p){return p.FLEET="FLEET",p.LOAN="LOAN",p.PEAK="PEAK",p.PURCHASED="PURCHASED",p}(lr||{}),Wr=function(p){return p.BILLED_MONTHS="BILLED_MONTHS",p.BILLING_FREQUENCY="BILLING_FREQUENCY",p.CONTRACT_END_DATE="
17CONTRACT_END_DATE",p.CONTRACT_START_DATE="CONTRACT_START_DATE",p.CONTRACT_TYPE="CONTRACT_TYPE",p.COST_CENTER="COST_CENTER",p.EQUIPMENT_NUMBER="EQUIPMENT_NUMBER",p.GENERATION="GENERATION",p.GROUP="GROUP",p.INVENTORY_NUMBER="INVENTORY_NUMBER",p.LAST_REPAIR_DATE="LAST_REPAIR_DATE",p.LOAN_TOOL_OPTION="LOAN_TOOL_OPTION",p.MATERIAL_NUMBER="MATERIAL_NUMBER",p.MONTHLY_FEE="MONTHLY_FEE",p.NO_COST_EXPIRY_DATE="NO_COST_EXPIRY_DATE",p.NUMBER_OF_REPAIRS="NUMBER_OF_REPAIRS",p.ORGANIZATIONAL_REFERENCE="ORGANIZATIONAL_REFERENCE",p.PEAK_CONTRACT_END_DATE="PEAK_CONTRACT_END_DATE",p.PEAK_CONTRACT_START_DATE="PEAK_CONTRACT_START_DATE",p.PURCHASE_DATE="PURCHASE_DATE",p.PURCHASE_ORDER_NUMBER="PURCHASE_ORDER_NUMBER",p.RECURRING_FEES="RECURRING_FEES",p.REPAIR_COST="REPAIR_COST",p.REPLACEMENT_TOOL="REPLACEMENT_TOOL",p.SALES_ORDER_ID="SALES_ORDER_ID",p.SERIAL_NUMBER="SERIAL_NUMBER",p.STATUS="STATUS",p.THEFT_COVERAGE_OPTION="THEFT_COVERAGE_OPTION",p.TOOL_DETAILS="TOOL_DETAILS",p.TOOL_IMAGE="TOOL_IMAGE",p.TOTAL_USAGE_PERIOD="TOTAL_USAGE_PERIOD",p.WARRANTY="WARRANTY",p}(Wr||{}),or=function(p){return p.CUSTOMER_PALLET="CUSTOMER_PALLET",p.HILTI_PALLET="HILTI_PALLET",p.PARCEL="PARCEL",p}(or||{}),zr=function(p){return p.REPAIR="REPAIR",p.RETURN="RETURN",p}(zr||{}),go=function(p){return p.NUMBER_OF_PACKAGES="NUMBER_OF_PACKAGES",p.PURCHASE_ORDER_DOCUMENT="PURCHASE_ORDER_DOCUMENT",p.PURCHASE_ORDER_NUMBER="PURCHASE_ORDER_NUMBER",p}(go||{}),ct=function(p){return p.ACCEPT_LIMIT="ACCEPT_LIMIT",p.FLEET_FREE_OF_CHARGE="FLEET_FREE_OF_CHARGE",p.PURCHASED_FREE_OF_CHARGE="PURCHASED_FREE_OF_CHARGE",p.REQUEST_QUOTE="REQUEST_QUOTE",p.REQUIRED_QUOTE="REQUIRED_QUOTE",p.SET_OWN_LIMIT="SET_OWN_LIMIT",p}(ct||{}),$=function(p){return p.DROP_OFF_HILTI_STORE="DROP_OFF_HILTI_STORE",p.DROP_OFF_QR_CODE="DROP_OFF_QR_CODE",p.PICKUP="PICKUP",p.SHIPPING_LABEL="SHIPPING_LABEL",p}($||{}),ue=function(p){return p.ACTIVE="ACTIVE",p.ACTIVE_EXPIRING_SOON="ACTIVE_EXPIRING_SOON",p.ACTIVE_UP_FOR_RENEWAL="ACTIVE_UP_FOR_RENEWAL",p.AWAITING_NEW_PRODUCT="AWAITING_NEW_PRODUCT",p.COLLECTED="COLLECTED",p.ERROR="ERROR",p.FLEET_IN_EXTENSION="FLEET_IN_EXTENSION",p.FORMER_FLEET_TOOL="FORMER_FLEET_TOOL",p.IN_SPECIAL_EXTENSION="IN_SPECIAL_EXTENSION",p.LOST="LOST",p.NOT_COLLECTED="NOT_COLLECTED",p.PAUSED="PAUSED",p.PEAK_EXTENSION="PEAK_EXTENSION",p.RECENTLY_RETURNED="RECENTLY_RETURNED",p.REPAIR_IN_PROGRESS="REPAIR_IN_PROGRESS",p.RETURN_IN_PROGRESS="RETURN_IN_PROGRESS",p.SELF_RECYCLING="SELF_RECYCLING",p.STOLEN="STOLEN",p.TO_BE_COLLECTED="TO_BE_COLLECTED",p.UNAVAILABLE="UNAVAILABLE",p}(ue||{}),fe=function(p){return p.EXPECT_DELAYS="EXPECT_DELAYS",p.FAILED_DELIVERY="FAILED_DELIVERY",p.GRACE_PERIOD_STARTED="GRACE_PERIOD_STARTED",p.IN_TRANSIT="IN_TRANSIT",p.LOAN_TOOL_ARRIVED="LOAN_TOOL_ARRIVED",p.ORDER_RECEIVED="ORDER_RECEIVED",p.PICK_UP="PICK_UP",p.PICK_UP_DELAYED="PICK_UP_DELAYED",p.PICK_UP_FAILED="PICK_UP_FAILED",p.PICK_UP_PLANNED="PICK_UP_PLANNED",p.PTP_TOOL_RETURNED="PTP_TOOL_RETURNED",p.RENTAL_BILLING_STARTED="RENTAL_BILLING_STARTED",p.RETURNED="RETURNED",p.TOOL_DISPATCHED="TOOL_DISPATCHED",p}(fe||{}),Oe=function(p){return p.ERROR="ERROR",p.SUCCESS="SUCCESS",p}(Oe||{}),Z=function(p){return p.FAILED="FAILED",p.PENDING="PENDING",p.SUCCESS="SUCCESS",p}(Z||{}),Ce=function(p){return p.FAILED="FAILED",p.SUCCEEDED="SUCCEEDED",p}(Ce||{})},41221(ye,A,n){n.d(A,{B:()=>u});var u=function(l){return l.PRIMARY_BUTTON="Primary Button",l.SECONDARY_BUTTON="Secondary Button",l.TERTIARY_BUTTON="Tertiary Button",l.LINK="Link",l.OTHER="Other",l.PRIMARY_BUTTON_OR_ENTER="Primary Button or Enter",l.TABS="Tabs",l.STEP_LOCATOR="Step Locator",l.OVERFLOW_MENU="OverflowMenu",l.OVERLAY="Overlay",l.SMART_BAR="SmartBar",l.NAVIGATIONAL_BUTTON="Navigational Button",l.PRODUCT_CARD="Product Card",l.RADIO="Radio Button",l}(u||{})},49788(ye,A,n){n.d(A,{Zn:()=>h,iM:()=>u,m7:()=>l});var u=function(c){return c.DEFAULT="default",c.PAGE_VIEW="pageView",c}(u||{}),l=function(c){return c.COMPLETE="complete",c.INITIATED="initiated",c}(l||{}),h=function(c){return c.EECaddToCart="add",c.EECproductImpression="impressions",c.EECpurchase="purchase",c.EECremoveFromCart="remove",c}(h||{})},68575(ye,A,n){n.d(A,{U:()=>u});var u=function(l){return l.GENERIC="generic_ga4_event",l.SURVEY="cx_survey_event",l}(u||{})},66055(ye,A,n){n.d(A,{r:()=>l});const l=new(n(17988).nKC)("CART_MESSAGES_TRANSLATIONS")},13358(ye,A,n){n.d(A,{$:()=>u});const u=["hdms","hdms-reset"]},73472(ye,A,n){n.d(A,{i:()=>u});
17const u={ACTIVATE:"activate",ADD_USER:"add-user",AI_CHATBOT_BETA:"ai-chatbot-beta",AI_CHATBOT:"ai-chatbot",ANCHOR:"anchor",ARROW_DOWN:"arrow-down",ARROW_LEFT:"arrow-left",ARROW_RIGHT:"arrow-right",ARROW_SORT_DOWN:"arrow-sort-down",ARROW_SORT_UP:"arrow-sort-up",ARROW_UP:"arrow-up",ARTICLE:"article",ASSURANCE:"assurance",AVAILABILITY:"availability",BELL:"bell",BILLING:"billing",BOOKMARK:"bookmark",BUBBLE_SELECTED:"bubble-selected",BULLET:"bullet",CALENDAR:"calendar",CALLBACK:"callback",CAMERA:"camera",CART_ADD:"cart-add",CART_EMPTY:"cart-empty",CART_FULL:"cart-full",CATEGORIES:"categories",CHECKBOX_PLUS_CHECKED:"checkbox-plus-checked",CHECKBOX_PLUS:"checkbox-plus",CLEAR:"clear",COMPANY:"company",CONTACT:"contact",CREATE:"create",CROSS:"cross",CURRENCY:"currency",DANGER_SOLID:"danger-solid",DASH:"dash",DEACTIVATE_USER:"deactivate-user",DICTATE:"dictate",DIRECTION:"direction",DISCUSSION:"discussion",DOCUMENT:"document",DOWNLOAD:"download",EDIT_USER:"edit-user",EDIT:"edit",EDUCATION:"education",FACEBOOK:"facebook",FAVORITE_HEART:"favorite-heart",FAVORITE_STAR:"favorite-star",FILTER:"filter",FLAG:"flag",FLAME:"flame",FLEET:"fleet",FORWARD:"forward",GPS:"gps",GRAPH:"graph",GRID:"grid",HAMBURGER:"hamburger",HIDE_PASS:"hide-pass",IMAGE_GALLERY:"image-gallery",INFO_SOLID:"info-solid",INFO:"info",INFOSOLO:"infosolo",INSTAGRAM:"instagram",INVOICE:"invoice",KAKAO:"kakao",LAPTOP:"laptop",LINKEDIN:"linkedin",LIST:"list",LOCATION:"location",LOCK:"lock",LOD:"lod",LOGOUT:"logout",MAIL:"mail",MAP:"map",MIF:"mif",MOVE_TO:"move-to",OPEN_NEW:"open-new",OVERFLOW_HORIZ:"overflow-horiz",OVERFLOW_VERT:"overflow-vert",PARTIAL:"partial",PAUSE:"pause",PDF:"pdf",PHONE:"phone",PINTEREST:"pinterest",PLAY:"play",PLUS:"plus",PRINT:"print",PRODUCTS:"products",PROFILE:"profile",QUESTION:"question",RADIO_PLUS_CHECKED:"radio-plus-checked",RADIO_PLUS:"radio-plus",RE_ORDER:"re-order",RE_SORT:"re-sort",REMOVE:"remove",REPLY:"reply",RESET:"reset",SCAN:"scan",SEARCH:"search",SELECT_ALL_CHECKED:"select-all-checked",SELECT_ALL:"select-all",SHARE:"share",SHIPMENT:"shipment",SHOW_PASS:"show-pass",SORT_DOWN:"sort-down",SORT_UNSORTED:"sort-unsorted",SORT_UP:"sort-up",SPANNER_ANGLED:"spanner-angled",SPANNER:"spanner",START_OVER:"start-over",SUBSCRIPTION:"subscription",SUCCESS_SOLID:"success-solid",SUCCESS:"success",TAG:"tag",THUMBS_UP:"thumbs-up",TICK:"tick",TIME:"time",TOOL:"tool",TRANSFER:"transfer",TRASH:"trash",TRUCK:"truck",TWITTER:"twitter",UNSORTED:"unsorted",UPLOAD:"upload",USERS:"users",VERIFY:"verify",VIDEO_GALLERY:"video-gallery",VK:"vk",VOLTAGE:"voltage",WARNING_SOLID:"warning-solid",WARNING_THIN:"warning-thin",WARNING:"warning",WORLD:"world",XING:"xing",YOUTUBE:"youtube",ZOOM_IN:"zoom-in",ZOOM_OUT:"zoom-out"}},21292(ye,A,n){n.d(A,{G:()=>u});const u={INFO:"info",SUCCESS:"success",WARNING:"warning",DANGER:"danger",ERROR:"error",EMAIL:"email",EMAIL_ERROR:"email-error",EMAIL_SUCCESS:"email-success",ACCOUNT:"account",ACCOUNT_ERROR:"account-error",ACCOUNT_SUCCESS:"account-success",ACCOUNT_SYNC:"account-sync",COUPON:"coupon",COUPON_SUCCESS:"coupon-success",COUPON_ERROR:"coupon-error",COUPON_WARNING:"coupon-warning",LIST_EMPTY:"list-empty",LIST_SYNC:"list-sync",LIST_SUCCESS:"list-success",BROWSER_SUCCESS:"browser-success",BROWSER_ERROR:"browser-error",LOGIN:"login",NO_RESULTS:"no-results",BOX_EMPTY:"box-empty",HOURGLASS:"hourglass",USERS:"users",LOCK:"lock",SIGN_404:"sign-404",SIGN_UNDER_CONSTRUCTION:"sign-under-construction",SIGN_WARNING:"sign-warning",NO_REPLIES:"no-replies",CUSTOM:"custom",EMPTY_CASE:"empty-case",RECYCLE:"recycle",AUTH_GUARD:"auth-guard",AUTH_GUARD_CHECKED:"auth-guard-checked",BELL_EMPTY:"bell-empty"}},23389(ye,A,n){n.d(A,{fM:()=>h,gR:()=>c,kE:()=>T,n$:()=>l});const l=new(n(17988).nKC)("shared.ui-core.toastMessagesService");class h{constructor(D){this.roundUp=!1,this.showCartButton=!0,Object.assign(this,D)}static create(D){return new h(D)}}var c=function(o){return o.PRIMARY="primaryCartToast",o.SECONDARY="secondaryCartToast",o}(c||{});class T{constructor(D,g){this.template=D,this.context=g}}},69279(ye,A,n){n.d(A,{Yq:()=>Ve,Is:()=>wr,ms:()=>Dr,So:()=>Pr});var u=n(20396),l=Function.prototype.toString,h=Object.create,c=Object.prototype.toString,T=function(){function Ae(){this._keys=[],this._values=[]}return Ae.prototype.has=function($e){return!!~this._keys.indexOf($e)},Ae.prototype.get=function($e){return this._values[this._keys.indexOf($e)]},Ae.prototype.set=function($e,gt){this._keys.push($e),this._values.push(gt)},Ae}(),g=typeof WeakMap<"u"?function D(){return new WeakMap}:function o(){return new T};function C(Ae){if(!Ae)return h(null);var $e=Ae.constructor;if($e===Object)return Ae===Object.prototype?{}:h(Ae);if($e&&~l.call($e).indexOf("[native code]"))try{return new $e}catch{}return h(Ae)}var M="g"===/test/g.flags?function E(Ae){return Ae.flags}:function v(Ae){var $e="";return Ae.global&&($e+="g"),Ae.ignoreCase&&($e+="i"),Ae.multiline&&($e+="m"),Ae.unicode&&($e+="u"),Ae.sticky&&($e+="y"),$e};function N(Ae){var $e=c.call(Ae);return $e.substring(8,$e.length-1)}var I=typeof Symbol<"u"?function P(Ae){return Ae[Symbol.toStringTag]||N(Ae)}:N,x=Object.defineProperty,j=Object.getOwnPropertyDescriptor,w=Object.getOwnPropertyNames,H=Object.getOwnPropertySymbols,ae=Object.prototype,S=ae.hasOwnProperty,J=ae.propertyIsEnumerable,Y="function"==typeof H,G=Y?function re(Ae){return w(Ae).concat(H(Ae))}:w;function ce(Ae,$e,gt){for(var Kt=G(Ae),ln=0,un=Kt.length,nn=void 0,Rt=void 0;ln<un;++ln)if("callee"!==(nn=Kt[ln])&&"caller"!==nn){if(!(Rt=j(Ae,nn))){$e[nn]=gt.copier(Ae[nn],gt);continue}!Rt.get&&!Rt.set&&(Rt.value=gt.copier(Rt.value,gt));try{x($e,nn,Rt)}catch{$e[nn]=Rt.value}}return $e}function z(Ae,$e){return Ae.slice(0)}function Qe(Ae,$e){var gt=new $e.Constructor;return $e.cache.set(Ae,gt),Ae.forEach(function(Kt,ln){gt.set(ln,$e.copier(Kt,$e))}),gt}function q(Ae,$e){return new $e.Constructor(Ae.valueOf())}function je(Ae,$e){return Ae}function Fe(Ae,$e){var gt=new $e.Constructor;return $e.cache.set(Ae,gt),Ae.forEach(function(Kt){gt.add($e.copier(Kt,$e))}),gt}var Be=Array.isArray,at=Object.assign,Ot=Object.getPrototypeOf||function(Ae){return Ae.__proto__},Et={array:function pe(Ae,$e){var gt=new $e.Constructor;$e.cache.set(Ae,gt);for(var Kt=0,ln=Ae.length;Kt<ln;++Kt)gt[Kt]=$e.copier(Ae[Kt],$e);return gt},arrayBuffer:z,blob:function ke(Ae,$e){return Ae.slice(0,Ae.size,Ae.type)},dataView:function it(Ae,$e){return new $e.Constructor(z(Ae.buffer))},date:function Re(Ae,$e){return new $e.Constructor(Ae.getTime())},error:je,map:Qe,object:Y?function Ue(Ae,$e){var gt=C($e.prototype);for(var Kt in $e.cache.set(Ae,gt),Ae)S.call(Ae,Kt)&&(gt[Kt]=$e.copier(Ae[Kt],$e));for(var ln=H(Ae),un=0,nn=ln.length,Rt=void 0;un<nn;++un)J.call(Ae,Rt=ln[un])&&(gt[Rt]=$e.copier(Ae[Rt],$e));return gt}:function Ye(Ae,$e){var gt=C($e.prototype);for(var Kt in $e.cache.set(Ae,gt),Ae)S.call(Ae,Kt)&&(gt[Kt]=$e.copier(Ae[Kt],$e));return gt},regExp:function Te(Ae,$e){var gt=new $e.Constructor(Ae.source,M(Ae));return gt.lastIndex=Ae.lastIndex,gt},set:Fe},Yt=at({},Et,{array:function De(Ae,$e){var gt=new $e.Constructor;return $e.cache.set(Ae,gt),ce(Ae,gt,$e)},map:function Ze(Ae,$e){return ce(Ae,Qe(Ae,$e),$e)},object:function X(Ae,$e){var gt=C($e.prototype);return $e.cache.set(Ae,gt),ce(Ae,gt,$e)},set:function we(Ae,$e){return ce(Ae,Fe(Ae,$e),$e)}});function bt(Ae){var gt=function ut(Ae){return{Arguments:Ae.object,Array:Ae.array,ArrayBuffer:Ae.arrayBuffer,Blob:Ae.blob,Boolean:q,DataView:Ae.dataView,Date:Ae.date,Error:Ae.error,Float32Array:Ae.arrayBuffer,Float64Array:Ae.arrayBuffer,Int8Array:Ae.arrayBuffer,Int16Array:Ae.arrayBuffer,Int32Array:Ae.arrayBuffer,Map:Ae.map,Number:q,Object:Ae.object,Promise:je,RegExp:Ae.regExp,Set:Ae.set,String:q,WeakMap:je,WeakSet:je,Uint8Array:Ae.arrayBuffer,
17Uint8ClampedArray:Ae.arrayBuffer,Uint16Array:Ae.arrayBuffer,Uint32Array:Ae.arrayBuffer,Uint64Array:Ae.arrayBuffer}}(at({},Et,Ae)),Kt=gt.Array,ln=gt.Object;function un(nn,Rt){if(Rt.prototype=Rt.Constructor=void 0,!nn||"object"!=typeof nn)return nn;if(Rt.cache.has(nn))return Rt.cache.get(nn);if(Rt.prototype=Ot(nn),Rt.Constructor=Rt.prototype&&Rt.prototype.constructor,!Rt.Constructor||Rt.Constructor===Object)return ln(nn,Rt);if(Be(nn))return Kt(nn,Rt);var Xt=gt[I(nn)];return Xt?Xt(nn,Rt):"function"==typeof nn.then?nn:ln(nn,Rt)}return function(Rt){return un(Rt,{Constructor:void 0,cache:g(),copier:un,prototype:void 0})}}!function Xe(Ae){bt(at({},Yt,Ae))}({});var Ht=bt({}),ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Ae){return typeof Ae}:function(Ae){return Ae&&"function"==typeof Symbol&&Ae.constructor===Symbol&&Ae!==Symbol.prototype?"symbol":typeof Ae},vt=function(){return function($e,gt){if(Array.isArray($e))return $e;if(Symbol.iterator in Object($e))return function Ae($e,gt){var Kt=[],ln=!0,un=!1,nn=void 0;try{for(var Xt,Rt=$e[Symbol.iterator]();!(ln=(Xt=Rt.next()).done)&&(Kt.push(Xt.value),!gt||Kt.length!==gt);ln=!0);}catch(bn){un=!0,nn=bn}finally{try{!ln&&Rt.return&&Rt.return()}finally{if(un)throw nn}}return Kt}($e,gt);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();function pt(Ae){if(Array.isArray(Ae)){for(var $e=0,gt=Array(Ae.length);$e<Ae.length;$e++)gt[$e]=Ae[$e];return gt}return Array.from(Ae)}var an={},s=["Entry","Asset"],sn=function($e,gt){var Kt=gt.entryId,ln=gt.linkType,un=gt.spaceId,nn=gt.environmentId;return $e.get(un&&nn?un+"!"+nn+"!"+ln+"!"+Kt:ln+"!"+Kt)},cn=function Ae($e,gt,Kt,ln){if(gt($e))return Kt($e);if($e&&"object"===(typeof $e>"u"?"undefined":ze($e))){for(var un in $e)$e.hasOwnProperty(un)&&($e[un]=Ae($e[un],gt,Kt,ln));ln&&($e=function($e){if(Array.isArray($e))return $e.filter(function(Kt){return Kt!==an});for(var gt in $e)$e[gt]===an&&delete $e[gt];return $e}($e))}return $e};const rn=function($e,gt){if(gt=gt||{},!$e.items)return[];var Kt=Ht($e),ln=Object.keys(Kt.includes||{}).reduce(function(Rt,Xt){return[].concat(pt(Rt),pt(Kt.includes[Xt]))},[]),un=[].concat(pt(Kt.items),pt(ln)).filter(function(Rt){return!!Rt.sys}),nn=new Map(un.reduce(function(Rt,Xt){var bn=function($e){return $e.space&&$e.environment?[$e.type+"!"+$e.id,$e.space.sys.id+"!"+$e.environment.sys.id+"!"+$e.type+"!"+$e.id]:[$e.type+"!"+$e.id]}(Xt.sys).map(function(Er){return[Er,Xt]});return Rt.push.apply(Rt,pt(bn)),Rt},[]));return un.forEach(function(Rt){var Xt=function($e,gt){return Array.isArray(gt)?Object.keys($e).filter(function(ln){return-1!==gt.indexOf(ln)}).reduce(function(ln,un){return ln[un]=$e[un],ln},{}):$e}(Rt,gt.itemEntryPoints);Object.assign(Rt,cn(Xt,function(bn){return function($e){return $e&&$e.sys&&"Link"===$e.sys.type}(bn)||function($e){return $e&&$e.sys&&"ResourceLink"===$e.sys.type}(bn)},function(bn){return function($e,gt,Kt){var ln=function($e,gt){var Kt=gt.sys,un=Kt.linkType;if("ResourceLink"===Kt.type){if(!un.startsWith("Contentful:"))return gt;var Rt=function($e){var gt=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(gt.test($e)){var Kt=$e.match(gt),ln=vt(Kt,4),Rt=ln[2];return{spaceId:ln[1],environmentId:void 0===Rt?"master":Rt,entryId:ln[3]}}}(gt.sys.urn),Xt=Rt.spaceId,bn=Rt.environmentId,Er=Rt.entryId,Fn=un.split(":")[1];return sn($e,{linkType:Fn,entryId:Er,spaceId:Xt,environmentId:bn})||an}return s.includes(un)?sn($e,{linkType:un,entryId:gt.sys.id})||an:gt}($e,gt);return ln===an?Kt?ln:gt:ln}(nn,bn,gt.removeUnresolved)},gt.removeUnresolved))}),Kt.items};var In=n(5219),An=n(83535),Xn=n(14970),Fr=n(16377);const Pr=Ae=>Dr(Ae)[0]||{},Dr=Ae=>rn(Ae,{removeUnresolved:!0})||[];function wr(Ae,$e=!0,gt=0,Kt=Pr){return{context:(new u._y).set(An.cN,gt).set(Xn._,3e4).set(An.ap,!0).set(An.l0,ln=>ln.replace(Ae,"")).set(An.qb,$e).set(Fr.D,Kt)}}const Ve={count:3,resetOnSuccess:!0,delay:Ae=>{if(Ae instanceof u.yz&&429===Ae.status)return(0,In.O)(1e3*Math.min(Number(Ae.headers.get("X-Contentful-RateLimit-Reset"))||5,10));throw Ae}}},17398(ye,A,n){n.d(A,{w:()=>De});var u=n(20396),l=n(17988),h=n(13901),c=n(83646),T=n(61969),o=n(24406),D=n(68713),g=n(95840),C=n(10432),v=n(93
17003),E=n(52621),M=n(69279),N=n(63314);function I(z,ke){return z?.find(it=>(0,N.gt)(it)===ke)}var J=n(63274);const Y=new Set(["blogDetailsPageTemplate","eventDetailsPageTemplate","pressReleasePageTemplate"]),re=[{check:z=>(0,N.gg)(z),process:function w(z,ke){return ke??=function j(z){return`hiddenFor${z.replace("-","").split("").map((ke,it)=>it%2?ke.toLowerCase():ke.toUpperCase()).join("")}`}(z.sys.locale),Array.isArray(z)?z.map(it=>w(it,ke)).filter(Boolean):function S(z){return null!==z&&"object"==typeof z&&"document"!==z.nodeType&&"sitecoreImageAsset"!==(0,N.gt)(z)}(z)?function H(z,ke){return z.metadata?.tags?.some(it=>it.sys.id===ke)}(z,ke)?null:Object.entries(z).reduce((it,[Re,Qe])=>{const Ze=function ae(z){return["sys","metadata"].includes(z)}(Re)?Qe:w(Qe,ke);return null===Ze?it:{...it,[Re]:Ze}},{}):z}},{check:z=>"catalogInfoPage"===z,process:function P(z){const{published:ke,opening:it,highlightCards:Re}=z.fields;if(!ke)return null;const{promoStrip:Qe,hero:Ze}=I(it,"campaignMode")?.fields??{};if(Qe){const Ye=I(Re,"highlightCards");Ye&&(Ye.fields.promoStrip=Qe),z.fields.opening=[Ze]}return z}},{check:z=>Y.has(z),process:J.R},{check:z=>"faqPageTemplate"===z,process:function x(z){const{body:ke}=z.fields;if(ke.length>1){const{hero:it,linksHeadline:Re,linksOverline:Qe,...Ze}=z.fields;z.fields={hero:it,links:[{sys:{id:`l${z.sys.id}`,contentType:{sys:{id:"linksCollection"}}},fields:{backgroundVariant:"Neutral-Megalight",linkType:"target",overline:Qe,headline:Re,numberOfColumns:3,links:ke.map(Ye=>({fields:{linkUrl:`#${Ye.sys.id}`,label:Ye.fields.sectionHeadline}}))}}],...Ze}}return z}}];class G{constructor(ke="DEFAULT"){this.processorConfigs=re.filter(({mode:it})=>!it||it===ke)}processEntry(ke){const it=(0,N.gt)(ke);return this.processorConfigs.filter(({check:Re})=>Re(it)).forEach(({process:Re})=>{ke=ke&&Re(ke)}),ke}}class pe extends Error{}let De=(()=>{var z;class ke{constructor(){this.env=(0,l.WQX)(C.v),this.http=(0,l.WQX)(u.Qq),this.toggleService=(0,l.WQX)(v.I),this.preprocessor=new G,this.config=this.env.contentfulConfig,this.baseUrl=this.config.baseUrl||"",this.languageTagLong=this.env.languageTagLong,this.requestCache=new Map}getEntryById(Re,Qe=10,Ze=!1){return Re?this.getRequest({isGlobal:Ze,params:{"sys.id":Re,include:Qe}}):(0,h.of)(null)}getEntryByContentType({contentType:Re,params:Qe={},include:Ze=10,isGlobal:Ye=!1,spaceKeyOverride:Ue,publishedOnly:ne=!0,skipTransferState:X=!1,cacheTtl:q=0,transformFn:Te}){return Re?this.getRequest({isGlobal:Ye,spaceKeyOverride:Ue,params:{content_type:Re,include:Ze,...Qe},skipTransferState:X,cacheTtl:q,transformFn:Te,publishedOnly:ne}):(0,h.of)(null)}getHeaders(Re=!1,Qe="",Ze=!1){const{token:Ye,resourceToken:Ue}=this.config,ne=Ye?.[Re?"global":Qe||"hub"];return new u.Lr({...Ye&&{authorization:`Bearer ${ne}`},...Ue&&{"x-contentful-resource-resolution":Ue},...Ze?{"x-contentful-locale-based-publishing":"true"}:{}})}getRequest({isGlobal:Re=!1,spaceKeyOverride:Qe,params:Ze={},skipTransferState:Ye=!1,cacheTtl:Ue=0,transformFn:ne,publishedOnly:X=!1}){const q=this.toggleService.getToggleById("locale_based_publishing");X&&!q&&(Ze["fields.published[exists]"]=!0);const{space:Te,environment:je}=this.config,Fe=Te?.[Re?"global":Qe||"hub"];if(!Fe)return(0,h.of)(null);const Be=`${this.baseUrl}/spaces/${Fe}/environments/${je}/entries`,at=Ze.locale||this.languageTagLong;Ze={...Ze,locale:at};const Ot=`${Be}-${JSON.stringify(Ze)}`;if(this.requestCache.has(Ot))return this.requestCache.get(Ot);{const Et=(0,M.Is)(this.baseUrl,!Ye,Ue,ne),Yt=this.getHeaders(Re,Qe,q),ut=this.http.get(Be,{...Et,params:Ze,headers:Yt}).pipe((0,c.L)(M.Yq),(0,T.M)(bt=>{if(!bt||!Object.keys(bt).length)throw new pe}),(0,o.T)(bt=>this.preprocessor.processEntry(bt)),(0,D.W)(bt=>(bt instanceof pe||E.V.error("Contentful request error:",bt),(0,h.of)(null))),(0,g.t)(1));return this.requestCache.set(Ot,ut),ut}}static#e=z=()=>(this.\u0275fac=function(Qe){return new(Qe||ke)},this.\u0275prov=l.jDH({token:ke,factory:ke.\u0275fac,providedIn:"root"}))}return z(),ke})()},63274(ye,A,n){n.d(A,{R:()=>c});var u=n(63314),l=n(86493),h=n(11170);function c(v){return delete v.fields.opening,{...v,fields:{opening:[T(v)],...v.fields}}}function T(v){const{fields:E}=(0,u.fk)(v),{headline:M,featuredImage:N,featuredImageAltText:P,featuredImageCaption:I,featuredImageFocus:x}=E,j={contentType:{sys:{id:"synopsisDetail"}},id:v.sys.id};return{fields:{headline:M,synopsis:o(v),featuredImage:N,featuredImageAltText:P,featuredImageCaption:I,featuredImageFocus:x},sys:j}}function o(v){const{fields:E,metadata:M}=(0,u.fk)(v),N=M?.tags??[],{blogAuthor:P,date:I,endDateTime:x,location:j,overview:w,readingTime:H,startDateTime:ae,type:S}=E,{startDate:J,endDate:Y,time:re}=ae&&function D(v,E){const[M,N]=v.split("T"),P=E?.split("T")[0],I=!!P&&M!==P,x=N?.substring(0,5);return{startDate:M,endDate:I?P:void 0,time:x&&"00:00"!==x&&!I?x:void 0}}(ae,x)||{},G=H?function C(v){return g[v]??"blog.lessThanFiveMinutes"}(H):void 0,ce=(0,h.VB)(N)?h.bU:(0,u.gt)(v),pe=(0,h.tE)(ce);return(0,l.Dz)({blogAuthor:P,date:I,endDate:Y,entryId:v.sys.id,location:j,overview:w,startDate:J,readingTime:G,t
17ime:re,tags:(0,h.y_)(N,pe),type:S})}const g={"< 5 minutes":"blog.lessThanFiveMinutes","< 10 minutes":"blog.lessThanTenMinutes","< 15 minutes":"blog.lessThanFifteenMinutes","< 30 minutes":"blog.lessThanThirtyMinutes"}},11170(ye,A,n){n.d(A,{bU:()=>C,bL:()=>G,dn:()=>De,AL:()=>ke,bd:()=>z,Uc:()=>pe,p$:()=>ce,B1:()=>Ze,X7:()=>Ye,nt:()=>it,hg:()=>Ue,jh:()=>je,tE:()=>ne,VB:()=>q,a:()=>X,co:()=>Fe,s4:()=>we,y_:()=>Te});var u=n(63314);const l={OVERVIEW:"fields.overview",SLUG:"fields.slug",FEATURED_IMAGE:"fields.featuredImage",HEADLINE:"fields.headline",TYPE:"fields.type",TAGS:"metadata.tags"},h={FEATURED_IMAGE_ALT_TEXT:"fields.featuredImageAltText",FEATURED_IMAGE_FOCUS:"fields.featuredImageFocus"},c={...l,...h,BLOG_AUTHOR:"fields.blogAuthor",DATE:"fields.date",READING_TIME:"fields.readingTime"},T={...l,...h,END_DATE_TIME:"fields.endDateTime",LOCATION:"fields.location",START_DATE_TIME:"fields.startDateTime"},o={...l,...h,DATE:"fields.date",LOCATION:"fields.location"},D={...l,UPDATED_AT:"sys.updatedAt",EXCLUDE_FROM_LIST:"fields.excludeFromListingPage"},g=new Map([["blogDetailsPageTemplate",c],["eventDetailsPageTemplate",T],["pressReleasePageTemplate",o],["solutionsPageTemplate",D]]),C="engineering",v=`${C}_`,H=`${c.TYPE},${c.TAGS}`,ae=["blog_","events_","engineering_","press_"],S=new Set(ae.map(Be=>Be.slice(0,-1)));function Y(Be){let at=o.DATE;return"eventDetailsPageTemplate"===Be?at=T.START_DATE_TIME:"solutionsPageTemplate"===Be&&(at=D.UPDATED_AT),`-${at}`}function G(Be,{filters:at,totalResults:Ot,inaccuratePageSize:Et},{pageSize:Yt,currentPage:ut}){const[bt,...Xe]=Be.fields?.body??[],tt=Math.max(1,Math.ceil(Ot/Yt)),Ht=ut<tt;return{...Be,fields:{...Be.fields,body:[{...bt,fields:{...bt.fields,filters:at,paginationDetails:{currentPage:ut,hasMorePages:Ht,lastPage:tt,pageSize:Yt,totalResults:Ot,inaccuratePageSize:Et}}},...Xe]}}}function ce(Be){return Math.max(1,Number(Be.get("page")||1))}function pe(Be,at=5){const Ot=at,Yt=(ce(Be)-1)*Ot;return{limit:Ot,...Yt?{skip:Yt}:{}}}function De(Be,at){const Et=it(Be.get("filters")).get("types");return{...at.length?{[`${l.TAGS}.sys.id[all]`]:at.join(",")}:{},...Et?{[`${l.TYPE}[all]`]:Array.from(Et.values()).join(",")}:{}}}function z(Be,at,Ot){const Et=g.get(Be),Yt=Et?["sys.id","sys.contentType",...Object.values(Et)].join(","):void 0;return{order:Y(Be),...at,...Yt?{select:Yt}:{},...Ot}}function ke(Be){return{limit:1e3,select:H,...Be}}function it(Be){const at=new Map;return Be?.split(";").forEach(Ot=>{const Et=function re(Be){const at=Be.indexOf(":");if(-1===at)return null;const Ot=decodeURIComponent(Be.slice(0,at)),Et=Be.slice(at+1);if(!Ot||!Et)return null;const Yt=Et.split(",").filter(Boolean).map(decodeURIComponent);return Yt.length>0?{groupId:Ot,values:Yt}:null}(Ot);if(Et){const Yt=(Be=>"category"===Be?"tags":Be)(Et.groupId),ut=at.get(Yt)||new Set;Et.values.forEach(bt=>ut.add(bt)),at.set(Yt,ut)}}),at}const Re=Be=>Be?.sys?.id??"";function Ze(Be){const at=S;return(Be??[]).reduce((Ot,Et)=>{const ut=((Be,at)=>{const[Ot,Et]=Be.split("_");return Ot&&Et&&!at.has(Ot)?{groupId:Ot,value:Et}:null})(Re(Et),at);return ut&&Ot.push(ut),Ot},[])}function Ye(Be,at){return(Be??[]).map(Re).filter(Ot=>u.zx.test(Ot)).filter(Ot=>Ot.startsWith(at)).map(Ot=>Ot.replace(u.zx,""))}function Ue(Be){return new Intl.Collator(Be,{sensitivity:"base"}).compare}function ne(Be){switch(Be){case"blogDetailsPageTemplate":return"blog_";case"eventDetailsPageTemplate":return"events_";case"pressReleasePageTemplate":return"press_";case C:return v;default:return}}function X(Be){return ae.some(at=>Be.startsWith(at))}function q(Be){return(Be??[]).some(at=>at?.sys?.id?.startsWith(v))}const Te=(Be,at="",Ot)=>{const Et=Ye(Be,at),Yt=Ze(Be).map(({value:Xe})=>Xe),ut=Array.from(new Set([...Et,...Yt])),bt=Ue(Ot);return ut.sort((Xe,tt)=>{const Ht=bt(Xe,tt);return 0===Ht?bt(Xe,tt):Ht})},je=Be=>Be?.fields?.body?.[0]?.fields?.results||[],Fe=([Be,at])=>({totalResults:Math.max(Be.totalResults,at.totalResults),inaccuratePageSize:Be.totalResults>0&&at.totalResults>0,filters:[...Be.filters,...at.filters].filter(Boolean).reduce((Ot,Et)=>{const Yt=Ot.find(ut=>ut.id===Et.id);return Yt?(Yt.values=[...Yt.values,...Et.values.filter(ut=>!Yt.values.some(bt=>bt.id===ut.id))],Ot):[...Ot,Et]},[])}),we=([Be,at])=>{const Ot=Be??at,Et=Ot?.fields?.body?.[0],Yt=[...je(Be),...je(at)].toSorted((ut,bt)=>bt.date.localeCompare(ut.date));return{...Ot,fields:{...Ot?.fields,body:[{...Et,fields:{...Et?.fields,results:Yt}}]}}}},16160(ye,A,n){n.d(A,{V:()=>u,e:()=>l});const u={S:{xs:180,sm:240,md:323,lg:443},M:{xs:369,sm:491,md:655,lg:895},L:{xs:768,sm:1024,md:1440,lg:1800}},l={fit:"pad",bg:"rgb:0000"}},2917(ye,A,n){n.d(A,{Z:()=>o});var u=n(96623),l=n(17988),h=n(47606),c=n(72973),T=n(6787);let o=(()=>{var D;class g{constructor(){this.inspectName=u.hFB.required({alias:"shrdCmsUiPreviewInspector"}),this.el=(0,l.WQX)(h.aKT).nativeElement,this.previewInspector=(0,l.WQX)(c.j,{optional:!0}),this.entryId=(0,l.WQX)(T.J,{optional:!0})}ngOnInit(){this.previewInspector?.setupElement(this.el,this.inspectName(),this.entryId?.())}static#e=D=()=>(this.\u0275fac=function(E){return new(E||g)},this.\u0275dir=h.FsC({type:g,selectors:[["","shrdCmsUiPreviewInspector",""]],inputs:{inspectName:[1,"shrdCmsUiPreviewInspector","
17inspectName"]}}))}return D(),g})()},72973(ye,A,n){n.d(A,{j:()=>l});const l=new(n(17988).nKC)("cms.previewInspector")},6787(ye,A,n){n.d(A,{J:()=>l,Q:()=>h});var u=n(17988);const l=new u.nKC("cms.entryId"),h=(c=null)=>({provide:l,useFactory:()=>(0,u.vPA)(c)})},70125(ye,A,n){n.d(A,{v:()=>T});var u=n(17988),l=n(10432),h=n(71435),c=n(47606);let T=(()=>{var o;class D{constructor(){this.domain=(0,u.WQX)(l.v).prodDomain}transform(C){return(0,h.C)(C,this.domain)}static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)},this.\u0275pipe=c.EJ8({name:"sanitizeCmsLink",type:D,pure:!0}))}return o(),D})()},63314(ye,A,n){n.d(A,{Mc:()=>I,VH:()=>M,Y$:()=>x,YA:()=>C,a4:()=>N,e$:()=>T,fk:()=>c,gg:()=>D,gt:()=>o,kj:()=>E,qF:()=>P,zx:()=>h});var u=n(45478),l=n(86493);const h=/^(press_|blog_|events_|engineering_)/,c=j=>(j??={},j.fields??={},j.sys??={},j),T=j=>(j?.fields?.items||[]).filter(H=>H.sys&&H.fields?.published).map(({fields:H,sys:ae,metadata:S})=>({id:ae.id,contentType:ae.contentType?.sys?.id,fields:{...H},label:H.tabLabel,slug:H.slug,sys:ae,metadata:S}));function o(j){return j?.sys?.contentType?.sys?.id}function D(j){return("string"==typeof j?j:o(j))?.toLowerCase().includes("page")}const g=j=>Array.isArray(j)?[...j].sort((w,H)=>w.localeCompare(H)).join(","):j;function C(j){const{fields:w}=c(j),{seoNoIndex:H,seoDescription:ae,seoKeywords:S,seoTitle:J}=w;return(0,l.Dz)({metaData:{media:{translatedDescription:ae,translatedKeywords:g(S),translatedTitle:J},robotsNoIndex:H},pageTitle:{value:J},tracking:{pageName:J,...v(w)}})}const v=j=>{const{td_contentBU:w,td_contentPurpose:H,td_contentTargetPersona:ae,td_contentTargetPersonaType:S,td_product_label:J,tdr_categories:Y,tdr_trade:re}=j;return{contentBU:g(w),contentCategory:g(Y?.contentCategory),contentPurpose:g(H),contentSubCategory:g(Y?.contentSubCategory),contentSubSubCategory:g(Y?.contentSubSubCategory),contentTargetPersona:g(ae),contentTargetPersonaType:g(S),contentTargetTradeL1:g(re?.contentTargetTradeL1),contentTargetTradeL2:g(re?.contentTargetTradeL2),product_label:g(J)}};function E(j){return(j||"").toLowerCase().replaceAll(/[^a-z0-9]+/gi,"-").replaceAll(/(^-+)|(-+$)/g,"")}function M(j,w="-"){return j?.toLowerCase().replaceAll(/[^a-zA-Z0-9-_\s]/g,"").replaceAll(/\s+/g,w)||""}function N(j,w="bg"){return j?`${w}-${M(j)}`:""}function P(j){return j?.replaceAll("\n","<br />")}function I(j,w){j[u.bh].transformFn=H=>(H=c(H),w(H),H)}function x(j){const{fields:w}=c(j);return w.body?.[0]||{}}},71435(ye,A,n){n.d(A,{C:()=>c,G:()=>T});const u=String.raw`\.`,c=(o,D)=>o&&D?o.replace(new RegExp(String.raw`^https?:\/\/(www\.)?${D.replaceAll(".",u)}(?=[/?#])`,"i"),""):o,T=(o,D)=>(o=>o?.replace(/(^\/(?=[#/]))/,""))((o=>o?.replace("#account-navigation",""))(c(o,D)))},14902(ye,A,n){n.d(A,{A0:()=>h,Ut:()=>T,nR:()=>l,pT:()=>g,q2:()=>C,xJ:()=>D,yG:()=>c});var u=n(87615);const l=[[u.EA.XS,"src"],[u.EA.SM,"srcSm"],[u.EA.MD,"srcMd"],[u.EA.LG,"srcLg"]],h=v=>!!v&&"object"==typeof v&&Object.values(u.EA).some(E=>E in v),c=(v,E)=>v[E]??v.default;function T(v,E){const M=function o(v){if(v){const[E,M]=v.split(":").map(Number);return E/M}}(E);return M>0?Math.round(v/M):null}function D(v){const[E,M]=v.split("?"),{w:N,h:P,...I}=M?Object.fromEntries(new URLSearchParams(M)):{};return{url:E,queryParams:I}}function g(v){return"string"==typeof v?{file:{url:v}}:v?.fields?.imageAsset?.fields||{}}function C(v,E){return Math.min(E,g(v).file?.details?.image?.width??1/0)}},91879(ye,A,n){n.d(A,{u:()=>C});var u=n(20396),l=n(17988),h=n(10432),c=n(87615),T=n(86493),o=n(11135),D=n(63314),g=n(14902);let C=(()=>{var v;class E{constructor(){this.imageHost=(0,l.WQX)(h.v).contentfulConfig.imageHost}generateSrcSet(N){const{source:P,sizes:I,aspectRatio:x,focusArea:j}=N;if(!P)return{};const w=Object.values(I).filter(re=>re>0).length<2,H=(0,g.A0)(P),ae=(0,g.A0)(x),S=(0,g.A0)(j),J=(0,g.xJ)(this.getSrcUrl(H?P.default:P)),Y=re=>{const G=I[re];
17if(G||w&&re===c.EA.XS){const ce=H&&P[re],{url:pe,queryParams:De}=ce?(0,g.xJ)(this.getSrcUrl(ce)):J;return this.generateUrl({...N,url:pe,width:G,aspectRatio:ae?(0,g.yG)(x,re):x,focusArea:S?(0,g.yG)(j,re):j,queryParams:De})}};return Object.fromEntries(g.nR.map(([re,G])=>[G,Y(re)]))}getCssUrl(N){if(N)return`url(${this.toImageHost(N)})`}getSrcUrl(N){return(0,o.S0)(this.toImageHost((0,g.pT)(N).file?.url||""))}generateUrl({url:N,width:P,aspectRatio:I,bg:x,fit:j="fill",focusArea:w="Center",format:H="webp",quality:ae,queryParams:S}){if(!N)return;const J=P?{w:P,h:(0,g.Ut)(P,I),f:(0,D.VH)(w,"_"),fit:j,bg:x}:{};return`${N}?${new u.Nl({fromObject:(0,T.Dz)({...J,fm:H,q:ae,...S})})}`}toImageHost(N){return this.imageHost?N.replace(/(?:https?:)?\/\/[^/]+(.*)/,`//${this.imageHost}$1`):N}static#e=v=()=>(this.\u0275fac=function(P){return new(P||E)},this.\u0275prov=l.jDH({token:E,factory:E.\u0275fac,providedIn:"root"}))}return v(),E})()},20297(ye,A,n){n.d(A,{_:()=>bt});var u=n(20396),l=n(17988),h=n(77171),c=n(68713),T=n(13901),o=n(78210),D=n(24406),g=n(90523),C=n(21082),v=n(23584),E=n(61856),M=n(75117),N=n(61969),P=n(90742),I=n(83535),x=n(48282),j=n(79632),w=n(11167),H=n(63764),ae=n(78440),S=n(25293),J=n(79746),Y=n(69599),re=n(65319),G=n(21512),ce=n(10432),pe=n(11135),De=n(86514),z=n(1733),ke=n(28949),it=n(60371);const Re=new RegExp(`/${Y.G.BASE}/([A-Za-z_0-9]+)/*([A-Za-z_0-9]*)`);let Ze=(()=>{var Xe;class tt{constructor(){this.routerHelper=(0,l.WQX)(z.T),this.env=(0,l.WQX)(ce.v),this.analyticsService=(0,l.WQX)(re.c),this.pageTrackingData=(0,l.WQX)(G.w).data,this.location=(0,l.WQX)(S.aZ),this.isBrowser=(0,l.WQX)(x.f).isBrowser,this.cartService=(0,l.WQX)(ke.mx),this.punchoutService=(0,l.WQX)(j.as),this.routeChange$=this.getRouteChange$(),this.canRequestBanners=this.getCanRequestBanners(),this.hasHiltiReferrer=this.getHasHiltiReferrer(),this.routeData={}}get finalUrl(){return(0,pe.Jf)(this.routerHelper.finalUrl())}get routeBlockedForMarketingBanners(){return"/"===this.finalUrl||this.routeData.blockMarketingBanners||this.routeData.isCompressedPageLayout}get pageType(){return this.routeData.tracking?.templateType||this.pageTrackingData.templateType}get productId(){return this.routeData.tracking?.productItemId||this.pageTrackingData.productItemId||this.routeData.tracking?.productRangeId||this.pageTrackingData.productRangeId}get categoryId(){const ze=this.location.path().match(Re);return ze?ze[2]||ze[1]:null}get cartId(){return this.routeData.blockCartIdForBanners?null:this.cartService.cartId}get localization(){return(0,ae.a$)(this.env)}trackBannerImpression(ze,vt={}){ze.webAnalyticsData&&this.analyticsService.trackEcommerceEvent("view_promotion",{items:[{...this.getBannerTrackingProperties(ze),...vt,creative_slot:0}]})}trackBannerClick(ze,{promotion_cta:vt,...pt}={}){ze.webAnalyticsData&&(this.analyticsService.storeData({navigationItem:ze.webAnalyticsData.trackCreative,navigationItemDetails:ze.webAnalyticsData.trackName}),this.analyticsService.trackEcommerceEvent("select_promotion",{promotion_cta:vt||ze.links?.[0]?.label,items:[{...this.getBannerTrackingProperties(ze,pt),creative_slot:0}]}))}trackBannerClose(ze){if(ze.webAnalyticsData){const{promotion_id:vt}=this.getBannerTrackingProperties(ze);this.analyticsService.sendEvent("click_button",{button_type:"tertiary",button_text:"don't show this again",event_method:"optout",event_details:vt})}}trackMiniTeaserBannersImpression(ze){const vt=ze.filter(pt=>pt.webAnalyticsData).map((pt,an)=>({...this.getBannerTrackingProperties(pt),creative_slot:an}));vt.length&&this.analyticsService.trackEcommerceEvent("view_promotion",{items:vt})}trackMiniTeaserBannerClick(ze){ze.webAnalyticsData&&this.analyticsService.storeData({navigationItem:ze.webAnalyticsData.trackCreative,navigationItemDetails:ze.body})}getBannerTrackingProperties({webAnalyticsData:{trackId:ze,trackCreative:vt,trackName:pt}={}},an={}){return{promotion_id:ze,promotion_name:pt,creative_name:vt,...an}}getRouteChange$(){return this.routerHelper.routeData$.pipe((0,N.M)(ze=>{this.routeData=ze,this.hasHiltiReferrer||=!this.routerHelper.isFirstNavigation}),(0,D.T)(()=>this.finalUrl),(0,J.F)())}getHasHiltiReferrer(){if(this.isBrowser){const{referrer:ze,location:vt}=(0,l.WQX)(l.qQL);return ze.startsWith(vt.origin)||(0,pe.N$)(ze).origin?.endsWith("hilti.com")}return!1}getCanRequestBanners(){return this.isBrowser&&!(0,l.WQX)(De.z).isMobileApp&&!(0,l.WQX)(it.i).isAccountManager&&!this.punchoutService.isActiveSession}static#e=Xe=()=>(this.\u0275fac=function(vt){return new(vt||tt)},this.\u0275prov=l.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"}))}return Xe(),tt})();var Ye=n(48065),Ue=n(61151),ne=n(47606);let X=(()=>{var Xe;class tt extends h.sM{constructor(){super(...arguments),this.document=h.J1`
18 mutation SaveCustomerJourney($input: SaveCustomerJourneyInput!) { 19 saveCustomerJourney(input: $input) { 20 journeyId 21 } 22 } 23 `}static#e=Xe=()=>(this.\u0275fac=(()=>{let ze;return function(pt){return(ze||(ze=ne.xGo(tt)))(pt||tt)}})(),this.\u0275prov=l.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"}))}return Xe(),tt})();const q="pf-customerJourneyId";let je=(()=>{var Xe;class tt{constructor(){this.storageService=(0,l.WQX)(w.n$),this.helper=(0,l.WQX)(Ze),this.journeyGql=(0,l.WQX)(X),this.destroyRef=(0,l.WQX)(l.abz),this.update=new Ue.m(1),this.listenToRouteChange()}get update$(){return this.update.asObservable()}get guid(){return this.helper.canRequestBanners?this.validateStoredJourneyId(this.storageService.getItem(q)):null}set guid(ze){const vt=new Date;this.storageService.setItem(q,[vt.setMinutes(vt.getMinutes()+30),ze])}removeGuid(){this.storageService.removeItem(q)}listenToRouteChange(){this.helper.routeChange$.pipe((0,N.M)(()=>this.update.next(!1)),(0,C.n)(ze=>this.helper.canRequestBanners?this.saveCustomerJourney$(ze):(0,T.of)(null)),(0,N.M)(()=>this.update.next(!0)),(0,Ye.pQ)(this.destroyRef)).subscribe()}saveCustomerJourney$(ze){return this.journeyGql.mutate({variables:{input:{uri:ze,journeyId:this.guid,productId:this.helper.productId}}}).pipe((0,N.M)(({data:vt})=>this.guid=vt.saveCustomerJourney.journeyId),(0,c.W)(()=>(this.removeGuid(),(0,T.of)(null))))}validateStoredJourneyId(ze){const[vt,pt]=ze||[];return Date.now()<=vt?pt:null}static#e=Xe=()=>(this.\u0275fac=function(vt){return new(vt||tt)},this.\u0275prov=l.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"}))}return Xe(),tt})(),Fe=(()=>{var Xe;class tt extends h.XK{constructor(){super(...arguments),this.document=h.J1` 24 query GridPageProductBanner($filter: ProductBannerFilterInput, $localization: LocalizationInput!) { 25 gridPageProductBanner(filter: $filter, localization: $localization) { 26 id 27 overline 28 headline 29 mobileHeadline 30 subHeadline 31 body 32 imageFocus 33 imageUri 34 layout 35 links { 36 uri 37 label 38 } 39 webAnalyticsData { 40 trackCreative 41 trackId 42 trackName 43 } 44 } 45 } 46 `}static#e=Xe=()=>(this.\u0275fac=(()=>{let ze;return function(pt){return(ze||(ze=ne.xGo(tt)))(pt||tt)}})(),this.\u0275prov=l.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"}))}return Xe(),tt})(),we=(()=>{var Xe;class tt extends h.XK{constructor(){super(...arguments),this.document=h.J1` 47 query MarketingBanner($filter: MarketingBannerFilterInput!, $localization: LocalizationInput!) { 48 marketingBanner(filter: $filter, localization: $localization) { 49 id 50 headline 51 subHeadline 52 imageFocus 53 imageUri 54 imageAlt 55 layout 56 displayDelay 57 links { 58 uri 59 openInNewTab 60 label 61 } 62 webAnalyticsData { 63 trackName 64 trackId 65 trackCreative 66 } 67 } 68 } 69 `}static#e=Xe=()=>(this.\u0275fac=(()=>{let ze;return function(pt){return(ze||(ze=ne.xGo(tt)))(pt||tt)}})(),this.\u0275prov=l.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"}))}return Xe(),tt})(),Be=(()=>{var Xe;class tt extends h.XK{constructor(){super(...arguments),this.document=h.J1` 70 query MegaMenuProductBanner($filter: ProductBannerFilterInput, $localization: LocalizationInput!) { 71 megaMenuProductBanner(filter: $filter, localization: $localization) { 72 id 73 overline 74 headline 75 mobileHeadline 76 subHeadline 77 body 78 imageFocus 79 imageUri 80 layout 81 links { 82 uri 83 label 84 } 85 webAnalyticsData { 86 trackCreative 87 trackId 88 trackName 89 } 90 } 91 } 92 `}static#e=Xe=()=>(this.\u0275fac=(()=>{let ze;return function(pt){return(ze||(ze=ne.xGo(tt)))(pt||tt)}})(),this.\u0275prov=l.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"}))}return Xe(),tt})(),at=(()=>{var Xe;class tt extends h.XK{constructor(){super(...arguments),this.document=h.J1` 93 query MiniTeaserBanners($categoryId: ID, $localization: LocalizationInput!) { 94 miniTeaserBanners(categoryId: $categoryId, localization: $localization) { 95 id 96 headline 97 body 98 linkUri 99 webAnalyticsData { 100 trackName 101 trackId 102 trackCreative 103 } 104 } 105 } 106 `}static#e=Xe=()=>(this.\u0275fac=(()=>{let ze;return function(pt){return(ze||(ze=ne.xGo(tt)))(pt||tt)}})(),this.\u0275prov=l.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"}))}return Xe(),tt})(),Ot=(()=>{var Xe;class tt extends h.sM{constructor(){super(...arguments),this.document=h.J1` 107 mutation TemporarilyBanBanner($input: TemporarilyBanBannerInput!, $localization: LocalizationInput!) { 108 temporarilyBanBanner(input: $input, localization: $localization) { 109 journeyId 110 } 111 } 112 `}static#e=Xe=()=>(this.\u0275fac=(()=>{let ze;return function(pt){return(ze||(ze=ne.xGo(tt)))(pt||tt)}})(),this.\u0275prov=l.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"}))}return Xe(),tt})();const Et="bannedBannersPermanently",ut=()=>({httpContext:(new u._y).set(I.cN,14400)});let bt=(()=>{var Xe;class tt{constructor(){this.helper=(0,l.WQX)(Ze),this.storageService=(0,l.WQX)(w.n$),this.journeyService=(0,l.WQX)(je),this.platform=(0,l.WQX)(x.f),this.apolloCache=(0,l.WQX)(h.Ic).client.cache,this.temporarilyBanBannerGql=(0,l.WQX)(Ot),this.megaMenuProductBannerGql=(0,l.WQX)(Be),this.gridPageProductBannerGql=(0,l.WQX)(Fe),this.marketingBannerGql=(0,l.WQX)(we),this.miniTeaserBannersGql=(0,l.WQX)(at),this.cartV2GqlHeader=(0,l.WQX)(H.T).context?.context?.headers,this.punchoutService=(0,l.WQX)(j.as),this.bannedMarketingBanners=this.getBannedMarketingBanners(),this.marketingBanner$=this.getMarketingBannerData$(),this.megaMenuProductBanner$=this.getMegaMenuProductBannerData$(),this.gridPageProductBanner$=this.getGridPageProductBannerData$(),this.categoryMiniTeaserBanners$=this.getMiniTeaserBanners$(!0),this.megaMenuMiniTeaserBanners$=this.getMiniTeaserBanners$(),this.purgeCachedFinalProductBanner()}get isMarketingBannerEnabled(){return this.journeyService.guid&&!this.helper.routeBlockedForMarketingBanners&&this.helper.hasHiltiReferrer}get bannerFilterInput(){return{uri:this.helper.finalUrl,journeyId:this.journeyService.guid,cartId:this.helper.cartId,pageType:this.helper.pageType,productId:this.helper.productId}}get productBannerInputArgs(){return{filter:this.bannerFilterInput,localization:this.helper.localization}}temporarilyBanMarketingBanner$(ze){return this.journeyService.guid?this.temporarilyBanBannerGql.mutate({variables:{input:{bannerId:ze.id,journeyId:this.journeyService.guid},localization:this.helper.localization}}).pipe((0,c.W)(vt=>(this.handleInvalidJourneyIdError(vt),(0,T.of)(null)))):(0,T.of)(null)}permanentlyBanMarketingBanner(ze,vt=!0){vt&&this.helper.trackBannerClose(ze),this.updateBannedMarketingBanners(ze.id)}preloadDefaultBannerData(){this.platform.isServer&&(this.getDefaultMegaMenuProductBanner$().subscribe({error:ze=>{}}),this.megaMenuMiniTeaserBanners$.subscribe())}getFinalGridPageProductBanner$(ze,vt=!1){return(0,o.v)(()=>this.gridPageProductBannerGql.fetch({variables:this.getGridPageBannerInputs(ze?.tracking?.templateType,vt),context:{headers:this.cartV2GqlHeader,...ut()}}).pipe((0,D.T)(({data:pt})=>pt.gridPageProductBanner)))}getGridPageBannerInputs(ze,vt){const pt=this.productBannerInputArgs,{filter:{pageType:an,uri:s}}=pt;return ze&&(pt.filter.pageType=ze),vt&&(pt.filter={uri:s,pageType:an}),pt}getBannedMarketingBanners(){return this.storageService.getItem(Et)}updateBannedMarketingBanners(ze){this.bannedMarketingBanners=[...new Set(this.getBannedMarketingBanners()).add(ze)],this.bannedMarketingBanners.length>40&&this.bannedMarketingBanners.shift(),this.storageService.setItem(Et,this.bannedMarketingBanners)}getMegaMenuProductBannerData$(){return this.punchoutService.isActiveSession?g.w:this.getProductBannerData$(this.getDefaultMegaMenuProductBanner$(),this.getFinalMegaMenuProductBanner$()
112)}getGridPageProductBannerData$(){return this.getProductBannerData$(this.getFinalGridPageProductBanner$(null,!0),this.getFinalGridPageProductBanner$())}getProductBannerData$(ze,vt){return ze.pipe((0,c.W)(()=>g.w),(0,C.n)(pt=>pt?(0,v.x)((0,T.of)(pt),this.getFinalProductBanner(vt,pt)):g.w))}getFinalProductBanner(ze,vt){return this.journeyService.update$.pipe((0,E.p)(Boolean),(0,M.s)(1),(0,D.T)(()=>this.journeyService.guid?ze.pipe((0,c.W)(pt=>(this.handleInvalidJourneyIdError(pt),(0,T.of)(null)))):(0,T.of)(null)),(0,C.n)(pt=>this.platform.isBrowser?pt:g.w),(0,D.T)(pt=>pt||vt),(0,D.T)(pt=>pt&&{...pt,loaded:this.platform.isBrowser}))}purgeCachedFinalProductBanner(){this.platform.isBrowser&&this.journeyService.update$.pipe((0,E.p)(ze=>!ze)).subscribe(()=>{const ze=this.productBannerInputArgs;["megaMenuProductBanner","gridPageProductBanner"].forEach(vt=>{this.apolloCache.evict({id:"ROOT_QUERY",fieldName:vt,args:ze})}),this.apolloCache.gc()})}getDefaultMegaMenuProductBanner$(){return this.megaMenuProductBannerGql.fetch({variables:{localization:this.helper.localization},context:{headers:this.cartV2GqlHeader,...ut()}}).pipe((0,D.T)(({data:ze})=>ze.megaMenuProductBanner))}getFinalMegaMenuProductBanner$(){return(0,o.v)(()=>this.megaMenuProductBannerGql.fetch({variables:this.productBannerInputArgs,context:{headers:{...this.cartV2GqlHeader}}})).pipe((0,D.T)(({data:ze})=>ze.megaMenuProductBanner))}getMarketingBannerData$(){return this.platform.isBrowser?(0,o.v)(()=>this.journeyService.update$.pipe((0,E.p)(Boolean),(0,C.n)(()=>this.isMarketingBannerEnabled?this.marketingBannerGql.fetch({variables:{filter:{...this.bannerFilterInput,permanentlyBannedBannerIds:this.bannedMarketingBanners},localization:this.helper.localization},fetchPolicy:P.j.NO_CACHE,context:{headers:{...this.cartV2GqlHeader}}}).pipe((0,c.W)(ze=>(this.handleInvalidJourneyIdError(ze),g.w))):g.w),(0,D.T)(({data:ze})=>ze.marketingBanner),(0,E.p)(Boolean))):g.w}getMiniTeaserBanners$(ze=!1){return(0,o.v)(()=>this.miniTeaserBannersGql.fetch({variables:{...ze?{categoryId:this.helper.categoryId}:null,localization:this.helper.localization},context:ze?null:ut()})).pipe((0,D.T)(({data:vt})=>vt.miniTeaserBanners),(0,E.p)(vt=>!!vt?.length),(0,N.M)(vt=>this.helper.trackMiniTeaserBannersImpression(vt)),(0,c.W)(()=>g.w))}handleInvalidJourneyIdError(ze){(0,ae._4)(ze,"INVALID_JOURNEY_ID")&&this.journeyService.removeGuid()}static#e=Xe=()=>(this.\u0275fac=function(vt){return new(vt||tt)},this.\u0275prov=l.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"}))}return Xe(),tt})()},66295(ye,A,n){n.d(A,{Z:()=>h});var u=n(81502),l=n(17988);let h=(()=>{var c;class T{constructor(){this.state$=new u.B}get updated$(){return this.state$.asObservable()}update(D){this.state$.next(D)}static#e=c=()=>(this.\u0275fac=function(g){return new(g||T)},this.\u0275prov=l.jDH({token:T,factory:T.\u0275fac,providedIn:"root"}))}return c(),T})()},76397(ye,A,n){n.d(A,{HC:()=>v,IX:()=>h,NM:()=>T,Pc:()=>o,RQ:()=>l,TP:()=>c,ai:()=>C});var u=n(20220),l=function(M){return M.CONSUMABLE_SUBSCRIPTION="CONSUMABLE_SUBSCRIPTION",M.FLEET="FLEET",M.NORMAL="NORMAL",M.PEAK="PEAK",M.SOFTWARE_FREE="SOFTWARE_FREE",M.SOFTWARE_MONTHLY="SOFTWARE_MONTHLY",M.SOFTWARE_SINGLE_PAYMENT="SOFTWARE_SINGLE_PAYMENT",M.SOFTWARE_YEARLY="SOFTWARE_YEARLY",M.SUBSCRIPTION_MONTHLY="SUBSCRIPTION_MONTHLY",M.SUBSCRIPTION_YEARLY="SUBSCRIPTION_YEARLY",M}(l||{});function h(M,N){switch(M){case u.sE.STANDARD:return l.NORMAL;case u.sE.SOFTWARE:return function E(M){switch(M){case u.ut.SINGLE:return l.SOFTWARE_SINGLE_PAYMENT;case u.ut.FREE_OF_CHARGE:return l.SOFTWARE_FREE;case u.ut.MONTHLY:return l.SOFTWARE_MONTHLY;case u.ut.YEARLY:return l.SOFTWARE_YEARLY;default:return`${u.sE.SOFTWARE}_${M}`}}
112(N);case u.sE.SUBSCRIPTION:return N===u.ut.MONTHLY||N===u.ut.YEARLY?`${u.sE.SUBSCRIPTION}_${N}`:u.sE.SUBSCRIPTION;case u.sE.CONSUMABLE_SUBSCRIPTION:return l.CONSUMABLE_SUBSCRIPTION;default:return l[M]}}function c(M){return M?[...[...M.path||[]].reverse(),M]:[]}function T(M){return+M.toFixed(2)}function o(M){return M?T(M.pricePerUnit.amount/M.priceQuantity):0}function D(M){const N=c(M.defaultCategory).map(({id:P})=>P);return{item_name:M.range?.title||M.title,item_category:N[0]||void 0,item_category2:N[1]||void 0,item_category3:N[2]||void 0,item_brand:M.type}}function g(M){return{...D(M),item_id:M.range?.id??M.rangeId,item_category4:M.range?.id??M.rangeId}}function C(M){return{...D(M),item_id:M.id,item_category4:M.id}}function v(M){return{...g(M),item_name_detail:M.range?.title&&M.range.title!==M.title?M.title:void 0,item_sku:M.id,item_kit:!!M.packageContents?.length}}},28847(ye,A,n){n.d(A,{R:()=>D});var u=n(17988),l=n(20220),h=n(65319),c=n(10432),T=n(7817),o=n(76397);let D=(()=>{var g;class C{constructor(){this.analyticsService=(0,u.WQX)(h.c),this.envService=(0,u.WQX)(c.v),this.persistentEcommerceTrackingDataService=(0,u.WQX)(T.O)}sendAddToCartEvents(E,M){this.sendAddToCartEvent({event_method:E.event_method||E.label,addToCartSource:E.addToCartSource},M.successfulItems),M.failedItems?.forEach(({productId:N})=>{this.trackAddToCartError(E.event_method,N)}),M.successfulItems?.forEach(({hasAdjustedQuantity:N,product:P})=>{N&&this.trackAddToCartWarning(P)})}sendAddToCartEvent(E,M){M.length&&(E.label?this.analyticsService.trackLegacyEcommerceEvent({event:"EECaddToCart",label:E.label,currencyCode:this.envService.currency.code,products:this.getTrackingProductsData(M,E)}):E.event_method&&this.trackAddToCart(E.event_method,M.map(N=>this.getAddToCartEcommerceItem(N,E))))}sendRemoveFromCartEvent(E,M,N){this.trackRemoveFromCart(E,this.getEcommerceItems(M,N))}trackAddToCartWarning(E){this.analyticsService.sendEvent("add_to_cart_warning",{event_details:E.softwareAttributes?.hasMaxOrderQuantity?"maximum quantity reached":"quantity adjusted",item_sku:E.id})}trackAddToCartError(E,M){this.analyticsService.sendEvent("add_to_cart_error",{event_method:E,item_sku:M})}trackAddToCart(E,M){this.analyticsService.trackEcommerceEvent("add_to_cart",{event_method:E,items:M,currency:this.envService.currency.code})}trackRemoveFromCart(E,M){this.analyticsService.trackEcommerceEvent("remove_from_cart",{event_method:E,items:M,currency:this.envService.currency.code})}getEcommerceItems(E,M){const N=P=>!M||M.includes(P.id);return[...(E.fleetDetails?.entries??[]).filter(N).map(P=>this.getFleetEntryEcommerceItem(P)),...(E.standardDetails?.entries??[]).filter(N).map(P=>this.getStandardEntryEcommerceItem(l.sE.STANDARD,P)),...(E.peakDetails?.entries??[]).filter(N).map(P=>this.getPeakEntryEcommerceItem(P)),...(E.softwareMonthlyDetails?.entries??[]).filter(N).map(P=>this.getSubscriptionEntryEcommerceItem(l.sE.SOFTWARE,P)),...(E.softwareYearlyDetails?.entries??[]).filter(N).map(P=>this.getSubscriptionEntryEcommerceItem(l.sE.SOFTWARE,P)),...(E.subscriptionDetails?.entries??[]).filter(N).map(P=>this.getSubscriptionEntryEcommerceItem(l.sE.SUBSCRIPTION,P)),...(E.consumablesSubscriptionDetails?.entries??[]).filter(N).map(P=>this.getStandardEntryEcommerceItem(l.sE.CONSUMABLE_SUBSCRIPTION,P))]}getStandardEntryEcommerceItem(E,M){let N=(0,o.IX)(E);return M.item.type===l.ch.SOFTWARE&&(N=M.priceInformation.pricePerUnit.amount?o.RQ.SOFTWARE_SINGLE_PAYMENT:o.RQ.SOFTWARE_FREE),{item_variant:N,price:(0,o.Pc)(M.priceInformation),quantity:M.quantity,...(0,o.HC)(M.item),...this.persistentEcommerceTrackingDataService.getItemListDataWithId(M.addToCartSource)}}getFleetEntryEcommerceItem(E){const M=E.usagePeriod/(E.billingPeriod||1);return{item_variant:o.RQ.FLEET,price:(0,o.Pc)(E.upfrontPriceInformation)+(0,o.Pc)(E.recurringPriceInformation)*M,quantity:E.quantity,...(0,o.HC)(E.item),...this.persistentEcommerceTrackingDataService.getItemListDataWithId(E.addToCartSource)}}getPeakEntryEcommerceItem(E){return{item_variant:o.RQ.PEAK,price:E.priceInformation.totalPrice.amount,quantity:E.quantity,...(0,o.HC)(E.item),...this.persistentEcommerceTrackingDataService.getItemListDataWithId(E.addToCartSource)}}getTrackingProductsData(E,M){const N=this.persistentEcommerceTrackingDataService.getItemListDataWithId(M.addToCartSource||M.event_method||M.label);return this.isCartModificationTrackingData(E)?E.map(({id:P,brand:I,category:x,name:j,price:w,variant:H,quantity:ae,rangeId:S})=>({id:P,brand:I,category:x,name:j,price:w.toString(),variant:H,quantity:ae,dimension
11255:S,...N})):E.map(({product:P,quantity:I,purchaseType:x,billingCycle:j,unitPrice:w,priceUnitQuantity:H})=>({id:P.id,name:P.title,quantity:I,dimension55:P.rangeId,brand:P.type,price:w.amount,quantityPerUnit:H,variant:(0,o.IX)(x,j),...this.getProductCategory(P),...N}))}extractProductCategory(E){return(0,o.TP)(E).map(M=>M.title).join("/")}getProductCategory(E){return{category:E.defaultCategory?this.extractProductCategory(E.defaultCategory):""}}isCartModificationTrackingData(E){return!!E[0]?.variant}getAddToCartEcommerceItem(E,M){return{item_variant:(0,o.IX)(E.purchaseType,E.billingCycle),price:(0,o.NM)(E.unitPrice.amount/E.priceUnitQuantity),quantity:E.quantity,...(0,o.HC)(E.product),...this.persistentEcommerceTrackingDataService.getItemListDataWithId(M.addToCartSource||M.event_method)}}getSubscriptionEntryEcommerceItem(E,M){return{item_variant:(0,o.IX)(E,M.billingCycle),price:(0,o.Pc)(M.priceInformation),quantity:M.quantity,...(0,o.HC)(M.item),...this.persistentEcommerceTrackingDataService.getItemListDataWithId(M.addToCartSource)}}static#e=g=()=>(this.\u0275fac=function(M){return new(M||C)},this.\u0275prov=u.jDH({token:C,factory:C.\u0275fac,providedIn:"root"}))}return g(),C})()},63764(ye,A,n){n.d(A,{T:()=>T});var u=n(17988),l=n(93003),h=n(23478),c=n(68214);let T=(()=>{var o;class D{constructor(){this.isFm4kaDatasourceEnabled=(0,u.WQX)(l.I).getToggleById(c.yU),this.context={context:{headers:{[h.i5]:[h.wx,this.isFm4kaDatasourceEnabled&&h.Yz].filter(Boolean).join(",")}}}}static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)},this.\u0275prov=u.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}))}return o(),D})()},37561(ye,A,n){function u(l){return[...l.standardDetails?.entries??[],...l.fleetDetails?.entries??[],...l.consumablesSubscriptionDetails?.entries??[],...l.peakDetails?.entries??[],...l.softwareMonthlyDetails?.entries??[],...l.softwareYearlyDetails?.entries??[],...l.subscriptionDetails?.entries??[]]}n.d(A,{y:()=>u})},28949(ye,A,n){n.d(A,{lo:()=>pt,ow:()=>ze,mx:()=>jt,rT:()=>Wt});var u=n(17988),l=n(29491),h=n(81502),c=n(24406),T=n(90523),o=n(61969),D=n(21082),g=n(54366),C=n(69488),v=n(13901),E=n(68713),M=n(56816),N=n(70646),P=n(95840),I=n(64752),x=n(32790),j=n(75117),w=n(39848),H=n(61856),ae=n(23389),S=n(66055),J=n(20220),Y=n(90742),re=n(47744),G=n(10432),ce=n(93003),pe=n(77941),De=n(9904),z=n(86514),ke=n(48282),it=n(79632),Re=n(4642),Qe=n(57604),Ze=n(23478),Ye=n(78440),Ue=n(68214),ne=n(60371),X=n(77171),q=n(47606);const Te=X.J1` 113 fragment AddToCartProps on AddToCartPayload { 114 cart { 115 id 116 numberOfItems 117 } 118 failedItems { 119 productId 120 quantity 121 } 122 successfulItems { 123 hasAdjustedQuantity 124 product(localization: $localization) { 125 id 126 title 127 thumbnail 128 type 129 rangeId 130 defaultCategory { 131 id 132 title 133 path { 134 id 135 title 136 } 137 } 138 range { 139 id 140 title 141 } 142 } 143 billingCycle 144 purchaseType 145 quantity 146 unitPrice { 147 amount 148 } 149 priceUnitQuantity 150 } 151 } 152`;let je=(()=>{var sn;class Lt extends X.sM{constructor(){super(...arguments),this.document=X.J1` 153 mutation AddToCart($input: AddToCartInput!, $localization: LocalizationInput!) { 154 addToCart(input: $input) { 155 ...AddToCartProps 156 } 157 } 158 ${Te} 159 `}static#e=sn=()=>(this.\u0275fac=(()=>{let wt;return function(Ct){return(wt||(wt=q.xGo(Lt)))(Ct||Lt)}})(),this.\u0275prov=u.jDH({token:Lt,factory:Lt.\u0275fac,providedIn:"root"}))}return sn(),Lt})();var Fe=n(66295),we=n(28847),Be=n(63764),at=n(37561);let Ot=(()=>{var sn;class Lt extends X.sM{constructor(){super(...arguments),this.document=X.J1` 160 mutation CreateCart($input: CreateCartInput!) { 161 createCart(input: $input) { 162 cart { 163 id 164 numberOfItems 165 } 166 } 167 } 168 `}static#e=sn=()=>(this.\u0275fac=(()=>{let wt;return function(Ct){return(wt||(wt=q.xGo(Lt)))(Ct||Lt)}})(),this.\u0275prov=u.jDH({token:Lt,factory:Lt.\u0275fac,providedIn:"root"}))}return sn(),Lt})(),Et=(()=>{var sn;class Lt extends X.XK{constructor(){super(...arguments),this.document=X.J1` 169 query MiniCart($id: ID!) { 170 miniCart(id: $id) { 171 id 172 numberOfItems 173 } 174 } 175 `}static#e=sn=()=>(this.\u0275fac=(()=>{let wt;return function(Ct){return(wt||(wt=q.xGo(Lt)))(Ct||Lt)}})(),this.\u0275prov=u.jDH({token:Lt,factory:Lt.\u0275fac,providedIn:"root"}))}return sn(),Lt})(),Yt=(()=>{var sn;class Lt extends X.sM{constructor(){super(...arguments),this.document=X.J1` 176 mutation QuickAddToCart($input: QuickAddToCartInput!, $localization: LocalizationInput!) { 177 quickAddToCart(input: $input) { 178 ...AddToCartProps 179 } 180 } 181 ${Te} 182 `}static#e=sn=()=>(this.\u0275fac=(()=>{let wt;return function(Ct){return(wt||(wt=q.xGo(Lt)))(Ct||Lt)}})(),this.\u0275prov=u.jDH({token:Lt,factory:Lt.\u0275fac,providedIn:"root"}))}return sn(),Lt})();var ut=n(69967);let bt=(()=>{var sn;class Lt extends X.sM{constructor(){super(...arguments),this.document=X.J1` 183 mutation RemoveCart($cartId: ID!) { 184 removeCart(cartId: $cartId) { 185 status 186 } 187 } 188 `}static#e=sn=()=>(this.\u0275fac=(()=>{let wt;return function(Ct){return(wt||(wt=q.xGo(Lt)))(Ct||Lt)}})(),this.\u0275prov=u.jDH({token:Lt,factory:Lt.\u0275fac,providedIn:"root"}))}return sn(),Lt})(),Xe=(()=>{var sn;class Lt extends X.sM{constructor(){super(...arguments),this.document=X.J1` 189 mutation RemoveEntriesFromCart($input: RemoveEntriesFromCartInput!) { 190 removeEntriesFromCart(input: $input) { 191 cart { 192 id 193 numberOfItems 194 } 195 } 196 } 197 `}static#e=sn=()=>(this.\u0275fac=(()=>{let wt;return function(Ct){return(wt||(wt=q.xGo(Lt)))(Ct||Lt)}})(),this.\u0275prov=u.jDH({token:Lt,factory:Lt.\u0275fac,providedIn:"root"}))}return sn(),Lt})(),tt=(()=>{var sn;class Lt extends X.sM{constructor(){super(...arguments),this.document=X.J1`
198 mutation ReorderItems($input: ReorderItemsInput!, $localization: LocalizationInput!) { 199 reorderItems(input: $input) { 200 ...AddToCartProps 201 } 202 } 203 ${Te} 204 `}static#e=sn=()=>(this.\u0275fac=(()=>{let wt;return function(Ct){return(wt||(wt=q.xGo(Lt)))(Ct||Lt)}})(),this.\u0275prov=u.jDH({token:Lt,factory:Lt.\u0275fac,providedIn:"root"}))}return sn(),Lt})(),Ht=(()=>{var sn;class Lt extends X.sM{constructor(){super(...arguments),this.document=X.J1` 205 mutation UpdateCartEntryQuantity($input: UpdateCartEntryQuantityInput!) { 206 updateCartEntryQuantity(input: $input) { 207 cart { 208 id 209 numberOfItems 210 } 211 } 212 } 213 `}static#e=sn=()=>(this.\u0275fac=(()=>{let wt;return function(Ct){return(wt||(wt=q.xGo(Lt)))(Ct||Lt)}})(),this.\u0275prov=u.jDH({token:Lt,factory:Lt.\u0275fac,providedIn:"root"}))}return sn(),Lt})();const ze={autoClose:!0,timeout:1e4,tapToDismiss:!1,showCloseButton:!0,aboveModal:!0,uniqueKey:ae.gR.PRIMARY},vt="#add-to-cart=.*",pt=1209600,an={numberOfItems:0,id:null};function s(sn){return sn?.reduce((Lt,vn)=>Lt+(vn.quantity||1),0)||0}function mt(sn){return sn?.some(Lt=>!0===Lt.hasAdjustedQuantity)||!1}function Wt(sn,Lt=!0){const{title:vn,thumbnail:wt}=1===sn?.length&&sn[0].product||{};return{productTitle:vn,image:wt,quantity:s(sn),roundUp:mt(sn),showCartButton:Lt}}let jt=(()=>{var sn;class Lt{constructor(){this.isAddToCartProcessing=(0,u.vPA)(!1),this.addToCartGqlService=(0,u.WQX)(je),this.cartV2ContextService=(0,u.WQX)(Be.T),this.createCartGqlService=(0,u.WQX)(Ot),this.env=(0,u.WQX)(G.v),this.quickAddToCartGqlService=(0,u.WQX)(Yt),this.toastMessagesService=(0,u.WQX)(ae.n$,{optional:!0}),this.refreshCartSubject=new h.B,this.localization=(0,Ye.a$)(this.env),this.removeAllItemsFromCartGqlService=(0,u.WQX)(ut.d),this.removeEntriesFromCartGqlService=(0,u.WQX)(Xe),this.tabSyncService=(0,u.WQX)(Re.u),this.cartTrackingService=(0,u.WQX)(we.R),this.userContext=(0,u.WQX)(ne.i),this.cartStateService=(0,u.WQX)(Fe.Z),this.updateCartEntryQuantityGqlService=(0,u.WQX)(Ht),this.tokenService=(0,u.WQX)(Qe.B),this.cookie=(0,u.WQX)(re.O),this.platformService=(0,u.WQX)(ke.f),this.logoutService=(0,u.WQX)(De.k),this.queryCartGqlService=(0,u.WQX)(Et),this.removeCartGqlService=(0,u.WQX)(bt),this.hashTrigger=(0,u.WQX)(pe.G9),this.punchoutService=(0,u.WQX)(it.as),this.reorderItemsGqlService=(0,u.WQX)(tt),this.mobileAppService=(0,u.WQX)(z.z),this.isFm4kaEnabled=(0,u.WQX)(ce.I).getToggleById(Ue.yU),this.cartMessagesTranslations=(0,u.WQX)(S.r,{optional:!0}),this.isPunchoutSession=this.punchoutService.isActiveSession,this.cart$=this.getCart$(),this.cartAmount$=this.cart$.pipe((0,c.T)(({numberOfItems:wt})=>wt)),this.platformService.isBrowser&&(this.listenToAddToCartHashTrigger(),this.subscribeToExternalUpdates())}get cartId(){return this.cookie.get(Ze.Y1)}get shouldBlockRequest(){return this.platformService.isServer||!this.tokenService.authToken}static enrichWithCartSource(wt,cn){return Object.fromEntries(Object.entries(wt).map(([Ct,Mn])=>[Ct,Mn.map(Ut=>({...Ut,addToCartSource:Ut.addToCartSource||cn}))]))}refreshCart(){this.refreshCartSubject.next(null)}quickAddToCart$(wt,cn,Ct=!0){const Mn=this.localization,Ut=this.getAddToCartSource(cn),rn=this.quickAddToCartGqlService.mutate({variables:{input:{items:wt.map(In=>({...In,addToCartSource:In.addToCartSource||Ut})),cartId:this.cartId,localization:Mn},localization:Mn},...this.getDataSourceContext()}).pipe((0,c.T)(({data:In})=>In.quickAddToCart));return this.processAddToCartPayload$(rn,{...cn,addToCartSource:Ut},Ct)}addToCart$(wt,cn,Ct=!0){this.isAddToCartProcessing.set(!0);const Mn=this.localization,Ut=this.getAddToCartSource(cn),rn=this.addToCartGqlService.mutate({variables:{input:{cartId:this.cartId,localization:Mn,...Lt.enrichWithCartSource(wt,Ut)},localization:Mn},...this.getDataSourceContext()}).pipe((0,c.T)(({data:In})=>In.addToCart));return this.processAddToCartPayload$(rn,{...cn,addToCartSource:Ut},Ct)}showAddToCartMessage(wt){const{error:cn,quantity:Ct}=wt;Ct&&this.toastMessagesService.success(ae.fM.create(wt),null,ze),cn&&this.toastMessagesService.danger(cn.text,cn.headline,{...ze,...Ct&&{uniqueKey:ae.gR.SECONDARY}})}reset(){this.cartId&&(this.deleteCookie(),this.refreshCartSubject.next(an))}removeAllItemsFromCart$(wt=!1){return this.cartId?this.removeAllItemsFromCartGqlService.mutate({variables:{cartId:this.cartId},...this.cartV2ContextService.context}).pipe((0,c.T)(({data:cn})=>cn.removeAllItemsFromCart.status),(0,o.M)(cn=>{if(cn!==J.Uh.SUCCESS)throw new Error("Removing all cart items unsuccessful");wt?this.refreshCart():this.updateState({id:this.cartId,numberOfItems:0})})):T.w}removeEntriesFromCart$(wt){return this.removeEntriesFromCartWithoutStateUpdate$(wt).pipe((0,o.M)(({cart:cn})=>this.updateState(cn)))}getCartEntries$(){return this.cart$.pipe((0,c.T)(wt=>(0,at.y)(wt)))}getInvalidEntries$(){return this.getCartEntries$().pipe((0,c.T)(wt=>wt.filter(this.isInvalidEntry)))}removeIneligibleEntries$(){return this.getInvalidEntries$().pipe((0,c.T)(wt=>wt.map(({id:cn})=>cn)),(0,D.n)(wt=>this.removeEntriesFromCart$(wt)))}removeCart$(){const wt=this.cartId,cn=this.removeCartGqlService.mutate({variables:{cartId:wt},...this.cartV2ContextService.context}).pipe((0,c.T)(({data:Ct})=>Ct.removeCart.status),(0,o.M)(Ct=>this.reset()));return(0,g.T)(()=>!!wt,cn,T.w)}reorderItems$(wt,cn,Ct=!0){const Mn=this.reorderItemsGqlService.mutate({variables:{input:{orderIds:wt,cartId:this.cartId},localization:this.localization},...this.getDataSourceContext()}).pipe((0,c.T)(({data:Ut})=>Ut.reorderItems));return this.processAddToCartPayload$(Mn,cn,Ct)}updateState(wt){this.setCookie(wt.id),this.refreshCartSubject.next(wt)}updateQuantity$(wt,cn,Ct){return this.updateCartEntryQuantityGqlService.mutate({variables:{input:{cartId:this.cartId,entryId:wt,quantity:cn},localization:this.localization},...this.getDataSourceContext()}).pipe((0,c.T)(({data:Mn})=>Mn.updateCartEntryQuantity),(0,o.M)({next:({cart:Mn})=>{this.updateState(Mn)}}))}getDataSourceContext(){const wt=[Ze.EJ,Ze.wx,this.isFm4kaEnabled&&Ze.Yz];return{context:{headers:{[Ze.i5]:wt.filter(Boolean).join(",")}}}}
213getMixedCartCheckout(wt){const Ct=["peakDetails","fleetDetails","standardDetails","subscriptionDetails","softwareYearlyDetails","softwareMonthlyDetails","consumablesSubscriptionDetails"].filter(Mn=>!(wt&&!wt[Mn]||!Object.keys(wt[Mn]).length||wt[Mn].entries?.some(this.isInvalidEntry)));return{hasMix:Ct.length>1,populatedKeys:Ct,products:(0,at.y)(wt).map(({item:Mn})=>Mn)}}createCart$(){return this.shouldBlockRequest?C.t:this.userContext.isRegistered?this.createCartGqlService.mutate({variables:this.getCreateCartInput(),...this.cartV2ContextService.context}).pipe((0,c.T)(({data:wt})=>wt.createCart?.cart),(0,o.M)(({id:wt})=>this.setCookie(wt)),(0,E.W)(wt=>(0,v.of)(an))):(0,v.of)(an)}subscribeToExternalUpdates(){this.cartStateService.updated$.subscribe(wt=>this.updateState(wt))}queryCart$(wt){return this.shouldBlockRequest?C.t:this.queryCartGqlService.fetch({variables:{id:wt},fetchPolicy:Y.j.NETWORK_ONLY,...this.cartV2ContextService.context}).pipe((0,c.T)(({data:cn})=>cn.miniCart))}getCart$(){return this.initCart$().pipe((0,o.M)(this.syncState.bind(this)),(0,D.n)(wt=>this.tabSyncService.onMessage$("cart").pipe((0,c.T)(({cart:cn})=>({...wt,...cn})),(0,M.Z)(wt))),(0,D.n)(wt=>this.refreshCartSubject.pipe((0,N.p)(cn=>cn?(0,v.of)(cn):this.queryCart$(this.cartId)),(0,o.M)(this.syncState.bind(this)),(0,M.Z)(wt))),(0,o.M)(({numberOfItems:wt,id:cn})=>{this.mobileAppService.updateCartAmount(wt,cn)}),(0,P.t)(1))}initCart$(){return this.cleanupOnLogout(),(0,v.of)(this.cartId).pipe((0,I.Z)(wt=>(0,g.T)(()=>!!wt,this.queryCart$(wt).pipe((0,E.W)(cn=>l.K.is(cn)?(this.deleteCookie(),this.createCart$()):(0,x.$)(()=>cn))),this.createCart$())),(0,j.s)(1))}syncState({id:wt,numberOfItems:cn}){this.tabSyncService.postMessage({cart:{id:wt,numberOfItems:cn}})}removeEntriesFromCartWithoutStateUpdate$(wt){return this.cartId?this.removeEntriesFromCartGqlService.mutate({variables:{input:{cartId:this.cartId,entryIds:wt},localization:this.localization},...this.getDataSourceContext()}).pipe((0,c.T)(({data:cn})=>cn.removeEntriesFromCart)):T.w}processAddToCartPayload$(wt,cn,Ct=!0){return wt.pipe((0,o.M)(({cart:Mn,...Ut})=>{this.updateState(Mn),Ct&&this.prepareAddToCartMessage(Ut),cn&&this.cartTrackingService.sendAddToCartEvents({event_method:cn.event_method||cn.label,addToCartSource:cn.addToCartSource},Ut)}),(0,w.j)(()=>this.isAddToCartProcessing.set(!1)),(0,E.W)(Mn=>(Ct&&this.showAddToCartMessage(this.createErrorCartMessageData()),(0,x.$)(()=>Mn))))}prepareAddToCartMessage({failedItems:wt,successfulItems:cn}){this.showAddToCartMessage({...wt?.length&&this.createErrorCartMessageData(),...Wt(cn)})}createErrorCartMessageData(){const{headline:wt,copy:cn}=this.cartMessagesTranslations.genericError;return{error:{headline:wt,text:cn}}}getAddToCartSource(wt){return null===wt?.addToCartSource?null:wt?.addToCartSource||wt?.event_method||wt?.label||null}getCreateCartInput(){return{input:{localization:(0,Ye.a$)(this.env),restoreCart:!this.isPunchoutSession,...this.userContext.isAccountManager&&this.userContext.preselectedShipToId&&{shipToAccountId:this.userContext.preselectedShipToId}}}}cleanupOnLogout(){this.platformService.isBrowser&&this.logoutService.logout$().subscribe(()=>this.deleteCookie())}setCookie(wt){this.cookie.set(Ze.Y1,wt,this.punchoutService.getCookieOptions({secure:!0,maxAge:pt}))}deleteCookie(){this.cookie.delete(Ze.Y1)}isInvalidEntry(wt){return"status"in wt&&wt.status!==J.YT.VALID}listenToAddToCartHashTrigger(){this.hashTrigger.registerHash(vt);const wt=new RegExp(vt);this.hashTrigger.hashChange$.pipe((0,H.p)(cn=>wt.test(cn)),(0,c.T)(cn=>cn.replace(/^.*=/,"")),(0,H.p)(Boolean),(0,D.n)(cn=>this.quickAddToCart$([{productId:cn,quantity:1}],{event_method:"marketing banner"}).pipe((0,E.W)(()=>T.w)))).subscribe()}static#e=sn=()=>(this.\u0275fac=function(cn){return new(cn||Lt)},this.\u0275prov=u.jDH({token:Lt,factory:Lt.\u0275fac,providedIn:"root"}))}return sn(),Lt})()},69967(ye,A,n){n.d(A,{d:()=>c});var u=n(77171),l=n(17988),h=n(47606);let c=(()=>{var T;class o extends u.sM{constructor(){super(...arguments),this.document=u.J1` 214 mutation RemoveAllItemsFromCart($cartId: UUID!) { 215 removeAllItemsFromCart(cartId: $cartId) { 216 status 217 } 218 } 219 `}static#e=T=()=>(this.\u0275fac=(()=>{let g;return function(v){return(g||(g=h.xGo(o)))(v||o)}})(),this.\u0275prov=l.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}))}return T(),o})()},23478(ye,A,n){n.d(A,{CZ:()=>v,EJ:()=>N,Hw:()=>ae,KW:()=>T,Kg:()=>h,LC:()=>C,LP:()=>I,Y1:()=>g,Yk:()=>D,Yz:()=>J,a9:()=>H,f0:()=>c,i0:()=>S,i5:()=>E,ke:()=>w,lG:()=>x,sQ:()=>o,wx:()=>M,zJ:()=>u});const u="ssoTSShipToId",h="ssoUserRole",c="ssoOriginCustomerId",T="ssoTSCustomerId",o="ssoTSContactId",D="hasOcSession",g="cartId",C="wasRedirectedtoReg",v="hdms-country",E="x-graphql-datasource-version",M="cartv2",N="mpis",I="hdmsemail",x="salesdocuments",w="lmv3",H="smartsearch",ae="rolesv2",S="recov3",J="fm4ka"},81950(ye,A,n){n.d(A,{P:()=>H});var u=n(20396),l=n(17988),h=n(95536),c=n(11640),T=n(24406),o=n(13901),D=n(68713),g=n(61969),C=n(95840),E=n(47744),M=n(10432),N=n(83535),P=n(79632),I=n(77171),x=n(47606);let j=(()=>{var ae;class S extends I.XK{constructor(){super(...arguments),this.document=I.J1` 220 query CurrencyExchangeRate($country: String!, $currencyFrom: String!, $currencyTo: String!) { 221 currencyExchangeRate(country: $country, currencyFrom: $currencyFrom, currencyTo: $currencyTo) { 222 exchangeRateFrom 223 exchangeRateTo 224 } 225 } 226 `}static#e=ae=()=>(this.\u0275fac=(()=>{let Y;return function(G){return(Y||(Y=x.xGo(S)))(G||S)}})(),this.\u0275prov=l.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}))}return ae(),S})(),H=(()=>{var ae;class S{constructor(){this.environmentService=(0,l.WQX)(M.v),this.cookieService=(0,l.WQX)(E.O),this.punchoutService=(0,l.WQX)(P.as),this.changeSubject=ne
226w h.t(this.environmentService.currency.code),this.currencyExchangeRateGqlService=(0,l.WQX)(j)}getConfig$(){return this.environmentService.hasSelectableCurrencies?(0,c.z)([this.getExchangeRates$(),this.changeSubject]).pipe((0,T.T)(([Y,re])=>({activeCurrency:re?Y.find(G=>G.code===re):Y[0],currencies:Y}))):(0,o.of)({})}switchCurrency(Y){this.cookieService.set("displayCurrency",Y.toLowerCase(),this.punchoutService.getCookieOptions()),this.changeSubject.next(Y)}getExchangeRates$(){if(this.environmentService.currencies.some(Y=>!Y.rate)){const Y=this.environmentService.currencies.find(G=>G.primary),re=this.environmentService.currencies.find(G=>!G.primary);return this.fetchExchangeRates(Y,re).pipe((0,T.T)(({data:G})=>G.currencyExchangeRate),(0,D.W)(G=>(0,o.of)(null)),(0,T.T)(G=>this.getExchangeRateData(Y,re,G)),(0,g.M)(G=>this.environmentService.currencies=G),(0,C.t)(1))}return(0,o.of)(this.environmentService.currencies)}getExchangeRateData(Y,re,G){return[{...Y,base:re.code,rate:G?.exchangeRateFrom},{...re,base:Y.code,rate:G?.exchangeRateTo}]}fetchExchangeRates(Y,re){const G={currencyFrom:Y.code,currencyTo:re.code},ce={httpContext:(new u._y).set(N.cN,14400)},pe={...G,country:this.environmentService.country};return this.currencyExchangeRateGqlService.fetch({variables:pe,context:ce})}static#e=ae=()=>(this.\u0275fac=function(re){return new(re||S)},this.\u0275prov=l.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}))}return ae(),S})()},78440(ye,A,n){n.d(A,{Ov:()=>Pr,a$:()=>wr,CL:()=>cn,AC:()=>An,_4:()=>Xn,UB:()=>Ct,t_:()=>jn,Rd:()=>Sr,ti:()=>Fr,Um:()=>In});var u=n(29491),l=Symbol.for("immer-nothing"),h=Symbol.for("immer-draftable"),c=Symbol.for("immer-state");function o(Ve,...Ae){throw new Error(`[Immer] minified error nr: ${Ve}. Full error at: https://bit.ly/3cXEKWf`)}var D=Object.getPrototypeOf;function g(Ve){return!!Ve&&!!Ve[c]}function C(Ve){return!!Ve&&(E(Ve)||Array.isArray(Ve)||!!Ve[h]||!!Ve.constructor?.[h]||H(Ve)||ae(Ve))}var v=Object.prototype.constructor.toString();function E(Ve){if(!Ve||"object"!=typeof Ve)return!1;const Ae=D(Ve);if(null===Ae)return!0;const $e=Object.hasOwnProperty.call(Ae,"constructor")&&Ae.constructor;return $e===Object||"function"==typeof $e&&Function.toString.call($e)===v}function N(Ve,Ae){0===P(Ve)?Reflect.ownKeys(Ve).forEach($e=>{Ae($e,Ve[$e],Ve)}):Ve.forEach(($e,gt)=>Ae(gt,$e,Ve))}function P(Ve){const Ae=Ve[c];return Ae?Ae.type_:Array.isArray(Ve)?1:H(Ve)?2:ae(Ve)?3:0}function I(Ve,Ae){return 2===P(Ve)?Ve.has(Ae):Object.prototype.hasOwnProperty.call(Ve,Ae)}function j(Ve,Ae,$e){const gt=P(Ve);2===gt?Ve.set(Ae,$e):3===gt?Ve.add($e):Ve[Ae]=$e}function H(Ve){return Ve instanceof Map}function ae(Ve){return Ve instanceof Set}function S(Ve){return Ve.copy_||Ve.base_}function J(Ve,Ae){if(H(Ve))return new Map(Ve);if(ae(Ve))return new Set(Ve);if(Array.isArray(Ve))return Array.prototype.slice.call(Ve);const $e=E(Ve);if(!0===Ae||"class_only"===Ae&&!$e){const gt=Object.getOwnPropertyDescriptors(Ve);delete gt[c];let Kt=Reflect.ownKeys(gt);for(let ln=0;ln<Kt.length;ln++){const un=Kt[ln],nn=gt[un];!1===nn.writable&&(nn.writable=!0,nn.configurable=!0),(nn.get||nn.set)&&(gt[un]={configurable:!0,writable:!0,enumerable:nn.enumerable,value:Ve[un]})}return Object.create(D(Ve),gt)}{const gt=D(Ve);if(null!==gt&&$e)return{...Ve};const Kt=Object.create(gt);return Object.assign(Kt,Ve)}}function Y(Ve,Ae=!1){return G(Ve)||g(Ve)||!C(Ve)||(P(Ve)>1&&Object.defineProperties(Ve,{set:{value:re},add:{value:re},clear:{value:re},delete:{value:re}}),Object.freeze(Ve),Ae&&Object.values(Ve).forEach($e=>Y($e,!0))),Ve}function re(){o(2)}function G(Ve){return Object.isFrozen(Ve)}var z,ce={};function pe(Ve){const Ae=ce[Ve];return Ae||o(0),Ae}function ke(){return z}function Re(Ve,Ae){Ae&&(pe("Patches"),Ve.patches_=[],Ve.inversePatches_=[],Ve.patchListener_=Ae)}function Qe(Ve){Ze(Ve),Ve.drafts_.forEach(Ue),Ve.drafts_=null}function Ze(Ve){Ve===z&&(z=Ve.parent_)}function Ye(Ve){return z=function it(Ve,Ae){return{drafts_:[],parent_:Ve,immer_:Ae,canAutoFreeze_:!0,unfinalizedDrafts_:0}}(z,Ve)}function Ue(Ve){const Ae=Ve[c];0===Ae.type_||1===Ae.type_?Ae.revoke_():Ae.revoked_=!0}function ne(Ve,Ae){Ae.unfinalizedDrafts_=Ae.drafts_.length;const $e=Ae.drafts_[0];return void 0!==Ve&&Ve!==$e?($e[c].modified_&&(Qe(Ae),o(4)),C(Ve)&&(Ve=X(Ae,Ve),Ae.parent_||Te(Ae,Ve)),Ae.patches_&&pe("Patches").generateReplacementPatches_($e[c].base_,Ve,Ae.patches_,Ae.inversePatches_)):Ve=X(Ae,$e,[]),Qe(Ae),Ae.patches_&&Ae.patchListener_(Ae.patches_,Ae.inversePatches_),Ve!==l?Ve:void 0}function X(Ve,Ae,$e){if(G(Ae))return Ae;const gt=Ae[c];if(!gt)return N(Ae,(Kt,ln)=>q(Ve,gt,Ae,Kt,ln,$e)),Ae;if(gt.scope_!==Ve)return Ae;if(!gt.modified_)return Te(Ve,gt.base_,!0),gt.base_;if(!gt.finalized_){gt.finalized_=!0,gt.scope_.unfinalizedDrafts_--;const Kt=gt.copy_;let ln=Kt,un=!1;3===gt.type_&&(ln=new Set(Kt),Kt.clear(),un=!0),N(ln,(nn,Rt)=>q(Ve,gt,Kt,nn,Rt,$e,un)),Te(Ve,Kt,!1),$e&&Ve.patches_&&pe("Patches").generatePatches_(gt,$e,Ve.patches_,Ve.inversePatches_)}return gt.copy_}function q(Ve,Ae,$e,gt,Kt,ln,un){if(g(Kt)){const Rt=X(Ve,Kt,ln&&Ae&&3!==Ae.type_&&!I(Ae.assigned_,gt)?ln.concat(gt):void 0);if(j($e,gt,Rt),!g(Rt))return;Ve.canAutoFreeze_=!1}else un&&$e.add(Kt);if(C(Kt)&&!G(Kt)){if(!Ve.immer_.autoFreeze_&&Ve.unfinalizedDrafts_<1)return;X(Ve,Kt),(!Ae||!Ae.scope_.parent_)&&"symbol"!=typeof gt&&(H($e)?$e.has(gt):Object.prototype.propertyIsEnumerable.call($e,gt))&&Te(Ve,Kt)}}function Te(Ve,Ae,$e=!1){!Ve.parent_&&Ve.immer_.autoFreeze_&&Ve.canAutoFreeze_&&Y(Ae,$e)}var Fe={get(Ve,Ae){if(Ae===c)return Ve;const $e=S(Ve);if(!I($e,Ae))return function at(Ve,Ae,$e){const gt=Ot(Ae,$e);return gt?"value"in gt?gt.value:gt.get?.call(Ve.draft_):void 0}(Ve,$e,Ae);const gt=$e[Ae];return Ve.finalized_||!C(gt)?gt:gt===Be(Ve.base_,Ae)?(Yt(Ve),Ve.copy_[Ae]=bt(gt,Ve)):gt},has:(Ve,Ae)=>Ae in S(Ve),ownKeys:Ve=>Reflect.ownKeys(S(Ve)),set(Ve,Ae,$e){const gt=Ot(S(Ve),Ae);if(gt?.set)return gt.set.call(Ve.draft_,$e),!0;if(!Ve.modified_){const Kt=Be(S(Ve),Ae),ln=Kt?.[c];if(ln&&ln.base_===$e)return Ve.copy_[Ae]=$e,Ve.assigned_[Ae]=!1,!0;if(function w(Ve,Ae){return Ve===Ae?0!==Ve||1/Ve==1/Ae:Ve!=Ve&&Ae!=Ae}($e,Kt)&&(void 0!==$e||I(Ve.base_,Ae)))return!0;Yt(Ve),Et(Ve)}return Ve.copy_[Ae]===$e&&(void 0!==$e||Ae in Ve.copy_)||Number.isNaN($e)&&Number.isNaN(Ve.copy_[Ae])||(Ve.copy_[Ae]=$e,Ve.assigned_[Ae]=!0),!0},deleteProperty:(Ve,Ae)=>(void 0!==Be(Ve.base_,Ae)||Ae in Ve.base_?(Ve.assigned_[Ae]=!1,Yt(Ve),Et(Ve)):delete Ve.assigned_[Ae],Ve.copy_&&delete Ve.copy_[Ae],!0),getOwnPropertyDescriptor(Ve,Ae){const $e=S(Ve),gt=Reflect.getOwnPropertyDescriptor($e,Ae);return gt&&{writable:!0,configurable:1!==Ve.type_||"length"!==Ae,enumerable:gt.enumerable,value:$e[Ae]}},defineProperty(){o(11)},getPrototypeOf:Ve=>D(Ve.base_),setPrototypeOf(){o(12)}},we={};function Be(Ve,Ae){const $e=Ve[c];return($e?S($e):Ve)[Ae]}function Ot(Ve,Ae){if(!(Ae in Ve))return;let $e=D(Ve);for(;$e;){const gt=Object.getOwnPropertyDescriptor($e,Ae);if(gt)return gt;$e=D($e)}}function Et(Ve){Ve.modified_||(Ve.modified_=!0,Ve.parent_&&Et(Ve.parent_))}function Yt(Ve){Ve.copy_||(Ve.copy_=J(Ve.base_,Ve.scope_.immer_.useStrictShallowCopy_))}function bt(Ve,Ae){const $e=H(Ve)?pe("MapSet").proxyMap_(Ve,Ae):ae(Ve)?pe("MapSet").proxySet_(Ve,Ae):function je(Ve,Ae){const $e=Array.isArray(Ve),gt={type_:$e?1:0,scope_:Ae?Ae.scope_:ke(),modified_:!1,finalized_:!1,assigned_:{},parent_:Ae,base_:Ve,draft_:null,copy_:null,revoke_:null,isManual_:!1};let Kt=gt,ln=Fe;$e&&(Kt=[gt],ln=we);const{revoke:un,proxy:nn}=Proxy.revocable(Kt,ln);return gt.draft_=nn,gt.revoke_=un,nn}(Ve,Ae);return(Ae?Ae.scope_:ke()).drafts_.push($e),$e}function tt(Ve){if(!C(Ve)||G(Ve))return Ve;const Ae=Ve[c];let $e;if(Ae){if(!Ae.modified_)return Ae.base_;Ae.finalized_=!0,$e=J(Ve,Ae.scope_.immer_.useStrictShallowCopy_)}else $e=J(Ve,!0);return N($e,(gt,Kt)=>{j($e,gt,tt(Kt))}),Ae&&(Ae.finalized_=!1),$e}N(Fe,(Ve,Ae)=>{we[Ve]=function(){return arguments[0]=arguments[0][0],Ae.apply(this,arguments)}}),we.deleteProperty=function(Ve,Ae){return we.set.call(this,Ve,Ae,void 0)},we.set=function(Ve,Ae,$e){return Fe.set.call(this,Ve[0],Ae,$e,Ve[0])};var pt=(new class{constructor(Ve){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(Ae,$e,gt)=>{if("function"==typeof Ae&&"function"!=typeof $e){const ln=$e;$e=Ae;const un=this;return function(Rt=ln,...Xt){return un.produce(Rt,bn=>$e.call(this,bn,...Xt))}}let Kt;if("function"!=typeof $e&&o(6),void 0!==gt&&"function"!=typeof gt&&o(7),C(Ae)){const ln=Ye(this),un=bt(Ae,void 0);let nn=!0;try{Kt=$e(un),nn=!1}finally{nn?Qe(ln):Ze(ln)}return Re(ln,gt),ne(Kt,ln)}if(!Ae||"object"!=typeof Ae){if(Kt=$e(Ae),void 0===Kt&&(Kt=Ae),Kt===l&&(Kt=void 0),this.autoFreeze_&&Y(Kt,!0),gt){const ln=[],un=[];pe("Patches").generateReplacementPatches_(Ae,Kt,ln,un),gt(ln,un)}return Kt}o(1)},this.produceWithPatches=(Ae,$e)=>{if("function"==typeof Ae)return(un,...nn)=>this.produceWithPatches(un,Rt=>Ae(Rt,...nn));let gt,Kt;return[this.produce(Ae,$e,(un,nn)=>{gt=un,Kt=nn}),gt,Kt]},"boolean"==typeof Ve?.autoFreeze&&this.setAutoFreeze(Ve.autoFreeze),"boolean"==typeof Ve?.useStrictShallowCopy&&this.setUseStrictShallowCopy(Ve.useStrictShallowCopy)}createDraft(Ve){C(Ve)||o(8),g(Ve)&&(Ve=function Xe(Ve){return g(Ve)||o(10),tt(Ve)}(Ve));const Ae=Ye(this),$e=bt(Ve,void 0);return $e[c].isManual_=!0,Ze(Ae),$e}finishDraft(Ve,Ae){const $e=Ve&&Ve[c];(!$e||!$e.isManual_)&&o(9);const{scope_:gt}=$e;return Re(gt,Ae),ne(void 0,gt)}setAutoFreeze(Ve){this.autoFreeze_=Ve}setUseStrictShallowCopy(Ve){this.useStrictShallowCopy_=Ve}applyPatches(Ve,Ae){let $e;for($e=Ae.length-1;$e>=0;$e--){const Kt=Ae[$e];if(0===Kt.path.length&&"replace"===Kt.op){Ve=Kt.value;break}}$e>-1&&(Ae=Ae.slice($e+1));const gt=pe("Patches").applyPatches_;return g(Ve)?gt(Ve,Ae):this.produce(Ve,Kt=>gt(Kt,Ae))}}).produce;function wt(Ve){return Ve[0]}function cn({definitions:Ve}){return wt(Ve).name?.value}function Ct({definitions:Ve}){return"query"===wt(Ve).operation}function In(Ve,Ae,$e,gt=null){const Kt={query:Ae,variables:gt};try{const ln=Ve.readQuery(Kt),un=Ve.policies.typePolicies.Query.fields,nn=new Set(Object.keys(un).filter(Xt=>un[Xt].merge));(function Ut(Ve){return function Mn({definitions:Ve}){return wt(Ve).selectionSet.selections}(Ve).map(({name:Ae})=>Ae.value)})(Ae).filter(Xt=>
226nn.has(Xt)).forEach(Xt=>Ve.evict({fieldName:Xt,broadcast:!1}));const Rt=pt(ln,Xt=>$e(Xt));return Ve.writeQuery({...Kt,data:Rt}),Rt}catch{return null}}function An(Ve){return Ve?.toString().toLowerCase().includes("mothballer")}function Xn(Ve,Ae){return u.K.is(Ve)&&Ve.errors.map(({extensions:$e})=>$e.code).includes(Ae)}function Fr(Ve=!1,Ae=null){return{keyArgs:Dr(Ve,$e=>({pageSize:$e.pagination.pageSize})),merge:({results:$e=[]}={},gt,{readField:Kt})=>{const{results:ln}=gt,un=new Set($e.map(Rt=>Kt(Ae||"id",Rt))),nn=ln.filter(Rt=>!un.has(Kt(Ae||"id",Rt)));return{...gt,results:[...$e,...nn]}}}}function Pr(Ve=!1){return{keyArgs:Dr(Ve,Ae=>({first:Ae.pagination.first})),merge:({edges:Ae=[]}={},$e,{readField:gt})=>{const{edges:Kt}=$e,ln=new Set(Ae.map(nn=>gt("id",nn.node))),un=Kt.filter(nn=>!ln.has(gt("id",nn.node)));return{...$e,edges:[...Ae,...un]}}}}function Dr(Ve,Ae){if(Array.isArray(Ve)){const $e=Ve;Ve=gt=>JSON.stringify($e.reduce((Kt,ln)=>({...Kt,[ln]:gt[ln]}),Ae(gt)))}return Ve}function wr({country:Ve,language:Ae}){return{country:Ve,language:Ae}}function jn(Ve){return Ve.map(Ae=>Ae.node)}function Sr(Ve){const{__typename:Ae,...$e}=Ve;return $e}},76552(ye,A,n){n.d(A,{z:()=>bt});var u=n(20396),l=n(17988),h=n(48065),c=n(61130),T=n(11640),o=n(24406),D=n(61969),g=n(21082),C=n(75117),v=n(68713),E=n(39848),M=n(95603),N=n(69488),P=n(13901),I=n(78210),x=n(56816),j=n(61856),w=n(82805),H=n(5219),ae=n(79746),S=n(95840),J=n(64106),Y=n(42453),re=n(99728),G=n(10432),ce=n(77941),pe=n(40420),De=n(86493),z=n(11135),ke=n(9904),it=n(60974),Re=n(86514),Qe=n(48282),Ze=n(34616),Ye=n(72288),Ue=n(75140),ne=n(66376),X=n(1733),q=n(57604),Te=n(47606),je=n(47066),Fe=n(69354);let Be=(()=>{var Xe;class tt{constructor(){this.renderer=(0,l.WQX)(Te._9s).createRenderer(null,null),this.document=(0,l.WQX)(l.qQL),this.loginUrl=Fe.tK.get("DEFAULT")}get crossDomainTrackingParameters$(){return(0,je.R)(this.document,"click").pipe((0,j.p)(ze=>this.isTrustedEvent(ze)),(0,j.p)(ze=>this.eventTargetIsLoginButton(ze)),(0,o.T)(()=>this.buildCrossDomainTrackingParameters()),(0,C.s)(1),(0,x.Z)(null))}isTrustedEvent({isTrusted:ze}){return ze}eventTargetIsLoginButton({target:ze}){if(ze instanceof HTMLAnchorElement){const{href:vt}=ze;return vt.includes(this.loginUrl)}return!1}buildCrossDomainTrackingParameters(){const ze=this.renderer.createElement("a");ze.href="https://cloudsso.hilti.com",ze.style.display="none",this.document.body.appendChild(ze),ze.dispatchEvent(new Event("mousedown",{bubbles:!0})),ze.remove();const vt=new URL(ze.href).searchParams;return{_gl:vt.get("_gl"),_ga:vt.get("_ga")}}static#e=Xe=()=>(this.\u0275fac=function(vt){return new(vt||tt)},this.\u0275prov=l.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"}))}return Xe(),tt})();var at=n(60371);const Ot=new Set([J.U.EMPTY,J.U.GENERIC_ERROR].map(Xe=>`/${Xe}`));let bt=(()=>{var Xe;class tt{constructor(){this.envService=(0,l.WQX)(G.v),this.url=(0,l.WQX)(Ue.K),this.userContext=(0,l.WQX)(at.i),this.platform=(0,l.WQX)(Qe.f),this.router=(0,l.WQX)(c.Ix),this.routePrefixer=(0,l.WQX)(ne.of),this.httpClient=(0,l.WQX)(u.Qq),this.tokenService=(0,l.WQX)(q.B),this.analyticsConsent=(0,l.WQX)(re.o),this.redirect=(0,l.WQX)(Ye.Q5),this.preloader=(0,l.WQX)(Ze.M),this.homeUrl=(0,l.WQX)(Y.C),this.crossDomainTrackingService=(0,l.WQX)(Be),this.routerHelper=(0,l.WQX)(X.T),this.mobileAppService=(0,l.WQX)(Re.z),this.logoutService=(0,l.WQX)(ke.k),this.document=(0,l.WQX)(l.qQL),this.routeData$=this.routerHelper.routeData$,this.state$=this.createState$(),this.setUserType(),this.listenToAemContentLogin(),this.routerHelper.addRouteDataPropToTransferState("ssoRedirectRoute"),this.loginUrl=this.userContext.isLoggedIn?(0,l.vPA)(""):(0,h.ot)(this.getLoginUrl$())}getLoginUrl$(ze=this.userType){const{customerId:vt,contactId:pt}=this.getContextIds(ze),an=Fe.tK.get(ze),s=this.getClientType();return(0,T.z)([this.state$,this.analyticsConsent.update$,this.crossDomainTrackingService.crossDomainTrackingParameters$]).pipe((0,o.T)(([mt,Wt,jt])=>this.generateUrlWithParams({url:an,state:mt,customerId:vt,contactId:pt,analyticsConsent:Wt,crossDomainTrackingParams:jt,clientType:s})))}logoutUser$(){return this.getLogoutDetails$().pipe((0,D.M)(({cloudSsoLogoutUri:ze,parameters:vt})=>{this.logoutService.dispatchLogout();const pt=this.document.createElement("form");pt.method="post",pt.action=ze,Object.entries(vt).forEach(([an,s])=>{const mt=this.document.createElement("input");mt.type="hidden",mt.name=an,mt.value=s,pt.appendChild(mt)}),this.document.body.appendChild(pt),pt.submit()}))}getLogoutDetails$(){return this.getLogoutState$().pipe((0,g.n)(ze=>this.fetchLogoutDetails$(ze)),(0,C.s)(1))}getAccountSwitchUrl$(ze){return this.routeData$.pipe((0,o.T)(({ssoAccountSwitchRedirectRoute:vt})=>vt||this.getLocation()),(0,o.T)(vt=>this.createStateParam(this.adjustStateUrl(vt))),(0,o.T)(vt=>this.generateUrlWithParams({url:Fe.j_,state:vt,customerId:ze})))}refreshAuthToken$(){const ze=this.getRefreshUrl(),{hasOauthSession:vt}=this.userContext,pt=s=>this.redirectToLogin$().pipe((0,D.M)(mt=>{if(!mt)throw s}));return ze&&vt?this.authRequest$||=this.httpClient.get(ze,{withCredentials:!0}).pipe((0,D.M)(({token:s,hasToken:mt})=>
226{if(this.tokenService.bearerToken=s,!s&&!mt)throw new Error("bearer-token missing");this.redirect.resetRedirectState()}),(0,v.W)(s=>pt(s)),(0,E.j)(()=>this.authRequest$=null),(0,M.u)()):pt(new Error("refresh-token error"))}redirectToLogin$(ze,vt=!0){return this.getLoginUrl$(ze).pipe((0,g.n)(pt=>this.redirect.redirectTo(pt,vt,!0)?(this.preloader.startLoading(Ze.c.MANUAL),this.platform.isBrowser?(this.router.dispose(),N.t):(0,P.of)(!0)):(0,P.of)(!1)))}createStateParam(ze,vt){const{queryParams:pt,fragment:an}=this.router.parseUrl(ze);return function ut(Xe){return(0,pe.Ir)(JSON.stringify(Xe))}((0,De.Dz)({targetUrl:{countryCode:this.envService.country,relativeUrl:(0,z.Jf)(ze),redirectHost:this.getRedirectHost(),query:pt,fragment:an},accountManager:{shipTo:vt}}))}adjustStateUrl(ze,vt=!1){return ze="/"===ze?this.homeUrl:ze,vt?this.routePrefixer.removeLanguagePrefix(ze):ze}getRefreshUrl(){const{customerId:ze,contactId:vt}=this.getContextIds(),{isEVoucherBackofficeUser:pt,isPendingRegistration:an}=this.userContext,s=this.getClientType();return ze||pt||an?this.generateUrlWithParams({url:Fe.hZ.get(this.userType),state:this.getRefreshUrlState(),customerId:ze,contactId:vt,clientType:s}):null}getRefreshUrlState(){return this.envService.oauthClientRedirectHost?this.createStateParam(""):null}getLogoutState$(){return this.routeData$.pipe((0,o.T)(({ssoRedirectRoute:ze,ssoLogoutRedirectRoute:vt})=>vt||ze||this.getLocation()),(0,o.T)(ze=>this.createStateParam(Fe.y1+this.adjustStateUrl(ze))))}fetchLogoutDetails$(ze){return this.httpClient.get(Fe.mh).pipe((0,o.T)(vt=>{const{parameters:pt}=vt;return Object.keys(pt).forEach(an=>{switch(pt[an]){case Fe.tl:pt[an]=this.tokenService.bearerToken;break;case Fe.vu:pt[an]=ze}}),vt}))}createState$(){return(0,T.z)([(0,I.v)(()=>this.router.events.pipe((0,x.Z)(new c.Z(null,this.getLocation())),(0,j.p)(ze=>function Et(Xe){return 1===Xe.id&&Xe instanceof c.wF}(ze)||function Yt(Xe){return Xe instanceof c.Z&&(null===Xe.id||!Ot.has(Xe.url))}(ze)),(0,o.T)(({url:ze})=>this.platform.isBrowser?ze:this.getLocation()))),(0,w.O)(this.routeData$.pipe((0,o.T)(({ssoRedirectRoute:ze})=>ze)),(0,H.O)(100))]).pipe((0,o.T)(([ze,vt])=>this.adjustStateUrl(vt||ze||"/",!0)),(0,ae.F)(),(0,o.T)(ze=>this.createStateParam(ze,this.userContext.preselectedShipToId)),(0,S.t)(1))}generateUrlWithParams({url:ze,state:vt,customerId:pt,contactId:an,analyticsConsent:s=null,crossDomainTrackingParams:mt=null,clientType:Wt}){return`${ze}?${this.generateParams(vt,pt,an,s,mt,Wt)}`}generateParams(ze,vt,pt,an=null,s=null,mt){return(0,z.k2)({state:ze,origin_customer_id:vt,origin_contact_id:pt,country:this.envService.country,lang:this.envService.locale,consent_analytics:an,client_type:mt,...s})}getLocation(){const{href:ze,origin:vt}=this.url();return ze.replace(vt,"")}setUserType(){this.userType=this.getUserType()}getUserType(){const{isAccountManager:ze,isEVoucherBackofficeUser:vt}=this.userContext;switch(!0){case ze:return"AM";case vt:return"EVOUCHER";default:return"DEFAULT"}}getContextIds(ze=this.userType){const{customerOriginId:vt,contactOriginId:pt}=this.userContext;switch(ze){case"AM":return{customerId:vt,contactId:pt};case"EVOUCHER":return{};default:return{customerId:vt}}}getRedirectHost(){return this.envService.oauthClientRedirectHost&&this.url().hostname}listenToAemContentLogin(){if(this.platform.isBrowser&&this.envService.hostContext&&!this.userContext.isLoggedIn){const ze=(0,l.WQX)(ce.G9),vt=(0,l.WQX)(it.s);ze.registerHash(Fe.nm),ze.hashChange$.pipe((0,j.p)(pt=>pt===Fe.nm),(0,j.p)(()=>!vt.open()),(0,g.n)(()=>this.getLoginUrl$())).subscribe(pt=>{this.redirect.redirectTo(pt)})}}getClientType(){return this.mobileAppService.isMobileApp&&this.mobileAppService.config().useMobileOauthMode?"app":void 0}static#e=Xe=()=>(this.\u0275fac=function(vt){return new(vt||tt)},this.\u0275prov=l.jDH({token:tt,factory:tt.\u0275fac,providedIn:"root"}))}return Xe(),tt})()},46271(ye,A,n){n.d(A,{C:()=>l});const l=new(n(17988).nKC)("shrd.ds.oauth")},69354(ye,A,n){n.d(A,{U8:()=>u,hZ:()=>x,j_:()=>C,mh:()=>g,nm:()=>P,tK:()=>I,tl:()=>M,vu:()=>N,y1:()=>E});const u="/client-oauth",l=`${u}/login`,T=`${u}/token/refresh`,o=`${T}/ts`,D=`${T}/evoucher`,g=`${u}/logout-data`,C=`${u}/switch-account`,E="/logout/dologout?target=",M="{{access_token}}",N="{{state}}",P="#overlay/login",I=new Map([["DEFAULT",l],["AM",`${l}/ts`],["EVOUCHER",`${l}/evoucher`]]),x=new Map([["DEFAULT",T],["AM",o],["EVOUCHER",D]])},7817(ye,A,n){n.d(A,{O:()=>o});var u=n(17988),l=n(45873),h=n(11167);const c={"search-product-page":"Search Product Page","company-list":"Company list","financial-hub-orders-items-list":"Financial hub orders items list"},T="ecommerce-list-item-id";let o=(()=>{var D;class g{constructor(){this.storageService=(0,u.WQX)(h.n$),this.injector=(0,u.WQX)(u.zZn),this.itemListId=(0,u.vPA)(this.storageService.getItem(T)),(0,l.QZ)(()=>{this.storageService.setItem(T,this.itemListId(),h.eL.LOCAL,!0)},{injector:this.injector})}getItemListId(){return this.itemListId()}storeItemListId(v){this.itemListId.set(v)}getItemListDataWithId(v){return{item_list_id:v,item_list_name:c[v]||v}}getItemListDataFromPreviousJourney(){return this.getItemListDataWithId(this.itemListId())}static#e=D=()=>(this.\u0275fac=function(E){return new(E||g)},this.\u0275prov=u.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}))}return D(),g})()},6669(ye,A,n){n.d(A,{N:()=>P});var u=n(56207),l=n(17988),h=n(47606),c=n(64517),T=n(13901),o=n(95840),D=n(21082),g=n(10432),C=n(56480
226),v=n(93612);const M=[];let P=(()=>{var I;class x{constructor(){this.siteKey=(0,l.WQX)(g.v).recaptchaV3PublicKey,this.jsLoader=(0,l.WQX)(C.V),this.zone=(0,l.WQX)(h.SKi),this.win=(0,l.WQX)(v.$).nativeWindow,this.loaderCache=new Map}preloadScript$(w=this.siteKey){return w?this.loadScript$(w):(0,T.of)(null)}generateV3Token$(w){const{siteKey:H,action:ae}={siteKey:this.siteKey,action:"recaptcha_v3_token",...w};return H?this.loadScript$(H).pipe((0,D.n)(()=>this.requestToken$(H,ae))):(0,T.of)(null)}requestToken$(w,H){var ae=this;return new c.c(S=>{this.zone.runOutsideAngular((0,u.A)(function*(){try{const J=yield ae.win.grecaptcha.execute(w,{action:H});ae.zone.run(()=>{J?(S.next(J),S.complete()):S.error("Generated reCAPTCHA token is invalid")})}catch(J){S.error(J)}}))})}loadScript$(w){const H=function N(I){return M.includes(I)||M.push(I),M.indexOf(I)}(w);if(this.loaderCache.has(H))return this.loaderCache.get(H);const ae=new c.c(S=>{const J=`hdmsRecaptchaLoaded${H}`,Y=`https://www.google.com/recaptcha/api.js?render=${w}&onload=${J}`,re=()=>{S.next(),S.complete(),delete this.win[J]};this.jsLoader.getScriptTag(Y)?re():(this.win[J]=re,this.jsLoader.loadScript$(Y).subscribe({error:G=>{this.loaderCache.delete(H),S.error(G)}}))}).pipe((0,o.t)(1));return this.loaderCache.set(H,ae),ae}static#e=I=()=>(this.\u0275fac=function(H){return new(H||x)},this.\u0275prov=l.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}))}return I(),x})()},28509(ye,A,n){n.d(A,{SK:()=>u,Zs:()=>l,ax:()=>c,pn:()=>h});const u="v1",l="v2",h="rankv2",c=50},77464(ye,A,n){n.d(A,{K:()=>D});var u=n(17988),l=n(45873),h=n(40779),c=n(93612),T=n(28509);const o="abt_search_reranking";let D=(()=>{var g;class C{constructor(){this.activeSearchRerankVersion=(0,l.EW)(()=>this.experiment().enabled&&this.window[o]===T.Zs?T.Zs:T.SK),this.window=(0,u.WQX)(c.$).nativeWindow,this.experiment=(0,u.WQX)(h.D).observeExperiment(o)}static#e=g=()=>(this.\u0275fac=function(M){return new(M||C)},this.\u0275prov=u.jDH({token:C,factory:C.\u0275fac,providedIn:"root"}))}return g(),C})()},68214(ye,A,n){n.d(A,{E7:()=>o,Ih:()=>M,Jg:()=>v,KF:()=>h,dV:()=>l,gQ:()=>T,lO:()=>g,on:()=>u,rw:()=>E,s5:()=>c,sW:()=>D,uh:()=>P,yU:()=>I,yf:()=>C});const u="ldt_evouchers",l="ldt_checkout_shipto_otp",h="ldt_suggest_user_location_on_registration",c="ldt_suggest_user_location_flyout",T="ldt_country_location_modal",o="ldt_product_recommendations_add_to_cart_overlay",D="ldt_product_recommendation_accessories",g="ldt_inforce_uppercase_on_registration_forms",C="ldt_evoucher_roles_migration",v="ldt_quick_checkout_cs_quote_creation",E="ldt_new_nuron_order_change",M="ldt_search_product_card_improvement",P="ldt_checkout_sales_channel",I="ldt_checkout_fm4ka"},96590(ye,A,n){n.d(A,{L:()=>u,t:()=>l});var u=function(h){return h.BAD_REQUEST="400: Bad Request",h.NOT_FOUND="404: Not Found",h}(u||{}),l=function(h){return h.USER="USER",h.CUSTOMER="CUSTOMER",h.ACCOUNT_MANAGER="ACCOUNT_MANAGER",h.EVOUCHER_BACKOFFICE_USER="EVOUCHER_BACKOFFICE_USER",h}(l||{})},85150(ye,A,n){n.d(A,{FE:()=>l,QY:()=>h,TM:()=>c,bl:()=>D,sU:()=>o});const u=g=>({id:null,originId:null,__typename:g}),l=g=>"Employee"===g.__typename,h=g=>"User"===g.__typename,c=g=>h(g)&&g.isInternal,o=g=>(g??={},g.companyAccount||g.customerCompanyAccount||u("Account")),D=g=>(g??={},g.contact||(g=>l(g)&&(g.customerContact||{formatted:[g.email]}))(g)||u("Contact"))},83767(ye,A,n){n.d(A,{f:()=>o,y:()=>D});var u=n(77171),l=n(17988),h=n(47606);const c=u.J1` 227 fragment AddressData on Address { 228 company 229 company2 230 formatted(formType: ADDRESS_DISPLAY, localization: $localization) 231 } 232`,T=u.J1` 233 fragment AccountData on Account { 234 id 235 originId 236 address { 237 ...AddressData 238 } 239 isFleet 240 hasConnectivityServices 241 isPurchaseOrderNumberMandatory 242 isPurchaseOrderDocumentMandatory 243 isCashOnly 244 trade { 245 id 246 } 247 type 248 } 249`,o=u.J1` 250 fragment ContactData on Contact { 251 id 252 email 253 originId 254 firstName 255 lastName 256 phone 257 mobile 258 fax 259 academicTitle { 260 id 261 name(localization: $localization) 262 } 263 title { 264 id 265 name(localization: $localization) 266 } 267 function { 268 id 269 name(localization: $localization) 270 } 271 } 272`;let D=(()=>{var g;class C extends u.XK{constructor(){super(...arguments),this.document=u.J1` 273 query GlobalLoggedInContext( 274 $localization: LocalizationInput! 275 $eVouchersEnabled: Boolean! 276 $isSuggestUserLocationEnabled: Boolean! 277 ) { 278 loggedInContext { 279 id 280 email 281 isInternal 282 ... on User { 283 detectedCountry @include(if: $isSuggestUserLocationEnabled) 284 } 285 ... on Customer { 286 companyAccount { 287 ...AccountData 288 } 289 contact { 290 ...ContactData 291 } 292 hasAuthorizationManagementEnabled 293 role 294 permissions 295 roles { 296 group 297 id 298 name 299 newPermissions 300 } 301 } 302 ... on Employee {
303 type 304 employeeRole: role @include(if: $eVouchersEnabled) { 305 id 306 type 307 permissions 308 newPermissions 309 group 310 } 311 customerCompanyAccount { 312 ...AccountData 313 } 314 customerContact { 315 ...ContactData 316 } 317 roles { 318 group 319 id 320 name 321 newPermissions 322 } 323 } 324 } 325 } 326 ${T} 327 ${o} 328 ${c} 329 `}static#e=g=()=>(this.\u0275fac=(()=>{let E;return function(N){return(E||(E=h.xGo(C)))(N||C)}})(),this.\u0275prov=l.jDH({token:C,factory:C.\u0275fac,providedIn:"root"}))}return g(),C})()},87546(ye,A,n){n.d(A,{b:()=>I});var u=n(17988),l=n(61130),h=n(13901),c=n(21082),T=n(75117),o=n(64106),D=n(61642),g=n(60974),C=n(48282),v=n(72288),E=n(11255),M=n(1733),N=n(76552),P=n(60371);const I=j=>(0,u.WQX)(x).canLoad(j);let x=(()=>{var j;class w{constructor(){this.oauth=(0,u.WQX)(N.z),this.redirect=(0,u.WQX)(v.Q5),this.userContext=(0,u.WQX)(P.i),this.routerHelper=(0,u.WQX)(M.T),this.isServer=(0,u.WQX)(C.f).isServer,this.isMaintenanceMode=(0,u.WQX)(g.s).isMaintenanceMode,this.router=(0,u.WQX)(l.Ix),this.csrGuard=(0,u.WQX)(E.sD)}get shouldRedirect(){return this.userContext.isAnonymous&&!this.routeData.preventLoginRedirect&&!this.isMaintenanceMode&&this.redirect.canRedirect()}canLoad(ae){return this.routeData=ae.data||={},this.routeData.ssoLogoutRedirectRoute="/",this.userContext.requiresLogin=this.shouldRedirect,this.csrGuard.prepareRoute(ae),this.canLoad$()}canLoad$(){return this.isServer?(0,h.of)(!0):this.userContext.update$().pipe((0,T.s)(1),(0,c.n)(ae=>{const S=this.checkContextError()||this.userContext.isRegistered;return S?(0,h.of)(S):this.checkRedirect$()}))}checkRedirect$(){return this.shouldRedirect?this.oauth.redirectToLogin$():(0,h.of)(this.checkRegistrationRedirect()||this.redirectToErrorPage())}checkRegistrationRedirect(){return this.userContext.isLoggedIn&&this.router.createUrlTree([D.x.BASE,D.x.ACCOUNT])}redirectToErrorPage(){return this.userContext.setData({error:new Error("Redirect failed")}),this.createRerouteUrlTree(this.isMaintenanceMode?o.U.MAINTENANCE:o.U.OAUTH_ERROR)}checkContextError(){return!!this.userContext.hasError&&this.createRerouteUrlTree(o.U.GENERIC_ERROR)}createRerouteUrlTree(ae){return this.routerHelper.createSilentRerouteUrlTree([ae])}static#e=j=()=>(this.\u0275fac=function(S){return new(S||w)},this.\u0275prov=u.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}))}return j(),w})()},61347(ye,A,n){n.d(A,{h:()=>H});var u=n(17988),l=n(69488),h=n(21082),c=n(13901),T=n(95840),o=n(24406),D=n(75117),g=n(61969),C=n(68713),v=n(98732),E=n(9904),M=n(48282),N=n(11167),P=n(77171),I=n(47606);let x=(()=>{var ae;class S extends P.XK{constructor(){super(...arguments),this.document=P.J1` 330 query UserAccounts($page: Int!) { 331 accounts(pagination: { pageSize: 400, page: $page }) { 332 paginationDetails { 333 hasMorePages 334 currentPage 335 } 336 results { 337 id 338 originId 339 address { 340 company 341 company2 342 town 343 postalcode 344 streetname 345 housenumber 346 } 347 } 348 } 349 } 350 `}static#e=ae=()=>(this.\u0275fac=(()=>{let Y;return function(G){return(Y||(Y=I.xGo(S)))(G||S)}})(),this.\u0275prov=u.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}))}return ae(),S})();var j=n(60371);const w="hdms-accounts";let H=(()=>{var ae;class S{constructor(){this.hasAccounts$=l.t,this.accounts$=l.t,this.accountsGql=(0,u.WQX)(x),this.storageService=(0,u.WQX)(N.n$),this.contextService=(0,u.WQX)(j.i),(0,u.WQX)(M.f).isBrowser&&(this.accounts$=this.getAccounts$(),this.hasAccounts$=this.getHasAccounts$(),this.cleanupOnLogout())}getAccounts$(){return this.contextService.update$().pipe((0,h.n)(Y=>this.contextService.isCustomer&&Y?this.retrieveAccountsData$(Y):(0,c.of)([])),(0,T.t)(1))}getHasAccounts$(){return this.accounts$.pipe((0,o.T)(Y=>Y.length>1),(0,D.s)(1))}cleanupOnLogout(){(0,u.WQX)(E.k).logout$().subscribe(()=>{this.storageService.removeItem(w)})}retrieveAccountsData$(Y){const{data:re,page:G}=this.storageService.getItem(w)?.[Y.id]||{},ce=Array.isArray(re);return ce&&!G?(0,c.of)(re):this.fetchAccounts$(G).pipe((0,o.T)(({results:pe,paginationDetail
350s:De})=>({results:[...ce?re:[],...pe],paginationDetails:De})),(0,g.M)(({results:pe,paginationDetails:{currentPage:De,hasMorePages:z}})=>this.storageService.setItem(w,{[Y.id]:{data:pe,...z?{page:De+1}:null}})),(0,o.T)(({results:pe})=>pe),(0,C.W)(pe=>(0,c.of)([])))}fetchAccounts$(Y){const re=this.accountsGql.watch({variables:{page:Y||1}});return re.valueChanges.pipe((0,v.ow)(),(0,o.T)(({data:G})=>G.accounts),(0,g.M)(({paginationDetails:{hasMorePages:G,currentPage:ce}})=>{G&&re.fetchMore({variables:{page:ce+1}})}),(0,o.T)(({paginationDetails:G,results:ce})=>({paginationDetails:G,results:ce.map(({originId:pe,address:{company:De,company2:z,town:ke,postalcode:it,streetname:Re,housenumber:Qe}})=>({originId:pe,companyName:[De,z].filter(Boolean).join(", "),street:[Re,Qe].filter(Boolean).join(" ")||void 0,city:ke,postalCode:it}))})))}static#e=ae=()=>(this.\u0275fac=function(re){return new(re||S)},this.\u0275prov=u.jDH({token:S,factory:S.\u0275fac,providedIn:"root"}))}return ae(),S})()},7675(ye,A,n){n.d(A,{mW:()=>G,Ph:()=>re});var u=n(17988),l=n(47606),h=n(61969),c=n(24406),T=n(21082),o=n(68713),D=n(13901),g=n(90742),C=n(47744),v=n(10432),E=n(93003),M=n(9904),N=n(48282),P=n(79632),I=n(11167),x=n(23478),j=n(78440),w=n(68214),H=n(83767),ae=n(60371),S=n(77171);let J=(()=>{var ce;class pe extends S.XK{constructor(){super(...arguments),this.document=S.J1` 351 query ValidateShipToId($id: ID!) { 352 shippingAddress(id: $id) { 353 id 354 originId 355 } 356 } 357 `}static#e=ce=()=>(this.\u0275fac=(()=>{let z;return function(it){return(z||(z=l.xGo(pe)))(it||pe)}})(),this.\u0275prov=u.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"}))}return ce(),pe})();const Y="hdms-shipToChecked";let re=(()=>{var ce;class pe{constructor(){this.loggedInContextGql=(0,u.WQX)(H.y),this.validateShipToGql=(0,u.WQX)(J),this.contextService=(0,u.WQX)(ae.i),this.storageService=(0,u.WQX)(I.n$),this.logoutService=(0,u.WQX)(M.k),this.cookieService=(0,u.WQX)(C.O),this.platform=(0,u.WQX)(N.f),this.env=(0,u.WQX)(v.v),this.ftService=(0,u.WQX)(E.I),this.punchoutService=(0,u.WQX)(P.as),this.initialized=!1}init(){this.initialized||(this.cleanupOnLogout(),this.initializeContext(),this.initialized=!0)}fetchContext$(){return this.getContext$().pipe((0,h.M)(z=>this.contextService.setData(z)))}getContext$(){return this.loggedInContextGql.fetch({variables:{localization:(0,j.a$)(this.env),eVouchersEnabled:this.ftService.getToggleById(w.on),isSuggestUserLocationEnabled:this.ftService.getToggleById(w.KF)},errorPolicy:g.t.IGNORE,fetchPolicy:g.j.NETWORK_ONLY,context:this.getHeaders()}).pipe((0,c.T)(({data:z})=>z.loggedInContext),(0,c.T)(z=>this.punchoutService.isActiveSession?this.punchoutService.personalizeContext(z):z),(0,T.n)(z=>this.validateShipTo$().pipe((0,c.T)(ke=>z))),(0,c.T)(z=>({data:z,error:z?null:new Error("No UserContext data returned")})),(0,o.W)(z=>(0,D.of)({error:z})))}initializeContext(){this.contextService.setContext$(this.platform.isBrowser?this.getContext$():(0,D.of)({}))}cleanupOnLogout(){this.platform.isBrowser&&this.logoutService.logout$().subscribe(()=>{this.storageService.removeItem(Y),this.cookieService.delete(x.zJ),this.cookieService.delete(x.Kg)})}getHeaders(){return this.ftService.getToggleById(w.yf)?{headers:{[x.i5]:x.Hw}}:null}validateShipTo$(){const{preselectedShipToId:z,customerOriginId:ke}=this.contextService;if(z){const it=this.storageService.getItem(Y)?.[ke],[Re,Qe]=Array.isArray(it)?it:[];if(z!==Re)return this.validateShipToGql.fetch({variables:{id:z}}).pipe((0,c.T)(({data:Ze})=>Ze.shippingAddress.id),(0,o.W)(()=>(0,D.of)(null)),(0,h.M)(Ze=>{!Ze&&this.contextService.invalidateShipTo(),this.storageService.setItem(Y,{[ke]:[z,!!Ze]})}));Qe||this.contextService.invalidateShipTo()}return(0,D.of)(null)}static#e=ce=()=>(this.\u0275fac=function(ke){return new(ke||pe)},this.\u0275prov=u.jDH({token:pe,factory:pe.\u0275fac,providedIn:"root"}))}return ce(),pe})();const G=(0,l.phd)(()=>(0,u.WQX)(re).init())},60371(ye,A,n){n.d(A,{i:()=>S});var u=n(17988),l=n(95536),h=n(61151),c=n(54366),T=n(870),o=n(13901),D=n(24406),g=n(95840),C=n(21082),v=n(61969),E=n(49788),M=n(82867),N=n(47744),P=n(10432),I=n(40420),x=n(60974),j=n(48282),w=n(23478),H=n(96590),ae=n(85150);let S=(()=>{var J;class Y{constructor(){this.hasProps=!1,this.context={},this.loginRequired=!1,this.env=(0,u.WQX)(P.v),this.cookie=(0,u.WQX)(N.O),this.baseTrackingDto=(0,u.WQX)(M.w),this.isBrowser=(0,u.WQX)(j.f).isBrowser,this.isMaintenanceMode=(0,u.WQX)(x.s).isMaintenanceMode,this.updateSubject=ne
357w h.m(1),this.contextSubject=new l.t(this.updateSubject),this.context$=this.contextSubject.pipe((0,C.n)(G=>G)),this.ssoUserRoleFromCookie=this.getUserRoleFromCookie(),this.customerIdFromCookie=this.getCustomerIdFromCookie(),this.preselectedShipTo=this.getPreselectedShipToId(),this.checkSsoCookieValidity(),this.hasOauthSession=this.getOauthSessionCookie()}get hasData(){return this.hasProps}get contact(){return(0,ae.bl)(this.context)}get cloudId(){return this.context.id}get email(){return this.context.email}get account(){return(0,ae.sU)(this.context)}get isAnonymous(){return!this.isLoggedIn}get isLoggedIn(){return!!this.ssoUserRole}get isRegistered(){return this.isLoggedIn&&!this.isPendingRegistration}get isPendingRegistration(){return this.ssoUserRole===H.t.USER}get isEmployee(){return(0,ae.FE)(this.context)}get isInternal(){return this.context.isInternal||!1}get isAccountManager(){return this.ssoUserRole===H.t.ACCOUNT_MANAGER}get isEVoucherBackofficeUser(){return this.ssoUserRole===H.t.EVOUCHER_BACKOFFICE_USER}get isCustomer(){return this.ssoUserRole===H.t.CUSTOMER}get hasFleetContract(){return!!this.account.isFleet}get requiresLogin(){return this.loginRequired}set requiresLogin(G){this.ssoUserRole||(this.loginRequired=G)}get customerOriginId(){return this.account.originId||this.customerIdFromCookie}get ssoUserRole(){return!this.isMaintenanceMode&&this.ssoUserRoleFromCookie}get contactOriginId(){return this.contact.originId||this.cookie.get(w.sQ)}get employeePermissions(){return this.context.employeeRole?.newPermissions||[]}get permissions(){return this.context.permissions||[]}get isAuthorizationManagementEnabledForCustomer(){return!!this.context.hasAuthorizationManagementEnabled}get role(){return this.isEmployee?this.context.employeeRole:this.context.role}get preselectedShipToId(){return this.preselectedShipTo}get invalidShipTo(){return this.invalidShipToId}get preventUserDataCaching(){return!this.isBrowser&&!!this.ssoUserRole}get hasError(){return this.hasUpdateError}get requiresAuth(){return this.requiresLogin||this.isLoggedIn&&!this.hasOauthSession}get registrationStatus(){return this.isLoggedIn?this.isPendingRegistration?E.m7.INITIATED:E.m7.COMPLETE:null}get shouldLoadContext(){return this.isLoggedIn&&this.isBrowser}ngOnDestroy(){this.updateSubject.complete(),this.contextSubject.complete()}setContext$(G){this.contextSubject.next((0,T.h)((0,c.T)(()=>this.shouldLoadContext,G,(0,o.of)({data:this.getData()})).pipe((0,v.M)(ce=>this.updateData(ce)),(0,D.T)(ce=>this.getData())),this.updateSubject).pipe((0,g.t)(1)))}setData(G,ce=!1){this.updateData(G,ce),this.updateSubject.next(this.getData())}getData(){return{...this.context}}update$(){return this.context$}updateOriginCustomerId(G){this.cookie.set(w.f0,G),this.cookie.set(w.Kg,H.t.CUSTOMER),this.ssoUserRoleFromCookie=this.getUserRoleFromCookie(),this.customerIdFromCookie=this.getCustomerIdFromCookie()}forceErrorState(){this.hasUpdateError=!0}invalidateShipTo(){this.cookie.delete(w.zJ),this.invalidShipToId=this.preselectedShipTo,this.preselectedShipTo=null}updateData(G,ce=!1){const{data:pe,error:De}=G||{};this.context={...ce||!pe?null:this.context,...pe},this.hasUpdateError||=!!De,this.hasProps=!!Object.keys(this.context).length,this.setUserTrackingData()}getPreselectedShipToId(){return(this.isAccountManager?this.cookie.get(w.zJ):null)?.toString()}getCustomerIdFromCookie(){return this.cookie.get(this.isAccountManager?w.KW:w.f0)}getUserRoleFromCookie(){const G=this.cookie.get(w.Kg);return Object.values(H.t).includes(G)?G:null}checkSsoCookieValidity(){(this.isCustomer||this.isAccountManager)&&!this.customerIdFromCookie&&(this.ssoUserRoleFromCookie=null)}getOauthSessionCookie(){return!!this.cookie.get(w.Yk)}setUserTrackingData(){if(!this.isBrowser||this.requiresAuth)return;const G={loggedIn:this.isLoggedIn,account:this.customerOriginId,contact_id:this.contactOriginId,fleetContract:this.isLoggedIn?this.hasFleetContract:void 0,registrationStatus:this.registrationStatus,hiltiUser:this.isInternal,hiltiSession:this.isAccountManager,jobFunction:this.contact.function?.id,cloudID:this.isRegistered?this.cloudId:null,trade:this.account.trade?.id,potentialClass:null},ce=this.isLoggedIn?this.email?.trim().toLowerCase():"";ce?(0,I.fg)(ce).then(pe=>this.baseTrackingDto.updateData({...G,enhancedConversionFlag:pe})).catch(()=>this.baseTrackingDto.updateData(G)):this.baseTrackingDto.updateData(G)}static#e=J=()=>(this.\u0275fac=function(ce){return new(ce||Y)},this.\u0275prov=u.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"}))}return J(),Y})()},46761(ye,A,n){n.d(A,{G:()=>o,t:()=>T});var u=n(17988),l=n(46271),h=n(69354),c=n(47606);const T=D=>D&&[h.nm,h.U8].some(g=>D.includes(g));let o=(()=>{var D;class g{constructor(){this.loginUrl=(0,u.WQX)(l.C,{optional:!0})?.loginUrl}transform(v,E=!1){return this.loginUrl&&T(v)?this.loginUrl():E?null:v}static#e=D=()=>(this.\u0275fac=function(E){return new(E||g)},this.\u0275pipe=c.EJ8({name:"cmsLoginUrl",type:g,pure:!1}))}return D(),g})()},17007(ye,A,n){n.d(A,{V:()=>h});var u=n(45865),l=n(47606);let h=(()=>{var c;class T extends u.D{transform(D,g){return this.checkLabel(D)?this.i18next.transform(D,g).trim():""}static#e=c=()=>(this.\u0275fac=(()=>{let D;return function(C){return(D||(D=l.xGo(T)))(C||T)}})(),this.\u0275pipe=l.EJ8({name:"i18nextOptionalText",type:T,pure:!0}))}return c(),T})()},45865(ye,A,n){n.d(A,{D:()=>c});var u=n(17988),l=n(99016);const h="i18n_def_value_check";class c{constructor(){this.i18next=(0,u.WQX)(l.ov)}checkLabel(o){const D=o&&this.i18next.transform(o,{defaultValue:h}).trim();return!!D&&D!==h}}},6531(ye,A,n){n.d(A,{e:()=>T});
357var u=n(21357),l=n(47606),h=n(99016);const c=o=>({currentYear:o});let T=(()=>{var o;class D{constructor(){this.currentYear=(new Date).getFullYear()}static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)},this.\u0275cmp=l.VBU({type:D,selectors:[["shrd-ft-footer-print-layout"]],decls:17,vars:15,consts:[[1,"container-fluid","print-footer"],[1,"row","mt-2","pt-2","border-top","border-print-gray"],[1,"col"],[1,"content-box"],[1,"text-dark"]],template:function(v,E){1&v&&(l.rj2(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"p",4),l.EFF(5),l.nI1(6,"i18next"),l.Hgh(7,"br"),l.EFF(8),l.nI1(9,"i18next"),l.eux(),l.rj2(10,"p")(11,"strong",4),l.EFF(12),l.nI1(13,"i18next"),l.Hgh(14,"br"),l.EFF(15),l.nI1(16,"i18next"),l.eux()()()()()()),2&v&&(l.R7$(5),l.SpI(" ",l.bMT(6,4,"printFooter.label")," "),l.R7$(3),l.SpI(" ",l.i5U(9,6,"printFooter.copyright",l.eq3(13,c,E.currentYear))," "),l.R7$(4),l.SpI(" ",l.bMT(13,9,"printFooter.marketOrganizationName")," "),l.R7$(3),l.SpI(" ",l.bMT(16,11,"printFooter.serviceHotline")," "))},dependencies:[u.E,h.ov],styles:["[_nghost-%COMP%] .print-footer[_ngcontent-%COMP%]{display:none!important}@media print{[_nghost-%COMP%] .print-footer[_ngcontent-%COMP%]{display:block!important}}"],changeDetection:0}))}return o(),D})()},16405(ye,A,n){n.d(A,{U:()=>N});var u=n(9042),l=n(96623),h=n(17988),c=n(4199),T=n(21357),o=n(72315),D=n(14753),g=n(68661),C=n(47606);function v(P,I){1&P&&C.eu8(0)}function E(P,I){if(1&P&&C.DNE(0,v,1,0,"ng-container",10),2&P){const x=C.XpG();C.Y8G("ngTemplateOutlet",x.logoTpl())}}function M(P,I){1&P&&(C.nrm(0,"img",4),C.nI1(1,"assetPath")),2&P&&C.Y8G("src",C.i5U(1,1,"/assets/images/hilti-logo.svg",!0),C.B4B)}let N=(()=>{var P;class I{constructor(){this.logoTpl=(0,l.hFB)(),this.generationDate=this.getGenerationDate(),this.pageTitle=(0,h.WQX)(c.hE).getTitle()}getGenerationDate(){const j=new Date(Date.now());return`${(0,h.WQX)(g.N).transform(j)}, ${j.toLocaleTimeString()}`}static#e=P=()=>(this.\u0275fac=function(w){return new(w||I)},this.\u0275cmp=C.VBU({type:I,selectors:[["shrd-ft-header-print-layout"]],inputs:{logoTpl:[1,"logoTpl"]},decls:14,vars:3,consts:[[1,"container-fluid","print-header"],[1,"row","mb-2"],[1,"col"],[1,"content-box","py-2"],["height","33","width","139","alt","HILTI logo",3,"src"],[1,"row","pb-1","border-bottom","border-print-gray"],[1,"content-box","d-flex","justify-content-between","align-items-baseline"],[1,"mb-0"],[1,"heading-md","pe-3","text-dark"],[1,"text-dark"],[4,"ngTemplateOutlet"]],template:function(w,H){1&w&&(C.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),C.nVh(4,E,1,1,"ng-container")(5,M,2,4,"img",4),C.
357k0s()()(),C.j41(6,"div",5)(7,"div",2)(8,"div",6)(9,"p",7)(10,"span",8),C.EFF(11),C.k0s(),C.j41(12,"span",9),C.EFF(13),C.k0s()()()()()()),2&w&&(C.R7$(4),C.vxM(H.logoTpl()?4:5),C.R7$(7),C.JRh(H.pageTitle),C.R7$(2),C.JRh(H.generationDate))},dependencies:[T.E,D.xx,u.T3,o.W],styles:["[_nghost-%COMP%] .print-header[_ngcontent-%COMP%]{display:none!important}@media print{[_nghost-%COMP%] .print-header[_ngcontent-%COMP%]{display:block!important}}[_nghost-%COMP%] .restore-btn-color[_ngcontent-%COMP%]{-webkit-print-color-adjust:exact;print-color-adjust:exact;color:#fff!important;border-color:#d2051e!important;background-color:#d2051e!important}"],changeDetection:0}))}return P(),I})()},90826(ye,A,n){n.d(A,{t:()=>D});var u=n(30965),l=n(93176),h=n(75588),c=n(90038),T=n(61642),o=n(30595);const D={cart:`/${u.K.BASE}`,search:`/${o.w.BASE}?text=`,searchEditorials:`/${o.w.BASE}/editorial?search=true&text=`,stores:`/${l._.BASE}`,profile:`/${c.Q.BASE}/${c.Q.COMPANY_INFORMATION}`,accountRegistration:`/${T.x.BASE}/${T.x.ACCOUNT}`,orders:`/${h.x.BASE}/${h.x.ORDERS}`}},61643(ye,A,n){n.d(A,{M:()=>S});var u=n(17988),l=n(95536),h=n(61151),c=n(61856),T=n(24406),o=n(21082),D=n(61969),g=n(76552),C=n(61347),v=n(60371),E=n(85150),M=n(65319),N=n(9904),P=n(86842),I=n(48282),x=n(72288),j=n(4642);let S=(()=>{var J;class Y{constructor(){this.tabAccountChanged=new h.m(1),this.userContext=(0,u.WQX)(v.i),this.oauthService=(0,u.WQX)(g.z),this.redirectService=(0,u.WQX)(x.Q5),this.tabSyncService=(0,u.WQX)(j.u),this.logoutService=(0,u.WQX)(N.k),this.platform=(0,u.WQX)(I.f),this.analyticsService=(0,u.WQX)(M.c),this.pageStateService=(0,u.WQX)(P.M),this.accountsService=(0,u.WQX)(C.h),this.userDataSubject=ne
357w l.t({isLoading:!0,isLoggedIn:this.userContext.isLoggedIn}),this.hasAccounts$=this.accountsService.hasAccounts$,this.accounts$=this.accountsService.accounts$,this.resetLoadingAfterPageShow()}get tabAccountChanged$(){return this.tabAccountChanged.asObservable()}ngOnDestroy(){this.userDataSubscription?.unsubscribe()}getUserData$(){return this.userDataSubscription||=this.loadUserData(),this.userDataSubject.asObservable()}setSelectedAccount(G){this.setLoadingState(),this.logoutService.dispatchAccountSwitch(),this.analyticsService.sendLegacyEvent({action:"Account",category:"UserAccountFlyout",label:"SwitchAccount"}),this.oauthService.getAccountSwitchUrl$(G).subscribe(ce=>this.redirectService.redirectTo(ce))}setLoadingState(G=!0){this.userDataSubject.next({...this.userDataSubject.value,isLoading:G})}loadUserData(){return this.userContext.preventUserDataCaching?null:this.userContext.update$().pipe((0,c.p)(G=>!this.userContext.requiresAuth||!!this.userContext.hasError),(0,T.T)(G=>!this.userContext.hasError&&function ae(J){const Y=function w({isLoggedIn:J,isRegistered:Y,isEmployee:re,hasError:G,isEVoucherBackofficeUser:ce,invalidShipTo:pe,isAuthorizationManagementEnabledForCustomer:De,role:z}){return J&&=!G,{isLoggedIn:J,isRegistered:Y,isEmployee:re,invalidShipTo:pe,accountMenuEnabled:Y&&!ce,...De&&{role:z}}}(J),re=J.isLoggedIn?function H(J){const{account:{address:Y,originId:re},contact:G,email:ce}=J;return{originId:re,companyName:Y?.company,formatted:Y?.formatted,contact:(0,E.TM)(J.getData())?{...G,formatted:[ce]}:G}}(J):Y.selectedAccount;return{...Y,selectedAccount:re,isRegistered:Y.isRegistered||J.isInternal,accountMenuEnabled:J.isCustomer||Y.accountMenuEnabled&&(J.isEmployee||!J.isInternal)}}(this.userContext)),(0,D.M)(this.onUserDataReceived.bind(this)),(0,o.n)(({selectedAccount:G})=>this.checkTabAccountChange$(G))).subscribe()}onUserDataReceived(G){this.userDataSubject.next(G),this.tabSyncService.postMessage({originId:this.userContext.customerOriginId||null})}checkTabAccountChange$(G){return this.tabSyncService.onMessage$("originId").pipe((0,c.p)(({originId:ce})=>!this.userContext.hasError&&ce!==(G?.originId||null)),(0,D.M)(ce=>this.tabAccountChanged.next(!0)))}resetLoadingAfterPageShow(){this.platform.isBrowser&&this.pageStateService.persistedPageShow$.subscribe(G=>{G&&this.setLoadingState(!1)})}static#e=J=()=>(this.\u0275fac=function(ce){return new(ce||Y)},this.\u0275prov=u.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"}))}return J(),Y})()},52455(ye,A,n){n.d(A,{OA:()=>P,TE:()=>x});var u=n(17988),l=n(47606),h=n(61151),c=n(79746),T=n(75117),o=n(6669),D=n(10432),g=n(93003),C=n(11167),v=n(93612),E=function(j){return j.SESSION_ACTIVE=":gcmcsessionActive",j.CHAT_OPEN=":gcmcopn",j}(E||{}),M=function(j){return j.COMMAND="command",j.SUBSCRIBE="subscribe",j.DATABASE_SET="Database.set",j.LAUNCHER_READY="Launcher.ready",j.LAUNCHER_SHOW="Launcher.show",j.MESSENGER_READY="Messenger.ready",j.MESSENGER_CLOSE="Messenger.close",j.MESSENGER_OPEN="Messenger.open",j}(M||{}),N=function(j){return j.MESSENGER_CLOSED="Messenger.closed",j.MESSENGER_OPENED="Messenger.opened",j}(N||{});const P="ldt_webchat_captcha";let x=(()=>{var j;class w{constructor(){this.envService=(0,u.WQX)(D.v),this.webchatDeploymentId=this.envService.liveChatDeploymentId,this.chatInitialized$=new h.m(1),this.chatOpen$=new h.m(1),this.win=(0,u.WQX)(v.$).nativeWindow,this.rendererFactory=(0,u.WQX)(l._9s),this.storageService=(0,u.WQX)(C.n$),this.recaptchaService=(0,u.WQX)(o.N),this.isChatRecaptchaFtEnabled=(0,u.WQX)(g.I).getToggleById(P),this.zone=(0,u.WQX)(l.SKi),this.isChatInitialized$=this.chatInitialized$.asObservable(),this.isChatOpen$=this.chatOpen$.pipe((0,c.F)())}get isChatSessionActive(){return this.checkStorage(E.SESSION_ACTIVE,!0)||this.checkStorage(E.CHAT_OPEN,!1)}get isChatWindowOpen(){return this.checkStorage(E.CHAT_OPEN,!0)}get isChatJsAvailable(){return"function"==typeof this.win.Genesys}checkActiveSession(){this.isChatSessionActive&&(this.injectLiveChatJS(),this.resendChatAttributes())}injectLiveChatJS(){if(!this.win.Genesys){const ae=this.rendererFactory.createRenderer(null,null),S=ae.createElement("script"),J=ae.createText(`\n (function (g, e, n, es, ys) {\n g['_genesysJs'] = e;\n g[e] = g[e] || function () {\n (g[e].q = g[e].q || []).push(arguments)\n };\n g[e].t = 1 * new Date();\n g[e].c = es;\n ys = document.createElement('script'); ys.async = 1; ys.src = n; ys.charset = 'utf-8'; document.head.appendChild(ys);\n })(window, 'Genesys', 'https://apps.mypurecloud.de/genesys-bootstrap/genesys.min.js', {\n environment: 'euc1',\n deploymentId: '${this.webchatDeploymentId}'\n });\n `);ae.appendChild(S,J),ae.appendChild(document.head,S)}this.checkLauncherStatus()}checkLauncherStatus(){this.isChatJsAvailable&&this.win.Genesys(M.SUBSCRIBE,M.LAUNCHER_READY,()=>{this.zone.run(()=>{this.chatInitialized$.next(!0),this.chatInitialized$.complete()}),this.isChatSessionActive&&this.win.Genesys(M.COMMAND,M.LAUNCHER_SHOW)})}openMessenger(ae){this.isChatJsAvailable&&(ae&&this.setDatabaseAttributes(ae),this.win.Genesys(M.COMMAND,M.MESSENGER_OPEN))}checkMessengerStatus(){this.chatOpen$.next(this.isChatWindowOpen),this.isChatSessionActive&&this.isChatWindowOpen&&this.win.Genesys(M.SUBSCRIBE,M.MESSENGER_READY,()=>{this.openMessenger()}),this.subscribeToMessengerEvents()}closeMessenger(){this.isChatJsAvailable&&this.win.Genesys(M.COMMAND,M.MESSENGER_CLOSE)}populateChatAttributes(ae,S){const{contact:J}=S?.selectedAccount||{},Y=J?.language?J.language.toUpperCase():this.envService.language.toUpperCase(),re={WebsiteCountryCode:this.envService.country,WebsiteLanguageCode:Y};return ae&&(re.WebsiteCaptchaToken=ae),re}setDatabaseAttributes(ae){this.isChatJsAvailable&&this.win.Genesys(M.COMMAND,M.DATABASE_SET,{messaging:{customAttributes:ae}})}subscribeToMessengerEvents(){this.isChatJsAvailable&&this.win.Genesys(M.SUBSCRIBE,M.MESSENGER_READY,()=>{this.subscribeToMessengerEvent(N.MESSENGER_OPENED),this.subscribeToMessengerEvent(N.MESSENGER_CLOSED)})}subscribeToMessengerEvent(ae){this.win.Genesys(M.SUBSCRIBE,ae,()=>{this.zone.run(()=>{this.chatOpen$.next(ae===N.MESSENGER_OPENED)})})}checkStorage(ae,S){const Y=this.storageService.getItem(`_${this.webchatDeploymentId}${ae}`,C.eL.LOCAL,!0);return S?"true"===Y?.value||!1:null!==Y}resendChatAttributes(){const ae=this.envService.liveChatRecaptchaV3PublicKey,S={WebsiteCountryCode:this.envService.country,WebsiteLanguageCode:this.envService.language.toUpperCase()};ae&&this.isChatRecaptchaFtEnabled?this.recaptchaService.generateV3Token$({
357siteKey:ae,action:"live_chat"}).pipe((0,T.s)(1)).subscribe({next:J=>{S.WebsiteCaptchaToken=J,this.setDatabaseAttributes(S)}}):this.setDatabaseAttributes(S)}static#e=j=()=>(this.\u0275fac=function(S){return new(S||w)},this.\u0275prov=u.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}))}return j(),w})()},72783(ye,A,n){n.d(A,{p:()=>l});const l=new(n(17988).nKC)("shrd.pf.edtNav")},57440(ye,A,n){n.d(A,{H:()=>Qe});var u=n(17988),l=n(24406),h=n(95840),c=n(15954),T=n(61130),o=n(64752),D=n(61856),g=n(79746),C=n(99473),v=n(56816),E=n(17398),M=n(50121),N=n(84332),P=n(10432),I=n(11135),x=n(1733);function j(Ze,Ye){return Ze.flatMap(({childList:Ue,url:ne,title:X})=>Ue?j(Ue.flat(),{url:ne,title:X}):{url:ne?.replace(/.html$/,""),title:X,parent:Ye})}class w{constructor(){this.breadcrumbs=(0,u.vPA)(null),this.activeLink=(0,u.vPA)(null),this.contentfulService=(0,u.WQX)(E.w),this.navigationEntryId=(0,u.WQX)(P.v).contentfulConfig.navigationEntryId,this.editorialBaseRoutes=[""],this.routerHelper=(0,u.WQX)(x.T),this.rootBreadCrumbItem=this.getRootBreadcrumbItem()}init(){this.allNavigationData$=this.getAllNavigationData$(),this.editorialNavItems$=this.getEditorialNavItems$(),this.footerLinks$=this.getFooterLinks$()}findActiveLink(Ye){const Ue=this.routerHelper.finalUrl();return Ye.find(({url:X})=>Ue===X)??Ye.find(({url:X})=>Ue.startsWith(X))}getFooterLinks$(){return this.allNavigationData$.pipe((0,l.T)(({footerLinks:Ye})=>Ye))}getEditorialNavItems$(){return this.allNavigationData$.pipe((0,o.Z)(Ye=>this.routerHelper.router.events.pipe((0,D.p)(Ue=>Ue instanceof T.wF),(0,l.T)(({url:Ue})=>(0,I.Jf)(Ue)),(0,g.F)(),(0,C.i)(1),(0,l.T)(()=>Ye),(0,v.Z)(Ye))),(0,l.T)(({editorialLinks:Ye})=>this.parseEditorialLinks(Ye)),(0,h.t)(1))}parseEditorialLinks(Ye=[]){this.breadcrumbs.set(null),this.activeLink.set(null);const Ue=this.editorialBaseRoutes.some(ne=>this.routerHelper.finalUrl().startsWith(ne));return Ye.map(ne=>{const{title:X,url:q}=ne,Te=Ue&&!this.breadcrumbs()&&this.findActiveLink(j([{title:X,url:q},ne]));return this.setBreadcrumbs(ne,Te),{...ne,menuType:M.O7.EDITORIAL,active:!!Te}})}setBreadcrumbs(Ye,Ue){if(Ue){this.activeLink.set(Ue.url);const ne=[this.rootBreadCrumbItem,{title:Ye.title,href:Ye.hash}];Ue.parent&&ne.push({title:Ue.parent.title,href:Ye.hash},{title:Ue.title,href:Ue.url===this.routerHelper.finalUrl()?null:Ue.url,routerLink:!0}),this.breadcrumbs.set(ne)}}getRootBreadcrumbItem(){const Ye=(0,u.WQX)(N.v3,{optional:!0});return Ye?.translate([Ye.rootBreadCrumbItem])[0]}}var H=n(99016),ae=n(69279),S=n(91879),J=n(71435),Y=n(63314),re=n(93003),G=n(75140),ce=n(73472);const pe={Facebook:{title:"footer.socialMedia.label.facebook",type:ce.i.FACEBOOK,url:"footer.socialMedia.url.facebook"},Instagram:{title:"footer.socialMedia.label.instagram",type:ce.i.INSTAGRAM,url:"footer.socialMedia.url.instagram"},LinkedIn:{title:"footer.socialMedia.label.linkedin",type:ce.i.LINKEDIN,url:"footer.socialMedia.url.linkedin"},Pinterest:{title:"footer.socialMedia.label.pinterest",type:ce.i.PINTEREST,url:"footer.socialMedia.url.pinterest"},VK:{title:"footer.socialMedia.label.vk",type:ce.i.VK,url:"footer.socialMedia.url.vk"},X:{title:"footer.socialMedia.label.twitter",type:ce.i.TWITTER,url:"footer.socialMedia.url.twitter"},Xing:{title:"footer.socialMedia.label.xing",type:ce.i.XING,url:"footer.socialMedia.url.xing"},Youtube:{title:"footer.socialMedia.label.youtube",type:ce.i.YOUTUBE,url:"footer.socialMedia.url.youtube"}},De=Ze=>!!Ze?.sys,z=Ze=>Object.keys(Ze??{}).length?Ze:null;let ke=(()=>{var Ze;class Ye{constructor(){this.unifiedNavEnabled=(0,u.WQX)(re.I).getToggleById("unified_navigation"),this.i18NextService=(0,u.WQX)(H.WY),this.imageUrlService=(0,u.WQX)(S.u),this.currentDomain=(0,I.Wq)((0,u.WQX)(G.K)().hostname),this.mapEntry=this.mapEntry.bind(this),this.mapLegacyEntry=this.mapLegacyEntry.bind(this),this.mapLinkGroup=this.mapLinkGroup.bind(this),this.buildLinkItem=this.buildLinkItem.bind(this),this.preprocessNavigationEntry=this.preprocessNavigationEntry.bind(this),this.preprocessGlobalBannerEntry=this.preprocessGlobalBannerEntry.bind(this)}preprocessNavigationEntry(ne){if(De(ne)){const X=(0,ae.So)(ne);return this.unifiedNavEnabled?{editorialLinks:this.convertToEditorialLinksResponse(X),footerLinks:this.convertToFooterLinksResponse(X),shopTabPrimaryLinks:this.convertToShopTabPrimaryLinksResponse(X),shopTabSecondaryLinks:this.convertToShopTabSecondaryLinksResponse(X)}:{editorialLinks:this.convertLegacyToEditorialLinksResponse(X),footerLinks:this.convertLegacyToFooterLinksResponse(X)}}return z(ne)}preprocessGlobalBannerEntry(ne){if(De(ne)){const X=(0,ae.So)(ne),{siteBanner:q}=X?.fields??{},{headline:Te,linkLabel:je,linkUrl:Fe,text:we}=q?.fields||{};return we?{heading:Te,link:{title:je,url:Fe},text:we}:null}return z(ne)}convertToEditorialLinksResponse({fields:ne}){const{navigation:X=[]}=ne??{};
357return X.map(this.mapEntry).filter(Boolean)}convertLegacyToEditorialLinksResponse({fields:ne}){const{primaryHeader:X=[]}=ne??{};return X.map(this.mapLegacyEntry).filter(Boolean)}convertToShopTabPrimaryLinksResponse({fields:ne}){const{shopTabPrimaryLinks:X=[]}=ne??{};return{childList:X.map(this.buildLinkItem).filter(Boolean)}}convertToShopTabSecondaryLinksResponse({fields:ne}){const{shopTabSecondaryLinks:X,shopTabSecondaryLocalLinks:q,shopTabSecondaryLinksHeader:Te}=ne??{};return{title:Te,childList:this.mergeLinkItems(X,q)}}convertToFooterLinksResponse({fields:ne}){const{socialMediaSites:X=[],footerGlobalLinks:q,footerLocalLinks:Te,footerColumnOneLabel:je,footerColumnOneLinks:Fe,footerColumnOneLocalLinks:we,footerColumnTwoLabel:Be,footerColumnTwoLinks:at,footerColumnTwoLocalLinks:Ot,footerColumnThreeLabel:Et,footerColumnThreeLinks:Yt,footerColumnThreeLocalLinks:ut,footerColumnFourLabel:bt,footerColumnFourLinks:Xe,footerColumnFourLocalLinks:tt}=ne??{};return{legalLinks:this.mergeLinkItems(q,Te),columns:[{title:je,links:[Fe,we]},{title:Be,links:[at,Ot]},{title:Et,links:[Yt,ut]},{title:bt,links:[Xe,tt]}].map(({title:pt,links:an})=>({title:pt,childList:this.mergeLinkItems(...an)})).filter(pt=>pt.childList.length),socialMediaIcons:this.buildSocialMediaIcons(X)}}convertLegacyToFooterLinksResponse({fields:ne}){const{footerGroups:X=[],footerLinks:q=[],socialMediaSites:Te=[]}=ne??{},{footerContactGroup:je=[],footerContact:Fe=[]}=this.buildFooterContact(X),we=X.filter(Ot=>Ot!==je&&Ot?.fields).map(this.mapLinkGroup).filter(Boolean).map(Ot=>({...Ot,childList:Ot.childList.flat()}));return{legalLinks:q.map(this.buildLinkItem).filter(Boolean),footerContact:Fe,columns:we,socialMediaIcons:this.buildSocialMediaIcons(Te)}}buildFooterContact(ne){const X=ne[0],q=X?.fields.localLinks.map(this.buildLinkItem).filter(Boolean);return{footerContactGroup:X,footerContact:q}}buildLinkItem(ne){if(!ne?.fields)return null;const{linkLabel:X,linkUrl:q,label:Te,url:je,image:Fe}=ne.fields,we=(0,J.G)(je||q,this.currentDomain),Be=Te||X;return Be&&we?{title:Be,url:we,thumbnail:Fe&&this.imageUrlService.generateSrcSet({source:Fe,sizes:{xs:200},aspectRatio:"1:1"}).src}:null}buildSocialMediaIcons(ne){return{title:this.i18NextService.t("footer.socialMedia.followHilti"),childList:ne.map(X=>{const{title:q,type:Te,url:je}=pe[X]||{};return{title:this.i18NextService.t(q),type:Te,url:this.i18NextService.t(je).trim()}})}}mapEntry(ne){if(!ne?.fields)return null;const{identifier:X,menuName:q,columnOne:Te,columnTwo:je,columnThree:Fe,columnFour:we,overviewUrl:Be,overviewLabel:at}=ne.fields;return{id:X,title:q||"",childList:[Te,je,Fe,we].filter(Boolean).map(Et=>Et.map(this.mapLinkGroup).filter(Boolean)).filter(Et=>Et.length),hash:`#nav/${X}`,url:Be,overviewLabel:at}}mapLegacyEntry(ne,X){if(!ne?.fields)return null;if("linkGroups"in ne.fields){const{linkGroups:q,menuName:Te}=ne.fields;return{id:`e${X}`,title:Te||"",childList:q.map(this.mapLinkGroup).filter(Boolean).map(we=>[we]),hash:`#nav/${(0,Y.kj)(Te)}`}}return"linkUrl"in ne.fields?this.buildLinkItem(ne):void 0}mapLinkGroup(ne){if(!ne?.fields)return null;const{groupName:X,links:q,globalLinks:Te,localLinks:je}=ne.fields,Fe=this.mergeLinkItems(Te,q,je);return Fe.length?{title:X,childList:Fe}:null}mergeLinkItems(...ne){return ne.filter(Boolean).flatMap(X=>X.map(this.buildLinkItem).filter(Boolean))}static#e=Ze=()=>(this.\u0275fac=function(X){return new(X||Ye)},this.\u0275prov=u.jDH({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}))}return Ze(),Ye})();const Re=["/content",`/${c.y.BASE}`];let Qe=(()=>{var Ze;class Ye extends w{constructor(){super(),this.editorialBaseRoutes=Re,this.transformService=(0,u.WQX)(ke),this.unifiedNavEnabled=this.transformService.unifiedNavEnabled,this.init(),this.globalBanner$=this.getGlobalBannerData$(),this.shopTabPrimaryLinks$=this.getShopTabPrimaryLinks$(),this.shopTabSecondaryLinks$=this.getShopTabSecondaryLinks$()}getAllNavigationData$(){return this.contentfulService.getEntryByContentType({contentType:"siteConfig",params:{"sys.id":this.navigationEntryId},include:this.unifiedNavEnabled?9:10,isGlobal:!0,publishedOnly:!1,cacheTtl:7200,transformFn:this.transformService.preprocessNavigationEntry}).pipe((0,l.T)(ne=>ne??{}),(0,h.t)(1))}getShopTabPrimaryLinks$(){return this.allNavigationData$.pipe((0,l.T)(({shopTabPrimaryLinks:ne})=>ne))}getShopTabSecondaryLinks$(){return this.allNavigationData$.pipe((0,l.T)(({shopTabSecondaryLinks:ne})=>ne))}getGlobalBannerData$(){return this.contentfulService.getEntryByContentType({contentType:"hubConfig",params:{select:"sys.id,fields.siteBanner"},isGlobal:!1,publishedOnly:!1,cacheTtl:7200,transformFn:this.transformService.preprocessGlobalBannerEntry})}static#e=Ze=()=>(this.\u0275fac=function(X){return new(X||Ye)},this.\u0275prov=u.jDH({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}))}return Ze(),Ye})()},26278(ye,A,n){n.d(A,{f:()=>c});var u=n(77171),l=n(17988),h=n(47606);let c=(()=>{var T;class o extends u.XK{constructor(){super(...arguments),this.document=u.J1` 358 query UserDetectedCountry { 359 userDetectedCountry 360 } 361 `}static#e=T=()=>(this.\u0275fac=(()=>{let g;return function(v){return(g||(g=h.xGo(o)))(v||o)}})(),this.\u0275prov=l.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}))}return T(),o})()},7359(ye,A,n){n.d(A,{OG:()=>Ye,SX:()=>ke,U7:()=>z});var u=n(17988),l=n(61151),h=n(95536),c=n(10417),T=n(5219),o=n(21082),D=n(24406),g=n(61969),C=n(95840),v=n(68713),E=n(13901),M=n(30595),N=n(28509),P=n(77464),I=n(78440),x=n(23478),j=n(57552),w=n(10432),H=n(93003),ae=n(79632),S=n(77171),J=n(47606);let Y=(()=>{var Ue;class ne extends S.XK{constructor(){super(...arguments),this.document=S.J1` 362 query HeaderSearchSuggestions( 363 $filter: SearchSuggestionsFilterInput! 364 $localization: LocalizationInput! 365 $skipTermSuggestions: Boolean = false 366 ) { 367 searchSuggestions(filter: $filter, localization: $localization) { 368 results { 369 ... on SearchCategory { 370 id 371 title 372 path { 373 id 374 } 375 } 376 ... on SearchEditorial { 377 id 378 summary 379 title 380 url 381 } 382 ... on SearchProduct { 383 id 384 defaultCategory { 385 id 386 title 387 path { 388 id 389 } 390 } 391 description 392 isNew 393 isNuron 394 isProKit @ftInclude(if: "ldt_storage_configurator_page") 395 isSpecial 396 performanceIndicator 397 thumbnail 398 title 399 type 400 rangeId 401 rankingLabels 402 batterySystems 403 } 404 } 405 suggestions @skip(if: $skipTermSuggestions) { 406 text 407 } 408 productRerankingModel 409 } 410 } 411 `}static#e=Ue=()=>(this.\u0275fac=(()=>{let q;return function(je){return(q||(q=J.xGo(ne)))(je||ne)}})(),this.\u0275prov=u.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"}))}return Ue(),ne})();var re=n(90826);function pe(Ue){return Ue?.length>=2}function De(Ue=[],ne=[],X=[]){return!!(Ue.length||ne.length||X.length)}function z(Ue,ne){if(!Ue)return"";let X=`${re.t.search}${encodeURIComponent(Ue)}`;return ne===N.SK&&(X=`${X}&rank=${N.SK}`),ne===N.Zs&&(X=`${X}&rank=${N.Zs}`),X}const ke=Ue=>Ue?`${re.t.searchEditorials}${encodeURIComponent(Ue)}`:"";function Qe(Ue){return Ue.results?.filter(ne=>"SearchProduct"===ne.__typename)||[]}function Ze(Ue){const{term:ne,rerankProducts:X}=Ue,q=function it(Ue){return Ue.results?.filter(ne=>"SearchCategory"===ne.__typename)||[]}(Ue),Te=function Re(Ue){return Ue.results?.filter(ne=>"SearchEditorial"===ne.__typename)||[]}(Ue);return{...Ue,categories:q,editorials:Te,products:Qe(Ue),hasSuggestions:De(q,Te,Ue?.suggestions),hasValidTerm:pe(ne),searchUrl:z(ne,X),searchBaseUrl:`/${M.w.BASE}`,searchParams:{text:Ue.term}}}let Ye=(()=>{var Ue;class ne{constructor(){this.searchTerm$=new l.m(1),this.loading$=new h.t(!1),this.searchSuggestionsGqlService=(0,u.WQX)(Y),this.envService=(0,u.WQX)(w.v),this.browserService=(0,u.WQX)(j.I),this.featureToggleService=(0,u.WQX)(H.I),this.rerankProducts=(0,u.WQX)(P.K).activeSearchRerankVersion,this.punchoutService=(0,u.WQX)(ae.as),this.searchSuggestions$=this.getSearchSuggestions$()}isBarcodeSupported(){return this.browserService.isMobile&&!this.featureToggleService.getToggleById("ldt_barcode_scanning_hidden")}getSearchTerm$(){return this.searchTerm$.asObservable()}isLoading$(){return this.loading$.asObservable()}updateSearchTerm(q){this.searchTerm$.next(q),this.loading$.next(pe(q))}getRerankingUrlParam(){const q=this.rerankProducts();return[N.SK,N.Zs].includes(q)?q:void 0}getSearchSuggestions$(){return this.searchTerm$.pipe((0,c.s)(q=>(0,T.O)(pe(q)?300:0)),(0,o.n)(q=>this.fetchSearchSuggestions$(q).pipe((0,D.T)(Te=>({...Te,term:q,rerankProducts:this.rerankProducts()})))),(0,D.T)(Ze),(0,D.T)(q=>
411({...q,searchParams:{...q.searchParams,rank:this.getRerankingUrlParam()}})),(0,g.M)(q=>this.loading$.next(!1)),(0,C.t)(1))}fetchSearchSuggestions$(q){return pe(q)?this.searchSuggestionsGqlService.fetch({variables:{localization:(0,I.a$)(this.envService),filter:{query:q,rerankProducts:!!this.rerankProducts()},skipTermSuggestions:this.punchoutService.hasProductRestrictions},context:this.getRequestContext()}).pipe((0,D.T)(({data:Te})=>Te.searchSuggestions),(0,v.W)(Te=>(0,E.of)(null))):(0,E.of)(null)}getRequestContext(){return this.rerankProducts()===N.Zs?{headers:{[x.i5]:N.pn}}:null}static#e=Ue=()=>(this.\u0275fac=function(Te){return new(Te||ne)},this.\u0275prov=u.jDH({token:ne,factory:ne.\u0275fac}))}return Ue(),ne})()},74256(ye,A,n){n.d(A,{a:()=>C});var u=n(25293),l=n(17988),h=n(90826),c=n(21357),T=n(11564),o=n(47606),D=n(99016);function g(v,E){if(1&v&&(o.j41(0,"a",0),o.EFF(1),o.nI1(2,"i18next"),o.k0s()),2&v){const M=o.XpG();o.Y8G("href",M.registrationRoute,o.B4B)("variant",M.buttonVariant),o.R7$(),o.SpI(" ",o.bMT(2,3,"header.account.completeRegistration")," ")}}let C=(()=>{var v;class E{constructor(){this.registrationRoute=h.t.accountRegistration,this.location=(0,l.WQX)(u.aZ).path(),this.buttonVariant="tertiaryFlyout"}set userData(N){this.isVisible=N.isLoggedIn&&!N.isRegistered&&!this.location.startsWith(this.registrationRoute)}static#e=v=()=>(this.\u0275fac=function(P){return new(P||E)},this.\u0275cmp=o.VBU({type:E,selectors:[["shrd-pf-ft-header-registration-button"]],inputs:{buttonVariant:"buttonVariant",userData:"userData"},decls:1,vars:1,consts:[["shrdUicButton","",1,"m-0",3,"href","variant"]],template:function(P,I){1&P&&o.nVh(0,g,3,5,"a",0),2&P&&o.vxM(I.isVisible?0:-1)},dependencies:[T._,c.E,D.ov],encapsulation:2,changeDetection:0}))}return v(),E})()},85174(ye,A,n){n.d(A,{R:()=>pe});var u=n(9042),l=n(96623),h=n(17988),c=n(47606),T=n(45873),o=n(48065),D=n(61130),g=n(61856),C=n(24406),v=n(75117),E=n(73472),M=n(30595),N=n(28509),P=n(77464),I=n(7359),x=n(94636),j=n(21357),w=n(97073),H=n(27556),ae=n(65319),S=n(10432),J=n(48282),Y=n(66376),re=n(1733),G=n(93612),ce=n(99016);let pe=(()=>{var De;class z{constructor(){if(this.autofocus=(0,l.hFB)(),this.iconSize=(0,l.hFB)("small"),this.loading=(0,l.hFB)(!1),this.ariaControls=(0,l.hFB)(),this.ariaExpanded=(0,l.hFB)(),this.usePreloader=(0,l.hFB)(!1),this.placeholderKey=(0,l.hFB)("header.search.placeholder"),this.focusChange=(0,l.CGW)(),this.displayedSearchTermChange=(0,l.CGW)(),this.ariaAutoCompleteList="list",this.iconsName=E.i,this.searchActionPath=`/${M.w.BASE}`,this.inputTypes=w.gN,this.searchTermMaximumLength=N.ax,this.searchField=(0,l.ebz)(H.q),this.minimumSearchTermLength=2,this.productBarcodeScannerModalLoaderService=(0,h.WQX)(x.p),this.suggestionService=(0,h.WQX)(I.OG),this.winRef=(0,h.WQX)(G.$),this.platform=(0,h.WQX)(J.f),this.analyticsService=(0,h.WQX)(ae.c),this.routerHelperService=(0,h.WQX)(re.T),this.activatedRoute=(0,h.WQX)(D.nX),this.destroyRef=(0,h.WQX)(h.abz),this.rerankProducts=(0,h.WQX)(P.K).activeSearchRerankVersion,this.prefixer=(0,h.WQX)(Y.of),this.isSPA=!(0,h.WQX)(S.v).hostContext,this.isBarcodeScannerEnabled=this.suggestionService.isBarcodeSupported(),this.searchTerm$=this.suggestionService.getSearchTerm$(),this.platform.isBrowser){const it=(0,o.ot)(this.activatedRoute.queryParams.pipe((0,C.T)(Re=>Re.text||"")));this.searchTerm=(0,T.EW)(()=>this.routerHelperService.finalUrl()?.startsWith(`/${M.w.BASE}`)&&it())}(0,c.mal)(()=>{this.resetOnRouteChange()}),(0,l.uEv)(()=>{this.searchTerm()&&(this.searchField()?.searchControl?.setValue(this.searchTerm(),{emitEvent:!1}),this.displayedSearchTermChange.emit(this.searchTerm()))})}get location(){return this.winRef.nativeWindow.location}onSearchAction(it){it?.length>=this.minimumSearchTermLength&&this.redirectToSearchPage(it)}updateSearchTerm(it){this.suggestionService.updateSearchTerm(it)}focus(){this.searchField().focus()}blur(){this.searchField().blur(!0)}onBarcodeScan(){this.analyticsService.sendLegacyEvent({category:"ProductInfo",action:"FindProducts",label:"OpenCamera|Search"}),this.productBarcodeScannerModalLoaderService.loadAndOpen()}trackSearchAction(it){const Re=it instanceof KeyboardEvent?"Enter":"Search Icon";this.searchTerm$.pipe((0,v.s)(1),(0,g.p)(Qe=>Qe.length>=this.minimumSearchTermLength)).subscribe(Qe=>{this.analyticsService.sendEvent("search",{search_term_typed:Qe,event_details:Re,event_method:"standard"}),this.analyticsService.storeData({navigationItem:"Search",navigationItemDetails:`SiteSearchStandard|${Qe}|${Re}`})})}onFocusChange(it){this.focusChange.emit(it),this.searchTerm()&&it&&this.updateSearchTerm(this.searchTerm())}resetOnRouteChange(){this.routerHelperService.activatedRoute$.pipe((0,g.p)(()=>!this.routerHelperService.finalUrl().startsWith(`/${M.w.BASE}`)),(0,o.pQ)(this.destroyRef)).subscribe(()=>this.searchField().reset())}redirectToSearchPage(it){const Re=(0,I.U7)(it,this.rerankProducts());this.isSPA?this.routerHelperService.router.navigateByUrl(Re):this.location.assign(this.prefixer.addLanguagePrefix(Re))}static#e=De=()=>(this.\u0275fac=function(Re){return new(Re||z)},this.\u0275cmp=c.VBU({type:z,selectors:[["shrd-pf-ft-search-input"]],viewQuery:function(Re,Qe){1&Re&&c.wEZ(Qe.searchField,H.q,5),2&Re&&c.NyB()},hostAttrs:[1,"shrd-pf-ft-search"],inputs:{autofocus:[1,"autofocus"],iconSize:[1,"iconSize"],loading:[1,"loading"],ariaControl
411s:[1,"ariaControls"],ariaExpanded:[1,"ariaExpanded"],usePreloader:[1,"usePreloader"],placeholderKey:[1,"placeholderKey"]},outputs:{focusChange:"focusChange",displayedSearchTermChange:"displayedSearchTermChange"},decls:7,vars:32,consts:[["method","get",3,"action"],["name","text","searchButtonType","submit","autocorrect","off","data-qa-id","headerSearchBar",1,"w-100",3,"barcodeScannerTriggered","valueChange","searchEventTriggered","searchTextChange","focusChange","inputId","role","autofocus","iconSize","isBarcodeScannerEnabled","barcodeScannerIcon","placeholder","barcodeTitle","buttonTitle","resetTitle","value","maxlength","restoreInitialStateOnEmptySearch","ariaAutoComplete","ariaControls","ariaExpanded","usePreloader","loading","type","preventSubmit","spellcheck"]],template:function(Re,Qe){1&Re&&(c.j41(0,"form",0)(1,"shrd-uic-search-field",1),c.nI1(2,"i18next"),c.nI1(3,"i18next"),c.nI1(4,"i18next"),c.nI1(5,"i18next"),c.nI1(6,"async"),c.bIt("barcodeScannerTriggered",function(){return Qe.onBarcodeScan()})("valueChange",function(Ye){return Qe.onSearchAction(Ye)})("searchEventTriggered",function(Ye){return Qe.trackSearchAction(Ye)})("searchTextChange",function(Ye){return Qe.updateSearchTerm(Ye)})("focusChange",function(Ye){return Qe.onFocusChange(Ye)}),c.k0s()()),2&Re&&(c.Y8G("action",Qe.searchActionPath,c.B4B),c.R7$(),c.Y8G("inputId","search")("role","combobox")("autofocus",Qe.autofocus())("iconSize",Qe.iconSize())("isBarcodeScannerEnabled",Qe.isBarcodeScannerEnabled)("barcodeScannerIcon",Qe.iconsName.CAMERA)("placeholder",c.bMT(2,22,Qe.placeholderKey()))("barcodeTitle",c.bMT(3,24,"header.search.inputButtons.barcode"))("buttonTitle",c.bMT(4,26,"header.search.inputButtons.search"))("resetTitle",c.bMT(5,28,"header.search.inputButtons.reset"))("value",c.bMT(6,30,Qe.searchTerm$))("maxlength",Qe.searchTermMaximumLength)("restoreInitialStateOnEmptySearch",!0)("ariaAutoComplete",Qe.ariaAutoCompleteList)("ariaControls",Qe.ariaControls())("ariaExpanded",Qe.ariaExpanded())("usePreloader",Qe.usePreloader())("loading",Qe.loading())("type",Qe.inputTypes.TEXT)("preventSubmit",!0)("spellcheck",!1))},dependencies:[H.q,j.E,ce.ov,u.Jj],styles:[".shrd-pf-ft-search{display:block;width:100%}.shrd-pf-ft-search input{background-color:transparent!important;color:#fff!important}.shrd-pf-ft-search input.form-control{border-top:none;border-right:none;border-bottom-color:#fff;border-left:none}.shrd-pf-ft-search input.form-control::placeholder{color:#fff}.shrd-pf-ft-search .form-control,.shrd-pf-ft-search .shrd-uic-svg-icon{transition:none}.shrd-pf-ft-search-popover:not(.has-focus) .shrd-uic-search-field-btn{color:#fff!important}.has-focus .shrd-pf-ft-search .form-control{border:0;background-color:#fff!important;color:#524f53!important}.has-focus .shrd-pf-ft-search .form-control::placeholder{color:#7d7565}.has-focus .shrd-pf-ft-search .form-control:focus,.has-focus .shrd-pf-ft-search .form-control:focus-visible{outline:none!important}\n"],encapsulation:2,changeDetection:0}))}return De(),z})()},35542(ye,A,n){n.d(A,{h:()=>P});var u=n(9042),l=n(17988),h=n(81950),c=n(11564),T=n(79168),o=n(93612),D=n(95337),g=n(47606);const C=I=>({"content-box py-1":I});function v(I,x){if(1&I&&g.EFF(0),2&I){const j=g.XpG().$implicit;g.E5c(" \xa0(",j.code,"/",j.base,"\xa0=\xa0",j.rate,")\u200e ")}}function E(I,x){1&I&&g.nrm(0,"shrd-uic-svg-icon",4)}function M(I,x){if(1&I){const j=g.RV6();g.j41(0,"button",2),g.bIt("click",function(){const H=l.eBV(j).$implicit,ae=g.XpG(2);return l.Njj(ae.onCurrencyChange(H))}),g.j41(1,"span",3),g.EFF(2),g.nVh(3,v,1,3),g.k0s(),g.nVh(4,E,1,0,"shrd-uic-svg-icon",4),g.k0s()}if(2&I){const j=x.$implicit,w=g.XpG();g.R7$(2),g.SpI(" ",j.code," "),g.R7$(),g.vxM(j.rate&&j.base?3:-1),g.R7$(),g.vxM(j===w.activeCurrency?4:-1)}}function N(I,x){if(1&I&&(g.j41(0,"div",0),g.Z7z(1,M,5,3,"button",1,g.fX1),g.k0s()),2&I){const j=g.XpG();g.Y8G("ngClass",g.eq3(1,C,j.inContentBox)),g.R7$(),g.Dyx(x.currencies)}}let P=(()=>{var I;class x{constructor(){this.menuState=(0,l.WQX)(D.S),this.currencyService=(0,l.WQX)(h.P),this.winRef=(0,l.WQX)(o.$),this.currencyConfig$=this.currencyService.getConfig$()}onCurrencyChange(w){this.currencyService.switchCurrency(w.code),this.menuState.closeAll(),this.winRef.nativeWindow.location.reload()}static#e=I=()=>(this.\u0275fac=function(H){return new(H||x)},this.\u0275cmp=g.VBU({type:x,selectors:[["shrd-pf-ft-select-currency"]],inputs:{inContentBox:"inContentBox"},decls:2,vars:3,consts:[[3,"ngClass"],["type","button","shrdUicButton","","variant","tertiaryFlyout",1,"w-100","m-0"],["type","button","shrdUicButton","","variant","tertiaryFlyout",1,"w-100","m-0",3,"click"],[1,"d-block","text-uppercase"],["icon","tick","size","small"]],template:function(H,ae){if(1&H&&(g.nVh(0,N,3,3,"div",0),g.nI1(1,"async")),2&H){let S;g.vxM((S=g.bMT(1,1,ae.currencyConfig$))?0:-1,S)}},dependencies:[u.YU,c._,T.D,u.Jj],encapsulation:2,changeDetection:0}))}return I(),x})()},29519(ye,A,n){n.d(A,{Q:()=>P});var u=n(25293),l=n(9042),h=n(96623),c=n(17988),T=n(11564),o=n(79168),D=n(29098),g=n(95337),C=n(47606);const v="{LNG}";let E=(()=>{var I;class x{transform(w,H){return H.replace(v,w)}static#e=I=()=>(this.\u0275fac=function(H){return new(H||x)},this.\u0275pipe=C.EJ8({name:"languageSwitchUrl",type:x,pure:!0}))}return I(),x})();function M(I,x){1&I&&C.nrm(0,"shrd-uic-svg-icon",2)}function N(I,x){if(1&I){const j=C.RV6();C.SS7(0),C.j41(1,"a",1),C.nI1(2,"languageSwitchUrl"),C.bIt("click",function(){const H=c.eBV(j).$implicit,ae=C.r8f(0),S=C.XpG();
411return c.Njj(S.switchLang(ae?null:H.language))}),C.j41(3,"span"),C.EFF(4),C.nI1(5,"titlecase"),C.k0s(),C.nVh(6,M,1,0,"shrd-uic-svg-icon",2),C.k0s()}if(2&I){const j=x.$implicit,w=C.XpG(),H=C.bH3(j.language===w.currentLanguage);C.R7$(),C.Y8G("href",C.i5U(2,6,j.language,w.hrefPath()),C.B4B)("hreflang",j.language),C.BMQ("rel",H?null:"alternate"),C.R7$(3),C.JRh(C.bMT(5,9,j.label)),C.R7$(2),C.vxM(H?6:-1)}}let P=(()=>{var I;class x{constructor(){this.inContentBox=(0,h.hFB)(!1),this.hrefPath=(0,c.vPA)(""),this.langService=(0,c.WQX)(D.z),this.menuState=(0,c.WQX)(g.S),this.location=(0,c.WQX)(u.aZ),this.currentLanguage=this.langService.activeLanguage.language,this.availableLanguages=this.langService.languages}ngOnInit(){this.location.onUrlChange(w=>this.hrefPath.set(this.addLangPlaceholder(w))),this.hrefPath.set(this.addLangPlaceholder(this.location.path()))}switchLang(w){return w&&(this.langService.switchLanguage(w),this.menuState.closeAll()),!!w}addLangPlaceholder(w){w=this.location.normalize(w);const H=new RegExp(String.raw`^(/|/content/hilti/\w{2}/[A-Z]{2}/)${this.currentLanguage}((?:/.*)?(?:[?#].*)?)$`);return w.match(H)?w.replace(H,`$1${v}$2`):`/${v}${w}`}static#e=I=()=>(this.\u0275fac=function(H){return new(H||x)},this.\u0275cmp=C.VBU({type:x,selectors:[["shrd-pf-ft-select-language"]],inputs:{inContentBox:[1,"inContentBox"]},decls:3,vars:2,consts:[["shrdUicButton","","variant","tertiaryFlyout",1,"w-100","m-0",3,"href","hreflang"],["shrdUicButton","","variant","tertiaryFlyout",1,"w-100","m-0",3,"click","href","hreflang"],["icon","tick","size","small"]],template:function(H,ae){1&H&&(C.j41(0,"div"),C.Z7z(1,N,7,11,"a",0,C.fX1),C.k0s()),2&H&&(C.HbH(ae.inContentBox()?"content-box py-1":""),C.R7$(),C.Dyx(ae.availableLanguages))},dependencies:[T._,o.D,l.PV,E],encapsulation:2,changeDetection:0}))}return I(),x})()},37957(ye,A,n){n.d(A,{M:()=>P});var u=n(17988),l=n(47606),h=n(73472),c=n(87906),T=n(21357),o=n(11564),D=n(18146),g=n(79168),C=n(65815),v=n(99016);function E(I,x){if(1&I){const j=l.RV6();l.j41(0,"div",4)(1,"button",8),l.bIt("click",function(){u.eBV(j);const H=l.XpG(2);return u.Njj(H.onToggleAccountSelection(!0))}),l.nrm(2,"shrd-uic-svg-icon",7),l.j41(3,"span"),l.EFF(4),l.nI1(5,"i18next"),l.k0s()(),l.nrm(6,"shrd-uic-preloader",9),l.k0s()}if(2&I){const j=l.XpG(2);l.R7$(2),l.Y8G("icon",j.iconSet.TRANSFER),l.R7$(2),l.JRh(l.bMT(5,3,"header.account.switchAccount")),l.R7$(2),l.Y8G("active",null===j.canSwitchAccount)}}function M(I,x){if(1&I&&(l.j41(0,"div",1),l.nVh(1,E,7,5,"div",4),l.j41(2,"div",5)(3,"shrd-pf-ft-header-user-logout",6),l.nrm(4,"shrd-uic-svg-icon",7),l.j41(5,"span"),l.EFF(6),l.nI1(7,"i18next"),l.k0s()()()()),2&I){const j=l.XpG();l.R7$(),l.vxM(!1!==j.canSwitchAccount?1:-1),l.R7$(3),l.Y8G("icon",j.iconSet.MOVE_TO),l.R7$(2),l.JRh(l.bMT(7,3,"header.account.logout"))}}function N(I,x){if(1&I){const j=l.RV6();l.j41(0,"button",10),l.bIt("click",function(){u.eBV(j);const H=l.XpG();return u.Njj(H.onToggleAccountSelection(!1))}),l.nrm(1,"shrd-uic-svg-icon",11),l.j41(2,"span"),l.EFF(3),l.nI1(4,"i18next"),l.k0s()()}if(2&I){const j=l.XpG();l.R7$(),l.Y8G("icon",j.iconSet.ARROW_LEFT),l.R7$(2),l.JRh(l.bMT(4,2,"common.label.button.back"))}}let P=(()=>{var I;class x{constructor(){this.omitUserTitle=!1,this.isMobileLayout=!1,this.toggleAccountSelection=new l.bkB,this.showAccountList=(0,u.vPA)(!1),this.iconSet=h.i}setAccountState(w){this.showAccountList.set(w)}onToggleAccountSelection(w){this.showAccountList.set(w),this.toggleAccountSelection.emit(w)}static#e=I=()=>(this.\u0275fac=function(H){return new(H||x)},this.\u0275cmp=l.VBU({type:x,selectors:[["shrd-pf-ft-header-user-account-wrapper"]],inputs:{userAccount:"userAccount",omitUserTitle:"omitUserTitle",canSwitchAccount:"canSwitchAccount",isMobileLayout:"isMobileLayout",role:"role"},outputs:{toggleAccountSelection:"toggleAccountSelection"},decls:5,vars:6,consts:[[1,"px-5","px-md-2"],[1,"row"],[3,"userAccount","omitUserTitle","accountIsSelectable","isMobileLayout","role"],["type","button","shrdUicButton","","variant","tertiary",1,"m-0"],[1,"position-relative","bg-neutral-megalight","ms-md-0"],[1,"ms-md-0"],["buttonVariant","tertiary","buttonClasse
411s","m-0 bl-h-3"],["size","small",3,"icon"],["type","button","shrdUicButton","","variant","tertiary",1,"m-0","bl-h-3",3,"click"],["immediate","","size","x-small",3,"active"],["type","button","shrdUicButton","","variant","tertiary",1,"m-0",3,"click"],[3,"icon"]],template:function(H,ae){1&H&&(l.j41(0,"div",0)(1,"div",1),l.nrm(2,"shrd-pf-ui-header-user-info-button",2),l.k0s(),l.nVh(3,M,8,5,"div",1)(4,N,5,4,"button",3),l.k0s()),2&H&&(l.R7$(2),l.Y8G("userAccount",ae.userAccount)("omitUserTitle",ae.omitUserTitle)("accountIsSelectable",!1)("isMobileLayout",ae.isMobileLayout)("role",ae.role),l.R7$(),l.vxM(ae.showAccountList()?4:3))},dependencies:[g.D,T.E,o._,c.A,C.i,D.s,v.ov],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;flex:1}"],changeDetection:0}))}return I(),x})()},65815(ye,A,n){n.d(A,{i:()=>g});var u=n(96623),l=n(17988),h=n(11564),c=n(65319),T=n(53156),o=n(47606);const D=["*"];let g=(()=>{var C;class v{constructor(){this.buttonVariant=(0,u.hFB)(),this.buttonClasses=(0,u.hFB)(),this.logoutLabel=(0,u.hFB)(),this.logoutInProgress=(0,l.vPA)(!1),this.configService=(0,l.WQX)(T.r),this.analyticsService=(0,l.WQX)(c.c)}doLogout(){this.logoutInProgress.set(!0),this.analyticsService.sendLegacyEvent({action:"Account",category:"UserAccountFlyout",label:"Logout"}),this.configService.logoutUser$().subscribe({error:M=>{this.logoutInProgress.set(!1)}})}static#e=C=()=>(this.\u0275fac=function(N){return new(N||v)},this.\u0275cmp=o.VBU({type:v,selectors:[["shrd-pf-ft-header-user-logout"]],inputs:{buttonVariant:[1,"buttonVariant"],buttonClasses:[1,"buttonClasses"],logoutLabel:[1,"logoutLabel"]},ngContentSelectors:D,decls:2,vars:4,consts:[["type","button","shrdUicButton","",3,"click","disabled","variant"]],template:function(N,P){1&N&&(o.NAR(),o.j41(0,"button",0),o.bIt("click",function(){return P.doLogout()}),o.SdG(1),o.k0s()),2&N&&(o.HbH(P.buttonClasses()),o.Y8G("disabled",P.logoutInProgress())("variant",P.buttonVariant()))},dependencies:[h._],encapsulation:2,changeDetection:0}))}return C(),v})()},82519(ye,A,n){n.d(A,{b:()=>o});var u=n(17988),l=n(48282),h=n(47606);const c=["shrd-pf-ft-user-slide",""],T=["*"];let o=(()=>{var D;class g{constructor(){this.slideEnabled=!1,this.animateLabel=(0,u.vPA)(!1),this.shouldAnimate=(0,u.WQX)(l.f).isBrowser&&!g.labelAnimated}onAnimationEnd(){this.animateLabel.set(!1)}ngOnChanges(){const v=this.shouldAnimate&&this.slideEnabled;g.labelAnimated||=v,this.animateLabel.set(v)}static#e=D=()=>(this.labelAnimated=!1,this.\u0275fac=function(E){return new(E||g)},this.\u0275cmp=h.VBU({type:g,selectors:[["","shrd-pf-ft-user-slide",""]],hostVars:2,hostBindings:function(E,M){1&E&&h.bIt("animationend",function(){return M.onAnimationEnd()}),2&E&&h.AVh("user-slide-in",M.animateLabel())},inputs:{slideEnabled:"slideEnabled"},features:[h.OA$],attrs:c,ngContentSelectors:T,decls:1,vars:0,template:function(E,M){1&E&&(h.NAR(),h.SdG(0))},styles:[".user-slide-in[_nghost-%COMP%]{opacity:0;animation:_ngcontent-%COMP%_fade-slide-in-ani forwards .25s ease-out .1s}@keyframes _ngcontent-%COMP%_fade-slide-in-ani{0%{opacity:0;max-width:0}to{opacity:1}}"],changeDetection:0}))}return D(),g})()},341(ye,A,n){n.d(A,{R:()=>Ue});var u=n(9042),l=n(17988),h=n(48065),c=n(99016),T=n(76552),o=n(61643),D=n(42673),g=n(11564),C=n(21855),v=n(10409),E=n(18146),M=n(65377),N=n(79168),P=n(51596),I=n(96178),x=n(87615),j=n(13800),w=n(95337),H=n(19401),ae=n(82519),S=n(47606),J=n(64838),Y=n(72268),re=n(34468),G=n(1018);const ce=()=>[Promise.all([n.e(4292),n.e(2076),n.e(9578)]).then(n.bind(n,9578)).then(ne=>ne.UserSuggestedActionsInfoboxComponent)],pe=(ne,X)=>({"opacity-transition":ne,"opacity-0":X}),De=()=>({event_method:"top menu"});function z(ne,X){1&ne&&S.nrm(0,"shrd-uic-svg-icon",6),2&ne&&S.Y8G("icon","profile")("inheritColor",!0)}function ke(ne,X){if(1&ne){const q=S.RV6();S.j41(0,"shrd-pf-ft-user-suggested-actions-infobox",8),S.bIt("closeInfoBox",function(){l.eBV(q),S.XpG(2);const je=S.sdS(1);return l.Njj(je.close())}),S.k0s()}}function it(ne,X){1&ne&&S.nrm(0,"shrd-uic-fade-preloader",9)}function Re(ne,X){if(1&ne&&(S.j41(0,"shrd-uic-flyout-body",7),S.PeT(1,ke,1,0)(2,it,1,0),S.nv$(3,1,ce,2),S.k0s()),2&ne){const q=S.XpG(2);S.Y8G("hasGrid",!1)("scrollbarEnabled",!1),S.R7$(3),S.LVR(q.canShowInfobox())}}
411function Qe(ne,X){if(1&ne){const q=S.RV6();S.j41(0,"a",4,0),S.bIt("click",function(){l.eBV(q);const je=S.XpG();return l.Njj(je.loggedInButtonClicked())}),S.j41(2,"span",5),S.EFF(3),S.nI1(4,"i18next"),S.k0s(),S.nVh(5,z,1,2,"shrd-uic-svg-icon",6),S.k0s(),S.DNE(6,Re,5,3,"ng-template",null,1,S.C5r)}if(2&ne){const q=S.sdS(7),Te=S.XpG();S.Y8G("variant","tertiaryMinorBorderless")("ngbPopover",q)("autoPosFixedWidth",!0)("placeInStickyParent",!0)("showWhiteArrow",!0)("openOnClick",!1)("href",Te.loginUrl(),S.B4B)("eventType","login_started")("shrdUtcTrackEvent",S.lJ4(14,De)),S.R7$(2),S.Y8G("hidden",Te.userData.isLoading),S.R7$(),S.SpI(" ",S.bMT(4,12,"header.account.login")," "),S.R7$(2),S.vxM(Te.showProfileIcon?5:-1)}}function Ze(ne,X){1&ne&&S.eu8(0)}function Ye(ne,X){if(1&ne&&S.DNE(0,Ze,1,0,"ng-container",10),2&ne){const q=S.XpG();S.Y8G("ngTemplateOutlet",q.loggedUserTemplateRef)}}let Ue=(()=>{var ne;class X{constructor(){this.showProfileIcon=!0,this.inMobileHeader=!1,this.canShowInfobox=(0,l.vPA)(!1),this.loginUrl=(0,l.WQX)(T.z).loginUrl,this.destroyRef=(0,l.WQX)(l.abz),this.userService=(0,l.WQX)(o.M),this.suggestedActionsService=(0,l.WQX)(H.r4),this.stateService=(0,l.WQX)(w.S),this.breakpointService=(0,l.WQX)(I.d)}ngOnInit(){this.suggestedActionsService.isInfoBoxAvailable$.subscribe(Te=>{const je=Te&&this.breakpointService.isWithinMinBound(x.EA.MD)&&!this.suggestedActionsService.disableMobileInfoBox;this.canShowInfobox.set(je),je&&this.openDesktopSuggestedActionsInfobox()})}ngAfterContentInit(){this.stateService.close$.pipe((0,h.pQ)(this.destroyRef)).subscribe(()=>this.flyout?.close())}loggedInButtonClicked(){this.userService.setLoadingState()}openDesktopSuggestedActionsInfobox(){setTimeout(()=>this.flyout.open())}static#e=ne=()=>(this.\u0275fac=function(je){return new(je||X)},this.\u0275cmp=S.VBU({type:X,selectors:[["shrd-pf-ft-user-wrapper"]],viewQuery:function(je,Fe){if(1&je&&S.GBs(v.fA,5),2&je){let we;S.mGM(we=S.lsd())&&(Fe.flyout=we.first)}},inputs:{loggedUserTemplateRef:"loggedUserTemplateRef",showProfileIcon:"showProfileIcon",userData:"userData",inMobileHeader:"inMobileHeader"},decls:4,vars:6,consts:[["flyout","shrdUicFlyout"],["infoBoxAnonymousUser",""],["immediate","","size","x-small",1,"invert",3,"active"],["ngSkipHydration","",3,"ngClass"],["shrdUicButton","","shrdUtcMaintenanceMode","","shrdUicFlyout","",1,"my-0","login-link","meta-nav-item","text-light",3,"click","variant","ngbPopover","autoPosFixedWidth","placeInStickyParent","showWhiteArrow","openOnClick","href","eventType","shrdUtcTrackEvent"],["shrdPfUiMaxWidth","","shrd-pf-ft-user-slide","",1,"visually-hidden-sm-down","no-truncate",3,"hidden"],[3,"icon","inheritColor"],[1,"desktop-sign-in-version","py-1","bl-min-h-6",3,"hasGrid","scrollbarEnabled"],[3,"closeInfoBox"],["size","small"],[4,"ngTemplateOutlet"]],template:function(je,Fe){1&je&&(S.nrm(0,"shrd-uic-preloader",2),S.j41(1,"shrd-pf-ui-meta-nav-item",3),S.nVh(2,Qe,8,15)(3,Ye,1,1,"ng-container"),S.k0s()),2&je&&(S.Y8G("active",!!Fe.userData.isLoading),S.R7$(),S.Y8G("ngClass",S.l_i(3,pe,Fe.inMobileHeader,Fe.userData.isLoading&&Fe.inMobileHeader)),S.R7$(),S.vxM(Fe.userData.isLoggedIn?3:2))},dependencies:[g._,M.e,C.G,v.fA,J.T,Y.ZM,D.U,re.b,G.m,j.s,u.YU,u.T3,E.s,N.D,P.f,ae.b,c.ov],styles:["[_nghost-%COMP%]{position:relative}@media (min-width: 1024px){[_nghost-%COMP%] .preloader[_ngcontent-%COMP%]{inset-inline-start:unset;inset-inline-end:1.875rem;--lod-h-position: calc(100% - .9375rem) }}.header-meta-nav-mobile-wrapper[_nghost-%COMP%] .login-link[_ngcontent-%COMP%], .header-meta-nav-mobile-wrapper [_nghost-%COMP%] .login-link[_ngcontent-%COMP%]{margin-top:0;height:2.75rem}:root[dir=ltr] .header-meta-nav-mobile-wrapper[_nghost-%COMP%] .login-link[_ngcontent-%COMP%], .header-meta-nav-mobile-wrapper [_nghost-%COMP%] .login-link[_ngcontent-%COMP%]{justify-content:flex-end}:root[dir=rtl] .header-meta-nav-mobile-wrapper[_nghost-%COMP%] .login-link[_ngcontent-%COMP%], .header-meta-nav-mobile-wrapper [_nghost-%COMP%] .login-link[_ngcontent-%COMP%]{justify-content:flex-start}@media (min-width: 1024px){.header-meta-nav-mobile-wrapper[_nghost-%COMP%] .login-link[_ngcontent-%COMP%], .header-meta-nav-mobile-wrapper [_nghost-%COMP%] .login-link[_ngcontent-%COMP%]{height:2.0625rem}}
411.burger-menu-wrapper[_nghost-%COMP%] .login-link[_ngcontent-%COMP%], .burger-menu-wrapper [_nghost-%COMP%] .login-link[_ngcontent-%COMP%]{margin:0;font-size:.9375rem;line-height:1.375rem}.desktop-sign-in-version[_ngcontent-%COMP%]{width:fit-content;min-width:31.25rem}@media (min-width: 1024px){.desktop-sign-in-version[_ngcontent-%COMP%]{max-width:90vw}}@media (min-width: 1440px){.desktop-sign-in-version[_ngcontent-%COMP%]{max-width:70vw}}"],changeDetection:0}))}return ne(),X})()},26158(ye,A,n){n.d(A,{OH:()=>c,bK:()=>h,py:()=>T,t6:()=>o,z0:()=>l});var u=n(50121);const l=[u.vG.ORDERS,u.vG.CART,u.vG.LANG,u.vG.CURRENCY,u.vG.CONTACT],h=[u.vG.LANG,u.vG.CONTACT];var c=function(D){return D.SELF_SERVICE="selfService",D.CALL_US="callUs",D.CALL_BACK="letUsCallYou",D.LIVE_CHAT="liveChat",D.SEND_MESSAGE="sendMessage",D.FIND_STORE="findStore",D}(c||{});const T=[c.SELF_SERVICE,c.CALL_US,c.CALL_BACK,c.LIVE_CHAT,c.SEND_MESSAGE,c.FIND_STORE],o={"#contact":c.CALL_US,"#overlay/contact":c.CALL_US,"#overlay/contact/callus":c.CALL_US,"#overlay/contact/callback":c.CALL_BACK,"#overlay/contact/livechat":c.LIVE_CHAT,"#overlay/contact/selfservice":c.SELF_SERVICE,"#overlay/contact/sendmessage":c.SEND_MESSAGE}},40704(ye,A,n){n.d(A,{Q:()=>u});const u=1e4},30661(ye,A,n){n.d(A,{Oi:()=>h,PU:()=>u,VO:()=>l,X6:()=>T,dv:()=>c});const u=9999,l=5,h={id:"cnc-tooltip"},c="cncTooltip",T=1728e5},93488(ye,A,n){n.d(A,{Bn:()=>l,Ls:()=>u,ot:()=>h});const u="ldt_show_live_chat_on_page_load",l="ldt_cnc_weblate",h="ldt_smart_app_banner"},75955(ye,A,n){n.d(A,{OV:()=>o,QE:()=>c,mc:()=>h});var u=n(73472),l=n(2721);const h="pf";var c=function(D){return D.TPM="usr-lnk-tpm",D.FINHUB="usr-lnk-finhub",D.PROFILE="usr-link-profile",D.ORDERS="usr-link-orders",D.TOOL_MANAGEMENT="usr-link-tool-management",D.FLEET_MANAGEMENT="usr-link-fleet-management",D.SUBSCRIPTIONS="usr-link-subscriptions",D.ACCOUNT="usr-link-account",D.PERSONAL_ACCOUNT="usr-link-personal-account",D.COMPANY_ACCOUNT="usr-link-company-account",D.FAVORITES="usr-link-favorites",D.NOTIFICATIONS="usr-link-notifications",D}(c||{});const T="header.user.tabsNames",o=[{id:l.M.SELF_SERVICE,labelKey:`${T}.selfService`,linkSections:[{id:l.J.ORDERS,icon:u.i.TRUCK},{id:l.J.TOOL_MANAGEMENT,icon:u.i.TOOL},{id:l.J.FLEET_MANAGEMENT,icon:u.i.FLEET},{id:l.J.SUBSCRIPTIONS,icon:u.i.SUBSCRIPTION}]},{id:l.M.ACCOUNT_FAVORITES,labelKey:`${T}.accountFavorites`,linkSections:[{id:l.J.PERSONAL_ACCOUNT,icon:u.i.PROFILE},{id:l.J.COMPANY_ACCOUNT,icon:u.i.COMPANY},{id:l.J.FAVORITES,icon:u.i.FAVORITE_HEART}]},{id:l.M.NOTIFICATIONS,labelKey:`${T}.notifications`,linkSections:[{id:l.J.NOTIFICATIONS,icon:u.i.BELL}]}]},53156(ye,A,n){n.d(A,{r:()=>J});var u=n(17988),l=n(99016),h=n(11640),c=n(870),T=n(13901),o=n(69488),D=n(79746),g=n(24406),C=n(21082),v=n(73472),E=n(76552),M=n(60371),N=n(81950),P=n(85150),I=n(90826),x=n(50121),j=n(10432),w=n(86493),H=n(88880),ae=n(26158),S=n(29098);let J=(()=>{var Y;class re{constructor(){this.isCompressed$=(0,u.WQX)(H.x).isCompressedPageLayout$,this.envService=(0,u.WQX)(j.v),this.currencyService=(0,u.WQX)(N.P),this.languageService=(0,u.WQX)(S.z),this.oauthService=(0,u.WQX)(E.z),this.i18next=(0,u.WQX)(l.ov),this.userContext=(0,u.WQX)(M.i)}get metaNavConfig$(){const ce=(0,h.z)([this.getMetaLink$(),this.isCompressed$]).pipe((0,D.F)(w.Zm));return(0,c.h)(ce,this.userContext.update$().pipe((0,C.n)(pe=>(0,P.TM)(pe)?ce:o.t))).pipe((0,g.T)(([pe,De])=>{const z=(0,w.cI)(this.getMetaItemsBasedOnUserRole(pe),ae.z0);return[z,(De?ae.bK:ae.z0).map(ke=>z[ke]).filter(Boolean)]}))}logoutUser$(){return this.oauthService.logoutUser$()}getMetaItemsBasedOnUserRole(ce){return Object.keys(ce).reduce((pe,De)=>({...pe,...!ce[De].excludeOnRole?.(this.userContext)&&{[De]:ce[De]}}),{})}getMetaLink$(){return(0,h.z)([(0,T.of)(this.getMetaLinks()),this.currencyService.getConfig$(),this.languageService.currentLanguage$]).pipe((0,g.T)(([ce,{activeCurrency:pe}])=>({...ce,...this.languageService.getLanguageLink(),...this.getCurrencyLink(pe)})))}getMetaLinks(){return{[x.vG.ORDERS]:{title:this.i18next.transform("header.meta.orders"),icon:v.i.TRUCK,menuType:x.vG.ORDERS,trackingName:"Orders",url:I.t.orders,excludeOnRole:ce=>ce.isEVoucherBackofficeUser||(0,P.TM)(ce.getData())},[x.vG.CONTACT]:{title:this.i18next.transform("header.meta.contact"),icon:v.i.CONTACT,menuType:x.vG.CONTACT,trackingName:"Contact"},[x.vG.CART]:{title:this.i18next.transform("header.meta.cart"),menuType:x.vG.CART,trackingName:"Cart",url:I.t.cart,excludeOnRole:ce=>ce.isEVoucherBackofficeUser}}}getCurrencyLink(ce){return ce&&(ce.name=ce.code),this.envService.hasSelectableCurrencies?{[x.vG.CURRENCY]:{title:this.i18next.transform("header.meta."+(ce.rate?"currency":"currencyCodeOnly"),ce),titleShort:ce.rate?this.i18next.transform("header.meta.currencyShort",ce):ce.code,headerLabel:this.i18next.transform("header.meta.currencyHeaderLabel"),menuType:x.vG.CURRENCY,icon:v.i.CURRENCY,trackingName:"Currency"}}:{}}static#e=Y=()=>(this.\u0275fac=function(pe){return new(pe||re)},this.\u0275prov=u.jDH({token:re,factory:re.\u0275fac,providedIn:"root"}))}return Y(),re})()},24143(ye,A,n){n.d(A,{V:()=>h,w:()=>c});var u=n(17988),l=n(65319);const h="header_user_account_promo";let c=(()=>{var T;class o{constructor(){this.analyticsService=(0,u.WQX)(l.c)}storeNavigationData(g,C){this.analyticsService.storeData({navigationItem:g,navigationItemDetails:C})}trackPromotionView(g,C){this.analyticsService.trackEcommerceEvent("view_promotion",{items:[{promotion_name:C,promotion_id:`${h}_${g}`,creative_name:h,creative_slot:0}]})}trackPromotionClick(g,C,v){this.analyticsService.trackEcommerceEvent("select_promotion",{promotion_name:C,promotion_id:`${h}_${g}`,creative_name:h,promotion_cta:v,items:[{item_name:C,item_id:`${h}_${g}`,creative_slot:0,item_category:void 0,item_category2:void 0,item_category4:void 0}]})}static#e=T=()=>(this.\u0275fac=function(C){return new(C||o)},this.\u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}))}return T(),o})()},29098(ye,A,n){n.d(A,{z:()=>D});var u=n(17988),l=n(99016),h=n(95536),c=n(73472),T=n(50121),o=n(10432);let D=(()=>{var g;class C{constructor(){this.envService=(0,u.WQX)(o.v),this.i18next=(0,u.WQX)(l.ov),this.languageSubject=ne
411w h.t(this.envService.language)}get languages(){return this.envService.availableLanguages}get currentLanguage$(){return this.languageSubject.asObservable()}get activeLanguage(){return this.languages.find(({language:E})=>E===this.languageSubject.value)}get hasManyLanguages(){return this.languages.length>1}switchLanguage(E){this.languageSubject.next(E)}getLanguageLink(){return this.hasManyLanguages?{[T.vG.LANG]:{title:this.i18next.transform("header.meta.language",{code:this.languageSubject.value}),titleShort:this.activeLanguage.language,headerLabel:this.i18next.transform("header.meta.languageHeaderLabel"),menuType:T.vG.LANG,icon:c.i.WORLD,trackingName:"Language"}}:{}}static#e=g=()=>(this.\u0275fac=function(M){return new(M||C)},this.\u0275prov=u.jDH({token:C,factory:C.\u0275fac,providedIn:"root"}))}return g(),C})()},95337(ye,A,n){n.d(A,{S:()=>x});var u=n(17988),l=n(48065),h=n(61130),c=n(81502),T=n(95536),o=n(47066),D=n(870),g=n(69488),C=n(79746),v=n(61856),E=n(24406),M=n(99473),N=n(11135),P=n(48282),I=n(93612);let x=(()=>{var j;class w{constructor(){this.stateSubject=new T.t({}),this.closeSubject=new c.B,(0,u.WQX)(P.f).isBrowser&&this.subscribeToNavigation()}get state$(){return this.stateSubject.asObservable()}get state(){return this.stateSubject.value}get close$(){return this.closeSubject.asObservable()}setState(ae){this.stateSubject.next(ae||{})}openMenu(ae){this.closeAll(),this.setState(ae),this.setState(null)}closeAll(){this.closeSubject.next()}subscribeToNavigation(){const ae=(0,u.WQX)(I.$).nativeWindow;(0,D.h)("NavigationDestination"in ae?(0,o.R)(ae.navigation,"navigate").pipe((0,v.p)(S=>!S.destination.sameDocument)):g.t,(0,u.WQX)(h.Ix).events.pipe((0,M.i)(1),(0,v.p)(S=>S instanceof h.Z&&"imperative"===S.navigationTrigger||S instanceof h.lW),(0,E.T)(S=>S instanceof h.Z?(0,N.Jf)(S.url):Math.random()),(0,C.F)())).pipe((0,l.pQ)()).subscribe(()=>{this.closeAll(),this.setState(null)})}static#e=j=()=>(this.\u0275fac=function(S){return new(S||w)},this.\u0275prov=u.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}))}return j(),w})()},32286(ye,A,n){n.d(A,{p:()=>x});var u=n(17988),l=n(95536),h=n(75117),c=n(24406),T=n(68713),o=n(13901),D=n(11640),g=n(60371),C=n(77171),v=n(47606);let E=(()=>{var j;class w extends C.XK{constructor(){super(...arguments),this.document=C.J1` 412 query HasNotifications { 413 hasNotifications 414 } 415 `}static#e=j=()=>(this.\u0275fac=(()=>{let ae;return function(J){return(ae||(ae=v.xGo(w)))(J||w)}})(),this.\u0275prov=u.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}))}return j(),w})(),M=(()=>{var j;class w extends C.XK{constructor(){super(...arguments),this.document=C.J1` 416 query NotificationsState { 417 notificationsState { 418 latestNotificationCreatedAt 419 notificationsCount 420 } 421 } 422 `}static#e=j=()=>(this.\u0275fac=(()=>{let ae;return function(J){return(ae||(ae=v.xGo(w)))(J||w)}})(),this.\u0275prov=u.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}))}return j(),w})();var N=n(48282),P=n(11167),I=n(30661);let x=(()=>{var j;class w{constructor(){this.hasLoadingError$=new l.t(!1),this.markedAsRead$=new l.t(!1),this.highlightTab$=new l.t(!1),this.hasNotificationsGql=(0,u.WQX)(E),this.notificationsStateGql=(0,u.WQX)(M),this.userContext=(0,u.WQX)(g.i),this.storageService=(0,u.WQX)(P.n$),this.isServer=(0,u.WQX)(N.f).isServer,this.hasNotifications$=this.getHasNotifications$(),this.notificationsState$=this.getNotificationsState$()}markNotificationsRead(){this.markedAsRead$.next(!0),this.markedAsRead$.complete()}setTooltipState(){this.notificationsState$.pipe((0,h.s)(1)).subscribe(ae=>{this.storageService.setItem(I.dv,{expires:Date.now()+I.X6,latestNotificationCreatedAt:ae.latestNotificationCreatedAt})})}highlightTab(ae){this.highlightTab$.next(ae)}getTooltipState(ae){const S=this.storageService.getItem(I.dv),J=!S||Date.now()>S.expires,Y=!S||new Date(ae?.latestNotificationCreatedAt).getTime()>new Date(S.latestNotificationCreatedAt).getTime(),re=ae?.notificationsCount>0&&(J||Y);return re&&this.storageService.removeItem(I.dv),re}getHasNotifications$(){return this.userContext.isCustomer&&!this.isServer?this.hasNotificationsGql.fetch().pipe((0,c.T)(({data:ae})=>ae.hasNotifications),(0,T.W)(ae=>(0,o.of)(!1))):(0,o.of)(!1)}
422getNotificationsState$(){if(this.isServer||!this.userContext.isCustomer)return(0,o.of)({});const ae=this.notificationsStateGql.fetch().pipe((0,c.T)(({data:S})=>S.notificationsState),(0,T.W)(S=>(0,o.of)({})));return(0,D.z)([ae,this.markedAsRead$,this.highlightTab$]).pipe((0,c.T)(([S,J,Y])=>(S={...S,showTooltip:this.getTooltipState(S),highlightTab:Y},J&&(S={...S,notificationsCount:0}),S)))}static#e=j=()=>(this.\u0275fac=function(S){return new(S||w)},this.\u0275prov=u.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}))}return j(),w})()},19401(ye,A,n){n.d(A,{r4:()=>Ye});var u=n(17988),l=n(48065),h=n(61130),c=n(95536),T=n(87256),o=n(61856),D=n(21082),g=n(61969),C=n(24406),v=n(68713),E=n(13901),M=n(79746),N=n(35733),P=n(60371),I=n(68214),x=n(78440),j=n(26278),w=n(77171),H=n(47606);let ae=(()=>{var Ue;class ne extends w.XK{constructor(){super(...arguments),this.document=w.J1` 423 query HiltiOnlineCountries($localization: LocalizationInput!) { 424 hiltiOnlineCountries(localization: $localization) { 425 id 426 name(localization: $localization) 427 hiltiOnlineDomain 428 } 429 } 430 `}static#e=Ue=()=>(this.\u0275fac=(()=>{let q;return function(je){return(q||(q=H.xGo(ne)))(je||ne)}})(),this.\u0275prov=u.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"}))}return Ue(),ne})();var S=n(54786),J=n(57388),Y=n(65319),re=n(96178),G=n(99728),ce=n(10432),pe=n(93003),De=n(11135),z=n(60974),ke=n(48282),it=n(11167);const Re="suggestedActionsInfoBoxHasBeenShown",Qe="suggestedActionsNavigationCount";let Ye=(()=>{var Ue;class ne{constructor(){this.disableMobileInfoBox=!1,this.isInfoBoxAvailableSubject=new c.t(!1),this.analyticsService=(0,u.WQX)(Y.c),this.environmentService=(0,u.WQX)(ce.v),this.featureToggleService=(0,u.WQX)(pe.I),this.userContextService=(0,u.WQX)(P.i),this.isBrowser=(0,u.WQX)(ke.f).isBrowser,this.proposeCountryLocationGqlService=(0,u.WQX)(j.f),this.countryListGqlService=(0,u.WQX)(ae),this.modalService=(0,u.WQX)(S.B),this.storageService=(0,u.WQX)(it.n$),this.consentStatusService=(0,u.WQX)(G.o),this.maintenanceModeService=(0,u.WQX)(z.s),this.router=(0,u.WQX)(h.Ix),this.destroyRef=(0,u.WQX)(u.abz),this.breakpointService=(0,u.WQX)(re.d),this.proposeCountryLocationEnabled=this.featureToggleService.getToggleById(I.s5),this.countryLocationModalEnabled=this.featureToggleService.getToggleById(I.gQ),this.isInfoBoxAvailable$=this.isInfoBoxAvailableSubject.asObservable(),this.initializeSuggestedActionsInfobox()}setInfoBoxShownOnCurrentSessionKey(){this.storageService.setItem(Re,!0,it.eL.SESSION),this.removeNavigationCountStorageKey()}loginAnalyticsEvent(q){this.analyticsService.sendEvent("login_started",{event_method:"signin flyout",button_text:q})}showInfoboxAnalyticsEvent(q){this.analyticsService.sendEvent("flyout_impression",{event_details:q?"signin flyout":"location choice flyout"})}userLocationButtonsAnalyticsEvent(q){this.analyticsService.sendEvent("flyout_click",{event_details:"location choice flyout",button_text:q})}initializeSuggestedActionsInfobox(){!this.hasFlyoutBeenShownOnCurrentSession()&&this.isBrowser?this.consentStatusService.ready$.pipe((0,T.v)(this.trackNavigationEnd$()),(0,o.p)(()=>this.checkConditionsToShowInfoBox()),(0,D.n)(()=>this.showSuggestedActionInfoBox()),(0,g.M)(q=>this.isInfoBoxAvailableSubject.next(q)),(0,l.pQ)(this.destroyRef)).subscribe():(this.isInfoBoxAvailableSubject.next(!1),this.removeNavigationCountStorageKey())}showSuggestedActionInfoBox(){const{isPendingRegistration:q,isLoggedIn:Te}=this.userContextService;return this.proposeCountryLocationEnabled&&!Te?this.proposeCountryLocationGqlService.fetch().pipe((0,C.T)(({data:{userDetectedCountry:je}})=>this.shouldProposeCountryLocation(je)?this.showCountryLocationModalOrFlyout(je):this.showSignInInfobox(Te)),(0,v.W)(()=>(0,E.of)(!q&&this.showSignInInfobox(Te)))):(0,E.of)(this.showSignInInfobox(Te))}checkConditionsToShowInfoBox(){return this.isBrowser&&!this.hasFlyoutBeenShownOnCurrentSession()&&2===this.getNavigationCountStorageKey()}hasFlyoutBeenShownOnCurrentSession(){return this.storageService.getItem(Re,it.eL.SESSION)}shouldProposeCountryLocation(q){return!(!q||q===this.environmentService.country)}showSignInInfobox(q){return this.canShowSignInInfobox=!q&&!this.maintenanceModeService.isMaintenanceMode,this.canShowSignInInfobox}trackNavigationEnd$(){return this.router.events.pipe((0,o.p)(q=>q instanceof h.wF),(0,C.T)(({url:q})=>(0,De.Jf)(q)),(0,M.F)(),(0,N.E)(this.breakpointService.isMobileView$),(0,o.p)(([q,Te])=>!Te||!this.consentStatusService.isPreferencesDialogVisible),(0,g.M)(()=>{const q=this.getNavigationCountStorageKey()||0;this.increaseNavigationCountStorageKey(q)}))}getNavigationCountStorageKey(){return this.storageService.getItem(Qe,it.eL.SESSION)}removeNavigationCountStorageKey(){this.storageService.removeItem(Qe,it.eL.SESSION)}increaseNavigationCountStorageKey(q){this.storageService.setItem(Qe,q+1,it.eL.SESSION)}showCountryLocationModalOrFlyout(q){return!this.countryLocationModalEnabled||(this.countryListGqlService.fetch({variables:{localization:(0,x.a$)(this.environmentService)}}).subscribe(({data:{hiltiOnlineCountries:Te}})=>{Promise.all([n.e(9589),n.e(1583),n.e(6756)]).then(n.bind(n,55484)).then(({UserCountryLocationModalComponent:je})=>{this.modalService.open(je,{size:J.r.SM,tracking:{pageViewData:{},ga4AnalyticsEvents:{open:{eventName:"country_selector_impression"},close:{eventName:"country_selector_close"}}}},{userDetectedCountry:q,countries:Te}
430),this.setInfoBoxShownOnCurrentSessionKey()})}),!1)}static#e=Ue=()=>(this.\u0275fac=function(Te){return new(Te||ne)},this.\u0275prov=u.jDH({token:ne,factory:ne.\u0275fac,providedIn:"root"}))}return Ue(),ne})()},50121(ye,A,n){n.d(A,{Np:()=>c,O7:()=>h,i1:()=>T,t2:()=>o,vG:()=>l});var u=n(2721),l=function(D){return D[D.USER_ACCOUNT=1e3]="USER_ACCOUNT",D[D.LANG=1001]="LANG",D[D.CURRENCY=1002]="CURRENCY",D[D.CONTACT=1003]="CONTACT",D[D.CART=1004]="CART",D[D.ORDERS=1005]="ORDERS",D}(l||{}),h=function(D){return D.EDITORIAL="EDITORIAL",D.PRODUCTS="PRODUCTS",D}(h||{}),c=function(D){return D.CATEGORY="CATEGORY",D.TEASER="TEASER",D}(c||{});const T={ACCOUNT_SELECT:"accountSelect",...u.J},o={...l,...h,...c,...T}},2721(ye,A,n){n.d(A,{J:()=>u,M:()=>l});var u=function(h){return h.ORDERS="documents",h.TOOL_MANAGEMENT="toolManagement",h.FLEET_MANAGEMENT="fleetManagement",h.SUBSCRIPTIONS="subscriptions",h.ACCOUNT="account",h.PERSONAL_ACCOUNT="personalAccount",h.COMPANY_ACCOUNT="companyAccount",h.FAVORITES="favorites",h.NOTIFICATIONS="notifications",h}(u||{}),l=function(h){return h.SELF_SERVICE="selfService",h.ACCOUNT_FAVORITES="accountFavorites",h.NOTIFICATIONS="notifications",h}(l||{})},68544(ye,A,n){n.d(A,{y:()=>o});var u=n(17988),l=n(47606),h=n(48065),c=n(60453),T=n(26093);let o=(()=>{var D;class g{constructor(){this.element=(0,u.WQX)(l.aKT).nativeElement,this.renderer=(0,u.WQX)(l.sFG),this.resizeObserver=(0,u.WQX)(T.k),this.destroyRef=(0,u.WQX)(u.abz)}ngAfterViewInit(){this.resizeObserver.observe$(this.shrdPfUiContentHeight).pipe((0,c.Z)(50),(0,h.pQ)(this.destroyRef)).subscribe(({contentRect:{height:v}})=>{this.renderer.setStyle(this.element,"height",`${v.toFixed()}px`)})}static#e=D=()=>(this.\u0275fac=function(E){return new(E||g)},this.\u0275dir=l.FsC({type:g,selectors:[["","shrdPfUiContentHeight",""]],inputs:{shrdPfUiContentHeight:"shrdPfUiContentHeight"}}))}return D(),g})()},16514(ye,A,n){n.d(A,{S:()=>G});var u=n(9042),l=n(96623),h=n(17988),c=n(45873),T=n(72783),o=n(11564),D=n(73328),g=n(79168),C=n(51596),v=n(94375),E=n(43648),M=n(47606);let N=(()=>{var ce;class pe{transform(z){return z.replace(/(\.\w+$)/,"")}static#e=ce=()=>(this.\u0275fac=function(ke){return new(ke||pe)},this.\u0275pipe=M.EJ8({name:"shrdPfStripExtension",type:pe,pure:!0}))}return ce(),pe})();const P=ce=>({navigationItem:"Main Menu",navigationItemDetails:ce});function I(ce,pe){if(1&ce&&(M.j41(0,"p",6),M.EFF(1),M.k0s()),2&ce){const De=M.XpG().$implicit;M.R7$(),M.JRh(De.title)}}function x(ce,pe){if(1&ce&&(M.j41(0,"a",8),M.nI1(1,"shrdPfStripExtension"),M.nrm(2,"shrd-uic-svg-icon",9),M.j41(3,"span"),M.EFF(4),M.k0s()()),2&ce){const De=pe.$implicit,z=M.XpG(3);M.AVh("active",(null==z.activeLink?null:z.activeLink())===M.bMT(1,5,De.url)),M.Y8G("shrdUtcRouterLink",De.url)("navigationData",M.eq3(7,P,z.menuItem().title+"|"+De.title)),M.R7$(4),M.JRh(De.title)}}function j(ce,pe){if(1&ce&&(M.j41(0,"div",5),M.nVh(1,I,2,1,"p",6),M.Z7z(2,x,5,9,"a",7,M.Vm6),M.k0s()),2&ce){const De=pe.$implicit;M.R7$(),M.vxM(null!=De&&De.title?1:-1),M.R7$(),M.Dyx(null==De?null:De.childList)}}function w(ce,pe){1&ce&&M.eu8(0)}function H(ce,pe){if(1&ce&&M.DNE(0,w,1,0,"ng-container",10),2&ce){M.XpG(2);const De=M.sdS(7);M.Y8G("ngTemplateOutlet",De)}}function ae(ce,pe){if(1&ce&&(M.j41(0,"div",4),M.Z7z(1,j,4,1,"div",5,M.Vm6),M.nVh(3,H,1,1,"ng-container"),M.k0s()),2&ce){const De=pe.$implicit,z=pe.$index,ke=M.XpG();M.R7$(),M.Dyx(De),M.R7$(2),M.vxM(0===z&&ke.inFlyout()?3:-1)}}function S(ce,pe){1&ce&&M.eu8(0)}function J(ce,pe){if(1&ce&&M.DNE(0,S,1,0,"ng-container",10),2&ce){M.XpG();const De=M.sdS(7);M.Y8G("ngTemplateOutlet",De)}}function Y(ce,pe){if(1&ce&&(M.j41(0,"div",11),M.nrm(1,"hr",12),M.j41(2,"a",13),M.nrm(3,"shrd-uic-svg-icon",14),M.j41(4,"span"),M.EFF(5),M.k0s()()()),2&ce){M.XpG();const De=M.r8f(0),z=M.r8f(1),ke=M.XpG();M.R7$(),M.Y8G("vAlign","top"),M.R7$(),M.AVh("active",(null==ke.activeLink?null:ke.activeLink())===De),M.Y8G("shrdUtcRouterLink",De),M.R7$(3),M.JRh(z)}}function re(ce,pe){if(1&ce&&(M.SS7(0)(1),M.nVh(2,Y,6,5,"div",11)),2&ce){const De=M.XpG(),z=M.bH3(De.menuItem().url);M.R7$();
430const ke=M.bH3(De.menuItem().overviewLabel);M.R7$(),M.vxM(z&&ke?2:-1)}}let G=(()=>{var ce;class pe{constructor(){this.inFlyout=(0,l.hFB)(!1),this.menuItem=(0,l.hFB)(),this.activeLink=(0,h.WQX)(T.p,{optional:!0})?.activeLink,this.bgClass=(0,c.EW)(()=>{const{id:z}=this.menuItem();return z&&this.inFlyout()?["bg",z]:""})}static#e=ce=()=>(this.\u0275fac=function(ke){return new(ke||pe)},this.\u0275cmp=M.VBU({type:pe,selectors:[["shrd-pf-ui-editorial-menu-links"]],hostVars:2,hostBindings:function(ke,it){2&ke&&M.HbH(it.bgClass())},inputs:{inFlyout:[1,"inFlyout"],menuItem:[1,"menuItem"]},decls:8,vars:1,consts:[["overviewBtn",""],[1,"row","position-relative","z-1"],[1,"col","pt-md-1"],[1,"editorial-links"],[1,"d-flex","flex-column","row-gap-2"],[1,"header-editorial-group"],[1,"heading-sm","text-bold","my-0"],["shrdUicButton","","shrdUtcTrackEvent","","shrdUtcAutoTarget","","variant","tertiaryFlyout",1,"d-flex","align-items-start","m-0",3,"shrdUtcRouterLink","active","navigationData"],["shrdUicButton","","shrdUtcTrackEvent","","shrdUtcAutoTarget","","variant","tertiaryFlyout",1,"d-flex","align-items-start","m-0",3,"shrdUtcRouterLink","navigationData"],["icon","arrow-right","size","large","iconClasses","bl-h-2"],[4,"ngTemplateOutlet"],[1,"mt-auto","mb-4","mb-md-0"],["shrdUicHr","",1,"bl-h-1","d-md-none",3,"vAlign"],["shrdUicButton","","variant","tertiaryMinorBorderless",1,"my-0","mt-md-1","btn-overview",3,"shrdUtcRouterLink"],["icon","show-pass"]],template:function(ke,it){1&ke&&(M.j41(0,"div",1)(1,"div",2)(2,"div",3),M.Z7z(3,ae,4,1,"div",4,M.Vm6),M.nVh(5,J,1,1,"ng-container"),M.k0s()()(),M.DNE(6,re,3,3,"ng-template",null,0,M.C5r)),2&ke&&(M.R7$(3),M.Dyx(it.menuItem().childList),M.R7$(2),M.vxM(it.inFlyout()?-1:5))},dependencies:[C.f,o._,v.j,E.e,g.D,u.T3,D.y,N],styles:['[_nghost-%COMP%] .editorial-links[_ngcontent-%COMP%]{display:grid;grid-row-gap:1.375rem;grid-column-gap:1.25rem}@media (min-width: 1440px){[_nghost-%COMP%] .editorial-links[_ngcontent-%COMP%]{padding:0 .9375rem;grid-column-gap:1.875rem}}@media (min-width: 1024px){[_nghost-%COMP%] .btn-overview[_ngcontent-%COMP%]{margin-inline-start:-.4375rem}}[_nghost-%COMP%] .header-editorial-group[_ngcontent-%COMP%]{display:grid;align-content:baseline}.burger-menu-wrapper[_nghost-%COMP%] .header-editorial-group[_ngcontent-%COMP%], .burger-menu-wrapper [_nghost-%COMP%] .header-editorial-group[_ngcontent-%COMP%]{grid-row-gap:.6875rem}.burger-menu-wrapper[_nghost-%COMP%] .btn-tertiary-flyout[_ngcontent-%COMP%], .burger-menu-wrapper [_nghost-%COMP%] .btn-tertiary-flyout[_ngcontent-%COMP%]{min-height:unset}.mega-menu-popover[_nghost-%COMP%], .mega-menu-popover [_nghost-%COMP%]{display:block}.mega-menu-popover[_nghost-%COMP%] .editorial-links[_ngcontent-%COMP%], .mega-menu-popover [_nghost-%COMP%] .editorial-links[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.unified_navigation[_nghost-%COMP%], .unified_navigation [_nghost-%COMP%]{position:relative}.unified_navigation.bg[_nghost-%COMP%]:before, .unified_navigation .bg[_nghost-%COMP%]:before{content:"";position:absolute;display:block;right:0;top:0;height:100%;background-color:#f8f8f7}.unified_navigation.bg.solutions[_nghost-%COMP%]:before, .unified_navigation .bg.solutions[_nghost-%COMP%]:before{width:calc(75% - .15625rem)}@media (min-width: 1440px){.unified_navigation.bg.solutions[_nghost-%COMP%]:before, .unified_navigation .bg.solutions[_nghost-%COMP%]:before{width:calc(75% - .46875rem)}}.unified_navigation.bg.engineering[_nghost-%COMP%]:before, .unified_navigation .bg.engineering[_nghost-%COMP%]:before{width:calc(25% + .15625rem)}@media (min-width: 1440px){.unified_navigation.bg.engineering[_nghost-%COMP%]:before, .unified_navigation .bg.engineering[_nghost-%COMP%]:before{width:calc(25% + .46875rem)}}.unified_navigation.bg.info[_nghost-%COMP%]:before, .unified_navigation .bg.info[_nghost-%COMP%]:before{width:50%}'],changeDetection:0}))}return ce(),pe})()},42673(ye,A,n){n.d(A,{U:()=>h});var u=n(17988),l=n(47606);let h=(()=>{var c;class T{static#e=c=()=>(this.\u0275fac=function(g){return new(g||T)},this.\u0275mod=l.$C({type:T}),this.\u0275inj=u.G2t({}))}return c(),T})()},1018(ye,A,n){n.d(A,{m:()=>
430o});var u=n(17988),l=n(47606),h=n(48282),c=n(93612);const T="max-width";let o=(()=>{var D;class g{constructor(){this.hostEl=(0,u.WQX)(l.aKT).nativeElement,this.isBrowser=(0,u.WQX)(h.f).isBrowser,this.renderer=(0,u.WQX)(l.sFG),this.win=(0,u.WQX)(c.$).nativeWindow,(0,l.mal)({write:()=>this.setMaxWidth()})}ngOnChanges({update:v}){v&&!v.firstChange&&(this.renderer.removeStyle(this.hostEl,T),this.setMaxWidth())}setMaxWidth(){this.win.requestAnimationFrame(()=>{const v=this.shrdPfUiMaxWidth||this.isBrowser&&`${this.hostEl.scrollWidth+5}px`;v&&this.renderer.setStyle(this.hostEl,T,v)})}static#e=D=()=>(this.\u0275fac=function(E){return new(E||g)},this.\u0275dir=l.FsC({type:g,selectors:[["","shrdPfUiMaxWidth",""]],inputs:{shrdPfUiMaxWidth:"shrdPfUiMaxWidth",update:"update"},features:[l.OA$]}))}return D(),g})()},34468(ye,A,n){n.d(A,{b:()=>h});var u=n(47606);const l=["*"];let h=(()=>{var c;class T{static#e=c=()=>(this.\u0275fac=function(g){return new(g||T)},this.\u0275cmp=u.VBU({type:T,selectors:[["shrd-pf-ui-meta-nav-item"]],ngContentSelectors:l,decls:1,vars:0,template:function(g,C){1&g&&(u.NAR(),u.SdG(0))},styles:["@media (min-width: 1024px){.meta-nav-item{justify-content:flex-end;margin-inline-start:.9375rem!important;transition-property:margin-inline-start;transition-duration:.25s;transition-timing-function:ease-out;transition-delay:.3s}.meta-nav-item span{white-space:nowrap;transition-property:max-width,opacity;transition-duration:.25s;transition-timing-function:ease-out;transition-delay:.3s}.search-input-focus .meta-nav-item{transition-delay:0s;margin-inline-start:0!important}.search-input-focus .meta-nav-item.btn:focus-visible:before{inset-inline-start:.125rem}.search-input-focus .meta-nav-item span{max-width:0!important;opacity:0!important;transition-delay:0s}}body:not(.is-compressed-page-layout) .meta-nav-item{color:var(--meta-nav-item-color, #fff)!important}\n"],encapsulation:2,changeDetection:0}))}return c(),T})()},84825(ye,A,n){n.d(A,{ig:()=>an});var u=n(9042),l=n(96623),h=n(45873),c=n(17988),T=n(48065),o=n(24406),D=n(61969),g=n(61856),C=n(20220),v=n(51417),E=n(69599),M=n(16160),N=n(70125),P=n(91879),I=n(20297),x=n(57440),j=n(50121),w=n(21357),H=n(11564),ae=n(43361),S=n(65377),J=n(79168),Y=n(65319),re=n(51596),G=n(11135),ce=n(1733),pe=n(43648),De=n(94375),z=n(47606),ke=n(99016);let it=(()=>{var s;class mt{constructor(){this.baseCategoryRoute=`/${E.G.BASE_CATEGORY_PAGE}?viewDetails=true`}static#e=s=()=>(this.\u0275fac=function(sn){return new(sn||mt)},this.\u0275cmp=z.VBU({type:mt,selectors:[["shrd-pf-ui-view-categories-link"]],decls:5,vars:4,consts:[["shrdUicButton","","variant","tertiaryMinorBorderless",1,"my-0",3,"shrdUtcRouterLink"],["icon","show-pass"]],template:function(sn,Lt){1&sn&&(z.j41(0,"a",0),z.nrm(1,"shrd-uic-svg-icon",1),z.j41(2,"span"),z.EFF(3),z.nI1(4,"i18next"),z.k0s()()),2&sn&&(z.Y8G("shrdUtcRouterLink",Lt.baseCategoryRoute),z.R7$(3),z.JRh(z.bMT(4,2,"header.navigation.detailedView")))},dependencies:[J.D,w.E,H._,De.j,ke.ov],encapsulation:2,changeDetection:0}))}return s(),mt})();const Re=()=>[Promise.all([n.e(5102),n.e(8096)]).then(n.bind(n,18096)).then(s=>s.MasterBannerComponent),n.e(3648).then(n.bind(n,63648)).then(s=>s.CmsLoginUrlPipe),N.v],Qe=s=>({$implicit:s}),Ze=s=>({navigationItem:"Main Menu",navigationItemDetails:s}),Ye=(s,mt)=>mt.id;function Ue(s,mt){return this.trackByIdOrIndex(mt,s)}function ne(s,mt){1&s&&z.eu8(0)}function X(s,mt){1&s&&(z.j41(0,"div",1)(1,"div",3),z.nrm(2,"shrd-pf-ui-view-categories-link",12),z.k0s()())}function q(s,mt){1&s&&z.eu8(0)}function Te(s,mt){if(1&s&&(z.j41(0,"div",3)(1,"div",13),z.DNE(2,q,1,0,"ng-container",5),z.k0s()()),2&s){const Wt=z.XpG(),jt=z.sdS(20),sn=z.r8f(9),Lt=z.r8f(12);z.AVh("col-md-12",!Lt&&Wt.inFlyout()),z.R7$(2),z.Y8G("ngTemplateOutlet",jt)("ngTemplateOutletContext",z.eq3(4,Qe,sn))}}function je(s,mt){1&s&&(z.EFF(0),z.nI1(1,"i18next")),2&s&&z.SpI(" ",z.bMT(1,1,"header.navigation.explore")," ")}function Fe(s,mt){if(1&s&&z.EFF(0),2&s){z.XpG(2);const Wt=z.r8f(10);z.SpI(" ",Wt.title," ")}}function we(s,mt){if(1&s){const Wt=z.RV6();z.j41(0,"a",17),z.bIt("click",function(){const sn=c.eBV(Wt).$implicit,Lt=z.XpG(2);return c.Njj(Lt.trackTeaserClick(sn))}),z.nrm(1,"shrd-uic-svg-icon",18),z.j41(2,"span"),z.EFF(3),z.k0s()()}if(2&s){const Wt=mt.$implicit;z.Y8G("shrdUtcRouterLink",Wt.linkUri),z.R7$(3),z.JRh(Wt.body)}}function Be(s,mt){if(1&s){const Wt=z.RV6();z.j41(0,"a",17),z.bIt("click",function(){const sn=c.eBV(Wt).$implicit,Lt=z.XpG(2);return c.Njj(Lt.trackSecondaryLinkClick(sn))}),z.nrm(1,"shrd-uic-svg-icon",18),z.j41(2,"span"),z.EFF(3),z.k0s()()}if(2&s){const Wt=mt.$implicit;z.Y8G("shrdUtcRouterLink",Wt.url),z.R7$(3),z.JRh(Wt.title)}}function at(s,mt){if(1&s&&(z.j41(0,"div",3)(1,"div",14)(2,"h2",15),z.nVh(3,je,2,3)(4,Fe,1,1),z.k0s(),z.Z7z(5,we,4,2,"a",16,Ye),z.Z7z(7,Be,4,2,"a",16,z.Vm6),z.k0s()()),2&s){const Wt=z.XpG(),jt=z.r8f(9),sn=z.r8f(10),Lt=z.r8f(11),vn=z.r8f(12);z.AVh("col-md-12",!vn&&Wt.inFlyout())("mt-2",(null==jt?null:jt.length)||!Wt.inFlyout()),z.R7$(3),z.vxM(Lt?3:4),z.R7$(2),z.Dyx(Lt),z.R7$(2),z.Dyx(null==sn?null:sn.childList)}}function Ot(s,mt){if(1&s){const Wt=z.RV6();z.j41(0,"shrd-uic-master-banner",20),z.nI1(1,"sanitizeCmsLink"),z.nI1(2,"cmsLoginUrl"),z.bIt("click",function(){c.eBV(Wt);const sn=z.XpG(2),Lt=z.r8f(12);return c.Njj(sn.trackBannerClick(Lt))}),z.k0s()}if(2&s){const Wt=z.XpG(2),jt=z.r8f(12);z.Y8G("bannerOverline",jt.overline)("bannerHeadline",jt.headline)("mobileHeadline",jt.mobileHeadline)("bannerSubline",jt.subHeadline)("bannerBodyText",jt.body)("buttonText",null==jt.links||null==jt.links[0]?null:jt.links[0].label)("buttonTarget",z.bMT(2,16,z.bMT(1,14,null==jt.links||null==jt.links[0]?null:jt.links[0].uri)))("imageUrl",(null==jt.image?null:jt.image.src)||jt.imageUri)("imageSm",null==jt.image?null:jt.image.srcSm)("imageMd",null==jt.image?null:jt.image.srcMd)("imageLg",null==jt.image?null:jt.image.srcLg)("variant","red")("isLifestyle",jt.layout===Wt.bannerLayout.LIFESTYLE)("bannerSize",Wt.bannerSize())}}function Et(s,mt){1&s&&z.nrm(0,"shrd-uic-fade-preloader")}function Yt(s,mt){if(1&s&&(z.j41(0,"div",10)(1,"div",19),z.PeT(2,Ot,3,18)(3,Et,1,0),z.nv$(4,2,Re,null,3),z.k0s()()),2&s){z.XpG();const Wt=z.r8f(12);z.R7$(4),z.LVR(Wt.loaded)}}
430function ut(s,mt){1&s&&z.nrm(0,"shrd-pf-ui-view-categories-link",11)}function bt(s,mt){if(1&s&&z.nrm(0,"shrd-uic-nav-button",21),2&s){const Wt=mt.$implicit,jt=z.XpG(2);z.Y8G("label",Wt.title)("headlineText",Wt.headline)("imgUrl",Wt.thumbnail)("imgAlt",Wt.title)("isTextIndent",!0)("url",Wt.url)("useRouterLink","auto")("isSelected",Wt.id&&jt.currentCategory()===Wt.id)("navigationData",z.eq3(9,Ze,jt.menuItem().title+"|"+Wt.title))}}function Xe(s,mt){1&s&&z.Z7z(0,bt,1,11,"shrd-uic-nav-button",21,Ue,!0),2&s&&z.Dyx(mt.$implicit)}const vt={...M.V.S,xs:M.V.L.xs,sm:M.V.S.md},pt=new Set(["CLS_CUSTOMER_SOFTWARE","CLS_SERVICES"]);let an=(()=>{var s;class mt{constructor(){this.inFlyout=(0,l.hFB)(!1),this.menuItem=(0,l.hFB)(null,{transform:jt=>({...jt.childList.flat().find(sn=>sn.menuType===j.Np.CATEGORY),title:jt.title})}),this.bannerLayout=C.HX,this.bannerSize=(0,h.EW)(()=>this.inFlyout()?v._.MD:v._.XS),this.currentCategory=this.getCurrentCategory(),this.bannerService=(0,c.WQX)(I._),this.analyticsService=(0,c.WQX)(Y.c),this.imageUrlService=(0,c.WQX)(P.u),this.navigationService=(0,c.WQX)(x.H),this.unifiedNavEnabled=this.navigationService.unifiedNavEnabled,this.productCategories=this.getProductCategories(),this.primaryNavItems=this.getPrimaryNavItems(),this.secondaryNavGroup=this.unifiedNavEnabled?(0,T.ot)(this.navigationService.shopTabSecondaryLinks$):null,this.teaserBanners=this.unifiedNavEnabled?null:(0,T.ot)(this.bannerService.megaMenuMiniTeaserBanners$),this.productBanner=this.getBanner()}trackBannerClick(jt){this.bannerService.helper.trackBannerClick(jt,this.getAdditionalProductBannerTrackingData(jt))}trackTeaserClick(jt){this.bannerService.helper.trackMiniTeaserBannerClick(jt)}trackSecondaryLinkClick(jt){this.analyticsService.storeData({navigationItem:"MiniTeaser_MegaMenu",navigationItemDetails:jt.title})}trackByIdOrIndex(jt,sn){return jt.id||sn}getBanner(){return(0,T.ot)(this.bannerService.megaMenuProductBanner$.pipe((0,o.T)(jt=>({...jt,image:this.generateProductBannerImage(jt)})),(0,D.M)(jt=>{jt?.loaded&&this.bannerService.helper.trackBannerImpression(jt,this.getAdditionalProductBannerTrackingData(jt))})))}getAdditionalProductBannerTrackingData(jt){return{creative_name:`${jt.webAnalyticsData?.trackCreative}_${this.bannerSize()}`}}generateProductBannerImage(jt){const{imageUri:sn,imageFocus:Lt,layout:vn}=jt??{};return this.imageUrlService.generateSrcSet({source:sn,sizes:vt,aspectRatio:vn===C.HX.LIFESTYLE?"2:1":"1:1",focusArea:Lt||"Center"})}getProductCategories(){return(0,h.EW)(()=>{const jt=this.menuItem();return this.unifiedNavEnabled?jt:{...jt,childList:jt.childList.filter(({id:sn})=>!pt.has(sn))}})}getPrimaryNavItems(){return this.unifiedNavEnabled?(0,T.ot)(this.navigationService.shopTabPrimaryLinks$.pipe((0,g.p)(Boolean),(0,o.T)(({childList:jt})=>jt))):(0,h.EW)(()=>this.menuItem().childList.filter(({id:jt})=>pt.has(jt)))}getCurrentCategory(){const{finalUrl:jt}=(0,c.WQX)(ce.T);return(0,h.EW)(()=>{const sn=(0,G.Jf)(jt()).split("/");return sn[1]===E.G.STORAGE_CONFIGURATOR?"CLS_TOOL_STORAGE_TRANSPORT":sn[2]})}static#e=s=()=>(this.\u0275fac=function(sn){return new(sn||mt)},this.\u0275cmp=z.VBU({type:mt,selectors:[["shrd-pf-ui-product-menu-links"]],inputs:{inFlyout:[1,"inFlyout"],menuItem:[1,"menuItem"]},decls:21,vars:15,consts:[["categoriesList",""],[1,"row"],[1,"left-pane","mobile-separator","col-24","col-md-12","py-md-2","d-flex","flex-column","justify-content-between"],[1,"col-24"],[1,"links-grid","mx-md-2","mx-lg-5"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"right-pane","col-24","col-md-12","py-2"],[1,"row","h-100"],[1,"col-24",3,"col-md-12"],[1,"col-24",3,"col-md-12","mt-2"],[1,"col-md-12","ms-auto"],[1,"col-24","mb-3"],[1,"d-block","mt-3","mx-md-2","mx-lg-5"],[1,"links-grid","mobile-separator","mx-md-2","mx-lg-5"],[1,"mobile-separator","mx-md-2","mx-lg-5"],[1,"heading-sm","text-bold","m-0"],["shrdUicButton","","shrdUtcAutoTarget","","variant","tertiaryFlyout",1,"d-flex","align-items-start","m-0",3,"shrdUtcRouterLink"],["shrdUicButton","","shrdUtcAutoTarget","","variant","tertiaryFlyout",1,"d-flex","align-items-start","m-0",3,"click","
430shrdUtcRouterLink"],["icon","arrow-right","size","large","iconClasses","bl-h-2"],[1,"h-100","position-relative","mx-2","mx-lg-5","bg-inherit"],[3,"click","bannerOverline","bannerHeadline","mobileHeadline","bannerSubline","bannerBodyText","buttonText","buttonTarget","imageUrl","imageSm","imageMd","imageLg","variant","isLifestyle","bannerSize"],["shrdUtcTrackEvent","",1,"nav-btn",3,"label","headlineText","imgUrl","imgAlt","isTextIndent","url","useRouterLink","isSelected","navigationData"]],template:function(sn,Lt){if(1&sn&&(z.j41(0,"div",1)(1,"div",2)(2,"div",1)(3,"div",3)(4,"div",4),z.DNE(5,ne,1,0,"ng-container",5),z.k0s()()(),z.nVh(6,X,3,0,"div",1),z.k0s(),z.j41(7,"div",6)(8,"div",7),z.SS7(9)(10)(11)(12),z.j41(13,"div",3)(14,"div",1),z.nVh(15,Te,3,6,"div",8),z.nVh(16,at,9,5,"div",9),z.k0s()(),z.nVh(17,Yt,6,1,"div",10),z.k0s()(),z.nVh(18,ut,1,0,"shrd-pf-ui-view-categories-link",11),z.k0s(),z.DNE(19,Xe,2,0,"ng-template",null,0,z.C5r)),2&sn){const vn=z.sdS(20);z.R7$(5),z.Y8G("ngTemplateOutlet",vn)("ngTemplateOutletContext",z.eq3(13,Qe,Lt.productCategories().childList)),z.R7$(),z.vxM(Lt.inFlyout()?6:-1),z.R7$(3);const wt=z.bH3(Lt.primaryNavItems());z.R7$();const cn=z.bH3(null==Lt.secondaryNavGroup?null:Lt.secondaryNavGroup());z.R7$();const Ct=z.bH3(null==Lt.teaserBanners?null:Lt.teaserBanners());z.R7$();const Mn=z.bH3(Lt.inFlyout()&&Lt.productBanner());z.R7$(),z.AVh("col-md-12",Mn),z.R7$(2),z.vxM(null!=wt&&wt.length?15:-1),z.R7$(),z.vxM(Ct||null!=cn&&cn.childList.length?16:-1),z.R7$(),z.vxM(Mn?17:-1),z.R7$(),z.vxM(Lt.inFlyout()?-1:18)}},dependencies:[H._,ae.P,u.T3,S.e,J.D,w.E,it,pe.e,re.f,De.j,ke.ov],styles:["[_nghost-%COMP%] .links-grid[_ngcontent-%COMP%]{display:grid;gap:0 1.875rem;grid-template-columns:1fr}@media (min-width: 1440px){[_nghost-%COMP%] .links-grid[_ngcontent-%COMP%]{gap:0 4.375rem}}@media (min-width: 1024px){[_nghost-%COMP%] .left-pane[_ngcontent-%COMP%] .links-grid[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr}}[_nghost-%COMP%] .left-pane[_ngcontent-%COMP%] .links-grid[_ngcontent-%COMP%] .nav-btn[_ngcontent-%COMP%]{word-break:break-word}@media (min-width: 1024px){[_nghost-%COMP%] .right-pane[_ngcontent-%COMP%]{background-color:#f8f8f7}[_nghost-%COMP%] .right-pane[_ngcontent-%COMP%] .links-grid[_ngcontent-%COMP%] .nav-btn[_ngcontent-%COMP%]{mix-blend-mode:darken}}@media (max-width: 1023.98px){[_nghost-%COMP%] .mobile-separator[_ng
430content-%COMP%]{padding-bottom:1.375rem;border-bottom:.0625rem solid #cbc8c1}}.burger-menu-wrapper[_nghost-%COMP%] .nav-btn[_ngcontent-%COMP%], .burger-menu-wrapper [_nghost-%COMP%] .nav-btn[_ngcontent-%COMP%]{width:100%}.mega-menu-popover[_nghost-%COMP%], .mega-menu-popover [_nghost-%COMP%]{display:block}.unified_navigation[_nghost-%COMP%] .links-grid[_ngcontent-%COMP%] .nav-btn[_ngcontent-%COMP%], .unified_navigation [_nghost-%COMP%] .links-grid[_ngcontent-%COMP%] .nav-btn[_ngcontent-%COMP%]{mix-blend-mode:unset!important}"],changeDetection:0}))}return s(),mt})()},87906(ye,A,n){n.d(A,{A:()=>De});var u=n(9042),l=n(47606),h=n(99016),c=n(90826),T=n(11564),o=n(79168),D=n(94375),g=n(15806),C=n(17988);const v=z=>({"d-flex flex-column d-md-block":z}),E=z=>({"pb-0 order-3":z});function M(z,ke){1&z&&l.eu8(0)}function N(z,ke){if(1&z){const it=l.RV6();l.j41(0,"button",3),l.bIt("click",function(){C.eBV(it);const Qe=l.XpG();return C.Njj(Qe.showAccountDetails.emit())}),l.DNE(1,M,1,0,"ng-container",4),l.k0s()}if(2&z){const it=l.XpG(),Re=l.sdS(3);l.AVh("selected",it.isSelected),l.Y8G("disabled",it.disabled||it.isSelected),l.R7$(),l.Y8G("ngTemplateOutlet",Re)}}function P(z,ke){1&z&&l.eu8(0)}function I(z,ke){if(1&z&&(l.j41(0,"div",2),l.DNE(1,P,1,0,"ng-container",4),l.k0s()),2&z){l.XpG();const it=l.sdS(3);l.R7$(),l.Y8G("ngTemplateOutlet",it)}}function x(z,ke){if(1&z&&(l.j41(0,"p",6),l.nrm(1,"shrd-pf-ui-header-user-name",7),l.k0s()),2&z){const it=l.XpG(2);l.Y8G("ngClass",it.isMobileLayout?"py-1":"mb-1"),l.R7$(),l.Y8G("user",it.userAccount.contact)("omitTitle",it.omitUserTitle)}}function j(z,ke){1&z&&l.EFF(0),2&z&&l.SpI(" ",ke.$implicit,",\xa0 ")}function w(z,ke){if(1&z&&(l.j41(0,"div",8)(1,"p",9)(2,"a",10),l.nI1(3,"i18next"),l.j41(4,"span")(5,"span",11),l.Z7z(6,j,1,1,null,null,l.fX1),l.k0s()(),l.nrm(8,"shrd-uic-svg-icon",12),l.k0s()()()),2&z){const it=l.XpG(),Re=l.XpG(2);l.R7$(2),l.Y8G("shrdUtcRouterLink",Re.profileUrl),l.BMQ("aria-label",l.bMT(3,2,"header.account.navigation.profile")),l.R7$(4),l.Dyx(it)}}function H(z,ke){if(1&z&&(l.j41(0,"p"),l.EFF(1),l.k0s()),2&z){const it=ke.$implicit;l.AVh("text-bold",0===ke.$index),l.R7$(),l.SpI(" ",it," ")}}function ae(z,ke){if(1&z&&l.Z7z(0,H,2,3,"p",13,l.fX1),2&z){const it=l.XpG();l.Dyx(it)}}function S(z,ke){if(1&z&&l.nVh(0,w,9,4,"div",8)(1,ae,2,0),2&z){const it=l.XpG(2);l.vxM(it.isMobileLayout?0:1)}}function J(z,ke){if(1&z&&(l.j41(0,"p",14),l.EFF(1),l.k0s()),2&z){const it=l.XpG(3);l.Y8G("ngClass",l.eq3(2,E,it.isMobileLayout)),l.R7$(),l.SpI(" ",ke," ")}}function Y(z,ke){if(1&z&&l.nVh(0,J,2,4,"p",14),2&z){let it;const Re=l.XpG(2);l.vxM((it=null==Re.userAccount?null:Re.userAccount.companyName)?0:-1,it)}}function re(z,ke){if(1&z&&(l.j41(0,"p",15)(1,"strong"),l.EFF(2),l.nI1(3,"i18next"),l.k0s()(),l.j41(4,"p"),l.EFF(5),l.k0s()),2&z){const it=l.XpG(2);l.AVh("visually-hidden",it.isMobileLayout),l.R7$(2),l.JRh(l.bMT(3,6,"header.account.accountNumber")),l.R7$(2),l.AVh("order-1",it.isMobileLayout),l.R7$(),l.JRh(ke)}}function G(z,ke){1&z&&(l.j41(0,"span"),l.EFF(1),l.nI1(2,"i18next"),l.k0s()),2&z&&(l.R7$(),l.SpI("",l.bMT(2,1,"header.account.role"),":\xa0"))}function ce(z,ke){if(1&z&&(l.j41(0,"p",15)(1,"strong"),l.EFF(2),l.nI1(3,"i18next"),l.k0s()(),l.j41(4,"p"),l.nVh(5,G,3,3,"span"),l.j41(6,"span"),l.EFF(7),l.nI1(8,"i18next"),l.k0s()()),2&z){const it=l.XpG(2);l.AVh("visually-hidden",it.isMobileLayout),l.R7$(2),l.JRh(l.bMT(3,7,"header.account.role")),l.R7$(2),l.AVh("order-2",it.isMobileLayout),l.R7$(),l.vxM(it.isMobileLayout?5:-1),l.R7$(2),l.JRh(l.bMT(8,9,"header.account.roles."+it.role))}}function pe(z,ke){if(1&z&&(l.j41(0,"div",5),l.nVh(1,x,2,3,"p",6),l.nVh(2,S,2,1)(3,Y,1,1),l.nVh(4,re,6,8),l.nVh(5,ce,9,11),l.k0s()),2&z){let it,Re;const Qe=l.XpG();l.Y8G("ngClass",l.eq3(5,v,Qe.isMobileLayout)),l.R7$(),l.vxM(Qe.showUserName?1:-1),l.R7$(),l.vxM((it=Qe.userAccount.formatted)?2:3,it),l.R7$(2),l.vxM((Re=null==Qe.userAccount?null:Qe.userAccount.originId)?4:-1,Re),l.R7$(),l.vxM(Qe.role?5:-1)}}let De=(()=>{var z;class ke{constructor(){this.showUserName=!0,this.omitUserTitle=!1,this.isSelected=!1,this.accountIsSelectable=!1,this.disabled=!1,this.isMobileLayout=!1,this.showAccountDetails=new l.bkB,this.profileUrl=c.t.profile}static#e=z=()=>(this.\u0275fac=function(Qe){return new(Qe||ke)},this.\u0275cmp=l.VBU({type:ke,selectors:[["shrd-pf-ui-header-user-info-button"]],inputs:{showUserName:"showUserName",userAccount:"userAccount",omitUserTitle:"omitUserTitle",isSelected:"isSelected",accountIsSelectable:"accountIsSelectable",disabled:"disabled",isMobileLayout:"isMobileLayout",role:"role"},outputs:{showAccountDetails:"showAccountDetails"},decls:4,vars:1,consts:[["userInfoContents",""],["shrdUicButton","","type","button","variant","tertiary",1,"user-info-button",3,"disabled","selected"],[1,"justify-content-between","m-0","py-1","pb-2"],["shrdUicButton","","type","button","variant","tertiary",1,"user-info-button",3,"click","disabled"],[4,"ngTemplateOutlet"],[1,"no-truncate","user-info","text-start",3,"ngClass"],[1,"text-bold","user-name-wrapper",3,"ngClass"],[3,"user","omitTitle"],[1,"order-3"],[1,"word-break-all"],["shrdUicButton","","variant","tertiaryFlyout",1,"m-0","py-0","bl-min-h-1",3,"shrdUtcRouterLink"],[1,"truncate-1"],["size","large","icon","arrow-right"],[3,"text-bold"],[3,"ngClass"],[1,"mt-1"]],template:function(Qe,Ze){1&Qe&&(l.nVh(0,N,2,4,"button",1)(1,I,2,1,"div",2),l.DNE(2,pe,6,7,"ng-template",null,0,l.C5r)),2&Qe&&l.vxM(Ze.accountIsSelectable?0:1)},dependencies:[T._,u.T3,g.x,D.j,o.D,u.YU,h.ov],styles:["[_nghost-%COMP%] .user-name-wrapper[_ngcontent-%COMP%]{font-size:1.375rem;line-height:1.375rem;margin-top:0;padding-top:.21875rem;padding-bottom:.46875rem;margin-bottom:.6875rem}[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .user-info-button[_ngcontent-%COMP%]{height:100%;width:100%;margin:0;padding:1.375rem .9375rem;border:.0625rem solid #cbc8c1;align-items:start}[_nghost-%COMP%] .user-info-button[_ngcontent-%COMP%]:hover, [_nghost-%COMP%] .user-info-button.selected[_ngcontent-%COMP%]{border-color:#47122a}[_nghost-%COMP%] .user-info-button[_ngcontent-%COMP%]:focus:before{inset:0}[_nghost-%COMP%] .user-info-button[_ngcontent-%COMP%]:disabled{color:inherit}[_nghost-%COMP%] .user-info[_ngcontent-%COMP%]{text-transform:none}[_nghost-%COMP%] .user-info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0}[_nghost-%COMP%] .word-break-all[_ngcontent-%COMP%]{word-break:break-all}"],changeDetection:0}))}return z(),ke})()},15806(ye,A,n){n.d(A,{x:()=>o});var u=n(99016),l=n(47606);const h=()=>({escapeValue:!1}),c=(D,g,C,v)=>({title:D,firstName:g,lastName:C,interpolation:v});function T(D,g){if(1&D&&(l.EFF(0),l.nI1(1,"i18next")),2&D){const C=l.XpG();l.SpI(" ",C.user.formatted||l.i5U(1,1,"header.account.userNamePattern",l.ziG(5,c,C.omitTitle?"":null==C.user.title?null:C.user.title.name,C.user.firstName,C.user.lastName,l.lJ4(4,h))),"\n")}}let o=(()=>{var D;class g{constructor(){this.omitTitle=!1,this.translateAttributeValue="no"}static#e=D=()=>(this.\u0275fac=function(E){return new(E||g)},this.\u0275cmp=l.VBU({type:g,selectors:[["shrd-pf-ui-header-user-name"]],hostVars:1,hostBindings:function(E,M){2&E&&l.BMQ("translate",M.translateAttributeValue)},inputs:{user:"user",omitTitle:"omitTitle"},decls:1,vars:1,template:function(E,M){1&E&&l.nVh(0,T,2,10),2&E&&l.vxM(M.user?0:-1)},dependencies:[u.ov],encapsulation:2,changeDetection:0}))}return D(),g})()},27412(ye,A,n){n.d(A,{k:()=>D});var u=n(96623),l=n(87906),h=n(17988),c=n(47606);const T=(g,C)=>C.originId;
430function o(g,C){if(1&g){const v=c.RV6();c.j41(0,"shrd-pf-ui-header-user-info-button",1),c.bIt("showAccountDetails",function(){const M=h.eBV(v).$implicit,N=c.XpG();return h.Njj(N.onSelectedAccountChanged(M.originId))}),c.k0s()}if(2&g){const v=C.$implicit,E=c.XpG();c.Y8G("showUserName",!1)("userAccount",v)("omitUserTitle",!0)("accountIsSelectable",!0)("isSelected",v.originId===E.selectedAccountId())("disabled",E.disabled())}}let D=(()=>{var g;class C{constructor(){this.accounts=(0,u.hFB)(),this.selectedAccountId=(0,u.hFB)(),this.disabled=(0,u.hFB)(!1),this.accountChanged=(0,u.CGW)()}onSelectedAccountChanged(E){this.accountChanged.emit(E)}static#e=g=()=>(this.\u0275fac=function(M){return new(M||C)},this.\u0275cmp=c.VBU({type:C,selectors:[["shrd-pf-ui-header-user-select"]],inputs:{accounts:[1,"accounts"],selectedAccountId:[1,"selectedAccountId"],disabled:[1,"disabled"]},outputs:{accountChanged:"accountChanged"},decls:2,vars:0,consts:[[3,"showUserName","userAccount","omitUserTitle","accountIsSelectable","isSelected","disabled"],[3,"showAccountDetails","showUserName","userAccount","omitUserTitle","accountIsSelectable","isSelected","disabled"]],template:function(M,N){1&M&&c.Z7z(0,o,1,6,"shrd-pf-ui-header-user-info-button",0,T),2&M&&c.Dyx(N.accounts())},dependencies:[l.A],styles:["[_nghost-%COMP%]{display:grid;grid-gap:.6875rem}"],changeDetection:0}))}return g(),C})()},52547(ye,A,n){n.d(A,{m:()=>c});var u=n(79518),l=n(17988),h=n(47606);let c=(()=>{var T;class o{static#e=T=()=>(this.\u0275fac=function(C){return new(C||o)},this.\u0275mod=h.$C({type:o}),this.\u0275inj=l.G2t({providers:[u.C]}))}return T(),o})()},55911(ye,A,n){n.d(A,{U:()=>u});const u="product-barcode-scanner.feature"},94636(ye,A,n){n.d(A,{p:()=>C});var u=n(56207),l=n(17988),h=n(48065),c=n(99016),T=n(54786),o=n(41350),D=n(93612),g=n(55911);let C=(()=>{var v;class E{constructor(){this.injector=(0,l.WQX)(l.zZn),this.i18NextService=(0,l.WQX)(c.WY),this.toastMessagesService=(0,l.WQX)(o.X),this.modalService=(0,l.WQX)(T.B),this.destroyRef=(0,l.WQX)(l.abz),this.winRef=(0,l.WQX)(D.$)}loadAndOpen(){var N=this;return(0,u.A)(function*(P=!1,I=N.injector){const{ScannerModalComponent:x}=yield Promise.all([n.e(3650),n.e(9589),n.e(1583),n.e(9581),n.e(4578),n.e(2601)]).then(n.bind(n,36617));yield N.i18NextService.loadNamespaces([g.U]),N.toastMessagesService.clear(),N.modalService.open(x,{injector:I}).closed.pipe((0,h.pQ)(N.destroyRef)).subscribe(()=>{P?N.winRef.nativeWindow.location.reload():N.toastMessagesService.clear()})}).apply(this,arguments)}static#e=v=()=>(this.\u0275fac=function(P){return new(P||E)},this.\u0275prov=l.jDH({token:E,factory:E.\u0275fac,providedIn:"root"}))}return v(),E})()},27410(ye,A,n){n.d(A,{$1:()=>h,Fj:()=>l,yF:()=>u});const u=14400,l="PC",h="ROOT-CATEGORIES"},5794(ye,A,n){n.d(A,{s:()=>l});var u=n(99016);function l(...h){const c=({routeConfig:T})=>(T.data={...T.data,i18nextNamespaces:h},(0,u.rB)(...h)());return c.isI18nNsGuard=!0,c}},21357(ye,A,n){n.d(A,{E:()=>T});var u=n(99016),l=n(70559),h=n(17988),c=n(47606);let T=(()=>{var o;class D{static forRoot(C=""){return{ngModule:D,providers:[(0,u.zL)(),{provide:l.p,useValue:C},{provide:u.CE,useExisting:l.p}]}}static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)},this.\u0275mod=c.$C({type:D}),this.\u0275inj=h.G2t({}))}return o(),D})()},68730(ye,A,n){n.d(A,{M:()=>C});var u=n(96623),l=n(17988),h=n(45873),c=n(46821),T=n(71364),o=n(47606);const D=["*"];function g(v,E){if(1&v){const M=o.RV6();o.j41(0,"div",1),o.bIt("done",function(){l.eBV(M);const P=o.XpG();return l.Njj(P.onContainerSlideDone())}),o.SdG(1),o.k0s()}if(2&v){const M=o.XpG();o.Y8G("shrdUtcSlideInOut",M.open())("disabled",M.isAniDisabled())}}let C=(()=>{var v;class E{constructor(){this.keepContentVisible=(0,u.hFB)(!1),this.startOpen=(0,u.hFB)(),this.accordionSlideDone=(0,u.CGW)(),this.closed=(0,l.vPA)(!0),this.open=(0,l.vPA)(null),this.opened=(0,l.vPA)(!1),this.isAniDisabled=(0,l.vPA)(!1),this.startOpenEffect=(0,h.QZ)(()=>{this.startOpen()&&(this.closed.set(!1),this.open.set(!0),this.opened.set(!0),this.isAniDisabled.set(!0)),this.startOpenEffect.destroy()},{manualCleanup:!0}
430)}get isOpen(){return this.open()}toggleOpen(){this.open.update(N=>!N),this.open()&&this.closed.set(!1),this.opened.set(!1)}close(){this.open()&&this.toggleOpen()}onContainerSlideDone(){this.isAniDisabled.set(!1),this.open()?(this.opened.set(!0),this.accordionSlideDone.emit(T.M.OPENED)):(this.closed.set(!0),this.accordionSlideDone.emit(T.M.CLOSED))}static#e=v=()=>(this.\u0275fac=function(P){return new(P||E)},this.\u0275cmp=o.VBU({type:E,selectors:[["shrd-uic-accordion"]],hostAttrs:[1,"shrd-uic-accordion"],hostVars:4,hostBindings:function(P,I){2&P&&o.AVh("is-closed",I.closed())("is-opened",I.opened())},inputs:{keepContentVisible:[1,"keepContentVisible"],startOpen:[1,"startOpen"]},outputs:{accordionSlideDone:"accordionSlideDone"},ngContentSelectors:D,decls:1,vars:1,consts:[[1,"accordion-wrapper",3,"shrdUtcSlideInOut","disabled"],[1,"accordion-wrapper",3,"done","shrdUtcSlideInOut","disabled"]],template:function(P,I){1&P&&(o.NAR(),o.nVh(0,g,2,2,"div",0)),2&P&&o.vxM(!I.closed()||I.keepContentVisible()?0:-1)},dependencies:[c.Qr],styles:["[_nghost-%COMP%]{display:block}.is-closed[_nghost-%COMP%]{display:none!important}.is-opened[_nghost-%COMP%] .accordion-wrapper[_ngcontent-%COMP%]{overflow:visible}.accordion-wrapper[_ngcontent-%COMP%]{overflow:hidden}.shrd-uic-ribbon[_nghost-%COMP%], .shrd-uic-ribbon [_nghost-%COMP%]{border-top:.0625rem solid #cbc8c1}.shrd-uic-ribbon[_nghost-%COMP%] .accordion-wrapper[_ngcontent-%COMP%], .shrd-uic-ribbon [_nghost-%COMP%] .accordion-wrapper[_ngcontent-%COMP%]{background:linear-gradient(to bottom,#f8f8f7 0,#fff 1.375rem)}"],changeDetection:0}))}return v(),E})()},79518(ye,A,n){n.d(A,{C:()=>l});var u=n(17988);let l=(()=>{var h;class c{constructor(){this.accordions=[]}register(o){this.accordions.push(o)}unregister(o){this.accordions=this.accordions.filter(D=>D!==o)}toggle(o){this.accordions.forEach(D=>{D===o?D.toggleOpen():D.close()})}static#e=h=()=>(this.\u0275fac=function(D){return new(D||c)},this.\u0275prov=u.jDH({token:c,factory:c.\u0275fac}))}return h(),c})()},71364(ye,A,n){n.d(A,{M:()=>u});var u=function(l){return l[l.CLOSED=0]="CLOSED",l[l.OPENED=1]="OPENED",l}(u||{})},64679(ye,A,n){n.d(A,{C:()=>l,H:()=>h});var u=n(17988);const l={ariaLabel:"breadcrumb"},h=new u.nKC("BREADCRUMB_TRANSLATIONS")},87960(ye,A,n){n.d(A,{Ak:()=>g,V3:()=>D,c9:()=>u,kp:()=>o,lr:()=>l,q:()=>c,vZ:()=>h,wh:()=>T});const u="SHRD-UIC-SVG-ICON",l="#comment",h=["d-none d-md-inline","visually-hidden-sm-down"],c={BUTTON:"btn",HAS_ICON_BEFORE:"has-icon-before",HAS_ICON_AFTER:"has-icon-after",HAS_ICON_BEFORE_AND_AFTER:"has-icon-before-and-after",HAS_ICON_ONLY:"has-icon-only",HAS_ICON_ONLY_SM_DOWN:"has-icon-only-sm-down"},T={primary:"primary",primaryInverse:"primary-inverse",secondary:"secondary",secondaryDark:"secondary-dark",secondaryInverse:"secondary-inverse",tertiary:"tertiary",tertiaryMajor:"tertiary-major",tertiaryMinor:"tertiary-minor",tertiaryMinorBorderless:"tertiary-minor-borderless",tertiaryMinorBorderlessNeutralDark:"tertiary-minor-borderless-neutraldark",tertiaryMinorBorderlessInverse:"tertiary-minor-borderless-inverse",tertiaryTrivialTextBold:"tertiary-trivial-text-bold",tertiaryFlyout:"tertiary-flyout",tertiaryOption:"tertiary-option",link:"link",headerNav:"header-nav",navList:"nav-list"},o={ICON_BEFORE:"icon-before",ICON_AFTER:"icon-after"},D=T.primary;var g=function(C){return C.NONE="",C.PRIMARY="primary",C.PRIMARY_INVERSE="primaryInverse",C.SECONDARY="secondary",C.SECONDARY_DARK="secondaryDark",C.SECONDARY_INVERSE="secondaryInverse",C.TERTIARY="tertiary",C.TERTIARY_MAJOR="tertiaryMajor",C.TERTIARY_MINOR="tertiaryMinor",C.TERTIARY_MINOR_BORDERLESS="tertiaryMinorBorderless",C.TERTIARY_MINOR_BORDERLESS_NEUTRAL_DARK="tertiaryMinorBorderlessNeutralDark",C.TERTIARY_TRIVIAL_TEXT_BOLD="tertiaryTrivialTextBold",C.TERTIARY_FLYOUT="tertiaryFlyout",C.TERTIARY_OPTION="tertiaryOption",C.LINK="link",C.HEADER_NAV="headerNav",C.NAV_LIST="navList",C}(g||{})},11564(ye,A,n){n.d(A,{_:()=>P});var u=n(96623),l=n(17988),h=n(45873),c=n(47606),T=n(8050),o=n(79168),D=n(48282),g=n(87960);function v(I){return Array.from(I[0].nativeElement.parentElement.childNodes).filter(j=>j.nodeName!==g.lr)}let P=(()=>{var I;class x{constructor(){this.swapVariant=(0,u.hFB)(),this.variant=(0,u.hFB)(g.V3),this.isSelected=(0,l.vPA)(!1),this.blockTransition=(0,h.uu)(()=>this.isBrowser&&!!this.variant(),{equal:w=>!w}),this.hostClasses=(0,h.EW)(()=>this.currentVariant()&&[g.q.BUTTON,`${g.q.BUTTON}-${g.wh[this.currentVariant()]||g.V3}`,...this.iconClassNames()]),this.currentVariant=(0,h.EW)(()=>this.isSelected()&&this.swapVariant()||this.variant()),this.iconClassNames=(0,h.EW)(()=>
430function C(I){if(!I.length)return[];const x=[];if(function E(I){return!!I.length&&v(I).every(x=>x.nodeName===g.c9)}(I))x.push(g.q.HAS_ICON_ONLY);else{const j=v(I),w=j.indexOf(I[0].nativeElement),H=j.indexOf(I.at(-1).nativeElement),ae=0===w,S=H===j.length-1;ae&&!S?(j[w].classList.add(g.kp.ICON_BEFORE),x.push(g.q.HAS_ICON_BEFORE)):!ae&&S?(j[H].classList.add(g.kp.ICON_AFTER),x.push(g.q.HAS_ICON_AFTER)):(j[w].classList.add(g.kp.ICON_BEFORE),j[H].classList.add(g.kp.ICON_AFTER),x.push(g.q.HAS_ICON_BEFORE_AND_AFTER)),(ae||S)&&function M(I){return I.filter(j=>j.nodeName!==g.c9).every(j=>function N(I){if(I instanceof Element){const{className:x}=I;return g.vZ.some(j=>j.split(" ").every(w=>x.includes(w)))}return!1}(j))}(j)&&x.push(g.q.HAS_ICON_ONLY_SM_DOWN)}return x}(this.svgIcons())),this.svgIcons=(0,u.tEk)(o.D,{read:c.aKT,descendants:!0}),this.isBrowser=(0,l.WQX)(D.f).isBrowser,(0,c.mal)(()=>T.X.schedule(()=>this.blockTransition.set(!1)))}handleClick(){this.isSelected.update(w=>!w)}static#e=I=()=>(this.\u0275fac=function(H){return new(H||x)},this.\u0275dir=c.FsC({type:x,selectors:[["","shrdUicButton",""]],contentQueries:function(H,ae,S){1&H&&c.C6U(S,ae.svgIcons,o.D,5,c.aKT),2&H&&c.NyB()},hostVars:6,hostBindings:function(H,ae){1&H&&c.bIt("click",function(){return ae.handleClick()}),2&H&&(c.HbH(ae.hostClasses()),c.AVh("selected",ae.isSelected())("no-trans",ae.blockTransition()))},inputs:{swapVariant:[1,"swapVariant"],variant:[1,"variant"]},exportAs:["buttonDirective"]}))}return I(),x})()},43361(ye,A,n){n.d(A,{P:()=>J});var u=n(9042),l=n(39805),h=n(87615),c=n(94375),T=n(26858),o=n(47606);const D=["*"];function g(Y,re){if(1&Y&&o.nrm(0,"shrd-uic-image",7),2&Y){const G=o.XpG(4);o.Y8G("containerClass",G.useFullImgSize?"image-container-cover":null)("src",G.imgUrl)("alt",G.imgAlt)("usePlaceholder",G.usePlaceholder)("maxHeight",G.maxImgSize)("maxWidth",G.maxImgSize)("alignY",G.isTopAligned?"top":null)}}function C(Y,re){if(1&Y&&o.nrm(0,"shrd-uic-image",8),2&Y){const G=o.XpG(4);o.Y8G("containerClass",G.useFullImgSize?"image-container-cover":null)("src",G.imgUrl)("alt",G.imgAlt)("usePlaceholder",G.usePlaceholder)("maxHeight",G.maxImgSize)("maxWidth",G.maxImgSize)("alignY",G.isTopAligned?"top":null)("shrdUtcWarningIndicator",G.showWarningIndicator)("shrdUtcWarningIndicatorImageVariant",G.useImageVariant)("shrdUtcWarningIndicatorBreakpointMax",G.maxBreakpoint)}}function v(Y,re){if(1&Y&&o.nVh(0,g,1,7,"shrd-uic-image",7)(1,C,1,10,"shrd-uic-image",8),2&Y){const G=o.XpG(3);o.vxM(G.showWarningIndicator?1:0)}}function E(Y,re){if(1&Y&&(o.j41(0,"span",3),o.nVh(1,v,2,1),o.k0s()),2&Y){const G=o.XpG(2);o.R7$(),o.vxM(G.imgUrl||G.usePlaceholder?1:-1)}}function M(Y,re){if(1&Y&&(o.j41(0,"span",5),o.EFF(1),o.k0s()),2&Y){const G=o.XpG(2);o.R7$(),o.JRh(G.headlineText)}}function N(Y,re){if(1&Y&&(o.j41(0,"span",6),o.EFF(1),o.k0s()),2&Y){const G=o.XpG(2);o.R7$(),o.JRh(G.label)}}function P(Y,re){if(1&Y&&(o.nVh(0,E,2,1,"span",3),o.j41(1,"span",4),o.nVh(2,M,2,1,"span",5),o.nVh(3,N,2,1,"span",6),o.SdG(4),o.k0s()),2&Y){const G=o.XpG();o.vxM(G.imgUrl||G.isTextIndent||G.usePlaceholder?0:-1),o.R7$(),o.AVh("text",G.isTopAligned),o.R7$(),o.vxM(G.headlineText?2:-1),o.R7$(),o.vxM(G.label?3:-1)}}function I(Y,re){1&Y&&o.eu8(0)}function x(Y,re){if(1&Y&&(o.j41(0,"button",9),o.DNE(1,I,1,0,"ng-container",10),o.k0s()),2&Y){const G=o.XpG(),ce=o.sdS(1);o.HbH(G.isTopAligned?"nav-top-aligned":"nav-center-aligned"),o.AVh("selected",G.isSelected),o.Y8G("disabled",G.disabled),o.R7$(),o.Y8G("ngTemplateOutlet",ce)}}function j(Y,re){1&Y&&o.eu8(0)}function w(Y,re){if(1&Y&&(o.j41(0,"div")(1,"a",11),o.DNE(2,j,1,0,"ng-container",10),o.k0s()()),2&Y){const G=o.XpG(),ce=o.sdS(1);o.HbH(G.isTopAligned?"nav-top-aligned":"nav-center-aligned"),o.R7$(),o.AVh("btn-link-noimage",!G.imgUrl&&!G.usePlaceholder)("selected",G.isSelected),o.Y8G("shrdUtcRouterLink",G.url)("useSoftNav",G.useRouterLink),o.R7$(),o.Y8G("ngTemplateOutlet",ce)}}const H=6*h.RI.baseLine,ae=4*h.RI.baseLine;let J=(()=>{var Y;class re{constructor(){this.isTextIndent=!1,this.isTopAligned=!1,this.isSelected=!1,this.disabled=!1,this.usePlaceholder=!1,this.showWarningIndicator=!1,this.useImageVariant=!1,this.maxBreakpoint=h.EA.SM,this.maxImgSize=(.7*H).toFixed(),this.isCompressedButton=!1,this.useFullImgSize=!1}set isImageCoverMode(ce){this.useFullImgSize=ce;const pe=this.isCompressedButton?ae:H;this.maxImgSize=ce?`${pe}`:(.7*pe).toFixed()}set isCompressed(ce){this.isCompressedButton=ce,this.isImageCoverMode=this.useFullImgSize}static#e=Y=()=>(this.\u0275fac=function(pe){return new(pe||re)},this.\u0275cmp=o.VBU({type:re,selectors:[["shrd-uic-nav-button"]],hostVars:2,hostBindings:function(pe,De){2&pe&&o.AVh("is-compressed",De.isCompressedButton)},inputs:{label:"label",url:"url",useRouterLink:"useRouterLink",headlineText:"headlineText",imgUrl:"imgUrl",imgAlt:"imgAlt",isTextIndent:"isTextIndent",isTopAligned:"isTopAligned",isSelected:"isSelected",disabled:"disabled",usePlaceholder:"usePlaceholder",showWarningIndicator:"showWarningIndicator",useImageVariant:"useImageVariant",maxBreakpoint:"maxBreakpoint",maxImgSize:"maxImgSize",isImageCoverMode:"isImageCoverMode",isCompressed:"isCompressed"},ngContentSelectors:D,decls:4,vars:1,consts:[["navContentTemplate",""],["type","button",1,"nav-button","btn-link",3,"class","selected","disabled"],[3,"class"],[1,"d-block","asset-container","flex-shrink-0"],[1,"d-block","nav-button-text-block","text-start","min-w-0"],[1,"nav-button-text-headline","text-bold"],[1,"nav-button-text-label"],[3,"containerClass","src","alt","usePlaceholder","maxHeight","maxWidth","alignY"],[3,"containerClass","src","alt","usePlaceholder","maxHeight","maxWidth","alignY","shrdUtcWarningIndicator","shrdUtcWarningIndicatorImageVariant","shrdUtcWarningIndicatorBreakpointMax"],["type","button",1,"nav-button","btn-link",3,"disabled"],[4,"ngTemplateOutlet"],[1,"nav-button","btn-link",3,"shrdUtcRouterLink","useSoftNav"]],template:function(pe,De){1&pe&&(
430o.NAR(),o.DNE(0,P,5,5,"ng-template",null,0,o.C5r),o.nVh(2,x,2,6,"button",1)(3,w,3,9,"div",2)),2&pe&&(o.R7$(2),o.vxM(De.url?3:2))},dependencies:[u.T3,l.h,T.J,c.j],styles:["[_nghost-%COMP%]{display:flex;min-height:4.125rem}[_nghost-%COMP%] .nav-top-aligned[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .nav-top-aligned[_ngcontent-%COMP%] .asset-container[_ngcontent-%COMP%]{margin-top:.6875rem}[_nghost-%COMP%] .nav-top-aligned[_ngcontent-%COMP%] .nav-button-text-block[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] .nav-top-aligned[_ngcontent-%COMP%] .nav-button[_ngcontent-%COMP%], [_nghost-%COMP%] .nav-top-aligned[_ngcontent-%COMP%] .shrd-uic-image[_ngcontent-%COMP%]{align-items:flex-start}[_nghost-%COMP%] .nav-center-aligned[_ngcontent-%COMP%]{width:100%;align-items:center}[_nghost-%COMP%] .nav-center-aligned.nav-button[_ngcontent-%COMP%], [_nghost-%COMP%] .nav-center-aligned[_ngcontent-%COMP%] .nav-button[_ngcontent-%COMP%], [_nghost-%COMP%] .nav-center-aligned[_ngcontent-%COMP%] .shrd-uic-image[_ngcontent-%COMP%]{align-items:center}[_nghost-%COMP%] .nav-button[_ngcontent-%COMP%]{display:flex;width:100%;padding:0;margin:0;text-decoration:none;outline:none}[_nghost-%COMP%] .nav-button.selected[_ngcontent-%COMP%], [_nghost-%COMP%] .nav-button[_ngcontent-%COMP%]:active{color:#920314}[_nghost-%COMP%] .nav-button.selected[_ngcontent-%COMP%] .nav-button-text-block[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child, [_nghost-%COMP%] .nav-button[_ngcontent-%COMP%]:active .nav-button-text-block[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{color:#920314}[_nghost-%COMP%] .nav-button[_ngcontent-%COMP%]:hover .nav-button-text-block[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child, [_nghost-%COMP%] .nav-button[_ngcontent-%COMP%]:focus .nav-button-text-block[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{color:#ab0115}[_nghost-%COMP%] .nav-button[_ngcontent-%COMP%]:hover .nav-button-text-block[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(:first-child), [_nghost-%COMP%] .nav-button[_ngcontent-%COMP%]:focus .nav-button-text-block[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(:first-child){color:#524f53}[_nghost-%COMP%] .nav-button.btn-link[_ngcontent-%COMP%]:focus{outline:none}[_nghost-%COMP%] .nav-button.btn-link[_ngcontent-%COMP%]:focus:before{left:.125rem;right:.125rem}[_nghost-%COMP%] .nav-button-text-block[_ngcontent-%COMP%] .nav-button-text-headline[_ngcontent-%COMP%], [_nghost-%COMP%] .nav-button-text-block[_ngcontent-%COMP%] .nav-button-text-label[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%] .asset-container[_ngcontent-%COMP%]{width:4.125rem;margin-inline-end:.9375rem}[_nghost-%COMP%] .asset-container[_ngcontent-%COMP%], [_nghost-%COMP%] .asset-container[_ngcontent-%COMP%] .shrd-uic-image[_ngcontent-%COMP%]{height:4.125rem}@media (max-width: 1023.98px){[_nghost-%COMP%]{min-height:2.75rem}}[_nghost-%COMP%] .btn-link-noimage[_ngcontent-%COMP%]:focus:before{inset-inline-start:-.3125rem}.is-compressed[_nghost-%COMP%]{min-height:2.75rem}.is-compressed[_nghost-%COMP%] .asset-container[_ngcontent-%COMP%]{width:2.75rem}.is-compressed[_nghost-%COMP%] .asset-container[_ngcontent-%COMP%], .is-compressed[_nghost-%COMP%] .asset-container[_ngcontent-%COMP%] .shrd-uic-image[_ngcontent-%COMP%]{height:2.75rem}.is-compressed[_nghost-%COMP%] .nav-button-text-block[_ngcontent-%COMP%] .nav-button-text-headline[_ngcontent-%COMP%], .is-compressed[_nghost-%COMP%] .nav-button-text-block[_ngcontent-%COMP%] .nav-button-text-label[_ngcontent-%COMP%]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:break-word}"],changeDetection:0}))}return Y(),re})()},62314(ye,A,n){n.d(A,{n:()=>l});const l=new(n(17988).nKC)("shrd-uic.datepickerTranslation")},3573(ye,A,n){n.d(A,{W:()=>l,j:()=>h});var u=n(17988);const l={deleteButtonLabel:"Delete",dictFileTooBig:"Selected file is too big.",dictInvalidFileType:"Invalid file type selected.",noFileSelectedLabel:"No file selected.",uploadButtonLabel:"Upload",uploadSystemErrorMessage:"An error occurred",dragAndDropLabel:"Drag & drop or click to upload document.",dragAndDropHint:"Drop file here"},h=new u.nKC("DOCUMENT_UPLOAD_TRANSLATIONS")},1647(ye,A,n){n.d(A,{J:()=>l});const l=new(n(17988).nKC)("FILE_INPUT_TRANSLATIONS")},70421(ye,A,n){n.d(A,{C:()=>P});var u=n(17988),l=n(95536),h=n(8050),c=n(11640),T=n(79746),o=n(61856),D=n(24406),g=n(56816),C=n(44085),v=n(35072),E=n(93612);function M(I,x){return I.isSmartbar===x.isSmartbar&&I.isToastMessage===x.isToastMessage?N(I,x):I.isSmartbar||x.isSmartbar?I.isSmartbar?-1:1:I.isToastMessage||x.isToastMessage?I.isToastMessage?1:-1:N(I,x)}function N(I,x){return I.stacking===x.stacking?x.updated-I.updated:I.stacking?1:-1}let P=(()=>{var I;class x{constructor(){this.resize$=(0,u.WQX)(v.c).onResize$.pipe((0,C.c)(0,h.X)),this.elements$=new l.t([]),this.elementsWithOffset$=this.createFloatingElementsWithOffset$(),this.win=(0,u.WQX)(E.$).nativeWindow,this.scrollContainer=this.win}getCalculatedOffset$(w){return this.elementsWithOffset$.pipe((0,D.T)(H=>H.find(ae=>ae.nativeElement.isEqualNode(w))),(0,o.p)(H=>!!H),(0,D.T)(H=>H.calculatedOffset),(0,T.F)())}updateValue(w,H,ae){const S=this.elements$.getValue(),J=S.find(Y=>Y.nativeElement.isEqualNode(w));J&&(J[H]=ae,J.updated=Date.now(),this.elements$.next(this.sortByStacking(S)))}registerElement(w){this.addElement(w)}deregisterElement(w){this.removeElement(w)}
430setScrollContainer(w){this.scrollContainer instanceof HTMLElement&&console.warn("Warning: This instance of FloatingStackingService already has an assigned scroll container."),this.scrollContainer=w}removeScrollContainer(w){this.scrollContainer instanceof HTMLElement&&w.isEqualNode(this.scrollContainer)&&(this.scrollContainer=this.win)}getScrollContainer(){return this.scrollContainer}createFloatingElementsWithOffset$(){return(0,c.z)([this.elements$,this.resize$.pipe((0,g.Z)(""))]).pipe((0,o.p)(([w])=>w?.length>0),(0,D.T)(([w])=>this.calculatePositions(w)))}calculatePositions(w){let H=0;return w.map(ae=>{const S=H+ae.offset;return(ae.stacking||ae.isSmartbar)&&(H=S+ae.nativeElement.offsetHeight),{...ae,calculatedOffset:S}})}addElement(w){this.elements$.next(this.sortByStacking([{...w,updated:Date.now()},...this.elements$.getValue()]))}removeElement(w){this.elements$.next(this.elements$.getValue().filter(H=>!H.nativeElement.isEqualNode(w)))}sortByStacking(w){return w.sort(M)}static#e=I=()=>(this.\u0275fac=function(H){return new(H||x)},this.\u0275prov=u.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}))}return I(),x})()},64838(ye,A,n){n.d(A,{T:()=>Y});var u=n(9042),l=n(72268),h=n(74936),c=n(92424),T=n(36256),o=n(47606);const D=["*"];function g(re,G){1&re&&o.eu8(0)}function C(re,G){if(1&re&&(o.j41(0,"div",5),o.DNE(1,g,1,0,"ng-container",6),o.k0s(),o.nrm(2,"shrd-uic-scrollbar",null,3)),2&re){const ce=o.sdS(3);o.XpG();const pe=o.sdS(7);o.Y8G("scrollBarVerticalRef",ce),o.R7$(),o.Y8G("ngTemplateOutlet",pe)}}function v(re,G){1&re&&o.eu8(0)}function E(re,G){if(1&re&&(o.j41(0,"div",4),o.DNE(1,v,1,0,"ng-container",6),o.k0s()),2&re){o.XpG();const ce=o.sdS(7);o.R7$(),o.Y8G("ngTemplateOutlet",ce)}}function M(re,G){1&re&&o.eu8(0)}function N(re,G){if(1&re&&(o.j41(0,"div",7)(1,"div",8),o.DNE(2,M,1,0,"ng-container",6),o.k0s()()),2&re){o.XpG(2);const ce=o.sdS(5);o.R7$(2),o.Y8G("ngTemplateOutlet",ce)}}function P(re,G){1&re&&o.eu8(0)}function I(re,G){if(1&re&&o.DNE(0,P,1,0,"ng-container",6),2&re){o.XpG(2);const ce=o.sdS(5);o.Y8G("ngTemplateOutlet",ce)}}function x(re,G){if(1&re&&o.nVh(0,N,3,1,"div",7)(1,I,1,1,"ng-container"),2&re){const ce=o.XpG();o.vxM(ce.hasGrid?0:1)}}function j(re,G){1&re&&o.SdG(0)}function w(re,G){1&re&&o.eu8(0)}function H(re,G){if(1&re&&(o.j41(0,"div",9),o.DNE(1,w,1,0,"ng-container",6),o.k0s()),2&re){const ce=o.XpG(2),pe=o.sdS(3);o.Y8G("autoUpdate",ce.autoUpdateFocusScope),o.R7$(),o.Y8G("ngTemplateOutlet",pe)}}function ae(re,G){1&re&&o.eu8(0)}function S(re,G){if(1&re&&o.DNE(0,ae,1,0,"ng-container",6),2&re){o.XpG(2);const ce=o.sdS(3);o.Y8G("ngTemplateOutlet",ce)}}function J(re,G){if(1&re&&o.nVh(0,H,2,2,"div",9)(1,S,1,1,"ng-container"),2&re){const ce=o.XpG();o.vxM(ce.focusEnabled?0:1)}}let Y=(()=>{var re;class G{constructor(){this.hasGrid=!0,this.scrollbarEnabled=!0,this.focusEnabled=!0,this.autoUpdateFocusScope=!1,this.hostClass=!0}static#e=re=()=>(this.\u0275fac=function(De){return new(De||G)},this.\u0275cmp=o.VBU({type:G,selectors:[["shrd-uic-flyout-body"]],hostVars:2,hostBindings:function(De,z){2&De&&o.AVh("shrd-uic-flyout-body",z.hostClass)},inputs:{hasGrid:"hasGrid",scrollbarEnabled:"scrollbarEnabled",focusEnabled:"focusEnabled",autoUpdateFocusScope:"autoUpdateFocusScope"},ngContentSelectors:D,decls:8,vars:1,consts:[["flyoutBody",""],["content",""],["container",""],["scrollbar",""],[1,"shrd-uic-flyout-body-container"],["shrdUicScrollbar","",1,"shrd-uic-flyout-body-container","has-scrollbar",3,"scrollBarVerticalRef"],[4,"ngTemplateOutlet"],[1,"container-fluid","my-0","px-md-0"],[1,"row"],["shrdUicFocusTrap","",3,"autoUpdate"]],template:function(De,z){1&De&&(o.NAR(),o.nVh(0,C,4,2)(1,E,2,1,"div",4),o.DNE(2,x,2,1,"ng-template",null,0,o.C5r)(4,j,1,0,"ng-template",null,1,o.C5r)(6,J,2,1,"ng-template",null,2,o.C5r)),2&De&&o.vxM(z.scrollbarEnabled?0:1)},dependencies:[u.T3,h.R,T.yR,c.G,l.zr],styles:["[_nghost-%COMP%]{display:block;position:relative;max-width:100%;margin:0 auto;width:100%;pointer-events:all;overflow:auto;-webkit-overflow-scrolling:touch;background-color:#fff;box-shadow:0 0 .625rem #00000026}@media (max-width: 1023.98px){[_nghost-%COMP%]{height:100%;max-width:31.25rem;max-height:calc(100vh - 1.375rem)}}@media (min-width: 1024px){[_nghost-%COMP%]{padding-top:1.375rem;padding-bottom:.6875rem}}[_nghost-%COMP%] .shrd-uic-scrollbar[_ngcontent-%COMP%]{margin-inline-end:.25rem}@media (min-width: 1024px){[_nghost-%COMP%] .shrd-uic-flyout-body-container.has-scrollbar[_ngcontent-%COMP%]{max-height:16.5rem;height:100%}[_nghost-%COMP%] .shrd-uic-flyout-body-container.has-scrollbar.scrollbar-vertical-shown[_ngcontent-%COMP%]{padding-inline-end:1.625rem}}[_nghost-%COMP%]:focus{outline:none}
430.flyout-fixed-width[_nghost-%COMP%]{width:18.75rem}@media (max-width: 1023.98px){.modal-window-body[_nghost-%COMP%], .modal-window-body [_nghost-%COMP%]{box-shadow:none;background-color:transparent;margin:0;max-width:100%;max-height:100%}.modal-window-body[_nghost-%COMP%] .shrd-uic-flyout-body-container[_ngcontent-%COMP%], .modal-window-body [_nghost-%COMP%] .shrd-uic-flyout-body-container[_ngcontent-%COMP%]{padding:1.375rem 0;height:auto;min-height:100%}.modal-window-body[_nghost-%COMP%] .shrd-uic-flyout-body-container[_ngcontent-%COMP%] > .container-fluid[_ngcontent-%COMP%], .modal-window-body [_nghost-%COMP%] .shrd-uic-flyout-body-container[_ngcontent-%COMP%] > .container-fluid[_ngcontent-%COMP%], .modal-window-body[_nghost-%COMP%] .shrd-uic-flyout-body-container[_ngcontent-%COMP%] > .container-fluid[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%], .modal-window-body [_nghost-%COMP%] .shrd-uic-flyout-body-container[_ngcontent-%COMP%] > .container-fluid[_ngcontent-%COMP%] > .row[_ngcontent-%COMP%]{height:100%}}"],changeDetection:0}))}return re(),G})()},10409(ye,A,n){n.d(A,{fA:()=>w});var u=n(17988),l=n(47606),h=n(79746),c=n(61856),T=n(24406),o=n(99473),D=n(56816),g=n(65213),C=n(89287),v=n(14816),E=n(35072),M=n(93612);var I=function(H){return H.PARENT="parent",H.BODY="body",H.STICKY_PARENT="stickyParent",H}(I||{});function x(H,ae){return H.left+H.width/2-ae}function j(H,ae,S){H?.style.setProperty(ae,`${S}px`,"important")}let w=(()=>{var H;class ae extends C.b{constructor(){super(),this.autoPositioning=!1,this.placement=["bottom-start"],this.openOnClick=!0,this.visibilityChange=new l.bkB,this.wrapperService=(0,u.WQX)(v.$),this.ngZone=(0,u.WQX)(l.SKi),this.injector=(0,u.WQX)(u.zZn),this.resizeService=(0,u.WQX)(E.c),this.renderer=(0,u.WQX)(l.sFG),this.win=(0,u.WQX)(M.$).nativeWindow,this.containerPlacement=I.BODY,this.configureNgbPopover()}set showWhiteArrow(J){J&&this.addPopoverClass("white-arrow")}set autoPosFixedWidth(J){this.autoPosFixed=J,J?this.addPopoverClass("auto-pos-fixed-width"):this.removePopoverClass("auto-pos-fixed-width")}onClick(){!this.ngbPopover.isOpen()&&this.openOnClick&&this.open()}onHidden(){this.restoreFocus(),this.resetActiveInstance(),this.visibilityChange.emit(!1)}open(J){if(this.ngbPopover.disablePopover)return;this.setButtonRect();const Y=this.getStickyParent();this.ngbPopover.container=Y?null:I.BODY,this.containerPlacement=Y?this.placeInStickyParent?I.STICKY_PARENT:I.PARENT:I.BODY,this.ngZone.run(()=>{this.ngbPopover.open(J),this.containerPlacement!==I.PARENT&&this.wrapPopover(Y||this.wrapperService.getWrapper())})}configureNgbPopover(){this.ngbPopover.placement=this.placement,this.ngbPopover.triggers="manual",this.addPopoverClass("shrd-uic-flyout-popover"),super.configureNgbPopover()}onOpen(){C.b.activeInstance?.close(),super.onOpen(),setTimeout(this.toggleOpenClasses.bind(this)),this.updatePopoverStyles(),this.visibilityChange.emit(!0),this.subscribeToResize(),this.placeInStickyParent&&this.closeOnBreakpointChange()}onClose(){super.onClose(),this.toggleOpenClasses()}getChevronElm(){const J=this.getPopoverElm();let Y=J.querySelector(".arrow");return Y||(Y=this.renderer.createElement("div"),Y.classList.add("arrow"),this.renderer.appendChild(J,Y)),Y}getPopoverTopOffset(J,Y){const re=J.top,G=J.height;let ce;switch(this.containerPlacement){case I.BODY:ce=re+G+Y;break;case I.STICKY_PARENT:ce=re+G-this.getStickyParent().getBoundingClientRect().top;break;default:ce=G}return ce}updatePopoverStyles(){if(!this.isWithinDesktopBreakpoint())return;const J=this.getPopoverElm();if(this.autoPositioning)J.classList.add("auto-positioning"),j(J,"width",this.buttonRect.width);else{const Y=this.getPopoverTopOffset(this.buttonRect,this.win.scrollY);this.runWhenStable(this.updateChevronStyles.bind(this,Y)),j(this.popoverBody,"margin-top",Y)}this.autoPosFixed&&this.runWhenStable(this.updateAutoPosFixedPosition.bind(this,this.buttonRect,this.popoverBody))}updateAutoPosFixedPosition(J,Y){const re=this.getPopoverOffsetX(),G=x(J,re),ce=Y.querySelector(".shrd-uic-flyout-body");Y.classList.remove("auto-pos-end"),ce.removeAttribute("style");const pe=Y.getBoundingClientRect(),De=ce.getBoundingClientRect(),z=G-De.width/2-pe.left+re;z+De.width>pe.right-re?Y.classList.add("auto-pos-end"):z>0&&j(ce,"margin-left",z)}updateChevronStyles(J){const Y=this.getChevronElm();
430j(Y,"left",x(this.buttonRect,this.getPopoverOffsetX())),j(Y,"margin-top",J)}toggleOpenClasses(){this.win.document.body.classList.toggle("overflow-hidden-sm-down",this.isOpen),this.elRef.nativeElement.classList.toggle("flyout-open",this.isOpen)}getPopoverOffsetX(){return this.autoPosFixed?this.getPopoverElm().getBoundingClientRect().left:0}setButtonRect(){this.buttonRect=this.getTriggerElm().getBoundingClientRect()}runWhenStable(J){(0,l.mal)({mixedReadWrite:J},{injector:this.injector})}subscribeToResize(){this.resizeService.onResize$.pipe((0,c.p)(J=>this.isWithinDesktopBreakpoint()),(0,g.Q)(this.unsubscribe$)).subscribe(J=>{this.setButtonRect(),this.updatePopoverStyles()})}closeOnBreakpointChange(){this.breakpointService.breakpointChange$.pipe((0,D.Z)(null),(0,c.p)(J=>this.isOpen),(0,T.T)(J=>this.isWithinDesktopBreakpoint()),(0,h.F)(),(0,o.i)(1),(0,g.Q)(this.unsubscribe$)).subscribe(J=>this.close())}restoreFocus(){const J=this.getTriggerElm(),Y=this.win.document.activeElement,re=Y===J;this.isActiveInstance()&&(re||this.isChildOfPopover(Y))&&(J.setAttribute("tabindex","0"),J.focus())}addPopoverClass(J){this.ngbPopover.popoverClass=`${this.ngbPopover.popoverClass||""} ${J}`}removePopoverClass(J){this.ngbPopover.popoverClass=(this.ngbPopover.popoverClass||"").split(" ").filter(Y=>Y!==J).join(" ")}static#e=H=()=>(this.\u0275fac=function(Y){return new(Y||ae)},this.\u0275dir=l.FsC({type:ae,selectors:[["","ngbPopover","","shrdUicFlyout",""]],hostBindings:function(Y,re){1&Y&&l.bIt("click",function(){return re.onClick()})("hidden",function(){return re.onHidden()})},inputs:{autoPositioning:"autoPositioning",placement:"placement",placeInStickyParent:"placeInStickyParent",openOnClick:"openOnClick",showWhiteArrow:"showWhiteArrow",autoPosFixedWidth:"autoPosFixedWidth"},outputs:{visibilityChange:"visibilityChange"},exportAs:["shrdUicFlyout"],features:[l.Vt3]}))}return H(),ae})()},21855(ye,A,n){n.d(A,{G:()=>T});var u=n(72268),l=n(64838),h=n(17988),c=n(47606);let T=(()=>{var o;class D{static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)},this.\u0275mod=c.$C({type:D}),this.\u0275inj=h.G2t({imports:[l.T,u.zr,u.zr]}))}return o(),D})()},74936(ye,A,n){n.d(A,{R:()=>T});var u=n(17988),l=n(47606),h=n(93612);const c='a[href]:not([disabled]), button:not([disabled]), textarea:not([disabled]), input[type="text"]:not([disabled]),\n input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])';let T=(()=>{var o;class D{constructor(){this.autoUpdate=!1,this.disableTrap=!1,this.mutationObserver=null,this.elementRef=(0,u.WQX)(l.aKT),this.win=(0,u.WQX)(h.$).nativeWindow}onFocus(){this.elementRef.nativeElement.style.outline="none"}handleKeyboardEvent(C,v){this.disableTrap||"Tab"!==C.key||(C.shiftKey?v===this.firstFocusableElement&&(this.lastFocusableElement.focus(),C.preventDefault()):v===this.lastFocusableElement&&(this.firstFocusableElement.focus(),C.preventDefault()))}ngOnInit(){this.elementRef.nativeElement.setAttribute("tabindex","-1"),!this.disableTrap&&this.setFocus()}ngAfterViewInit(){this.updateFocusableElements(),this.autoUpdate&&this.observeFocusableElementsChange()}ngOnDestroy(){this.unobserveFocusableElementsChange()}setFocus(){this.elementRef.nativeElement.focus({preventScroll:!0})}updateFocusableElements(){const C=this.elementRef.nativeElement.querySelectorAll(c);C.length&&(this.firstFocusableElement=C[0],this.lastFocusableElement=C[C.length-1])}observeFocusableElementsChange(){this.win.MutationObserver&&(this.mutationObserver=new MutationObserver(C=>{for(const{addedNodes:v,removedNodes:E,attributeName:M}of C){const N=[...Array.from(v),...Array.from(E)].some(P=>P.nodeType===Node.ELEMENT_NODE&&!!P.querySelector(c));if(M||N){this.updateFocusableElements();break}}}),this.mutationObserver.observe(this.elementRef.nativeElement,{attributeFilter:["tabindex","disabled"],childList:!0,subtree:!0}))}unobserveFocusableElementsChange(){this.mutationObserver?.disconnect()}static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)},this.\u0275dir=l.FsC({type:D,selectors:[["","shrdUicFocusTrap",""]],hostBindings:function(v,E){1&v&&l.bIt("focus",function(){return E.onFocus()})("keydown",function(N){return E.handleKeyboardEvent(N,N.target)})},inputs:{autoUpdate:"autoUpdate",disableTrap:"disableTrap"},exportAs:["shrdUicFocusTrap"]}))}return o(),D})()},40361(ye,A,n){n.d(A,{A:()=>v,B:()=>C});var u=n(96623),l=n(17988),h=n(47606),c=n(48015),T=n(61856),o=n(56816),D=n(40420);const g=["inputRef"];let C=(()=>{var E;class M{set readonly(P){this.isReadonly=P,this.cdr.markForCheck()}get readonly(){return this.isReadonly}set disabled(P){void 0!==P&&this.setDisabled(P)}get disabled(){return this.internalDisabled}
430set value(P){this.updateValue(P)}get value(){return this.internalValue}onActivated(P){this.activated.emit(P)}onFocusOut(P){this.onTouched(),this.focusOut.emit(P)}get errors(){return this.formControl.errors}get touched(){return this.formControl.touched}get dirty(){return this.formControl.dirty}get valid(){return this.formControl.valid}get control(){return this.formControl}constructor(){this.validators=(0,l.WQX)(c.cz,{optional:!0}),this.asyncValidators=(0,l.WQX)(c.pg,{optional:!0}),this.controlContainer=(0,l.WQX)(c.ZU,{optional:!0,host:!0}),this.cdr=(0,l.WQX)(u.gRc),this.internalValue=null,this.internalDisabled=!1,this.isReadonly=!1,this.activated=new h.bkB,this.focusOut=new h.bkB,this.onChange=P=>{},this.onTouched=()=>{},this.onDisabledChange=P=>{},this.isNgForm=this.controlContainer?.formDirective instanceof c.cV,this.isNgForm&&(this.formControl=new c.hs,this.formControl.setValidators(this.validators),this.formControl.setAsyncValidators(this.asyncValidators)),M.increment++,this.instanceId=M.increment}ngOnInit(){if(!this.formControl){const I=this.controlContainer?.control.get(this.formControlName);this.formControl=I instanceof c.hs?I:new c.hs,I||(this.setFormControlDisabledState(),this.updateFormControlValue(this.internalValue))}this.formControl.valueChanges.pipe((0,o.Z)(this.formControl.value??this.value),(0,T.p)(I=>I===this.formControl.value)).subscribe(I=>this.updateValue(I)),this.substituteNameAndId()}setDisabledState(P,I=!0){this.setDisabled(P,I)}setDisabled(P,I=!0){(P=!1!==P)!==this.internalDisabled&&(this.internalDisabled=P,this.setFormControlDisabledState(I),this.onDisabledChange(P))}setFormControlDisabledState(P=!0){if(this.formControl&&this.formControl.disabled!==this.internalDisabled){const I={emitEvent:P};this.internalDisabled?this.formControl.disable(I):this.formControl.enable(I)}}substituteNameAndId(){if(!this.name)if(this.formControlName){if(this.name=this.formControlName,this.controlContainer?.control.parent){const P=this.controlContainer.control.parent;this.name=Object.keys(P.controls).find(I=>P.get(I)===this.formControl.parent)+this.name}}else this.name="custom-input-"+this.instanceId;this.inputId||(this.inputId=this.name)}updateValue(P){const I=(P=(0,D.jZ)(P))!==this.internalValue;this.internalValue=P,I&&(this.isNgForm||!this.controlContainer)&&this.onChange(P),this.updateFormControlValue(P),this.cdr.markForCheck()}updateFormControlValue(P,I=!1){this.formControl&&this.formControl.value!==P&&this.formControl.setValue(P,{emitEvent:I})}writeValue(P){P&&(this.internalValue=P,this.isNgForm&&this.formControl.setValue(P))}registerOnChange(P){this.onChange=P}registerOnTouched(P){this.onTouched=P}registerOnDisabledChange(P){this.onDisabledChange=P}static#e=E=()=>(this.increment=0,this.\u0275fac=function(I){return new(I||M)},this.\u0275dir=h.FsC({type:M,viewQuery:function(I,x){if(1&I&&h.GBs(g,7,h.aKT),2&I){let j;h.mGM(j=h.lsd())&&(x.inputElementRef=j.first)}},hostVars:2,hostBindings:function(I,x){1&I&&h.bIt("mouseup",function(w){return x.onActivated(w)})("focusout",function(w){return x.onFocusOut(w)}),2&I&&h.AVh("disabled",x.disabled)},inputs:{name:"name",inputId:"inputId",formControlName:"formControlName",validatorMessageContext:"validatorMessageContext",validationMessage:"validationMessage",validateOnBlur:"validateOnBlur",readonly:"readonly",disabled:"disabled",value:"value"},outputs:{activated:"activated",focusOut:"focusOut"}}))}return E(),M})();function v(E){return[{provide:c.kq,useExisting:(0,l.Rfq)(()=>E),multi:!0},{provide:C,useExisting:(0,l.Rfq)(()=>E),multi:!0}]}},97073(ye,A,n){n.d(A,{_A:()=>v,gN:()=>D,hW:()=>C});var u=n(9042),l=n(48015),h=n(40361),c=n(47606);const T=["inputRef"];function o(E,M){if(1&E&&(c.j41(0,"label",1),c.EFF(1),c.k0s()),2&E){const N=c.XpG();c.Y8G("for",N.inputId),c.R7$(),c.SpI(" ",N.screenReaderLabel||N.placeholder," ")}}var D=function(E){return E.TEXT="text",E.NUMBER="number",E.EMAIL="email",E.PASSWORD="password",E.SEARCH="search",E.TELEPHONE="tel",E}(D||{});function C(E){const M=E.registerOnChange;E.registerOnChange=N=>M.call(E,P=>N(P?.trim()))}let v=(()=>{var E;class M extends h.B{constructor(){super(...arguments),this.placeholder="",this.useScreenReaderLabel=!1,this.autofocus=!1,this.autofocusPreventScroll=!1,this.inputClasses="",this.trimSpaces=!0,this.hostClass=!0,this.autocompleteValue="on",this.inputType=D.TEXT}set autocomplete(P){this.autocompleteValue=function g(E){return"string"==typeof E?E:E?"on":"off"}(P),this.cdr.markForCheck()}set type(P){this.inputType=P,this.cdr.markForCheck()}get type(){return this.inputType}ngOnInit(){super.ngOnInit(),this.trimSpaces&&C(this.ngControl.valueAccessor)}ngAfterViewInit(){this.autofocus&&this.focus(this.autofocusPreventScroll)}focus(P=!1){this.inputElementRef.nativeElement.focus({preventScroll:P})}blur(){this.inputElementRef.nativeElement.blur()}static#e=E=()=>(this.\u0275fac=(()=>{let P;return function(x){return(P||(P=c.xGo(M)))(x||M)}})(),this.\u0275cmp=c.VBU({type:M,selectors:[["shrd-uic-input-field"]],viewQuery:function(I,x){if(1&I&&c.GBs(T,7,l.vO),2&I){let j;c.mGM(j=c.lsd())&&(x.ngControl=j.first)}},hostVars:2,hostBindings:function(I,x){2&I&&c.AVh("shrd-uic-input-field",x.hostClass)},inputs:{placeholder:"placeholder",screenReaderLabel:"screenReaderLabel",ariaLabel:"ariaLabel",ariaAutoComplete:"ariaAutoComplete",ariaControl
430s:"ariaControls",ariaExpanded:"ariaExpanded",labelledBy:"labelledBy",useScreenReaderLabel:"useScreenReaderLabel",autofocus:"autofocus",autofocusPreventScroll:"autofocusPreventScroll",maxlength:"maxlength",pattern:"pattern",min:"min",max:"max",inputClasses:"inputClasses",role:"role",spellcheck:"spellcheck",autocorrect:"autocorrect",trimSpaces:"trimSpaces",autocomplete:"autocomplete",type:"type"},features:[c.Jv_((0,h.A)(M)),c.Vt3],decls:3,vars:22,consts:[["inputRef",""],[1,"visually-hidden",3,"for"],[1,"form-control",3,"type","name","id","formControl","placeholder","value","pattern","readonly","autocomplete","ngClass"]],template:function(I,x){1&I&&(c.nVh(0,o,2,2,"label",1),c.nrm(1,"input",2,0)),2&I&&(c.vxM(x.useScreenReaderLabel||x.screenReaderLabel?0:-1),c.R7$(),c.Y8G("type",x.type)("name",x.name)("id",x.inputId)("formControl",x.control)("placeholder",x.placeholder)("value",x.value)("pattern",x.pattern)("readonly",x.readonly)("autocomplete",x.autocompleteValue)("ngClass",x.inputClasses),c.BMQ("min",x.min?x.min:null)("max",x.max?x.max:null)("maxlength",x.maxlength)("aria-autocomplete",x.ariaAutoComplete?x.ariaAutoComplete:null)("aria-label",x.ariaLabel?x.ariaLabel:null)("aria-labelledby",x.labelledBy?x.labelledBy:null)("aria-controls",x.ariaControls??null)("aria-expanded",x.ariaExpanded??null)("role",x.role??null)("spellcheck",x.spellcheck??null)("autocorrect",x.autocorrect??null))},dependencies:[l.X1,l.me,l.BC,l.R_,l.l_,u.YU],styles:[".shrd-uic-search-field-input[_nghost-%COMP%] .form-control[_ngcontent-%COMP%], .shrd-uic-search-field-input [_nghost-%COMP%] .form-control[_ngcontent-%COMP%]{padding-inline-end:3.1875rem}.header-variant[_nghost-%COMP%] .form-control[_ngcontent-%COMP%]:not(:disabled), .header-variant [_nghost-%COMP%] .form-control[_ngcontent-%COMP%]:not(:disabled){border-color:#d2051e}.shrd-uic-pagination[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .shrd-uic-pagination [_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-outer-spin-button, .shrd-uic-pagination[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button, .shrd-uic-pagination [_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.shrd-uic-pagination[_nghost-%COMP%] input[type=number][_ngcontent-%COMP%], .shrd-uic-pagination [_nghost-%COMP%] input[type=number][_ngcontent-%COMP%]{-moz-appearance:textfield}.shrd-uic-pagination[_nghost-%COMP%] input[_ngcontent-%COMP%], .shrd-uic-pagination [_nghost-%COMP%] input[_ngcontent-%COMP%]{width:3.125rem;text-align:center}.uppercase-field[_nghost-%COMP%] input[_ngcontent-%COMP%]{text-transform:uppercase}"],changeDetection:0}))}return E(),M})()},53310(ye,A,n){n.d(A,{N:()=>h,u:()=>l});var u=n(17988);const l={currentOptionDescriptionHidden:"This is the current option.",showMoreOptions:"Show more options"},h=new u.nKC("OPTION_CARDS_TRANSLATIONS")},28437(ye,A,n){n.d(A,{H:()=>l});const l=new(n(17988).nKC)("GENERIC_MODAL_TRANSLATIONS")},73328(ye,A,n){n.d(A,{y:()=>T});var u=n(96623),l=n(45873),h=n(87615),c=n(47606);let T=(()=>{var o;class D{constructor(){this.vAlign=(0,u.hFB)("center"),this.hasMargin=(0,u.hFB)(!1),this.lineHeight=(0,u.hFB)(),this.height=(0,l.EW)(()=>2!==this.lineHeight()&&this.lineHeight()>0?h.RI.linesToRem(this.lineHeight()):void 0)}static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)},this.\u0275dir=c.FsC({type:D,selectors:[["","shrdUicHr",""]],hostVars:8,hostBindings:function(v,E){2&v&&(c.xc7("height",E.height(),"rem"),c.AVh("mx-3",E.hasMargin())("line-top","top"===E.vAlign())("line-bottom","bottom"===E.vAlign()))},inputs:{vAlign:[1,"vAlign"],hasMargin:[1,"hasMargin"],lineHeight:[1,"lineHeight"]}}))}return o(),D})()},39805(ye,A,n){n.d(A,{h:()=>v});var u=n(9042),l=n(47606),h=n(72315),c=n(87615);let T=(()=>{var E;class M{transform(P){return P&&c.RI.pxToRem(P)}static#e=E=()=>(this.\u0275fac=function(I){return new(I||M)},this.\u0275pipe=l.EJ8({name:"pxToRem",type:M,pure:!0}))}return E(),M})();var o=n(17988);const D=(E,M)=>M.media;function g(E,M){if(1&E&&(l.nrm(0,"source",2),l.nI1(1,"assetPath")),2&E){const N=M.$implicit;l.Y8G("media",N.media)("srcset",l.bMT(1,2,N.src))}}function C(E,M){if(1&E){const N=l.RV6();l.j41(0,"img",4),l.nI1(1,"assetPath"),l.bIt("error",function(I){o.eBV(N);const x=l.XpG();return o.Njj(x.onImageError(I))}),l.k0s()}if(2&E){const N=l.XpG();l.Y8G("src",l.bMT(1,5,N.src),l.B4B)("alt",N.alt||""),l.BMQ("title",N.title||null)("loading",N.lazy?"lazy":null)("fetchpriority",N.fetchPriority||null)}}let v=(()=>{var E;class M{constructor(){this.alt="",this.error=new l.bkB,this.hostClass=!0,this.sources=[]}get isLeftAligned(){return"left"===this.alignX}get isRightAligned(){return"right"===this.alignX}get isTopAligned(){return"top"===this.alignY}get isBottomAligned(){return"bottom"===this.alignY}get isNoUpScale(){return this.noUpScale||this.maxHeight&&!this.maxWidth}get isMaxHeightScale(){return!this.noUpScale&&this.maxHeight&&!this.maxWidth}ngOnChanges(){this.applySrcEncoding(),this.sources=this.generateMqSources(),!this.src&&(this.usePlaceholder||this.sources.length)&&this.setFallback()}onImageError(P){const I=P.currentTarget,x=I.currentSrc||I.src;M.formats.filter(j=>
430x.includes(this[j])).forEach(j=>this[j]=null),!M.formats.some(j=>this[j])&&!this.usePlaceholder&&this.error.emit(P),this.sources=this.generateMqSources(),this.src||this.setFallback(!x.includes(M.placeholderUrl))}applySrcEncoding(){M.formats.filter(P=>"string"==typeof this[P]).forEach(P=>this[P]=encodeURI(this[P]))}generateMqSources(){return Object.entries({[c.EA.XS]:this.srcXs,[c.EA.SM]:this.srcSm,[c.EA.MD]:this.srcMd,[c.EA.LG]:this.srcLg}).filter(([,I])=>I).map(([I,x])=>({src:x,media:c.RI.getMediaQuery(I)}))}setFallback(P=!0){this.src=!this.sources.length&&this.usePlaceholder&&P?M.placeholderUrl:M.substituteSrc}static#e=E=()=>(this.formats=["src","srcXs","srcSm","srcMd","srcLg"],this.placeholderUrl="/assets/images/noimage_placeholder_full.png",this.substituteSrc="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",this.\u0275fac=function(I){return new(I||M)},this.\u0275cmp=l.VBU({type:M,selectors:[["shrd-uic-image"]],hostVars:14,hostBindings:function(I,x){2&I&&l.AVh("shrd-uic-image",x.hostClass)("shrd-uic-image-left",x.isLeftAligned)("shrd-uic-image-right",x.isRightAligned)("shrd-uic-image-top",x.isTopAligned)("shrd-uic-image-bottom",x.isBottomAligned)("shrd-uic-image-no-upscale",x.isNoUpScale)("shrd-uic-image-max-height-scale",x.isMaxHeightScale)},inputs:{src:"src",srcXs:"srcXs",srcSm:"srcSm",srcMd:"srcMd",srcLg:"srcLg",alt:"alt",title:"title",containerClass:"containerClass",maxHeight:"maxHeight",maxWidth:"maxWidth",alignX:"alignX",alignY:"alignY",usePlaceholder:"usePlaceholder",noUpScale:"noUpScale",lazy:"lazy",fetchPriority:"fetchPriority"},outputs:{error:"error"},features:[l.OA$],decls:7,vars:10,consts:[[1,"image-container",3,"ngClass"],[1,"image-picture"],[3,"media","srcset"],[1,"image-fluid",3,"src","alt"],[1,"image-fluid",3,"error","src","alt"]],template:function(I,x){1&I&&(l.j41(0,"div",0),l.nI1(1,"pxToRem"),l.nI1(2,"pxToRem"),l.j41(3,"picture",1),l.Z7z(4,g,2,4,"source",2,D),l.nVh(6,C,2,7,"img",3),l.k0s()()),2&I&&(l.xc7("width",l.bMT(1,6,x.maxWidth))("height",l.bMT(2,8,x.maxHeight)),l.Y8G("ngClass",x.containerClass),l.R7$(4),l.Dyx(x.sources),l.R7$(2),l.vxM(x.src?6:-1))},dependencies:[u.YU,T,h.W],styles:[".shrd-uic-image[_nghost-%COMP%]{width:100%;height:100%;display:flex;justify-content:center}.shrd-uic-image-left[_nghost-%COMP%]{justify-content:flex-start}.shrd-uic-image-left[_nghost-%COMP%] .image-picture[_ngcontent-%COMP%]{justify-content:flex-start}.shrd-uic-image-right[_nghost-%COMP%]{justify-content:flex-end}.shrd-uic-image-right[_nghost-%COMP%] .image-picture[_ngcontent-%COMP%]{justify-content:flex-end}.shrd-uic-image-top[_nghost-%COMP%] .image-picture[_ngcontent-%COMP%]{align-items:flex-start}.shrd-uic-image-bottom[_nghost-%COMP%] .image-picture[_ngcontent-%COMP%]{align-items:flex-end}.shrd-uic-image-no-upscale[_nghost-%COMP%] .image-fluid[_ngcontent-%COMP%]{flex:0 0 auto;width:auto}.shrd-uic-image-max-height-scale[_nghost-%COMP%] .image-fluid[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] .image-fluid[_ngcontent-%COMP%]{flex:1 0 auto;max-width:100%;max-height:100%;width:100%;object-fit:contain}[_nghost-%COMP%] .image-picture[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .image-picture[_ngcontent-%COMP%], [_nghost-%COMP%] .image-container[_ngcontent-%COMP%]{width:100%;height:100%}[_nghost-%COMP%] .image-container-cover[_ngcontent-%COMP%] .image-fluid[_ngcontent-%COMP%]{min-width:100%;min-height:100%;object-fit:cover}"],changeDetection:0}))}return E(),M})()},82837(ye,A,n){n.d(A,{X:()=>l,i:()=>h});var u=n(17988);const l={ultimate:"ultimate",premium:"premium",standard:"standard"},h=new u.nKC("INDICATOR_LABEL_TRANSLATIONS")},30236(ye,A,n){n.d(A,{W:()=>h,fX:()=>l});const u="info-box",l={WINDOW:`${u}-window`,ARROW:`${u}-arrow`,BODY:`${u}-body`,MOBILE_WRAPPER:`${u}-mobile-wrapper`,MOBILE_WRAPPER_OPEN:"overflow-hidden",BOX_POPOVER:`${u}-popover`,BOX_FORCED:`${u}-forced`,BOX_GRID:`${u}-grid`,BOX_GRID_POSITIONED:`${u}-grid-positioned`,HAS_CENTERED_ARROW:"has-centered-arrow",OPACITY:"opacity-20",SHOWING:"showing",IS_SHOWN:"is-shown",IS_HIDING:"is-hiding",IS_ACTIVE:"active",FIXED_WITH:"fixed-width",IN_STICKY_PARENT:`${u}-in-sticky-parent`},h={vertical:"vertical",horizontal:"horizontal"}},9685(ye,A,n){n.d(A,{n:()=>l});const l=new(n(17988).nKC)("MOBILE_APP_DOWNLOAD_TRANSLATIONS")},54831(ye,A,n){n.d(A,{h:()=>g});var u=n(17988),l=n(48065),h=n(61856),c=n(65319),T=n(93612),o=n(57388),D=n(18432);let g=(()=>{var C;class v{constructor(){this.analyticsService=(0,u.WQX)(c.c),this.window=(0,u.WQX)(T.$).nativeWindow,this.destroyRef=(0,u.WQX)(u.abz),this.setLastPageViewData()}trackModalOpen({size:M,tracking:N}){N&&(this.trackModalEvent(N,D.L4),M===o.r.LG&&N.pageViewData&&this.trackPageView(N.pageViewData))}trackModalClose({size:M,tracking:N},P){N&&(this.trackModalEvent(N,D.JK),M===o.r.LG&&this.trackResetOfPageView(P))}trackModalDismiss(M,{tracking:N,size:P},I){N&&(D.dA.has(M)&&this.trackModalEvent(N,D.JK),P===o.r.LG&&this.trackResetOfPageView(I))}trackModalEvent({analyticsEvent:M,ga4AnalyticsEvents:N,pageViewData:P},I){if(M){const x=P?.pageName?`${P.pageName.replaceAll(/\s/g,"")}|${I}`:I;this.analyticsService.sendLegacyEvent({...M,eventLabel:x})}N?.open&&I===D.L4&&this.analyticsService.sendEvent(N.open.eventName,N.open.eventParam
430s),N?.close&&I===D.JK&&this.analyticsService.sendEvent(N.close.eventName,N.close.eventParams)}trackPageView(M){const N={...M,templateType:D.B9};this.analyticsService.trackPageView(this.window.location.pathname,N,!0)}trackResetOfPageView(M){const N=M?.tracking?.pageViewData;N?this.trackPageView(N):this.analyticsService.sendEventlessPageView(this.lastPageViewData)}setLastPageViewData(){this.analyticsService.getLastPageViewEvent$().pipe((0,l.pQ)(this.destroyRef),(0,h.p)(({templateType:M})=>M!==D.B9)).subscribe(M=>this.lastPageViewData=M)}static#e=C=()=>(this.\u0275fac=function(N){return new(N||v)},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}))}return C(),v})()},82654(ye,A,n){n.d(A,{R:()=>ae});var u=n(17988),l=n(47606),h=n(48065),c=n(61130),T=n(81502),o=n(61202),D=n(61969),g=n(61856),C=n(75117),v=n(47066),E=n(77941),M=n(11135),N=n(48282),P=n(93612),I=n(45262);const w="#modal:";let ae=(()=>{var S;class J extends E.G9{constructor(){super(),this.resetHashEnabled=!1,this.modals={},this.isNavigating=!1,this.resettingId=null,this.hasRuntimeModalHistory=!1,this.hasInitialHashBootstrapHistory=!1,this.contentToHashId=new Map,this.openModalSubject=new T.B,this.resetIdSubject=new T.B,this.isBrowser=(0,u.WQX)(N.f).isBrowser,this.nativeWindow=(0,u.WQX)(P.$).nativeWindow,this.router=(0,u.WQX)(c.Ix),this.destroyRef=(0,u.WQX)(u.abz),this.appRef=(0,u.WQX)(l.o8S),this.handleModalDismissals(),this.setupInitialHashCleanup(),this.openModalOnHashChanges(),this.subscribeToNavigationEvents()}get isOpenModalObserved(){return this.openModalSubject.observed}registerModal(re,G){const ce=this.normalizeId(re);this.getModal(ce)||(this.addModalToRegistry(ce,G),this.registerHash(ce))}unregisterModal(re){const G=this.normalizeId(re),ce=this.getModal(G);ce&&(ce.modalConfig?.content&&this.contentToHashId.delete(ce.modalConfig.content),delete this.modals[G],this.unregisterHash(G))}shouldNavigateToHash(re){const G=this.normalizeId(re),ce=this.extractHashIds(this.getHashFromLocation());return!(!G||this.getModal(G)?.active||ce.includes(G))}navigateToHash(re,G){const pe=this.getUpdatedModalHash(G?.useDynamicHashId??!1,re);this.updateRouterUrl(pe),this.hasRuntimeModalHistory=!0,this.hasInitialHashBootstrapHistory=!1,this.setModalActiveState(re,!0)}resetId(re,G){this.resetIdSubject.next({id:re,dismissReason:G})}shouldDismissModal(re,G){return!(this.extractHashIdsFromUrl(re).includes(G)&&this.getModal(G))}getModal(re){const G=this.normalizeId(re);return this.modals[G]}getHashIdByContent(re){const G=this.contentToHashId.get(re);return G&&!this.getModal(G)?.active?G:null}updateModalConfig(re,G){const ce=this.getModal(re);if(ce){const pe=this.normalizeId(re);ce.modalConfig={...G,options:{...G.options}},G.content&&this.contentToHashId.set(G.content,pe)}}normalizeId(re){return re?re.replace(w,"").replace(/^#/,"").split("@")[0]:""}checkHash(re,G){const ce=E.G9.getHashFromUrl(re),pe=this.extractHashIds(ce);return G.some(De=>pe.includes(De))?ce:null}handleModalDismissals(){this.resetIdSubject.pipe((0,o.c)(E.pe),(0,D.M)(({id:re,dismissReason:G})=>{this.getModal(re)&&(this.setModalActiveState(re,!1),G!==I.K.NAVIGATION&&G!==I.K.CHAINED_DISMISSAL&&!this.isNavigating&&(this.shouldUseHistoryBackOnDismiss()?(this.isResetting=!0,this.resettingId=re,this.location.back(),this.router.events.pipe((0,g.p)(pe=>pe instanceof c.wF),(0,C.s)(1),(0,o.c)(E.pe),(0,h.pQ)(this.destroyRef)).subscribe(()=>{this.isResetting=!1,this.resettingId=null,this.hasInitialHashBootstrapHistory=!1,this.cleanupInactiveModalHashes()})):(this.hasInitialHashBootstrapHistory=!1,this.cleanupInactiveModalHashes())))}),(0,h.pQ)(this.destroyRef)).subscribe()}shouldUseHistoryBackOnDismiss(){return this.hasRuntimeModalHistory&&!this.hasInitialHashBootstrapHistory||this.isReloadNavigation()}isReloadNavigation(){return(0,M.j8)(this.nativeWindow)}openModalOnHashChanges(){let re=!!this.getHashFromLocation();this.openModal$=this.openModalSubject.asObservable(),this.hashChange$.pipe((0,o.c)(E.pe),(0,h.pQ)(this.destroyRef)).subscribe(G=>{if(this.isResetting)return this.isResetting=!1,void(this.resettingId=null);const ce=this.extractHashIds(G),pe=this.getActiveId(G),De=G.split("@")[1],z=this.getModal(pe);if(!z?.active&&pe!==this.resettingId){if(!z&&pe){const{registered:it}=this.partitionHashIds(ce),Re=this.buildHashFromRegisteredIds(it);return void this.updateRouterUrl(Re,!0)}if(this.isOpenModalObserved)re||(this.hasRuntimeModalHistory=!0,this.hasInitialHashBootstrapHistory=!1),this.setModalActiveState(pe,!0),this.triggerModalOpen(pe,De),re&&(this.insertInitialHashHistory(G),re=!1);else{const it=this.buildHashFromIds(ce,pe);this.updateRouterUrl(it,!0)}}})}subscribeToNavigationEvents(){"navigation"in this.nativeWindow&&(0,v.R)(this.nativeWindow.navigation,"navigate").pipe((0,g.p)(re=>!re.destination.sameDocument&&new URL(re.destination.url).pathname!==this.nativeWindow.location.pathname),(0,h.pQ)(this.destroyRef)).subscribe(re=>{this.isNavigating=!0,this.hasRuntimeModalHistory=!1,this.hasInitialHashBootstrapHistory=!1,re.signal.addEventListener("abort",()=>this.isNavigating=!1,{once:!0})})}triggerModalOpen(re,G){if(!re)return;const ce=this.getModal(re)?.modalConfig,pe=ce&&G?{...ce,options:{...ce.options,scrollToAnchor:G}}:ce;this.openModalSubject.next({id:re,modalConfig:pe})}insertInitialHashHistory(re){if(!this.isBrowser)return;const G=this.location.getState();if(this.isReloadNavigation()||G?.navigationId&&this.nativeWindow.history.length>1)return;const De=this.location.path(!1);this.location.replaceState(De,"",G??{}),this.location.go(`${De}${re}`,"",G??{}),this.hasRuntimeModalHistory=!0,this.hasInitialHashBootstrapHistory=!0}getUpdatedModalHash(re,G,ce=this.getHashFromLocation()){return this.extractHashIds(ce).includes(G)?ce:ce?this.combineHashIds(ce,G):this.createModalHash(re,G)}addModalToRegistry(re,G){this.modals[re]={active:!1,modalConfig:G?{...G,options:{...G.options}}:null},G?.content&&this.contentToHashId.set(G.content,re)}setModalActiveState(re,G){const ce=this.getModal(re);ce&&(ce.active=G)}updateRouterUrl(re,G=!1){this.router.navigateByUrl(`${this.location.path(!1)}${re}`,{replaceUrl:G})}getActiveId(re=this.getHashFromLocation()){return this.extractHashIds(re).at(-1)}getHashFromLocation(){return E.G9.getHashFromUrl(this.location.path(!0))}buildHashFromIds(re,G){return re.filter(pe=>pe!==G).reduce((pe,De)=>{const z=this.getModal(De)?.modalConfig?.useDynamicHashId??!0;return this.getUpdatedModalHash(z,De,pe)},"")}setupInitialHashCleanup(){this.appRef.isStable.pipe((0,g.p)(Boolean),(0,C.s)(1)).subscribe(()=>{this.cleanupUnregisteredModalHashes()})}cleanupUnregisteredModalHashes(){const re=this.getHashFromLocation();if(!re)return;const G=this.isReloadNavigation(),ce=this.extractHashIds(re),{registered:pe,unregistered:De}=this.partitionHashIds(ce);this.shouldSkipStaticHashCleanup(re,ce,pe,G)||De.length&&this.cleanupHashesByRegistrationState(pe,ce.length,G)}shouldSkipStaticHashCleanup(re,G,ce,pe){if(re.startsWith(w))return!1;if(this.getModal(this.getActiveId(re)))return!0;
430if(ce.length)return!1;const De=this.getActiveId(re);return G.length>1&&/^id-\d+$/.test(De)&&(this.updateRouterUrl("",!0),this.rewindModalHistoryOnReload(G.length,pe)),!0}cleanupHashesByRegistrationState(re,G,ce){if(!re.length)return this.updateRouterUrl("",!0),void this.rewindModalHistoryOnReload(G,ce);this.updateRouterUrl(this.buildHashFromRegisteredIds(re),!0)}rewindModalHistoryOnReload(re,G){G&&this.location.historyGo(-re)}cleanupInactiveModalHashes(){const re=this.extractHashIdsFromUrl();if(!re.length)return;const G=re.filter(ce=>this.getModal(ce)?.active);if(G.length!==re.length){if(!G.length)return void this.updateRouterUrl("",!0);this.updateRouterUrl(this.buildHashFromRegisteredIds(G),!0)}}partitionHashIds(re){const G=[],ce=[];for(const pe of re)(this.getModal(pe)?G:ce).push(pe);return{registered:G,unregistered:ce}}buildHashFromRegisteredIds(re){return this.buildHashFromIds(re,"")}extractHashIdsFromUrl(re=this.location.path(!0)){return this.extractHashIds(E.G9.getHashFromUrl(re))}extractHashIds(re){return this.normalizeId(re).split(":").filter(Boolean)}createModalHash(re,G){return re?`${w}${G}`:G.startsWith("#")?G:`#${G}`}combineHashIds(re,G){return`${re}:${this.normalizeId(G)}`}static#e=S=()=>(this.\u0275fac=function(G){return new(G||J)},this.\u0275prov=u.jDH({token:J,factory:J.\u0275fac,providedIn:"root"}))}return S(),J})()},54786(ye,A,n){n.d(A,{B:()=>Ze});var u=n(25293),l=n(17988),h=n(48065),c=n(61130),T=n(71288),o=n(75117),D=n(61856),g=n(24406),C=n(70421),v=n(96178),E=n(86493),M=n(14816),N=n(48282),P=n(96623),x=n(54831),j=n(82654);const pe=new l.nKC("ui-core.modalSsr");var z=n(45262),ke=n(87714),it=n(57388);const Re=(...Ye)=>Ye.filter(Boolean).join(" "),Qe=Ye=>Ye._contentRef;let Ze=(()=>{var Ye;class Ue extends T.Bq{constructor(){super(),this.activeModalsMap=new Map,this.modalIdIncrement=0,this.modalAnalyticsService=(0,l.WQX)(x.h),this.breakpointService=(0,l.WQX)(v.d),this.document=(0,l.WQX)(l.qQL),this.destroyRef=(0,l.WQX)(l.abz),this.injector=(0,l.WQX)(l.zZn),this.wrapperService=(0,l.WQX)(M.$),this.modalHashTriggerService=(0,l.WQX)(j.R),this.router=(0,l.WQX)(c.Ix),this.location=(0,l.WQX)(u.aZ),this.modalSsrService=(0,l.WQX)(pe,{optional:!0}),this.isServer=(0,l.WQX)(N.f).isServer,this.isServer||(this.subscribeToModalHashTriggers(),this.subscribeToBreakpointChanges())}open(X,q,Te){const je=this.getTriggerElement(this.document),Fe=void 0===q?.hashId;q=this.buildOptions(X,q);const{hashId:we}=q;if(we&&!this.modalHashTriggerService.getModal(we)?this.registerHash(X,q,Te,Fe):Fe&&we&&this.modalHashTriggerService.updateModalConfig(we,{content:X,options:q,initialValues:Te,useDynamicHashId:Fe}),this.isHashIdInUse(q)||this.isModalActive(X))return null;we&&this.modalHashTriggerService.shouldNavigateToHash(we)&&this.modalHashTriggerService.navigateToHash(we,{content:X,options:q,initialValues:Te,useDynamicHashId:Fe}),je?.blur();const Be=super.open(X,q);return Be.componentInstance&&this.setModalComponentInitialValues(X,{...Te,modalRef:Be},Be),this.activeModalsMap.set(q.ariaLabelledBy,[Be,q]),this.modalAnalyticsService.trackModalOpen(q),Be.closed.pipe((0,h.pQ)(this.destroyRef)).subscribe(()=>{const at=this.removeModalReference(q);this.modalAnalyticsService.trackModalClose(q,at),we&&this.modalHashTriggerService.resetId(we)}),Be.dismissed.pipe((0,h.pQ)(this.destroyRef)).subscribe(at=>{const Ot=this.removeModalReference(q);this.modalAnalyticsService.trackModalDismiss(at,q,Ot),this.checkForChainedDismiss(at,q),we&&this.modalHashTriggerService.resetId(we,at)}),Be.hidden.pipe((0,o.s)(1)).subscribe(()=>je?.focus()),this.dismissModalOnNavigation(Be,q),q.scrollToAnchor&&Be.shown.subscribe(()=>{Qe(Be).componentRef.location.nativeElement.querySelector(`[id="${q.scrollToAnchor}"]`)?.scrollIntoView({behavior:"smooth"})}),Be}unregisterHash(X){this.modalHashTriggerService.unregisterModal(X)}registerHash(X,q,Te,je){const{hashId:Fe}=q??{};Fe&&(this.isServer&&q?.ssrSeoEnabled&&!this.modalHashTriggerService.getModal(Fe)&&this.modalSsrService?.render(X,Te,q.injector),this.modalHashTriggerService.registerModal(Fe,{content:X,options:q,initialValues:Te,useDynamicHashId:je}))}subscribeToModalHashTriggers(){this.modalHashTriggerService.openModal$.pipe((0,D.p)(({id:X})=>!!this.modalHashTriggerService.getModal(X)?.modalConfig?.content),(0,g.T)(({modalConfig:{content:X,options:q,initialValues:Te}})=>({content:X,options:q,initialValues:Te})),(0,h.pQ)(this.destroyRef)).subscribe(({content:X,options:q,initialValues:Te})=>{this.open(X,q,Te)})}subscribeToBreakpointChanges(){this.breakpointService.breakpointChange$.pipe((0,h.pQ)(this.destroyRef)).subscribe(()=>this.dismissResponsiveModals())}isHashIdInUse(X){return Array.from(this.activeModalsMap.values()).some(([,{hashId:q}])=>q&&q===X?.hashId)}isModalActive(X){return Array.from(this.activeModalsMap.values()).some(([q])=>q.componentInstance?.constructor===X)}buildOptions(X,{ariaLabelledBy:q,backdropClass:Te,centered:je,hashId:
430Fe,closeOnNavigation:we,modalDialogClass:Be,size:at,printable:Ot,windowClass:Et,...Yt}={}){at||=it.r.LG,je??=!0;const ut=at===it.r.LG&&!Yt.fitToContent,bt=!Ot&&"d-print-none";let tt,Xe=Fe;Fe?(Xe=this.modalHashTriggerService.normalizeId(Fe),tt=Xe):void 0===Fe?(tt=++this.modalIdIncrement,Xe=(at===it.r.LG?this.modalHashTriggerService.getHashIdByContent(X):null)??(at===it.r.LG?`id-${tt}`:null)):tt=++this.modalIdIncrement;const Ht={ariaLabelledBy:q||`shrd-uic-modal-title-${tt}`,backdropClass:Re("modal-backdrop",Te,at,bt),centered:je,hashId:Xe,closeOnNavigation:we??!0,container:`#${this.wrapperService.getWrapper().id}`,modalDialogClass:Re("modal-api-v2",Be),scrollable:!0,size:at,windowClass:Re(ut&&"h-100",Et,bt),...Yt};return{...Ht,injector:this.createInjector(Ht)}}createInjector(X){return l.zZn.create({parent:X.injector??this.injector,providers:[C.C,{provide:ke.M,useValue:X}]})}setModalComponentInitialValues(X,q,Te){const{componentRef:je}=Qe(Te);je.location.nativeElement.classList.add("modal-content"),function I(Ye,Ue,ne){const{inputs:X}=(0,P.HJs)(Ye),q=new Set(X.map(({templateName:Te})=>Te));Object.entries(ne).filter(([Te])=>q.has(Te)).forEach(([Te,je])=>{Ue.setInput(Te,je)})}(X,je,q)}dismissResponsiveModals(){for(const[X,{visibleMaxBreakpoint:q,visibleMinBreakpoint:Te}]of this.activeModalsMap.values())this.breakpointService.isWithinBreakpoints(Te,q)||X.dismiss(z.K.BREAKPOINT_CHANGE)}checkForChainedDismiss(X,{size:q,fitToContent:Te}){const je=X===z.K.CLOSE_HEADER,Fe=X===z.K.CLOSE_FOOTER,we=!!this.activeModalsMap.size,Be=q===it.r.LG&&!Te,at=Array.from(this.activeModalsMap.values()).some(([,Ot])=>Ot.size===it.r.LG&&!Ot.fitToContent);(je||Fe)&&we&&Be&&!at&&this.activeModalsMap.forEach(([Ot])=>Ot.dismiss(z.K.CHAINED_DISMISSAL))}removeModalReference({ariaLabelledBy:X}){this.activeModalsMap.delete(X);const[,q]=(0,E.Yl)(this.activeModalsMap)??[];return q}dismissModalOnNavigation(X,{hashId:q,closeOnNavigation:Te}={}){if(Te&&(this.router.events.pipe((0,D.p)(je=>je instanceof c.Z),(0,D.p)(({url:je})=>!q||this.modalHashTriggerService.shouldDismissModal(je,q)&&this.isHashIdInUse({hashId:q})),(0,h.pQ)(this.destroyRef)).subscribe(()=>X.dismiss(z.K.NAVIGATION)),q)){const je=this.location.onUrlChange(Fe=>{this.modalHashTriggerService.shouldDismissModal(Fe,q)&&this.isHashIdInUse({hashId:q})&&X.dismiss(z.K.NAVIGATION)});X.closed.pipe((0,o.s)(1)).subscribe(je),X.dismissed.pipe((0,o.s)(1)).subscribe(je)}}getTriggerElement({activeElement:X}){return X instanceof HTMLElement&&!X.hasAttribute("disabled")?X:null}static#e=Ye=()=>(this.\u0275fac=function(q){return new(q||Ue)},this.\u0275prov=l.jDH({token:Ue,factory:Ue.\u0275fac,providedIn:"root"}))}return Ye(),Ue})()},45262(ye,A,n){n.d(A,{K:()=>u});var u=function(l){return l[l.BACKDROP_CLICK=0]="BACKDROP_CLICK",l[l.ESC=1]="ESC",l[l.CLOSE_EXTERNAL=2]="CLOSE_EXTERNAL",l[l.CLOSE_FOOTER=3]="CLOSE_FOOTER",l[l.CLOSE_HEADER=4]="CLOSE_HEADER",l[l.CHAINED_DISMISSAL=5]="CHAINED_DISMISSAL",l[l.BREAKPOINT_CHANGE=6]="BREAKPOINT_CHANGE",l[l.NAVIGATION=7]="NAVIGATION",l}(u||{})},87714(ye,A,n){n.d(A,{M:()=>l});const l=new(n(17988).nKC)("Active modal options")},57388(ye,A,n){n.d(A,{r:()=>u});var u=function(l){return l.SM="sm",l.LG="lg",l}(u||{})},18432(ye,A,n){n.d(A,{B9:()=>l,JK:()=>h,L4:()=>c,dA:()=>T});var u=n(45262);const l="Large Modal Page",h="Close|Overlay",c="Open|Overlay",T=new Set([u.K.ESC,u.K.BACKDROP_CLICK,u.K.CLOSE_HEADER,u.K.CHAINED_DISMISSAL])},31640(ye,A,n){n.d(A,{R:()=>l});const l=new(n(17988).nKC)("MODAL_TRANSLATIONS")},40601(ye,A,n){n.d(A,{C:()=>l,W:()=>h});var u=n(17988);const l={of:"of",ariaLabelGoToPreviousPage:"Previous page",ariaLabelGoToNextPage:"Next page",ariaLabelGoToPage:c=>`Page ${c}`},h=new u.nKC("PAGINATION_TRANSLATIONS")},65377(ye,A,n){n.d(A,{e:()=>g});var u=n(92229),l=n(18146),h=n(47606);const c=["*"],T=(C,v)=>({"lod-box-sm":C,"lod-box-xs":v});function o(C,v){if(1&C&&(h.j41(0,"span",6),h.EFF(1),h.k0s()),2&C){const E=h.XpG(2);h.R7$(),h.SpI(" ",E.preloaderTranslations.ariaLabel," ")}}function D(C,v){if(1&C&&(h.SdG(0),h.DNE(1,o,2,1,"span",0),h.j41(2,"div",1)(3,"div",2),h.nrm(4,"div",3)(5,"div",4)(6,"div",5),h.k0s()()),2&C){const E=h.XpG();h.R7$(3),h.HbH(h.l_i(2,T,E.size()===E.preloaderSize.S,E.size()===E.preloaderSize.XS))}}let g=(()=>{var C;class v extends l.s{constructor(){super(),this.setImmediate("true"),this.activeStatus.set(!0)}
430createStatusSubscription(){}static#e=C=()=>(this.\u0275fac=function(N){return new(N||v)},this.\u0275cmp=h.VBU({type:v,selectors:[["shrd-uic-fade-preloader"]],hostBindings:function(N,P){1&N&&(h.QR4("fade-in"),h.vzT("fade-out"))},features:[h.Vt3],ngContentSelectors:c,decls:1,vars:1,consts:[["class","visually-hidden content-loading-message",4,"shrdUtcIfPlatformBrowser"],["aria-hidden","true",1,"lod-container"],[1,"lod-box"],[1,"lod"],[1,"lod","l2"],[1,"lod","l3"],[1,"visually-hidden","content-loading-message"]],template:function(N,P){1&N&&(h.NAR(),h.nVh(0,D,7,5)),2&N&&h.vxM(P.activeStatus()?0:-1)},dependencies:[u.N],encapsulation:2,changeDetection:0}))}return C(),v})()},17137(ye,A,n){n.d(A,{U:()=>P});var u=n(17988),l=n(47606),h=n(47066),c=n(13901),T=n(82805),o=n(5219),D=n(43396),g=n(79746),C=n(75117),v=n(13051),E=n(48282),M=n(52861);let P=(()=>{var I;class x{constructor(){this.preloaderTranslations=(0,u.WQX)(M.U),this.document=(0,u.WQX)(u.qQL),this.isBrowser=(0,u.WQX)(E.f).isBrowser,this.zone=(0,u.WQX)(l.SKi),this.activeStatus=(0,u.vPA)(!1),this.addDebounce=this.isBrowser}set isActive(w){this.activeStatus.set(w)}get isActive(){return this.activeStatus()}ngOnDestroy(){this.statusSubscription?.unsubscribe(),this.hideSubscription?.unsubscribe()}createStatusSubscription(w){this.zone.runOutsideAngular(()=>{this.addDebounce&&(w=w.pipe((0,D.B)(x.debounceTime))),this.statusSubscription=w.pipe((0,g.F)()).subscribe(H=>{this.zone.run(()=>H?this.show():this.hide())})})}show(){this.hideSubscription?.unsubscribe(),this.removeClasses(v.v.HIDE),this.addClass(v.v.ACTIVE),this.forceReflow(),this.addClass(v.v.SHOW),this.isActive=!0}hide(){this.removeClasses(v.v.INITIAL,v.v.SHOW),this.addClass(v.v.HIDE),this.hideSubscription=(0,T.O)((0,h.R)(this.preloaderElement,"transitionend"),this.isBrowser?(0,o.O)(x.hideTimeout):(0,c.of)(null)).pipe((0,C.s)(1)).subscribe(()=>this.reset())}reset(){this.removeClasses(v.v.HIDE,v.v.ACTIVE),this.isActive=!1}forceReflow(){return this.preloaderElement.offsetHeight}addClass(w){this.preloaderElement.classList.add(w)}removeClasses(...w){this.preloaderElement.classList.remove(...w)}static#e=I=()=>(this.debounceTime=200,this.hideTimeout=600,this.\u0275fac=function(H){return new(H||x)},this.\u0275dir=l.FsC({type:x}))}return I(),x})()},18146(ye,A,n){n.d(A,{s:()=>N});var u=n(96623),l=n(17988),h=n(47606),c=n(45873),T=n(48065),o=n(92229),D=n(17137),g=n(73516);const C=["*"],v=(P,I)=>({"lod-box-sm":P,"lod-box-xs":I});function E(P,I){if(1&P&&(h.j41(0,"span",6),h.EFF(1),h.k0s()),2&P){const x=h.XpG(2);h.R7$(),h.SpI(" ",x.preloaderTranslations.ariaLabel," ")}}function M(P,I){if(1&P&&(h.SdG(0),h.DNE(1,E,2,1,"span",0),h.j41(2,"div",1)(3,"div",2),h.nrm(4,"div",3)(5,"div",4)(6,"div",5),h.k0s()()),2&P){const x=h.XpG();h.R7$(3),h.HbH(h.l_i(2,v,x.size()===x.preloaderSize.S,x.size()===x.preloaderSize.XS))}}let N=(()=>{var P;class I extends D.U{constructor(){super(),this.size=(0,u.hFB)(g.O.M),this.active=(0,u.hFB)(!1),this.activeChanged=(0,u.CGW)(),this.preloaderSize=g.O,this.preloaderElement=(0,l.WQX)(h.aKT).nativeElement,this.setImmediate((0,l.WQX)(new u.ES_("immediate"),{optional:!0})),this.createStatusSubscription((0,T.br)(this.active)),(0,c.QZ)(()=>this.activeChanged.emit(this.activeStatus()))}ngOnChanges({active:j}){j?.firstChange&&!1===j.currentValue&&(this.immediate=!1)}setImmediate(j){"string"==typeof j&&(this.immediate=!0,this.addDebounce=!1)}static#e=P=()=>(this.\u0275fac=function(w){return new(w||I)},this.\u0275cmp=h.VBU({type:I,selectors:[["shrd-uic-preloader"]],hostAttrs:["aria-live","polite",1,"preloader","section"],hostVars:6,hostBindings:function(w,H){2&w&&h.AVh("active",H.immediate)("initial",H.immediate)("immediate",H.immediate)},inputs:{size:[1,"size"],active:[1,"active"]},outputs:{activeChanged:"activeChanged"},features:[h.Vt3,h.OA$],ngContentSelectors:C,decls:1,vars:1,consts:[["class","visually-hidden content-loading-message",4,"shrdUtcIfPlatformBrowser"],["aria-hidden","true",1,"lod-container"],[1,"lod-box"],[1,"lod"],[1,"lod","l2"],[1,"lod","l3"],[1,"visually-hidden","content-loading-message"]],template:function(w,H){1&w&&(h.NAR(),h.nVh(0,M,7,5)),2&w&&h.vxM(H.activeStatus()?0:-1)},dependencies:[o.N],encapsulation:2,changeDetection:0}))}return P(),I})()},52861(ye,A,n){n.d(A,{U:()=>l});const l=new(n(17988).nKC)("PRELOADER_TRANSLATIONS",{factory:()=>({ariaLabel:"Content is loading"})})},73516(ye,A,n){n.d(A,{O:()=>u});var u=function(l){return l.XS="x-small",l.S="small",l.M="medium",l}(u||{})},925(ye,A,n){n.d(A,{e:()=>l});const l=new(n(17988).nKC)("RIBBON_TRANSLATIONS")},92424(ye,A,n){n.d(A,{G:()=>Y});var u=n(96623),l=n(45873),h=n(17988),c=n(47606),T=n(79168),o=n(22098),D=n(52959),g=n(48065),C=n(47066),v=n(61969),E=n(870),M=n(64752),N=n(65213);function P(re){return"touches"in re?re.touches[0]:re}let x=(()=>{var re;class G{constructor(){this.lockAxis=(0,u.hFB)("y"),this.dragBoundary=(0,u.hFB)(),this.dragPosition=(0,u.hFB)({x:0,y:0}),this.moving=(0,u.CGW)(),this.released=(0,u.CGW)(),this.position=(0,l.uu)(()=>this.dragPosition()),this.element=(0,h.WQX)(c.aKT).nativeElement,this.transform=(0,l.uu)(()=>function I({x:re,y:G}){return`translate3d(${re}px, ${G}px, 0px)`}(this.position())),this.doc=(0,h.WQX)(h.qQL),this.isRtl=(0,h.WQX)(o.H7).isRtl,this.destroyRef=(0,h.WQX)(h.abz),(0,c.mal)({read:()=>this.setupListeners()})}setupListeners(){const[pe,De,z,ke,it,Re,Qe,Ze]=[["mousedown",this.handleStart,this.element],["touchstart",this.handleStart,this.element],["mousemove",this.handleMove],["touchmove",this.handleMove],["touchend",this.handleEnd],["touchcancel",this.handleEnd],["selectstart",this.blockEvent],["click",this.handleEnd]].map(([Ye,Ue,ne])=>(0,C.R)(ne??this.doc,Ye,{capture:!0}).pipe((0,v.M)(Ue.bind(this))));(0,E.h)(De,pe).pipe((0,M.Z)(()=>(0,E.h)(ke,z,Qe).pipe((0,N.Q)((0,E.h)(it,Re,Ze)))),(0,g.pQ)(this.destroyRef)).subscribe()}handleStart(pe){this.blockEvent(pe),this.setStartPos(P(pe)),this.boundaryRect=this.dragBoundary().getBoundingClientRect()}handleMove(pe){const De=P(pe),z="x"===this.lockAxis(),{offsetWidth:ke,offsetHeight:it}=this.element;this.position.set({x:z?this.getPosition(De.clientX-this.startPos.x,this.boundaryRect.width,ke):0,y:z?0:this.getPosition(De.clientY-this.startPos.y,this.boundaryRect.height,it)}),this.moving.emit()}
430handleEnd(pe){this.blockEvent(pe),this.released.emit()}blockEvent(pe){pe.stopPropagation(),pe.preventDefault()}setStartPos(pe){const{x:De,y:z}=this.position();this.startPos={x:pe.clientX-De,y:pe.clientY-z}}getPosition(pe,De,z){const ke="x"===this.lockAxis()&&this.isRtl;let it=pe;return(ke?pe>0:pe<0)?0:(ke?pe-z<-De&&(it=z-De):pe+z>De&&(it=De-z),Math.round(it))}static#e=re=()=>(this.\u0275fac=function(De){return new(De||G)},this.\u0275cmp=c.VBU({type:G,selectors:[["shrd-uic-dragger"]],hostVars:2,hostBindings:function(De,z){2&De&&c.xc7("transform",z.transform())},inputs:{lockAxis:[1,"lockAxis"],dragBoundary:[1,"dragBoundary"],dragPosition:[1,"dragPosition"]},outputs:{moving:"moving",released:"released"},decls:0,vars:0,template:function(De,z){},styles:["[_nghost-%COMP%]{display:block;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;cursor:default}"],changeDetection:0}))}return re(),G})();var j=n(67922);const w=["track"],H=(re,G)=>({"arrow-left":re,"arrow-right":G});function ae(re,G){if(1&re){const ce=c.RV6();c.j41(0,"div",6),c.bIt("touchstart",function(De){h.eBV(ce);const z=c.XpG();return h.Njj(z.onArrowDown(De,!0))})("touchend",function(De){h.eBV(ce);const z=c.XpG();return h.Njj(z.onArrowUp(De))})("mousedown",function(De){h.eBV(ce);const z=c.XpG();return h.Njj(z.onArrowDown(De,!0))})("mouseup",function(De){h.eBV(ce);const z=c.XpG();return h.Njj(z.onArrowUp(De))}),c.nrm(1,"shrd-uic-svg-icon",7),c.k0s()}if(2&re){const ce=c.XpG();c.HbH(c.l_i(3,H,!ce.isRtl,ce.isRtl)),c.R7$(),c.Y8G("preventRtlSwap",!0)}}function S(re,G){if(1&re){const ce=c.RV6();c.j41(0,"div",6),c.bIt("touchstart",function(De){h.eBV(ce);const z=c.XpG();return h.Njj(z.onArrowDown(De))})("touchend",function(De){h.eBV(ce);const z=c.XpG();return h.Njj(z.onArrowUp(De))})("mousedown",function(De){h.eBV(ce);const z=c.XpG();return h.Njj(z.onArrowDown(De))})("mouseup",function(De){h.eBV(ce);const z=c.XpG();return h.Njj(z.onArrowUp(De))}),c.nrm(1,"shrd-uic-svg-icon",8),c.k0s()}if(2&re){const ce=c.XpG();c.HbH(c.l_i(3,H,ce.isRtl,!ce.isRtl)),c.R7$(),c.Y8G("preventRtlSwap",!0)}}const J="scrollbar-visible";let Y=(()=>{var re;class G{constructor(){this.visibleOnMobile=!1,this.horizontal=(0,u.hFB)(!1),this.hasHorizontalArrows=(0,u.hFB)(!1),this.external=(0,u.hFB)(),this.transparentBackground=(0,u.hFB)(!1),this.hidden=(0,u.CGW)(),this.isHorizontal=(0,l.uu)(()=>this.horizontal()),this.isExternal=(0,l.uu)(()=>this.external()),this.position=(0,h.vPA)({x:0,y:0}),this.thumbSize=(0,h.vPA)({width:null,height:null}),this.isRtl=(0,h.WQX)(o.H7).isRtl,this.transform=(0,h.vPA)(""),this.thumb=u.ebz.required(x),this.track=u.ebz.required("track"),this.element=(0,h.WQX)(c.aKT).nativeElement,this.renderer=(0,h.WQX)(c.sFG),this.trackSize=0,this.thumbPercentage={horizontal:0,vertical:0},this.isMoving=!1}onMoving(){this.isMoving=!0;const{x:pe,y:De}=this.thumb().position();let z;z=this.isHorizontal()?this.getThumbPositionPercentage(pe,this.thumbSize().width):this.getThumbPositionPercentage(De,this.thumbSize().height),this.scrollableReference?.setScrollPositionByExact(z,this.getDirection())}onMoveEnd(){this.isMoving=!1}onTrackDown(pe){const{element:De}=this.thumb();if(pe instanceof MouseEvent&&2===pe.button||pe.target===De)return;let z;const ke=(0,D.NM)(pe),it=this.getTrackRect();let Re;if(z=this.isHorizontal()?(this.isRtl?-1:0)+this.getTrackPercentage(ke.x,it.left):this.getTrackPercentage(ke.y,it.top),this.scrollableReference?.setScrollPositionByExact(z,this.getDirection(),!0),(0,D.kH)(pe)){const{touches:Qe,changedTouches:Ze,targetTouches:Ye}=pe;Re=new TouchEvent(pe.type,{touches:Array.from(Qe),changedTouches:Array.from(Ze),targetTouches:Array.from(Ye)})}else Re=new MouseEvent(pe.type,pe);De.dispatchEvent(Re)}onArrowDown(pe,De=!1){pe.preventDefault(),this.changeInterval=setInterval(()=>{let z=G.arrowDelta;De&&(z*=-1),this.scrollableReference?.setScrollPositionByDelta(z,this.getDirection())},G.updateTicks)}onArrowUp(pe){pe.preventDefault(),clearInterval(this.changeInterval)}setThumbPosition(pe){if(!this.isMoving){const De=this.isHorizontal()?this.thumbSize().width:this.thumbSize().height,z=(this.trackSize-
430De)*pe;this.position.set({x:this.isHorizontal()?z:0,y:this.isHorizontal()?0:z})}}setVisibility(pe=this.thumbPercentage){const De=this.getDirection();pe[De]>.99?(this.hide(),this.scrollableReference?.hide(De)):(this.show(),this.scrollableReference?.show(De))}bindReference(pe){this.scrollableReference=pe}unbindReference(){this.scrollableReference=null}update({visiblePercentage:pe,thumbPosition:De}){this.setVisibility(pe),this.setTrackSize(),this.setThumbSize(pe),this.setThumbPosition(De[this.getDirection()])}setTrackCompensation(pe){this.isExternal()||this.transform.set(`translate3d(${pe.horizontal}px,${pe.vertical}px,0)`)}hide(pe=!0){!0!==this.isHidden&&(this.isHidden=!0,this.renderer.removeClass(this.element,J),this.transform.set(""),pe&&this.hidden.emit(!0))}show(){!1!==this.isHidden&&(this.isHidden=!1,this.renderer.addClass(this.element,J),this.hidden.emit(!1))}setTrackSize(){const{width:pe,height:De}=this.getTrackRect();this.trackSize=this.isHorizontal()?pe:De}setThumbSize(pe=this.thumbPercentage){this.thumbPercentage=pe;const De=pe[this.getDirection()],z=Math.max(this.trackSize*De,G.minThumbSize);this.thumbSize.set({width:this.isHorizontal()?z:null,height:this.isHorizontal()?null:z})}getThumbPositionPercentage(pe,De){return pe/(this.trackSize-De)}getTrackPercentage(pe,De){return(pe-De)/this.trackSize}getTrackRect(){return this.track().nativeElement.getBoundingClientRect()}getDirection(){return this.isHorizontal()?j.D.HORIZONTAL:j.D.VERTICAL}static#e=re=()=>(this.updateTicks=50,this.minThumbSize=44,this.arrowDelta=40,this.\u0275fac=function(De){return new(De||G)},this.\u0275cmp=c.VBU({type:G,selectors:[["shrd-uic-scrollbar"]],viewQuery:function(De,z){1&De&&(c.wEZ(z.thumb,x,5),c.wEZ(z.track,w,5)),2&De&&c.NyB(2)},hostVars:10,hostBindings:function(De,z){2&De&&(c.xc7("transform",z.transform()),c.AVh("shrd-uic-scrollbar",!0)("show-scrollbar-on-mobile",z.visibleOnMobile)("shrd-uic-scrollbar-horizontal",z.isHorizontal())("shrd-uic-scrollbar-vertical",!z.isHorizontal()))},inputs:{horizontal:[1,"horizontal"],hasHorizontalArrows:[1,"hasHorizontalArrows"],external:[1,"external"],transparentBackground:[1,"transparentBackground"]},outputs:{hidden:"hidden"},decls:7,vars:13,consts:[["track",""],[1,"wrapper"],[1,"scrollbar"],[1,"arrow",3,"class"],[1,"track",3,"touchstart","mousedown"],[1,"thumb",3,"moving","released","lockAxis","dragBoundary","dragPosition"],[1,"arrow",3,"touchstart","touchend","mousedown","mouseup"],["icon","arrow-left","size","small",3,"preventRtlSwap"],["icon","arrow-right","size","small",3,"preventRtlSwap"]],template:function(De,z){if(1&De){const ke=c.RV6();c.j41(0,"div",1)(1,"div",2),c.nVh(2,ae,2,6,"div",3),c.j41(3,"div",4,0),c.bIt("touchstart",function(Re){return h.eBV(ke),h.Njj(z.onTrackDown(Re))})("mousedown",function(Re){return h.eBV(ke),h.Njj(z.onTrackDown(Re))}),c.j41(5,"shrd-uic-dragger",5),c.bIt("moving",function(){return h.eBV(ke),h.Njj(z.onMoving())})("released",function(){return h.eBV(ke),h.Njj(z.onMoveEnd())}),c.k0s()(),c.nVh(6,S,2,6,"div",3),c.k0s()()}if(2&De){const ke=c.sdS(4);c.AVh("bg-transparent",z.transparentBackground()),c.R7$(2),c.vxM(z.hasHorizontalArrows()?2:-1),c.R7$(),c.AVh("no-arrow",!z.hasHorizontalArrows()),c.R7$(2),c.xc7("height",z.thumbSize().height,"px")("width",z.thumbSize().width,"px"),c.Y8G("lockAxis",z.isHorizontal()?"x":"y")("dragBoundary",ke)("dragPosition",z.position()),c.R7$(),c.vxM(z.hasHorizontalArrows()?6:-1)}},dependencies:[T.D,x],styles:['@media (max-width: 1023.98px){.show-scrollbar-on-mobile.scrollable-horizontal{overflow-x:auto;scrollbar-width:none}.show-scrollbar-on-mobile.scrollable-horizontal::-webkit-scrollbar{width:0;height:0;background:transparent}}.shrd-uic-scrollbar{display:none}.shrd-uic-scrollbar .wrapper{position:absolute;top:0;height:100%;width:1.375rem;display:flex;background-color:#fff;inset-inline-end:0}.shrd-uic-scrollbar .scrollbar{position:relative;height:100%;top:0;inset-inline-start:0}.shrd-uic-scrollbar .arrow{position:absolute;height:1.125rem;width:100%;line-height:0;text-align:center;color:#d2051e;cursor:pointer;inset-inline-start:0}.shrd-uic-scrollbar .arrow-left{inset-inline-start:0}.shrd-uic-scrollbar .arrow-right{inset-inline-start:auto;inset-inline-end:0}.shrd-uic-scrollbar .track{position:relative;top:.6875rem;height:calc(100% - 1.375rem);width:1.375rem;cursor:pointer;overflow:hidden}.shrd-uic-scrollbar .track:before{content:"";position:absolute;top:0;display:block;width:.0625rem;height:100%;background:#cbc8c1;margin-inline-start:-.03125rem;inset-inline-start:50%}.shrd-uic-scrollbar .track:hover .thumb,.shrd-uic-scrollbar .track:active .thumb,.shrd-uic-scrollbar .track .thumb:hover,.shrd-uic-scrollbar .track .thumb:active{padding:0 .46875rem}.shrd-uic-scrollbar .thumb{position:absolute;width:1.375rem;height:2.75rem;padding:0 .59375rem;margin-inline-start:-.6875rem;inset-inline-start:50%}.shrd-uic-scrollbar .thumb:before{content:"";display:block;width:100%;height:100%;background:#d2051e}.shrd-uic-scrollbar-horizontal{bottom:0;width:100%;inset-inline-start:0}@media (max-width: 1023.98px){.shrd-uic-scrollbar-horizontal.show-scrollbar-on-mobile{position:relative}.shrd-uic-scrollbar-horizontal.show-scrollbar-on-mobile.scrollbar-visible{display:block}}.shrd-uic-scrollbar-horizontal .wrapper{top:auto;bottom:0;width:100%;height:1.375rem;inset-inline-start:0;inset-inline-end:auto}.shrd-uic-scrollbar-horizontal .scrollbar{height:1.375rem;width:100%}.shrd-uic-scrollbar-horizontal .arrow{width:1.125rem;height:auto;padding-top:.0625rem;transform:translateY(-50%);top:50%}.shrd-uic-scrollbar-horizontal .track{top:0;width:calc(100% - 3.5rem);height:1.375rem;inset-inline-start:1.75rem}.shrd-uic-scrollbar-horizontal .track.no-arrow{width:calc(100% - 3.125rem);inset-inline-start:1.5625rem}.shrd-uic-scrollbar-horizontal .track:hover .thumb,.shrd-uic-scrollbar-horizontal .track:active .thumb,.shrd-uic-scrollbar-horizontal .track .thumb:hover,.shrd-uic-scrollbar-horizontal .track .thumb:active{padding:.46875rem 0}.shrd-uic-scrollbar-horizontal .track:before{top:50%;width:100%;height:.0625rem;margin-top:-.03125rem;margin-inline-start:0;inset-inline-start:auto}.shrd-uic-scrollbar-horizontal .thumb{width:2.75rem;height:1.375rem;top:50%;margin-top:-.6875rem;padding:.59375rem 0;margin-inline-start:0;inset-inline-start:auto}.shrd-uic-scrollbar-vertical{top:0;height:100%;inset-inline-end:0}@media (min-width: 1024px){.shrd-uic-scrollbar{position:absolute}.shrd-uic-scrollbar.scrollbar-visible{display:block}}.modal-body .shrd-uic-scrollbar-vertical .wrapper,.modal-body .shrd-uic-scrollbar-vertical .track{width:.9375rem}.modal-body .shrd-uic-scrollbar-vertical .track .thumb{width:.9375rem;padding:0 .375rem;margin-inline-start:-.46875rem}.modal-body .shrd-uic-scrollbar-vertical .track:hover .thumb,.modal-body .shrd-uic-scrollbar-vertical .track:active .thumb,.modal-body .shrd-uic-scrollbar-vertical .track .thumb:hover,.modal-body .shrd-uic-scrollbar-vertical .track .thumb:active{padding:0 .25rem}.modal-body .shrd-uic-scrollbar-horizontal{box-shadow:0 0 .625rem #00000026;z-index:1003;width:auto;bottom:.6875rem;height:1.375rem;background-color:#fff;inset-inline-start:.9375rem;inset-inline-end:.9375rem}.modal-body .scrollable:not(.scrollbar-vertical-hidden)~.shrd-uic-scrollbar-horizontal{inset-inline-start:1.875rem}.info-box-body .shrd-uic-scrollbar-vertical .wrapper,.info-box-body .shrd-uic-scrollbar-vertical .track{width:.9375rem}.info-box-body .shrd-uic-scrollbar-vertical .track .thumb{width:.9375rem;padding:0 .375rem;margin-inline-start:-.46875rem}.info-box-body .shrd-uic-scrollbar-vertical .track:hover .thumb,.info-box-body .shrd-uic-scrollbar-vertical .track:active .thumb,.info-box-body .shrd-uic-scrollbar-vertical .track .thumb:hover,.info-box-body .shrd-uic-scrollbar-vertical .track .thumb:active{padding:0 .25rem}\n'],encapsulation:2,changeDetection:0}))}return re(),G})()},36256(ye,A,n){n.d(A,{yR:()=>S});var u=n(96623),l=n(17988),h=n(47606),c=n(45873),T=n(81502),o=n(870),D=n(79746),g=n(24406),C=n(65213),v=n(96178),E=n(22098),M=n(98732),N=n(35072),P=n(26093),I=n(6790),x=n(99596),j=n(92424),w=n(67922);const H={[w.D.HORIZONTAL]:"scrollbar-horizontal-hidden",[w.D.VERTICAL]:"scrollbar-vertical-hidden"},ae={[w.D.HORIZONTAL]:"scrollbar-horizontal-shown",[w.D.VERTICAL]:"scrollbar-vertical-shown"};let S=(()=>{var J;class Y{constructor(){this.triggerGlobalScroll=!1,this.hostClass=!0,this.visibleOnMobile=!1,this.scrollLeft=0,this.scrollTop=0,this.horizontalOverScroll=0,this.verticalOverScroll=0,this.enabled=!0,this.renderer=(0,l.WQX)(h.sFG),this.scrollService=(0,l.WQX)(I.b),this.resizeObserver=(0,l.WQX)(P.k),this.resizeService=(0,l.WQX)(N.c),this.cdr=(0,l.WQX)(u.gRc),this.breakpointService=(0,l.WQX)(v.d),this.isRtl=(0,l.WQX)(E.H7).isRtl,this.element=(0,l.WQX)(h.aKT).nativeElement,this.unsubscribe$=new T.B,this.scrollbarRefs={[w.D.HORIZONTAL]:null,[w.D.VERTICAL]:null}
430,this.breakpointChangeEffect=(0,c.QZ)(()=>{const G=this.breakpointService.isDesktopView();this.enabled=G||this.visibleOnMobile,this.hasHorizontalScroller&&(!G&&this.setScrollPosition(0,w.D.HORIZONTAL),this.onScroll())})}onScroll(){if(this.updateScrollPosition(),this.triggerGlobalScroll&&this.scrollService.triggerScroll(),this.enabled){const G=this.getScrollPosition(),ce=this.getOverScroll();[w.D.HORIZONTAL,w.D.VERTICAL].forEach(pe=>{const De=this.scrollbarRefs[pe];De&&!De.isHidden&&(De.setTrackCompensation(G),De.setThumbPosition(G[pe]/ce[pe]))})}}ngOnInit(){this.subscribeToResize()}ngAfterContentInit(){(this.scrollbarChildren?.toArray()||[]).forEach(G=>{const ce=G.isHorizontal()?w.D.HORIZONTAL:w.D.VERTICAL;this.updateScrollBarReferences(G,{direction:ce})})}ngAfterViewInit(){this.scrollToTarget(this.initialScrollTo)}ngOnChanges({visibleOnMobile:G,scrollBarHorizontalRef:ce,scrollBarVerticalRef:pe}){ce&&this.updateScrollBarReferences(this.scrollBarHorizontalRef,{direction:w.D.HORIZONTAL,external:!0}),pe&&this.updateScrollBarReferences(this.scrollBarVerticalRef,{direction:w.D.VERTICAL,external:!0}),G&&this.hasHorizontalScroller&&(this.enabled=this.visibleOnMobile,this.scrollBarHorizontalRef.visibleOnMobile=this.visibleOnMobile)}ngOnDestroy(){Object.values(this.scrollbarRefs).forEach(G=>G?.unbindReference()),this.unsubscribe$.next(),this.unsubscribe$.complete()}show(G){this.renderer.removeClass(this.element,H[G]),this.renderer.addClass(this.element,ae[G])}hide(G){this.renderer.addClass(this.element,H[G]),this.renderer.removeClass(this.element,ae[G])}setScrollPositionByExact(G,ce,pe=!1){const De=this.getOverScroll()[ce]*G;this.setScrollPosition(De,ce),pe&&this.updateScrollbarComponent()}setScrollPositionByDelta(G,ce){let pe=this.getScrollPosition()[ce]+G;const De=this.getOverScroll()[ce];ce===w.D.HORIZONTAL&&this.isRtl?pe<-De?pe=-De:pe>0&&(pe=0):pe>De?pe=De:pe<0&&(pe=0),this.setScrollPosition(pe,ce)}update(){this.setDimensions(),this.updateScrollbarComponent()}subscribeToResize(){const G=[];if(this.scrollContentRef){const pe="string"==typeof this.scrollContentRef?Array.from(this.element.querySelectorAll(this.scrollContentRef)):[this.scrollContentRef];pe.length&&G.push(...pe)}G.push(this.element);const ce=(0,o.h)(...G.map(pe=>this.resizeObserver.observe$(pe).pipe((0,g.T)(({contentRect:{width:De,height:z}})=>`${this.hasVerticalScroller?z.toFixed():0}-${this.hasHorizontalScroller?De.toFixed():0}`),(0,D.F)())));(0,o.h)(ce,this.resizeService.onResize$).pipe((0,M.XY)(50),(0,C.Q)(this.unsubscribe$)).subscribe(this.resetScrollDimensions.bind(this))}updateScrollBarReferences(G,{direction:ce,external:pe=!1}){this.scrollbarRefs[ce]?.unbindReference(),this.scrollbarRefs[ce]=G,G&&(G.bindReference(this),G.isExternal.set(pe),G.isHorizontal.set(ce===w.D.HORIZONTAL)),ce===w.D.HORIZONTAL?this.hasHorizontalScroller=!!G:this.hasVerticalScroller=!!G}setScrollPosition(G,ce){ce===w.D.HORIZONTAL?this.element.scrollLeft=this.scrollLeft=G:this.element.scrollTop=this.scrollTop=G}setDimensions(){const G=this.element.offsetWidth,ce=this.element.offsetHeight,pe=this.element.scrollWidth,De=this.element.scrollHeight;this.horizontalOverScroll=pe-G,this.verticalOverScroll=De-ce,this.visiblePercentage={[w.D.HORIZONTAL]:G/pe,[w.D.VERTICAL]:ce/De},this.updateScrollPosition(),this.cdr.markForCheck()}getScrollPosition(){return{[w.D.HORIZONTAL]:this.scrollLeft,[w.D.VERTICAL]:this.scrollTop}}updateScrollPosition(){this.scrollLeft=this.element.scrollLeft,this.scrollTop=this.element.scrollTop,this.hasHorizontalScroller&&(this.scrollXStart=this.scrollLeft+(this.isRtl?this.horizontalOverScroll:0)<=5,this.scrollXEnd=this.scrollLeft>=(this.isRtl?0:this.horizontalOverScroll)-5),this.hasVerticalScroller&&(this.scrollYStart=this.scrollTop<=5,this.scrollYEnd=this.scrollTop>=this.verticalOverScroll-5)}getOverScroll(){return{[w.D.HORIZONTAL]:this.horizontalOverScroll,[w.D.VERTICAL]:this.verticalOverScroll}}getThumbPosition(){const G=this.getScrollPosition(),ce=this.getOverScroll();return{[w.D.HORIZONTAL]:G[w.D.HORIZONTAL]/ce[w.D.HORIZONTAL],[w.D.VERTICAL]:G[w.D.VERTICAL]/ce[w.D.VERTICAL]}}updateScrollbarComponent(){if(this.enabled){const G={visiblePercentage:this.visiblePercentage,thumbPosition:this.getThumbPosition()};
430Object.values(this.scrollbarRefs).forEach(ce=>{ce?.update(G)})}}resetScrollDimensions(){if(this.enabled){Object.values(this.scrollbarRefs).forEach(pe=>{pe&&!pe.isExternal()&&pe.hide(!0)}),this.update();const G=this.getScrollPosition(),ce=this.getOverScroll();[w.D.HORIZONTAL,w.D.VERTICAL].forEach(pe=>{G[pe]>=ce[pe]&&this.setScrollPosition(ce[pe],pe)})}else this.setDimensions()}scrollToTarget(G){if(G){const ce=this.element.querySelector(G);ce&&this.scrollService.scrollTo(ce,x.m.START)}}static#e=J=()=>(this.\u0275fac=function(ce){return new(ce||Y)},this.\u0275dir=h.FsC({type:Y,selectors:[["","shrdUicScrollbar",""]],contentQueries:function(ce,pe,De){if(1&ce&&h.wni(De,j.G,4),2&ce){let z;h.mGM(z=h.lsd())&&(pe.scrollbarChildren=z)}},hostVars:16,hostBindings:function(ce,pe){1&ce&&h.bIt("scroll",function(){return pe.onScroll()}),2&ce&&h.AVh("scrollable",pe.hostClass)("show-scrollbar-on-mobile",pe.visibleOnMobile)("scrollable-horizontal",pe.hasHorizontalScroller)("scrollable-vertical",pe.hasVerticalScroller)("scrollable-x-start",pe.scrollXStart)("scrollable-x-end",pe.scrollXEnd)("scrollable-y-start",pe.scrollYStart)("scrollable-y-end",pe.scrollYEnd)},inputs:{scrollBarHorizontalRef:"scrollBarHorizontalRef",scrollBarVerticalRef:"scrollBarVerticalRef",scrollContentRef:"scrollContentRef",initialScrollTo:"initialScrollTo",triggerGlobalScroll:"triggerGlobalScroll",visibleOnMobile:"visibleOnMobile"},exportAs:["shrdUicScrollbar"],features:[h.OA$]}))}return J(),Y})()},92661(ye,A,n){n.d(A,{p:()=>h});var u=n(17988),l=n(47606);let h=(()=>{var c;class T{static#e=c=()=>(this.\u0275fac=function(g){return new(g||T)},this.\u0275mod=l.$C({type:T}),this.\u0275inj=u.G2t({}))}return c(),T})()},67922(ye,A,n){n.d(A,{D:()=>u});var u=function(l){return l.VERTICAL="vertical",l.HORIZONTAL="horizontal",l}(u||{})},27556(ye,A,n){n.d(A,{q:()=>re});var u=n(9042),l=n(96623),h=n(17988),c=n(47606),T=n(81502),o=n(47066),D=n(870),g=n(43396),C=n(79746),v=n(24406),E=n(65213),M=n(73472),N=n(97073),P=n(18146),I=n(79168);const x=["searchBtn"],j=["searchField"],w=G=>[G,"my-0"];function H(G,ce){if(1&G&&(c.j41(0,"label",4),c.EFF(1),c.k0s()),2&G){const pe=c.XpG(),De=c.sdS(3);c.Y8G("for",De.inputId)("ngClass",c.eq3(3,w,pe.screenReaderLabelDesktopOnly?"visually-hidden-md-up":"visually-hidden")),c.R7$(),c.SpI(" ",pe.screenReaderLabel||pe.placeholder," ")}}function ae(G,ce){if(1&G&&(c.j41(0,"span",8),c.EFF(1),c.k0s()),2&G){const pe=c.XpG(),De=c.sdS(3);c.R7$(),c.Lme(" ",De.value.length,"/",pe.maxlength," ")}}function S(G,ce){if(1&G){const pe=c.RV6();c.j41(0,"button",14,2),c.bIt("click",function(){h.eBV(pe);const z=c.XpG();return h.Njj(z.resetValue())})("keydown.escape",function(){h.eBV(pe);const z=c.sdS(1);return h.Njj(z.blur())}),c.nrm(2,"shrd-uic-svg-icon",12),c.k0s()}if(2&G){const pe=c.XpG();c.Y8G("title",pe.resetTitle),c.R7$(2),c.Y8G("icon",pe.iconName.CLEAR)("inheritColor",!0)("size",pe.iconSize)}}function J(G,ce){if(1&G){const pe=c.RV6();c.j41(0,"button",15,3),c.bIt("click",function(){h.eBV(pe);const z=c.XpG();return h.Njj(z.barcodeScannerTriggered.emit())})("keydown.escape",function(){h.eBV(pe);const z=c.sdS(1);return h.Njj(z.blur())}),c.nrm(2,"shrd-uic-svg-icon",12),c.k0s()}if(2&G){const pe=c.XpG();c.Y8G("title",pe.barcodeTitle),c.R7$(2),c.Y8G("icon",pe.barcodeScannerIcon)("inheritColor",!0)("size",pe.iconSize)}}function Y(G,ce){if(1&G&&c.nrm(0,"shrd-uic-preloader",13),2&G){const pe=c.XpG();c.Y8G("active",pe.loading)}}let re=(()=>{var G;class ce{constructor(){this.type="search",this.placeholder="",this.screenReaderLabel="",this.autofocus=!1,this.screenReaderLabelDesktopOnly=!1,this.disabled=!1,this.headerVariant=!1,this.isBarcodeScannerEnabled=!1,this.barcodeScannerIcon=M.i.SCAN,this.value=null,this.barcodeTitle="Scan barcode",this.buttonTitle="Click to search",this.resetTitle="Reset",this.iconSize="small",this.restoreInitialStateOnEmptySearch=!1,this.usePreloader=!1,this.loading=!1,this.maxlength=100,this.showCharCounter=!1,this.searchButtonType="button",this.preventSubmit=!1,this.trimSpaces=!0,this.valueChange=new c.bkB,this.searchTextChange=new c.bkB,this.searchEventTriggered=new c.bkB,this.searchReset=new c.bkB,this.focusChange=new c.bkB,this.barcodeScannerTriggered=new c.bkB,this.iconName=M.i,this.unsubscribe$=new T.B,this.cdr=(0,h.WQX)(l.gRc),this.elRef=(0,h.WQX)(c.aKT)}get headerVariantClass(){return this.headerVariant}get searchControl(){return this.searchField.control}ngAfterViewInit(){this.subscribeToFocusChange(),this.subscribeValChange()}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}onSearch(De,z){this.emitValue(),this.searchField.inputElementRef.nativeElement.blur(),De&&(this.searchEventTriggered.emit(De),"submit"===this.searchButtonType&&this.preventSubmit&&De.preventDefault()),this.restoreInitialStateOnEmptySearch&&!this.searchControl.value&&z.blur()}resetValue(){this.focusInput(),this.searchControl.setValue(null),this.emitValue(),this.searchReset.emit()}reset(){this.searchControl.setValue(null),this.cdr.markForCheck()}focus(){this.searchField.focus()}blur(De=!1){this.searchField.blur(),De&&this.searchBtn.nativeElement.blur()}subscribeValChange(){this.searchControl.valueChanges.pipe((0,E.Q)(this.unsubscribe$)).subscribe(De=>this.searchTextChange.emit(De))}subscribeToFocusChange(){const De=this.elRef.nativeElement;(0,D.h)(...["focusin","focusout"].map(z=>(0,o.R)(De,z))).pipe((0,g.B)(10),(0,C.F)((z,ke)=>z.type===ke.type),(0,v.T)(z=>"focusin"===z.type),(0,E.Q)(this.unsubscribe$)).subscribe(z=>{this.focusChange.emit(z)})}emitValue(){this.valueChange.emit(this.searchControl.value)}focusInput(){this.searchField.inputElementRef.nativeElement.focus()}static#e=G=()=>(this.\u0275fac=function(z){return new(z||ce)},this.\u0275cmp=c.VBU({type:ce,selectors:[["shrd-uic-search-field"]],viewQuery:function(z,ke){if(1&z&&(c.GBs(x,5),c.GBs(j,5)),2&z){let it;c.mGM(it=c.lsd())&&(ke.searchBtn=it.first),c.mGM(it=c.lsd())&&(ke.searchField=it.first)}},hostAttrs:[1,"shrd-uic-search-field"],hostVars:2,hostBindings:function(z,ke){2&z&&c.AVh("header-variant",ke.headerVariantClass)},inputs:{type:"type",name:"name",inputId:"inputId",placeholder:"placeholder",screenReaderLabel:"screenReaderLabel",autofocus:"autofocus",screenReaderLabelDesktopOnly:"screenReaderLabelDesktopOnly",disabled:"disabled",headerVariant:"headerVariant",isBarc
430odeScannerEnabled:"isBarcodeScannerEnabled",barcodeScannerIcon:"barcodeScannerIcon",value:"value",barcodeTitle:"barcodeTitle",buttonTitle:"buttonTitle",resetTitle:"resetTitle",iconSize:"iconSize",restoreInitialStateOnEmptySearch:"restoreInitialStateOnEmptySearch",usePreloader:"usePreloader",loading:"loading",maxlength:"maxlength",showCharCounter:"showCharCounter",ariaAutoComplete:"ariaAutoComplete",ariaControls:"ariaControls",ariaExpanded:"ariaExpanded",searchButtonType:"searchButtonType",preventSubmit:"preventSubmit",role:"role",spellcheck:"spellcheck",autocorrect:"autocorrect",trimSpaces:"trimSpaces"},outputs:{valueChange:"valueChange",searchTextChange:"searchTextChange",searchEventTriggered:"searchEventTriggered",searchReset:"searchReset",focusChange:"focusChange",barcodeScannerTriggered:"barcodeScannerTriggered"},decls:12,vars:34,consts:[["searchField",""],["searchBtn",""],["resetBtn",""],["barcodeScanBtn",""],[3,"for","ngClass"],[1,"position-relative","search-field-wrapper"],[1,"shrd-uic-search-field-input",3,"keydown.enter","keydown.escape","type","autofocus","name","inputId","placeholder","maxlength","disabled","autocomplete","ariaAutoComplete","ariaControls","ariaExpanded","role","value","spellcheck","trimSpaces","autocorrect"],[1,"input-group-append","d-flex","align-items-center","h-100"],["aria-live","polite",1,"m-0","py-0","px-2","text-sm","text-heavy-concrete-100","text-nowrap","pointer-events-none"],["type","button",1,"shrd-uic-search-field-btn","shrd-uic-search-field-btn-clear",3,"title"],["type","button",1,"shrd-uic-search-field-btn","btn-barcode-scan",3,"title"],[1,"shrd-uic-search-field-btn","shrd-uic-search-field-btn-emit",3,"click","keydown.escape","type","title"],[3,"icon","inheritColor","size"],["size","x-small",1,"bg-light",3,"active"],["type","button",1,"shrd-uic-search-field-btn","shrd-uic-search-field-btn-clear",3,"click","keydown.escape","title"],["type","button",1,"shrd-uic-search-field-btn","btn-barcode-scan",3,"click","keydown.escape","title"]],template:function(z,ke){if(1&z){const it=c.RV6();c.nVh(0,H,2,5,"label",4),c.j41(1,"div",5)(2,"shrd-uic-input-field",6,0),c.bIt("keydown.enter",function(Qe){h.eBV(it);const Ze=c.sdS(9);return h.Njj(ke.onSearch(Qe,Ze))})("keydown.escape",function(Qe){h.eBV(it);const Ze=c.sdS(3);return Qe.preventDefault(),h.Njj(Ze.blur())}),c.k0s(),c.j41(4,"div",7),c.nVh(5,ae,2,2,"span",8),c.nVh(6,S,3,4,"button",9),c.nVh(7,J,3,4,"button",10),c.j41(8,"button",11,1),c.bIt("click",function(Qe){h.eBV(it);const Ze=c.sdS(9);return h.Njj(ke.onSearch(Qe,Ze))})("keydown.escape",function(){h.eBV(it);const Qe=c.sdS(9);return h.Njj(Qe.blur())}),c.nrm(10,"shrd-uic-svg-icon",12),c.k0s(),c.nVh(11,Y,1,1,"shrd-uic-preloader",13),c.k0s()()}if(2&z){const it=c.sdS(3);c.vxM(ke.screenReaderLabel||ke.placeholder?0:-1),c.R7$(),c.AVh("with-large-icons","large"===ke.iconSize),c.R7$(),c.AVh("has-char-counter",ke.showCharCounter)("has-barcode",ke.isBarcodeScannerEnabled),c.Y8G("type",ke.type)("autofocus",ke.autofocus)("name",ke.name)("inputId",ke.inputId)("placeholder",ke.placeholder)("maxlength",ke.maxlength)("disabled",ke.disabled)("autocomplete",!1)("ariaAutoComplete",ke.ariaAutoComplete)("ariaControls",ke.ariaControls)("ariaExpanded",ke.ariaExpanded)("role",ke.role)("value",ke.value)("spellcheck",ke.spellcheck)("trimSpaces",ke.trimSpaces)("autocorrect",ke.autocorrect),c.R7$(3),c.vxM(ke.showCharCounter&&it.value?5:-1),c.R7$(),c.vxM(it.value?6:-1),c.R7$(),c.vxM(ke.isBarcodeScannerEnabled?7:-1),c.R7$(),c.Y8G("type",ke.searchButtonType)("title",ke.buttonTitle),c.R7$(2),c.AVh("visually-hidden-sm-down",ke.usePreloader&&ke.loading),c.Y8G("icon",ke.iconName.SEARCH)("inheritColor",!0)("size",ke.iconSize),c.R7$(),c.vxM(ke.usePreloader?11:-1)}},dependencies:[u.YU,N._A,I.D,P.s],styles:['.shrd-uic-search-field .shrd-uic-search-field-btn{display:flex;height:100%;align-items:center;border:0;background:transparent;color:#d2051e;padding:0;outline:none}.shrd-uic-search-field .shrd-uic-search-field-btn-emit{margin:0 .3125rem}.shrd-uic-search-field .shrd-uic-search-field-btn:hover{color:#ab0115}.shrd-uic-search-field .shrd-uic-search-field-btn:active{color:#920314}.shrd-uic-search-field .input-group-append{position:absolute;top:0;inset-inline-end:0}
430.shrd-uic-search-field{display:block}.shrd-uic-search-field .shrd-uic-search-field-input.has-char-counter .form-control{padding-inline-end:7.375rem!important}.shrd-uic-search-field .shrd-uic-input-field.disabled+.input-group-append .shrd-uic-search-field-btn{color:#bab9ba;cursor:default}.shrd-uic-search-field .with-large-icons .shrd-uic-search-field-input .form-control{padding-inline-end:5.5rem!important}.shrd-uic-search-field .with-large-icons .shrd-uic-search-field-input.has-barcode .form-control{padding-inline-end:8.25rem!important}.shrd-uic-search-field .with-large-icons .shrd-uic-search-field-btn{width:2.75rem;justify-content:center}.shrd-uic-search-field .with-large-icons .shrd-uic-search-field-btn-emit{margin:0}.shrd-uic-search-field .search-field-wrapper:not(.with-large-icons) .shrd-uic-search-field-input.has-barcode .form-control{padding-inline-end:4.625rem!important}.shrd-uic-search-field .search-field-wrapper:not(.with-large-icons) .btn-barcode-scan{margin-inline-start:.3125rem}.shrd-uic-search-field .preloader{width:2.75rem;transform:translateZ(0) scale(.8);pointer-events:none;inset-inline-start:unset;inset-inline-end:0}@media (min-width: 1024px){.shrd-uic-search-field .preloader{width:1.75rem}}.shrd-uic-search-field .shrd-uic-search-field-btn{position:relative}.shrd-uic-search-field .shrd-uic-search-field-btn:focus-visible:before{position:absolute;content:"";inset:.125rem;outline:.125rem solid #4292ed;z-index:1}\n'],encapsulation:2,changeDetection:0}))}return G(),ce})()},65552(ye,A,n){n.d(A,{x:()=>h});var u=n(81502),l=n(17988);let h=(()=>{var c;class T{constructor(){this.change$=new u.B}changeDirection(D){this.change$.next(D)}static#e=c=()=>(this.\u0275fac=function(g){return new(g||T)},this.\u0275prov=l.jDH({token:T,factory:T.\u0275fac}))}return c(),T})()},89287(ye,A,n){n.d(A,{b:()=>D});var u=n(17988),l=n(47606),h=n(72268),c=n(81502),T=n(96178),o=n(87615);let D=(()=>{var g;class C{constructor(){this.isOpen=!1,this.ngbPopover=(0,u.WQX)(h.ZM,{host:!0}),this.elRef=(0,u.WQX)(l.aKT),this.breakpointService=(0,u.WQX)(T.d),this.unsubscribe$=new c.B}ngOnDestroy(){this.unsubscribeAll(),this.unsubscribe$.complete(),this.resetActiveInstance()}close(){this.isOpen&&this.ngbPopover.close()}configureNgbPopover(){this.ngbPopover.autoClose="outside";const E=this.ngbPopover.open.bind(this.ngbPopover);this.ngbPopover.open=N=>{this.ngbPopover.disablePopover||(N||=this.popoverContext||{},E(N),this.onOpen())};const M=this.ngbPopover.close.bind(this.ngbPopover);this.ngbPopover.close=()=>{M(),this.onClose()}}getTriggerElm(){return this.elRef.nativeElement}getStickyParent(){return this.isWithinDesktopBreakpoint()&&(this.getTriggerElm().closest(".sticky-top")||this.getTriggerElm().closest(".sticky-top-stacked"))}getPopoverElm(){return this.ngbPopover._windowRef.location.nativeElement}getPopoverBodyElm(){return this.getPopoverElm().querySelector(".popover-body")}wrapPopover(E){E.appendChild(this.getPopoverElm())}unsubscribeAll(){this.unsubscribe$.next()}onOpen(){C.activeInstance=this,this.popoverBody=this.getPopoverBodyElm(),this.isOpen=!0}onClose(){this.isOpen=!1,this.unsubscribeAll()}isActiveInstance(){return C.activeInstance===this}resetActiveInstance(){C.activeInstance===this&&(C.activeInstance=null)}isChildOfPopover(E){return C.activeInstance?.popoverBody.contains(E)}isWithinDesktopBreakpoint(){return this.breakpointService.isWithinMinBound(o.EA.MD)}static#e=g=()=>(this.\u0275fac=function(M){return new(M||C)},this.\u0275dir=l.FsC({type:C,inputs:{popoverContext:"popoverContext"}}))}return g(),C})()},33757(ye,A,n){n.d(A,{m:()=>l});const l=new(n(17988).nKC)("SMARTBAR_TRANSLATIONS")},79168(ye,A,n){n.d(A,{V:()=>E,D:()=>N});var u=n(96623),l=n(45873),h=n(17988),c=n(87615),T=n(72315),o=n(22098);let D=(()=>{var P;class I{constructor(){this.basePath=(0,h.WQX)(T.W).transform("/assets/sprites/sprite.symbol"),this.isRtl=(0,h.WQX)(o.H7).isRtl}getSpritePath(j=!1){return`${this.basePath}${!j&&this.isRtl?".rtl":""}.svg`}static#e=P=()=>(this.\u0275fac=function(w){return new(w||I)},this.\u0275prov=h.jDH({token:I,factory:I.\u0275fac,providedIn:"root"}))}return P(),I})();var g=n(47606);const C=(P,I)=>({width:P,height:I}),v=(P,I,x,j,w,H)=>["svg-icon",P,I,x,j,w,H],E={SMALL:"small",LARGE:"large",RESPONSIVE:"responsive",NONE:"none"},M=P=>P&&c.RI.pxToRem(P);let N=(()=>{var P;class I{constructor(){this.title=(0,u.hFB)(),this.icon=(0,u.hFB)(),this.iconClasses=(0,u.hFB)(""),this.hasBorder=(0,u.hFB)(!1),this.inheritColor=(0,u.hFB)(!1),this.preventRtlSwap=(0,u.hFB)(!1),this.size=(0,u.hFB)(E.RESPONSIVE),this.width=(0,u.hFB)(null,{transform:M}),this.height=(0,u.hFB)(null,{transform:M}),this.spriteUrl=(0,l.EW)(()=>`${this.svgService.getSpritePath(this.preventRtlSwap())}#${this.icon()}`),this.isResponsive=(0,l.EW)(()=>this.size()===E.RESPONSIVE),this.applySizeModification=(0,l.EW)(()=>this.size()===E.SMALL||this.size()===E.RESPONSIVE),this.svgService=(0,h.WQX)(D)}static#e=P=()=>(this.\u0275fac=function(w){return new(w||I)},this.\u0275cmp=g.VBU({type:I,selectors:[["shrd-uic-svg-icon"]],hostAttrs:[1,"shrd-uic-svg-icon"],hostVars:2,hostBindings:function(w,H){2&w&&g.AVh("svg-icon-border",H.hasBorder())},inputs:{title:[1,"title"],icon:[1,"icon"],iconClasses:[1,"iconClasses"],hasBorder:[1,"hasBorder"],inheritColor:[1,"inheritColor"],preventRtlSwap:[1,"preventRtlSwap"],size:[1,"size"],width:[1,"width"],height:[1,"height"]},decls:2,vars:17,consts:[["focusable","false","role","img"]],template:function(w,H){if(1&w&&(h.qSk(),g.rj2(0,"svg",0),g.Hgh(1,"use"),g.eux()),2&w){const ae=H.applySizeModification(),S=H.width(),J=H.height();g.Aen(S||J?g.l_i(7,C,S,J||S):null),g.HbH(g.l4e(10,v,`svg-icon-${H.icon()}`,H.iconClasses(),H.inheritColor()?"inherit-color":"",ae?"svg-icon-size-small":"",ae&&(S||J)?"svg-icon-size-scalable":"",ae&&H.isResponsive()?"svg-icon-size-responsive":"")),g.BMQ("aria-label",H.title())("aria-hidden",!H.title()),g.R7$(),g.BMQ("href",H.spriteUrl(),null,"xlink")}},styles:[".btn-tertiary-option[_nghost-%COMP%], .btn-tertiary-option [_nghost-%COMP%], .btn-tertiary-minor-borderless-neutraldark[_nghost-%COMP%], .btn-tertiary-minor-borderless-neutraldark [_nghost-%COMP%], .btn-tertiary-minor[_nghost-%COMP%], .btn-tertiary-minor [_nghost-%COMP%], .btn-tertiary-minor-borderless[_nghost-%COMP%], .btn-tertiary-minor-borderless [_nghost-%COMP%], .btn-tertiary-major[_nghost-%COMP%], .btn-tertiary-major [_nghost-%COMP%], .svg-icon-border[_nghost-%COMP%]{width:2.0625rem;min-width:2.0625rem;height:2.0625rem;display:inline-flex;align-items:center;justify-content:center;border:.0625rem solid #cbc8c1;border-radius:0}[_nghost-%COMP%]{display:inline-block;line-height:0;color:var(--svg-host-color, inherit);
430fill:var(--svg-host-color, currentColor);transition:color .25s,fill .25s}[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{display:inline-block;width:1.125rem;height:1.125rem;line-height:inherit;color:var(--svg-icon-color, inherit);fill:var(--svg-icon-color, currentColor)}[_nghost-%COMP%] .svg-icon.inherit-color[_ngcontent-%COMP%]{color:inherit!important;fill:currentColor!important}[_nghost-%COMP%] .svg-icon-size-small[_ngcontent-%COMP%]{padding:.125rem}[_nghost-%COMP%] .svg-icon-size-scalable[_ngcontent-%COMP%]{padding:15%}@media (max-width: 1023.98px){[_nghost-%COMP%] .svg-icon-size-responsive[_ngcontent-%COMP%]{padding:0}}.shrd-uic-text [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{flex-shrink:0}.shrd-uic-text [_nghost-%COMP%]:first-child{margin-inline-end:.3125rem}.shrd-uic-text [_nghost-%COMP%]:nth-child(n+2){margin-inline-start:.3125rem}.btn [_nghost-%COMP%]{transition:background-color .25s linear}@media (prefers-reduced-motion: reduce){.btn [_nghost-%COMP%]{transition:none}}.btn [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{pointer-events:none}@media (max-width: 1023.98px){.btn-tertiary-major [_nghost-%COMP%]:not(.keep-dimensions), .btn-tertiary-minor [_nghost-%COMP%]:not(.keep-dimensions), .btn-tertiary-minor-borderless [_nghost-%COMP%]:not(.keep-dimensions), .btn-tertiary-option [_nghost-%COMP%]:not(.keep-dimensions), .btn-tertiary-minor-borderless-neutraldark [_nghost-%COMP%]:not(.keep-dimensions){height:2.75rem;width:2.75rem;min-width:2.75rem}}.message-close-btn.btn-tertiary-minor[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .message-close-btn.btn-tertiary-minor [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .info-box-close-btn.btn-tertiary-minor[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .info-box-close-btn.btn-tertiary-minor [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #524f53 !important}.message-close-btn.btn-tertiary-minor:hover[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .message-close-btn.btn-tertiary-minor:hover [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .info-box-close-btn.btn-tertiary-minor:hover[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .info-box-close-btn.btn-tertiary-minor:hover [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #ab0115 !important}.btn-dropdown:active[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-dropdown:active [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}.btn-tertiary[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-flyout[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-flyout [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-trivial-text-bold[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-trivial-text-bold [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #d2051e}.btn-tertiary.selected[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary.selected [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-flyout.selected[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-flyout.selected [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-trivial-text-bold.selected[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-trivial-text-bold.selected [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #d2051e}.btn-tertiary:hover[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary:hover [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-flyout:hover[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-flyout:hover [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-trivial-text-bold:
430hover[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-trivial-text-bold:hover [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary:focus[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary:focus [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-flyout:focus[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-flyout:focus [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-trivial-text-bold:focus[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-trivial-text-bold:focus [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #ab0115}.btn-tertiary:disabled[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary:disabled [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary.disabled[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary.disabled [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-trivial-text-bold:disabled[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-trivial-text-bold:disabled [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #bab9ba}.btn-tertiary:not(:disabled):not(.disabled):active[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary:not(:disabled):not(.disabled):active [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary:not(:disabled):not(.disabled).active[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary:not(:disabled):not(.disabled).active [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-flyout:not(:disabled):not(.disabled):active[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-flyout:not(:disabled):not(.disabled):active [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-flyout:not(:disabled):not(.disabled).active[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-flyout:not(:disabled):not(.disabled).active [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-trivial-text-bold:not(:disabled):not(.disabled):active[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-trivial-text-bold:not(:disabled):not(.disabled):active [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-trivial-text-bold:not(:disabled):not(.disabled).active[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-trivial-text-bold:not(:disabled):not(.disabled).active [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #920314}.btn-tertiary-major[_nghost-%COMP%], .btn-tertiary-major [_nghost-%COMP%]{background-color:#d2051e;border-color:#d2051e}.btn-tertiary-major[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-major [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #fff}.btn-tertiary-major.selected[_nghost-%COMP%], .btn-tertiary-major.selected [_nghost-%COMP%]{background-color:#d2051e;border-color:#d2051e}.btn-tertiary-major:hover[_nghost-%COMP%], .btn-tertiary-major:hover [_nghost-%COMP%], .btn-tertiary-major:focus[_nghost-%COMP%], .btn-tertiary-major:focus [_nghost-%COMP%]{background-color:#ab0115;border-color:#ab0115}.btn-tertiary-major:disabled[_nghost-%COMP%], .btn-tertiary-major:disabled [_nghost-%COMP%], .btn-tertiary-major.disabled[_nghost-%COMP%], .btn-tertiary-major.disabled [_nghost-%COMP%]{background-color:#bab9ba;border-color:#bab9ba}.btn-tertiary-major:not(:disabled):not(.disabled):active[_nghost-%COMP%], .btn-tertiary-major:not(:disabled):not(.disabled):active [_nghost-%COMP%], .btn-tertiary-major:not(:disabled):not(.disabled).active[_nghost-%COMP%], .btn-tertiary-major:not(:disabled):not(.disabled).active [_nghost-%COMP%]{background-color:#920314;border-color:#920314}.btn-tertiary-minor[_nghost-%COMP%], .btn-tertiary-minor [_nghost-%COMP%], .btn-tertiary-minor-borderless[_nghost-%COMP%], .btn-tertiary-minor-borderless [_nghost-%COMP%]{border-color:#d2051e}.btn-tertiary-minor[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #d2051e}.btn-tertiary-minor.selected[_nghost-%COMP%], .btn-tertiary-minor.selected [_nghost-%COMP%], .btn-tertiary-minor-borderless.selected[_nghost-%COMP%], .btn-tertiary-minor-borderless.selected [_nghost-%COMP%]{border-color:#d2051e}.btn-tertiary-minor.selected[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor.selected [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless.selected[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless.selected [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #d2051e}.btn-tertiary-minor:hover[_nghost-%COMP%], .btn-tertiary-minor:hover [_nghost-%COMP%], .btn-tertiary-minor-borderless:hover[_nghost-%COMP%], .btn-tertiary-minor-borderless:hover [_nghost-%COMP%], .btn-tertiary-minor:focus[_nghost-%COMP%], .btn-tertiary-minor:focus [_nghost-%COMP%], .btn-tertiary-minor-borderless:focus[_nghost-%COMP%], .btn-tertiary-minor-borderless:focus [_nghost-%COMP%]{border-color:#ab0115}.btn-tertiary-minor:hover[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor:hover [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless:hover[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless:hover [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor:focus[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor:focus [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless:focus[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless:focus [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #ab0115}.btn-tertiary-minor:disabled[_nghost-%COMP%], .btn-tertiary-minor:disabled [_nghost-%COMP%], .btn-tertiary-minor-borderless:disabled[_nghost-%COMP%], .btn-tertiary-minor-borderless:disabled [_nghost-%COMP%], .btn-tertiary-minor-borderless.disabled[_nghost-%COMP%], .btn-tertiary-minor-borderless.disabled [_nghost-%COMP%]{border-color:#bab9ba}.btn-tertiary-minor:disabled[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor:disabled [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless:disabled[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless:disabled [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless.disabled[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless.disabled [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #bab9ba}.btn-tertiary-minor:not(:disabled):not(.disabled):active[_nghost-%COMP%], .btn-tertiary-minor:not(:disabled):not(.disabled):active [_nghost-%COMP%], .btn-tertiary-minor:not(:disabled):not(.disabled).active[_nghost-%COMP%], .btn-tertiary-minor:not(:disabled):not(.disabled).active [_nghost-%COMP%], .btn-tertiary-minor-borderless:not(:disabled):not(.disabled).active[_nghost-%COMP%], .btn-tertiary-minor-borderless:not(:disabled):not(.disabled).active [_nghost-%COMP%], .btn-tertiary-minor-borderless:not(:disabled):not(.disabled):active[_nghost-%COMP%], .btn-tertiary-minor-borderless:not(:disabled):not(.disabled):active [_nghost-%COMP%]{border-color:#920314}.btn-tertiary-minor:not(:disabled):not(.disabled):active[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor:not(:disabled):not(.disabled):active [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor:not(:disabled):not(.disabled).active[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor:not(:disabled):not(.disabled).active [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless:not(:disabled):not(.disabled).active[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless:not(:disabled):not(.disabled).active [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless:not(:disabled):not(.disabled):active[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless:not(:disabled):not(.disabled):active [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #920314}.btn-tertiary-minor-borderless-neutraldark[_nghost-%COMP%], .btn-tertiary-minor-borderless-neutraldark [_nghost-%COMP%]{border-color:#7d7565}.btn-tertiary-minor-borderless-neutraldark[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless-neutraldark [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #7d7565}.btn-tertiary-minor-borderless [_nghost-%COMP%], .btn-tertiary-minor-borderless-neutraldark [_nghost-%COMP%]{border:none;box-shadow:none}.btn-tertiary-minor-borderless-neutraldark.selected[_nghost-%COMP%], .btn-tertiary-minor-borderless-neutraldark.selected [_nghost-%COMP%]{border-color:#7d7565}.btn-tertiary-minor-borderless-neutraldark.selected[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless-neutraldark.selected [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #7d7565}.btn-tertiary-minor-borderless-neutraldark:hover[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless-neutraldark:hover [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless-neutraldark.flyout-open[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless-neutraldark.flyout-open [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless-neutraldark:focus[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless-neutraldark:focus [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #ab0115}.btn-tertiary-minor-borderless-neutraldark:disabled[_nghost-%COMP%], .btn-tertiary-minor-borderless-neutraldark:disabled [_nghost-%COMP%]{border-color:#bab9ba}.btn-tertiary-minor-borderless-neutraldark:disabled[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless-neutraldark:disabled [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #bab9ba}.btn-tertiary-minor-borderless-neutraldark:not(:disabled):not(.disabled):active[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless-neutraldark:not(:disabled):not(.disabled):active [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless-neutraldark:not(:disabled):not(.disabled).active[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-minor-borderless-neutraldark:not(:disabled):not(.disabled).active [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #920314}.btn-nav-list:not(:disabled):not(.disabled):not(:active):not(.active):not(:hover):not(:focus):not
430(.default-icon-color)[_nghost-%COMP%], .btn-nav-list:not(:disabled):not(.disabled):not(:active):not(.active):not(:hover):not(:focus):not(.default-icon-color) [_nghost-%COMP%]{--svg-host-color: #d2051e}.shrd-uic-flyout-option[aria-selected=true][_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .shrd-uic-flyout-option[aria-selected=true] [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-flyout[aria-current=page][_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-flyout[aria-current=page] [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #d2051e}.is-open .mobile-actions-toggle [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #47122a}.master-banner-lg:hover[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .master-banner-lg:hover [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #ab0115}.btn-tertiary-option[_nghost-%COMP%], .btn-tertiary-option [_nghost-%COMP%]{border:none;box-shadow:none}.btn-tertiary-option[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-option [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #d2051e}.btn-tertiary-option:hover[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-option:hover [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-option:focus[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-option:focus [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #ab0115}.btn-tertiary-option:disabled[_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%], .btn-tertiary-option:disabled [_nghost-%COMP%] .svg-icon[_ngcontent-%COMP%]{--svg-icon-color: #bab9ba}"],changeDetection:0}))}return P(),I})()},94908(ye,A,n){n.d(A,{r:()=>o});var u=n(61151),l=n(61856),h=n(79746),T=n(17988);let o=(()=>{var D;class g{constructor(){this.changeSubject=new u.m(1),this.savedPosition={},this.registeredTabs={},this.change$=this.changeSubject.pipe((0,l.p)(v=>!!this.registeredTabs[v.id]),function c(D,g){return(0,h.F)((C,v)=>g?g(C[D],v[D]):C[D]===v[D])}("id"))}setActive(v,E=!0){this.activeTab=v,E&&this.emitChange()}setActiveById(v){const E=this.registeredTabs[v];E&&this.setActive(E)}getActive(){return this.activeTab}refresh(){this.emitChange()}register(v){v.id&&(this.registeredTabs[v.id]=v)}unregister(v){v.id&&delete this.registeredTabs[v.id]}savePosition(v,E){this.savedPosition[v]=E}getSavedPosition(v){const E=this.savedPosition[v];return delete this.savedPosition[v],E}emitChange(){this.activeTab&&this.changeSubject.next(this.activeTab)}static#e=D=()=>(this.\u0275fac=function(E){return new(E||g)},this.\u0275prov=T.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}))}return D(),g})()},52332(ye,A,n){n.d(A,{j8:()=>h,n7:()=>l,tV:()=>u});var u=function(c){return c.BOTTOM_LEFT="bottom-left",c}(u||{}),l=function(c){return c[c.DEFAULT=0]="DEFAULT",c[c.BODY=1]="BODY",c}(l||{});const h=200},41350(ye,A,n){n.d(A,{X:()=>re});var u=n(56207),l=n(96623),h=n(17988),c=n(47606),T=n(48065),o=n(61130),D=n(81502),g=n(61151),C=n(61202),v=n(79746),E=n(61856),M=n(24406),N=n(56816),P=n(13358),I=n(21292),x=n(23389),j=n(86493),w=n(11135),H=n(93612);function J(G){return G instanceof c.c1b}const Y=[n(52332).tV.BOTTOM_LEFT,"position-absolute","shrd-uic-toast-messages"];let re=(()=>{var G;class ce{constructor(){this.toastDismissed=new D.B,this.toasts$=new g.m(1),this.toastMessageContainerInstancesSet=new Set,this.renderer=(0,h.WQX)(c._9s).createRenderer(null,null),this.injector=(0,h.WQX)(h.zZn),this.appRef=(0,h.WQX)(c.o8S),this.win=(0,h.WQX)(H.$).nativeWindow,this.router=(0,h.WQX)(o.Ix,{optional:!0}),this.document=(0,h.WQX)(h.qQL),this.toastsArray=[],this.index=0,this.initialized=!1,this.clearToastsOnRouteChange()}setGlobalToastContainer(De){this.globalToastContainer=De,this.toastsArray.length&&(this.checkContainer(),this.updateToasts())}getToasts$(){return this.toasts$.asObservable()}info(De,z,ke){return this.createToast(I.G.INFO,De,z,ke)}success(De,z,ke){return this.createToast(I.G.SUCCESS,De,z,ke)}warn(De,z,ke){return this.createToast(I.G.WARNING,De,z,ke)}danger(De,z,ke){return this.createToast(I.G.DANGER,De,z,ke)}email(De,z,ke){return this.createToast(I.G.EMAIL,De,z,ke)}clear(De,z){De?this.removeToast(De,z):this.clearToasts(),this.updateToasts()}registerToastContainer(De){this.toastMessageContainerInstancesSet.add(De),this.checkContainer()}unregisterToastContainer(De){this.toastMessageContainerInstancesSet.delete(De),this.checkContainer()}createToast(De=I.G.INFO,z="",ke="",{aboveModal:it,autoClose:Re=!1,autoFocusCloseButton:Qe=!0,contentComponentInputs:Ze,dataQaId:Ye,displayPermanently:Ue=!1,showCloseButton:ne,tapToDismiss:X=!0,timeout:q=3e3,uniqueKey:Te}={}){this.index++;const je={id:this.index,type:De,title:ke,message:this.isComponentType(z)?"":z,contentComponent:this.isComponentType(z)?z:void 0,options:{aboveModal:!!it,autoClose:Re,autoFocusCloseButton:Qe,contentComponentInputs:Ze,dataQaId:Ye,displayPermanently:Ue,showCloseButton:!!ne,tapToDismiss:X,timeout:q,uniqueKey:Te}};return this.checkExistingToast(je)||(this.toastsArray.unshift(je),this.updateToasts()),this.checkContainer(),je.id}isComponentType(De){return"function"==typeof De}checkExistingToast(De){const{uniqueKey:z}=De.options,ke=z&&this.toastsArray.find(it=>z===it.options.uniqueKey);return ke&&(De.id=ke.id,(De.message instanceof c.C4Q||ke.message instanceof c.C4Q||De.message instanceof x.kE||ke.message instanceof x.kE||!(0,j.Zm)(De,ke))&&(Object.keys(De).forEach(it=>{ke[it]=De[it]}),this.updateToasts())),ke}hasFeatureLevelToastContainer(){return this.toastMessageContainerInstancesSet.size>0}clearToastsOnRouteChange(){this.router?.events?.pipe((0,E.p)(De=>De instanceof o.Z),(0,M.T)(De=>(0,w.Jf)(De.url)),(0,N.Z)(this.win.location.pathname),(0,v.F)(),(0,T.pQ)()).subscribe(()=>{this.clearToasts(),this.updateToasts()})}updateToasts(){this.toasts$.next(this.toastsArray)}clearToasts(){this.toastsArray=this.toastsArray.filter(De=>De.options.displayPermanently),this.toastDismissed.next({id:null})}removeToast(De,z){this.toastsArray=this.toastsArray.filter(ke=>ke.id!==De),this.toastDismissed.next({id:De,reason:z})}checkContainer(){this.hasFeatureLevelToastContainer()?this.removeContainerComponent():this.toastsArray.length&&this.renderContainerComponent()}renderContainerComponent(){var De=this;return(0,u.A)(function*(){if(De.initialized||De.globalToastContainerComponentRef||!De.globalToastContainer)return;De.initialized=!0;const{ToastMessagesModule:z}=yield n.e(1461).then(n.bind(n,91461)),{ToastMessagesContainerComponent:ke}=yield Promise.all([n.e(3650),n.e(7016)]).then(n.bind(n,87016)),it=(0,c.w6W)(z,De.injector);De.globalToastContainerComponentRef=J(De.globalToastContainer)?De.createToastContainerComponent(De.globalToastContainer,it,ke):De.createToastContainerPortal(De.globalToastContainer,it,ke);const Re=De.globalToastContainerComponentRef.location.nativeElement;Y.forEach(Qe=>De.renderer?.addClass(Re,Qe)),De.globalToastContainerComponentRef.instance.messageContainer=J(De.globalToastContainer)?Re.parentElement:De.globalToastContainer,De.globalToastContainerComponentRef.instance.toasts$=De.toasts$.pipe((0,C.c)(0)),De.globalToastContainerComponentRef.changeDetectorRef.detectChanges()})()}createToastContainerComponent(De,z,ke){return De.createComponent(ke,{ngModuleRef:z})}createToastContainerPortal(De,z,ke){const it=this.document.createElement("div");it.classList.add(...P.$),De.appendChild(it);const{selector:Re}=(0,l.HJs)(ke),Qe=(0,l.a0P)(ke,{environmentInjector:z.injector,hostElement:it.appendChild(this.document.createElement(Re))});return this.appRef.attachView(Qe.hostView),Qe}removeContainerComponent(){this.initialized=!1,this.globalToastContainerComponentRef?.destroy(),this.globalToastContainerComponentRef=null,J(this.globalToastContainer)&&this.globalToastContainer.clear()}static#e=G=()=>(this.\u0275fac=function(z){return new(z||ce)},this.\u0275prov=h.jDH({token:ce,factory:ce.\u0275fac,providedIn:"root"}))}return G(),ce})()},4135(ye,A,n){n.d(A,{q:()=>S});var u=n(17988),l=n(47606),h=n(72268),c=n(95536),T=n(81502),o=n(56816),D=n(24406),g=n(11640),C=n(65213),v=n(44085),E=n(30236),M=n(96178),N=n(87615),P=n(35072),I=n(93612),x=n(11167);let j=(()=>{var J;class Y{constructor(){this.tooltipIdPrefix=(0,u.WQX)(w),this.storageService=(0,u.WQX)(x.n$),this.tooltipsList=[]}registerTooltip(G){this.isTooltipAllowed(G)?(0===this.tooltipsList.length&&G.ngbPopover.open(),this.tooltipsList.push(G)):G.ngbPopover.disablePopover=!0}unregisterTooltip(){this.tooltipsList.shift(),this.tooltipsList.length>0&&this.tooltipsList[0].ngbPopover.open()}isTooltipAllowed(G){const{id:ce,showOnce:pe,showAgainAfter:De,showTimes:z}=G.tooltipVisibilityConfig,ke=`${this.tooltipIdPrefix}-${ce}`,it=Date.now();if(G.ngbPopover.disablePopover)return this.storageService.removeItem(ke),!1;if(!this.storageService.hasItem(ke))return this.storageService.setItem(ke,{shownAt:it,times:1}),!0;if(pe)return!1;const{shownAt:Re,times:Qe}=this.storageService.getItem(ke);return!(De&&it-Re<De||z&&z===Qe||(this.storageService.setItem(ke,{shownAt:it,times:Qe+1}),0))}static#e=J=()=>(this.\u0275fac=function(ce){return new(ce||Y)},this.\u0275prov=u.jDH({token:Y,factory:Y.\u0275fac,providedIn:"root"}))}return J(),Y})();const w=new u.nKC("TOOLTIP_ID_PREFIX",{providedIn:"root",factory:()=>"hdms-tt"});var H=n(24464);let S=(()=>{var J;class Y{constructor(){this.disableTooltip=!1,this.showOnMobile=!0,this.showOnLargeScreen=!0,this.tooltipExtraMargin=!1,this.tooltipPosition=H.F.AUTO,this.ngbPopover=(0,u.WQX)(h.ZM),this.breakpointService=(0,u.WQX)(M.d),this.resizeService=(0,u.WQX)(P.c),this.tooltipVisibilityStateService=(0,u.WQX)(j),this.el=(0,u.WQX)(l.aKT).nativeElement,this.win=(0,u.WQX)(I.$).nativeWindow,this.showOnMobile$=new c.t(this.showOnMobile),this.showOnLargeScreen$=new c.t(this.showOnLargeScreen),this.disableTooltip$=new c.t(this.disableTooltip),this.unsubscribe$=new T.B}get hideToolTip$(){const G=this.breakpointService.isMobileView$,ce=this.breakpointService.breakpointChange$.pipe((0,o.Z)(this.breakpointService.getBreakp
430oint()),(0,D.T)(pe=>pe===N.EA.LG));return(0,g.z)([G,ce,this.showOnMobile$,this.showOnLargeScreen$,this.disableTooltip$]).pipe((0,D.T)(([pe,De,z,ke,it])=>it||pe&&!z||De&&!ke))}ngOnInit(){this.ngbPopover.placement=this.getTooltipPlacement(),this.ngbPopover.popoverClass=`${E.fX.BOX_POPOVER} ${E.fX.WINDOW}`,this.setTooltipExtraMargin(),this.ngbPopover.popperOptions=G=>({...G,modifiers:[...G.modifiers,{name:"setPopperWidth",enabled:!0,phase:"beforeWrite",fn:({state:ce})=>{ce.styles.popper.width=`${this.getTooltipPopoverWidth()}px`},effect:({state:ce})=>{ce.elements.popper.style.width=`${this.getTooltipPopoverWidth()}px`},requires:["computeStyles"]}]}),this.resizeService.onResize$.pipe((0,C.Q)(this.unsubscribe$),(0,v.c)(30)).subscribe(()=>{this.ngbPopover.isOpen&&this.ngbPopover.close()}),this.hideToolTip$.pipe((0,C.Q)(this.unsubscribe$)).subscribe(G=>{this.ngbPopover.disablePopover=G,G&&this.ngbPopover.close()}),this.tooltipVisibilityConfig&&(this.ngbPopover.hidden.pipe((0,C.Q)(this.unsubscribe$)).subscribe(()=>{this.tooltipVisibilityStateService.unregisterTooltip(),this.ngbPopover.disablePopover=!0}),this.tooltipVisibilityStateService.registerTooltip(this))}ngOnChanges(G){const{disableTooltip:ce,showOnMobile:pe,showOnLargeScreen:De,tooltipPosition:z,tooltipExtraMargin:ke}=G;ce&&(this.disableTooltip$.next(ce.currentValue),ce.previousValue&&!ce.currentValue&&this.tooltipVisibilityConfig&&this.tooltipVisibilityStateService.registerTooltip(this)),pe&&this.showOnMobile$.next(pe.currentValue),De&&this.showOnLargeScreen$.next(De.currentValue),z&&(this.ngbPopover.placement=this.getTooltipPlacement()),ke&&this.setTooltipExtraMargin()}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}getBreakpointFractionalWidth(){switch(this.breakpointService.getBreakpoint()){case"xs":return 1;case"sm":return.5;case"md":return.4;default:return.3}}getTooltipPopoverWidth(){const{left:G,right:ce}=this.el.getBoundingClientRect(),pe=this.win.innerWidth,De=pe-ce,z=Math.min(G,De),ke=pe*this.getBreakpointFractionalWidth();return De===G?ke-30:ke+z>pe?ke-z-15:ke-15}getTooltipPlacement(){switch(this.tooltipPosition){case H.F.TOP:return[H.F.TOP,H.F.TOP_START,H.F.TOP_END];case H.F.BOTTOM:return[H.F.BOTTOM,H.F.BOTTOM_START,H.F.BOTTOM_END];case H.F.BOTTOM_END:return[H.F.BOTTOM_END,H.F.BOTTOM,H.F.BOTTOM_START];case H.F.BOTTOM_START:return[H.F.BOTTOM_START,H.F.BOTTOM,H.F.BOTTOM_END];default:return[H.F.BOTTOM,H.F.TOP,H.F.BOTTOM_END,H.F.TOP_END,H.F.BOTTOM_START,H.F.TOP_START]}}setTooltipExtraMargin(){const G=this.ngbPopover.popoverClass||"";this.ngbPopover.popoverClass=this.tooltipExtraMargin?`${G} extra-margin`:G.replace("extra-margin","")}static#e=J=()=>(this.\u0275fac=function(ce){return new(ce||Y)},this.\u0275dir=l.FsC({type:Y,selectors:[["","ngbPopover","","shrdUicTooltipPopover",""]],inputs:{disableTooltip:"disableTooltip",showOnMobile:"showOnMobile",showOnLargeScreen:"showOnLargeScreen",tooltipExtraMargin:"tooltipExtraMargin",tooltipPosition:"tooltipPosition",tooltipVisibilityConfig:"tooltipVisibilityConfig"},exportAs:["shrdUicTooltipPopover"],features:[l.OA$]}))}return J(),Y})()},23646(ye,A,n){n.d(A,{b:()=>D});var u=n(47606),l=n(73472),h=n(11564),c=n(79168);const T=["*"];function o(g,C){if(1&g&&(u.j41(0,"p",3),u.EFF(1),u.k0s()),2&g){const v=u.XpG();u.R7$(),u.SpI(" ",v.headline," ")}}let D=(()=>{var g;class C{constructor(){this.headline="",this.explicitClose=new u.bkB,this.iconSet=l.i}static#e=g=()=>(this.\u0275fac=function(M){return new(M||C)},this.\u0275cmp=u.VBU({type:C,selectors:[["shrd-uic-tooltip"]],inputs:{headline:"headline",closeBtnLabel:"closeBtnLabel"},outputs:{explicitClose:"explicitClose"},ngContentSelectors:T,decls:8,vars:6,consts:[[1,"info-box-arrow","tooltip-arrow"],[1,"tooltip-container","d-flex"],[1,"content-box","pe-2"],[1,"m-0","pb-0","text-bold"],[1,"m-0"],["type","button","variant","tertiaryMinorBorderless","shrdUicButton","",1,"tooltip-close-btn","m-0",3,"click"],["size","small",3,"icon","inheritColor"]],template:function(M,N){1&M&&(u.NAR(),u.nrm(0,"div",0),u.j41(1,"div",1)(2,"div",2),u.nVh(3,o,2,1,"p",3),u.j41(4,"p",4),u.SdG(5),u.k0s()(),u.j41(6,"button",5),u.bIt("click",function(){return N.explicitClose.emit()}),u.nrm(7,"shrd-uic-svg-icon",6),u.k0s()()),2&M&&(u.R7$(3),u.vxM(N.headline?3:-1),u.R7$(),u.AVh("pt-0",N.headline),u.R7$(2),u.BMQ("aria-label",N.closeBtnLabel),u.R7$(),u.Y8G("icon",N.iconSet.CROSS)("inheritColor",!0))},dependencies:[h._,c.D],styles:[".tooltip-container[_ngcontent-%COMP%]{background-color:#524f53;color:#fff}[_ngcontent-%COMP%]:root[dir=rtl] .tooltip-container[_ngcontent-%COMP%]{flex-direction:row-reverse}.tooltip-container[_ngcontent-%COMP%] .tooltip-close-btn[_ngcontent-%COMP%]{color:#fff;height:2.0625rem;width:2.0625rem;min-width:2.0625rem}.tooltip-container[_ngcontent-%COMP%] .tooltip-close-btn[_ngcontent-%COMP%] shrd-uic-svg-icon[_ngcontent-%COMP%]{height:2.0625rem;min-width:2.0625rem}"],changeDetection:0}))}return g(),C})()},24464(ye,A,n){n.d(A,{F:()=>u});var u=function(l){return l.TOP="top",l.TOP_START="top-start",l.TOP_END="top-end",l.BOTTOM="bottom",l.BOTTOM_START="bottom-start",l.BOTTOM_END="bottom-end",l.AUTO="auto",l}(u||{})},40779(ye,A,n){n.d(A,{D:()=>T});
430var u=n(17988),l=n(93003),h=n(48282),c=n(93612);let T=(()=>{var o;class D{constructor(){this.window=(0,u.WQX)(c.$).nativeWindow,this.featureToggleService=(0,u.WQX)(l.I),this.isServer=(0,u.WQX)(h.f).isServer,this.cache=new Map}observeExperiment(C,v){if(this.isServer||v&&!this.featureToggleService.getToggleById(v))return(0,u.vPA)({enabled:!1}).asReadonly();const E=this.cache;if(E.has(C))return E.get(C).status;const M=(0,u.vPA)({enabled:!1});this.window[C]&&M.set({enabled:!0,data:this.window[C]?.detail?.data});const N=I=>{M.set({enabled:!0,data:I instanceof CustomEvent?I.detail?.data:void 0})};this.window.addEventListener(C,N);const P=M.asReadonly();return E.set(C,{listener:N,status:P}),P}cleanupExperiment(C){this.cache.has(C)&&(this.window.removeEventListener(C,this.cache.get(C).listener),this.cache.delete(C))}static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)},this.\u0275prov=u.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}))}return o(),D})()},4758(ye,A,n){n.d(A,{Cv:()=>o,Q3:()=>T,QX:()=>C,ct:()=>D,jt:()=>g,lY:()=>c,qT:()=>h,wE:()=>l});const l={navigationItem:n(41221).B.OTHER,navigationItemDetails:"Other"},h={contentBU:void 0,contentCategory:void 0,contentPurpose:void 0,contentSubCategory:void 0,contentSubSubCategory:void 0,contentTargetPersona:void 0,contentTargetPersonaType:void 0,contentTargetTradeL1:void 0,contentTargetTradeL2:void 0,funnelName:void 0,funnelStepName:void 0,menuL1:void 0,menuL2:void 0,menuL3:void 0,menuL4:void 0,navigationItem:void 0,navigationItemDetails:void 0,pageName:void 0,product_label:void 0,searchResultsVolume:void 0,tabInfo:void 0,templateType:void 0},c={S4H:"S4-HANA",ByD:"ByD",S4C:"S4-CLOUD"},T="navigationDetails",o="dpiTrackingData",D="pagePath",g="pageTemplate",C="pageName"},65319(ye,A,n){n.d(A,{c:()=>Re});var u=n(17988),l=n(47606),h=n(45873),c=n(48065),T=n(95536),o=n(81502),D=n(61856),g=n(11640),C=n(64752),v=n(24406),E=n(49788),M=n(99728),N=n(11135),P=n(98732),I=n(86514),x=n(48282),j=n(75140),w=n(1733),H=n(66376),ae=n(11167),S=n(93612),J=n(4758),Y=n(86493);function G(Qe,Ze){const Ye={...Qe},Ue={...ce(Ze||{}),event:Ye.event||E.iM.DEFAULT},ne={category:"eventCategory",action:"eventAction",label:"eventLabel",value:"eventValue"};return Object.keys(ne).forEach(X=>{Ye.hasOwnProperty(X)&&(""!==Ye[X]||null!==Ye[X])&&(Ue[ne[X]]=Ye[X]),delete Ye[X]}),{...Ue,...Ye}}function ce(Qe){return(0,Y.Dz)(Object.assign({},...Object.entries(Qe).map(([Ze])=>"boolean"==typeof Qe[Ze]||"number"==typeof Qe[Ze]?{[Ze]:Qe[Ze].toString()}:{[Ze]:Qe[Ze]})))}var pe=n(82867),De=n(68575);class z{constructor(Ze,Ye){Object.assign(this,z.createCustomEvent(Ze,Ye))}static create(Ze,Ye){return new this(Ze,Ye)}static createCustomEvent(Ze,Ye={}){let Ue=De.U.GENERIC;Ye.trackingEvent&&(Ue=Ye.trackingEvent,delete Ye.trackingEvent);const{...ne}=Ye;return{event:Ue,event_name:Ze,[Ze]:{...ne}}}}class ke{constructor(Ze,Ye){Object.assign(this,ke.createEvent(Ze,Ye))}static create(Ze,Ye){return new this(Ze,Ye)}static createEvent(Ze,Ye){const{...Ue}=Ye;return{event:"ecommerce_ga4_event",event_name:Ze,ecommerce:{...Ue}}}}let it=(()=>{var Qe;class Ze{constructor(){this.win=(0,u.WQX)(S.$).nativeWindow;const{stagedEvents:Ue=[]}=this.win.eventTrackingData||{};this.stagedEvents=Ue}reset(){this.stagedEvents=[],this.win.eventTrackingData?.stagedEvents?.splice(0)}static#e=Qe=()=>(this.\u0275fac=function(ne){return new(ne||Ze)},this.\u0275prov=u.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}))}return Qe(),Ze})(),Re=(()=>{var Qe;class Ze{constructor(){this.baseTrackingData={},this.currentRouteData={},this.pageViewReadyEventSubject=new T.t(!1),this.dataLayerEventSubject=new o.B,this.restoreAfterConsentEventSubject=new o.B,this.dataLayerUpdatedSubject=ne
430w o.B,this.isBrowser=(0,u.WQX)(x.f).isBrowser,this.baseTrackingDto=(0,u.WQX)(pe.w),this.cookieConsentStatusService=(0,u.WQX)(M.o),this.currentUrl=(0,u.WQX)(j.K),this.destroyRef=(0,u.WQX)(u.abz),this.mobileAppService=(0,u.WQX)(I.z),this.routerHelper=(0,u.WQX)(w.T),this.routePrefixer=(0,u.WQX)(H.of),this.stagedEventsTrackingDto=(0,u.WQX)(it),this.storageService=(0,u.WQX)(ae.n$),this.windowRef=(0,u.WQX)(S.$),this.dataLayer=this.windowRef.nativeWindow.dataLayer,this.win=this.windowRef.nativeWindow,this.zone=(0,u.WQX)(l.SKi),this.active=!!this.dataLayer,this.pageTrackingEnabled=this.active&&this.isBrowser,this.dataLayerUpdated$=this.dataLayerUpdatedSubject.asObservable(),this.navigationData=(0,u.vPA)(this.getStoredNavigationData()),(0,h.QZ)(()=>this.storageService.setItem(J.Q3,this.navigationData(),ae.eL.SESSION,!0)),this.pageTrackingEnabled&&(this.delegateToMobileAppIfConfigured(),this.initRouterSubscription(),this.initPushToDataLayerSubscription(),this.initRestoreAfterConsentEventQueue())}sendEvent(Ue,ne){!this.active||!Ue||(this.enqueueOrPushToDataLayer({[Ue]:null}),this.enqueueOrPushToDataLayer(z.create(Ue,ne)))}trackPageView(Ue,ne,X=!1){if(this.pageTrackingEnabled&&Ue&&(this.previousPage!==Ue||X)){const q=this.getPageViewTrackingData(Ue,ne);this.enqueueOrPushToDataLayer(q,!0),this.pageViewReadyEventSubject.next(!0),this.previousPage=Ue}}trackEcommerceEvent(Ue,ne){this.enqueueOrPushToDataLayer({event_name:Ue,ecommerce:null}),this.enqueueOrPushToDataLayer(ke.create(Ue,ne))}trackLegacyEcommerceEvent(Ue){const{event:ne,currencyCode:X,products:q,...Te}=Ue||{},je=E.Zn[ne];if(!ne||!q?.length||!je)return;const Fe={event:ne,ecommerce:{currencyCode:X,[je]:{products:q}},...Te};this.sendLegacyEvent(Fe,!0)}sendLegacyEvent(Ue,ne=!0){!this.active||!Ue||this.enqueueOrPushToDataLayer(ne?G(Ue):G(Ue,this.getAvailablePageTrackingData()))}storeData(Ue){this.navigationData.set(Ue)}readData(){return this.navigationData()}getTemplateType(){return this.getAvailablePageTrackingData()?.templateType??null}getBaseTrackingData(){return this.baseTrackingData}sendEventlessPageView(Ue){if(!this.pageTrackingEnabled||!Ue)return;const ne={...Ue};delete ne.event,this.enqueueOrPushToDataLayer(ne,!0)}getLastPageViewEvent$(){return this.dataLayerUpdated$.pipe((0,D.p)(({event:Ue})=>Ue===E.iM.PAGE_VIEW))}getStoredNavigationData(){const[Ue,ne]=[J.Cv,J.Q3].map(X=>this.storageService.getItem(X,ae.eL.SESSION,!0));return Ue||ne||{}}getPageViewTrackingData(Ue,ne){return function re(Qe,Ze){return{...J.qT,...Ze,pagePath:Qe,event:E.iM.PAGE_VIEW}}((0,N.Jf)(Ue),{...ce({...this.getAvailablePageTrackingData(),...ne})})}initRouterSubscription(){(0,g.z)([this.routerHelper.activatedRoute$.pipe((0,C.Z)(({data:Ue})=>Ue)),this.baseTrackingDto.update$()]).pipe((0,c.pQ)(this.destroyRef)).subscribe(([Ue,ne])=>{this.currentRouteData={...Ue},this.baseTrackingData={...ne};const X=this.routePrefixer.removeLanguagePrefix(this.currentUrl().pathname);this.updateBaseTrackingWithRouteTrackingData(this.currentRouteData.tracking),this.trackPageView(X,this.getPreviousPageTrackingData(),!1),this.updatePreviousPageTrackingData(X),this.navigationData.set({}),this.sendStagedEvents()})}initPushToDataLayerSubscription(){this.dataLayerEventSubject.pipe((0,P.$7)(this.pageViewReadyEventSubject),(0,c.pQ)(this.destroyRef)).subscribe(Ue=>{this.isToRestoreAfterConsentEvent(Ue)?this.restoreAfterConsentEventSubject.next(Ue):this.pushToDataLayer(Ue)})}initRestoreAfterConsentEventQueue(){const Ue=(0,g.z)([this.pageViewReadyEventSubject,this.cookieConsentStatusService.update$]).pipe((0,v.T)(([ne,X])=>ne&&(!this.cookieConsentStatusService.isGdprEnabled||X)));this.restoreAfterConsentEventSubject.pipe((0,P.$7)(Ue),(0,c.pQ)(this.destroyRef)).subscribe(ne=>{this.pushToDataLayer(ne)})}sendStagedEvents(){this.stagedEventsTrackingDto.stagedEvents.forEach(Ue=>this.sendLegacyEvent(Ue)),this.stagedEventsTrackingDto.reset()}getAvailablePageTrackingData(){return{...J.wE,...this.navigationData(),...this.baseTrackingData,...this.currentRouteData.tracking}}updateBaseTrackingWithRouteTrackingData(Ue){const{templateType:ne,pageName:X}=Ue||{};(!this.routerHelper.isFirstNavigation||ne)&&(this.baseTrackingData.templateType=ne,this.baseTrackingData.pageName=X)}updatePreviousPageTrackingData(Ue){this.storageService.setItem(J.jt,this.baseTrackingData.templateType,ae.eL.SESSION),this.storageService.setItem(J.QX,this.baseTrackingData.pageName,ae.eL.SESSION),this.storageService.setItem(J.ct,Ue,ae.eL.SESSION)}
430getPreviousPageTrackingData(){const[Ue,ne,X]=[J.jt,J.ct,J.QX].map(Te=>this.storageService.getItem(Te,ae.eL.SESSION));return{...Ue?{previousTemplateType:Ue,previousPagePath:ne,previousPageName:X}:{},...this.navigationData()}}pushToDataLayer(Ue){this.zone.runOutsideAngular(()=>{this.isBrowser&&this.win?.requestIdleCallback?this.win.requestIdleCallback(ne=>{(ne.timeRemaining()>0||ne.didTimeout)&&this.dataLayer.push(Ue)},{timeout:2e3}):this.dataLayer.push(Ue)}),this.dataLayerUpdatedSubject.next(Ue)}isToRestoreAfterConsentEvent(Ue){return["view_promotion","view_item_list"].includes(Ue.event_name)}enqueueOrPushToDataLayer(Ue,ne=!1){this.active&&(ne?this.pushToDataLayer(Ue):this.isToRestoreAfterConsentEvent(Ue)?this.restoreAfterConsentEventSubject.next(Ue):this.dataLayerEventSubject.next(Ue))}delegateToMobileAppIfConfigured(){if(!this.mobileAppService.isMobileApp||!this.mobileAppService.config().delegateTracking)return;const ne=this.dataLayer.push;this.dataLayer.push=(...X)=>{const q=ne.apply(this.dataLayer,X);return X.forEac
430h(Te=>this.mobileAppService.trackData(Te)),q}}static#e=Qe=()=>(this.\u0275fac=function(ne){return new(ne||Ze)},this.\u0275prov=u.jDH({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}))}return Qe(),Ze})()},82867(ye,A,n){n.d(A,{w:()=>g});var u=n(17988),l=n(61151),h=n(10432),c=n(86514),T=n(79632),o=n(4758),D=n(21512);let g=(()=>{var C;class v{constructor(){this.updateSubject=new l.m(1),this.env=(0,u.WQX)(h.v),this.pageTrackingData=(0,u.WQX)(D.w).data,this.mobileAppService=(0,u.WQX)(c.z),this.punchoutSessionType=(0,u.WQX)(T.as).sessionType}ngOnDestroy(){this.updateSubject.complete()}updateData(M){const{country:N,currency:P,currencies:I,hub:x,languageTagLong:j}=this.env;this.updateSubject.next({webSiteType:"www",...this.buildMobileAppData(),country:N,currency:I?.find(w=>w.primary)?.code||P?.code,region:x,pageLanguage:j,punchOutSessionType:this.punchoutSessionType,...this.env.erp?{hiltiERPSystem:o.lY[this.env.erp]}:{},...this.pageTrackingData,...M})}update$(){return this.updateSubject.asObservable()}buildMobileAppData(){const M=this.mobileAppService.appParams;return this.mobileAppService.isMobileApp?{mobileAppName:M?.name,mobileAppVersion:M?.version,mobileApp:!0}:{mobileApp:!1}}static#e=C=()=>(this.\u0275fac=function(N){return new(N||v)},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}))}return C(),v})()},10360(ye,A,n){n.d(A,{Q:()=>u});const u=["mouseup","keydown.space","keydown.enter"]},21512(ye,A,n){n.d(A,{w:()=>h});var u=n(17988),l=n(93612);let h=(()=>{var c;class T{constructor(){const D=(0,u.WQX)(l.$).nativeWindow;this.data=D.pageTrackingData||{}}static#e=c=()=>(this.\u0275fac=function(g){return new(g||T)},this.\u0275prov=u.jDH({token:T,factory:T.\u0275fac,providedIn:"root"}))}return c(),T})()},51596(ye,A,n){n.d(A,{f:()=>E});var u=n(17988),l=n(47606),h=n(47066),c=n(870),T=n(43396),o=n(41221),D=n(93612),g=n(65319),C=n(10360),v=function(M){return M.DEFAULT="default",M.PAGE_VIEW="pageView",M}(v||{});let E=(()=>{var M;class N{constructor(){this.eventType=v.DEFAULT,this.omitInitialTrackingData=!0,this.listenToEvents=C.Q,this.analyticsService=(0,u.WQX)(g.c),this.winRef=(0,u.WQX)(D.$),this.elRef=(0,u.WQX)(l.aKT)}set listenTo(I){this.listenToEvents=Array.isArray(I)?I:[I]}onUserInput(){if(this.eventType===v.DEFAULT)this.analyticsService.sendLegacyEvent(this.shrdUtcTrackLegacyEvent,this.omitInitialTrackingData);else if(this.eventType===v.PAGE_VIEW){const I=this.winRef.nativeWindow.location;this.shrdUtcTrackLegacyEvent.navigationItem===o.B.TABS?this.analyticsService.trackPageView(I.pathname,this.shrdUtcTrackLegacyEvent,!0):this.analyticsService.trackPageView(I.href.substring(I.origin.length),this.shrdUtcTrackLegacyEvent)}else this.shrdUtcTrackEvent&&this.eventType?this.analyticsService.sendEvent(this.eventType,this.shrdUtcTrackEvent):this.shrdUtcTrackEcommerceEvent&&this.eventType&&this.analyticsService.trackEcommerceEvent(this.eventType,this.shrdUtcTrackEcommerceEvent);this.navigationData&&this.analyticsService.storeData(this.navigationData)}ngOnInit(){const I=(0,c.h)(...this.listenToEvents.map(x=>(0,h.R)(this.elRef.nativeElement,x)));this.subscription=(this.eventType===v.PAGE_VIEW?I.pipe((0,T.B)(N.debounceTime)):I).subscribe(this.onUserInput.bind(this))}ngOnDestroy(){this.subscription?.unsubscribe()}static#e=M=()=>(this.debounceTime=100,this.\u0275fac=function(x){return new(x||N)},this.\u0275dir=l.FsC({type:N,selectors:[["","shrdUtcTrackEvent",""],["","shrdUtcTrackEcommerceEvent",""],["","shrdUtcTrackLegacyEvent",""]],inputs:{shrdUtcTrackLegacyEvent:"shrdUtcTrackLegacyEvent",eventType:"eventType",shrdUtcTrackEvent:"shrdUtcTrackEvent",shrdUtcTrackEcommerceEvent:"shrdUtcTrackEcommerceEvent",omitInitialTrackingData:"omitInitialTrackingData",navigationData:"navigationData",listenTo:"listenTo"}}))}return M(),N})()},46821(ye,A,n){n.d(A,{Lh:()=>v,Qr:()=>N});var u=n(96623),l=n(17988),h=n(47606),c=n(48065),T=n(47066),o=n(61856),D=n(75117),g=n(65213),C=n(98732);const v={WIDTH:"width",HEIGHT:"height"};let N=(()=>{var P;class I{constructor(){this.shrdUtcSlideInOut=(0,u.hFB)(!1),this.dimension=(0,u.hFB)(v.HEIGHT),this.duration=(0,u.hFB)(.25),this.delay=(0,u.hFB)(0),this.disabled=(0,u.hFB)(!1),this.immediate=(0,u.hFB)(!1),this.start=(0,u.CGW)(),this.done=(0,u.CGW)(),this.renderer=(0,l.WQX)(h.sFG),this.injector=(0,l.WQX)(l.zZn),this.element=(0,l.WQX)(h.aKT).nativeElement,this.start$=(0,c.yC)(this.start),this.animated=!1}ngOnChanges(j){j.shrdUtcSlideInOut&&this.applySlide()}applySlide(){if(this.start.emit(),this.disabled()||this.immediate()&&!this.animated)return this.shrdUtcSlideInOut()?this.removeAllStyles():this.setStyles(!1),void this.slideDone();(0,C.wp)(this.injector,"mixedReadWrite").pipe((0,g.Q)(this.start$)).subscribe(()=>{this.setOrgDimensions(),this.setStyles(!this.shrdUtcSlideInOut()),this.setTransition(),(0,T.R)(this.element,"transitionend").pipe((0,o.p)(j=>j.target===this.element&&j.propertyName===this.dimension()),(0,D.s)(1),(0,g.Q)(this.start$)).subscribe(this.slideDone.bind(this)),this.forceReflow(),this.setStyles(this.shrdUtcSlideInOut()),this.setDuration()})}slideDone(){this.removeAllStyles(!!this.shrdUtcSlideInOut()),this.animated=!0,this.done.emit()}setStyles(j){this.setStyle(this.dimension(),j?`${this.orgRect[this.dimension()]}px`:0),this.setStyle("opacity",j?1:0)}removeAllStyles(j=!0){this.removeStyles("transition-duration","transition",...j?["opacity",this.dimension()]:[])}setTransition(){this.setStyle("transition",`${this.setTransitionProps("opacity")}, ${this.setTransitionProps(this.dimension())}`)}setStyle(j,w){this.renderer.setStyle(this.element,j,w)}
430removeStyles(...j){j.forEach(w=>this.renderer.removeStyle(this.element,w))}setTransitionProps(j){return`${j} 0s ease-out ${this.delay()}s`}setDuration(j=this.duration()){this.setStyle("transition-duration",`${j}s`)}setOrgDimensions(){this.removeAllStyles(),this.orgRect=this.element.getBoundingClientRect()}forceReflow(){return this.element.offsetHeight}static#e=P=()=>(this.\u0275fac=function(w){return new(w||I)},this.\u0275dir=h.FsC({type:I,selectors:[["","shrdUtcSlideInOut",""]],inputs:{shrdUtcSlideInOut:[1,"shrdUtcSlideInOut"],dimension:[1,"dimension"],duration:[1,"duration"],delay:[1,"delay"],disabled:[1,"disabled"],immediate:[1,"immediate"]},outputs:{start:"start",done:"done"},features:[h.OA$]}))}return P(),I})()},72315(ye,A,n){n.d(A,{W:()=>c});var u=n(17988),l=n(10432),h=n(47606);let c=(()=>{var T;class o{constructor(){this.envService=(0,u.WQX)(l.v)}transform(g,C=!1){const v=C?this.envService.staticResourcePath:this.envService.resourcePath;return g&&v&&"string"==typeof g&&g.match(/^\/assets\//)?v+g:g}static#e=T=()=>(this.\u0275fac=function(C){return new(C||o)},this.\u0275pipe=h.EJ8({name:"assetPath",type:o,pure:!0}),this.\u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}))}return T(),o})()},19799(ye,A,n){n.d(A,{j:()=>E,u:()=>M});var u=n(17988),l=n(47606),h=n(81502),c=n(47066),T=n(75117),o=n(65213),D=n(14816),g=n(93612);const C="padding-right";let v=(()=>{var N;class P{constructor(){this.document=(0,u.WQX)(u.qQL),this.win=(0,u.WQX)(g.$).nativeWindow,this.renderer=(0,u.WQX)(l._9s).createRenderer(null,null),this.body=this.document.body}setPageScrollbarOffset(){const x=Math.abs(this.win.innerWidth-this.document.documentElement.clientWidth);if(x){const j=Number.parseFloat(this.win.getComputedStyle(this.body).paddingRight);return this.renderer.setStyle(this.body,C,`${j+x}px`),()=>this.renderer.setStyle(this.body,C,j?`${j}px`:"")}return()=>{}}static#e=N=()=>(this.\u0275fac=function(j){return new(j||P)},this.\u0275prov=u.jDH({token:P,factory:P.\u0275fac,providedIn:"root"}))}return N(),P})();var E=function(N){return N.FADE="fade",N.SHOW="show",N.MODAL_OPEN="modal-open",N.MODAL_BACKDROP="modal-backdrop",N}(E||{});let M=(()=>{var N;class P{constructor(){this.document=(0,u.WQX)(u.qQL),this.overlayWrapper=(0,u.WQX)(D.$),this.scrollbarOffsetService=(0,u.WQX)(v),this.body=this.document.body,this.renderer=(0,u.WQX)(l._9s).createRenderer(null,null),this.cancelClose=new h.B,this.closing=!1}get isOpen(){return!!this.backDrop?.parentElement}create({hostClasses:x}={}){this.backDrop??=this.renderer.createElement("div"),this.cancelClose.next(),this.backDrop.className="",[E.MODAL_BACKDROP,E.FADE,E.SHOW,...x||[]].forEach(j=>this.renderer.addClass(this.backDrop,j)),this.isOpen||(this.removeOffsetCallback=this.scrollbarOffsetService.setPageScrollbarOffset(),this.renderer.addClass(this.body,E.MODAL_OPEN),this.renderer.appendChild(this.overlayWrapper.getWrapper(),this.backDrop))}remove(){this.isOpen&&!this.closing&&(this.closing=!0,(0,c.R)(this.backDrop,"animationend").pipe((0,T.s)(1),(0,o.Q)(this.cancelClose)).subscribe(x=>{this.renderer.removeChild(this.backDrop.parentElement,this.backDrop),this.renderer.removeClass(this.body,E.MODAL_OPEN),this.removeOffsetCallback?.(),this.closing=!1}),this.renderer.removeClass(this.backDrop,E.SHOW))}static#e=N=()=>(this.\u0275fac=function(j){return new(j||P)},this.\u0275prov=u.jDH({token:P,factory:P.\u0275fac,providedIn:"root"}))}return N(),P})()},84332(ye,A,n){n.d(A,{An:()=>P,GI:()=>N,v3:()=>C});var u=n(17988),l=n(47606),h=n(48065),c=n(61130),T=n(95536),o=n(79746),D=n(61856),g=n(773);const C=new u.nKC("shrd-utc.routerBreadcrumbTranslate");class v{translate(x){return x}}function E({href:I},{url:x}){return I&&!I.startsWith("/")?[I]:x.map(j=>j.path).filter(Boolean)}function M(I,{component:x,snapshot:j},w){const H={...I};return H.href=w.join("/"),(x&&!1!==I.routerLink||!0===I.routerLink)&&(H.routerLink=!0,j.routeConfig.path.includes(":")&&(H.routeParams=j.params)),H}let N=(()=>{var I;class x{constructor(){this.router=(0,u.WQX)(c.Ix),this.activatedRoute=(0,u.WQX)(c.nX),this.translateService=this.getTranslateService(),this.breadcrumbItems=new T.t([]),this.subscribeToRouterEvents()}getBreadcrumbItems$(){return this.breadcrumbItems.asObservable()}getTranslateService(){return(0,u.WQX)(C,{optional:!0})||new v}subscribeToRouterEvents(){this.router.events.pipe((0,D.p)(w=>w instanceof c.wF),(0,o.F)(g.B),(0,h.pQ)()).subscribe(()=>{this.breadcrumbItems.next(this.createBreadcrumbItems())})}createBreadcrumbItems(){const{i18nNamespaceProp:w,rootBreadCrumbItem:H}=this.translateService,ae=H?[H]:[],S=[""],J=[];let Y=this.activatedRoute;for(;Y.firstChild;){Y=Y.firstChild;const{firstChild:re,snapshot:G}=Y,ce={...G.routeConfig.data?.breadcrumb};S.push(...E(ce,G)),re&&(re.firstChild||re.snapshot.url.length)&&Object.keys(ce).length&&(J.unshift(G.data?.[w]),ae.push(M(ce,Y,S)))}return this.translateService.translate(ae,J.filter(Boolean))}static#e=I=()=>(this.\u0275fac=function(H){return new(H||x)},this.\u0275prov=u.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}))}return I(),x})();const P=(0,l.phd)(()=>{(0,u.WQX)(N)})},96178(ye,A,n){n.d(A,{d:()=>E});
430var u=n(17988),l=n(47606),h=n(45873),c=n(48065),T=n(95840),o=n(57552),D=n(87615),g=n(48282),C=n(93612);const v=["xs","sm","md","lg"];let E=(()=>{var M;class N{constructor(){this.isMobileView=(0,h.EW)(()=>["xs","sm"].includes(this.currentBreakpoint())),this.isDesktopView=(0,h.EW)(()=>!this.isMobileView()),this.isMobileView$=this.convertToObservable(this.isMobileView),this.isDesktopView$=this.convertToObservable(this.isDesktopView),this.win=(0,u.WQX)(C.$).nativeWindow,this.zone=(0,u.WQX)(l.SKi),this.isBrowser=(0,u.WQX)(g.f).isBrowser,this.browserService=(0,u.WQX)(o.I),this.internalCurrentBreakpoint=(0,u.vPA)(v.find(I=>this.isWithinBounds(I))),this.currentBreakpoint=this.internalCurrentBreakpoint.asReadonly(),this.breakpointChange$=this.convertToObservable(this.currentBreakpoint),this.isBrowser&&this.win.matchMedia&&this.zone.runOutsideAngular(()=>{this.listenToBreakpoints()})}isWithinMinBound(I,x=this.getWinWidth()){const{min:j}=D.RI.getBreakpoint(I);return!j||x>=j}isWithinMaxBound(I,x=this.getWinWidth()){const{max:j}=D.RI.getBreakpoint(I);return!j||x<=j}isWithinBounds(I){return this.isWithinBreakpoints(I,I)}isWithinBreakpoints(I,x){const j=this.getWinWidth(),w=this.isWithinMinBound(I,j),H=this.isWithinMaxBound(x,j);return w&&H}getBreakpoint(){return this.currentBreakpoint()}getWinWidth(){return this.isBrowser?this.browserService.isIos?this.win.document.documentElement.clientWidth:this.win.innerWidth:this.browserService.isMobile?D.RI.getBreakpoint(D.EA.XS).max:D.RI.getBreakpoint(D.EA.MD).min}listenToBreakpoints(){v.forEach(I=>{this.win.matchMedia(D.RI.getMediaQuery(I)).addEventListener("change",x=>{x.matches&&this.zone.run(()=>{this.internalCurrentBreakpoint.set(I)})})})}convertToObservable(I){return(0,c.br)(I).pipe((0,T.t)({refCount:!0,bufferSize:1}))}static#e=M=()=>(this.\u0275fac=function(x){return new(x||N)},this.\u0275prov=u.jDH({token:N,factory:N.\u0275fac,providedIn:"root"}))}return M(),N})()},57552(ye,A,n){n.d(A,{I:()=>o});var u=n(96623),l=n(17988),h=n(40420),c=n(48282),T=n(93612);let o=(()=>{var D;class g{constructor(){this.win=(0,l.WQX)(T.$).nativeWindow,this.isServer=(0,l.WQX)(c.f).isServer,this.navigator=this.win.navigator||{},this.userAgent=this.getUserAgent(),this.platform=this.getPlatform(),this.applyBrowserClasses()}get isEdge(){return this.userAgent.includes("Edge/")}get isFirefox(){return this.userAgent.includes("Firefox/")}get isSafari(){return"string"==typeof this.navigator.vendor&&this.navigator.vendor.startsWith("Apple")&&/\sSafari\//.test(this.userAgent)}get isIos(){return/iPad|iPhone|iPod/.test(this.platform||this.userAgent)||this.userAgent.includes("Mac")&&"ontouchend"in document}get isAndroid(){return this.userAgent.includes("Android")}get isWindows(){return this.userAgent.includes("Windows")||this.platform.includes("Win32")}get isWindows7(){return this.userAgent.includes("Windows NT 6.1")}get isWindows10(){return this.userAgent.includes("Windows NT 10.0")}get isMac(){return this.platform.includes("Mac")}get isMobile(){return!this.isServer&&(this.isIos||this.isAndroid)}static getGetters(){return["isEdge","isFirefox","isSafari","isIos","isAndroid","isWindows","isWindows7","isWindows10","isMac","isMobile"]}getUserAgent(){return this.navigator.userAgent||(0,l.WQX)(u.S36)?.headers.get("user-agent")||""}getPlatform(){return this.navigator.platform||""}applyBrowserClasses(){const v=this.win.document?.documentElement;if(!this.isServer&&v){const E=g.getGetters().filter(M=>this[M]).map(M=>(0,h.D2)(M));v.classList.add(...E)}}static#e=D=()=>(this.\u0275fac=function(E){return new(E||g)},this.\u0275prov=l.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}))}return D(),g})()},99728(ye,A,n){n.d(A,{o:()=>w});var u=n(17988),l=n(64517),h=n(95536),c=n(90523),T=n(61856),o=n(24406),D=n(95840),g=n(21082),C=n(47744),v=n(77941),E=n(48282),M=n(93612);const N="analytics_tracking_consent",P={maxAge:C.b},j="#DidomiPopup";let w=(()=>{var H;class ae{constructor(){this.ready$=this.getReady$(),this.cookie=(0,u.WQX)(C.O),this.hashTrigger=(0,u.WQX)(v.G9),this.win=(0,u.WQX)(M.$).nativeWindow,this.isBrowser=(0,u.WQX)(E.f).isBrowser,this.consentChange$=new h.t(this.consent),this.createConsentWatcher(),this.listenToHashTrigger()}get consent(){return this.isBrowser?this.cookie.get(N):null}get update$(){return this.consentChange$.asObservable()}get isGdprEnabled(){return!!this.win.Didomi?.isRegulationApplied("gdpr")}get isPreferencesDialogVisible(){return!!this.win.Didomi?.notice?.isVisible()}getReady$(){return(0,u.WQX)(E.f).isBrowser?new l.c(J=>{(this.win.didomiOnReady||=[]).push(re=>{J.next(re),J.complete()})}).pipe((0,D.t)(1)):c.w}listenToHashTrigger(){this.ready$.pipe((0,g.n)(J=>(this.hashTrigger.registerHash(j),this.hashTrigger.hashChange$.pipe((0,T.p)(Y=>Y===j),(0,o.T)(()=>J))))).subscribe(J=>J.preferences.show())}createConsentWatcher(){this.ready$.subscribe(J=>{if(this.isGdprEnabled){const re=J.getRequiredVendorIds().find(pe=>pe.toString().startsWith("c:googleana")).replace("c:",""),ce=J.getCurrentUserStatus().vendors[re];this.setConsent(ce.enabled),J.addVendorStatusListener(re,pe=>{this.setConsent(pe.enabled)})}})}setConsent(J){this.consentChange$.next(J),this.cookie.set(N,J,P)}static#e=H=()=>(this.\u0275fac=function(Y){return new(Y||ae)},this.\u0275prov=u.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"}))}return H(),ae})()},47744(ye,A,n){n.d(A,{O:()=>v,b:()=>o});var u=n(96623),l=n(17988),h=n(86493),c=n(40420),T=n(48282);const o=31536e3;let v=(()=>{var E;class M{constructor(){this.request=(0,l.WQX)(u.S36),this.response=(0,l.WQX)(u.HP_),this.document=(0,l.WQX)(l.qQL),this.isServer=(0,l.WQX)(T.f).isServer}getAll(){const P=this.getCookieHeader();return P!==this.rawValue&&(this.parsed=function D(E){return(E||"").split(";").reduce((M,N)=>{if(N){try{N=decodeURIComponent(N)}catch{}const[P,I]=N.split("=");return{...M,[P.trim()]:(0,c.rI)((I||"").trim())}}return M},{})}(P),this.rawValue=P),this.parsed??{}}get(P){return this.getAll()[P]}set(P,I,x){const j={path:"/",...x};this.setCookieHeader(`${P}=${encodeURIComponent(function g(E){return"object"==typeof E?JSON.stringify(E):E}(I))};${function C(E){const{maxAge:M,...N}=(0,h.Dz)(E),P={...N,...M>=0?{"max-age":M}:null};return Object.keys(P).reduce((x,j)=>`${x} ${(x=>!0===P[x]?x:`${x}=${P[x]}`)(j)};`,"")}(j)}`),this.rawValue=null}delete(P,I="/"){this.set(P,"",{maxAge:0,path:I})}getCookieHeader(){return this.isServer?this.request?.headers.get("cookie"):this.document.cookie}setCookieHeader(P){this.isServer?this.response?.headers.append("Set-Cookie",P):this.document.cookie=P}static#e=E=()=>(this.\u0275fac=function(I){return new(I||M)},this.\u0275prov=l.jDH({token:M,factory:M.\u0275fac,providedIn:"root"}))}return E(),M})()},28798(ye,A,n){n.d(A,{o:()=>T});var u=n(47606);let T=(()=>{var o;class D{constructor(){this.scaleIn=!1}get isVisible(){return this.shrdUtcCountIndicator>0}get isPrimary(){return this.isVisible&&"primary"===this.indicatorVariant}get counter(){const C=this.shrdUtcCountIndicator||null;return C>999?"99+":C}get isVerticalAlign(){return this.shrdUtcCountIndicatorVertAlign}get isInline(){return this.shrdUtcCountIndicatorInline}static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)},this.\u0275dir=u.FsC({type:D,selectors:[["","shrdUtcCountIndicator",""]],hostVars:11,hostBindings:function(v,E){2&v&&(u.BMQ("data-count-indicator",E.counter),u.AVh("indicator-scale-in",E.scaleIn)("icon-count-indicator",E.isVisible)("primary",E.isPrimary)("icon-count-indicator-vertical-align",
430E.isVerticalAlign)("icon-count-indicator-inline",E.isInline))},inputs:{shrdUtcCountIndicator:"shrdUtcCountIndicator",shrdUtcCountIndicatorVertAlign:"shrdUtcCountIndicatorVertAlign",shrdUtcCountIndicatorInline:"shrdUtcCountIndicatorInline",indicatorVariant:"indicatorVariant",scaleIn:"scaleIn"}}))}return o(),D})()},2329(ye,A,n){n.d(A,{B:()=>u,r:()=>l});var u=function(h){return h.GREGORIAN="gregorian",h.BUDDHIST="buddhist",h.THAI="thai",h}(u||{}),l=function(h){return h[h.FullYear=0]="FullYear",h[h.Month=1]="Month",h[h.Date=2]="Date",h[h.Hours=3]="Hours",h[h.Minutes=4]="Minutes",h[h.Seconds=5]="Seconds",h[h.FractionalSeconds=6]="FractionalSeconds",h[h.Day=7]="Day",h}(l||{})},14891(ye,A,n){n.d(A,{Sn:()=>w,Vj:()=>M,ay:()=>ce,ot:()=>P,qZ:()=>N,sG:()=>v,uP:()=>S,us:()=>ae,v1:()=>C,xb:()=>H,zn:()=>j});var u=n(59490),l=n(2329);const h=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,c=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,T={};function C(Re,Qe){if(Re&&Qe){const Ze="yyyy",Ye=(Qe=Qe.toLowerCase()).includes("mm")?"mm":"m",Ue=Qe.includes("dd")?"dd":"d",ne=Qe.split(/[^ymd]+/),X=Qe.match(/[^ymd]+/g),q=new RegExp(`[${X.join("")}]+`),Te=Re.split(q),je=Number.parseInt(Te[ne.indexOf(Ze)],10),Fe=Number.parseInt(Te[ne.indexOf(Ye)],10)-1,we=Number.parseInt(Te[ne.indexOf(Ue)],10);return new Date(je,Fe,we)}return new Date}function v(Re){return new Intl.DateTimeFormat(Re).resolvedOptions().calendar}function E(Re,Qe){const Ze=new Date(Re);return Ze.setFullYear(Re.getFullYear()+Qe),Ze}function M(Re,Qe){switch(v(Qe)){case l.B.BUDDHIST:case l.B.THAI:return E(Re,543);default:return Re}}function N(Re,Qe){switch(v(Qe)){case l.B.BUDDHIST:case l.B.THAI:return E(Re,-543);default:return Re}}function P(Re,Qe){return"GMT"===Qe||Qe?.match(/^(UTC|GMT)?[+|-]\d{2}:?\d{2}$/)?Qe:new Date(Re).toLocaleString("en",{timeZone:Qe,timeZoneName:"short"}).split(" ").at(-1)}function j(Re,Qe,Ze,Ye=!1){const Ue=Ze?-1:1,ne=Ye?0:Re.getTimezoneOffset(),X=function I(Re,Qe){Re=Re.replaceAll(":","");const Ze=Date.parse("Jan 01, 1970 00:00:00 "+Re)/6e4;return Number.isNaN(Ze)?Qe:Ze}(Qe,ne);return function x(Re,Qe){return(Re=new Date(Re)).setMinutes(Re.getMinutes()+Qe),Re}(Re,Ue*(X-ne))}function w(Re){let Ze,Qe=[];for(;Re;){if(Ze=c.exec(Re),!Ze){Qe.push(Re);break}{Qe=Qe.concat(Ze.slice(1));const Ye=Qe.pop();if(!Ye)break;Re=Ye}}return Qe}function H(Re,Qe){const Ze=function De(Re){if(T[Re])return T[Re];let Qe;switch(Re){case"y":Qe=z(l.r.FullYear,1,0,!1,!0);break;case"yy":Qe=z(l.r.FullYear,2,0,!0,!0);break;case"yyy":Qe=z(l.r.FullYear,3,0,!1,!0);break;case"yyyy":Qe=z(l.r.FullYear,4,0,!1,!0);break;case"M":case"L":Qe=z(l.r.Month,1,1);break;case"MM":case"LL":Qe=z(l.r.Month,2,1);break;case"w":Qe=ke(1);break;case"ww":Qe=ke(2);break;case"W":Qe=ke(1,!0);break;case"d":Qe=z(l.r.Date,1);break;case"dd":Qe=z(l.r.Date,2);break;case"h":Qe=z(l.r.Hours,1,-12);break;case"hh":Qe=z(l.r.Hours,2,-12);break;case"H":Qe=z(l.r.Hours,1);break;case"HH":Qe=z(l.r.Hours,2);break;case"m":Qe=z(l.r.Minutes,1);break;case"mm":Qe=z(l.r.Minutes,2);break;case"s":Qe=z(l.r.Seconds,1);break;case"ss":Qe=z(l.r.Seconds,2);break;case"S":Qe=z(l.r.FractionalSeconds,1);break;case"SS":Qe=z(l.r.FractionalSeconds,2);break;case"SSS":Qe=z(l.r.FractionalSeconds,3);break;default:return null}return T[Re]=Qe,Qe}(Re);return Ze?Ze(Qe):"''"===Re?"'":Re.replaceAll(/(^'|'$)/g,"").replaceAll("''","'")}function ae(Re,Qe){return`${Re=Re instanceof Date?ce(Re,!1).toISOString():Re} ${P(Re,Qe)}`}function S(Re,Qe,Ze,Ye){return Re.toLocaleTimeString(Qe,{timeStyle:"short"})+(Ze?" "+P(Re,Ye?void 0:Ze):"")}function J(Re,Qe,Ze="-",Ye=!1,Ue=!1){let ne="";(Re<0||Ue&&Re<=0)&&(Ue?Re=1-Re:(Re=-Re,ne=Ze));let X=String(Re);for(;X.length<Qe;)X="0"+X;return Ye&&(X=X.substring(X.length-Qe)),ne+X}function ce(Re,Qe=!1){if((0,u.$P)(Re))return Re;if((0,u.Et)(Re)&&!Number.isNaN(Re))return new Date(Re);if((0,u.Kg)(Re)){Re=Re.trim();const Ye=Number.parseFloat(Re);if(!Number.isNaN(Number(Re)-Ye))return new Date(Ye);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(Re)){const[ne,X,q]=Re.split("-").map(Te=>+Te);return new Date(ne,X-1,q)}if(/^(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})$/.test(Re)){const ne=Re.split(" "),[X,q,Te]=ne[0].split("-").map(Be=>+Be),[je,Fe,we]=ne[1].split(":").map(Be=>+Be);return new Date(X,q-1,Te,je,Fe,we)}const Ue=Re.match(h);if(Ue)return function G(Re,Qe=!1){const Ze=new Date(0);let Ye=0,Ue=0;const ne=Re[8]&&Qe?Ze.setUTCFullYear:Ze.setFullYear,X=Re[8]&&Qe?Ze.setUTCHours:Ze.setHours;Re[9]&&Qe&&(Ye=Number(Re[9]+Re[10]),Ue=Number(Re[9]+Re[11])),ne.call(Ze,Number(Re[1]),Number(Re[2])-1,Number(Re[3]));const q=Number(Re[4]||0)-Ye,Te=Number(Re[5]||0)-Ue,je=Number(Re[6]||0),Fe=Math.round(1e3*Number.parseFloat("0."+(Re[7]||0)));return X.call(Ze,q,Te,je,Fe),Ze}(Ue,Qe)}const Ze=new Date(Re);
430if(!(0,u.$P)(Ze))throw new Error(`Unable to convert "${Re}" into a date`);return Ze}function z(Re,Qe,Ze=0,Ye=!1,Ue=!1){return ne=>{let X=function pe(Re,Qe){switch(Re){case l.r.FullYear:return Qe.getFullYear();case l.r.Month:return Qe.getMonth();case l.r.Date:return Qe.getDate();case l.r.Hours:return Qe.getHours();case l.r.Minutes:return Qe.getMinutes();case l.r.Seconds:return Qe.getSeconds();case l.r.FractionalSeconds:return Qe.getMilliseconds();case l.r.Day:return Qe.getDay();default:throw new Error(`Unknown DateType value "${Re}".`)}}(Re,ne);if((Ze>0||X>-Ze)&&(X+=Ze),Re===l.r.Hours)0===X&&-12===Ze&&(X=12);else if(Re===l.r.FractionalSeconds)return function it(Re,Qe){return J(Re,3).substring(0,Qe)}(X,Qe);return J(X,Qe,"-",Ye,Ue)}}function ke(Re,Qe=!1){return Ze=>{let Ye;if(Qe){const Ue=new Date(Ze.getFullYear(),Ze.getMonth(),1).getDay()-1,ne=Ze.getDate();Ye=1+Math.floor((ne+Ue)/7)}else{const Ue=function Y(Re){const Qe=new Date(Re,0,1).getDay();return new Date(Re,0,1+(Qe<=4?4:11)-Qe)}(Ze.getFullYear()),X=function re(Re){return new Date(Re.getFullYear(),Re.getMonth(),Re.getDate()+(4-Re.getDay()))}(Ze).getTime()-Ue.getTime();Ye=1+Math.round(X/6048e5)}return J(Ye,Re)}}},14753(ye,A,n){n.d(A,{xx:()=>c});var u=n(68661),l=n(17988),h=n(47606);let c=(()=>{var T;class o{static#e=T=()=>(this.\u0275fac=function(C){return new(C||o)},this.\u0275mod=h.$C({type:o}),this.\u0275inj=l.G2t({providers:[u.N]}))}return T(),o})()},68661(ye,A,n){n.d(A,{N:()=>o});var u=n(17988),l=n(10432),h=n(59490),c=n(14891),T=n(47606);let o=(()=>{var D;class g{constructor(){this.envService=(0,u.WQX)(l.v),this.format=this.envService.dateFormat,this.locale=this.envService.languageTag}transform(v,E){if(null==v||""===v)return null;const M=this.prepareTransformOptions(v,E||{});return this.formatDate(v,M)}prepareTransformOptions(v,E){if((0,h.Kg)(E))return{format:E};const{format:M,toLocaleDate:N,includeTimezone:P,timezone:I,fromTimezone:x,addTime:j,timezoneSuffix:w}=E;return{format:(0,h.Kg)(M)?M:this.format,toLocaleDate:this.locale&&N,timezone:I?(0,c.ot)(v,I):"",includeTimezone:P,fromTimezone:x,addTime:j,timezoneSuffix:w}}formatDate(v,{format:E,timezone:M="",fromTimezone:N="",toLocaleDate:P=!1,includeTimezone:I=!1,addTime:x=!1,timezoneSuffix:j=""}){N&&(v=(0,c.us)(v,N),I=!0);let w=P?(0,c.Vj)((0,c.ay)(v,I),this.locale):(0,c.ay)(v,I);M&&(w=(0,c.zn)(w,M,!0,(0,h.Kg)(v)&&v.endsWith("Z")));const H=(0,c.Sn)(E).map(J=>(0,c.xb)(J,w)).join("");return H+(H&&x?" ":"")+(x?(0,c.uP)(w,this.locale,j,P):"")}static#e=D=()=>(this.\u0275fac=function(E){return new(E||g)},this.\u0275pipe=T.EJ8({name:"numericDateFormat",type:g,pure:!0}))}return D(),g})()},31346(ye,A,n){n.d(A,{$b:()=>D,T6:()=>T,lr:()=>o});var u=n(17988),l=n(14891),h=n(68661),c=n(10432);const T=new u.nKC("shrd.uic.DatepickerAdapter"),o="yyyy-MM-dd";let D=(()=>{var g;class C{constructor(){this.dateFormat=o,this.dateFormatPipe=(0,u.WQX)(h.N),this.locale=(0,u.WQX)(c.v).languageTag}set format(E){E&&(this.dateFormat=E)}get format(){return this.dateFormat}fromModel(E){if(E){const M=(0,l.Vj)((0,l.v1)(E,this.dateFormat),this.locale);return{day:M.getDate(),month:M.getMonth()+1,year:M.getFullYear()}}return null}toModel(E){return E?this.dateFormatPipe.transform((0,l.qZ)(new Date(E.year,E.month-1,E.day),this.locale),this.dateFormat):null}static#e=g=()=>(this.\u0275fac=function(M){return new(M||C)},this.\u0275prov=u.jDH({token:C,factory:C.\u0275fac}))}return g(),C})()},37067(ye,A,n){n.d(A,{G:()=>o,J:()=>D});var u=n(17988),l=n(14891),h=n(68661),c=n(10432),T=n(31346);const o=new u.nKC("shrd.uic.DatepickerParserFormatter");let D=(()=>{var g;class C{constructor(){this.dateFormatPipe=(0,u.WQX)(h.N),this.dateFormat=(0,u.WQX)(c.v).dateFormat||T.lr}parse(E){if(E){const M=(0,l.v1)(E,this.dateFormat);return{day:M.getDate(),month:M.getMonth()+1,year:M.getFullYear()}}return null}format(E){return E?this.dateFormatPipe.transform(new Date(E.year,E.month-1,E.day),this.dateFormat):""}static#e=g=()=>(this.\u0275fac=function(M){return new(M||C)},this.\u0275prov=u.jDH({token:C,factory:C.\u0275fac}))}return g(),C})()},22098(ye,A,n){n.d(A,{H7:()=>v,r5:()=>g,z4:()=>C});var u=function(E){return E[E.NORMAL=0]="NORMAL",E[E.NEGATED=1]="NEGATED",E[E.INVERTED=2]="INVERTED",E}(u||{});let l;var o=n(17988),D=n(57552),g=function(E){return E[E.NORMAL=0]="NORMAL",E[E.NEGATED=1]="NEGATED",E[E.INVERTED=2]="INVERTED",E}(g||{}),C=function(E){return E.LTR="ltr",E.RTL="rtl",E}(C||{});let v=(()=>{var E;class M{constructor(){this.browserService=(0,o.WQX)(D.I),this.directionIsRtl=!!(0,o.WQX)(o.qQL).querySelector(":root[dir=rtl]")}get direction(){return this.isRtl?C.RTL:C.LTR}get isRtl(){return this.directionIsRtl}get isLtr(){return!this.isRtl}get rtlScrollAxisType(){return this.browserService.isSafari&&this.browserService.isMac?g.NEGATED:function T(){if("object"!=typeof document||!document)return u.NORMAL;if(null==l){const E=document.createElement("div"),M=E.style;E.dir="rtl",M.width="1px",M.overflow="auto",M.visibility="hidden",M.pointerEvents="none",M.position="absolute";const N=document.createElement("div"),P=N.style;P.width="2px",P.height="1px",E.appendChild(N),document.body.appendChild(E),l=u.NORMAL,0===E.scrollLeft&&(E.scrollLeft=1,l=0===E.scrollLeft?u.NEGATED:u.INVERTED),E.remove()}return l}()}static#e=E=()=>(this.\u0275fac=function(I){return new(I||M)},this.\u0275prov=o.jDH({token:M,factory:M.\u0275fac,providedIn:"root"}))}return E(),M})()},10432(ye,A,n){n.d(A,{v:()=>E});var u=n(17988),l=n(47606),h=n(62777),c=n(20220),T=n(86493),o=n(48282),D=n(93612),g=n(13917);const v=(0,l.zw6)("envService.state");let E=(()=>{var M;class N{constructor(){this.win=(0,u.WQX)(D.$).nativeWindow,this.isBrowser=(0,u.WQX)(o.f).isBrowser,this.transferState=(0,u.WQX)(l.pJN),this.setupEnv((0,u.WQX)(g.M,{optional:!0}),(0,u.WQX)(g.e))}get logLevel(){return this.localEnv.server?.logLevel||this.localEnv.logLevel||h.$.ERROR}get country(){return this.localEnv.country||"US"}get hub(){return this.localEnv.hub||"W1"}get language(){return this.localEnv.language||"en"}get availableLanguages(){return this.localEnv.languages||[]}get locale(){return this.localEnv.locale||"en_US"}
430get languageTag(){return this.localEnv.languageTag||"en-US"}get languageTagLong(){return this.localEnv.languageTagLong||"en-US"}get didomiLanguage(){return this.localEnv.didomiLanguage}get registrationLanguage(){return this.localEnv.registrationLanguage||this.language}get isByDesign(){return"ByD"===this.localEnv.erp}get isS4C(){return"S4C"===this.localEnv.erp}get isS4H(){return"S4H"===this.localEnv.erp}get erp(){return this.localEnv.erp}get hostContext(){return this.localEnv.hostContext}get isProduction(){return this.localEnv.production||!1}get cloudBaseUrl(){return this.localEnv.server?.cloudBaseUrl||this.localEnv.cloudBaseUrl||""}get chatBaseUrl(){return this.localEnv.chatBaseUrl||""}get dusBaseUrl(){return this.localEnv.server?.dusBaseUrl||this.localEnv.dusBaseUrl||""}get aemEndpointUrl(){return this.localEnv.server?.aemEndpointUrl||""}get gqlEndpointUri(){return this.dusBaseUrl+this.localEnv.graphqlPath}get evoucherEndpointUrl(){return this.dusBaseUrl+this.localEnv.dusEvoucherPath}get emailAttachmentEndpointUrl(){return this.dusBaseUrl+this.localEnv.dusEmailAttachementPath}get hdmsEmailAttachmentEndpointUrl(){return this.dusBaseUrl+this.localEnv.hdmsEmailAttachementPath}get currency(){return this.localEnv.currency||{}}get currencies(){return this.localEnv.currencies||[]}set currencies(I){this.localEnv.currencies=I}get hasSelectableCurrencies(){return this.currencies.length>1&&this.localEnv.currencySelectable}get isRtl(){return!!this.localEnv.rtl}get dateFormat(){return this.localEnv.dateFormat||""}get hqTimeZone(){return this.localEnv.hqTimeZone||""}get distanceUnit(){return this.localEnv.distanceUnit||c.k7.KM}get phoneData(){return this.localEnv.phone||{}}get recaptchaV3PublicKey(){return this.localEnv.recaptchaV3PublicKey||""}get liveChatRecaptchaV3PublicKey(){return this.localEnv.liveChatRecaptchaV3PublicKey||""}get aemRecaptchaV3PublicKey(){return this.localEnv.aemRecaptchaV3PublicKey||""}get googleTagManagerId(){return this.localEnv.server?.googleTagManagerId}get serverGoogleTagManagerId(){return this.localEnv.server?.serverGoogleTagManagerId}get didomiApiKey(){return this.localEnv.server?.didomiApiKey}get kameleoonSiteId(){return this.localEnv.kameleoonSiteId}get rumConfig(){return this.localEnv.server?.rumConfig}get resourcePath(){return this.localEnv.resourcePath||""}get staticResourcePath(){return this.localEnv.staticResourcePath||""}get translationPath(){return this.localEnv.server?.translationPath||this.localEnv.translationPath||""}get customLinks(){return this.localEnv.customLinks||{}}get anonymousToken(){return this.localEnv.server?.anonymousToken||this.localEnv.anonymousToken||""}get oauthClientRedirectHost(){return this.localEnv.oauthClientRedirectHost}get liveChatDeploymentId(){return this.localEnv.liveChatDeploymentId||""}get taxCodes(){return this.localEnv.tax||{}}get buildVersion(){return"master-4302914"}get releaseVersion(){return this.localEnv.releaseVersion||""}get isProdEnv(){return!!this.localEnv.isProdEnv}get salesOrgId(){return this.localEnv.salesOrgId||""}get rapidPayConfig(){return this.localEnv.rapidPayConfig||{}}get contentfulConfig(){return this.localEnv.server?.contentfulConfig||this.localEnv.contentfulConfig||{}}get surveyConfig(){return this.localEnv.surveyConfig}get gamRequestEnabled(){return this.localEnv.gamRequestEnabled||!1}get stripePublicKey(){return this.localEnv.stripePublicKey||""}get docusignClientId(){return this.localEnv.docusignClientId||""}get stripeInvoiceId(){return this.localEnv.stripeInvoiceId||""}get identityAppUrl(){return this.localEnv.identityAppUrl||""}get prodDomain(){return`${this.localEnv.sld||"hilti"}.${this.localEnv.tld||this.country.toLowerCase()}`}setupEnv(I,x){this.localEnv=this.transferEnv({...I,...x}),this.exposeVersion()}exposeVersion(){this.win.hdmsBuildVersion=this.buildVersion,this.win.hdmsReleaseVersion=this.releaseVersion}transferEnv(I){return this.isBrowser?{...I,...this.transferState.get(v,{})}:(this.setTransferStateOnSerialize(),I)}setTransferStateOnSerialize(){this.transferState.onSerialize(v,()=>(0,T.Dz)({...this.localEnv,server:null,production:null}))}static#e=M=()=>(this.\u0275fac=function(x){return new(x||N)},this.\u0275prov=u.jDH({token:N,factory:N.\u0275fac,providedIn:"root"}))}return M(),N})()},13917(ye,A,n){n.d(A,{M:()=>h,e:()=>c});var u=n(96623),l=n(17988);const h=new l.nKC("core-util.environment"),c=new l.nKC("core-util.globalEnvironment",{providedIn:"root",factory:()=>(0,l.WQX)(u.oQz)?.rawEnv})},88016(ye,A,n){n.d(A,{IV:()=>j,KV:()=>x});var E=n(17988),M=n(61130),N=n(93003),P=n(1733);const I=({name:H,enabledReroute:ae,disabledReroute:S})=>()=>{const J=(0,E.WQX)(M.Ix),Y=(0,E.WQX)(N.I),re=(0,E.WQX)(P.T);return H&&Y.getToggleById(H)?!ae||J.createUrlTree([ae]):!(!ae&&S!==re.finalUrl())||!!S&&J.createUrlTree([S])},x=I,j=I},65545(ye,A,n){n.d(A,{Hr:()=>C,L8:()=>c,MB:()=>D,Mq:()=>h,jK:()=>T,oH:()=>v});var u=n(17988);const h=(0,n(47606).zw6)("featureToggle.state"),c="hdms-ft-hash",T=new u.nKC("util-core.featureToggleData"),o="toggles",D=`${o}/qalabel`,C=`/${o}/qalist`,v="ld_qa_lbl"},96702(ye,A,n){n.d(A,{V:()=>c});var u=n(17988),l=n(47606),h=n(93003);let c=(()=>{var T;class o{constructor(){this.templateRef=(0,u.WQX)(l.C4Q),this.viewContainer=(0,u.WQX)(l.c1b),this.ftService=(0,u.WQX)(h.I)}ngOnInit(){this.isEnabled()?this.viewContainer.createEmbeddedView(this.templateRef):this.viewContainer.clear()}isEnabled(){return this.ftService.getToggleById(this.shrdUtcFeatureToggleOn)}static#e=T=()=>(this.\u0275fac=function(C){return new(C||o)},this.\u0275dir=l.FsC({type:o,selectors:[["","shrdUtcFeatureToggleOn",""]],inputs:{shrdUtcFeatureToggleOn:"shrdUtcFeatureToggleOn"}}))}return T(),o})()},61882(ye,A,n){n.d(A,{J:()=>
430o});var u=n(17988),l=n(61151),h=n(48282),c=n(93612),T=n(65545);let o=(()=>{var D;class g{constructor(){this.isBrowser=(0,u.WQX)(h.f).isBrowser,this.win=(0,u.WQX)(c.$).nativeWindow,this.togglesChangedSubject=new l.m(1)}get togglesChanged$(){return this.togglesChangedSubject.asObservable()}updateHash(v){if(this.isBrowser&&v){const E=this.win.localStorage,M=E.getItem(T.L8);M!==v&&(E.setItem(T.L8,v),M&&this.togglesChangedSubject.next(),this.togglesChangedSubject.complete())}}static#e=D=()=>(this.\u0275fac=function(E){return new(E||g)},this.\u0275prov=u.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}))}return D(),g})()},93003(ye,A,n){n.d(A,{I:()=>j});var u=n(17988),l=n(47606),h=n(81502),c=n(81474),T=n(21676),o=n(86075),D=n(58),C=n(48282),v=n(93612),E=n(65545);function M(w){return w.replaceAll(".","-")}function N(w){return Object.keys(w||{}).filter(H=>!0===w[H])}class I{constructor(H,ae,S){this.toggles=H,this.document=ae,this.loadedEvent=null,this.togglesLoaded=!0,this.addToggleClasses(H,S)}getToggleById(H){return this.toggles[H]}getAllToggles(){return this.toggles}setToggle(H,ae){this.toggles[H]=ae}updateToggles(H){this.toggles=H,this.addToggleClasses(H)}addToggleClasses(H,ae=!0){const{classList:S}=this.document.documentElement;this.classNames&&S.remove(...this.classNames),this.classNames=N(H).map(M),ae&&S.add(...this.classNames)}}var x=n(61882);let j=(()=>{var w;class H{constructor(){this.toggleState=(0,u.WQX)(x.J),this.transferState=(0,u.WQX)(l.pJN),this.win=(0,u.WQX)(v.$).nativeWindow,this.isServer=(0,u.WQX)(C.f).isServer,this.evaluateFlagSubject=new h.B;const S=(0,u.WQX)(E.jK,{optional:!0})||{},{hash:J,toggles:Y}=this.transferToggles(S);this.featureToggleEngine=this.win.featureToggleEngine||=new I(Y,(0,u.WQX)(u.qQL),S.addClasses),this.toggleState.updateHash(J)}get evaluateFlag$(){return this.evaluateFlagSubject.pipe(function g(w,H){return(0,c.N)((ae,S)=>{const J=new Set;ae.subscribe((0,T._)(S,Y=>{const re=w?w(Y):Y;J.has(re)||(J.add(re),S.next(Y))})),H&&(0,D.Tg)(H).subscribe((0,T._)(S,()=>J.clear(),o.l))})}(({id:S})=>S))}getToggleById(S,J=!0){try{const Y=this.featureToggleEngine.getToggleById(S),re=J?!!Y:Y;return this.evaluateFlagSubject.next({id:S,val:re}),re}catch{return!1}}setToggle(S,J){this.featureToggleEngine.setToggle(S,J)}updateToggles(S){this.featureToggleEngine instanceof I&&this.featureToggleEngine.updateToggles(function P(w){return Object.fromEntries(Object.entries(w).filter(([H,ae])=>!1!==ae))}(S))}transferToggles({hash:S,toggles:J}){return this.isServer?(this.transferState.onSerialize(E.Mq,()=>({h:S,t:N(J)})),{hash:S,toggles:J}):J?{toggles:J}:this.getToggleDataFromState()}getToggleDataFromState(){const{h:S,t:J}=this.transferState.get(E.Mq,{t:[]});return{hash:S,toggles:J.reduce((Y,re)=>({...Y,[re]:!0}),{})}}static#e=w=()=>(this.\u0275fac=function(J){return new(J||H)},this.\u0275prov=u.jDH({token:H,factory:H.\u0275fac,providedIn:"root"}))}return w(),H})()},77941(ye,A,n){n.d(A,{G9:()=>P,pe:()=>N,zA:()=>M});var u=n(25293),l=n(17988),h=n(95536),c=n(11640),T=n(49046),o=n(79746),D=n(61856),g=n(24406),C=n(95603),v=n(61969),E=n(6790);const M=/^[^#]*/,N=100;let P=(()=>{var I;class x{constructor(){this.resetHashEnabled=!0,this.isResetting=!1,this.location=(0,l.WQX)(u.aZ),this.urlChangeCount=0,this.triggerHashes$=new h.t([]),this.scrollService=(0,l.WQX)(E.b),this.hashChange$=this.createHashChange$()}static getHashFromUrl(w){return w.replace(M,"")}ngOnDestroy(){this.triggerHashes$.complete()}registerHash(...w){this.triggerHashes$.next(Array.from(new Set(this.triggerHashes$.getValue().concat(w))))}unregisterHash(...w){this.triggerHashes$.next(this.triggerHashes$.getValue().filter(H=>!w.includes(H)))}checkHash(w,H){if(!this.isResetting){const ae=x.getHashFromUrl(w);return ae?H.some(S=>ae.match(`^${S}$`))&&ae:null}return""}resetHash(){this.isResetting=!0;const w=this.urlChangeCount,[H,ae]=this.location.path().split("?");this.location.replaceState(H,ae,this.location.getState()),w>1&&(this.scrollService.preventNextScroll(),this.location.back()),setTimeout(()=>this.isResetting=!1,N)}createHashChange$(){const w=(0,T.h)(H=>{this.location.onUrlChange(H)}).pipe((0,g.T)(()=>this.location.path(!0)),(0,o.F)(),(0,v.M)(H=>{this.urlChangeCount++}));return(0,c.z)([w,this.triggerHashes$]).pipe((0,g.T)(([H,ae])=>this.checkHash(H,ae)),(0,D.p)(H=>!!H),(0,v.M)(()=>this.resetHashEnabled&&this.resetHash()),(0,C.u)())}static#e=I=()=>(this.\u0275fac=function(H){return new(H||x)},this.\u0275prov=l.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}))}return I(),x})()},87615(ye,A,n){n.d(A,{AA:()=>l,EA:()=>u,RI:()=>h});var u=function(c){return c.XS="xs",c.SM="sm",c.MD="md",c.LG="lg",c}(u||{}),l=function(c){return c.MIN="min",c.MAX="max",c}(l||{});let h=(()=>{var c;
430class T{static getBreakpoint(D){return T.breakpoints[D]||{min:null,max:null}}static getMediaQuery(D,g){const C=T.getBreakpoint(D);let v="";return C.min&&g!==l.MAX&&(v+=`(min-width: ${C.min}px)`),C.max&&g!==l.MIN&&(v&&(v+=" and "),v+=`(max-width: ${C.max}px)`),v}static pxToRem(D){const g=/^(\d+(?:\.\d+)?)(px)?$/;return(D=D.toString()).match(g)&&(D=Math.round(Number.parseInt(D.replace(g,"$1"),10)/this.baseSize*1e3)/1e3+"rem"),D}static linesToRem(D){return D*T.baseLine/T.baseSize}static getJoinedClassList(...D){return D.reduce((g,C)=>{if(C){if("string"==typeof C)return[...g,C];if(C instanceof Set&&(C=Array.from(C)),Array.isArray(C))return[...g,...C.filter(Boolean)];if("object"==typeof C)return[...g,...Object.keys(C).filter(v=>C[v])]}return g},[]).join(" ")}static#e=c=()=>(this.baseSize=16,this.baseLine=11,this.breakpoints={xs:{min:0,max:767},sm:{min:768,max:1023},md:{min:1024,max:1439},lg:{min:1440}})}return c(),T})()},86493(ye,A,n){function l(x,j){if(typeof x!=typeof j)return!1;if(x===j)return!0;if(!x||!j)return x===j;if(Array.isArray(x)&&Array.isArray(j))return h(x,j,!1);if("object"==typeof x&&"object"==typeof j){const w=Object.keys(x);if(w.length===Object.keys(j).length)return w.every(H=>x[H]===j[H])}return!1}function h(x,j,w=!0){return!(!Array.isArray(x)||!Array.isArray(j)||x.length!==j.length)&&x.every(w?(H,ae)=>j[ae]===H:H=>j.includes(H))}function T(x,j){return JSON.stringify(x)===JSON.stringify(j)}function o(x){const j={};return Object.keys(x).forEach(w=>{j[x[w]]=w}),j}function D(x){return x&&0===Object.keys(x).length}function g(x){return Object.keys(x).reduce((j,w)=>{const H=x[w],ae=C(H),S=ae?g(H):H,J=ae&&D(S),Y=Array.isArray(S)&&!S.length;return null==S||""===S||J||Y?j:{...j,[w]:S}},{})}function C(x){return null!==x&&"function"!=typeof x&&!Array.isArray(x)&&"object"==typeof x}function v(x,j){return!!x&&Object.hasOwn(x,j)}function E(x,j){return j&&0!==j.length?j.filter(w=>w in x).reduce((w,H)=>(w[H]=x[H],w),{}):x}function M(x,j){return Object.assign({},...x.map(w=>({[w[j]]:w})))}function N(x,...j){return Object.fromEntries(Object.entries(x).filter(([w])=>!j.includes(w)))}function P(x,j){const w=x&&{...x};if(w)for(const H of Object.keys(j))w[H]=v(w,H)&&"object"==typeof j[H]?P(w[H],j[H]):j[H];return w}n.d(A,{Dz:()=>g,Gv:()=>C,RI:()=>D,V8:()=>h,YP:()=>v,Yl:()=>I,Zm:()=>T,bb:()=>M,cI:()=>E,cm:()=>o,lu:()=>l,uI:()=>P,xs:()=>N});const I=x=>
430{if(0===x.size)return;let j;for(const w of x)j=w;return j[1]}},773(ye,A,n){n.d(A,{B:()=>l});var u=n(11135);function l({urlAfterRedirects:h},{urlAfterRedirects:c}){return(0,u.Jf)(h)===(0,u.Jf)(c)}},98732(ye,A,n){n.d(A,{wp:()=>S,$7:()=>ae,XY:()=>w,wS:()=>H,ow:()=>J});var u=n(47606),l=n(64672),h=n(81502),c=n(58),T=n(81474),o=n(64517);const g={connector:()=>new h.B};var v=n(23584),E=n(75117),M=n(43396),N=n(56816),P=n(24406),I=n(61969),x=n(61856);function w(Y,re=l.E){return function j(Y,re,G=l.E){return function C(Y,re=g){const{connector:G}=re;return(0,T.N)((ce,pe)=>{const De=G();(0,c.Tg)(Y(function D(Y){return new o.c(re=>Y.subscribe(re))}(De))).subscribe(pe),pe.add(ce.subscribe(De))})}(ce=>(0,v.x)(ce.pipe((0,E.s)(Y)),ce.pipe((0,M.B)(re,G))))}(1,Y,re)}function H(Y){return Y.changes.pipe((0,N.Z)(Y),(0,P.T)(re=>re.toArray()))}function ae(Y){return re=>new o.c(G=>{const ce=[];let pe=!1;const De=Y.pipe((0,I.M)(ke=>pe=!ke),(0,x.p)(Boolean)).subscribe(()=>{for(;ce.length>0&&!pe;)G.next(ce.shift())}),z=re.subscribe(ke=>{pe?ce.push(ke):G.next(ke)});return()=>{De.unsubscribe(),z.unsubscribe()}})}function S(Y,re,G){return new o.c(ce=>{(0,u.mal)({[re]:()=>{ce.next(G),ce.complete()}},{injector:Y})})}function J(){return(0,x.p)(Y=>{if(Y.error)throw Y.error;return"complete"===Y.dataState})}},40420(ye,A,n){n.d(A,{Ir:()=>v,D2:()=>c,W7:()=>j,L9:()=>T,rI:()=>o,wb:()=>P,Qx:()=>g,y3:()=>C,hb:()=>M,jZ:()=>D,fg:()=>I});var u=n(56207),l=function(w){return w.BASE64="base64",w.BINARY="binary",w}(l||{}),h=n(59490);function c(w){return(w||"").replaceAll(/[a-z][A-Z]/g,H=>`${H[0]}-${H[1]}`).toLowerCase()}function T(w){return(w||"").replaceAll(/-\w?/g,H=>(H[1]||"").toUpperCase())}function o(w){try{return JSON.parse(w)}catch{return w}}function D(w){return(0,h.Kg)(w)?w.replaceAll(/<\/?([a-z]+[^>]*)>/gi,"").replaceAll('"',""):w}const g="function"==typeof Buffer?w=>Buffer.from(w,l.BASE64).toString(l.BINARY):window.atob,C="function"==typeof Buffer?w=>Buffer.from(w,l.BINARY).toString(l.BASE64):window.btoa;function v(w){return C(encodeURIComponent(w).replaceAll(/%([0-9A-F]{2})/g,(H,ae)=>String.fromCodePoint(Number.parseInt(ae,16))))}function M(w){const H=w;return ae=>ae?(ae.startsWith("+")||(ae=ae.startsWith("00")?ae.replace("00","+"):H+ae),ae.replaceAll(/[^0-9+]/g,"")):null}const P=w=>w.replace(/^0+/,"");function I(w){return x.apply(this,arguments)}function x(){return(x=(0,u.A)(function*(w){const H=globalThis.crypto?.subtle;if(!w||!H)return"";const ae=yield H.digest("SHA-256",(new TextEncoder).encode(w));return Array.from(new Uint8Array(ae)).map(S=>S.toString(16).padStart(2,"0")).join("")})).apply(this,arguments)}function j(w){const H=w?JSON.stringify(w):"",ae=new Int32Array(1);for(let S=0;S<H.length;S++)ae[0]=31*ae[0]+H.codePointAt(S);return Math.abs(ae[0]).toString()}},52959(ye,A,n){function u(c){const T=l(c)?c.changedTouches[0]:c;return{x:T.clientX,y:T.clientY}}function l(c){return window.TouchEvent&&c instanceof TouchEvent}function h(c){return"ontouchstart"in c}n.d(A,{CN:()=>h,NM:()=>u,kH:()=>l})},59490(ye,A,n){function u(T){return T}function l(T){return"string"==typeof T}function h(T){return"number"==typeof T}function c(T){return T instanceof Date&&!Number.isNaN(T.valueOf())}n.d(A,{$P:()=>c,Et:()=>h,Kg:()=>l,bM:()=>u})},11135(ye,A,n){n.d(A,{DI:()=>x,Jf:()=>h,N$:()=>I,S0:()=>ae,Wq:()=>w,_x:()=>v,fr:()=>c,j8:()=>C,k2:()=>D,kO:()=>P,t9:()=>H,tb:()=>o});var u=n(20396),l=n(86493);function h(S){return S?.replace(/[#|?].*$/,"")}function c(S){return S?.replace(/#.*$/,"")}function o(S,J){return!!S?.startsWith("http")&&!S.startsWith(J)}function D(S,J=!0,Y=new g){const re=J?(0,l.Dz)(S):S;return new u.Nl({fromObject:re,encoder:Y}).toString()}class g{encodeKey(J){return encodeURIComponent(J)}encodeValue(J){return encodeURIComponent(J)}decodeKey(J){return decodeURIComponent(J)}decodeValue(J){return decodeURIComponent(J)}}function C(S){return"reload"===E(S)}function v(S){return"back_forward"===E(S)}function E(S){return S.performance?.getEntriesByType?.("navigation")[0]?.type}function P(S){return S?.replace(/^(\/[a-z]{2})(?=[/?#]|$)\/?/,"/")}function I(S){try{return new URL(S)}catch{return new URL("https://x")}}function x(S){return!("string"!=typeof S||!S.match(/^(?!\/\/)\/.*/)&&!S.match(/^(ontrack|http(s?)):\/\/.+\.hilti\.[^.]+(\/.*)*$/))}function w(S){return S?.match(/([^.]*\.(?:com?.)?[a-zA-Z]{2,5})$/)?.[1]}function H(S){return S?.split(/[/?#]/)[1]}function ae(S){try{return decodeURI(S)}catch{return S}}},14970(ye,A,n){n.d(A,{L:()=>c,_:()=>h});var u=n(20396),l=n(62467);const h=new u.rx(()=>3e4);function c(T,o){return o(T).pipe((0,l.w)(T.context.get(h)))}},16377(ye,A,n){n.d(A,{D:()=>h,o:()=>c});var u=n(20396),l=n(24406);const h=new u.rx(()=>null);function c(T,o){const D=T.context.get(h);return D?o(T).pipe((0,l.T)(g=>g instanceof u.cS?g.clone({body:D(g.body)}):g)):o(T)}},83535(ye,A,n){n.d(A,{ap:()=>D,LL:()=>o,cN:()=>T,qb:()=>c,l0:()=>h,eD:()=>g,hz:()=>v,e7:()=>N,sI:()=>C});var u=n(20396);
430class l extends Error{constructor(I){super(),this.response=I}}const h=new u.rx(()=>null),c=new u.rx(()=>!0),T=new u.rx(()=>0),o=new u.rx(()=>null),D=new u.rx(()=>!1);function g(P){return new u.cS({body:P.body,headers:new u.Lr(P.headers),status:P.status,statusText:P.statusText,url:P.url})}function C(P,I=!1){const x={body:P.body,status:P.status,statusText:P.statusText,url:P.url||""};if(I&&x.body?.errors)throw new l(x);return x}function v({method:P,url:I,params:x,context:j},w="",H="",ae){const S=x.keys().sort((Y,re)=>Y.localeCompare(re)).map(Y=>`${Y}=${x.getAll(Y)}`).join("&"),J=`${N({url:I,context:j})}${S?"?"+S:""}${H}`;return`${"GET"===P?"G":"H"}:${w}${ae?.(J)||J}`}function N({url:P,context:I}){return I.get(h)?.(P)||P}},56480(ye,A,n){n.d(A,{V:()=>c});var u=n(17988),l=n(47606),h=n(64517);let c=(()=>{var T;class o{constructor(){this.document=(0,u.WQX)(u.qQL),this.renderer=(0,u.WQX)(l._9s).createRenderer(null,null)}loadScript$(g,{id:C,attributes:v,parent:E}={}){return new h.c(M=>{const N=this.getScriptTag(g,C);if(N)M.next(N),M.complete();else{const P=this.renderer.createElement("script");P.src=g,C&&(P.id=C),v&&v.forEach(I=>P.setAttribute(I.name,I.value)),this.renderer.appendChild(E??this.document.head,P),P.onload=()=>{M.next(P),M.complete()},P.onerror=()=>{M.error(`Script ${P.id} could not be loaded.`),this.renderer.removeChild(this.renderer.parentNode(P),P)}}})}getScriptTag(g,C){return C?this.document.getElementById(C):this.document.querySelector(`script[src="${g}"]`)}unloadScript(g){g&&this.renderer.parentNode(g)&&this.renderer.removeChild(this.renderer.parentNode(g),g)}static#e=T=()=>(this.\u0275fac=function(C){return new(C||o)},this.\u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}))}return T(),o})()},52621(ye,A,n){n.d(A,{V:()=>c});var u=n(62777),l=n(48282);function h(T){return JSON.stringify(T,(()=>{const o=new WeakSet;return(D,g)=>{if("object"==typeof g&&null!==g){if(o.has(g))return"[Circular]";o.add(g)}return g}})())}let c=(()=>{var T;class o{constructor(g){this.platformType=g}static init(g){if(this.loggerConfig)return;const C=g.logLevel;this.loggerConfig={isProduction:g.isProduction,platformType:g.platformType,logLevel:"number"==typeof C?C:u.$[C]??u.$.OFF},this.defaultLogger=new o}static get browser(){return this.instances[l.Y.BROWSER]||(this.instances[l.Y.BROWSER]=new o(l.Y.BROWSER)),this.instances[l.Y.BROWSER]}static get server(){return this.instances[l.Y.SERVER]||(this.instances[l.Y.SERVER]=new o(l.Y.SERVER)),this.instances[l.Y.SERVER]}static debug(...g){this.defaultLogger?.debug(...g)}static info(...g){this.defaultLogger?.info(...g)}static log(...g){this.defaultLogger?.log(...g)}static warn(...g){this.defaultLogger?.warn(...g)}static error(...g){this.defaultLogger?.error(...g)}static parseOutput(g){const C=g.logLevel;if(!this.canOutput(C,g.platformType))return;const E=this.processOutputParams(C,g.outputParams);this.outputToConsole(C,E)}static canOutput(g,C){return!(!this.loggerConfig||this.loggerConfig.logLevel>g)&&this.canPlatformOutput(C)}static canPlatformOutput(g){return!g||this.loggerConfig.platformType===g}static processOutputParams(g,C){return this.isProdServer()?this.formatProdServerParams(g,C):C}static isProdServer(){return this.loggerConfig.isProduction&&this.loggerConfig.platformType===l.Y.SERVER}static formatProdServerParams(g,C){return[h({message:1===C.length?C[0]:C,level:u.$[g].toLowerCase()})]}static outputToConsole(g,C){switch(g){case u.$.DEBUG:console.debug(...C);break;case u.$.INFO:console.info(...C);break;case u.$.LOG:console.log(...C);break;case u.$.WARN:console.warn(...C);break;case u.$.ERROR:console.error(...C)}}debug(...g){o.parseOutput({logLevel:u.$.DEBUG,platformType:this.platformType,outputParams:g})}info(...g){o.parseOutput({logLevel:u.$.INFO,platformType:this.platformType,outputParams:g})}log(...g){o.parseOutput({logLevel:u.$.LOG,platformType:this.platformType,outputParams:g})}warn(...g){o.parseOutput({logLevel:u.$.WARN,platformType:this.platformType,outputParams:g})}error(...g){o.parseOutput({logLevel:u.$.ERROR,platformType:this.platformType,outputParams:g})}static#e=T=()=>this.instances={}}return T(),o})()},9904(ye,A,n){n.d(A,{k:()=>h});var u=n(81502),l=n(17988);let h=(()=>{var c;class T{constructor(){this.logout=new u.B,this.switchAccount=new u.B}ngOnDestroy(){this.logout.complete(),this.switchAccount.complete()}dispatchLogout(){this.logout.next()}dispatchAccountSwitch(){this.switchAccount.next()}logout$(){return this.logout.asObservable()}switchAccount$(){return this.switchAccount.asObservable()}static#e=c=()=>(this.\u0275fac=function(g){return new(g||T)},this.\u0275prov=l.jDH({token:T,factory:T.\u0275fac,providedIn:"root"}))}return c(),T})()},13800(ye,A,n){n.d(A,{s:()=>o});var u=n(96623),l=n(17988),h=n(47606),c=n(48282),T=n(60974);let o=(()=>{var D;class g{constructor(){this.maintenanceMessageType=(0,u.hFB)("generic"),this.enabled=(0,u.hFB)(!0,{alias:"shrdUtcMaintenanceMode"}),this.removeListenerCallbacks=[],this.element=(0,l.WQX)(h.aKT).nativeElement,this.modeService=(0,l.WQX)(T.s),this.renderer=(0,l.WQX)(h.sFG),(0,l.WQX)(c.f).isBrowser&&this.modeService.isMaintenanceMode&&(this.removeListenerCallbacks=["keydown.enter","mousedown","click"].map(v=>this.attachEventListener(v)))}ngOnInit(){!1===this.enabled()?this.ngOnDestroy():this.modeService.isMaintenanceMode&&"A"===this.element.tagName&&(this.element.href="#")}ngOnDestroy(){this.removeListenerCallbacks.forEach(v=>v())}attachEventListener(v){return this.renderer.listen(this.element,v,E=>this.handleEvent(E),{capture:!0})}handleEvent(v){v.stopImmediatePropagation(),v.stopPropagation(),v.preventDefault(),this.modeService.open(this.maintenanceMessageType())}static#e=D=()=>(this.\u0275fac=function(E){return new(E||g)},this.\u0275dir=h.FsC({type:g,selectors:[["","shrdUtcMaintenanceMode",""]],inputs:{maintenanceMessageType:[1,"maintenanceMessageType"],enabled:[1,"shrdUtcMaintenanceMode","enabled"]}}))}return D(),g})()},60974(ye,A,n){n.d(A,{s:()=>T});var u=n(17988),l=n(81502),h=n(93003);let T=(()=>{var o;class D{constructor(){this.isMaintenanceMode=(0,u.WQX)(h.I).getToggleById("ldt_maintenance_mode"),this.openSub
430ject$=new l.B}get open$(){return this.openSubject$.asObservable()}open(C="generic"){return this.isMaintenanceMode&&this.openSubject$.next(C),this.isMaintenanceMode}static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)},this.\u0275prov=u.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}))}return o(),D})()},86514(ye,A,n){n.d(A,{z:()=>j});var u=n(17988),l=n(47606),h=n(11971),c=n(81502),T=n(47066),o=n(43396),D=n(79746),g=n(47744),C=n(48282),v=n(93612),N=n(40420),I=function(w){return w.TOGGLE_NATIVE_SMARTBAR="mobile-app.footer-set-visibility.v1",w.TOGGLE_NATIVE_TABS="mobile-app.navigation-tab-set-visibility.v1",w.UPDATE_SHOPPING_CART_AMOUNT="mobile-app.shopping-cart-amount.v1",w.PRODUCT_NAVIGATION="mobile-app.nav-option-selected.v1",w.MTW_UPDATE_CONFIG="mobile-to-web.updateConfiguration.v1",w.WTM_ANALYTICS_EVENT="web-to-mobile.analytics_event.v1",w.WTM_INITIALIZED="web-to-mobile.initialized.v1",w}(I||{});let j=(()=>{var w;class H{constructor(){this.appParams=this.getCookieParams(),this.win=(0,u.WQX)(v.$).nativeWindow,this.eventManager=(0,u.WQX)(h.EU),this.webViewConfig=(0,u.vPA)({}),this.toggleNativeSmartbar$=new c.B,this.toggleNativeTabs$=new c.B,this.config=this.webViewConfig.asReadonly(),this.isMobileApp&&(this.setHelperClass(),(0,u.WQX)(C.f).isBrowser&&(this.addUnloadListener(),this.addConfigurationListener(),this.subscribeToToggleNativeSmartbar(),this.subscribeToToggleNativeTabs()))}get isMobileApp(){return!!this.appParams}get isNewMobileApp(){return this.isMobileApp&&"Hilti Shop"===this.appParams.name&&this.appParams.version>="3.0.0"}init(){this.dispatchEvent(I.WTM_INITIALIZED)}showNativeSmartbar(){this.toggleNativeSmartbar$.next(!0)}hideNativeSmartbar(){this.toggleNativeSmartbar$.next(!1)}showNativeTabs(){this.toggleNativeTabs$.next(!0)}hideNativeTabs(){this.toggleNativeTabs$.next(!1)}openProductNavigation(S=""){this.dispatchEvent(I.PRODUCT_NAVIGATION,{subMenuId:S})}updateCartAmount(S,J){this.dispatchEvent(I.UPDATE_SHOPPING_CART_AMOUNT,{cartAmount:S,id:J})}trackData(S){this.dispatchEvent(I.WTM_ANALYTICS_EVENT,S)}getCookieParams(){return function P(w){"string"==typeof w&&(w=(0,N.rI)(w.replaceAll(String.raw`\"`,'"')));const{name:H,version:ae,biometric:S}=w||{};return ae&&{name:H,version:ae,biometric:S}}((0,u.WQX)(g.O).get("MobileAppParameters"))}setHelperClass(){(0,u.WQX)(l._9s).createRenderer(null,null).addClass((0,u.WQX)(u.qQL).body,"is-mobile-app")}toggleNativeSmartbar(S){this.dispatchEvent(I.TOGGLE_NATIVE_SMARTBAR,{visible:S})}toggleNativeTabs(S){this.dispatchEvent(I.TOGGLE_NATIVE_TABS,{visible:S})}dispatchEvent(S,J={}){this.isMobileApp&&this.win.MobileBridge?.dispatchEvent(S,JSON.stringify(J))}addUnloadListener(){this.eventManager.addEventListener(this.win,"unload",()=>{this.toggleNativeSmartbar(!0)})}addConfigurationListener(){(0,T.R)(this.win,I.MTW_UPDATE_CONFIG,S=>{this.webViewConfig.update(J=>({...J,...S.detail}))}).subscribe()}subscribeToToggleNativeSmartbar(){this.toggleNativeSmartbar$.pipe((0,o.B)(10),(0,D.F)()).subscribe(S=>this.toggleNativeSmartbar(S))}subscribeToToggleNativeTabs(){this.toggleNativeTabs$.subscribe(S=>this.toggleNativeTabs(S))}static#e=w=()=>(this.\u0275fac=function(J){return new(J||H)},this.\u0275prov=u.jDH({token:H,factory:H.\u0275fac,providedIn:"root"}))}return w(),H})()},14816(ye,A,n){n.d(A,{$:()=>c});var u=n(17988),l=n(13358);const h="hdms-overlay-wrapper";let c=(()=>{var T;class o{constructor(){this.document=(0,u.WQX)(u.qQL),this.createWrapper()}getWrapper(){return this.wrapper}removeWrapper(){this.wrapper.remove()}ngOnDestroy(){this.wrapper.firstChild||this.removeWrapper()}createWrapper(){for(this.wrapper=this.document.querySelector(`#${h}`),this.wrapper||(this.wrapper=this.document.createElement("div"),this.wrapper.classList.add(...l.$),this.wrapper.id=h,this.document.body.appendChild(this.wrapper));this.wrapper.firstChild;)this.wrapper.firstChild.remove()}static#e=T=()=>(this.\u0275fac=function(C){return new(C||o)},this.\u0275prov=u.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}))}return T(),o})()},88880(ye,A,n){n.d(A,{x:()=>g});var u=n(17988),l=n(79746),h=n(24406),c=n(95840),T=n(22098),o=n(10432),D=n(1733);let g=(()=>{var C;class v{constructor(){this.isCompressedPageLayout$=this.getCompressedLayout$(),this.envService=(0,u.WQX)(o.v),this.document=(0,u.WQX)(u.qQL)}init(){this.setDocumentDirection(),this.setDocumentLanguage()}setDocumentDirection(){this.document.documentElement.dir=this.envService.isRtl?T.z4.RTL:T.z4.LTR}setDocumentLanguage(){this.document.documentElement.lang=this.envService.languageTagLong}getCompressedLayout$(){const M=(0,u.WQX)(D.T);return M.addRouteDataPropToTransferState("isCompressedPageLayout"),M.routeData$.pipe((0,h.T)(N=>!!N.isCompressedPageLayout),(0,l.F)(),(0,c.t)(1))}static#e=C=()=>(this.\u0275fac=function(N){return new(N||v)},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}))}return C(),v})()},86842(ye,A,n){n.d(A,{M:()=>T});var u=n(17988),l=n(47066),h=n(24406),c=n(93612);let T=(()=>{var o;class D{constructor(){this.visibilityState$=this.getVisibilityState$(),this.persistedPageShow$=this.getPersistedPageShow$()}getVisibilityState$(){const C=(0,u.WQX)(u.qQL);return(0,l.R)(C,"visibilitychange").pipe((0,h.T)(()=>"visible"===C.visibilityState))}getPersistedPageShow$(){return(0,l.R)((0,u.WQX)(c.$).nativeWindow,"pageshow").pipe((0,h.T)(C=>C.persisted))}static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)},this.\u0275prov=u.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}))}return o(),D})()},92229(ye,A,n){n.d(A,{N:()=>c});var u=n(17988),l=n(47606),h=n(48282);let c=(()=>{var T;class o{constructor(){this.templateRef=(0,u.WQX)(l.C4Q),this.viewContainer=(0,u.WQX)(l.c1b),this.platform=(0,u.WQX)(h.f)}ngOnInit(){this.platform.isBrowser?this.viewContainer.createEmbeddedView(this.templateRef):this.viewContainer.clear()}static#e=T=()=>(this.\u0275fac=function(C){return new(C||o)},this.\u0275dir=l.FsC({type:o,selectors:[["","shrdUtcIfPlatformBrowser",""]]}))}return T(),o})()},48282(ye,A,n){n.d(A,{Y:()=>c,f:()=>T});var u=n(39191),l=n(17988),h=n(47606),c=function(o){return o.BROWSER="browser",o.SERVER="server",o}(c||{});let T=(()=>{var o;
430class D{constructor(){this.browserEnv=(0,u.UE)((0,l.WQX)(h.Agw))}get isBrowser(){return this.browserEnv}get isServer(){return!this.browserEnv}static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)},this.\u0275prov=l.jDH({token:D,factory:D.\u0275fac,providedIn:"root"}))}return o(),D})()},34616(ye,A,n){n.d(A,{M:()=>C,c:()=>g});var u=n(17988),l=n(48065),h=n(61130),c=n(95536),T=n(79746),o=n(61856),D=n(11135),g=function(v){return v.REQUEST="request",v.NAVIGATION="navigation",v.MANUAL="manual",v}(g||{});let C=(()=>{var v;class E{constructor(){this.loadingStatus=new c.t(!1),this.requestsToTrack=new Set,this.loadingProgress={[g.NAVIGATION]:!1,[g.REQUEST]:!1,[g.MANUAL]:!1},E.instance=this;const N=(0,u.WQX)(h.Ix);N.events.pipe((0,o.p)(P=>P instanceof h.Z),(0,T.F)(void 0,P=>(0,D.Jf)(P.url)),(0,o.p)(P=>P.id>1),(0,l.pQ)()).subscribe(()=>this.startLoading(g.NAVIGATION)),N.events.pipe((0,o.p)(P=>P instanceof h.wF||P instanceof h.j5||P instanceof h.L6),(0,l.pQ)()).subscribe(()=>this.stopLoading(g.NAVIGATION))}get loading(){return this.loadingStatus.value}set loading(N){N!==this.loadingStatus.value&&this.loadingStatus.next(N)}ngOnDestroy(){E.instance=null,this.loadingStatus.complete()}startLoading(N=g.MANUAL){this.loadingProgress[N]=!0,this.loading=!0}stopLoading(N=g.MANUAL){this.loadingProgress[N]=!1,!this.loadingProgress[g.NAVIGATION]&&!this.loadingProgress[g.REQUEST]&&!this.loadingProgress[g.MANUAL]&&(this.loading=!1)}registerRequest(N){N&&this.requestsToTrack.add(N)}shouldTrackRequest(N){return Array.from(this.requestsToTrack).includes(N)}static#e=v=()=>(this.\u0275fac=function(P){return new(P||E)},this.\u0275prov=u.jDH({token:E,factory:E.\u0275fac,providedIn:"root"}))}return v(),E})()},79632(ye,A,n){n.d(A,{Sk:()=>g,as:()=>E});var u=n(17988),l=n(47744),h=n(93003);const g="productrestriction";let E=(()=>{var M;class N{constructor(){this.isB2BRequest=!1,this.hasProductRestrictions=!1,this.cookieService=(0,u.WQX)(l.O),this.featureToggleService=(0,u.WQX)(h.I);const I=this.cookieService.get("punchOutSessionType");this.isActiveSession=["CXML_Session","OCI_Session","IDS_Session"].includes(I),this.isActiveSession&&(this.sessionType=I,this.isB2BRequest=!!this.cookieService.get("b2bPunchOutRequest"),this.hasProductRestrictions=this.featureToggleService.getToggleById("ldt_b2b_punchout_product_restrictions")&&!!this.cookieService.get(g))}get isIdsSession(){return"IDS_Session"===this.sessionType}get isCxmlSession(){return"CXML_Session"===this.sessionType}get isOciSession(){return"OCI_Session"===this.sessionType}get canPersonalizeContact(){return this.featureToggleService.getToggleById("ldt_cxml_punchout_contact_personalization")&&this.isCxmlSession}getCookieOptions(I={}){return this.isActiveSession?{...I,secure:!0,sameSite:"none"}:I}personalizeContext(I){const x=I;if(!this.canPersonalizeContact||"Customer"!==x?.__typename||!x.contact)return I;const{firstName:j,lastName:w}=this.getContactPersonalizationName();if(!j||!w)return I;const H={...x.contact,firstName:j,lastName:w,formatted:void 0};return{...x,contact:H}}getContactPersonalizationName(){return{firstName:this.cookieService.get("punchoutContactFirstName")?.replaceAll("+"," "),lastName:this.cookieService.get("punchoutContactLastName")?.replaceAll("+"," ")}}static#e=M=()=>(this.\u0275fac=function(x){return new(x||N)},this.\u0275prov=u.jDH({token:N,factory:N.\u0275fac,providedIn:"root"}))}return M(),N})()},72288(ye,A,n){n.d(A,{Q5:()=>j});var u=n(96623),l=n(17988),h=n(61130),c=n(47066),T=n(870),o=n(43396),D=n(61856),g=n(99473),C=n(75117),v=n(47744),E=n(11135),M=n(48282),N=n(75140),P=n(93612);const I="hdms-redirect";let j=(()=>{var w;class H{constructor(){this.win=(0,l.WQX)(P.$).nativeWindow,this.url=(0,l.WQX)(N.K),this.response=(0,l.WQX)(u.HP_),this.cookieService=(0,l.WQX)(v.O),this.platform=(0,l.WQX)(M.f),this.router=(0,l.WQX)(h.Ix),this.blockSubsequent=!1,this.cleanupRedirectCookie()}get isRedirecting(){return!!this.redirectUrl}get redirectCookie(){return this.cookieService.get(I)||{count:0}}redirectTo(S,J=!1,Y=!1,re=!1){const G=!this.blockSubsequent&&this.urlDiffers(S)&&(!J||this.canRedirect(S,!0));return G&&(this.cookieService.set(I,this.getRedirectCookieVal(S,this.redirectCookie.count+1)),this.redirectUrl=S,this.platform.isServer?(this.response.status=re?301:302,this.response.headers.set("location",S)):(this.win.addEventListener("unload",()=>{}),this.win.document.body.classList.add("pointer-events-disabled"),this.win.location.assign(S))),this.blockSubsequent||=Y,G}canRedirect(S,J=!1){const{urls:Y,count:re}=this.redirectCookie,G=S?Y?.join():Y?.[0],ce=S?this.getRedirectCookieVal(S).urls.join():this.getCurrentPath(),De=re<2||!(G===ce);return J&&!De&&this.resetRedirectState(),!this.blockSubsequent&&De}resetRedirectState(){this.cookieService.delete(I)}urlDiffers(S){return this.redirectUrl!==S}getCurrentPath(){return this.url().pathname}getRedirectCookieVal(S,J=0){return{urls:[this.getCurrentPath(),(0,E.Jf)(S)],count:J}}cleanupRedirectCookie(){if(this.platform.isBrowser&&this.redirectCookie.urls){if((0,E._x)(this.win))return void this.resetRedirectState();(0,T.h)((0,c.R)(this.win,"beforeunload"),this.router.events.pipe((0,D.p)(S=>
430S instanceof h.Z),(0,o.B)(500),(0,g.i)(1))).pipe((0,D.p)(()=>!this.isRedirecting),(0,C.s)(1)).subscribe(()=>this.resetRedirectState())}}static#e=w=()=>(this.\u0275fac=function(J){return new(J||H)},this.\u0275prov=l.jDH({token:H,factory:H.\u0275fac,providedIn:"root"}))}return w(),H})()},26093(ye,A,n){n.d(A,{k:()=>v});var u=n(17988),l=n(85396),h=n(64517),c=n(69488),T=n(39848),o=n(95603),D=n(48282),g=n(47606);let C=(()=>{var E;class M extends l.$i{static#e=E=()=>(this.\u0275fac=(()=>{let P;return function(x){return(P||(P=g.xGo(M)))(x||M)}})(),this.\u0275prov=u.jDH({token:M,factory:M.\u0275fac,providedIn:"root"}))}return E(),M})(),v=(()=>{var E;class M{constructor(){this.observers=new Map,this.resizeObserver=(0,u.WQX)(C),this.isServer=(0,u.WQX)(D.f).isServer}observe$(P){return this.isServer?c.t:this.observers.get(P)||this.createObservable(P)}createObservable(P){const I=new h.c(x=>{this.resizeObserver.observe(P,j=>{x.next(j)},"border-box")}).pipe((0,T.j)(()=>{this.resizeObserver.unobserve(P),this.observers.delete(P)}),(0,o.u)());return this.observers.set(P,I),I}static#e=E=()=>(this.\u0275fac=function(I){return new(I||M)},this.\u0275prov=u.jDH({token:M,factory:M.\u0275fac,providedIn:"root"}))}return E(),M})()},35072(ye,A,n){n.d(A,{c:()=>o});var u=n(17988),l=n(11971),h=n(81502),c=n(48282),T=n(93612);let o=(()=>{var D;class g{constructor(){this.resizeSubject=new h.B,(0,u.WQX)(c.f).isBrowser&&(0,u.WQX)(l.EU).addEventListener((0,u.WQX)(T.$).nativeWindow,"resize",v=>this.resizeSubject.next(v.target))}get onResize$(){return this.resizeSubject.asObservable()}ngOnDestroy(){this.resizeSubject.complete()}static#e=D=()=>(this.\u0275fac=function(E){return new(E||g)},this.\u0275prov=u.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}))}return D(),g})()},43648(ye,A,n){n.d(A,{e:()=>T});var u=n(17988),l=n(47606),h=n(11135),c=n(75140);let T=(()=>{var o;class D{constructor(){this.origin=(0,u.WQX)(c.K)().origin,this.element=(0,u.WQX)(l.aKT).nativeElement}ngAfterViewInit(){(0,h.tb)(this.element.getAttribute("href"),this.origin)&&(this.element.target="_blank")}static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)},this.\u0275dir=l.FsC({type:D,selectors:[["a","shrdUtcAutoTarget",""]]}))}return o(),D})()},11255(ye,A,n){n.d(A,{Gd:()=>D,sD:()=>v});var u=n(17988),l=n(48282),h=n(34616),c=n(1733),T=n(47606);let o=(()=>{var E;class M{static#e=E=()=>(this.\u0275fac=function(I){return new(I||M)},this.\u0275cmp=T.VBU({type:M,selectors:[["shrd-utc-shim"]],hostAttrs:["ngSkipHydration","true"],decls:0,vars:0,template:function(I,x){},encapsulation:2,changeDetection:0}))}return E(),M})();const D=E=>(0,u.WQX)(v).prepareRoute(E);let v=(()=>{var E;class M{constructor(){this.preloader=(0,u.WQX)(h.M),this.isServer=(0,u.WQX)(l.f).isServer,this.routerHelper=(0,u.WQX)(c.T)}prepareRoute(P){return this.isServer&&function C(E){const M=new Set(["path","pathMatch","matcher","data","canActivate"]);
430Object.keys(E).forEach(N=>{M.has(N)||delete E[N]}),E.canMatch=[D],E.canActivate&&=function g(E){return E.filter(M=>Object.hasOwn(M,"isI18nNsGuard"))}(E.canActivate),E.children=[{path:"**",component:o}]}(P),this.routerHelper.isFirstNavigation&&this.preloader.startLoading(this.isServer?h.c.MANUAL:h.c.NAVIGATION),!0}static#e=E=()=>(this.\u0275fac=function(I){return new(I||M)},this.\u0275prov=u.jDH({token:M,factory:M.\u0275fac,providedIn:"root"}))}return E(),M})()},61229(ye,A,n){n.d(A,{f:()=>o});var u=n(17988),l=n(66376),h=n(94375),c=n(1140),T=n(47606);let o=(()=>{var D;class g{constructor(){this.prefixer=(0,u.WQX)(l.of),this.prefixableRoutePattern=(0,u.WQX)(c.hM)}transform(v){return this.prefixableRoutePattern.test(v)&&!(0,h.H)(v)?this.prefixer.addLanguagePrefix(v):v}static#e=D=()=>(this.\u0275fac=function(E){return new(E||g)},this.\u0275pipe=T.EJ8({name:"langPrefix",type:g,pure:!0}))}return D(),g})()},66376(ye,A,n){n.d(A,{of:()=>o});var u=n(17988),l=n(10432),h=n(11135);let o=(()=>{var D;class g{constructor(){this.selectedLanguage=function T({availableLanguages:D=[],language:g}){return D?.length&&D[0].language!==g?g:""}((0,u.WQX)(l.v))}addLanguagePrefix(v){return function c(D,g){return g&&!new RegExp(String.raw`^\/${g}(\/|$)`).test(D)?`/${g}/${D.replaceAll(/(^\/)|(\/$)/g,"")}`:D}(v,this.selectedLanguage)}removeLanguagePrefix(v){return(0,h.kO)(v)}static#e=D=()=>(this.\u0275fac=function(E){return new(E||g)},this.\u0275prov=u.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}))}return D(),g})()},1733(ye,A,n){n.d(A,{T:()=>w});var u=n(25293),l=n(17988),h=n(47606),c=n(48065),T=n(61130),o=n(79746),D=n(61856),g=n(24406),C=n(64752),v=n(95840),E=n(56816),M=n(61969),N=n(86493),P=n(773),I=n(48282),x=n(6790);const j=(0,h.zw6)("route.data");let w=(()=>{var H;class ae{constructor(){this.router=(0,l.WQX)(T.Ix),this.scrollService=(0,l.WQX)(x.b),this.isFirstNavigation=!0,this.location=(0,l.WQX)(u.aZ),this.activatedRoute=(0,l.WQX)(T.nX),this.transferState=(0,l.WQX)(h.pJN,{optional:!0}),this.routeDataPropsToTransfer=new Set,this.urlAfterRedirects=(0,l.vPA)(void 0),this.setFinalUrl(this.location.path()||"/"),this.setTransferState(),this.subscribeToNavigationStart(),this.activatedRoute$=this.createActivatedRoute$(),this.routeData$=this.getRouteData$()}get currentUrl(){return this.router.routerState.snapshot.url}get finalUrl(){return this.urlAfterRedirects.asReadonly()}createSilentRerouteUrlTree(J,Y){return this.keepFinalUrl(),this.router.createUrlTree(J,Y)}updateUrlParams(J,Y,re="merge",G=!0){return this.scrollService.preventNextScroll(),this.router.navigate(["."],{preserveFragment:!0,queryParams:Y,queryParamsHandling:re,relativeTo:J,replaceUrl:G})}addRouteDataPropToTransferState(...J){J.forEach(Y=>this.routeDataPropsToTransfer.add(Y))}keepFinalUrl(){const J=this.router.currentNavigation?.();if(J){const Y=this.urlAfterRedirects();Y&&this.location.path()!==Y&&this.location.go(Y),J.extras.skipLocationChange=!0}}createActivatedRoute$(){return this.router.events.pipe((0,D.p)(J=>J instanceof T.wF),(0,o.F)(P.B),(0,g.T)(()=>{let J=this.activatedRoute;for(;J.firstChild;)J=J.firstChild;return J}),(0,v.t)(1))}getRouteData$(){return this.activatedRoute$.pipe((0,C.Z)(({data:J})=>J),(0,E.Z)(this.currentRouteData),(0,D.p)(Boolean),(0,M.M)(J=>this.currentRouteData=J),(0,o.F)(N.Zm),(0,v.t)(1))}subscribeToNavigationStart(){this.router.events.pipe((0,D.p)(J=>J instanceof T.Z),(0,c.pQ)()).subscribe(({url:J,id:Y})=>{this.isFirstNavigation=Y<=1,this.setFinalUrl(J)})}setTransferState(){this.transferState&&((0,l.WQX)(I.f).isBrowser?this.currentRouteData=this.transferState.get(j,null):this.transferState.onSerialize(j,()=>(0,N.cI)(this.currentRouteData||{},Array.from(this.routeDataPropsToTransfer))))}setFinalUrl(J){this.urlAfterRedirects.set(J)}static#e=H=()=>(this.\u0275fac=function(Y){return new(Y||ae)},this.\u0275prov=l.jDH({token:ae,factory:ae.\u0275fac,providedIn:"root"}))}return H(),ae})()},94375(ye,A,n){n.d(A,{H:()=>g,j:()=>C});var u=n(96623),l=n(17988),h=n(45873),c=n(73606),T=n(59490),o=n(39321),D=n(47606);const g=v=>/^(#|[a-zA-Z]+:)/.test(v);let C=(()=>{var v;class E extends c.Wk{constructor(){super(...arguments),this.shrdUtcRouterLink=(0,u.hFB)(),this.useSoftNav=(0,u.hFB)("auto"),this.linkService=(0,l.WQX)(o.J),this.unPrefixedLink=(0,h.EW)(()=>this.linkService.prefixer.removeLanguagePrefix(this.shrdUtcRouterLink().toString())),this.softNavEnabled=this.getSoftNavEnabled()}onClick(N,P,I,x,j){return!1===this.useSoftNav()||!this.softNavEnabled()||super.onClick(N,P,I,x,j)}ngOnChanges(N){if(N.shrdUtcRouterLink){let P=this.shrdUtcRouterLink();if((0,T.Kg)(P)){const I=P.startsWith("/"),x=this.unPrefixedLink(),j=I&&this.linkService.isPrefixableRoute(x),{softNavDisabled:w,prefixer:H}=this.linkService;if(w||I&&!j||g(x))return j&&(P=H.addLanguagePrefix(x)),this.reactiveHref.set(P),this.softNavEnabled.set(!1),this.ngOnDestroy();I&&(P=this.updateAbsoluteLink(x))}this.routerLink=P}super.ngOnChanges(N)}updateAbsoluteLink(N){return N=this.linkService.checkAddLangPrefix(N),this.queryParams||this.fragment?N:this.linkService.router.parseUrl(N)}getSoftNavEnabled(){return(0,h.uu)(()=>!0===this.useSoftNav()||!(0,T.Kg)(this.shrdUtcRouterLink())||this.linkService.isSpaEnabledUrl(this.unPrefixedLink()))}static#e=v=()=>(this.\u0275fac=(()=>{let N;return function(I){return(N||(N=D.xGo(E)))(I||E)}})(),this.\u0275dir=D.FsC({type:E,selectors:[["a","shrdUtcRouterLink",""],["area","shrdUtcRouterLink",""]],inputs:{routerLink:"routerLink",shrdUtcRouterLink:[1,"shrdUtcRouterLink"],useSoftNav:[1,"useSoftNav"]},features:[D.Vt3,D.OA$]}))}return v(),E})()},39321(ye,A,n){n.d(A,{J:()=>v});var u=n(25293),l=n(17988),h=n(45873),c=n(61130),T=n(10432),o=n(11135),D=n(66376),g=n(1140),
430C=n(75140);let v=(()=>{var E;class M{constructor(){this.prefixer=(0,l.WQX)(D.of),this.router=(0,l.WQX)(c.Ix),this.softNavDisabled=!(0,l.WQX)(g._q),this.currentUrl=(0,l.WQX)(C.K),this.prefixableRoutePattern=(0,l.WQX)(g.hM),this.softNavStrategy=(0,l.WQX)(g.w$),this.isSpa=!(0,l.WQX)(T.v).hostContext,this.baseHrefIsLangPrefix=(0,l.WQX)(u.kB,{optional:!0})===this.prefixer.addLanguagePrefix(""),this.currentBaseRoute=(0,h.EW)(()=>(0,o.t9)(this.currentUrl().unPrefixedPathname))}isPrefixableRoute(P){return this.prefixableRoutePattern.test(P)}isSpaEnabledUrl(P){return!P.startsWith("/")||this.currentBaseRouteMatchesWith(P)||this.isPrefixableRoute(P)&&this.checkSoftNavStrategy(P)}currentBaseRouteMatchesWith(P){return this.isSpa&&(0,o.t9)(P)===this.currentBaseRoute()}checkSoftNavStrategy(P){return this.isSpa&&this.isPrefixableRoute(this.currentUrl().unPrefixedPathname)&&this.softNavStrategy(P)}checkAddLangPrefix(P){return this.baseHrefIsLangPrefix?P:this.prefixer.addLanguagePrefix(P)}static#e=E=()=>(this.\u0275fac=function(I){return new(I||M)},this.\u0275prov=l.jDH({token:M,factory:M.\u0275fac,providedIn:"root"}))}return E(),M})()},1140(ye,A,n){n.d(A,{_q:()=>c,hM:()=>l,w$:()=>h});var u=n(17988);const l=new u.nKC("shrd.utc.langPrefixableRoutes",{factory:()=>/^\b$/}),h=new u.nKC("shrd.utc.softNavStrategy",{factory:()=>()=>!1}),c=new u.nKC("shrd.utc.autoHref",{factory:()=>!0})},75140(ye,A,n){n.d(A,{K:()=>N});
430var u=n(25293),l=n(96623),h=n(17988),c=n(48065),T=n(49046),o=n(79746),D=n(24406),g=n(56816),C=n(93612),v=n(66376);class E extends URL{constructor(I,x){super(I),this.prefixer=x,this.unPrefixedPathname=this.prefixer.removeLanguagePrefix(this.pathname)}}let M=(()=>{var P;class I{constructor(){this.location=(0,h.WQX)(u.aZ),this.win=(0,h.WQX)(C.$).nativeWindow,this.request=(0,h.WQX)(l.S36),this.prefixer=(0,h.WQX)(v.of),this.currentUrl=(0,c.ot)((0,T.h)(j=>this.location.onUrlChange(j)).pipe((0,g.Z)(null),(0,D.T)(()=>this.request?.url??this.win.location.href),(0,o.F)(),(0,D.T)(j=>new E(j,this.prefixer)),(0,c.pQ)()))}static#e=P=()=>(this.\u0275fac=function(w){return new(w||I)},this.\u0275prov=h.jDH({token:I,factory:I.\u0275fac,providedIn:"root"}))}return P(),I})();const N=new h.nKC("util.core.currentUrl",{factory:()=>(0,h.WQX)(M).currentUrl})},82665(ye,A,n){n.d(A,{w:()=>l});var u=n(87615);function l(h,c=0){const T=window.getComputedStyle?.(h.body).getPropertyValue("--hdms-page-header-height-xs")||"";return(Number.parseFloat(T)*(T.includes("rem")?u.RI.baseSize:1)||0)+(h.querySelector("main .sticky-top")?.offsetHeight||0)+c}},6790(ye,A,n){n.d(A,{b:()=>j});var u=n(17988),l=n(47606),h=n(81502),c=n(61151),T=n(47066),o=n(870),D=n(82805),g=n(5219),C=n(61856),v=n(24406),E=n(95603),M=n(75117),N=n(48282),P=n(93612),I=n(82665),x=n(99596);let j=(()=>{var w;class H{constructor(){this.win=(0,u.WQX)(P.$).nativeWindow,this.docElement=this.win.document.documentElement,this.isBrowser=(0,u.WQX)(N.f).isBrowser,this.scrollSubject=new h.B,this.pendingTargets=[],this.scroll$=this.getScroll$()}scrollTo(S,J=x.m.CENTER,Y=H.scrollDelay,re){const G=S instanceof l.aKT?S.nativeElement:S,ce=new c.m(1);return this.isBrowser&&G&&!this.pendingTargets.includes(G)?(this.pendingTargets.push(G),setTimeout(()=>{this.doScroll(G,J,ce,"boolean"==typeof re?{addStickyTop:!0}:re)},Y)):this.resolve(ce),ce.asObservable()}triggerScroll(){this.scrollSubject.next()}preventNextScroll(){const{scrollTop:S}=this.docElement;(0,D.O)(this.scroll$,(0,g.O)(250).pipe((0,v.T)(()=>null))).pipe((0,M.s)(1),(0,C.p)(J=>null!==J)).subscribe(()=>this.docElement.scrollTo(0,S))}getScroll$(){return(0,o.h)((0,T.R)(this.win,"scroll",{passive:!0}),this.scrollSubject).pipe((0,v.T)(()=>this.docElement.scrollTop),(0,E.u)())}doScroll(S,J,Y,{addStickyTop:re,topOffset:G,bottomOffset:ce}={}){const{block:pe,inline:De=null}="object"==typeof J&&null!==J?J:{block:J};re&&(G=(0,I.w)(this.win.document,G)),G&&this.setScrollOffset(S,"scrollMarginTop",G),ce&&this.setScrollOffset(S,"scrollMarginBottom",ce);const z=()=>{this.pendingTargets=this.pendingTargets.filter(ke=>ke!==S),this.resolve(Y,(G||ce)&&S)};S.scrollIntoView({behavior:"smooth",block:pe,...De?{inline:De}:{}}),pe!==x.m.START&&pe!==x.m.END?setTimeout(z,H.scrollDelay):(0,D.O)((0,T.R)(this.win.document,"scrollend",{capture:!0,passive:!0}),(0,g.O)(15*H.scrollDelay)).pipe((0,M.s)(1)).subscribe(z)}resolve(S,J){S.next(),S.complete(),J&&this.removeScrollOffset(J)}setScrollOffset(S,J,Y){S.style[J]=`${Y}px`}removeScrollOffset(S){["scrollMarginTop","scrollMarginBottom"].forEach(J=>S.style[J]="")}static#e=w=()=>(this.scrollDelay=100,this.\u0275fac=function(J){return new(J||H)},this.\u0275prov=u.jDH({token:H,factory:H.\u0275fac,providedIn:"root"}))}return w(),H})()},99596(ye,A,n){n.d(A,{m:()=>u});var u=function(l){return l.START="start",l.END="end",l.CENTER="center",l.NEAREST="nearest",l}(u||{})},94743(ye,A,n){n.d(A,{W:()=>c});var u=n(96623),l=n(17988);const c=new l.nKC("util-core.routeCache",{providedIn:"root",factory:()=>(0,l.WQX)(u.oQz)?.rawEnv.server.routeCache??{}})},26466(ye,A,n){function l(o){return((o=>!!o?.locals)(o)?o?.locals?.rawEnv?.server?.routeCache:o)??{}}function h(o){l(o).disabled=!0}function c(o){l(o).disabled=!1}n.d(A,{CV:()=>h,V3:()=>c})},1831(ye,A,n){n.d(A,{D5:()=>c,aQ:()=>D,b6:()=>o,h1:()=>T,mR:()=>h,zZ:()=>g});var u=n(17988),l=n(93612);function h(C){return void 0===C?null:JSON.stringify(C)}function c(C,v){return v?`${v}-${C}`:C}function T(C,v){return C&&v?Object.keys(C).filter(E=>E.startsWith(v)):[]}function o(C,v){return C.filter(([E,M])=>M[v]).map(([E,M])=>[E,M[v],M[2]])}const D="hdms-storage-config";let g=(()=>{var C;class v{constructor(){this.win=(0,u.WQX)(l.$).nativeWindow}getStorage(M){try{return this.win[M]}catch{return}}static#e=C=()=>(this.\u0275fac=function(N){return new(N||v)},this.\u0275prov=u.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}))}return C(),v})()},35514(ye,A,n){n.d(A,{Z:()=>l});var u=n(11167);function l(h,c,T,o){return[u.n$,{provide:u.fS,useValue:h},{provide:u.NR,useValue:c},{provide:u.J_,useValue:T},{provide:u.nh,useValue:o}]}},11167(ye,A,n){n.d(A,{J_:()=>E,nh:()=>M,NR:()=>v,fS:()=>C,n$:()=>P,eL:()=>N});var u=n(17988),l=n(40420),h=n(48282),c=n(870),T=n(61882),o=n(9904),D=n(1831);let g=(()=>{var I;class x{constructor(){this.logoutService=(0,u.WQX)(o.k),this.storageHelper=(0,u.WQX)(D.zZ),this.toggleState=(0,u.WQX)(T.J),this.localStorage=this.storageHelper.getStorage(N.LOCAL),this.sessionStorage=this.storageHelper.getStorage(N.SESSION),this.isBrowser=(0,u.WQX)(h.f).isBrowser}setConfig(w){const H=!!this.storageConfig;this.storageConfig=w,this.isBrowser&&!H&&(this.cleanUpOnLogoutOrToggleChanges(),this.cleanUpOnAccountSwitch())}cleanUpOnLogoutOrToggleChanges(){(0,c.h)(this.logoutService.logout$(),this.toggleState.togglesChanged$).subscribe(()=>this.performCleanup((0,D.b6)(this.storageConfig,0)))}cleanUpOnAccountSwitch(){this.logoutService.switchAccount$().subscribe(()=>this.performCleanup((0,D.b6)(this.storageConfig,1)))}
430performCleanup(w){w.forEach(([H,ae,S])=>this.cleanupKeys(H,ae,S&&new RegExp(S)))}cleanupKeys(w,H,ae){[this.localStorage,this.sessionStorage].filter(Boolean).forEach(S=>{let J=Array.isArray(H)?H.map(Y=>(0,D.D5)(Y,w)):(0,D.h1)(S,w);ae&&(J=J.filter(Y=>!ae.test(Y))),J.filter(Y=>Y!==D.aQ).forEach(Y=>{S.removeItem(Y)})})}static#e=I=()=>(this.\u0275fac=function(H){return new(H||x)},this.\u0275prov=u.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}))}return I(),x})();const C=new u.nKC("core-util.storage-prefix"),v=new u.nKC("core-util.storage-logout-cleanup-keys"),E=new u.nKC("core-util.storage-accountSwitch-cleanup-keys"),M=new u.nKC("core-util.storage-exceptional-keys");var N=function(I){return I.LOCAL="localStorage",I.SESSION="sessionStorage",I}(N||{});let P=(()=>{var I;class x{constructor(){this.prefix=(0,u.WQX)(C,{optional:!0}),this.storageHelper=(0,u.WQX)(D.zZ),this.storageCleanupService=(0,u.WQX)(g),(0,u.WQX)(h.f).isBrowser&&this.updateConfig()}setItem(w,H,ae=N.LOCAL,S=!1){const J=this.storageHelper.getStorage(ae);return!!J&&(J.setItem(this.getKey(w,S),(0,D.mR)(H)),!0)}getItem(w,H=N.LOCAL,ae=!1){const S=this.storageHelper.getStorage(H);return S?(0,l.rI)(S.getItem(this.getKey(w,ae))):null}removeItem(w,H=N.LOCAL,ae=!1){const S=this.storageHelper.getStorage(H);return!!S&&(S.removeItem(this.getKey(w,ae)),!0)}bulkRemove(w,H=N.LOCAL){this.storageHelper.getStorage(H)&&w.forEach(S=>this.removeItem(S,H))}bulkRemovePrefixed(w=this.prefix,H=N.LOCAL){const ae=this.storageHelper.getStorage(H);ae&&(0,D.h1)(ae,w).forEach(S=>ae.removeItem(S))}hasItem(w,H=N.LOCAL){const ae=this.storageHelper.getStorage(H);return!!ae&&null!==ae.getItem((0,D.D5)(w,this.prefix))}updateConfig(){const w=(0,u.WQX)(v,{optional:!0}),H=(0,u.WQX)(E,{optional:!0}),ae=(0,u.WQX)(M,{optional:!0}),S=this.prefix&&!(!w&&!H),J=new Map(this.getItem(D.aQ,N.LOCAL,!0));S&&J.set(this.prefix,[w,H,ae?.source]);const Y=Array.from(J);S&&this.setItem(D.aQ,Y,N.LOCAL,!0),this.storageCleanupService.setConfig(Y)}getKey(w,H){return H?w:(0,D.D5)(w,this.prefix)}static#e=I=()=>(this.\u0275fac=function(H){return new(H||x)},this.\u0275prov=u.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}))}return I(),x})()},4642(ye,A,n){n.d(A,{G:()=>P,u:()=>N});var u=n(17988),l=n(81502),h=n(47066),c=n(61856),T=n(24406),o=n(56816),D=n(61969),g=n(86493),C=n(86842),v=n(48282),E=n(11167);const M="hdms-tab-sync";let N=(()=>{var I;class x{constructor(){this.channelName=(0,u.WQX)(P),this.pageState=(0,u.WQX)(C.M),this.storage=(0,u.WQX)(E.n$),this.messageSubject=new l.B,this.storage.removeItem(M),(0,u.WQX)(v.f).isBrowser&&this.initializeChannel()}ngOnDestroy(){this.messageSubject.complete(),this.messageSubscription?.unsubscribe()}postMessage(w){this.channel?.postMessage(w),this.storage.setItem(M,{...this.getQueue(),...w})}onMessage$(...w){return this.messageSubject.pipe((0,T.T)(({data:H})=>H),(0,c.p)(H=>!w.length||w.some(ae=>(0,g.YP)(H,ae))))}getQueue(){return this.storage.getItem(M)||{}}replayQueue(){const w=this.getQueue();w&&Object.keys(w).length&&this.messageSubject.next({data:w})}initializeChannel(){this.pageState.visibilityState$.pipe((0,D.M)(w=>w&&this.replayQueue()),(0,o.Z)(!0)).subscribe(w=>{w?this.createChannel():this.closeChannel()})}createChannel(){try{this.channel=new BroadcastChannel(this.channelName),this.createMessageSubscription()}catch{}}closeChannel(){this.channel?.close(),this.channel=null}createMessageSubscription(){this.messageSubscription?.unsubscribe(),this.messageSubscription=(0,h.R)(this.channel,"message").subscribe(w=>{const H=(0,g.uI)(this.getQueue(),w.data);this.storage.setItem(M,H),this.messageSubject.next({data:H})})}static#e=I=()=>(this.\u0275fac=function(H){return new(H||x)},this.\u0275prov=u.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}))}return I(),x})();const P=new u.nKC("shrd.utc.tabSyncChannel",{factory:()=>"hilti-hdms"})},18657(ye,A,n){n.d(A,{I:()=>l,K:()=>h});var u=n(17988);const l="AUTHORIZATION",h=new u.nKC("shared.util-core.TokenStore")},57604(ye,A,n){n.d(A,{B:()=>o});var u=n(17988),l=n(13901),h=n(10432),c=n(48282),T=n(18657);let o=(()=>{var D;class g{constructor(){this.env=(0,u.WQX)(h.v),this.isBrowser=(0,u.WQX)(c.f).isBrowser,this.tokenStore=(0,u.WQX)(T.K,{optional:!0})}get ready$(){return this.isBrowser&&this.tokenStore?.ready$||(0,l.of)(null)}get bearerToken(){return this.isBrowser?this.localBearerToken:null}set bearerToken(v){this.localBearerToken=v,this.tokenStore?.setToken(v)}get hasBearerToken(){return this.tokenStore?.hasToken||!!this.bearerToken}get authToken(){const v=this.bearerToken||this.env.anonymousToken;return v&&`${this.bearerToken?"Bearer":"Basic"} ${v}`}get authTokenHeader(){return{[T.I]:this.authToken}}static#e=D=()=>(this.\u0275fac=function(E){return new(E||g)},this.\u0275prov=u.jDH({token:g,factory:g.\u0275fac,providedIn:"root"}))}return D(),g})()},70559(ye,A,n){n.d(A,{G:()=>l,p:()=>h});var u=n(17988);const l=new u.nKC("core-util.translateFn"),h=new u.nKC("core-util.translationI18nNamespace",{factory:()=>"website"})},64465(ye,A,n){n.d(A,{D8:()=>c,ZJ:()=>D,pA:()=>o});var u=n(17988),l=n(52621),h=n(70559);const c=new u.nKC("shrd-utc.validationMessages");class T{constructor(){this.generic="Validation failed: {{key}}",this.required="Please enter a value",this.requiredTrue="Please set required selection",this.minChecked="Please select at least {{requiredMinChecked}} option(s)",this.pattern="Value does not match required pattern",this.minlength="Value must be a minimum of {{requiredLength}} characters",this.maxlength="Value must be a maximum of {{requiredLength}} characters",this.password="Value does not meet all criteria."}get(C,v=null,E={}){const M=this[C];return M&&Object.keys(E).reduce((N,P)=>N.replace(`{{${P}}}`,E[P].toString()),M)}}let o=(()=>{var g;class C{constructor(){this.validationMessages=(0,u.WQX)(c,{optional:!0}),this.i18nNamespace=(0,u.WQX)(h.p,{optional:!0}),this.validationMessages??=new T}getMessage(E,M,N=null){const P=E[M];return this.validationMessages.get(M,N,P,this.i18nNamespace)||("string"==typeof P?P:this.validationMessages.get("generic",N,{key:M},this.i18nNamespace))}static#e=g=()=>(this.\u0275fac=function(M){return new(M||C)}
430,this.\u0275prov=u.jDH({token:C,factory:C.\u0275fac}))}return g(),C})();function D(g=!1){return{provide:o,useFactory:()=>{const C=(0,u.WQX)(o,{optional:!0,skipSelf:!0});return!C&&g&&l.V.warn("ValidateMessageService isn't provided for the current form.\nEnsure FormValidationDirective is imported."),C||new o}}}},26858(ye,A,n){n.d(A,{J:()=>T});var u=n(17988),l=n(45873),h=n(96178),c=n(47606);let T=(()=>{var o;class D{constructor(){this.breakpointService=(0,u.WQX)(h.d),this.warningIndicatorVisible=(0,l.EW)(()=>this.breakpointService.currentBreakpoint()&&this.breakpointService.isWithinMaxBound(this.shrdUtcWarningIndicatorBreakpointMax))}get isVisible(){return this.shrdUtcWarningIndicator&&this.warningIndicatorVisible()}get isImageVariant(){return this.shrdUtcWarningIndicator&&this.shrdUtcWarningIndicatorImageVariant}static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)},this.\u0275dir=c.FsC({type:D,selectors:[["","shrdUtcWarningIndicator",""]],hostVars:4,hostBindings:function(v,E){2&v&&c.AVh("icon-warning-indicator",E.isVisible)("icon-warning-indicator-image-variant",E.isImageVariant)},inputs:{shrdUtcWarningIndicator:"shrdUtcWarningIndicator",shrdUtcWarningIndicatorImageVariant:"shrdUtcWarningIndicatorImageVariant",shrdUtcWarningIndicatorBreakpointMax:"shrdUtcWarningIndicatorBreakpointMax"}}))}return o(),D})()},93612(ye,A,n){n.d(A,{$:()=>l});var u=n(17988);let l=(()=>{var h;class c{get nativeWindow(){return window}static#e=h=()=>(this.\u0275fac=function(D){return new(D||c)},this.\u0275prov=u.jDH({token:c,factory:c.\u0275fac,providedIn:"root"}))}return h(),c})()},95536(ye,A,n){n.d(A,{t:()=>l});var u=n(81502);class l extends u.B{constructor(c){super(),this._value=c}get value(){return this.getValue()}_subscribe(c){const T=super._subscribe(c);return!T.closed&&c.next(this._value),T}getValue(){const{hasError:c,thrownError:T,_value:o}=this;if(c)throw T;return this._throwIfClosed(),o}next(c){super.next(this._value=c)}}},64517(ye,A,n){n.d(A,{c:()=>g});var u=n(13271),l=n(68639),h=n(44770),c=n(2652),T=n(90302),o=n(78347),D=n(38806);let g=(()=>{class M{constructor(P){P&&(this._subscribe=P)}lift(P){const I=new M;return I.source=this,I.operator=P,I}subscribe(P,I,x){const j=function E(M){return M&&M instanceof u.vU||function v(M){return M&&(0,o.T)(M.next)&&(0,o.T)(M.error)&&(0,o.T)(M.complete)}(M)&&(0,l.Uv)(M)}(P)?P:new u.Ms(P,I,x);return(0,D.Y)(()=>{const{operator:w,source:H}=this;j.add(w?w.call(j,H):H?this._subscribe(j):this._trySubscribe(j))}),j}_trySubscribe(P){try{return this._subscribe(P)}catch(I){P.error(I)}}forEach(P,I){return new(I=C(I))((x,j)=>{const w=new u.Ms({next:H=>{try{P(H)}catch(ae){j(ae),w.unsubscribe()}},error:j,complete:x});this.subscribe(w)})}_subscribe(P){var I;return null===(I=this.source)||void 0===I?void 0:I.subscribe(P)}[h.s](){return this}pipe(...P){return(0,c.m)(P)(this)}toPromise(P){return new(P=C(P))((I,x)=>{let j;this.subscribe(w=>j=w,w=>x(w),()=>I(j))})}}return M.create=N=>new M(N),M})();function C(M){var N;return null!==(N=M??T.$.Promise)&&void 0!==N?N:Promise}},61151(ye,A,n){n.d(A,{m:()=>h});var u=n(81502),l=n(7221);class h extends u.B{constructor(T=1/0,o=1/0,D=l.U){super(),this._bufferSize=T,this._windowTime=o,this._timestampProvider=D,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=o===1/0,this._bufferSize=Math.max(1,T),this._windowTime=Math.max(1,o)}next(T){const{isStopped:o,_buffer:D,_infiniteTimeWindow:g,_timestampProvider:C,_windowTime:v}=this;o||(D.push(T),!g&&D.push(C.now()+v)),this._trimBuffer(),super.next(T)}_subscribe(T){this._throwIfClosed(),this._trimBuffer();const o=this._innerSubscribe(T),{_infiniteTimeWindow:D,_buffer:g}=this,C=g.slice();for(let v=0;v<C.length&&!T.closed;v+=D?1:2)T.next(C[v]);return this._checkFinalizedStatuses(T),o}_trimBuffer(){const{_bufferSize:T,_timestampProvider:o,_buffer:D,_infiniteTimeWindow:g}=this,C=(g?1:2)*T;if(T<1/0&&C<D.length&&D.splice(0,D.length-C),!g){const v=o.now();let E=0;for(let M=1;M<D.length&&D[M]<=v;M+=2)E=M;E&&D.splice(0,E+1)}}}},81502(ye,A,n){n.d(A,{B:()=>D});var u=n(64517),l=n(68639);const c=(0,n(40849).L)(C=>function(){C(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var T=n(38248),o=n(38806);let D=(()=>{class C extends u.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(E){const M=new g(this,this);return M.operator=E,M}_throwIfClosed(){if(this.closed)throw new c}next(E){(0,o.Y)(()=>
430{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const M of this.currentObservers)M.next(E)}})}error(E){(0,o.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=E;const{observers:M}=this;for(;M.length;)M.shift().error(E)}})}complete(){(0,o.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:E}=this;for(;E.length;)E.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var E;return(null===(E=this.observers)||void 0===E?void 0:E.length)>0}_trySubscribe(E){return this._throwIfClosed(),super._trySubscribe(E)}_subscribe(E){return this._throwIfClosed(),this._checkFinalizedStatuses(E),this._innerSubscribe(E)}_innerSubscribe(E){const{hasError:M,isStopped:N,observers:P}=this;return M||N?l.Kn:(this.currentObservers=null,P.push(E),new l.yU(()=>{this.currentObservers=null,(0,T.o)(P,E)}))}_checkFinalizedStatuses(E){const{hasError:M,thrownError:N,isStopped:P}=this;M?E.error(N):P&&E.complete()}asObservable(){const E=new u.c;return E.source=this,E}}return C.create=(v,E)=>new g(v,E),C})();class g extends D{constructor(v,E){super(),this.destination=v,this.source=E}next(v){var E,M;null===(M=null===(E=this.destination)||void 0===E?void 0:E.next)||void 0===M||M.call(E,v)}error(v){var E,M;null===(M=null===(E=this.destination)||void 0===E?void 0:E.error)||void 0===M||M.call(E,v)}complete(){var v,E;null===(E=null===(v=this.destination)||void 0===v?void 0:v.complete)||void 0===E||E.call(v)}_subscribe(v){var E,M;return null!==(M=null===(E=this.source)||void 0===E?void 0:E.subscribe(v))&&void 0!==M?M:l.Kn}}},13271(ye,A,n){n.d(A,{Ms:()=>x,vU:()=>M});var u=n(78347),l=n(68639),h=n(90302),c=n(38058),T=n(86075);const o=C("C",void 0,void 0);function C(S,J,Y){return{kind:S,value:J,error:Y}}var v=n(73514),E=n(38806);class M extends l.yU{constructor(J){super(),this.isStopped=!1,J?(this.destination=J,(0,l.Uv)(J)&&J.add(this)):this.destination=ae}static create(J,Y,re){return new x(J,Y,re)}next(J){this.isStopped?H(function g(S){return C("N",S,void 0)}(J),this):this._next(J)}error(J){this.isStopped?H(function D(S){return C("E",void 0,S)}(J),this):(this.isStopped=!0,this._error(J))}complete(){this.isStopped?H(o,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(J){this.destination.next(J)}_error(J){try{this.destination.error(J)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const N=Function.prototype.bind;function P(S,J){return N.call(S,J)}class I{constructor(J){this.partialObserver=J}next(J){const{partialObserver:Y}=this;if(Y.next)try{Y.next(J)}catch(re){j(re)}}error(J){const{partialObserver:Y}=this;if(Y.error)try{Y.error(J)}catch(re){j(re)}else j(J)}complete(){const{partialObserver:J}=this;if(J.complete)try{J.complete()}catch(Y){j(Y)}}}class x extends M{constructor(J,Y,re){let G;if(super(),(0,u.T)(J)||!J)G={next:J??void 0,error:Y??void 0,complete:re??void 0};else{let ce;this&&h.$.useDeprecatedNextContext?(ce=Object.create(J),ce.unsubscribe=()=>this.unsubscribe(),G={next:J.next&&P(J.next,ce),error:J.error&&P(J.error,ce),complete:J.complete&&P(J.complete,ce)}):G=J}this.destination=new I(G)}}function j(S){h.$.useDeprecatedSynchronousErrorHandling?(0,E.l)(S):(0,c.m)(S)}function H(S,J){const{onStoppedNotification:Y}=h.$;Y&&v.f.setTimeout(()=>Y(S,J))}const ae={closed:!0,next:T.l,error:function w(S){throw S},complete:T.l}},68639(ye,A,n){n.d(A,{Kn:()=>o,yU:()=>T,Uv:()=>D});var u=n(78347);const h=(0,n(40849).L)(C=>function(E){C(this),this.message=E?`${E.length} errors occurred during unsubscription:\n${E.map((M,N)=>`${N+1}) ${M.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=E});var c=n(38248);class T{constructor(v){this.initialTeardown=v,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let v;if(!this.closed){this.closed=!0;const{_parentage:E}=this;if(E)if(this._parentage=null,Array.isArray(E))for(const P of E)P.remove(this);else E.remove(this);const{initialTeardown:M}=this;if((0,u.T)(M))try{M()}catch(P){v=P instanceof h?P.errors:[P]}const{_finalizers:N}=this;if(N){this._finalizers=null;for(const P of N)try{g(P)}catch(I){v=v??[],I instanceof h?v=[...v,...I.errors]:v.push(I)}}if(v)throw new h(v)}}add(v){var E;if(v&&v!==this)if(this.closed)g(v);else{if(v instanceof T){if(v.closed||v._hasParent(this))return;v._addParent(this)}(this._finalizers=null!==(E=this._finalizers)&&void 0!==E?E:[]).push(v)}}_hasParent(v){const{_parentage:E}=this;return E===v||Array.isArray(E)&&E.includes(v)}_addParent(v){const{_parentage:E}=this;this._parentage=Array.isArray(E)?(E.push(v),E):E?[E,v]:v}_removeParent(v){const{_parentage:E}=this;E===v?this._parentage=null:Array.isArray(E)&&(0,c.o)(E,v)}remove(v){const{_finalizers:E}=this;
430E&&(0,c.o)(E,v),v instanceof T&&v._removeParent(this)}}T.EMPTY=(()=>{const C=new T;return C.closed=!0,C})();const o=T.EMPTY;function D(C){return C instanceof T||C&&"closed"in C&&(0,u.T)(C.remove)&&(0,u.T)(C.add)&&(0,u.T)(C.unsubscribe)}function g(C){(0,u.T)(C)?C():C.unsubscribe()}},90302(ye,A,n){n.d(A,{$:()=>u});const u={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},60451(ye,A,n){n.d(A,{s:()=>l});var u=n(53826);function l(h,c){const T="object"==typeof c;return new Promise((o,D)=>{let C,g=!1;h.subscribe({next:v=>{C=v,g=!0},error:D,complete:()=>{g?o(C):T?o(c.defaultValue):D(new u.G)}})})}},60381(ye,A,n){n.d(A,{G:()=>o});var u=n(64517),l=n(68639),h=n(78606),c=n(21676),T=n(81474);class o extends u.c{constructor(g,C){super(),this.source=g,this.subjectFactory=C,this._subject=null,this._refCount=0,this._connection=null,(0,T.S)(g)&&(this.lift=g.lift)}_subscribe(g){return this.getSubject().subscribe(g)}getSubject(){const g=this._subject;return(!g||g.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:g}=this;this._subject=this._connection=null,g?.unsubscribe()}connect(){let g=this._connection;if(!g){g=this._connection=new l.yU;const C=this.getSubject();g.add(this.source.subscribe((0,c._)(C,void 0,()=>{this._teardown(),C.complete()},v=>{this._teardown(),C.error(v)},()=>this._teardown()))),g.closed&&(this._connection=null,g=l.yU.EMPTY)}return g}refCount(){return(0,h.B)()(this)}}},11640(ye,A,n){n.d(A,{P:()=>E,z:()=>v});var u=n(64517),l=n(65541),h=n(73496),c=n(12337),T=n(8758),o=n(61866),D=n(63060),g=n(21676),C=n(82437);function v(...N){const P=(0,o.lI)(N),I=(0,o.ms)(N),{args:x,keys:j}=(0,l.D)(N);if(0===x.length)return(0,h.H)([],P);const w=new u.c(E(x,P,j?H=>(0,D.e)(j,H):c.D));return I?w.pipe((0,T.I)(I)):w}function E(N,P,I=c.D){return x=>{M(P,()=>{const{length:j}=N,w=new Array(j);let H=j,ae=j;for(let S=0;S<j;S++)M(P,()=>{const J=(0,h.H)(N[S],P);let Y=!1;J.subscribe((0,g._)(x,re=>{w[S]=re,Y||(Y=!0,ae--),ae||x.next(I(w.slice()))},()=>{--H||x.complete()}))},x)},x)}}function M(N,P,I){N?(0,C.N)(I,N,P):P()}},23584(ye,A,n){n.d(A,{x:()=>T});var u=n(9041),h=n(61866),c=n(73496);function T(...o){return function l(){return(0,u.U)(1)}()((0,c.H)(o,(0,h.lI)(o)))}},78210(ye,A,n){n.d(A,{v:()=>h});var u=n(64517),l=n(58);function h(c){return new u.c(T=>{(0,l.Tg)(c()).subscribe(T)})}},90523(ye,A,n){n.d(A,{w:()=>h});const h=new(n(64517).c)(o=>o.complete())},4656(ye,A,n){n.d(A,{p:()=>g});var u=n(64517),l=n(65541),h=n(58),c=n(61866),T=n(21676),o=n(8758),D=n(63060);function g(...C){const v=(0,c.ms)(C),{args:E,keys:M}=(0,l.D)(C),N=new u.c(P=>{const{length:I}=E;if(!I)return void P.complete();const x=new Array(I);let j=I,w=I;for(let H=0;H<I;H++){let ae=!1;(0,h.Tg)(E[H]).subscribe((0,T._)(P,S=>{ae||(ae=!0,w--),x[H]=S},()=>j--,void 0,()=>{(!j||!ae)&&(w||P.next(M?(0,D.e)(M,x):x),P.complete())}))}});return v?N.pipe((0,o.I)(v)):N}},73496(ye,A,n){n.d(A,{H:()=>h});var u=n(5908),l=n(58);function h(c,T){return T?(0,u.c)(c,T):(0,l.Tg)(c)}},47066(ye,A,n){n.d(A,{R:()=>v});var u=n(58),l=n(64517),h=n(64752),c=n(19085),T=n(78347),o=n(8758);const D=["addListener","removeListener"],g=["addEventListener","removeEventListener"],C=["on","off"];function v(I,x,j,w){if((0,T.T)(j)&&(w=j,j=void 0),w)return v(I,x,j).pipe((0,o.I)(w));const[H,ae]=function P(I){return(0,T.T)(I.addEventListener)&&(0,T.T)(I.removeEventListener)}(I)?g.map(S=>J=>I[S](x,J,j)):function M(I){return(0,T.T)(I.addListener)&&(0,T.T)(I.removeListener)}(I)?D.map(E(I,x)):function N(I){return(0,T.T)(I.on)&&(0,T.T)(I.off)}(I)?C.map(E(I,x)):[];if(!H&&(0,c.X)(I))return(0,h.Z)(S=>v(S,x,j))((0,u.Tg)(I));if(!H)throw new TypeError("Invalid event target");return new l.c(S=>{const J=(...Y)=>S.next(1<Y.length?Y:Y[0]);return H(J),()=>ae(J)})}function E(I,x){return j=>w=>I[j](x,w)}},49046(ye,A,n){n.d(A,{h:()=>c});var u=n(64517),l=n(78347),h=n(8758);function c(T,o,D){return D?c(T,o).pipe((0,h.I)(D)):new u.c(g=>{const C=(...E)=>g.next(1===E.length?E[0]:E),v=T(C);return(0,l.T)(o)?()=>o(C,v):void 0})}},54366(ye,A,n){n.d(A,{T:()=>l});var u=n(78210);function l(h,c,T){return(0,u.v)(()=>h()?c:T)}},58(ye,A,n){n.d(A,{Tg:()=>N});var u=n(9799),l=n(19085),h=n(182),c=n(64517),T=n(20835),o=n(10165),D=n(37603),g=n(54377),C=n(48120),v=n(78347),E=n(38058),M=n(44770);function N(S){if(S instanceof c.c)return S;if(null!=S){if((0,T.l)(S))return function P(S){return new c.c(J=>{const Y=S[M.s]();if((0,v.T)(Y.subscribe))return Y.subscribe(J);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(S);if((0,l.X)(S))return function I(S){return new c.c(J=>{for(let Y=0;Y<S.length&&!J.closed;Y++)J.next(S[Y]);J.complete()})}(S);if((0,h.y)(S))return function x(S){return new c.c(J=>{S.then(Y=>{J.closed||(J.next(Y),J.complete())},Y=>J.error(Y)).then(null,E.m)})}(S);if((0,o.T)(S))return w(S);if((0,g.x)(S))return function j(S){return new c.c(J=>{for(const Y of S)if(J.next(Y),J.closed)return;J.complete()})}(S);if((0,C.U)(S))return function H(S){return w((0,C.C)(S))}(S)}throw(0,D.L)(S)}function w(S){return new c.c(J=>{(function ae(S,J){var Y,re,G,ce;return(0,u.sH)(this,void 0,void 0,function*(){try{for(Y=(0,u.xN)(S);!(re=yield Y.next()).done;)if(J.next(re.value),J.closed)return}catch(pe){G={error:pe}}finally{try{re&&!re.done&&(ce=Y.return)&&(yield ce.call(Y))}finally{if(G)throw G.error}}J.complete()})})(S,J).catch(Y=>J.error(Y))})}},97097(ye,A,n){n.d(A,{Y:()=>h});var u=n(64672),l=n(5219);function h(c=0,T=u.E){return c<0&&(c=0),(0,l.O)(c,c,T)}},870(ye,A,n){n.d(A,{h:()=>o});var u=n(9041),l=n(58),h=n(90523),c=n(61866),T=n(73496);function o(...D){const g=(0,c.lI)(D),C=(0,c.R0)(D,1/0),v=D;
430return v.length?1===v.length?(0,l.Tg)(v[0]):(0,u.U)(C)((0,T.H)(v,g)):h.w}},69488(ye,A,n){n.d(A,{t:()=>h});var u=n(64517),l=n(86075);const h=new u.c(l.l)},13901(ye,A,n){n.d(A,{of:()=>h});var u=n(61866),l=n(73496);function h(...c){const T=(0,u.lI)(c);return(0,l.H)(c,T)}},82805(ye,A,n){n.d(A,{O:()=>T});var u=n(64517),l=n(58),h=n(12882),c=n(21676);function T(...D){return 1===(D=(0,h.K)(D)).length?(0,l.Tg)(D[0]):new u.c(function o(D){return g=>{let C=[];for(let v=0;C&&!g.closed&&v<D.length;v++)C.push((0,l.Tg)(D[v]).subscribe((0,c._)(g,E=>{if(C){for(let M=0;M<C.length;M++)M!==v&&C[M].unsubscribe();C=null}g.next(E)})))}}(D))}},32790(ye,A,n){n.d(A,{$:()=>h});var u=n(64517),l=n(78347);function h(c,T){const o=(0,l.T)(c)?c:()=>c,D=g=>g.error(o());return new u.c(T?g=>T.schedule(D,0,g):D)}},5219(ye,A,n){n.d(A,{O:()=>T});var u=n(64517),l=n(64672),h=n(72114),c=n(40623);function T(o=0,D,g=l.b){let C=-1;return null!=D&&((0,h.m)(D)?g=D:C=D),new u.c(v=>{let E=(0,c.v)(o)?+o-g.now():o;E<0&&(E=0);let M=0;return g.schedule(function(){v.closed||(v.next(M++),0<=C?this.schedule(void 0,C):v.complete())},E)})}},21676(ye,A,n){n.d(A,{_:()=>l});var u=n(13271);function l(c,T,o,D,g){return new h(c,T,o,D,g)}class h extends u.vU{constructor(T,o,D,g,C,v){super(T),this.onFinalize=C,this.shouldUnsubscribe=v,this._next=o?function(E){try{o(E)}catch(M){T.error(M)}}:super._next,this._error=g?function(E){try{g(E)}catch(M){T.error(M)}finally{this.unsubscribe()}}:super._error,this._complete=D?function(){try{D()}catch(E){T.error(E)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var T;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:o}=this;super.unsubscribe(),!o&&(null===(T=this.onFinalize)||void 0===T||T.call(this))}}}},60453(ye,A,n){n.d(A,{Z:()=>D});var u=n(64672),l=n(81474),h=n(58),c=n(21676),o=n(5219);function D(g,C=u.E){return function T(g){return(0,l.N)((C,v)=>{let E=!1,M=null,N=null,P=!1;const I=()=>{if(N?.unsubscribe(),N=null,E){E=!1;const j=M;M=null,v.next(j)}P&&v.complete()},x=()=>{N=null,P&&v.complete()};C.subscribe((0,c._)(v,j=>{E=!0,M=j,N||(0,h.Tg)(g(j)).subscribe(N=(0,c._)(v,I,x))},()=>{P=!0,(!E||!N||N.closed)&&v.complete()}))})}(()=>(0,o.O)(g,C))}},68713(ye,A,n){n.d(A,{W:()=>c});var u=n(58),l=n(21676),h=n(81474);function c(T){return(0,h.N)((o,D)=>{let v,g=null,C=!1;g=o.subscribe((0,l._)(D,void 0,void 0,E=>{v=(0,u.Tg)(T(E,c(T)(o))),g?(g.unsubscribe(),g=null,v.subscribe(D)):C=!0})),C&&(g.unsubscribe(),g=null,v.subscribe(D))})}},87256(ye,A,n){n.d(A,{v:()=>g});var u=n(11640),l=n(81474),h=n(12882),c=n(8758),T=n(2652),o=n(61866);function D(...C){const v=(0,o.ms)(C);return v?(0,T.F)(D(...C),(0,c.I)(v)):(0,l.N)((E,M)=>{(0,u.P)([E,...(0,h.K)(C)])(M)})}function g(...C){return D(...C)}},75214(ye,A,n){n.d(A,{H:()=>h});var u=n(64752),l=n(78347);function h(c,T){return(0,l.T)(T)?(0,u.Z)(c,T,1):(0,u.Z)(c,1)}},10417(ye,A,n){n.d(A,{s:()=>T});var u=n(81474),l=n(86075),h=n(21676),c=n(58);function T(o){return(0,u.N)((D,g)=>{let C=!1,v=null,E=null;const M=()=>{if(E?.unsubscribe(),E=null,C){C=!1;const N=v;v=null,g.next(N)}};D.subscribe((0,h._)(g,N=>{E?.unsubscribe(),C=!0,v=N,E=(0,h._)(g,M,l.l),(0,c.Tg)(o(N)).subscribe(E)},()=>{M(),g.complete()},void 0,()=>{v=E=null}))})}},43396(ye,A,n){n.d(A,{B:()=>c});var u=n(64672),l=n(81474),h=n(21676);function c(T,o=u.E){return(0,l.N)((D,g)=>{let C=null,v=null,E=null;const M=()=>{if(C){C.unsubscribe(),C=null;const P=v;v=null,g.next(P)}};function N(){const P=E+T,I=o.now();if(I<P)return C=this.schedule(void 0,P-I),void g.add(C);M()}D.subscribe((0,h._)(g,P=>{v=P,E=o.now(),C||(C=o.schedule(N,T),g.add(C))},()=>{M(),g.complete()},void 0,()=>{v=C=null}))})}},46257(ye,A,n){n.d(A,{U:()=>h});var u=n(81474),l=n(21676);function h(c){return(0,u.N)((T,o)=>{let D=!1;T.subscribe((0,l._)(o,g=>{D=!0,o.next(g)},()=>{D||o.next(c),o.complete()}))})}},61202(ye,A,n){n.d(A,{c:()=>P});var u=n(64672),l=n(23584),h=n(75117),c=n(81474),T=n(21676),o=n(86075),g=n(24406),v=n(64752),E=n(58);function M(I,x){return x?j=>(0,l.x)(x.pipe((0,h.s)(1),function D(){return(0,c.N)((I,x)=>{I.subscribe((0,T._)(x,o.l))})}()),j.pipe(M(I))):(0,v.Z)((j,w)=>(0,E.Tg)(I(j,w)).pipe((0,h.s)(1),function C(I){return(0,g.T)(()=>I)}(j)))}var N=n(5219);function P(I,x=u.E){const j=(0,N.O)(I,x);return M(()=>j)}},79746(ye,A,n){n.d(A,{F:()=>c});var u=n(12337),l=n(81474),h=n(21676);function c(o,D=u.D){return o=o??T,(0,l.N)((g,C)=>{let v,E=!0;g.subscribe((0,h._)(C,M=>{const N=D(M);(E||!o(v,N))&&(E=!1,v=N,C.next(M))}))})}function T(o,D){return o===D}},70646(ye,A,n){n.d(A,{p:()=>T});var u=n(24406),l=n(58),h=n(81474),c=n(21676);function T(o,D){return D?g=>g.pipe(T((C,v)=>(0,l.Tg)(o(C,v)).pipe((0,u.T)((E,M)=>D(C,E,v,M))))):(0,h.N)((g,C)=>{let v=0,E=null,M=!1;g.subscribe((0,c._)(C,N=>{E||(E=(0,c._)(C,void 0,()=>{E=null,M&&C.complete()}),(0,l.Tg)(o(N,v++)).subscribe(E))},()=>{M=!0,!E&&C.complete()}
430))})}},61856(ye,A,n){n.d(A,{p:()=>h});var u=n(81474),l=n(21676);function h(c,T){return(0,u.N)((o,D)=>{let g=0;o.subscribe((0,l._)(D,C=>c.call(T,C,g++)&&D.next(C)))})}},39848(ye,A,n){n.d(A,{j:()=>l});var u=n(81474);function l(h){return(0,u.N)((c,T)=>{try{c.subscribe(T)}finally{T.add(h)}})}},3782(ye,A,n){n.d(A,{$:()=>D});var u=n(53826),l=n(61856),h=n(75117),c=n(46257),T=n(41114),o=n(12337);function D(g,C){const v=arguments.length>=2;return E=>E.pipe(g?(0,l.p)((M,N)=>g(M,N,E)):o.D,(0,h.s)(1),v?(0,c.U)(C):(0,T.v)(()=>new u.G))}},24406(ye,A,n){n.d(A,{T:()=>h});var u=n(81474),l=n(21676);function h(c,T){return(0,u.N)((o,D)=>{let g=0;o.subscribe((0,l._)(D,C=>{D.next(c.call(T,C,g++))}))})}},9041(ye,A,n){n.d(A,{U:()=>h});var u=n(64752),l=n(12337);function h(c=1/0){return(0,u.Z)(l.D,c)}},64608(ye,A,n){n.d(A,{h:()=>c});var u=n(58),l=n(82437),h=n(21676);function c(T,o,D,g,C,v,E,M){const N=[];let P=0,I=0,x=!1;const j=()=>{x&&!N.length&&!P&&o.complete()},w=ae=>P<g?H(ae):N.push(ae),H=ae=>{v&&o.next(ae),P++;let S=!1;(0,u.Tg)(D(ae,I++)).subscribe((0,h._)(o,J=>{C?.(J),v?w(J):o.next(J)},()=>{S=!0},void 0,()=>{if(S)try{for(P--;N.length&&P<g;){const J=N.shift();E?(0,l.N)(o,E,()=>H(J)):H(J)}j()}catch(J){o.error(J)}}))};return T.subscribe((0,h._)(o,w,()=>{x=!0,j()})),()=>{M?.()}}},64752(ye,A,n){n.d(A,{Z:()=>o});var u=n(24406),l=n(58),h=n(81474),c=n(64608),T=n(78347);function o(D,g,C=1/0){return(0,T.T)(g)?o((v,E)=>(0,u.T)((M,N)=>g(v,M,E,N))((0,l.Tg)(D(v,E))),C):("number"==typeof g&&(C=g),(0,h.N)((v,E)=>(0,c.h)(v,E,D,C)))}},39721(ye,A,n){n.d(A,{Q:()=>c});var u=n(82437),l=n(81474),h=n(21676);function c(T,o=0){return(0,l.N)((D,g)=>{D.subscribe((0,h._)(g,C=>(0,u.N)(g,T,()=>g.next(C),o),()=>(0,u.N)(g,T,()=>g.complete(),o),C=>(0,u.N)(g,T,()=>g.error(C),o)))})}},78606(ye,A,n){n.d(A,{B:()=>h});var u=n(81474),l=n(21676);function h(){return(0,u.N)((c,T)=>{let o=null;c._refCount++;const D=(0,l._)(T,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(o=null);const g=c._connection,C=o;o=null,g&&(!C||g===C)&&g.unsubscribe(),T.unsubscribe()});c.subscribe(D),D.closed||(o=c.connect())})}},83646(ye,A,n){n.d(A,{L:()=>o});var u=n(81474),l=n(21676),h=n(12337),c=n(5219),T=n(58);function o(D=1/0){let g;g=D&&"object"==typeof D?D:{count:D};const{count:C=1/0,delay:v,resetOnSuccess:E=!1}=g;return C<=0?h.D:(0,u.N)((M,N)=>{let I,P=0;const x=()=>{let j=!1;I=M.subscribe((0,l._)(N,w=>{E&&(P=0),N.next(w)},void 0,w=>{if(P++<C){const H=()=>{I?(I.unsubscribe(),I=null,x()):j=!0};if(null!=v){const ae="number"==typeof v?(0,c.O)(v):(0,T.Tg)(v(w,P)),S=(0,l._)(N,()=>{S.unsubscribe(),H()},()=>{N.complete()});ae.subscribe(S)}else H()}else N.error(w)})),j&&(I.unsubscribe(),I=null,x())};x()})}},29221(ye,A,n){n.d(A,{S:()=>l});var u=n(21676);function l(h,c,T,o,D){return(g,C)=>{let v=T,E=c,M=0;g.subscribe((0,u._)(C,N=>{const P=M++;E=v?h(E,N,P):(v=!0,N),o&&C.next(E)},D&&(()=>{v&&C.next(E),C.complete()})))}}},95603(ye,A,n){n.d(A,{u:()=>T});var u=n(58),l=n(81502),h=n(13271),c=n(81474);function T(D={}){const{connector:g=()=>new l.B,resetOnError:C=!0,resetOnComplete:v=!0,resetOnRefCountZero:E=!0}=D;return M=>{let N,P,I,x=0,j=!1,w=!1;const H=()=>{P?.unsubscribe(),P=void 0},ae=()=>{H(),N=I=void 0,j=w=!1},S=()=>{const J=N;ae(),J?.unsubscribe()};return(0,c.N)((J,Y)=>{x++,!w&&!j&&H();const re=I=I??g();Y.add(()=>{x--,0===x&&!w&&!j&&(P=o(S,E))}),re.subscribe(Y),!N&&x>0&&(N=new h.Ms({next:G=>re.next(G),error:G=>{w=!0,H(),P=o(ae,C,G),re.error(G)},complete:()=>{j=!0,H(),P=o(ae,v),re.complete()}}),(0,u.Tg)(J).subscribe(N))})(M)}}function o(D,g,...C){if(!0===g)return void D();if(!1===g)return;const v=new h.Ms({next:()=>{v.unsubscribe(),D()}});return(0,u.Tg)(g(...C)).subscribe(v)}},95840(ye,A,n){n.d(A,{t:()=>h});var u=n(61151),l=n(95603);function h(c,T,o){let D,g=!1;return c&&"object"==typeof c?({bufferSize:D=1/0,windowTime:T=1/0,refCount:g=!1,scheduler:o}=c):D=c??1/0,(0,l.u)({connector:()=>new u.m(D,T,o),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:g})}},99473(ye,A,n){n.d(A,{i:()=>l});var u=n(61856);function l(h){return(0,u.p)((c,T)=>h<=T)}},56816(ye,A,n){n.d(A,{Z:()=>c});var u=n(23584),l=n(61866),h=n(81474);function c(...T){const o=(0,l.lI)(T);return(0,h.N)((D,g)=>{(o?(0,u.x)(T,D,o):(0,u.x)(T,D)).subscribe(g)})}},21082(ye,A,n){n.d(A,{n:()=>c});var u=n(58),l=n(81474),h=n(21676);
430function c(T,o){return(0,l.N)((D,g)=>{let C=null,v=0,E=!1;const M=()=>E&&!C&&g.complete();D.subscribe((0,h._)(g,N=>{C?.unsubscribe();let P=0;const I=v++;(0,u.Tg)(T(N,I)).subscribe(C=(0,h._)(g,x=>g.next(o?o(N,x,I,P++):x),()=>{C=null,M()}))},()=>{E=!0,M()}))})}},75117(ye,A,n){n.d(A,{s:()=>c});var u=n(90523),l=n(81474),h=n(21676);function c(T){return T<=0?()=>u.w:(0,l.N)((o,D)=>{let g=0;o.subscribe((0,h._)(D,C=>{++g<=T&&(D.next(C),T<=g&&D.complete())}))})}},68905(ye,A,n){n.d(A,{o:()=>c});var u=n(90523),l=n(81474),h=n(21676);function c(T){return T<=0?()=>u.w:(0,l.N)((o,D)=>{let g=[];o.subscribe((0,h._)(D,C=>{g.push(C),T<g.length&&g.shift()},()=>{for(const C of g)D.next(C);D.complete()},void 0,()=>{g=null}))})}},65213(ye,A,n){n.d(A,{Q:()=>T});var u=n(81474),l=n(21676),h=n(58),c=n(86075);function T(o){return(0,u.N)((D,g)=>{(0,h.Tg)(o).subscribe((0,l._)(g,()=>g.complete(),c.l)),!g.closed&&D.subscribe(g)})}},61969(ye,A,n){n.d(A,{M:()=>T});var u=n(78347),l=n(81474),h=n(21676),c=n(12337);function T(o,D,g){const C=(0,u.T)(o)||D||g?{next:o,error:D,complete:g}:o;return C?(0,l.N)((v,E)=>{var M;null===(M=C.subscribe)||void 0===M||M.call(C);let N=!0;
430v.subscribe((0,h._)(E,P=>{var I;null===(I=C.next)||void 0===I||I.call(C,P),E.next(P)},()=>{var P;N=!1,null===(P=C.complete)||void 0===P||P.call(C),E.complete()},P=>{var I;N=!1,null===(I=C.error)||void 0===I||I.call(C,P),E.error(P)},()=>{var P,I;N&&(null===(P=C.unsubscribe)||void 0===P||P.call(C)),null===(I=C.finalize)||void 0===I||I.call(C)}))}):c.D}},44085(ye,A,n){n.d(A,{c:()=>D});var u=n(64672),l=n(81474),h=n(21676),c=n(58),o=n(5219);function D(g,C=u.E,v){const E=(0,o.O)(g,C);return function T(g,C){return(0,l.N)((v,E)=>{const{leading:M=!0,trailing:N=!1}=C??{};let P=!1,I=null,x=null,j=!1;const w=()=>{x?.unsubscribe(),x=null,N&&(S(),j&&E.complete())},H=()=>{x=null,j&&E.complete()},ae=J=>x=(0,c.Tg)(g(J)).subscribe((0,h._)(E,w,H)),S=()=>{if(P){P=!1;const J=I;I=null,E.next(J),!j&&ae(J)}};v.subscribe((0,h._)(E,J=>{P=!0,I=J,(!x||x.closed)&&(M?S():ae(J))},()=>{j=!0,(!(N&&P&&x)||x.closed)&&E.complete()}))})}(()=>E,v)}},41114(ye,A,n){n.d(A,{v:()=>c});var u=n(53826),l=n(81474),h=n(21676);function c(o=T){return(0,l.N)((D,g)=>{let C=!1;D.subscribe((0,h._)(g,v=>{C=!0,g.next(v)},()=>C?g.complete():g.error(o())))})}function T(){return new u.G}},62467(ye,A,n){n.d(A,{M:()=>g,w:()=>C});var u=n(64672),l=n(40623),h=n(81474),c=n(58),T=n(40849),o=n(21676),D=n(82437);const g=(0,T.L)(E=>function(N=null){E(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=N});function C(E,M){const{first:N,each:P,with:I=v,scheduler:x=M??u.E,meta:j=null}=(0,l.v)(E)?{first:E}:"number"==typeof E?{each:E}:E;if(null==N&&null==P)throw new TypeError("No timeout provided.");return(0,h.N)((w,H)=>{let ae,S,J=null,Y=0;const re=G=>{S=(0,D.N)(H,x,()=>{try{ae.unsubscribe(),(0,c.Tg)(I({meta:j,lastValue:J,seen:Y})).subscribe(H)}catch(ce){H.error(ce)}},G)};ae=w.subscribe((0,o._)(H,G=>{S?.unsubscribe(),Y++,H.next(J=G),P>0&&re(P)},void 0,void 0,()=>{S?.closed||S?.unsubscribe(),J=null})),!Y&&re(null!=N?"number"==typeof N?N:+N-x.now():P)})}function v(E){throw new g(E)}},35733(ye,A,n){n.d(A,{E:()=>D});var u=n(81474),l=n(21676),h=n(58),c=n(12337),T=n(86075),o=n(61866);function D(...g){const C=(0,o.ms)(g);return(0,u.N)((v,E)=>{const M=g.length,N=new Array(M);let P=g.map(()=>!1),I=!1;for(let x=0;x<M;x++)(0,h.Tg)(g[x]).subscribe((0,l._)(E,j=>{N[x]=j,!I&&!P[x]&&(P[x]=!0,(I=P.every(c.D))&&(P=null))},T.l));v.subscribe((0,l._)(E,x=>{if(I){const j=[x,...N];E.next(C?C(...j):j)}}))})}},5908(ye,A,n){n.d(A,{c:()=>J});var u=n(58),l=n(39721),h=n(81474);function c(Y,re=0){return(0,h.N)((G,ce)=>{ce.add(Y.schedule(()=>G.subscribe(ce),re))})}var D=n(64517),C=n(30477),v=n(78347),E=n(82437);function N(Y,re){if(!Y)throw new Error("Iterable cannot be null");return new D.c(G=>{(0,E.N)(G,re,()=>{const ce=Y[Symbol.asyncIterator]();(0,E.N)(G,re,()=>{ce.next().then(pe=>{pe.done?G.complete():G.next(pe.value)})},0,!0)})})}var P=n(20835),I=n(182),x=n(19085),j=n(54377),w=n(10165),H=n(37603),ae=n(48120);function J(Y,re){if(null!=Y){if((0,P.l)(Y))return function T(Y,re){return(0,u.Tg)(Y).pipe(c(re),(0,l.Q)(re))}(Y,re);if((0,x.X)(Y))return function g(Y,re){return new D.c(G=>{let ce=0;return re.schedule(function(){ce===Y.length?G.complete():(G.next(Y[ce++]),G.closed||this.schedule())})})}(Y,re);if((0,I.y)(Y))return function o(Y,re){return(0,u.Tg)(Y).pipe(c(re),(0,l.Q)(re))}(Y,re);if((0,w.T)(Y))return N(Y,re);if((0,j.x)(Y))return function M(Y,re){return new D.c(G=>{let ce;return(0,E.N)(G,re,()=>{ce=Y[C.l](),(0,E.N)(G,re,()=>{let pe,De;try{({value:pe,done:De}=ce.next())}catch(z){return void G.error(z)}De?G.complete():G.next(pe)},0,!0)}),()=>(0,v.T)(ce?.return)&&ce.return()})}(Y,re);if((0,ae.U)(Y))return function S(Y,re){return N((0,ae.C)(Y),re)}(Y,re)}throw(0,H.L)(Y)}},41431(ye,A,n){n.d(A,{R:()=>T});var u=n(68639);class l extends u.yU{constructor(D,g){super()}schedule(D,g=0){return this}}const h={setInterval(o,D,...g){const{delegate:C}=h;return C?.setInterval?C.setInterval(o,D,...g):setInterval(o,D,...g)},clearInterval(o){const{delegate:D}=h;return(D?.clearInterval||clearInterval)(o)},delegate:void 0};var c=n(38248);class T extends l{constructor(D,g){super(D,g),this.scheduler=D,this.work=g,this.pending=!1}schedule(D,g=0){var C;if(this.closed)return this;this.state=D;const v=this.id,E=this.scheduler;return null!=v&&(this.id=this.recycleAsyncId(E,v,g)),this.pending=!0,this.delay=g,this.id=null!==(C=this.id)&&void 0!==C?C:this.requestAsyncId(E,this.id,g),this}requestAsyncId(D,g,C=0){return h.setInterval(D.flush.bind(D,this),C)}recycleAsyncId(D,g,C=0){if(null!=C&&this.delay===C&&!1===this.pending)return g;null!=g&&h.clearInterval(g)}execute(D,g){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const C=this._execute(D,g);if(C)return C;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(D,g){let v,C=!1;try{this.work(D)}catch(E){C=!0,v=E||new Error("Scheduled action threw falsy error")}if(C)return this.unsubscribe(),v}
430unsubscribe(){if(!this.closed){const{id:D,scheduler:g}=this,{actions:C}=g;this.work=this.state=this.scheduler=null,this.pending=!1,(0,c.o)(C,this),null!=D&&(this.id=this.recycleAsyncId(g,D,null)),this.delay=null,super.unsubscribe()}}}},24908(ye,A,n){n.d(A,{q:()=>h});var u=n(7221);class l{constructor(T,o=l.now){this.schedulerActionCtor=T,this.now=o}schedule(T,o=0,D){return new this.schedulerActionCtor(this,T).schedule(D,o)}}l.now=u.U.now;class h extends l{constructor(T,o=l.now){super(T,o),this.actions=[],this._active=!1}flush(T){const{actions:o}=this;if(this._active)return void o.push(T);let D;this._active=!0;do{if(D=T.execute(T.state,T.delay))break}while(T=o.shift());if(this._active=!1,D){for(;T=o.shift();)T.unsubscribe();throw D}}}},8050(ye,A,n){n.d(A,{X:()=>D});var u=n(41431),l=n(68639);const h={schedule(C){let v=requestAnimationFrame,E=cancelAnimationFrame;const{delegate:M}=h;M&&(v=M.requestAnimationFrame,E=M.cancelAnimationFrame);const N=v(P=>{E=void 0,C(P)});return new l.yU(()=>E?.(N))},requestAnimationFrame(...C){const{delegate:v}=h;return(v?.requestAnimationFrame||requestAnimationFrame)(...C)},cancelAnimationFrame(...C){const{delegate:v}=h;return(v?.cancelAnimationFrame||cancelAnimationFrame)(...C)},delegate:void 0};var T=n(24908);const D=new class o extends T.q{flush(v){let E;this._active=!0,v?E=v.id:(E=this._scheduled,this._scheduled=void 0);const{actions:M}=this;let N;v=v||M.shift();do{if(N=v.execute(v.state,v.delay))break}while((v=M[0])&&v.id===E&&M.shift());if(this._active=!1,N){for(;(v=M[0])&&v.id===E&&M.shift();)v.unsubscribe();throw N}}}(class c extends u.R{constructor(v,E){super(v,E),this.scheduler=v,this.work=E}requestAsyncId(v,E,M=0){return null!==M&&M>0?super.requestAsyncId(v,E,M):(v.actions.push(this),v._scheduled||(v._scheduled=h.requestAnimationFrame(()=>v.flush(void 0))))}recycleAsyncId(v,E,M=0){var N;if(null!=M?M>0:this.delay>0)return super.recycleAsyncId(v,E,M);const{actions:P}=v;null!=E&&E===v._scheduled&&(null===(N=P[P.length-1])||void 0===N?void 0:N.id)!==E&&(h.cancelAnimationFrame(E),v._scheduled=void 0)}})},64672(ye,A,n){n.d(A,{E:()=>h,b:()=>c});var u=n(41431);const h=new(n(24908).q)(u.R),c=h},7221(ye,A,n){n.d(A,{U:()=>u});const u={now:()=>(u.delegate||Date).now(),delegate:void 0}},73514(ye,A,n){n.d(A,{f:()=>u});const u={setTimeout(l,h,...c){const{delegate:T}=u;return T?.setTimeout?T.setTimeout(l,h,...c):setTimeout(l,h,...c)},clearTimeout(l){const{delegate:h}=u;return(h?.clearTimeout||clearTimeout)(l)},delegate:void 0}},30477(ye,A,n){n.d(A,{l:()=>l});const l=function u(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},44770(ye,A,n){n.d(A,{s:()=>u});const u="function"==typeof Symbol&&Symbol.observable||"@@observable"},53826(ye,A,n){n.d(A,{G:()=>l});const l=(0,n(40849).L)(h=>function(){h(this),this.name="EmptyError",this.message="no elements in sequence"})},61866(ye,A,n){n.d(A,{R0:()=>o,lI:()=>T,ms:()=>c});var u=n(78347),l=n(72114);function h(D){return D[D.length-1]}function c(D){return(0,u.T)(h(D))?D.pop():void 0}function T(D){return(0,l.m)(h(D))?D.pop():void 0}function o(D,g){return"number"==typeof h(D)?D.pop():g}},65541(ye,A,n){n.d(A,{D:()=>T});const{isArray:u}=Array,{getPrototypeOf:l,prototype:h,keys:c}=Object;function T(D){if(1===D.length){const g=D[0];if(u(g))return{args:g,keys:null};if(function o(D){return D&&"object"==typeof D&&l(D)===h}(g)){const C=c(g);return{args:C.map(v=>g[v]),keys:C}}}return{args:D,keys:null}}},12882(ye,A,n){n.d(A,{K:()=>l});const{isArray:u}=Array;function l(h){return 1===h.length&&u(h[0])?h[0]:h}},38248(ye,A,n){function u(l,h){if(l){const c=l.indexOf(h);0<=c&&l.splice(c,1)}}n.d(A,{o:()=>u})},40849(ye,A,n){function u(l){const c=l(T=>{Error.call(T),T.stack=(new Error).stack});return c.prototype=Object.create(Error.prototype),c.prototype.constructor=c,c}n.d(A,{L:()=>u})},63060(ye,A,n){function u(l,h){return l.reduce((c,T,o)=>(c[T]=h[o],c),{})}n.d(A,{e:()=>u})},38806(ye,A,n){n.d(A,{Y:()=>h,l:()=>c});var u=n(90302);let l=null;function h(T){if(u.$.useDeprecatedSynchronousErrorHandling){const o=!l;if(o&&(l={errorThrown:!1,error:null}),T(),o){const{errorThrown:D,error:g}=l;if(l=null,D)throw g}}else T()}function c(T){u.$.useDeprecatedSynchronousErrorHandling&&l&&(l.errorThrown=!0,l.error=T)}},82437(ye,A,n){function u(l,h,c,T=0,o=!1){const D=h.schedule(function(){c(),o?l.add(this.schedule(null,T)):this.unsubscribe()},T);if(l.add(D),!o)return D}n.d(A,{N:()=>u})},12337(ye,A,n){function u(l){return l}n.d(A,{D:()=>u})},19085(ye,A,n){n.d(A,{X:()=>u});const u=l=>l&&"number"==typeof l.length&&"function"!=typeof l},10165(ye,A,n){n.d(A,{T:()=>l});var u=n(78347);function l(h){return Symbol.asyncIterator&&(0,u.T)(h?.[Symbol.asyncIterator])}},40623(ye,A,n){function u(l){return l instanceof Date&&!isNaN(l)}n.d(A,{v:()=>u})},78347(ye,A,n){function u(l){return"function"==typeof l}n.d(A,{T:()=>u})},20835(ye,A,n){n.d(A,{l:()=>h});var u=n(44770),l=n(78347);function h(c){return(0,l.T)(c[u.s])}},54377(ye,A,n){n.d(A,{x:()=>h});var u=n(30477),l=n(78347);function h(c){return(0,l.T)(c?.[u.l])}},59918(ye,A,n){n.d(A,{A:()=>h});var u=n(64517),l=n(78347);function h(c){return!!c&&(c instanceof u.c||(0,l.T)(c.lift)&&(0,l.T)(c.subscribe))}},182(ye,A,n){n.d(A,{y:()=>l});var u=n(78347);function l(h){return(0,u.T)(h?.then)}},48120(ye,A,n){n.d(A,{C:()=>h,U:()=>c});var u=n(9799),l=n(78347);function h(T){return(0,u.AQ)(this,arguments,function*(){const D=T.getReader();try{for(;;){const{value:g,done:C}=yield(0,u.N3)(D.read());if(C)return yield(0,u.N3)(void 0);yield yield(0,u.N3)(g)}}finally{D.releaseLock()}})}function c(T){return(0,l.T)(T?.getReader)}},72114(ye,A,n){n.d(A,{m:()=>l});var u=n(78347);function l(h){return h&&(0,u.T)(h.schedule)}},81474(ye,A,n){n.d(A,{N:()=>h,S:()=>l});var u=n(78347);function l(c){return(0,u.T)(c?.lift)}function h(c){return T=>{if(l(T))return T.lift(function(o){try{return c(o,this)}catch(D){this.error(D)}});throw new TypeError("Unable to lift unknown Observable type")}}},8758(ye,A,n){n.d(A,{I:()=>c});var u=n(24406);const{isArray:l}=Array;function c(T){return(0,u.T)(o=>function h(T,o){return l(o)?T(...o):T(o)}(T,o))}},86075(ye,A,n){function u(){}n.d(A,{l:()=>u})},2652(ye,A,n){n.d(A,{F:()=>l,m:()=>h});var u=n(12337);function l(...c){return h(c)}function h(c){return 0===c.length?u.D:1===c.length?c[0]:function(o){return c.reduce((D,g)=>g(D),o)}}},38058(ye,A,n){n.d(A,{m:()=>h});var u=n(90302),l=n(73514);function h(c){l.f.setTimeout(()=>{const{onUnhandledError:T}=u.$;if(!T)throw c;T(c)})}},37603(ye,A,n){function u(l){return new TypeError(`You provided ${null!==l&&"object"==typeof l?"an invali
430d object":`'${l}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}n.d(A,{L:()=>u})},39191(ye,A,n){n.d(A,{AJ:()=>Y,UE:()=>G,Vy:()=>ce,Xr:()=>De});var S=n(17988);const Y="browser";function G(st){return st===Y}function ce(st){return"server"===st}let De=(()=>{class st{static \u0275prov=(0,S.jDH)({token:st,providedIn:"root",factory:()=>new z((0,S.WQX)(S.qQL),window)})}return st})();class z{document;window;offset=()=>[0,0];constructor(Dt,xt){this.document=Dt,this.window=xt}setOffset(Dt){this.offset=Array.isArray(Dt)?()=>Dt:Dt}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Dt,xt){this.window.scrollTo({...xt,left:Dt[0],top:Dt[1]})}scrollToAnchor(Dt,xt){const Zt=function ke(st,Dt){const xt=st.getElementById(Dt)||st.getElementsByName(Dt)[0];if(xt)return xt;if("function"==typeof st.createTreeWalker&&st.body&&"function"==typeof st.body.attachShadow){const Zt=st.createTreeWalker(st.body,NodeFilter.SHOW_ELEMENT);let xn=Zt.currentNode;for(;xn;){const Rn=xn.shadowRoot;if(Rn){const wn=Rn.getElementById(Dt)||Rn.querySelector(`[name="${Dt}"]`);if(wn)return wn}xn=Zt.nextNode()}}return null}(this.document,Dt);Zt&&(this.scrollToElement(Zt,xt),Zt.focus())}setHistoryScrollRestoration(Dt){try{this.window.history.scrollRestoration=Dt}catch{console.warn((0,S.OsK)(2400,!1))}}scrollToElement(Dt,xt){const Zt=Dt.getBoundingClientRect(),xn=Zt.left+this.window.pageXOffset,Rn=Zt.top+this.window.pageYOffset,wn=this.offset();this.window.scrollTo({...xt,left:xn-wn[0],top:Rn-wn[1]})}}},9042(ye,A,n){n.d(A,{B3:()=>Oe,GH:()=>fn,Jj:()=>dn,MD:()=>Yr,OI:()=>qn,P9:()=>mr,PV:()=>ir,Pc:()=>rr,T3:()=>Z,TG:()=>xn,YU:()=>vr,Yq:()=>Et,fw:()=>C,lG:()=>wn,vh:()=>st});var c=n(96623),T=n(17988),o=n(47606),D=n(45873),g=n(25293);let C=(()=>{class de extends g.hb{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(Ee,xe){super(),this._platformLocation=Ee,null!=xe&&(this._baseHref=xe)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Ee){this._removeListenerFns.push(this._platformLocation.onPopState(Ee),this._platformLocation.onHashChange(Ee))}getBaseHref(){return this._baseHref}path(Ee=!1){const xe=this._platformLocation.hash??"#";return xe.length>0?xe.substring(1):xe}prepareExternalUrl(Ee){const xe=(0,g.om)(this._baseHref,Ee);return xe.length>0?"#"+xe:xe}pushState(Ee,xe,ft,kt){const tn=this.prepareExternalUrl(ft+(0,g.Q)(kt))||this._platformLocation.pathname;this._platformLocation.pushState(Ee,xe,tn)}replaceState(Ee,xe,ft,kt){const tn=this.prepareExternalUrl(ft+(0,g.Q)(kt))||this._platformLocation.pathname;this._platformLocation.replaceState(Ee,xe,tn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Ee=0){this._platformLocation.historyGo?.(Ee)}static \u0275fac=function(xe){return new(xe||de)(T.KVO(g.Vw),T.KVO(g.kB,8))};static \u0275prov=T.jDH({token:de,factory:de.\u0275fac})}return de})();var N=function(de){return de[de.Format=0]="Format",de[de.Standalone=1]="Standalone",de}(N||{}),P=function(de){return de[de.Narrow=0]="Narrow",de[de.Abbreviated=1]="Abbreviated",de[de.Wide=2]="Wide",de[de.Short=3]="Short",de}(P||{}),I=function(de){return de[de.Short=0]="Short",de[de.Medium=1]="Medium",de[de.Long=2]="Long",de[de.Full=3]="Full",de}(I||{});function G(de,Je){return q((0,o.kBR)(de)[o.NSC.DateFormat],Je)}function ce(de,Je){return q((0,o.kBR)(de)[o.NSC.TimeFormat],Je)}function pe(de,Je){return q((0,o.kBR)(de)[o.NSC.DateTimeFormat],Je)}function De(de,Je){const Ee=(0,o.kBR)(de),xe=Ee[o.NSC.NumberSymbols][Je];if(typeof xe>"u"){if(12===Je)return Ee[o.NSC.NumberSymbols][0];if(13===Je)return Ee[o.NSC.NumberSymbols][1]}return xe}function Ye(de){if(!de[o.NSC.ExtraData])throw new T.buA(2303,!1)}function q(de,Je){for(let Ee=Je;Ee>-1;Ee--)if(typeof de[Ee]<"u")return de[Ee];throw new T.buA(2304,!1)}function Te(de){const[Je,Ee]=de.split(":");return{hours:+Je,minutes:+Ee}}const Be=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,at={},Ot=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Et(de,Je,Ee,xe){let ft=function rn(de){if(An(de))return de;if("number"==typeof de&&!isNaN(de))return new Date(de);
430if("string"==typeof de){if(de=de.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(de)){const[ft,kt=1,tn=1]=de.split("-").map(Nn=>+Nn);return ut(ft,kt-1,tn)}const Ee=parseFloat(de);if(!isNaN(de-Ee))return new Date(Ee);let xe;if(xe=de.match(Be))return function In(de){const Je=new Date(0);let Ee=0,xe=0;const ft=de[8]?Je.setUTCFullYear:Je.setFullYear,kt=de[8]?Je.setUTCHours:Je.setHours;de[9]&&(Ee=Number(de[9]+de[10]),xe=Number(de[9]+de[11])),ft.call(Je,Number(de[1]),Number(de[2])-1,Number(de[3]));const tn=Number(de[4]||0)-Ee,Nn=Number(de[5]||0)-xe,Vn=Number(de[6]||0),_r=Math.floor(1e3*parseFloat("0."+(de[7]||0)));return kt.call(Je,tn,Nn,Vn,_r),Je}(xe)}const Je=new Date(de);if(!An(Je))throw new T.buA(2311,!1);return Je}(de);Je=bt(Ee,Je)||Je;let Nn,tn=[];for(;Je;){if(Nn=Ot.exec(Je),!Nn){tn.push(Je);break}{tn=tn.concat(Nn.slice(1));const Wn=tn.pop();if(!Wn)break;Je=Wn}}let Vn=ft.getTimezoneOffset();xe&&(Vn=Ct(xe,Vn),ft=function Ut(de,Je){const ft=de.getTimezoneOffset();return function Mn(de,Je){return(de=new Date(de.getTime())).setMinutes(de.getMinutes()+Je),de}(de,-1*(Ct(Je,ft)-ft))}(ft,xe));let _r="";return tn.forEach(Wn=>{const sr=function cn(de){if(wt[de])return wt[de];let Je;switch(de){case"G":case"GG":case"GGG":Je=pt(3,P.Abbreviated);break;case"GGGG":Je=pt(3,P.Wide);break;case"GGGGG":Je=pt(3,P.Narrow);break;case"y":Je=ze(0,1,0,!1,!0);break;case"yy":Je=ze(0,2,0,!0,!0);break;case"yyy":Je=ze(0,3,0,!1,!0);break;case"yyyy":Je=ze(0,4,0,!1,!0);break;case"Y":Je=vn(1);break;case"YY":Je=vn(2,!0);break;case"YYY":Je=vn(3);break;case"YYYY":Je=vn(4);break;case"M":case"L":Je=ze(1,1,1);break;case"MM":case"LL":Je=ze(1,2,1);break;case"MMM":Je=pt(2,P.Abbreviated);break;case"MMMM":Je=pt(2,P.Wide);break;case"MMMMM":Je=pt(2,P.Narrow);break;case"LLL":Je=pt(2,P.Abbreviated,N.Standalone);break;case"LLLL":Je=pt(2,P.Wide,N.Standalone);break;case"LLLLL":Je=pt(2,P.Narrow,N.Standalone);break;case"w":Je=Lt(1);break;case"ww":Je=Lt(2);break;case"W":Je=Lt(1,!0);break;case"d":Je=ze(2,1);break;case"dd":Je=ze(2,2);break;case"c":case"cc":Je=ze(7,1);break;case"ccc":Je=pt(1,P.Abbreviated,N.Standalone);break;case"cccc":Je=pt(1,P.Wide,N.Standalone);break;case"ccccc":Je=pt(1,P.Narrow,N.Standalone);break;case"cccccc":Je=pt(1,P.Short,N.Standalone);break;case"E":case"EE":case"EEE":Je=pt(1,P.Abbreviated);break;case"EEEE":Je=pt(1,P.Wide);break;case"EEEEE":Je=pt(1,P.Narrow);break;case"EEEEEE":Je=pt(1,P.Short);break;case"a":case"aa":case"aaa":Je=pt(0,P.Abbreviated);break;case"aaaa":Je=pt(0,P.Wide);break;case"aaaaa":Je=pt(0,P.Narrow);break;case"b":case"bb":case"bbb":Je=pt(0,P.Abbreviated,N.Standalone,!0);break;case"bbbb":Je=pt(0,P.Wide,N.Standalone,!0);break;case"bbbbb":Je=pt(0,P.Narrow,N.Standalone,!0);break;case"B":case"BB":case"BBB":Je=pt(0,P.Abbreviated,N.Format,!0);break;case"BBBB":Je=pt(0,P.Wide,N.Format,!0);break;case"BBBBB":Je=pt(0,P.Narrow,N.Format,!0);break;case"h":Je=ze(3,1,-12);break;case"hh":Je=ze(3,2,-12);break;case"H":Je=ze(3,1);break;case"HH":Je=ze(3,2);break;case"m":Je=ze(4,1);break;case"mm":Je=ze(4,2);break;case"s":Je=ze(5,1);break;case"ss":Je=ze(5,2);break;case"S":Je=ze(6,1);break;case"SS":Je=ze(6,2);break;case"SSS":Je=ze(6,3);break;case"Z":case"ZZ":case"ZZZ":Je=s(0);break;case"ZZZZZ":Je=s(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Je=s(1);break;case"OOOO":case"ZZZZ":case"zzzz":Je=s(2);break;default:return null}return wt[de]=Je,Je}(Wn);_r+=sr?sr(ft,Ee,Vn):"''"===Wn?"'":Wn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),_r}function ut(de,Je,Ee){const xe=new Date(0);return xe.setFullYear(de,Je,Ee),xe.setHours(0,0,0),xe}function bt(de,Je){const Ee=function w(de){return(0,o.kBR)(de)[o.NSC.LocaleId]}(de);if(at[Ee]??={},at[Ee][Je])return at[Ee][Je];let xe="";switch(Je){case"shortDate":xe=G(de,I.Short);break;case"mediumDate":xe=G(de,I.Medium);break;case"longDate":xe=G(de,I.Long);break;case"fullDate":xe=G(de,I.Full);break;case"shortTime":xe=ce(de,I.Short);break;case"mediumTime":xe=ce(de,I.Medium);break;case"longTime":xe=ce(de,I.Long);break;case"fullTime":xe=ce(de,I.Full);break;case"short":const ft=bt(de,"shortTime"),kt=bt(de,"shortDate");xe=Xe(pe(de,I.Short),[ft,kt]);break;case"medium":const tn=bt(de,"mediumTime"),Nn=bt(de,"mediumDate");xe=Xe(pe(de,I.Medium),[tn,Nn]);break;case"long":const Vn=bt(de,"longTime"),_r=bt(de,"longDate");xe=Xe(pe(de,I.Long),[Vn,_r]);break;case"full":const Wn=bt(de,"fullTime"),sr=bt(de,"fullDate");xe=Xe(pe(de,I.Full),[Wn,sr])}return xe&&(at[Ee][Je]=xe),xe}function Xe(de,Je){return Je&&(de=de.replace(/\{([^}]+)}/g,function(Ee,xe){return null!=Je&&xe in Je?Je[xe]:Ee})),de}function tt(de,Je,Ee="-",xe,ft){let kt="";(de<0||ft&&de<=0)&&(ft?de=1-de:(de=-de,kt=Ee));let tn=String(de);for(;tn.length<Je;)tn="0"+tn;return xe&&(tn=tn.slice(tn.length-Je)),kt+tn}function ze(de,Je,Ee=0,xe=!1,ft=!1){return function(kt,tn){let Nn=function vt(de,Je){switch(de){case 0:return Je.getFullYear();case 1:return Je.getMonth();case 2:return Je.getDate();case 3:return Je.getHours();case 4:return Je.getMinutes();case 5:return Je.getSeconds();case 6:return Je.getMilliseconds();case 7:return Je.getDay();default:throw new T.buA(2301,!1)}}(de,kt);if((Ee>0||Nn>-Ee)&&(Nn+=Ee),3===de)0===Nn&&-12===Ee&&(Nn=12);else if(6===de)return function Ht(de,Je){return tt(de,3).substring(0,Je)}(Nn,Je);const Vn=De(tn,5);return tt(Nn,Je,Vn,xe,ft)}}function pt(de,Je,Ee=N.Format,xe=!1){return function(ft,kt){return function an(de,Je,Ee,xe,ft,kt){switch(Ee){case 2:return function S(de,Je,Ee){const xe=(0,o.kBR)(de),kt=q([xe[o.NSC.MonthsFormat],xe[o.NSC.MonthsStandalone]],Je);return q(kt,Ee)}(Je,ft,xe)[de.getMonth()];case 1:return function ae(de,Je,Ee){const xe=(0,o.kBR)(de),kt=q([xe[o.NSC.DaysFormat],xe[o.NSC.DaysStandalone]],Je);return q(kt,Ee)}(Je,ft,xe)[de.getDay()];case 0:const tn=de.getHours(),Nn=de.getMinutes();if(kt){const _r=function Ue(de){const Je=(0,o.kBR)(de);return Ye(Je),(Je[o.NSC.ExtraData][2]||[]).map(xe=>"string"==typeof xe?Te(xe):[Te(xe[0]),Te(xe[1])])}(Je),Wn=function ne(de,Je,Ee){const xe=(0,o.kBR)(de);Ye(xe);const kt=q([xe[o.NSC.ExtraData][0],xe[o.NSC.ExtraData][1]],Je)||[];return q(kt,Ee)||[]}(Je,ft,xe),sr=_r.findIndex(Jr=>{if(Array.isArray(Jr)){const[Ar,kr]=Jr,co=tn>=Ar.hours&&Nn>=Ar.minutes,Nr=tn<kr.hours||tn===kr.hours&&Nn<kr.minutes;if(Ar.hours<kr.hours){if(co&&Nr)return!0}else if(co||Nr)return!0}else if(Jr.hours===tn&&Jr.minutes===Nn)return!0;return!1});if(-1!==sr)return Wn[sr]}return function H(de,Je,Ee){const xe=(0,o.kBR)(de),kt=q([xe[o.NSC.DayPeriodsFormat],xe[o.NSC.DayPeriodsStandalone]],Je);return q(kt,Ee)}(Je,ft,xe)[tn<12?0:1];
430case 3:return function J(de,Je){return q((0,o.kBR)(de)[o.NSC.Eras],Je)}(Je,xe)[de.getFullYear()<=0?0:1];default:throw new T.buA(2302,!1)}}(ft,kt,de,Je,Ee,xe)}}function s(de){return function(Je,Ee,xe){const ft=-1*xe,kt=De(Ee,5),tn=ft>0?Math.floor(ft/60):Math.ceil(ft/60);switch(de){case 0:return(ft>=0?"+":"")+tt(tn,2,kt)+tt(Math.abs(ft%60),2,kt);case 1:return"GMT"+(ft>=0?"+":"")+tt(tn,1,kt);case 2:return"GMT"+(ft>=0?"+":"")+tt(tn,2,kt)+":"+tt(Math.abs(ft%60),2,kt);case 3:return 0===xe?"Z":(ft>=0?"+":"")+tt(tn,2,kt)+":"+tt(Math.abs(ft%60),2,kt);default:throw new T.buA(2310,!1)}}}function sn(de){const Je=de.getDay(),Ee=0===Je?-3:4-Je;return ut(de.getFullYear(),de.getMonth(),de.getDate()+Ee)}function Lt(de,Je=!1){return function(Ee,xe){let ft;if(Je){const kt=new Date(Ee.getFullYear(),Ee.getMonth(),1).getDay()-1,tn=Ee.getDate();ft=1+Math.floor((tn+kt)/7)}else{const kt=sn(Ee),tn=function jt(de){const Je=ut(de,0,1).getDay();return ut(de,0,1+(Je<=4?4:11)-Je)}(kt.getFullYear()),Nn=kt.getTime()-tn.getTime();ft=1+Math.round(Nn/6048e5)}return tt(ft,de,De(xe,5))}}function vn(de,Je=!1){return function(Ee,xe){return tt(sn(Ee).getFullYear(),de,De(xe,5),Je)}}const wt={};function Ct(de,Je){de=de.replace(/:/g,"");const Ee=Date.parse("Jan 01, 1970 00:00:00 "+de)/6e4;return isNaN(Ee)?Je:Ee}function An(de){return de instanceof Date&&!isNaN(de.valueOf())}const Yn=/\s+/,Qn=[];let vr=(()=>{class de{_ngEl;_renderer;initialClasses=Qn;rawClass;stateMap=new Map;constructor(Ee,xe){this._ngEl=Ee,this._renderer=xe}set klass(Ee){this.initialClasses=null!=Ee?Ee.trim().split(Yn):Qn}set ngClass(Ee){this.rawClass="string"==typeof Ee?Ee.trim().split(Yn):Ee}ngDoCheck(){for(const xe of this.initialClasses)this._updateState(xe,!0);const Ee=this.rawClass;if(Array.isArray(Ee)||Ee instanceof Set)for(const xe of Ee)this._updateState(xe,!0);else if(null!=Ee)for(const xe of Object.keys(Ee))this._updateState(xe,!!Ee[xe]);this._applyStateDiff()}
430_updateState(Ee,xe){const ft=this.stateMap.get(Ee);void 0!==ft?(ft.enabled!==xe&&(ft.changed=!0,ft.enabled=xe),ft.touched=!0):this.stateMap.set(Ee,{enabled:xe,changed:!0,touched:!0})}_applyStateDiff(){for(const Ee of this.stateMap){const xe=Ee[0],ft=Ee[1];ft.changed?(this._toggleClass(xe,ft.enabled),ft.changed=!1):ft.touched||(ft.enabled&&this._toggleClass(xe,!1),this.stateMap.delete(xe)),ft.touched=!1}}_toggleClass(Ee,xe){(Ee=Ee.trim()).length>0&&Ee.split(Yn).forEach(ft=>{xe?this._renderer.addClass(this._ngEl.nativeElement,ft):this._renderer.removeClass(this._ngEl.nativeElement,ft)})}static \u0275fac=function(xe){return new(xe||de)(o.rXU(o.aKT),o.rXU(o.sFG))};static \u0275dir=o.FsC({type:de,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return de})(),qn=(()=>{class de{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(Ee){this._viewContainerRef=Ee}_needToReCreateNgModuleInstance(Ee){return void 0!==Ee.ngComponentOutletNgModule||void 0!==Ee.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(Ee){return void 0!==Ee.ngComponentOutlet||void 0!==Ee.ngComponentOutletContent||void 0!==Ee.ngComponentOutletInjector||void 0!==Ee.ngComponentOutletEnvironmentInjector||this._needToReCreateNgModuleInstance(Ee)}ngOnChanges(Ee){if(this._needToReCreateComponentInstance(Ee)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const xe=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(Ee)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,o.w6W)(this.ngComponentOutletNgModule,cr(xe)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(cr(xe)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:xe,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const Ee of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(Ee,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(Ee){for(const[xe,ft]of this._inputsUsed)ft?(Ee.setInput(xe,this.ngComponentOutletInputs[xe]),this._inputsUsed.set(xe,!1)):(Ee.setInput(xe,void 0),this._inputsUsed.delete(xe))}static \u0275fac=function(xe){return new(xe||de)(o.rXU(o.c1b))};static \u0275dir=o.FsC({type:de,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[o.OA$]})}return de})();function cr(de){return de.get(o.Ab1).injector}let Oe=(()=>{class de{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(Ee,xe,ft){this._ngEl=Ee,this._differs=xe,this._renderer=ft}set ngStyle(Ee){this._ngStyle=Ee,!this._differ&&Ee&&(this._differ=this._differs.find(Ee).create())}ngDoCheck(){if(this._differ){const Ee=this._differ.diff(this._ngStyle);Ee&&this._applyChanges(Ee)}}_setStyle(Ee,xe){const[ft,kt]=Ee.split("."),tn=-1===ft.indexOf("-")?void 0:o.czy.DashCase;null!=xe?this._renderer.setStyle(this._ngEl.nativeElement,ft,kt?`${xe}${kt}`:xe,tn):this._renderer.removeStyle(this._ngEl.nativeElement,ft,tn)}_applyChanges(Ee){Ee.forEachRemovedItem(xe=>this._setStyle(xe.key,null)),Ee.forEachAddedItem(xe=>this._setStyle(xe.key,xe.currentValue)),Ee.forEachChangedItem(xe=>this._setStyle(xe.key,xe.currentValue))}static \u0275fac=function(xe){return new(xe||de)(o.rXU(o.aKT),o.rXU(c.MKu),o.rXU(o.sFG))};static \u0275dir=o.FsC({type:de,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}
430)}return de})(),Z=(()=>{class de{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(Ee){this._viewContainerRef=Ee}ngOnChanges(Ee){if(this._shouldRecreateView(Ee)){const xe=this._viewContainerRef;if(this._viewRef&&xe.remove(xe.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const ft=this._createContextForwardProxy();this._viewRef=xe.createEmbeddedView(this.ngTemplateOutlet,ft,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Ee){return!!Ee.ngTemplateOutlet||!!Ee.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Ee,xe,ft)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,xe,ft),get:(Ee,xe,ft)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,xe,ft)}})}static \u0275fac=function(xe){return new(xe||de)(o.rXU(o.c1b))};static \u0275dir=o.FsC({type:de,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[o.OA$]})}return de})();function p(de,Je){return new T.buA(2100,!1)}class Ke{createSubscription(Je,Ee,xe){return(0,D.O8)(()=>Je.subscribe({next:Ee,error:xe}))}dispose(Je){(0,D.O8)(()=>Je.unsubscribe())}}class nt{createSubscription(Je,Ee,xe){return Je.then(ft=>Ee?.(ft),ft=>xe?.(ft)),{unsubscribe:()=>{Ee=null,xe=null}}}dispose(Je){Je.unsubscribe()}}const yt=new nt,It=new Ke;let dn=(()=>{class de{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=(0,T.WQX)(T.ZTf);constructor(Ee){this._ref=Ee}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Ee){if(!this._obj){if(Ee)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Ee)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Ee!==this._obj?(this._dispose(),this.transform(Ee)):this._latestValue}_subscribe(Ee){this._obj=Ee,this._strategy=this._selectStrategy(Ee),this._subscription=this._strategy.createSubscription(Ee,xe=>this._updateLatestValue(Ee,xe),xe=>this.applicationErrorHandler(xe))}_selectStrategy(Ee){if((0,o.yLl)(Ee))return yt;if((0,o.cdK)(Ee))return It;throw p()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Ee,xe){Ee===this._obj&&(this._latestValue=xe,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(xe){return new(xe||de)(o.rXU(c.gRc,16))};static \u0275pipe=o.EJ8({name:"async",type:de,pure:!1})}return de})(),fn=(()=>{class de{transform(Ee){if(null==Ee)return null;if("string"!=typeof Ee)throw p();return Ee.toLowerCase()}static \u0275fac=function(xe){return new(xe||de)};static \u0275pipe=o.EJ8({name:"lowercase",type:de,pure:!0})}return de})();const gn=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u
4300EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let ir=(()=>{class de{transform(Ee){if(null==Ee)return null;if("string"!=typeof Ee)throw p();return Ee.replace(gn,xe=>xe[0].toUpperCase()+xe.slice(1).toLowerCase())}static \u0275fac=function(xe){return new(xe||de)};static \u0275pipe=o.EJ8({name:"titlecase",type:de,pure:!0})}return de})(),rr=(()=>{class de{transform(Ee){if(null==Ee)return null;if("string"!=typeof Ee)throw p();return Ee.toUpperCase()}static \u0275fac=function(xe){return new(xe||de)};static \u0275pipe=o.EJ8({name:"uppercase",type:de,pure:!0})}return de})();const gr=new T.nKC(""),Br=new T.nKC("");let st=(()=>{class de{locale;defaultTimezone;defaultOptions;constructor(Ee,xe,ft){this.locale=Ee,this.defaultTimezone=xe,this.defaultOptions=ft}transform(Ee,xe,ft,kt){if(null==Ee||""===Ee||Ee!=Ee)return null;try{return Et(Ee,xe??this.defaultOptions?.dateFormat??"mediumDate",kt||this.locale,ft??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(tn){throw p()}}static \u0275fac=function(xe){return new(xe||de)(o.rXU(o.xe9,16),o.rXU(gr,24),o.rXU(Br,24))};static \u0275pipe=o.EJ8({name:"date",type:de,pure:!0})}return de})(),xn=(()=>{class de{transform(Ee){return JSON.stringify(Ee,null,2)}static \u0275fac=function(xe){return new(xe||de)};static \u0275pipe=o.EJ8({name:"json",type:de,pure:!1})}return de})(),wn=(()=>{class de{differs;constructor(Ee){this.differs=Ee}differ;keyValues=[];compareFn=Ir;transform(Ee,xe=Ir){if(!Ee||!(Ee instanceof Map)&&"object"!=typeof Ee)return null;this.differ??=this.differs.find(Ee).create();
430const ft=this.differ.diff(Ee),kt=xe!==this.compareFn;return ft&&(this.keyValues=[],ft.forEachItem(tn=>{this.keyValues.push(function Rn(de,Je){return{key:de,value:Je}}(tn.key,tn.currentValue))})),(ft||kt)&&(xe&&this.keyValues.sort(xe),this.compareFn=xe),this.keyValues}static \u0275fac=function(xe){return new(xe||de)(o.rXU(c.MKu,16))};static \u0275pipe=o.EJ8({name:"keyvalue",type:de,pure:!1})}return de})();function Ir(de,Je){const Ee=de.key,xe=Je.key;if(Ee===xe)return 0;if(null==Ee)return 1;if(null==xe)return-1;if("string"==typeof Ee&&"string"==typeof xe)return Ee<xe?-1:1;if("number"==typeof Ee&&"number"==typeof xe)return Ee-xe;if("boolean"==typeof Ee&&"boolean"==typeof xe)return Ee<xe?-1:1;const ft=String(Ee),kt=String(xe);return ft==kt?0:ft<kt?-1:1}let mr=(()=>{class de{transform(Ee,xe,ft){if(null==Ee)return null;if("string"!=typeof Ee&&!Array.isArray(Ee))throw p();return Ee.slice(xe,ft)}static \u0275fac=function(xe){return new(xe||de)};static \u0275pipe=o.EJ8({name:"slice",type:de,pure:!1})}return de})(),Yr=(()=>{class de{static \u0275fac=function(xe){return new(xe||de)};static \u0275mod=o.$C({type:de});static \u0275inj=T.G2t({})}return de})()},25293(ye,A,n){n.d(A,{Q:()=>M,Sm:()=>I,Vw:()=>D,aZ:()=>x,hb:()=>N,hj:()=>g,ig:()=>T,kB:()=>P,om:()=>v,qj:()=>o,rb:()=>c});var u=n(17988),l=n(81502);let h=null;function c(){return h}function T(S){h??=S}class o{}let D=(()=>{class S{historyGo(Y){throw new Error("")}static \u0275fac=function(re){return new(re||S)};static \u0275prov=u.jDH({token:S,factory:()=>(0,u.WQX)(C),providedIn:"platform"})}return S})();const g=new u.nKC("");let C=(()=>{class S extends D{_location;_history;_doc=(0,u.WQX)(u.qQL);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return c().getBaseHref(this._doc)}onPopState(Y){const re=c().getGlobalEventTarget(this._doc,"window");return re.addEventListener("popstate",Y,!1),()=>re.removeEventListener("popstate",Y)}onHashChange(Y){const re=c().getGlobalEventTarget(this._doc,"window");return re.addEventListener("hashchange",Y,!1),()=>re.removeEventListener("hashchange",Y)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(Y){this._location.pathname=Y}pushState(Y,re,G){this._history.pushState(Y,re,G)}replaceState(Y,re,G){this._history.replaceState(Y,re,G)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Y=0){this._history.go(Y)}getState(){return this._history.state}static \u0275fac=function(re){return new(re||S)};static \u0275prov=u.jDH({token:S,factory:()=>new S,providedIn:"platform"})}return S})();function v(S,J){return S?J?S.endsWith("/")?J.startsWith("/")?S+J.slice(1):S+J:J.startsWith("/")?S+J:`${S}/${J}`:S:J}function E(S){const J=S.search(/#|\?|$/);return"/"===S[J-1]?S.slice(0,J-1)+S.slice(J):S}function M(S){return S&&"?"!==S[0]?`?${S}`:S}let N=(()=>{class S{historyGo(Y){throw new Error("")}static \u0275fac=function(re){return new(re||S)};static \u0275prov=u.jDH({token:S,factory:()=>(0,u.WQX)(I),providedIn:"root"})}return S})();const P=new u.nKC("");let I=(()=>{class S extends N{_platformLocation;_baseHref;_removeListenerFns=[];constructor(Y,re){super(),this._platformLocation=Y,this._baseHref=re??this._platformLocation.getBaseHrefFromDOM()??(0,u.WQX)(u.qQL).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Y){this._removeListenerFns.push(this._platformLocation.onPopState(Y),this._platformLocation.onHashChange(Y))}getBaseHref(){return this._baseHref}prepareExternalUrl(Y){return v(this._baseHref,Y)}path(Y=!1){const re=this._platformLocation.pathname+M(this._platformLocation.search),G=this._platformLocation.hash;return G&&Y?`${re}${G}`:re}pushState(Y,re,G,ce){const pe=this.prepareExternalUrl(G+M(ce));this._platformLocation.pushState(Y,re,pe)}replaceState(Y,re,G,ce){const pe=this.prepareExternalUrl(G+M(ce));this._platformLocation.replaceState(Y,re,pe)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Y=0){this._platformLocation.historyGo?.(Y)}static \u0275fac=function(re){return new(re||S)(u.KVO(D),u.KVO(P,8))};static \u0275prov=u.jDH({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})(),x=(()=>
430{class S{_subject=new l.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(Y){this._locationStrategy=Y;const re=this._locationStrategy.getBaseHref();this._basePath=function ae(S){if(new RegExp("^(https?:)?//").test(S)){const[,Y]=S.split(/\/\/[^\/]+/);return Y}return S}(E(H(re))),this._locationStrategy.onPopState(G=>{this._subject.next({url:this.path(!0),pop:!0,state:G.state,type:G.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Y=!1){return this.normalize(this._locationStrategy.path(Y))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Y,re=""){return this.path()==this.normalize(Y+M(re))}normalize(Y){return S.stripTrailingSlash(function w(S,J){if(!S||!J.startsWith(S))return J;const Y=J.substring(S.length);return""===Y||["/",";","?","#"].includes(Y[0])?Y:J}(this._basePath,H(Y)))}prepareExternalUrl(Y){return Y&&"/"!==Y[0]&&(Y="/"+Y),this._locationStrategy.prepareExternalUrl(Y)}go(Y,re="",G=null){this._locationStrategy.pushState(G,"",Y,re),this._notifyUrlChangeListeners(this.prepareExternalUrl(Y+M(re)),G)}replaceState(Y,re="",G=null){this._locationStrategy.replaceState(G,"",Y,re),this._notifyUrlChangeListeners(this.prepareExternalUrl(Y+M(re)),G)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Y=0){this._locationStrategy.historyGo?.(Y)}onUrlChange(Y){return this._urlChangeListeners.push(Y),this._urlChangeSubscription??=this.subscribe(re=>{this._notifyUrlChangeListeners(re.url,re.state)}),()=>{const re=this._urlChangeListeners.indexOf(Y);this._urlChangeListeners.splice(re,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Y="",re){this._urlChangeListeners.forEach(G=>G(Y,re))}subscribe(Y,re,G){return this._subject.subscribe({next:Y,error:re??void 0,complete:G??void 0})}static normalizeQueryParams=M;static joinWithSlash=v;static stripTrailingSlash=E;static \u0275fac=function(re){return new(re||S)(u.KVO(N))};static \u0275prov=u.jDH({token:S,factory:()=>function j(){return new x((0,u.KVO)(N))}(),providedIn:"root"})}return S})();function H(S){return S.replace(/\/index.html$/,"")}},20396(ye,A,n){n.d(A,{$R:()=>Or,Lr:()=>Y,Nl:()=>it,Qq:()=>vt,ZZ:()=>$,_y:()=>Qe,b$:()=>Mr,cS:()=>ut,rx:()=>Re,yz:()=>bt});var C=n(56207),v=n(17988),E=n(47606),M=n(75214),N=n(61856),P=n(39848),I=n(24406),x=n(21082),j=n(64517),H=(n(73496),n(13901)),ae=n(33990);class S{}class J{}class Y{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(Ce){Ce?"string"==typeof Ce?this.lazyInit=()=>{this.headers=new Map,Ce.split("\n").forEach(p=>{const Ke=p.indexOf(":");if(Ke>0){const nt=p.slice(0,Ke),yt=p.slice(Ke+1).trim();this.addHeaderEntry(nt,yt)}})}:typeof Headers<"u"&&Ce instanceof Headers?(this.headers=new Map,Ce.forEach((p,Ke)=>{this.addHeaderEntry(Ke,p)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Ce).forEach(([p,Ke])=>{this.setHeaderEntries(p,Ke)})}:this.headers=new Map}has(Ce){return this.init(),this.headers.has(Ce.toLowerCase())}get(Ce){this.init();const p=this.headers.get(Ce.toLowerCase());return p&&p.length>0?p[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Ce){return this.init(),this.headers.get(Ce.toLowerCase())||null}append(Ce,p){return this.clone({name:Ce,value:p,op:"a"})}set(Ce,p){return this.clone({name:Ce,value:p,op:"s"})}delete(Ce,p){return this.clone({name:Ce,value:p,op:"d"})}maybeSetNormalizedName(Ce,p){this.normalizedNames.has(p)||this.normalizedNames.set(p,Ce)}init(){this.lazyInit&&(this.lazyInit instanceof Y?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Ce=>this.applyUpdate(Ce)),this.lazyUpdate=null))}copyFrom(Ce){Ce.init(),Array.from(Ce.headers.keys()).forEach(p=>{this.headers.set(p,Ce.headers.get(p)),this.normalizedNames.set(p,Ce.normalizedNames.get(p))})}clone(Ce){const p=new Y;return p.lazyInit=this.lazyInit&&this.lazyInit instanceof Y?this.lazyInit:this,p.lazyUpdate=(this.lazyUpdate||[]).concat([Ce]),p}applyUpdate(Ce){const p=Ce.name.toLowerCase();switch(Ce.op){case"a":case"s":let Ke=Ce.value;if("string"==typeof Ke&&(Ke=[Ke]),0===Ke.length)return;this.maybeSetNormalizedName(Ce.name,p);const nt=("a"===Ce.op?this.headers.get(p):void 0)||[];nt.push(...Ke),this.headers.set(p,nt);break;case"d":const yt=Ce.value;if(yt){let It=this.headers.get(p);if(!It)return;It=It.filter(dn=>-1===yt.indexOf(dn)),0===It.length?(this.headers.delete(p),this.normalizedNames.delete(p)):this.headers.set(p,It)}else this.headers.delete(p),this.normalizedNames.delete(p)}}addHeaderEntry(Ce,p){const Ke=Ce.toLowerCase();this.maybeSetNormalizedName(Ce,Ke),this.headers.has(Ke)?this.headers.get(Ke).push(p):this.headers.set(Ke,[p])}setHeaderEntries(Ce,p){const Ke=(Array.isArray(p)?p:[p]).map(yt=>yt.toString()),nt=Ce.toLowerCase();this.headers.set(nt,Ke),this.maybeSetNormalizedName(Ce,nt)}forEach(Ce){this.init(),Array.from(this.normalizedNames.keys()).forEac
430h(p=>Ce(this.normalizedNames.get(p),this.headers.get(p)))}}class G{encodeKey(Ce){return z(Ce)}encodeValue(Ce){return z(Ce)}decodeKey(Ce){return decodeURIComponent(Ce)}decodeValue(Ce){return decodeURIComponent(Ce)}}const pe=/%(\d[a-f0-9])/gi,De={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function z(Z){return encodeURIComponent(Z).replace(pe,(Ce,p)=>De[p]??Ce)}function ke(Z){return`${Z}`}class it{map;encoder;updates=null;cloneFrom=null;constructor(Ce={}){if(this.encoder=Ce.encoder||new G,Ce.fromString){if(Ce.fromObject)throw new v.buA(2805,!1);this.map=function ce(Z,Ce){const p=new Map;return Z.length>0&&Z.replace(/^\?/,"").split("&").forEach(nt=>{const yt=nt.indexOf("="),[It,dn]=-1==yt?[Ce.decodeKey(nt),""]:[Ce.decodeKey(nt.slice(0,yt)),Ce.decodeValue(nt.slice(yt+1))],fn=p.get(It)||[];fn.push(dn),p.set(It,fn)}),p}(Ce.fromString,this.encoder)}else Ce.fromObject?(this.map=new Map,Object.keys(Ce.fromObject).forEach(p=>{const Ke=Ce.fromObject[p],nt=Array.isArray(Ke)?Ke.map(ke):[ke(Ke)];this.map.set(p,nt)})):this.map=null}has(Ce){return this.init(),this.map.has(Ce)}get(Ce){this.init();const p=this.map.get(Ce);return p?p[0]:null}getAll(Ce){return this.init(),this.map.get(Ce)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Ce,p){return this.clone({param:Ce,value:p,op:"a"})}appendAll(Ce){const p=[];return Object.keys(Ce).forEach(Ke=>{const nt=Ce[Ke];Array.isArray(nt)?nt.forEach(yt=>{p.push({param:Ke,value:yt,op:"a"})}):p.push({param:Ke,value:nt,op:"a"})}),this.clone(p)}set(Ce,p){return this.clone({param:Ce,value:p,op:"s"})}delete(Ce,p){return this.clone({param:Ce,value:p,op:"d"})}toString(){return this.init(),this.keys().map(Ce=>{const p=this.encoder.encodeKey(Ce);return this.map.get(Ce).map(Ke=>p+"="+this.encoder.encodeValue(Ke)).join("&")}).filter(Ce=>""!==Ce).join("&")}clone(Ce){const p=new it({encoder:this.encoder});return p.cloneFrom=this.cloneFrom||this,p.updates=(this.updates||[]).concat(Ce),p}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Ce=>this.map.set(Ce,this.cloneFrom.map.get(Ce))),this.updates.forEach(Ce=>{switch(Ce.op){case"a":case"s":const p=("a"===Ce.op?this.map.get(Ce.param):void 0)||[];p.push(ke(Ce.value)),this.map.set(Ce.param,p);break;case"d":if(void 0===Ce.value){this.map.delete(Ce.param);break}{let Ke=this.map.get(Ce.param)||[];const nt=Ke.indexOf(ke(Ce.value));-1!==nt&&Ke.splice(nt,1),Ke.length>0?this.map.set(Ce.param,Ke):this.map.delete(Ce.param)}}}),this.cloneFrom=this.updates=null)}}class Re{defaultValue;constructor(Ce){this.defaultValue=Ce}}class Qe{map=new Map;set(Ce,p){return this.map.set(Ce,p),this}get(Ce){return this.map.has(Ce)||this.map.set(Ce,Ce.defaultValue()),this.map.get(Ce)}delete(Ce){return this.map.delete(Ce),this}has(Ce){return this.map.has(Ce)}keys(){return this.map.keys()}}function Ye(Z){return typeof ArrayBuffer<"u"&&Z instanceof ArrayBuffer}function Ue(Z){return typeof Blob<"u"&&Z instanceof Blob}function ne(Z){return typeof FormData<"u"&&Z instanceof FormData}const q="Content-Type",Te="Accept",je="X-Request-URL",Fe="text/plain",we="application/json",Be=`${we}, ${Fe}, */*`;class at{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(Ce,p,Ke,nt){let yt;if(this.url=p,this.method=Ce.toUpperCase(),function Ze(Z){switch(Z){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||nt?(this.body=void 0!==Ke?Ke:null,yt=nt):yt=Ke,yt){if(this.reportProgress=!!yt.reportProgress,this.withCredentials=!!yt.withCredentials,this.keepalive=!!yt.keepalive,yt.responseType&&(this.responseType=yt.responseType),yt.headers&&(this.headers=yt.headers),yt.context&&(this.context=yt.context),yt.params&&(this.params=yt.params),yt.priority&&(this.priority=yt.priority),yt.cache&&(this.cache=yt.cache),yt.credentials&&(this.credentials=yt.credentials),"number"==typeof yt.timeout){if(yt.timeout<1||!Number.isInteger(yt.timeout))throw new v.buA(2822,"");this.timeout=yt.timeout}yt.mode&&(this.mode=yt.mode),yt.redirect&&(this.redirect=yt.redirect),yt.integrity&&(this.integrity=yt.integrity),yt.referrer&&(this.referrer=yt.referrer),this.transferCache=yt.transferCache}if(this.headers??=new Y,this.context??=new Qe,this.params){const It=this.params.toString();if(0===It.length)this.urlWithParams=p;else{const dn=p.indexOf("?");this.urlWithParams=p+(-1===dn?"?":dn<p.length-1?"&":"")+It}}else this.params=new it,this.urlWithParams=p}serializeBody(){return null===this.body?null:"string"==typeof this.body||Ye(this.body)||Ue(this.body)||ne(this.body)||function X(Z){return typeof URLSearchParams<"u"&&Z instanceof URLSearchParams}(this.body)?this.body:this.body instanceof it?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||ne(this.body)?null:Ue(this.body)?this.body.type||null:Ye(this.body)?null:"string"==typeof this.body?Fe:this.body instanceof it?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?we:null}clone(Ce={}){const p=Ce.method||this.method,Ke=Ce.url||this.url,nt=Ce.responseType||this.responseType,yt=Ce.keepalive??this.keepalive,It=Ce.priority||this.priority,dn=Ce.cache||this.cache,fn=Ce.mode||this.mode,gn=Ce.redirect||this.redirect,ir=Ce.credentials||this.credentials,rr=Ce.referrer||this.referrer,dr=Ce.integrity||this.integrity,gr=Ce.transferCache??this.transferCache,Br=Ce.timeout??this.timeout,st=void 0!==Ce.body?Ce.body:this.body,Dt=Ce.withCredentials??this.withCredentials,xt=Ce.reportProgress??this.reportProgress;let Zt=Ce.headers||this.headers,xn=Ce.params||this.params;const Rn=Ce.context??this.context;return void 0!==Ce.setHeaders&&(Zt=Object.keys(Ce.setHeaders).reduce((wn,Ir)=>wn.set(Ir,Ce.setHeaders[Ir]),Zt)),Ce.setParams&&(xn=Object.keys(Ce.setParams).reduce((wn,Ir)=>wn.set(Ir,Ce.setParams[Ir]),xn)),new at(p,Ke,st,{params:xn,headers:Zt,context:Rn,reportProgress:xt,responseType:nt,withCredentials:Dt,transferCache:gr,keepalive:yt,cache:dn,priority:It,timeout:Br,mode:fn,redirect:gn,credentials:ir,referrer:rr,integrity:dr})}}var Ot=function(Z){return Z[Z.Sent=0]="Sent",Z[Z.UploadProgress=1]="UploadProgress",Z[Z.ResponseHeader=2]="ResponseHeader",Z[Z.DownloadProgress=3]="DownloadProgress",Z[Z.Response=4]="Response",Z[Z.User=5]="User",Z}(Ot||{});class Et{headers;status;statusText;url;ok;type;redirected;constructor(Ce,p=200,Ke="OK"){this.headers=Ce.headers||new Y,this.status=void 0!==Ce.status?Ce.status:p,this.statusText=Ce.statusText||Ke,this.url=Ce.url||null,this.redirected=Ce.redirected,this.ok=this.status>=200&&this.status<300}}
430class Yt extends Et{constructor(Ce={}){super(Ce)}type=Ot.ResponseHeader;clone(Ce={}){return new Yt({headers:Ce.headers||this.headers,status:void 0!==Ce.status?Ce.status:this.status,statusText:Ce.statusText||this.statusText,url:Ce.url||this.url||void 0})}}class ut extends Et{body;constructor(Ce={}){super(Ce),this.body=void 0!==Ce.body?Ce.body:null}type=Ot.Response;clone(Ce={}){return new ut({body:void 0!==Ce.body?Ce.body:this.body,headers:Ce.headers||this.headers,status:void 0!==Ce.status?Ce.status:this.status,statusText:Ce.statusText||this.statusText,url:Ce.url||this.url||void 0,redirected:Ce.redirected??this.redirected})}}class bt extends Et{name="HttpErrorResponse";message;error;ok=!1;constructor(Ce){super(Ce,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Ce.url||"(unknown url)"}`:`Http failure response for ${Ce.url||"(unknown url)"}: ${Ce.status} ${Ce.statusText}`,this.error=Ce.error||null}}function ze(Z,Ce){return{body:Ce,headers:Z.headers,context:Z.context,observe:Z.observe,params:Z.params,reportProgress:Z.reportProgress,responseType:Z.responseType,withCredentials:Z.withCredentials,credentials:Z.credentials,transferCache:Z.transferCache,timeout:Z.timeout,keepalive:Z.keepalive,priority:Z.priority,cache:Z.cache,mode:Z.mode,redirect:Z.redirect,integrity:Z.integrity,referrer:Z.referrer}}let vt=(()=>{class Z{handler;constructor(p){this.handler=p}request(p,Ke,nt={}){let yt;if(p instanceof at)yt=p;else{let fn,gn;fn=nt.headers instanceof Y?nt.headers:new Y(nt.headers),nt.params&&(gn=nt.params instanceof it?nt.params:new it({fromObject:nt.params})),yt=new at(p,Ke,void 0!==nt.body?nt.body:null,{headers:fn,context:nt.context,params:gn,reportProgress:nt.reportProgress,responseType:nt.responseType||"json",withCredentials:nt.withCredentials,transferCache:nt.transferCache,keepalive:nt.keepalive,priority:nt.priority,cache:nt.cache,mode:nt.mode,redirect:nt.redirect,credentials:nt.credentials,referrer:nt.referrer,integrity:nt.integrity,timeout:nt.timeout})}const It=(0,H.of)(yt).pipe((0,M.H)(fn=>this.handler.handle(fn)));if(p instanceof at||"events"===nt.observe)return It;const dn=It.pipe((0,N.p)(fn=>fn instanceof ut));switch(nt.observe||"body"){case"body":switch(yt.responseType){case"arraybuffer":return dn.pipe((0,I.T)(fn=>{if(null!==fn.body&&!(fn.body instanceof ArrayBuffer))throw new v.buA(2806,!1);return fn.body}));case"blob":return dn.pipe((0,I.T)(fn=>{if(null!==fn.body&&!(fn.body instanceof Blob))throw new v.buA(2807,!1);return fn.body}));case"text":return dn.pipe((0,I.T)(fn=>{if(null!==fn.body&&"string"!=typeof fn.body)throw new v.buA(2808,!1);return fn.body}));default:return dn.pipe((0,I.T)(fn=>fn.body))}case"response":return dn;default:throw new v.buA(2809,!1)}}delete(p,Ke={}){return this.request("DELETE",p,Ke)}get(p,Ke={}){return this.request("GET",p,Ke)}head(p,Ke={}){return this.request("HEAD",p,Ke)}jsonp(p,Ke){return this.request("JSONP",p,{params:(new it).append(Ke,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(p,Ke={}){return this.request("OPTIONS",p,Ke)}patch(p,Ke,nt={}){return this.request("PATCH",p,ze(nt,Ke))}post(p,Ke,nt={}){return this.request("POST",p,ze(nt,Ke))}put(p,Ke,nt={}){return this.request("PUT",p,ze(nt,Ke))}static \u0275fac=function(Ke){return new(Ke||Z)(v.KVO(S))};static \u0275prov=v.jDH({token:Z,factory:Z.\u0275fac})}return Z})();const pt=/^\)\]\}',?\n/;function an(Z){if(Z.url)return Z.url;const Ce=je.toLocaleLowerCase();return Z.headers.get(Ce)}const s=new v.nKC("");let mt=(()=>{class Z{fetchImpl=(0,v.WQX)(Wt,{optional:!0})?.fetch??((...p)=>globalThis.fetch(...p));ngZone=(0,v.WQX)(E.SKi);destroyRef=(0,v.WQX)(v.abz);handle(p){return new j.c(Ke=>{const nt=new AbortController;let yt;return this.doRequest(p,nt.signal,Ke).then(jt,It=>Ke.error(new bt({error:It}))),p.timeout&&(yt=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{nt.signal.aborted||nt.abort(new DOMException("signal timed out","TimeoutError"))},p.timeout))),()=>{void 0!==yt&&clearTimeout(yt),nt.abort()}})}
430doRequest(p,Ke,nt){var yt=this;return(0,C.A)(function*(){const It=yt.createRequestInit(p);let dn;try{const st=yt.ngZone.runOutsideAngular(()=>yt.fetchImpl(p.urlWithParams,{signal:Ke,...It}));(function Lt(Z){Z.then(jt,jt)})(st),nt.next({type:Ot.Sent}),dn=yield st}catch(st){return void nt.error(new bt({error:st,status:st.status??0,statusText:st.statusText,url:p.urlWithParams,headers:st.headers}))}const fn=new Y(dn.headers),gn=dn.statusText,ir=an(dn)??p.urlWithParams;let rr=dn.status,dr=null;if(p.reportProgress&&nt.next(new Yt({headers:fn,status:rr,statusText:gn,url:ir})),dn.body){const st=dn.headers.get("content-length"),Dt=[],xt=dn.body.getReader();let xn,Rn,Zt=0;const wn=typeof Zone<"u"&&Zone.current;let Ir=!1;if(yield yt.ngZone.runOutsideAngular((0,C.A)(function*(){for(;;){if(yt.destroyRef.destroyed){yield xt.cancel(),Ir=!0;break}const{done:Tr,value:Lr}=yield xt.read();if(Tr)break;if(Dt.push(Lr),Zt+=Lr.length,p.reportProgress){Rn="text"===p.responseType?(Rn??"")+(xn??=new TextDecoder).decode(Lr,{stream:!0}):void 0;const eo=()=>nt.next({type:Ot.DownloadProgress,total:st?+st:void 0,loaded:Zt,partialText:Rn});wn?wn.run(eo):eo()}}})),Ir)return void nt.complete();const Hr=yt.concatChunks(Dt,Zt);try{const Tr=dn.headers.get(q)??"";dr=yt.parseBody(p,Hr,Tr,rr)}catch(Tr){return void nt.error(new bt({error:Tr,headers:new Y(dn.headers),status:dn.status,statusText:dn.statusText,url:an(dn)??p.urlWithParams}))}}0===rr&&(rr=dr?200:0);const Br=dn.redirected;rr>=200&&rr<300?(nt.next(new ut({body:dr,headers:fn,status:rr,statusText:gn,url:ir,redirected:Br})),nt.complete()):nt.error(new bt({error:dr,headers:fn,status:rr,statusText:gn,url:ir,redirected:Br}))})()}parseBody(p,Ke,nt,yt){switch(p.responseType){case"json":const It=(new TextDecoder).decode(Ke).replace(pt,"");if(""===It)return null;try{return JSON.parse(It)}catch(dn){if(yt<200||yt>=300)return It;throw dn}case"text":return(new TextDecoder).decode(Ke);case"blob":return new Blob([Ke],{type:nt});case"arraybuffer":return Ke.buffer}}createRequestInit(p){const Ke={};let nt;if(nt=p.credentials,p.withCredentials&&(nt="include"),p.headers.forEach((yt,It)=>Ke[yt]=It.join(",")),p.headers.has(Te)||(Ke[Te]=Be),!p.headers.has(q)){const yt=p.detectContentTypeHeader();null!==yt&&(Ke[q]=yt)}return{body:p.serializeBody(),method:p.method,headers:Ke,credentials:nt,keepalive:p.keepalive,cache:p.cache,priority:p.priority,mode:p.mode,redirect:p.redirect,referrer:p.referrer,integrity:p.integrity}}concatChunks(p,Ke){const nt=new Uint8Array(Ke);let yt=0;for(const It of p)nt.set(It,yt),yt+=It.length;return nt}static \u0275fac=function(Ke){return new(Ke||Z)};static \u0275prov=v.jDH({token:Z,factory:Z.\u0275fac})}return Z})();class Wt{}function jt(){}function vn(Z,Ce){return Ce(Z)}const Mn=new v.nKC(""),Ut=new v.nKC(""),rn=new v.nKC("",{providedIn:"root",factory:()=>!0});let Xn=(()=>{class Z extends S{backend;injector;chain=null;pendingTasks=(0,v.WQX)(v.u5s);contributeToStability=(0,v.WQX)(rn);constructor(p,Ke){super(),this.backend=p,this.injector=Ke}handle(p){if(null===this.chain){const Ke=Array.from(new Set([...this.injector.get(Mn),...this.injector.get(Ut,[])]));this.chain=Ke.reduceRight((nt,yt)=>function cn(Z,Ce,p){return(Ke,nt)=>(0,v.N4e)(p,()=>Ce(Ke,yt=>Z(yt,nt)))}(nt,yt,this.injector),vn)}if(this.contributeToStability){const Ke=this.pendingTasks.add();return this.chain(p,nt=>this.backend.handle(nt)).pipe((0,P.j)(Ke))}return this.chain(p,Ke=>this.backend.handle(Ke))}static \u0275fac=function(Ke){return new(Ke||Z)(v.KVO(J),v.KVO(v.uvJ))};static \u0275prov=v.jDH({token:Z,factory:Z.\u0275fac})}return Z})();const ln=/^\)\]\}',?\n/,un=RegExp(`^${je}:`,"m");let Xt=(()=>{class Z{xhrFactory;constructor(p){this.xhrFactory=p}handle(p){if("JSONP"===p.method)throw new v.buA(-2800,!1);const Ke=this.xhrFactory;return(0,H.of)(null).pipe((0,x.n)(()=>new j.c(yt=>{const It=Ke.build();if(It.open(p.method,p.urlWithParams),p.withCredentials&&(It.withCredentials=!0),p.headers.forEach((Dt,xt)=>It.setRequestHeader(Dt,xt.join(","))),p.headers.has(Te)||It.setRequestHeader(Te,Be),!p.headers.has(q)){const Dt=p.detectContentTypeHeader();null!==Dt&&It.setRequestHeader(q,Dt)}if(p.timeout&&(It.timeout=p.timeout),p.responseType){const Dt=p.responseType.toLowerCase();It.responseType="json"!==Dt?Dt:"text"}const dn=p.serializeBody();let fn=null;const gn=()=>
430{if(null!==fn)return fn;const Dt=It.statusText||"OK",xt=new Y(It.getAllResponseHeaders()),Zt=function nn(Z){return"responseURL"in Z&&Z.responseURL?Z.responseURL:un.test(Z.getAllResponseHeaders())?Z.getResponseHeader(je):null}(It)||p.url;return fn=new Yt({headers:xt,status:It.status,statusText:Dt,url:Zt}),fn},ir=()=>{let{headers:Dt,status:xt,statusText:Zt,url:xn}=gn(),Rn=null;204!==xt&&(Rn=typeof It.response>"u"?It.responseText:It.response),0===xt&&(xt=Rn?200:0);let wn=xt>=200&&xt<300;if("json"===p.responseType&&"string"==typeof Rn){const Ir=Rn;Rn=Rn.replace(ln,"");try{Rn=""!==Rn?JSON.parse(Rn):null}catch(Hr){Rn=Ir,wn&&(wn=!1,Rn={error:Hr,text:Rn})}}wn?(yt.next(new ut({body:Rn,headers:Dt,status:xt,statusText:Zt,url:xn||void 0})),yt.complete()):yt.error(new bt({error:Rn,headers:Dt,status:xt,statusText:Zt,url:xn||void 0}))},rr=Dt=>{const{url:xt}=gn(),Zt=new bt({error:Dt,status:It.status||0,statusText:It.statusText||"Unknown Error",url:xt||void 0});yt.error(Zt)};let dr=rr;p.timeout&&(dr=Dt=>{const{url:xt}=gn(),Zt=new bt({error:new DOMException("Request timed out","TimeoutError"),status:It.status||0,statusText:It.statusText||"Request timeout",url:xt||void 0});yt.error(Zt)});let gr=!1;const Br=Dt=>{gr||(yt.next(gn()),gr=!0);let xt={type:Ot.DownloadProgress,loaded:Dt.loaded};Dt.lengthComputable&&(xt.total=Dt.total),"text"===p.responseType&&It.responseText&&(xt.partialText=It.responseText),yt.next(xt)},st=Dt=>{let xt={type:Ot.UploadProgress,loaded:Dt.loaded};Dt.lengthComputable&&(xt.total=Dt.total),yt.next(xt)};return It.addEventListener("load",ir),It.addEventListener("error",rr),It.addEventListener("timeout",dr),It.addEventListener("abort",rr),p.reportProgress&&(It.addEventListener("progress",Br),null!==dn&&It.upload&&It.upload.addEventListener("progress",st)),It.send(dn),yt.next({type:Ot.Sent}),()=>{It.removeEventListener("error",rr),It.removeEventListener("abort",rr),It.removeEventListener("load",ir),It.removeEventListener("timeout",dr),p.reportProgress&&(It.removeEventListener("progress",Br),null!==dn&&It.upload&&It.upload.removeEventListener("progress",st)),It.readyState!==It.DONE&&It.abort()}})))}static \u0275fac=function(Ke){return new(Ke||Z)(v.KVO(ae.N))};static \u0275prov=v.jDH({token:Z,factory:Z.\u0275fac})}return Z})();const bn=new v.nKC(""),Fn=new v.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Yn=new v.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Qn{}let vr=(()=>{class Z{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(p,Ke){this.doc=p,this.cookieName=Ke}getToken(){const p=this.doc.cookie||"";return p!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ae.b)(p,this.cookieName),this.lastCookieString=p),this.lastToken}static \u0275fac=function(Ke){return new(Ke||Z)(v.KVO(v.qQL),v.KVO(Fn))};static \u0275prov=v.jDH({token:Z,factory:Z.\u0275fac})}return Z})();const qn=/^(?:https?:)?\/\//i;function cr(Z,Ce){if(!(0,v.WQX)(bn)||"GET"===Z.method||"HEAD"===Z.method||qn.test(Z.url))return Ce(Z);const p=(0,v.WQX)(Qn).getToken(),Ke=(0,v.WQX)(Yn);return null!=p&&!Z.headers.has(Ke)&&(Z=Z.clone({headers:Z.headers.set(Ke,p)})),Ce(Z)}var Jn=function(Z){return Z[Z.Interceptors=0]="Interceptors",Z[Z.LegacyInterceptors=1]="LegacyInterceptors",Z[Z.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Z[Z.NoXsrfProtection=3]="NoXsrfProtection",Z[Z.JsonpSupport=4]="JsonpSupport",Z[Z.RequestsMadeViaParent=5]="RequestsMadeViaParent",Z[Z.Fetch=6]="Fetch",Z}(Jn||{});function $n(Z,Ce){return{\u0275kind:Z,\u0275providers:Ce}}function Or(...Z){const Ce=[vt,Xt,Xn,{provide:S,useExisting:Xn},{provide:J,useFactory:()=>(0,v.WQX)(s,{optional:!0})??(0,v.WQX)(Xt)},{provide:Mn,useValue:cr,multi:!0},{provide:bn,useValue:!0},{provide:Qn,useClass:vr}];for(const p of Z)Ce.push(...p.\u0275providers);return(0,v.EmA)(Ce)}function Mr(Z){return $n(Jn.Interceptors,Z.map(Ce=>({provide:Mn,useValue:Ce,multi:!0})))}function $(){return $n(Jn.Fetch,[mt,{provide:s,useExisting:mt},{provide:J,useExisting:mt}])}},33990(ye,A,n){function u(h,c){c=encodeURIComponent(c);for(const T of h.split(";")){const o=T.indexOf("="),[D,g]=-1==o?[T,""]:[T.slice(0,o),T.slice(o+1)];if(D.trim()===c)return decodeURIComponent(g)}return null}n.d(A,{N:()=>l,b:()=>u});class l{}},96623(ye,A,n){n.d(A,{CGW:()=>Wn,ES_:()=>Nn,HJs:()=>Ra,HP_:()=>Hs,L39:()=>B,MKu:()=>ui,S36:()=>ra,TL3:()=>Ci,Udg:()=>K,_q3:()=>jo,a0P:()=>Rs,dtW:()=>lo,ebz:()=>Nr,gRc:()=>yr,geq:()=>Fo,hFB:()=>Ar,oQz:()=>oa,sbv:()=>to,tEk:()=>vo,uEv:()=>ba,v7R:()=>Vs});var On=n(17988),mr=n(45478),Tn=n(47606),Yr=n(45873);const de=Symbol("InputSignalNode#UNSET"),Je={...mr.s0,transformFn:void 0,applyValueToInputSignal(be,he){(0,mr.j2)(be,he)}};function xe(be,he){const Ie=Object.create(Je);function ot(){if((0,mr.mK)(Ie),Ie.value===de)throw new On.buA(-950,null);return Ie.value}return Ie.value=be,Ie.transformFn=he?.transform,ot[mr.bh]=Ie,ot}class Nn{attributeName;constructor(he){this.attributeName=he}__NG_ELEMENT_ID__=()=>(0,Tn.kS0)(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}}function Wn(be){return new Yr.Zf}function sr(be,he){return xe(be,he)}new On.nKC("").__NG_ELEMENT_ID__=be=>{const he=(0,On.Mx4)();if(null===he)throw new On.buA(204,!1);if(2&he.type)return he.value;if(8&be)return null;throw new On.buA(204,!1)};const Ar=(sr.required=function Jr(be){return xe(de,be)},sr);function kr(be,he){return(0,Tn.mU9)(he)}const Nr=(kr.required=function co(be,he){return(0,Tn.hnC)(he)},kr);function lo(be,he){return(0,Tn.FuF)(he)}function uo(be,he){return(0,Tn.mU9)(he)}const to=(uo.required=function $r(be,he){return(0,Tn.hnC)(he)},uo);function vo(be,he){return(0,Tn.FuF)(he)}function Go(be,he){const Ie=Object.create(Je),ot=new Yr.Zf;
430function Nt(){return(0,mr.mK)(Ie),Zr(Ie.value),Ie.value}return Ie.value=be,Nt[mr.bh]=Ie,Nt.asReadonly=On.HO5.bind(Nt),Nt.set=$t=>{Ie.equal(Ie.value,$t)||((0,mr.j2)(Ie,$t),ot.emit($t))},Nt.update=$t=>{Zr(Ie.value),Nt.set($t(Ie.value))},Nt.subscribe=ot.subscribe.bind(ot),Nt.destroyRef=ot.destroyRef,Nt}function Zr(be){if(be===de)throw new On.buA(952,!1)}function mo(be,he){return Go(be)}const Fo=(mo.required=function Oo(be){return Go(de)},mo),Ao=new On.nKC(""),Wo=new On.nKC("");function Pe(be){return!be.moduleRef}let W=null;let yr=(()=>class be{static __NG_ELEMENT_ID__=br})();function br(be){return function fr(be,he,Ie){if((0,On.Qs1)(be)&&!Ie){const ot=(0,On.KdJ)(be.index,he);return new Tn.NCX(ot,ot)}return 175&be.type?new Tn.NCX(he[On.b5C],he):null}((0,On.Mx4)(),(0,On.OAn)(),!(16&~be))}class V{constructor(){}supports(he){return(0,Tn.ozJ)(he)}create(he){return new lt(he)}}const Me=(be,he)=>he;class lt{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(he){this._trackByFn=he||Me}forEachItem(he){let Ie;for(Ie=this._itHead;null!==Ie;Ie=Ie._next)he(Ie)}forEachOperation(he){let Ie=this._itHead,ot=this._removalsHead,Nt=0,$t=null;for(;Ie||ot;){const pn=!ot||Ie&&Ie.currentIndex<no(ot,Nt,$t)?Ie:ot,Ln=no(pn,Nt,$t),tr=pn.currentIndex;if(pn===ot)Nt--,ot=ot._nextRemoved;else if(Ie=Ie._next,null==pn.previousIndex)Nt++;else{$t||($t=[]);const pr=Ln-Nt,Qr=tr-Nt;if(pr!=Qr){for(let so=0;so<pr;so++){const bo=so<$t.length?$t[so]:$t[so]=0,xo=bo+so;Qr<=xo&&xo<pr&&($t[so]=bo+1)}$t[pn.previousIndex]=Qr-pr}}Ln!==tr&&he(pn,Ln,tr)}}forEachPreviousItem(he){let Ie;for(Ie=this._previousItHead;null!==Ie;Ie=Ie._nextPrevious)he(Ie)}forEachAddedItem(he){let Ie;for(Ie=this._additionsHead;null!==Ie;Ie=Ie._nextAdded)he(Ie)}forEachMovedItem(he){let Ie;for(Ie=this._movesHead;null!==Ie;Ie=Ie._nextMoved)he(Ie)}forEachRemovedItem(he){let Ie;for(Ie=this._removalsHead;null!==Ie;Ie=Ie._nextRemoved)he(Ie)}forEachIdentityChange(he){let Ie;for(Ie=this._identityChangesHead;null!==Ie;Ie=Ie._nextIdentityChange)he(Ie)}diff(he){if(null==he&&(he=[]),!(0,Tn.ozJ)(he))throw new On.buA(900,!1);return this.check(he)?this:null}onDestroy(){}check(he){this._reset();let Nt,$t,pn,Ie=this._itHead,ot=!1;if(Array.isArray(he)){this.length=he.length;for(let Ln=0;Ln<this.length;Ln++)$t=he[Ln],pn=this._trackByFn(Ln,$t),null!==Ie&&Object.is(Ie.trackById,pn)?(ot&&(Ie=this._verifyReinsertion(Ie,$t,pn,Ln)),Object.is(Ie.item,$t)||this._addIdentityChange(Ie,$t)):(Ie=this._mismatch(Ie,$t,pn,Ln),ot=!0),Ie=Ie._next}else Nt=0,(0,Tn.utN)(he,Ln=>{pn=this._trackByFn(Nt,Ln),null!==Ie&&Object.is(Ie.trackById,pn)?(ot&&(Ie=this._verifyReinsertion(Ie,Ln,pn,Nt)),Object.is(Ie.item,Ln)||this._addIdentityChange(Ie,Ln)):(Ie=this._mismatch(Ie,Ln,pn,Nt),ot=!0),Ie=Ie._next,Nt++}),this.length=Nt;return this._truncate(Ie),this.collection=he,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let he;for(he=this._previousItHead=this._itHead;null!==he;he=he._next)he._nextPrevious=he._next;for(he=this._additionsHead;null!==he;he=he._nextAdded)he.previousIndex=he.currentIndex;for(this._additionsHead=this._additionsTail=null,he=this._movesHead;null!==he;he=he._nextMoved)he.previousIndex=he.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(he,Ie,ot,Nt){let $t;return null===he?$t=this._itTail:($t=he._prev,this._remove(he)),null!==(he=null===this._unlinkedRecords?null:this._unlinkedRecords.get(ot,null))?(Object.is(he.item,Ie)||this._addIdentityChange(he,Ie),this._reinsertAfter(he,$t,Nt)):null!==(he=null===this._linkedRecords?null:this._linkedRecords.get(ot,Nt))?(Object.is(he.item,Ie)||this._addIdentityChange(he,Ie),this._moveAfter(he,$t,Nt)):he=this._addAfter(new Sn(Ie,ot),$t,Nt),he}_verifyReinsertion(he,Ie,ot,Nt){let $t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(ot,null);return null!==$t?he=this._reinsertAfter($t,he._prev,Nt):he.currentIndex!=Nt&&(he.currentIndex=Nt,this._addToMoves(he,Nt)),he}_truncate(he){for(;null!==he;){const Ie=he._next;this._addToRemovals(this._unlink(he)),he=Ie}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(he,Ie,ot){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(he);
430const Nt=he._prevRemoved,$t=he._nextRemoved;return null===Nt?this._removalsHead=$t:Nt._nextRemoved=$t,null===$t?this._removalsTail=Nt:$t._prevRemoved=Nt,this._insertAfter(he,Ie,ot),this._addToMoves(he,ot),he}_moveAfter(he,Ie,ot){return this._unlink(he),this._insertAfter(he,Ie,ot),this._addToMoves(he,ot),he}_addAfter(he,Ie,ot){return this._insertAfter(he,Ie,ot),this._additionsTail=null===this._additionsTail?this._additionsHead=he:this._additionsTail._nextAdded=he,he}_insertAfter(he,Ie,ot){const Nt=null===Ie?this._itHead:Ie._next;return he._next=Nt,he._prev=Ie,null===Nt?this._itTail=he:Nt._prev=he,null===Ie?this._itHead=he:Ie._next=he,null===this._linkedRecords&&(this._linkedRecords=new io),this._linkedRecords.put(he),he.currentIndex=ot,he}_remove(he){return this._addToRemovals(this._unlink(he))}_unlink(he){null!==this._linkedRecords&&this._linkedRecords.remove(he);const Ie=he._prev,ot=he._next;return null===Ie?this._itHead=ot:Ie._next=ot,null===ot?this._itTail=Ie:ot._prev=Ie,he}_addToMoves(he,Ie){return he.previousIndex===Ie||(this._movesTail=null===this._movesTail?this._movesHead=he:this._movesTail._nextMoved=he),he}_addToRemovals(he){return null===this._unlinkedRecords&&(this._unlinkedRecords=new io),this._unlinkedRecords.put(he),he.currentIndex=null,he._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=he,he._prevRemoved=null):(he._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=he),he}_addIdentityChange(he,Ie){return he.item=Ie,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=he:this._identityChangesTail._nextIdentityChange=he,he}}class Sn{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(he,Ie){this.item=he,this.trackById=Ie}}class er{_head=null;_tail=null;add(he){null===this._head?(this._head=this._tail=he,he._nextDup=null,he._prevDup=null):(this._tail._nextDup=he,he._prevDup=this._tail,he._nextDup=null,this._tail=he)}get(he,Ie){let ot;for(ot=this._head;null!==ot;ot=ot._nextDup)if((null===Ie||Ie<=ot.currentIndex)&&Object.is(ot.trackById,he))return ot;return null}remove(he){const Ie=he._prevDup,ot=he._nextDup;return null===Ie?this._head=ot:Ie._nextDup=ot,null===ot?this._tail=Ie:ot._prevDup=Ie,null===this._head}}class io{map=new Map;put(he){const Ie=he.trackById;let ot=this.map.get(Ie);ot||(ot=new er,this.map.set(Ie,ot)),ot.add(he)}get(he,Ie){const Nt=this.map.get(he);return Nt?Nt.get(he,Ie):null}remove(he){const Ie=he.trackById;return this.map.get(Ie).remove(he)&&this.map.delete(Ie),he}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function no(be,he,Ie){const ot=be.previousIndex;if(null===ot)return ot;let Nt=0;return Ie&&ot<Ie.length&&(Nt=Ie[ot]),ot+he+Nt}class ko{constructor(){}supports(he){return he instanceof Map||(0,Tn.vDg)(he)}create(){return new yi}}class yi{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(he){let Ie;for(Ie=this._mapHead;null!==Ie;Ie=Ie._next)he(Ie)}forEachPreviousItem(he){let Ie;for(Ie=this._previousMapHead;null!==Ie;Ie=Ie._nextPrevious)he(Ie)}forEachChangedItem(he){let Ie;for(Ie=this._changesHead;null!==Ie;Ie=Ie._nextChanged)he(Ie)}forEachAddedItem(he){let Ie;for(Ie=this._additionsHead;null!==Ie;Ie=Ie._nextAdded)he(Ie)}forEachRemovedItem(he){let Ie;for(Ie=this._removalsHead;null!==Ie;Ie=Ie._nextRemoved)he(Ie)}diff(he){if(he){if(!(he instanceof Map||(0,Tn.vDg)(he)))throw new On.buA(900,!1)}else he=new Map;return this.check(he)?this:null}onDestroy(){}check(he){this._reset();let Ie=this._mapHead;if(this._appendAfter=null,this._forEach(he,(ot,Nt)=>{if(Ie&&Ie.key===Nt)this._maybeAddToChanges(Ie,ot),this._appendAfter=Ie,Ie=Ie._next;else{const $t=this._getOrCreateRecordForKey(Nt,ot);Ie=this._insertBeforeOrAppend(Ie,$t)}}),Ie){Ie._prev&&(Ie._prev._next=null),this._removalsHead=Ie;for(let ot=Ie;null!==ot;ot=ot._nextRemoved)ot===this._mapHead&&(this._mapHead=null),this._records.delete(ot.key),ot._nextRemoved=ot._next,ot.previousValue=ot.currentValue,ot.currentValue=null,ot._prev=null,ot._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(he,Ie){if(he){const ot=he._prev;return Ie._next=he,Ie._prev=ot,he._prev=Ie,ot&&(ot._next=Ie),he===this._mapHead&&(this._mapHead=Ie),this._appendAfter=he,he}return this._appendAfter?(this._appendAfter._next=Ie,Ie._prev=this._appendAfter):this._mapHead=Ie,this._appendAfter=Ie,null}_getOrCreateRecordForKey(he,Ie){if(this._records.has(he)){const Nt=this._records.get(he);this._maybeAddToChanges(Nt,Ie);const $t=Nt._prev,pn=Nt._next;return $t&&($t._next=pn),pn&&(pn._prev=$t),Nt._next=null,Nt._prev=null,Nt}const ot=new li(he);return this._records.set(he,ot),ot.currentValue=Ie,this._addToAdditions(ot),ot}_reset(){if(this.isDirty){let he;for(this._previousMapHead=this._mapHead,he=this._previousMapHead;null!==he;he=he._next)he._nextPrevious=he._next;for(he=this._changesHead;null!==he;he=he._nextChanged)he.previousValue=he.currentValue;for(he=this._additionsHead;null!=he;he=he._nextAdded)he.previousValue=he.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(he,Ie){Object.is(Ie,he.currentValue)||(he.previousValue=he.currentValue,he.currentValue=Ie,this._addToChanges(he))}_addToAdditions(he){null===this._additionsHead?this._additionsHead=this._additionsTail=he:(this._additionsTail._nextAdded=he,this._additionsTail=he)}_addToChanges(he){null===this._changesHead?this._changesHead=this._changesTail=he:(this._changesTail._nextChanged=he,this._changesTail=he)}_forEach(he,Ie){he instanceof Map?he.forEach(Ie):Object.keys(he).forEach(ot=>Ie(he[ot],ot))}}class li{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(he){this.key=he}}function Ei(){return new jo([new V])}let jo=(()=>{class be{factories;static \u0275prov=(0,On.jDH)({token:be,providedIn:"root",factory:Ei});constructor(Ie){this.factories=Ie}static create(Ie,ot){if(null!=ot){const Nt=ot.factories.slice();Ie=Ie.concat(Nt)}return new be(Ie)}static extend(Ie){return{provide:be,useFactory:()=>{const ot=(0,On.WQX)(be,{optional:!0,skipSelf:!0});return be.create(Ie,ot||Ei())}}}find(Ie){const ot=this.factories.find(Nt=>Nt.supports(Ie));if(null!=ot)return ot;throw new On.buA(901,!1)}}return be})();function Xo(){return new ui([new ko])}let ui=(()=>{class be{static \u0275prov=(0,On.jDH)({token:be,providedIn:"root",factory:Xo});factories;constructor(Ie){this.factories=Ie}static create(Ie,ot){if(ot){const Nt=ot.factories.slice();Ie=Ie.concat(Nt)}return new be(Ie)}static extend(Ie){return{provide:be,useFactory:()=>{const ot=(0,On.WQX)(be,{optional:!0,skipSelf:!0});return be.create(Ie,ot||Xo())}}}find(Ie){const ot=this.factories.find(Nt=>Nt.supports(Ie));if(ot)return ot;throw new On.buA(901,!1)}}return be})();function Ci(be){const{rootComponent:he,appProviders:Ie,platformProviders:ot,platformRef:Nt}=be;(0,Tn.Ef8)(8);try{const $t=Nt?.injector??function Gt(be=[]){if(W)return W;(0,Tn.pl0)();const he=function Le(be=[],he){return On.zZn.create({name:he,providers:[{provide:On.GBX,useValue:"platform"},{provide:Ao,useValue:new Set([()=>W=null])},...be]})}(be);return W=he,(0,Tn.ypd)(),function on(be){const he=be.get(Tn.PLl,null);(0,On.N4e)(be,()=>{he?.forEach(Ie=>Ie())})}(he),he}(ot),pn=[(0,Tn.SdI)({}),{provide:On.hk6,useExisting:Tn.Ts$},On.gv8,...Ie||[]];return function Se(be){const he=Pe(be)?be.r3Injector:be.moduleRef.injector,Ie=he.get(Tn.SKi);return Ie.run(()=>
430{Pe(be)?be.r3Injector.resolveInjectorInitializers():be.moduleRef.resolveInjectorInitializers();const ot=he.get(On.ZTf);let Nt;if(Ie.runOutsideAngular(()=>{Nt=Ie.onError.subscribe({next:ot})}),Pe(be)){const $t=()=>he.destroy(),pn=be.platformInjector.get(Ao);pn.add($t),he.onDestroy(()=>{Nt.unsubscribe(),pn.delete($t)})}else{const $t=()=>be.moduleRef.destroy(),pn=be.platformInjector.get(Ao);pn.add($t),be.moduleRef.onDestroy(()=>{(0,Tn.TFI)(be.allPlatformModules,be.moduleRef),Nt.unsubscribe(),pn.delete($t)})}return function oe(be,he,Ie){try{const ot=Ie();return(0,Tn.yLl)(ot)?ot.catch(Nt=>{throw he.runOutsideAngular(()=>be(Nt)),Nt}):ot}catch(ot){throw he.runOutsideAngular(()=>be(ot)),ot}}(ot,Ie,()=>{const $t=he.get(On.rev),pn=$t.add(),Ln=he.get(Tn.H1s);return Ln.runInitializers(),Ln.donePromise.then(()=>{const tr=he.get(Tn.xe9,Tn.DkB);if((0,Tn.e6s)(tr||Tn.DkB),!he.get(Wo,!0))return Pe(be)?he.get(Tn.o8S):(be.allPlatformModules.push(be.moduleRef),be.moduleRef);if(Pe(be)){const Qr=he.get(Tn.o8S);return void 0!==be.rootComponent&&Qr.bootstrap(be.rootComponent),Qr}return be.moduleRef}).finally(()=>{$t.remove(pn)})})})}({r3Injector:new Tn.bH1({providers:pn,parent:$t,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:$t,rootComponent:he})}catch($t){return Promise.reject($t)}finally{(0,Tn.Ef8)(9)}}function B(be){return"boolean"==typeof be?be:null!=be&&"false"!==be}function K(be,he=NaN){return isNaN(parseFloat(be))||isNaN(Number(be))?he:Number(be)}const na=Symbol("NOT_SET"),bi=new Set,Ws={...mr.s0,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:na,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(null===this.sequence.lastPhase||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(be){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==na&&!(0,mr.si)(this))return this.signal;try{for(const Nt of this.cleanup??bi)Nt()}finally{this.cleanup?.clear()}const he=[];void 0!==be&&he.push(be),he.push(this.registerCleanupFn);const Ie=(0,mr.Bg)(this);let ot;try{ot=this.userFn.apply(null,he)}finally{(0,mr.Wu)(this,Ie)}return(this.value===na||!this.equal(this.value,ot))&&(this.value=ot,this.version++),this.signal}};class Es extends Tn._ys{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(he,Ie,ot,Nt,$t,pn=null){super(he,[void 0,void 0,void 0,void 0],ot,!1,$t.get(On.abz),pn),this.scheduler=Nt;for(const Ln of Tn.zoo){const tr=Ie[Ln];if(void 0===tr)continue;const pr=Object.create(Ws);pr.sequence=this,pr.phase=Ln,pr.userFn=tr,pr.dirty=!0,pr.signal=()=>((0,mr.mK)(pr),pr.value),pr.signal[mr.bh]=pr,pr.registerCleanupFn=Qr=>(pr.cleanup??=new Set).add(Qr),this.nodes[Ln]=pr,this.hooks[Ln]=Qr=>pr.phaseFn(Qr)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(const he of this.nodes)if(he)try{for(const Ie of he.cleanup??bi)Ie()}finally{(0,mr.XR)(he)}}}function ba(be,he){const Ie=he?.injector??(0,On.WQX)(On.zZn),ot=Ie.get(On.hk6),Nt=Ie.get(Tn.cf$),$t=Ie.get(Tn.a8H,null,{optional:!0});Nt.impl??=Ie.get(Tn.ziy);let pn=be;"function"==typeof pn&&(pn={mixedReadWrite:be});const Ln=Ie.get(On.r4V,null,{optional:!0}),tr=new Es(Nt.impl,[pn.earlyRead,pn.write,pn.mixedReadWrite,pn.read],Ln?.view,ot,Ie,$t?.snapshot(null));return Nt.impl.register(tr),tr}function Rs(be,he){const Ie=(0,On.xUg)(be),ot=he.elementInjector||(0,On.WB9)();return new Tn.eHC(Ie).create(ot,he.projectableNodes,he.hostElement,he.environmentInjector,he.directives,he.bindings)}function Ra(be){const he=(0,On.xUg)(be);if(!he)return null;const Ie=new Tn.eHC(he);return{get selector(){return Ie.selector},get type(){return Ie.componentType},get inputs(){return Ie.inputs},get outputs(){return Ie.outputs},get ngContentSelectors(){return Ie.ngContentSelectors},get isStandalone(){return he.standalone},get isSignal(){return he.signals}}}function Vs(...be){return be.reduce((he,Ie)=>Object.assign(he,Ie,{providers:[...he.providers,...Ie.providers]}),{providers:[]})}const ra=new On.nKC("",{providedIn:"platform",factory:()=>null}),Hs=new On.nKC("",{providedIn:"platform",factory:()=>null}),oa=new On.nKC("",{providedIn:"platform",factory:()=>null})},47606(ye,A,n){n.d(A,{$C:()=>jv,$Ln:()=>AE,$dS:()=>Ad,AVh:()=>l_,Ab1:()=>dc,Aen:()=>qC,Agw:()=>oi,Avn:()=>Jm,B1s:()=>Cd,B4B:()=>iu,BIS:()=>Hi,BMQ:()=>xm,C4Q:()=>nc,C5r:()=>ny,C6U:()=>VC,C7A:()=>hE,Co$:()=>Uv,CsU:()=>nM,DH7:()=>T0,DNE:()=>Cm,DUP:()=>Ys,DkB:()=>qm,Dyx:()=>cC,E5c:()=>f_,EBC:()=>Nd,EFF:()=>l0,EJ8:()=>Hv,Ef8:()=>$n,FsC:()=>Vv,FuF:()=>CD,G5x:()=>gu,GBs:()=>WC,H1s:()=>NE,HbH:()=>e0,HdQ:()=>QE,Hgh:()=>Gm,JRh:()=>d_,Jt5:()=>fC,Jv_:()=>N0,KED:()=>XI,KSk:()=>XE,LHq:()=>p_,LVR:()=>KE,Lme:()=>h_,NAR:()=>BC,NCX:()=>hl,NOj:()=>Bd,NSC:()=>Nl,NYb:()=>rM,NyB:()=>$C,OA$:()=>bn,OR8:()=>O,Ocv:()=>EP,Ol2:()=>mm,PLl:()=>ts,PYC:()=>Yf,PYt:()=>Bv,PeT:()=>ym,QR4:()=>ed,QTQ:()=>Rr,Ql9:()=>pP,R50:()=>g_,R7$:()=>Kd,RPW:()=>Zi,RV6:()=>dC,SKi:()=>oo,SS7:()=>__,SdG:()=>UC,SdI:()=>yy,SpI:()=>Bf,SqE:()=>mv,TFI:()=>gf,Ts$:()=>My,UQu:()=>hP,V5L:()=>
430Cy,VBU:()=>Wv,VeQ:()=>$i,VkB:()=>R0,Vm6:()=>iC,Vt3:()=>_m,VwU:()=>r_,VzW:()=>RD,WPN:()=>Qs,WeM:()=>mu,XpG:()=>wC,Xx1:()=>An,Y8G:()=>Hm,YEm:()=>zo,Z7z:()=>aC,Zhj:()=>DD,_9s:()=>$u,_9u:()=>Di,_jY:()=>Zo,_qm:()=>ei,_ys:()=>ih,a8H:()=>Qa,aCM:()=>Cs,aKT:()=>Eo,ai1:()=>S0,bH1:()=>Fv,bH3:()=>P0,bIt:()=>n_,bMT:()=>J0,bVm:()=>nd,bkB:()=>Os,brH:()=>q0,c1b:()=>of,cDI:()=>gO,cZr:()=>I_,cdK:()=>SE,cf$:()=>Jc,czy:()=>Gc,d80:()=>gP,dOL:()=>PE,dfE:()=>_p,e6s:()=>mT,eHC:()=>rf,eq3:()=>B0,eu8:()=>Xm,eux:()=>Pf,f$h:()=>ka,fX1:()=>sC,g25:()=>GE,gXe:()=>qt,giA:()=>bE,gil:()=>qi,hnC:()=>ED,i5U:()=>Z0,iJd:()=>ty,iLQ:()=>xE,iWE:()=>Ss,ii3:()=>ey,j41:()=>Mf,k0s:()=>Tf,kBR:()=>Zm,kS0:()=>Nr,kdw:()=>Fr,l4e:()=>j0,lJ4:()=>w0,lJT:()=>wE,lV:()=>H0,l_i:()=>U0,lsd:()=>jC,mGM:()=>kC,mNQ:()=>b0,mU9:()=>vD,mal:()=>ma,mxI:()=>m_,n$t:()=>Ha,nI1:()=>Y0,nI4:()=>qc,nVh:()=>rC,npT:()=>ou,nrm:()=>Km,nv$:()=>$E,o8S:()=>pf,ozJ:()=>rm,p2i:()=>Ua,pJN:()=>Vo,phd:()=>iM,pl0:()=>sM,qex:()=>Af,qhs:()=>zE,r8f:()=>A0,rAh:()=>Ed,rOR:()=>Co,rXU:()=>Cr,rj2:()=>If,s1E:()=>k0,sFG:()=>qg,sGs:()=>V0,sMw:()=>F0,sZ2:()=>ri,sdS:()=>KC,sgu:()=>TD,tSv:()=>Ld,tvf:()=>Us,uiO:()=>Dr,utN:()=>jy,vDg:()=>hv,vZN:()=>Df,vxM:()=>oC,vzT:()=>td,w6W:()=>bD,wEZ:()=>HC,wni:()=>FC,wr$:()=>Fi,xGo:()=>Jr,xc7:()=>c_,xe9:()=>Ty,yLl:()=>RE,ypd:()=>aM,zJS:()=>$0,ziG:()=>W0,ziy:()=>oh,zoo:()=>Ls,zw6:()=>Mi});var an=n(56207),s=n(17988),mt=n(45478),Wt=n(81502),jt=n(68639),sn=n(24406);function Lt(e){return{toString:e}.toString()}const vn="__annotations__",wt="__parameters__",cn="__prop__metadata__";function Ct(e,t,r,i,a){return Lt(()=>{const d=Mn(t);function _(...b){if(this instanceof _)return d.call(this,...b),this;const U=new _(...b);return function(ve){return a&&a(ve,...b),(ve.hasOwnProperty(vn)?ve[vn]:Object.defineProperty(ve,vn,{value:[]})[vn]).push(U),ve}}return r&&(_.prototype=Object.create(r.prototype)),_.prototype.ngMetadataName=e,_.annotationCls=_,_})}function Mn(e){return function(...r){if(e){const i=e(...r);for(const a in i)this[a]=i[a]}}}function Ut(e,t,r){return Lt(()=>{const i=Mn(t);function a(...d){if(this instanceof a)return i.apply(this,d),this;const _=new a(...d);return b.annotation=_,b;function b(U,ie,ve){const We=U.hasOwnProperty(wt)?U[wt]:Object.defineProperty(U,wt,{value:[]})[wt];for(;We.length<=ve;)We.push(null);return(We[ve]=We[ve]||[]).push(_),U}}return a.prototype.ngMetadataName=e,a.annotationCls=a,a})}const In=(0,s.z6V)(Ut("Inject",e=>({token:e})),-1),An=(0,s.z6V)(Ut("Optional"),8),Xn=(0,s.z6V)(Ut("Self"),2),Fr=(0,s.z6V)(Ut("SkipSelf"),4),Pr=(0,s.z6V)(Ut("Host"),1);function Dr(e){const t=s.laP.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const wr={\u0275\u0275defineInjectable:s.jDH,\u0275\u0275defineInjector:s.G2t,\u0275\u0275inject:s.KVO,\u0275\u0275invalidFactoryDep:s.dmw,resolveForwardRef:s.nl4},jn=Function;function Sr(e){return"function"==typeof e}const Ve=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Ae=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,$e=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,gt=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class ln{_reflect;constructor(t){this._reflect=t||s.laP.Reflect}factory(t){return(...r)=>new t(...r)}_zipTypesAndAnnotations(t,r){let i;i=(0,s.WfI)(typeof t>"u"?r.length:t.length);for(let a=0;a<i.length;a++)i[a]=typeof t>"u"?[]:t[a]&&t[a]!=Object?[t[a]]:[],r&&null!=r[a]&&(i[a]=i[a].concat(r[a]));return i}_ownParameters(t,r){if(function Kt(e){return Ve.test(e)||gt.test(e)||Ae.test(e)&&!$e.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==r.parameters)return t.parameters;const a=t.ctorParameters;if(a&&a!==r.ctorParameters){const b="function"==typeof a?a():a,U=b.map(ve=>ve&&ve.type),ie=b.map(ve=>ve&&un(ve.decorators));return this._zipTypesAndAnnotations(U,ie)}const d=t.hasOwnProperty(wt)&&t[wt],_=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return _||d?this._zipTypesAndAnnotations(_,d):(0,s.WfI)(t.length)}parameters(t){if(!Sr(t))return[];const r=nn(t);let i=this._ownParameters(t,r);return!i&&r!==Object&&(i=this.parameters(r)),i||[]}_ownAnnotations(t,r){if(t.annotations&&t.annotations!==r.annotations){let i=t.annotations;return"function"==typeof i&&i.annotations&&(i=i.annotations),i}return t.decorators&&t.decorators!==r.decorators?un(t.decorators):t.hasOwnProperty(vn)?t[vn]:null}annotations(t){if(!Sr(t))return[];const r=nn(t),i=this._ownAnnotations(t,r)||[];return(r!==Object?this.annotations(r):[]).concat(i)}_ownPropMetadata(t,r){if(t.propMetadata&&t.propMetadata!==r.propMetadata){let i=t.propMetadata;return"function"==typeof i&&i.propMetadata&&(i=i.propMetadata),i}if(t.propDecorators&&t.propDecorators!==r.propDecorators){const i=t.propDecorators,a={};
430return Object.keys(i).forEach(d=>{a[d]=un(i[d])}),a}return t.hasOwnProperty(cn)?t[cn]:null}propMetadata(t){if(!Sr(t))return{};const r=nn(t),i={};if(r!==Object){const d=this.propMetadata(r);Object.keys(d).forEach(_=>{i[_]=d[_]})}const a=this._ownPropMetadata(t,r);return a&&Object.keys(a).forEach(d=>{const _=[];i.hasOwnProperty(d)&&_.push(...i[d]),_.push(...a[d]),i[d]=_}),i}ownPropMetadata(t){return Sr(t)&&this._ownPropMetadata(t,nn(t))||{}}hasLifecycleHook(t,r){return t instanceof jn&&r in t.prototype}}function un(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function nn(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}class Rt{previousValue;currentValue;firstChange;constructor(t,r,i){this.previousValue=t,this.currentValue=r,this.firstChange=i}isFirstChange(){return this.firstChange}}function Xt(e,t,r,i){null!==t?t.applyValueToInputSignal(t,i):e[r]=i}const bn=(()=>{const e=()=>Er;return e.ngInherit=!0,e})();function Er(e){return e.type.prototype.ngOnChanges&&(e.setInput=ar),Fn}function Fn(){const e=Qn(this),t=e?.current;if(t){const r=e.previous;if(r===s.MZA)e.previous=t;else for(let i in t)r[i]=t[i];e.current=null,this.ngOnChanges(t)}}function ar(e,t,r,i,a){const d=this.declaredInputs[i],_=Qn(e)||function vr(e,t){return e[Yn]=t}(e,{previous:s.MZA,current:null}),b=_.current||(_.current={}),U=_.previous,ie=U[d];b[d]=new Rt(ie&&ie.currentValue,r,U===s.MZA),Xt(e,t,a,r)}const Yn="__ngSimpleChanges__";function Qn(e){return e[Yn]||null}const qn=[],$n=function(e,t=null,r){for(let i=0;i<qn.length;i++)(0,qn[i])(e,t,r)};function Mr(e,t){for(let r=t.directiveStart,i=t.directiveEnd;r<i;r++){const d=e.data[r].type.prototype,{ngAfterContentInit:_,ngAfterContentChecked:b,ngAfterViewInit:U,ngAfterViewChecked:ie,ngOnDestroy:ve}=d;_&&(e.contentHooks??=[]).push(-r,_),b&&((e.contentHooks??=[]).push(r,b),(e.contentCheckHooks??=[]).push(r,b)),U&&(e.viewHooks??=[]).push(-r,U),ie&&((e.viewHooks??=[]).push(r,ie),(e.viewCheckHooks??=[]).push(r,ie)),null!=ve&&(e.destroyHooks??=[]).push(r,ve)}}function lr(e,t,r){zr(e,t,3,r)}function Wr(e,t,r,i){(3&e[s.Wg1])===r&&zr(e,t,r,i)}
430function or(e,t){let r=e[s.Wg1];(3&r)===t&&(r&=16383,r+=1,e[s.Wg1]=r)}function zr(e,t,r,i){const d=i??-1,_=t.length-1;let b=0;for(let U=void 0!==i?65535&e[s.wVl]:0;U<_;U++)if("number"==typeof t[U+1]){if(b=t[U],null!=i&&b>=i)break}else t[U]<0&&(e[s.wVl]+=65536),(b<d||-1==d)&&(ct(e,r,t,U),e[s.wVl]=(4294901760&e[s.wVl])+U+2),U++}function go(e,t){$n(4,e,t);const r=(0,mt.Ht)(null);try{t.call(e)}finally{(0,mt.Ht)(r),$n(5,e,t)}}function ct(e,t,r,i){const a=r[i]<0,d=r[i+1],b=e[a?-r[i]:r[i]];a?e[s.Wg1]>>14<e[s.wVl]>>16&&(3&e[s.Wg1])===t&&(e[s.Wg1]+=16384,go(b,d)):go(b,d)}const $=-1;class ue{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,r,i,a){this.factory=t,this.name=a,this.canSeeViewProviders=r,this.injectImpl=i}}function Oe(e){return null!=e&&"object"==typeof e&&(null===e.insertBeforeIndex||"number"==typeof e.insertBeforeIndex||Array.isArray(e.insertBeforeIndex))}function It(e){return 3===e||4===e||6===e}function dn(e){return 64===e.charCodeAt(0)}function fn(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let r=-1;for(let i=0;i<t.length;i++){const a=t[i];"number"==typeof a?r=a:0===r||gn(e,r,a,0,-1===r||2===r?t[++i]:null)}}return e}function gn(e,t,r,i,a){let d=0,_=e.length;if(-1===t)_=-1;else for(;d<e.length;){const b=e[d++];if("number"==typeof b){if(b===t){_=-1;break}if(b>t){_=d-1;break}}}for(;d<e.length;){const b=e[d];if("number"==typeof b)break;if(b===r)return void(null!==a&&(e[d+1]=a));d++,null!==a&&d++}-1!==_&&(e.splice(_,0,t),d=_+1),e.splice(d++,0,r),null!==a&&e.splice(d++,0,a)}function ir(e){return e!==$}function rr(e){return 32767&e}function gr(e,t){let r=function dr(e){return e>>16}(e),i=t;for(;r>0;)i=i[s.X5O],r--;return i}let Br=!0;function st(e){const t=Br;return Br=e,t}let xn=0;const Rn={};function Ir(e,t){const r=Tr(e,t);if(-1!==r)return r;const i=t[s.eDl];i.firstCreatePass&&(e.injectorIndex=t.length,Hr(i.data,e),Hr(t,null),Hr(i.blueprint,null));const a=Lr(e,t),d=e.injectorIndex;if(ir(a)){const _=rr(a),b=gr(a,t),U=b[s.eDl].data;for(let ie=0;ie<8;ie++)t[d+ie]=b[_+ie]|U[_+ie]}return t[d+8]=a,d}function Hr(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Tr(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Lr(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let r=0,i=null,a=t;for(;null!==a;){if(i=co(a),null===i)return $;if(r++,a=a[s.X5O],-1!==i.injectorIndex)return i.injectorIndex|r<<16}return $}function eo(e,t,r){!function wn(e,t,r){let i;"string"==typeof r?i=r.charCodeAt(0)||0:r.hasOwnProperty(s.p9y)&&(i=r[s.p9y]),null==i&&(i=r[s.p9y]=xn++);const a=255&i;t.data[e+(a>>5)]|=1<<a}(e,t,r)}function mr(e,t,r){if(8&r||void 0!==e)return e;(0,s.$Hz)(t,"NodeInjector")}function Tn(e,t,r,i){if(8&r&&void 0===i&&(i=null),!(3&r)){const a=e[s.YEL],d=(0,s.a2B)(void 0);try{return a?a.get(t,i,8&r):(0,s.MzJ)(t,i,8&r)}finally{(0,s.a2B)(d)}}return mr(i,t,r)}function Yr(e,t,r,i=0,a){if(null!==e){if(2048&t[s.Wg1]&&!(2&i)){const _=function kr(e,t,r,i,a){let d=e,_=t;for(;null!==d&&null!==_&&2048&_[s.Wg1]&&!(0,s.EFk)(_);){const b=de(d,_,r,2|i,Rn);if(b!==Rn)return b;let U=d.parent;if(!U){const ie=_[s.oMQ];if(ie){const ve=ie.get(r,Rn,i);if(ve!==Rn)return ve}U=co(_),_=_[s.X5O]}d=U}return a}(e,t,r,i,Rn);if(_!==Rn)return _}const d=de(e,t,r,i,Rn);if(d!==Rn)return d}return Tn(t,r,i,a)}function de(e,t,r,i,a){const d=function kt(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(s.p9y)?e[s.p9y]:void 0;return"number"==typeof t?t>=0?255&t:sr:t}(r);if("function"==typeof d){if(!(0,s.ihb)(t,e,i))return 1&i?mr(a,r,i):Tn(t,r,i,a);try{let _;if(_=d(i),null!=_||8&i)return _;(0,s.$Hz)(r)}finally{(0,s.niQ)()}}else if("number"==typeof d){let _=null,b=Tr(e,t),U=$,ie=1&i?t[s.b5C][s.qlT]:null;for((-1===b||4&i)&&(U=-1===b?Lr(e,t):t[b+8],U!==$&&Nn(i,!1)?(_=t[s.eDl],b=rr(U),t=gr(U,t)):b=-1);-1!==b;){const ve=t[s.eDl];if(tn(d,b,ve.data)){const We=Je(b,t,r,_,i,ie);if(We!==Rn)return We}U=t[b+8],U!==$&&Nn(i,t[s.eDl].data[b+8]===ie)&&tn(d,b,t)?(_=ve,b=rr(U),t=gr(U,t)):b=-1}}return a}function Je(e,t,r,i,a,d){const _=t[s.eDl],b=_.data[e+8],ve=Ee(b,_,r,null==i?(0,s.Qs1)(b)&&Br:i!=_&&!!(3&b.type),1&a&&d===b);return null!==ve?ft(t,_,ve,b,a):Rn}function Ee(e,t,r,i,a){const d=e.providerIndexes,_=t.data,b=1048575&d,U=e.directiveStart,ve=d>>20,dt=a?b+ve:e.directiveEnd;for(let ht=i?b:b+ve;ht<dt;ht++){const Qt=_[ht];if(ht<U&&r===Qt||ht>=U&&Qt.type===r)return ht}if(a){const ht=_[U];if(ht&&(0,s.JlV)(ht)&&ht.type===r)return U}return null}function ft(e,t,r,i,a){let d=e[r];const _=t.data;if(d instanceof ue){const b=d;if(b.resolving){const ht=(0,s.PP7)(_[r]);throw(0,s.PQT)(ht)}const U=st(b.canSeeViewProviders);b.resolving=!0;const We=b.injectImpl?(0,s.a2B)(b.injectImpl):null;(0,s.ihb)(e,i,0);try{d=e[r]=b.factory(void 0,a,_,e,i),t.firstCreatePass&&r>=i.directiveStart&&function Or(e,t,r){const{ngOnChanges:i,ngOnInit:a,ngDoCheck:d}=t.type.prototype;if(i){const _=Er(t);(r.preOrderHooks??=[]).push(e,_),(r.preOrderCheckHooks??=[]).push(e,_)}
430a&&(r.preOrderHooks??=[]).push(0-e,a),d&&((r.preOrderHooks??=[]).push(e,d),(r.preOrderCheckHooks??=[]).push(e,d))}(r,_[r],t)}finally{null!==We&&(0,s.a2B)(We),st(U),b.resolving=!1,(0,s.niQ)()}}return d}function tn(e,t,r){return!!(r[t+(e>>5)]&1<<e)}function Nn(e,t){return!(2&e||1&e&&t)}class Wn{_tNode;_lView;constructor(t,r){this._tNode=t,this._lView=r}get(t,r,i){return Yr(this._tNode,this._lView,t,(0,s.hjC)(i),r)}}function sr(){return new Wn((0,s.Mx4)(),(0,s.OAn)())}function Jr(e){return Lt(()=>{const t=e.prototype.constructor,r=t[s.zSs]||Ar(t),i=Object.prototype;let a=Object.getPrototypeOf(e.prototype).constructor;for(;a&&a!==i;){const d=a[s.zSs]||Ar(a);if(d&&d!==r)return d;a=Object.getPrototypeOf(a)}return d=>new d})}function Ar(e){return(0,s.Jzi)(e)?()=>{const t=Ar((0,s.nl4)(e));return t&&t()}:(0,s.wGu)(e)}function co(e){const t=e[s.eDl],r=t.type;return 2===r?t.declTNode:1===r?e[s.qlT]:null}function Nr(e){return function On(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const r=e.attrs;if(r){const i=r.length;let a=0;for(;a<i;){const d=r[a];if(It(d))break;if(0===d)a+=2;else if("number"==typeof d)for(a++;a<i&&"string"==typeof r[a];)a++;else{if(d===t)return r[a+1];a+=2}}}return null}((0,s.Mx4)(),e)}const lo=Ut("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Nr(e)}));let uo=null;function to(e){return vo(function $r(){return uo=uo||new ln}().parameters(e))}function vo(e){return e.map(t=>function Go(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let r=0;r<e.length;r++){const i=e[r];if(void 0===i)continue;const a=Object.getPrototypeOf(i);if(i instanceof An||"Optional"===a.ngMetadataName)t.optional=!0;else if(i instanceof Fr||"SkipSelf"===a.ngMetadataName)t.skipSelf=!0;else if(i instanceof Xn||"Self"===a.ngMetadataName)t.self=!0;else if(i instanceof Pr||"Host"===a.ngMetadataName)t.host=!0;else if(i instanceof In)t.token=i.token;else if(i instanceof lo){if(void 0===i.attributeName)throw new s.buA(204,!1);t.attribute=i.attributeName}else t.token=i}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}const mo=(0,s.kLh)({provide:String,useValue:s.kLh});function Oo(e){return void 0!==e.useClass}function Qo(e){return void 0!==e.useFactory}const ei=Ct("Injectable",void 0,void 0,0,(e,t)=>function Zr(e,t){let r=null,i=null;e.hasOwnProperty(s.yAH)||Object.defineProperty(e,s.yAH,{get:()=>(null===r&&(r=Dr().compileInjectable(wr,`ng:///${e.name}/\u0275prov.js`,function Kr(e,t){const r=t||{providedIn:null},i={name:e.name,type:e,typeArgumentCount:0,providedIn:r.providedIn};return(Oo(r)||Qo(r))&&void 0!==r.deps&&(i.deps=vo(r.deps)),Oo(r)?i.useClass=r.useClass:function Fo(e){return mo in e}(r)?i.useValue=r.useValue:Qo(r)?i.useFactory=r.useFactory:function Si(e){return void 0!==e.useExisting}(r)&&(i.useExisting=r.useExisting),i}(e,t))),r)}),e.hasOwnProperty(s.zSs)||Object.defineProperty(e,s.zSs,{get:()=>{if(null===i){const a=Dr();i=a.compileFactory(wr,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:to(e),target:a.FactoryTarget.Injectable})}return i},configurable:!0})}(e,t));function ai(){return Mo((0,s.Mx4)(),(0,s.OAn)())}function Mo(e,t){return new Eo((0,s.d31)(e,t))}let Eo=(()=>class e{nativeElement;constructor(r){this.nativeElement=r}static __NG_ELEMENT_ID__=ai})();function To(e){return e instanceof Eo?e.nativeElement:e}function Ur(){return this._results[Symbol.iterator]()}class Co{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Wt.B}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,r){return this._results.reduce(t,r)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,r){this.dirty=!1;const i=(0,s.Bqz)(t);(this._changesDetected=!(0,s.ng7)(this._results,i,r))&&(this._results=i,this.length=i.length,this.last=i[this.length-1],this.first=i[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Ur}function Wo(e){return!(128&~e.flags)}var rt=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(rt||{});const Mt=new Map;let St=0;function le(e){Mt.delete(e[s.ID])}const Gt="__ngContext__";function zt(e,t){(0,s.q$2)(t)?(e[Gt]=t[s.ID],function L(e){Mt.set(e[s.ID],e)}(t)):e[Gt]=t}function V(e){return lt(e[s.EJG])}function Me(e){return lt(e[s.K29])}function lt(e){for(;null!==e&&!(0,s.A0l)(e);)e=e[s.K29];return e}let Ci;function Di(e){Ci=e}function zo(){if(void 0!==Ci)return Ci;if(typeof document<"u")return document;
430throw new s.buA(210,!1)}const ri=new s.nKC("",{providedIn:"root",factory:()=>es}),es="ng",ts=new s.nKC(""),oi=new s.nKC("",{providedIn:"platform",factory:()=>"unknown"}),Hi=new s.nKC("",{providedIn:"root",factory:()=>zo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Oi={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},$i=new s.nKC("",{providedIn:"root",factory:()=>Oi});function Mi(e){return e}function hi(){const e=new Vo;return e.store=function ms(e,t){const r=e.getElementById(t+"-state");if(r?.textContent)try{return JSON.parse(r.textContent)}catch(i){console.warn("Exception while restoring TransferState for app "+t,i)}return{}}(zo(),(0,s.WQX)(ri)),e}let Vo=(()=>{class e{static \u0275prov=(0,s.jDH)({token:e,providedIn:"root",factory:hi});store={};onSerializeCallbacks={};get(r,i){return void 0!==this.store[r]?this.store[r]:i}set(r,i){this.store[r]=i}remove(r){delete this.store[r]}hasKey(r){return this.store.hasOwnProperty(r)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(r,i){this.onSerializeCallbacks[r]=i}toJson(){for(const r in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(r))try{this.store[r]=this.onSerializeCallbacks[r]()}catch(i){console.warn("Exception in onSerialize callback: ",i)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();const pi=new s.nKC("",{providedIn:"root",factory:()=>!1}),ls=new s.nKC(""),Us=new s.nKC(""),_s={passive:!0,capture:!0},Fs=new WeakMap,vs=new WeakMap,Xi=new WeakMap,B=["click","keydown"],K=["mouseenter","mouseover","focusin"];let k=null,Q=0;class me{callbacks=new Set;listener=()=>{for(const t of this.callbacks)t()}}function Ne(e,t){let r=vs.get(e);if(!r){r=new me,vs.set(e,r);for(const i of B)e.addEventListener(i,r.listener,_s)}return r.callbacks.add(t),()=>{const{callbacks:i,listener:a}=r;if(i.delete(t),0===i.size){vs.delete(e);for(const d of B)e.removeEventListener(d,a,_s)}}}function et(e,t){let r=Fs.get(e);if(!r){r=new me,Fs.set(e,r);for(const i of K)e.addEventListener(i,r.listener,_s)}return r.callbacks.add(t),()=>{const{callbacks:i,listener:a}=r;if(i.delete(t),0===i.size){for(const d of K)e.removeEventListener(d,a,_s);Fs.delete(e)}}}const bi=new s.nKC("");function Es(e){return!(32&~e.flags)}function Ie(e){let t=e._lView;return 2===t[s.eDl].type?null:((0,s.EFk)(t)&&(t=t[s.Yw1]),t)}function wo(e){return e.get(ls,!1,{optional:!0})}function _e(e,t){const r=e.contentQueries;if(null!==r){const i=(0,mt.Ht)(null);try{for(let a=0;a<r.length;a+=2){const _=r[a+1];if(-1!==_){const b=e.data[_];(0,s.GA0)(r[a]),b.contentQueries(2,t[_],_)}}}finally{(0,mt.Ht)(i)}}}function Ge(e,t,r){(0,s.GA0)(0);const i=(0,mt.Ht)(null);try{t(e,r)}finally{(0,mt.Ht)(i)}}function Ft(e,t,r){if((0,s.srX)(t)){const i=(0,mt.Ht)(null);try{const d=t.directiveEnd;for(let _=t.directiveStart;_<d;_++){const b=e.data[_];b.contentQueries&&b.contentQueries(1,r[_],_)}}finally{(0,mt.Ht)(i)}}}var qt=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(qt||{});let Rc,Sc;function md(){if(void 0===Rc&&(Rc=null,s.laP.trustedTypes))try{Rc=s.laP.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Rc}function hs(e){return md()?.createHTML(e)||e}function Xl(){if(void 0===Sc&&(Sc=null,s.laP.trustedTypes))try{Sc=s.laP.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Sc}function _d(e){return Xl()?.createHTML(e)||e}function zl(e){return Xl()?.createScript(e)||e}function vd(e){return Xl()?.createScriptURL(e)||e}class Ks{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${s.ok8})`}}class Gf extends Ks{getTypeName(){return"HTML"}}class Qf extends Ks{getTypeName(){return"Style"}}class Lc extends Ks{getTypeName(){return"Script"}}class Xf extends Ks{getTypeName(){return"URL"}}class zf extends Ks{getTypeName(){return"ResourceURL"}}function Cs(e){return e instanceof Ks?e.changingThisBreaksApplicationSecurity:e}function Ss(e,t){const r=function Yl(e){return e instanceof Ks&&e.getTypeName()||null}(e);if(null!=r&&r!==t){if("ResourceURL"===r&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${s.ok8})`)}return r===t}function Yf(e){return new Gf(e)}function Ed(e){return new Qf(e)}function Ua(e){return new Lc(e)}function Cd(e){return new Xf(e)}function Zi(e){return new zf(e)}function Jl(e){const t=new Zf(e);return function qf(){try{return!!(new window.DOMParser).parseFromString(hs(""),"text/html")}catch{return!1}}()?new Jf(t):t}class Jf{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const r=(new window.DOMParser).parseFromString(hs(t),"text/html").body;return null===r?this.inertDocumentHelper.getInertBodyElement(t):(r.firstChild?.remove(),r)}catch{return null}}}class Zf{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const r=this.inertDocument.createElement("template");return r.innerHTML=hs(t),r}}const ep=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function qi(e){return(e=String(e)).match(ep)?e:"unsafe:"+e}function fs(e){const t={};for(const r of e.split(","))t[r]=!0;return t}function ca(...e){const t={};for(const r of e)for(const i in r)r.hasOwnProperty(i)&&(t[i]=!0);return t}const fo=fs("area,br,col,hr,img,wbr"),yd=fs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Dd=fs("rp,rt"),Fa=ca(fo,ca(yd,fs("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ca(Dd,fs("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ca(Dd,yd)),ua=fs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Nc=ca(ua,fs("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,c
430olspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),fs("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),np=fs("script,style,template"),xc=ca(ua,fs("action,formaction,data,codebase"));class rp{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let r=t.firstChild,i=!0,a=[];for(;r;)if(r.nodeType===Node.ELEMENT_NODE?i=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,i&&r.firstChild)a.push(r),r=sp(r);else for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let d=ip(r);if(d){r=d;break}r=a.pop()}return this.buf.join("")}startElement(t){const r=Md(t).toLowerCase();if(!Fa.hasOwnProperty(r))return this.sanitizedSomething=!0,!np.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);const i=t.attributes;for(let a=0;a<i.length;a++){const d=i.item(a),_=d.name,b=_.toLowerCase();if(!Nc.hasOwnProperty(b)){this.sanitizedSomething=!0;continue}let U=d.value;ua[b]&&(U=qi(U)),this.buf.push(" ",_,'="',ql(U),'"')}return this.buf.push(">"),!0}endElement(t){const r=Md(t).toLowerCase();Fa.hasOwnProperty(r)&&!fo.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(t){this.buf.push(ql(t))}}function ip(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ro(t);return t}function sp(e){const t=e.firstChild;if(t&&function op(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw Ro(t);return t}function Md(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function Ro(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const wc=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Bc=/([^\#-~ |!])/g;function ql(e){return e.replace(/&/g,"&").replace(wc,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Bc,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let Uc;function Fi(e,t){let r=null;try{Uc=Uc||Jl(e);let i=t?String(t):"";r=Uc.getInertBodyElement(i);let a=5,d=i;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,i=d,d=r.innerHTML,r=Uc.getInertBodyElement(i)}while(i!==d);return hs((new rp).sanitizeChildren(eu(r)||r))}finally{if(r){const i=eu(r)||r;for(;i.firstChild;)i.firstChild.remove()}}}function eu(e){return"content"in e&&function Jo(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const Fc=/^>|^->|<!--|-->|--!>|<!-$/g,Gs=/(<|>)/g;function Wc(e,t){return e.createText(t)}function kc(e,t,r){e.setValue(t,r)}function jc(e,t){return e.createComment(function tu(e){return e.replace(Fc,t=>t.replace(Gs,"\u200b$1\u200b"))}(t))}function Vc(e,t,r){return e.createElement(t,r)}function ys(e,t,r,i,a){e.insertBefore(t,r,i,a)}function nu(e,t,r){e.appendChild(t,r)}function Td(e,t,r,i,a){null!==i?ys(e,t,r,i,a):nu(e,t,r)}function Wa(e,t,r,i){e.removeChild(null,t,r,i)}function Pd(e,t,r){const{mergedAttrs:i,classes:a,styles:d}=r;null!==i&&function yt(e,t,r){let i=0;for(;i<r.length;){const a=r[i];if("number"==typeof a){if(0!==a)break;i++;const d=r[i++],_=r[i++],b=r[i++];e.setAttribute(t,_,b,d)}else{const d=a,_=r[++i];dn(d)?e.setProperty(t,d,_):e.setAttribute(t,d,_),i++}}}(e,t,i),null!==a&&function ru(e,t,r){""===r?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}(e,t,a),null!==d&&function ap(e,t,r){e.setAttribute(t,"style",r)}(e,t,d)}var Qs=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Qs||{});function ou(e){const t=fa();return t?_d(t.sanitize(Qs.HTML,e)||""):Ss(e,"HTML")?_d(Cs(e)):Fi(zo(),(0,s.eFE)(e))}function Ad(e){const t=fa();return t?t.sanitize(Qs.STYLE,e)||"":Ss(e,"Style")?Cs(e):(0,s.eFE)(e)}function iu(e){const t=fa();return t?t.sanitize(Qs.URL,e)||"":Ss(e,"URL")?Cs(e):qi((0,s.eFE)(e))}function ka(e){const t=fa();if(t)return vd(t.sanitize(Qs.RESOURCE_URL,e)||"");if(Ss(e,"ResourceURL"))return vd(Cs(e));throw new s.buA(904,!1)}const ja=new Set(["embed","frame","iframe","media","script"]),Va=new Set(["base","link","script"]);function Ha(e,t,r){return function ha(e,t){return"src"===t&&ja.has(e)||"href"===t&&Va.has(e)||"xlink:href"===t&&"script"===e?k
430a:iu}(t,r)(e)}function fa(){const e=(0,s.OAn)();return e&&e[s.M0L].sanitizer}const Xs=new Set(["attributename"]),Rd={iframe:new Set(["sandbox","allow","allowfullscreen","referrerpolicy","csp","fetchpriority"]),animate:Xs,set:Xs,animatemotion:Xs,animatetransform:Xs};function Ld(e){return e.ownerDocument.defaultView}function Nd(e){return e.ownerDocument}function ps(e){return e instanceof Function?e():e}function _p(e){if(Bd(e),!(0,s.xUg)(e).standalone)throw new s.buA(907,`The ${(0,s.PP7)(e)} component is not marked as standalone, but Angular expects to have a standalone component here. Please make sure the ${(0,s.PP7)(e)} component has the \`standalone: true\` flag in the decorator.`)}function Bd(e){if(!(0,s.xUg)(e))throw new s.buA(906,`The ${(0,s.PP7)(e)} is not an Angular component, make sure it has the \`@Component\` decorator.`)}function vp(e,t,r){let i=e.length;for(;;){const a=e.indexOf(t,r);if(-1===a)return a;if(0===a||e.charCodeAt(a-1)<=32){const d=t.length;if(a+d===i||e.charCodeAt(a+d)<=32)return a}r=a+1}}const Fd="ng-template";function Ep(e,t,r,i){let a=0;if(i){for(;a<t.length&&"string"==typeof t[a];a+=2)if("class"===t[a]&&-1!==vp(t[a+1].toLowerCase(),r,0))return!0}else if(Ds(e))return!1;if(a=t.indexOf(1,a),a>-1){let d;for(;++a<t.length&&"string"==typeof(d=t[a]);)if(d.toLowerCase()===r)return!0}return!1}function Ds(e){return 4===e.type&&e.value!==Fd}function Wd(e,t,r){return t===(4!==e.type||r?e.value:Fd)}function Ri(e,t,r){let i=4;const a=e.attrs,d=null!==a?function au(e){for(let t=0;t<e.length;t++)if(It(e[t]))return t;return e.length}(a):0;let _=!1;for(let b=0;b<t.length;b++){const U=t[b];if("number"!=typeof U){if(!_)if(4&i){if(i=2|1&i,""!==U&&!Wd(e,U,r)||""===U&&1===t.length){if(Wi(i))return!1;_=!0}}else if(8&i){if(null===a||!Ep(e,a,U,r)){if(Wi(i))return!1;_=!0}}else{const ie=t[++b],ve=kd(U,a,Ds(e),r);if(-1===ve){if(Wi(i))return!1;_=!0;continue}if(""!==ie){let We;if(We=ve>d?"":a[ve+1].toLowerCase(),2&i&&ie!==We){if(Wi(i))return!1;_=!0}}}}else{if(!_&&!Wi(i)&&!Wi(U))return!1;if(_&&Wi(U))continue;_=!1,i=U|1&i}}return Wi(i)||_}function Wi(e){return!(1&e)}function kd(e,t,r,i){if(null===t)return-1;let a=0;if(i||!r){let d=!1;for(;a<t.length;){const _=t[a];if(_===e)return a;
430if(3===_||6===_)d=!0;else{if(1===_||2===_){let b=t[++a];for(;"string"==typeof b;)b=t[++a];continue}if(4===_)break;if(0===_){a+=4;continue}}a+=d?1:2}return-1}return function Cp(e,t){let r=e.indexOf(4);if(r>-1)for(r++;r<e.length;){const i=e[r];if("number"==typeof i)return-1;if(i===t)return r;r++}return-1}(t,e)}function jd(e,t,r=!1){for(let i=0;i<t.length;i++)if(Ri(e,t[i],r))return!0;return!1}function Vd(e,t){e:for(let r=0;r<t.length;r++){const i=t[r];if(e.length===i.length){for(let a=0;a<e.length;a++)if(e[a]!==i[a])continue e;return!0}}return!1}function $a(e,t){return e?":not("+t.trim()+")":t}function yp(e){let t=e[0],r=1,i=2,a="",d=!1;for(;r<e.length;){let _=e[r];if("string"==typeof _)if(2&i){const b=e[++r];a+="["+_+(b.length>0?'="'+b+'"':"")+"]"}else 8&i?a+="."+_:4&i&&(a+=" "+_);else""!==a&&!Wi(_)&&(t+=$a(d,a),a=""),i=_,d=d||!Wi(i);r++}return""!==a&&(t+=$a(d,a)),t}const ro={};function cu(e,t,r,i,a,d,_,b,U,ie,ve){const We=s.Yw1+i,dt=We+a,ht=function Hd(e,t){const r=[];for(let i=0;i<t;i++)r.push(i<e?null:ro);return r}(We,dt),Qt="function"==typeof ie?ie():ie;return ht[s.eDl]={type:e,blueprint:ht,template:r,queries:null,viewQuery:b,declTNode:t,data:ht.slice().fill(null,We),bindingStartIndex:We,expandoStartIndex:dt,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof d?d():d,pipeRegistry:"function"==typeof _?_():_,firstChild:null,schemas:U,consts:Qt,incompleteFirstPass:!1,ssrId:ve}}function $d(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=cu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function $c(e,t,r,i,a,d,_,b,U,ie,ve){const We=t.blueprint.slice();return We[s.jgP]=a,We[s.Wg1]=1228|i,(null!==ie||e&&2048&e[s.Wg1])&&(We[s.Wg1]|=2048),(0,s.HUe)(We),We[s.f7T]=We[s.X5O]=e,We[s.SKP]=r,We[s.M0L]=_||e&&e[s.M0L],We[s.GpT]=b||e&&e[s.GpT],We[s.YEL]=U||e&&e[s.YEL]||null,We[s.qlT]=d,We[s.ID]=function oe(){return St++}(),We[s.tcA]=ve,We[s.oMQ]=ie,We[s.b5C]=2==t.type?e[s.b5C]:We,We}function lu(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Ka(e,t,r,i){if(0===r)return-1;const a=t.length;for(let d=0;d<r;d++)t.push(i),e.blueprint.push(i),e.data.push(null);return a}function uu(e,t){return e[s.EJG]?e[s.Yrj][s.K29]=t:e[s.EJG]=t,e[s.Yrj]=t,t}function Kd(e=1){Gd((0,s.klJ)(),(0,s.OAn)(),(0,s._px)()+e,!1)}function Gd(e,t,r,i){if(!i)if(3&~t[s.Wg1]){const d=e.preOrderHooks;null!==d&&Wr(t,d,0,r)}else{const d=e.preOrderCheckHooks;null!==d&&lr(t,d,r)}(0,s.ypq)(r)}var Kc=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Kc||{});function Ga(e,t,r,i){const a=(0,mt.Ht)(null);try{const[d,_,b]=e.inputs[r];let U=null;0!==(_&Kc.SignalBased)&&(U=t[d][mt.bh]),null!==U&&void 0!==U.transformFn?i=U.transformFn(i):null!==b&&(i=b.call(t,i)),null!==e.setInput?e.setInput(t,U,i,r,d):Xt(t,U,d,i)}finally{(0,mt.Ht)(a)}}var Gc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Gc||{});let du;function hu(e,t){return du(e,t)}function Qc(e){if(!e)return 0;const t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function ga(e,t){return e.getPropertyValue(t).split(",").map(i=>i.trim())}function Qd(e,t){return void 0!==e&&e.duration>t.duration}function Xd(e){return(null!=e.animationName||null!=e.propertyName)&&e.duration>0}function zd(e,t,r){if(!r)return;const i=e.getAnimations();return 0===i.length?function Ap(e,t){const r=getComputedStyle(e),i=function Pp(e){const t=ga(e,"animation-name"),r=ga(e,"animation-delay"),i=ga(e,"animation-duration"),a={animationName:"",propertyName:void 0,duration:0};for(let d=0;d<t.length;d++){const _=Qc(r[d])+Qc(i[d]);_>a.duration&&(a.animationName=t[d],a.duration=_)}return a}(r),a=function Ip(e){const t=ga(e,"transition-property"),r=ga(e,"transition-duration"),i=ga(e,"transition-delay"),a={propertyName:"",duration:0,animationName:void 0};for(let d=0;d<t.length;d++){const _=Qc(i[d])+Qc(r[d]);_>a.duration&&(a.propertyName=t[d],a.duration=_)}return a}(r),d=i.duration>a.duration?i:a;Qd(t.get(e),d)||Xd(d)&&t.set(e,d)}(e,t):function bp(e,t,r){let i={animationName:void 0,propertyName:void 0,duration:0};for(const a of r){const d=a.effect?.getTiming(),_="number"==typeof d?.duration?d.duration:0;let U,ie,b=(d?.delay??0)+_;a.animationName?ie=a.animationName:U=a.transitionProperty,b>=i.duration&&(i={animationName:ie,propertyName:U,duration:b})}Qd(t.get(e),i)||Xd(i)&&t.set(e,i)}(e,t,i)}const Ys=new Set;var fu=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(fu||{});const Qa=new s.nKC(""),Yd=new Set;function Zo(e){Yd.has(e)||(Yd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}const Jd=!1,Os=class Rp extends Wt.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,(0,s.M6u)()&&(this.destroyRef=(0,s.WQX)(s.abz,{optional:!0})??void 0,this.pendingTasks=(0,s.WQX)(s.rev,{optional:!0})??void 0)}emit(t){const r=(0,mt.Ht)(null);try{super.next(t)}finally{(0,mt.Ht)(r)}}subscribe(t,r,i){let a=t,d=r||(()=>null),_=i;if(t&&"object"==typeof t){const U=t;a=U.next?.bind(U),d=U.error?.bind(U),_=U.complete?.bind(U)}this.__isAsync&&(d=this.wrapInTimeout(d),a&&(a=this.wrapInTimeout(a)),_&&(_=this.wrapInTimeout(_)));
430const b=super.subscribe({next:a,error:d,complete:_});return t instanceof jt.yU&&t.add(b),b}wrapInTimeout(t){return r=>{const i=this.pendingTasks?.add();setTimeout(()=>{try{t(r)}finally{void 0!==i&&this.pendingTasks?.remove(i)}})}}};function Zd(e){let t,r;function i(){e=s.lQ1;try{void 0!==r&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(r),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),i()}),"function"==typeof requestAnimationFrame&&(r=requestAnimationFrame(()=>{e(),i()})),()=>i()}function qd(e){return queueMicrotask(()=>e()),()=>{e=s.lQ1}}const pu="isAngularZone",Xc=pu+"_ID";let Sp=0;class oo{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Os(!1);onMicrotaskEmpty=new Os(!1);onStable=new Os(!1);onError=new Os(!1);constructor(t){const{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:a=!1,scheduleInRootZone:d=Jd}=t;if(typeof Zone>"u")throw new s.buA(908,!1);Zone.assertZonePatched();const _=this;_._nesting=0,_._outer=_._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(_._inner=_._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(_._inner=_._inner.fork(Zone.longStackTraceZoneSpec)),_.shouldCoalesceEventChangeDetection=!a&&i,_.shouldCoalesceRunChangeDetection=a,_.callbackScheduled=!1,_.scheduleInRootZone=d,function Np(e){const t=()=>{!function Lp(e){function t(){Zd(()=>{e.callbackScheduled=!1,Yc(e),e.isCheckStableRunning=!0,zc(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Yc(e))}(e)},r=Sp++;e._inner=e._inner.fork({name:"angular",properties:{[pu]:!0,[Xc]:r,[Xc+r]:!0},onInvokeTask:(i,a,d,_,b,U)=>{if(function xp(e){return rh(e,"__ignore_ng_zone__")}(U))return i.invokeTask(d,_,b,U);try{return eh(e),i.invokeTask(d,_,b,U)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===_.type||e.shouldCoalesceRunChangeDetection)&&t(),th(e)}},onInvoke:(i,a,d,_,b,U,ie)=>{try{return eh(e),i.invoke(d,_,b,U,ie)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function nh(e){return rh(e,"__scheduler_tick__")}(U)&&t(),th(e)}},onHasTask:(i,a,d,_)=>{i.hasTask(d,_),a===d&&("microTask"==_.change?(e._hasPendingMicrotasks=_.microTask,Yc(e),zc(e)):"macroTask"==_.change&&(e.hasPendingMacrotasks=_.macroTask))},onHandleError:(i,a,d,_)=>(i.handleError(d,_),e.runOutsideAngular(()=>e.onError.emit(_)),!1)})}(_)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(pu)}static assertInAngularZone(){if(!oo.isInAngularZone())throw new s.buA(909,!1)}static assertNotInAngularZone(){if(oo.isInAngularZone())throw new s.buA(909,!1)}run(t,r,i){return this._inner.run(t,r,i)}runTask(t,r,i,a){const d=this._inner,_=d.scheduleEventTask("NgZoneEvent: "+a,t,Xa,s.lQ1,s.lQ1);try{return d.runTask(_,r,i)}finally{d.cancelTask(_)}}runGuarded(t,r,i){return this._inner.runGuarded(t,r,i)}runOutsideAngular(t){return this._outer.run(t)}}const Xa={};function zc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Yc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function eh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function th(e){e._nesting--,zc(e)}class za{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Os;onMicrotaskEmpty=new Os;onStable=new Os;onError=new Os;run(t,r,i){return t.apply(r,i)}runGuarded(t,r,i){return t.apply(r,i)}runOutsideAngular(t){return t()}runTask(t,r,i,a){return t.apply(r,i)}}function rh(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}function gu(e="zone.js",t){return"noop"===e?new za:"zone.js"===e?new oo(t):e}let Jc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=(0,s.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();const Ls=[0,1,2,3];let oh=(()=>{class e{ngZone=(0,s.WQX)(oo);
430scheduler=(0,s.WQX)(s.hk6);errorHandler=(0,s.WQX)(s.zcH,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){(0,s.WQX)(Qa,{optional:!0})}execute(){const r=this.sequences.size>0;r&&$n(16),this.executing=!0;for(const i of Ls)for(const a of this.sequences)if(!a.erroredOrDestroyed&&a.hooks[i])try{a.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,a.hooks[i])(a.pipelinedValue),a.snapshot))}catch(d){a.erroredOrDestroyed=!0,this.errorHandler?.handleError(d)}this.executing=!1;for(const i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(const i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),r&&$n(17)}register(r){const{view:i}=r;void 0!==i?((i[s.JEi]??=[]).push(r),(0,s.blu)(i),i[s.Wg1]|=8192):this.executing?this.deferredRegistrations.add(r):this.addSequence(r)}addSequence(r){this.sequences.add(r),this.scheduler.notify(7)}unregister(r){this.executing&&this.sequences.has(r)?(r.erroredOrDestroyed=!0,r.pipelinedValue=void 0,r.once=!0):(this.sequences.delete(r),this.deferredRegistrations.delete(r))}maybeTrace(r,i){return i?i.run(fu.AFTER_NEXT_RENDER,r):r()}static \u0275prov=(0,s.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();class ih{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,r,i,a,d,_=null){this.impl=t,this.hooks=r,this.view=i,this.once=a,this.snapshot=_,this.unregisterOnDestroy=d?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const t=this.view?.[s.JEi];t&&(this.view[s.JEi]=t.filter(r=>r!==this))}}function mu(e,t){const r=t?.injector??(0,s.WQX)(s.zZn);return Zo("NgAfterRender"),Zc(e,r,t,!1)}function ma(e,t){const r=t?.injector??(0,s.WQX)(s.zZn);return Zo("NgAfterNextRender"),Zc(e,r,t,!0)}function Zc(e,t,r,i){const a=t.get(Jc);a.impl??=t.get(oh);const d=t.get(Qa,null,{optional:!0}),_=!0!==r?.manualCleanup?t.get(s.abz):null,b=t.get(s.r4V,null,{optional:!0}),U=new ih(a.impl,function sh(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),b?.view,i,_,d?.snapshot(null));return a.impl.register(U),U}const qc={destroy(){}},el=new s.nKC("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function ah(e,t,r){const i=e.get(el);if(Array.isArray(t))for(const a of t)i.queue.add(a),r?.detachedLeaveAnimationFns?.push(a);else i.queue.add(t),r?.detachedLeaveAnimationFns?.push(t);i.scheduler&&i.scheduler(e)}function _u(e){const t=e.get(el);t.isScheduled||(ma(()=>{t.isScheduled=!1;for(let r of t.queue)r();t.queue.clear()},{injector:e}),t.isScheduled=!0)}function Ja(e){const t=e.get(el);t.scheduler=_u,t.scheduler(e)}function vu(e,t){for(const[r,i]of t)ah(e,i.animateFns)}function ch(e,t,r,i){const a=e?.[s.Isx]?.enter;null!==t&&a&&a.has(r.index)&&vu(i,a)}function _a(e,t,r,i,a,d,_,b){if(null!=a){let U,ie=!1;(0,s.A0l)(a)?U=a:(0,s.q$2)(a)&&(ie=!0,a=a[s.jgP]);const ve=(0,s.IvY)(a);0===e&&null!==i?(ch(b,i,d,r),null==_?nu(t,i,ve):ys(t,i,ve,_||null,!0)):1===e&&null!==i?(ch(b,i,d,r),ys(t,i,ve,_||null,!0)):2===e?dh(b,d,r,We=>{Wa(t,ve,ie,We)}):3===e&&dh(b,d,r,()=>{t.destroyNode(ve)}),null!=U&&function kp(e,t,r,i,a,d,_){const b=i[s.s6P];b!==(0,s.IvY)(i)&&_a(t,e,r,d,b,a,_);for(let ie=s.Y20;ie<i.length;ie++){const ve=i[ie];rl(ve[s.eDl],ve,e,t,d,b)}}(t,e,r,U,d,i,_)}}function lh(e,t){uh(e,t),t[s.jgP]=null,t[s.qlT]=null}function uh(e,t){t[s.M0L].changeDetectionScheduler?.notify(9),rl(e,t,t[s.GpT],2,null,null)}function Eu(e,t){const r=e[s.nfM],i=r.indexOf(t);r.splice(i,1)}function Za(e,t){if((0,s.EPY)(t))return;const r=t[s.GpT];r.destroyNode&&rl(e,t,r,3,null,null),function Bp(e){let t=e[s.EJG];if(!t)return Cu(e[s.eDl],e);for(;t;){let r=null;if((0,s.q$2)(t))r=t[s.EJG];else{const i=t[s.Y20];i&&(r=i)}if(!r){for(;t&&!t[s.K29]&&t!==e;)(0,s.q$2)(t)&&Cu(t[s.eDl],t),t=t[s.f7T];null===t&&(t=e),(0,s.q$2)(t)&&Cu(t[s.eDl],t),r=t&&t[s.K29]}t=r}}(t)}function Cu(e,t){if((0,s.EPY)(t))return;const r=(0,mt.Ht)(null);
430try{t[s.Wg1]&=-129,t[s.Wg1]|=256,t[s.Iaj]&&(0,mt.XR)(t[s.Iaj]),function yu(e,t){let r;if(null!=e&&null!=(r=e.destroyHooks))for(let i=0;i<r.length;i+=2){const a=t[r[i]];if(!(a instanceof ue)){const d=r[i+1];if(Array.isArray(d))for(let _=0;_<d.length;_+=2){const b=a[d[_]],U=d[_+1];$n(4,b,U);try{U.call(b)}finally{$n(5,b,U)}}else{$n(4,a,d);try{d.call(a)}finally{$n(5,a,d)}}}}}(e,t),function Fp(e,t){const r=e.cleanup,i=t[s.VVG];if(null!==r)for(let _=0;_<r.length-1;_+=2)if("string"==typeof r[_]){const b=r[_+3];b>=0?i[b]():i[-b].unsubscribe(),_+=2}else r[_].call(i[r[_+1]]);null!==i&&(t[s.VVG]=null);const a=t[s.Czx];if(null!==a){t[s.Czx]=null;for(let _=0;_<a.length;_++)(0,a[_])()}const d=t[s.tQN];if(null!==d){t[s.tQN]=null;for(const _ of d)_.destroy()}}(e,t),1===t[s.eDl].type&&t[s.GpT].destroy();const i=t[s.rQE];if(null!==i&&(0,s.A0l)(t[s.f7T])){i!==t[s.f7T]&&Eu(i,t);const a=t[s.Ds7];null!==a&&a.detachView(e)}le(t)}finally{(0,mt.Ht)(r)}}function dh(e,t,r,i){const a=e?.[s.Isx];if(null==a||null==a.leave||!a.leave.has(t.index))return i(!1);e&&Ys.add(e),ah(r,()=>{if(a.leave&&a.leave.has(t.index)){const _=a.leave.get(t.index),b=[];if(_){for(let U=0;U<_.animateFns.length;U++){const ie=_.animateFns[U],{promise:ve}=ie();b.push(ve)}a.detachedLeaveAnimationFns=void 0}a.running=Promise.allSettled(b),function Up(e,t){const r=e[s.Isx]?.running;r?r.then(()=>{e[s.Isx].running=void 0,Ys.delete(e),t(!0)}):t(!1)}(e,i)}else e&&Ys.delete(e),i(!1)},a)}function Ms(e,t,r){return hh(e,t.parent,r)}function hh(e,t,r){let i=t;for(;null!==i&&168&i.type;)i=(t=i).parent;if(null===i)return r[s.jgP];if((0,s.Qs1)(i)){const{encapsulation:a}=e.data[i.directiveStart+i.componentOffset];if(a===qt.None||a===qt.Emulated)return null}return(0,s.d31)(i,r)}function tl(e,t,r){return ph(e,t,r)}function fh(e,t,r){return 40&e.type?(0,s.d31)(e,r):null}let Du,ph=fh;function gh(e,t){ph=e,Du=t}function Ou(e,t,r,i){const a=Ms(e,i,t),d=t[s.GpT],b=tl(i.parent||t[s.qlT],i,t);if(null!=a)if(Array.isArray(r))for(let U=0;U<r.length;U++)Td(d,a,r[U],b,!1);else Td(d,a,r,b,!1);void 0!==Du&&Du(d,i,t,r,a)}function Js(e,t){if(null!==t){const r=t.type;if(3&r)return(0,s.d31)(t,e);if(4&r)return nl(-1,e[t.index]);if(8&r){const i=t.child;if(null!==i)return Js(e,i);{const a=e[t.index];return(0,s.A0l)(a)?nl(-1,a):(0,s.IvY)(a)}}if(128&r)return Js(e,t.next);if(32&r)return hu(t,e)()||(0,s.IvY)(e[t.index]);{const i=mh(e,t);return null!==i?Array.isArray(i)?i[0]:Js((0,s._0$)(e[s.b5C]),i):Js(e,t.next)}}return null}function mh(e,t){return null!==t?e[s.b5C][s.qlT].projection[t.projection]:null}function nl(e,t){const r=s.Y20+e+1;if(r<t.length){const i=t[r],a=i[s.eDl].firstChild;if(null!==a)return Js(i,a)}return t[s.s6P]}function Mu(e,t,r,i,a,d,_){for(;null!=r;){const b=i[s.YEL];if(128===r.type){r=r.next;continue}const U=i[r.index],ie=r.type;if(_&&0===t&&(U&&zt((0,s.IvY)(U),i),r.flags|=2),!Es(r))if(8&ie)Mu(e,t,r.child,i,a,d,!1),_a(t,e,b,a,U,r,d,i);else if(32&ie){const ve=hu(r,i);let We;for(;We=ve();)_a(t,e,b,a,We,r,d,i);_a(t,e,b,a,U,r,d,i)}else 16&ie?_h(e,t,i,r,a,d):_a(t,e,b,a,U,r,d,i);r=_?r.projectionNext:r.next}}function rl(e,t,r,i,a,d){Mu(r,i,e.firstChild,t,a,d,!1)}function _h(e,t,r,i,a,d){const _=r[s.b5C],U=_[s.qlT].projection[i.projection];if(Array.isArray(U))for(let ie=0;ie<U.length;ie++)_a(t,e,r[s.YEL],a,U[ie],i,d,r);else{let ie=U;const ve=_[s.f7T];Wo(i)&&(ie.flags|=128),Mu(e,t,ie,ve,a,d,!0)}}function Tu(e,t,r,i,a){const d=(0,s._px)(),_=2&i;try{(0,s.ypq)(-1),_&&t.length>s.Yw1&&Gd(e,t,s.Yw1,!1),$n(_?2:0,a,r),r(i,a)}finally{(0,s.ypq)(d),$n(_?3:1,a,r)}}function ol(e,t,r){(function Gp(e,t,r){const i=r.directiveStart,a=r.directiveEnd;(0,s.Qs1)(r)&&function Mp(e,t,r){const i=(0,s.d31)(t,e),a=$d(r),d=e[s.M0L].rendererFactory,_=uu(e,$c(e,a,null,lu(r),i,t,null,d.createRenderer(i,r),null,null,null));e[t.index]=_}(t,r,e.data[i+r.componentOffset]),e.firstCreatePass||Ir(r,t);const d=r.initialInputs;for(let _=i;_<a;_++){const b=e.data[_],U=ft(t,e,_,r);zt(U,t),null!==d&&Yp(0,_-i,U,b,0,d),(0,s.JlV)(b)&&((0,s.KdJ)(r.index,t)[s.SKP]=ft(t,e,_,r))}})(e,t,r),!(64&~r.flags)&&function Qp(e,t,r){const i=r.directiveStart,a=r.directiveEnd,d=r.index,_=(0,s.Z9v)();try{(0,s.ypq)(d);for(let b=i;b<a;b++){const U=e.data[b],ie=t[b];(0,s.RZ9)(b),(null!==U.hostBindings||0!==U.hostVars||null!==U.hostAttrs)&&Xp(U,ie)}}finally{(0,s.ypq)(-1),(0,s.RZ9)(_)}}(e,t,r)}function Ns(e,t,r=s.d31){const i=t.localNames;if(null!==i){let a=t.index+1;for(let d=0;d<i.length;d+=2){const _=i[d+1],b=-1===_?r(t,e):e[_];e[a++]=b}}}let vh=()=>null;function Pu(e,t,r,i,a,d){qa(e,t[s.eDl],t,r,i)?(0,s.Qs1)(e)&&Eh(t,e.index):(3&e.type&&(r=function Kp(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r)),Au(e,t,r,i,a,d))}function Au(e,t,r,i,a,d){if(3&e.type){const _=(0,s.d31)(e,t);
430i=null!=d?d(i,e.value||"",r):i,a.setProperty(_,r,i)}}function Eh(e,t){const r=(0,s.KdJ)(t,e);16&r[s.Wg1]||(r[s.Wg1]|=64)}function Xp(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function bu(e,t){const r=e.directiveRegistry;let i=null;if(r)for(let a=0;a<r.length;a++){const d=r[a];jd(t,d.selectors,!1)&&(i??=[],(0,s.JlV)(d)?i.unshift(d):i.push(d))}return i}function il(e,t,r,i,a,d,_){if(null==d)e.removeAttribute(t,a,r);else{const b=null==_?(0,s.eFE)(d):_(d,i||"",a);e.setAttribute(t,a,b,r)}}function Yp(e,t,r,i,a,d){const _=d[t];if(null!==_)for(let b=0;b<_.length;b+=2)Ga(i,r,_[b],_[b+1])}function sl(e,t,r,i,a){const d=s.Yw1+r,_=t[s.eDl],b=a(_,t,e,i,r);t[d]=b,(0,s.iMd)(e,!0);const U=2===e.type;return U?(Pd(t[s.GpT],b,e),(0===(0,s.znI)()||(0,s.yoD)(e))&&zt(b,t),(0,s.Fje)()):zt(b,t),(0,s.SX7)()&&(!U||!Es(e))&&Ou(_,t,b,e),e}function al(e){let t=e;return(0,s.YWB)()?(0,s.Pfq)():(t=t.parent,(0,s.iMd)(t,!1)),t}function yh(e,t,r){return(null===e||(0,s.JlV)(e))&&(r=(0,s.zAe)(r[t.index])),r[s.GpT]}function Ru(e,t){const r=e[s.YEL];if(!r)return;let i;try{i=r.get(s.ZTf,null)}catch{i=null}i?.(t)}function qa(e,t,r,i,a){const d=e.inputs?.[i],_=e.hostDirectiveInputs?.[i];let b=!1;if(_)for(let U=0;U<_.length;U+=2){const ie=_[U];Ga(t.data[ie],r[ie],_[U+1],a),b=!0}if(d)for(const U of d)Ga(t.data[U],r[U],i,a),b=!0;return b}function Zp(e,t){const r=(0,s.KdJ)(t,e),i=r[s.eDl];!function qp(e,t){for(let r=t.length;r<e.blueprint.length;r++)t.push(e.blueprint[r])}(i,r);const a=r[s.jgP];null!==a&&null===r[s.tcA]&&(r[s.tcA]=null),$n(18),cl(i,r,r[s.SKP]),$n(19,r[s.SKP])}function cl(e,t,r){(0,s.ID8)(t);try{const i=e.viewQuery;null!==i&&Ge(1,i,r);const a=e.template;null!==a&&Tu(e,t,a,1,r),e.firstCreatePass&&(e.firstCreatePass=!1),t[s.Ds7]?.finishViewCreation(e),e.staticContentQueries&&_e(e,t),e.staticViewQueries&&Ge(2,e.viewQuery,r);const d=e.components;null!==d&&function eg(e,t){for(let r=0;r<t.length;r++)Zp(e,t[r])}(t,d)}catch(i){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),i}finally{t[s.Wg1]&=-5,(0,s.bll)()}}function va(e,t,r,i){const a=(0,mt.Ht)(null);try{const d=t.tView,U=$c(e,d,r,4096&e[s.Wg1]?4096:16,null,t,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null);U[s.rQE]=e[t.index];const ve=e[s.Ds7];return null!==ve&&(U[s.Ds7]=ve.createEmbeddedView(d)),cl(d,U,r),U}finally{(0,mt.Ht)(a)}}function Zs(e,t){return!t||null===t.firstChild||Wo(e)}function ec(e,t,r,i,a=!1){for(;null!==r;){if(128===r.type){r=a?r.projectionNext:r.next;continue}const d=t[r.index];null!==d&&i.push((0,s.IvY)(d)),(0,s.A0l)(d)&&tg(d,i);const _=r.type;if(8&_)ec(e,t,r.child,i);else if(32&_){const b=hu(r,t);let U;for(;U=b();)i.push(U)}else if(16&_){const b=mh(t,r);if(Array.isArray(b))i.push(...b);else{const U=(0,s._0$)(t[s.b5C]);ec(U[s.eDl],U,b,i,!0)}}r=a?r.projectionNext:r.next}return i}function tg(e,t){for(let r=s.Y20;r<e.length;r++){const i=e[r],a=i[s.eDl].firstChild;null!==a&&ec(i[s.eDl],i,a,t)}e[s.s6P]!==e[s.jgP]&&t.push(e[s.s6P])}function ll(e){if(null!==e[s.JEi]){for(const t of e[s.JEi])t.impl.addSequence(t);e[s.JEi].length=0}}let Dh=[];const ig={...mt.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{(0,s.blu)(e.lView)},consumerOnSignalRead(){this.lView[s.Iaj]=this}},ag={...mt.pL,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=(0,s._0$)(e.lView);for(;t&&!Oh(t[s.eDl]);)t=(0,s._0$)(t);t&&(0,s.HAh)(t)},consumerOnSignalRead(){this.lView[s.Iaj]=this}};function Oh(e){return 2!==e.type}function Mh(e){if(null===e[s.tQN])return;let t=!0;for(;t;){let r=!1;for(const i of e[s.tQN])i.dirty&&(r=!0,null===i.zone||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));t=r&&!!(8192&e[s.Wg1])}}function ul(e,t=0){const i=e[s.M0L].rendererFactory;i.begin?.();try{!function lg(e,t){const r=(0,s.yP_)();try{(0,s.cBl)(!0),dl(e,t);let i=0;for(;(0,s.dMS)(e);){if(100===i)throw new s.buA(103,!1);i++,dl(e,1)}}finally{(0,s.cBl)(r)}}(e,t)}finally{i.end?.()}}function Su(e,t,r,i){if((0,s.EPY)(t))return;const a=t[s.Wg1];(0,s.ID8)(t);let b=!0,U=null,ie=null;Oh(e)?(ie=function ng(e){return e[s.Iaj]??function rg(e){const t=Dh.pop()??Object.create(ig);return t.lView=e,t}(e)}(t),U=(0,mt.Bg)(ie)):null===(0,mt.nR)()?(b=!1,ie=function sg(e){const t=e[s.Iaj]??Object.create(ag);return t.lView=e,t}
430(t),U=(0,mt.Bg)(ie)):t[s.Iaj]&&((0,mt.XR)(t[s.Iaj]),t[s.Iaj]=null);try{(0,s.HUe)(t),(0,s.Kw3)(e.bindingStartIndex),null!==r&&Tu(e,t,r,2,i);const ve=!(3&~a);if(ve){const ht=e.preOrderCheckHooks;null!==ht&&lr(t,ht,null)}else{const ht=e.preOrderHooks;null!==ht&&Wr(t,ht,0,null),or(t,0)}if(function ug(e){for(let t=V(e);null!==t;t=Me(t)){if(!(2&t[s.Wg1]))continue;const r=t[s.nfM];for(let i=0;i<r.length;i++)(0,s.HAh)(r[i])}}(t),Mh(t),Th(t,0),null!==e.contentQueries&&_e(e,t),ve){const ht=e.contentCheckHooks;null!==ht&&lr(t,ht)}else{const ht=e.contentHooks;null!==ht&&Wr(t,ht,1),or(t,1)}!function Ph(e,t){const r=e.hostBindingOpCodes;if(null!==r)try{for(let i=0;i<r.length;i++){const a=r[i];if(a<0)(0,s.ypq)(~a);else{const d=a,_=r[++i],b=r[++i];(0,s.vQI)(_,d);const U=t[d];$n(24,U),b(2,U),$n(25,U)}}}finally{(0,s.ypq)(-1)}}(e,t);const We=e.components;null!==We&&Lu(t,We,0);const dt=e.viewQuery;if(null!==dt&&Ge(2,dt,i),ve){const ht=e.viewCheckHooks;null!==ht&&lr(t,ht)}else{const ht=e.viewHooks;null!==ht&&Wr(t,ht,2),or(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[s.pcR]){for(const ht of t[s.pcR])ht();t[s.pcR]=null}ll(t),t[s.Wg1]&=-73}catch(ve){throw(0,s.blu)(t),ve}finally{null!==ie&&((0,mt.Wu)(ie,U),b&&function og(e){e.lView[s.Iaj]!==e&&(e.lView=null,Dh.push(e))}(ie)),(0,s.bll)()}}function Th(e,t){for(let r=V(e);null!==r;r=Me(r))for(let i=s.Y20;i<r.length;i++)Ih(r[i],t)}function dg(e,t,r){$n(18);const i=(0,s.KdJ)(t,e);Ih(i,r),$n(19,i[s.SKP])}function Ih(e,t){(0,s.F1c)(e)&&dl(e,t)}function dl(e,t){const i=e[s.eDl],a=e[s.Wg1],d=e[s.Iaj];let _=!!(0===t&&16&a);if(_||=!!(64&a&&0===t),_||=!!(1024&a),_||=!(!d?.dirty||!(0,mt.si)(d)),_||=!1,d&&(d.dirty=!1),e[s.Wg1]&=-9217,_)Su(i,e,i.template,e[s.SKP]);else if(8192&a){const b=(0,mt.Ht)(null);try{Mh(e),Th(e,1);const U=i.components;null!==U&&Lu(e,U,1),ll(e)}finally{(0,mt.Ht)(b)}}}function Lu(e,t,r){for(let i=0;i<t.length;i++)dg(e,t[i],r)}function Ea(e,t){const r=(0,s.yP_)()?64:1088;for(e[s.M0L].changeDetectionScheduler?.notify(t);e;){e[s.Wg1]|=r;const i=(0,s._0$)(e);if((0,s.EFk)(e)&&!i)return e;e=i}return null}function Ah(e,t,r,i){return[e,!0,0,t,null,i,null,r,null,null]}function bh(e,t){const r=s.Y20+t;if(r<e.length)return e[r]}function Ca(e,t,r,i=!0){const a=t[s.eDl];if(function hg(e,t,r,i){const a=s.Y20+i,d=r.length;i>0&&(r[a-1][s.K29]=t),i<d-s.Y20?(t[s.K29]=r[a],(0,s.EYC)(r,s.Y20+i,t)):(r.push(t),t[s.K29]=null),t[s.f7T]=r;const _=t[s.rQE];null!==_&&r!==_&&Rh(_,t);const b=t[s.Ds7];null!==b&&b.insertView(e),(0,s._gW)(t),t[s.Wg1]|=128}(a,t,e,r),i){const _=nl(r,e),b=t[s.GpT],U=b.parentNode(e[s.s6P]);null!==U&&function wp(e,t,r,i,a,d){i[s.jgP]=a,i[s.qlT]=t,rl(e,i,r,1,a,d)}(a,e[s.qlT],b,t,U,_)}const d=t[s.tcA];null!==d&&null!==d.firstChild&&(d.firstChild=null)}function Nu(e,t){const r=tc(e,t);return void 0!==r&&Za(r[s.eDl],r),r}function tc(e,t){if(e.length<=s.Y20)return;const r=s.Y20+t,i=e[r];if(i){const a=i[s.rQE];null!==a&&a!==e&&Eu(a,i),t>0&&(e[r-1][s.K29]=i[s.K29]);const d=(0,s.E6O)(e,s.Y20+t);lh(i[s.eDl],i);const _=d[s.Ds7];null!==_&&_.detachView(d[s.eDl]),i[s.f7T]=null,i[s.K29]=null,i[s.Wg1]&=-129}return i}function Rh(e,t){const r=e[s.nfM],i=t[s.f7T];((0,s.q$2)(i)||t[s.b5C]!==i[s.f7T][s.b5C])&&(e[s.Wg1]|=2),null===r?e[s.nfM]=[t]:r.push(t)}class hl{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){const t=this._lView,r=t[s.eDl];return ec(r,t,r.firstChild,[])}constructor(t,r){this._lView=t,this._cdRefInjectingView=r}get context(){return this._lView[s.SKP]}set context(t){this._lView[s.SKP]=t}get destroyed(){return(0,s.EPY)(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[s.f7T];if((0,s.A0l)(t)){const r=t[s.bm_],i=r?r.indexOf(this):-1;i>-1&&(tc(t,i),(0,s.E6O)(r,i))}this._attachedToViewContainer=!1}Za(this._lView[s.eDl],this._lView)}onDestroy(t){(0,s.ik5)(this._lView,t)}markForCheck(){Ea(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[s.Wg1]&=-129}reattach(){(0,s._gW)(this._lView),this._lView[s.Wg1]|=128}detectChanges(){this._lView[s.Wg1]|=1024,ul(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new s.buA(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=(0,s.EFk)(this._lView),r=this._lView[s.rQE];null!==r&&!t&&Eu(r,this._lView),uh(this._lView[s.eDl],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new s.buA(902,!1);this._appRef=t;const r=(0,s.EFk)(this._lView),i=this._lView[s.rQE];null!==i&&!r&&Rh(i,this._lView),(0,s._gW)(this._lView)}}let nc=(()=>class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=fg;constructor(r,i,a){this._declarationLView=r,this._declarationTContainer=i,this.elementRef=a}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,i){return this.createEmbeddedViewImpl(r,i)}createEmbeddedViewImpl(r,i,a){const d=va(this._declarationLView,this._declarationTContainer,r,{embeddedViewInjector:i,dehydratedView:a});return new hl(d)}})();function fg(){return fl((0,s.Mx4)(),(0,s.OAn)())}function fl(e,t){return 4&e.type?new nc(t,e,Mo(e,t)):null}function Nh(e,t,r){const i=t.insertBeforeIndex,a=Array.isArray(i)?i[0]:i;return null===a?fh(e,0,r):(0,s.IvY)(r[a])}function xh(e,t,r,i,a){const d=t.insertBeforeIndex;if(Array.isArray(d)){let _=i,b=null;
430if(3&t.type||(b=_,_=a),null!==_&&-1===t.componentOffset)for(let U=1;U<d.length;U++)ys(e,_,r[d[U]],b,!1)}}function qs(e,t,r,i,a){let d=e.data[t];if(null===d)d=Fu(e,t,r,i,a),(0,s.JjR)()&&(d.flags|=32);else if(64&d.type){d.type=r,d.value=i,d.attrs=a;const _=(0,s.Ab)();d.injectorIndex=null===_?-1:_.injectorIndex}return(0,s.iMd)(d,!0),d}function Fu(e,t,r,i,a){const d=(0,s.veI)(),_=(0,s.YWB)(),U=e.data[t]=function yg(e,t,r,i,a,d){let _=t?t.injectorIndex:-1,b=0;return(0,s.KtD)()&&(b|=128),{type:r,index:i,insertBeforeIndex:null,injectorIndex:_,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:b,providerIndexes:0,value:a,attrs:d,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,_?d:d&&d.parent,r,t,i,a);return function Cg(e,t,r,i){null===e.firstChild&&(e.firstChild=t),null!==r&&(i?null==r.child&&null!==t.parent&&(r.child=t):null===r.next&&(r.next=t,t.prev=r))}(e,U,d,_),U}function wh(e,t){if(e.push(t),e.length>1)for(let r=e.length-2;r>=0;r--){const i=e[r];Bh(i)||Dg(i,t)&&null===Og(i)&&Mg(i,t.index)}}function Bh(e){return!(64&e.type)}function Dg(e,t){return Bh(t)||e.index>t.index}function Og(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function Mg(e,t){const r=e.insertBeforeIndex;Array.isArray(r)?r[0]=t:(gh(Nh,xh),e.insertBeforeIndex=t)}function sc(e,t){const r=e.data[t];return null===r||"string"==typeof r?null:r.hasOwnProperty("currentCaseLViewIndex")?r:r.value}function Pg(e,t,r){const i=Fu(e,r,64,null,null);return wh(t,i),i}function gl(e,t){const r=t[e.currentCaseLViewIndex];return null===r?r:r<0?~r:r}function Uh(e){return e>>>17}function Fh(e){return(131070&e)>>>1}function Wu(e,t,r){e.index=0;const i=gl(t,r);e.removes=null!==i?t.remove[i]:s.Mlv}function ml(e){if(e.index<e.removes.length){const t=e.removes[e.index++];return t>0?e.lView[t]:(e.stack.push(e.index,e.removes),Wu(e,e.lView[s.eDl].data[~t],e.lView),ml(e))}return 0===e.stack.length?(e.lView=void 0,null):(e.removes=e.stack.pop(),e.index=e.stack.pop(),ml(e))}function bg(){const e={stack:[],index:-1};return function t(r,i){for(e.lView=i;e.stack.length;)e.stack.pop();return Wu(e,r.value,i),ml.bind(null,e)}}function Qh(e,t,r){for(const i of r.node.cases[r.case]){const a=t.get(i.index-s.Yw1);a&&Wa(e,a,!1)}}function El(e){const t=e[s.qFA]??[],i=e[s.f7T][s.GpT],a=[];for(const d of t)void 0!==d.data.di?a.push(d):Xh(d,i);e[s.qFA]=a}function $g(e){const{lContainer:t}=e,r=t[s.qFA];if(null===r)return;const a=t[s.f7T][s.GpT];for(const d of r)Xh(d,a)}function Xh(e,t){let r=0,i=e.firstChild;if(i){const a=e.data.r;for(;r<a;){const d=i.nextSibling;Wa(t,i,!1),i=d,r++}}}function Cl(e){El(e);const t=e[s.jgP];(0,s.q$2)(t)&&yl(t);for(let r=s.Y20;r<e.length;r++)yl(e[r])}function yl(e){!function iv(e){const t=e[s.tcA];if(t){const{i18nNodes:r,dehydratedIcuData:i}=t;if(r&&i){const a=e[s.GpT];for(const d of i.values())Qh(a,r,d)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}(e);const t=e[s.eDl];for(let r=s.Yw1;r<t.bindingStartIndex;r++)(0,s.A0l)(e[r])?Cl(e[r]):(0,s.q$2)(e[r])&&yl(e[r])}let Jg=class{},ef=class{};class Zg{resolveComponentFactory(t){throw new s.buA(917,!1)}}let Dl=class{static NULL=new Zg};class $u{}let qg=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function em(){const e=(0,s.OAn)(),t=(0,s.Mx4)(),r=(0,s.KdJ)(t.index,e);return((0,s.q$2)(r)?r:e)[s.GpT]}()})(),m=(()=>{class e{static \u0275prov=(0,s.jDH)({token:e,providedIn:"root",factory:()=>null})}return e})();function f(e){return void 0!==e.ngModule}function O(e){return!!(0,s.phH)(e)}function y(e){return!!(0,s.oyA)(e)}function R(e){return!!(0,s.HaV)(e)}function ee(e){return!!(0,s.xUg)(e)}function _t(e,t){if((0,s.Jzi)(e)&&!(e=(0,s.nl4)(e)))throw new Error(`Expected forwardRef function, imported from "${(0,s.PP7)(t)}", to return a standalone entity or NgModule but got "${(0,s.PP7)(e)||e}".`);if(null==(0,s.phH)(e)){const r=(0,s.xUg)(e)||(0,s.HaV)(e)||(0,s.oyA)(e);if(null==r)throw f(e)?new Error(`A module with providers was imported from "${(0,s.PP7)(t)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${(0,s.PP7)(e)}" type, imported from "${(0,s.PP7)(t)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!r.standalone)throw new Error(`The "${(0,s.PP7)(e)}" ${function He(e){return(0,s.xUg)(e)?"component":(0,s.HaV)(e)?"directive":(0,s.oyA)(e)?"pipe":"type"}(e)}, imported from "${(0,s.PP7)(t)}", is not standalone. Did you forget to add the standalone: true flag?`)}}class Bt{ownerNgModule=new Map;ngModulesWithSomeUnresolvedDecls=new Set;ngModulesScopeCache=new Map;standaloneComponentsScopeCache=new Map;resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const t of this.ngModulesWithSomeUnresolvedDecls){const r=(0,s.phH)(t);if(r?.declarations)for(const i of ps(r.declarations))ee(i)&&this.ownerNgModule.set(i,t)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(t,r){this.resolveNgModulesDecls();const i=(0,s.xUg)(t);if(null===i)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${t}`);if(i.standalone){const a=this.getStandaloneComponentScope(t,r);return a.compilation.isPoisoned?{dependencies:[]}
430:{dependencies:[...a.compilation.directives,...a.compilation.pipes,...a.compilation.ngModules]}}{if(!this.ownerNgModule.has(t))return{dependencies:[]};const a=this.getNgModuleScope(this.ownerNgModule.get(t));return a.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...a.compilation.directives,...a.compilation.pipes]}}}registerNgModule(t,r){if(!O(t))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${t}`);this.ngModulesWithSomeUnresolvedDecls.add(t)}clearScopeCacheFor(t){this.ngModulesScopeCache.delete(t),this.standaloneComponentsScopeCache.delete(t)}getNgModuleScope(t){if(this.ngModulesScopeCache.has(t))return this.ngModulesScopeCache.get(t);const r=this.computeNgModuleScope(t);return this.ngModulesScopeCache.set(t,r),r}computeNgModuleScope(t){const r=(0,s.WbQ)(t),i={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const a of ps(r.imports))if(O(a)){const d=this.getNgModuleScope(a);Vt(d.exported.directives,i.compilation.directives),Vt(d.exported.pipes,i.compilation.pipes)}else{if(!(0,s.QuC)(a)){i.compilation.isPoisoned=!0;break}if(R(a)||ee(a))i.compilation.directives.add(a);else{if(!y(a))throw new s.buA(980,"The standalone imported type is neither a component nor a directive nor a pipe");i.compilation.pipes.add(a)}}if(!i.compilation.isPoisoned)for(const a of ps(r.declarations)){if(O(a)||(0,s.QuC)(a)){i.compilation.isPoisoned=!0;break}y(a)?i.compilation.pipes.add(a):i.compilation.directives.add(a)}for(const a of ps(r.exports))if(O(a)){const d=this.getNgModuleScope(a);Vt(d.exported.directives,i.exported.directives),Vt(d.exported.pipes,i.exported.pipes),Vt(d.exported.directives,i.compilation.directives),Vt(d.exported.pipes,i.compilation.pipes)}else y(a)?i.exported.pipes.add(a):i.exported.directives.add(a);return i}getStandaloneComponentScope(t,r){if(this.standaloneComponentsScopeCache.has(t))return this.standaloneComponentsScopeCache.get(t);const i=this.computeStandaloneComponentScope(t,r);return this.standaloneComponentsScopeCache.set(t,i),i}computeStandaloneComponentScope(t,r){const i={compilation:{directives:new Set([t]),pipes:new Set,ngModules:new Set}};for(const a of(0,s.Bqz)(r??[])){const d=(0,s.nl4)(a);try{_t(d,t)}catch{return i.compilation.isPoisoned=!0,i}if(O(d)){i.compilation.ngModules.add(d);const _=this.getNgModuleScope(d);if(_.exported.isPoisoned)return i.compilation.isPoisoned=!0,i;Vt(_.exported.directives,i.compilation.directives),Vt(_.exported.pipes,i.compilation.pipes)}else if(y(d))i.compilation.pipes.add(d);else{if(!R(d)&&!ee(d))return i.compilation.isPoisoned=!0,i;i.compilation.directives.add(d)}}return i}isOrphanComponent(t){const r=(0,s.xUg)(t);return!(!r||r.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(t)))}}function Vt(e,t){for(const r of e)t.add(r)}const _n=new Bt,en={};class hn{injector;parentInjector;constructor(t,r){this.injector=t,this.parentInjector=r}get(t,r,i){const a=this.injector.get(t,en,i);return a!==en||r===en?a:this.parentInjector.get(t,r,i)}}function Un(e,t,r){let i=r?e.styles:null,a=r?e.classes:null,d=0;if(null!==t)for(let _=0;_<t.length;_++){const b=t[_];if("number"==typeof b)d=b;else if(1==d)a=(0,s.n$e)(a,b);else if(2==d){const ie=t[++_];i=(0,s.n$e)(i,b+": "+ie+";")}}r?e.styles=i:e.stylesWithoutHost=i,r?e.classes=a:e.classesWithoutHost=a}function Cr(e,t=0){const r=(0,s.OAn)();return null===r?(0,s.KVO)(e,t):Yr((0,s.Mx4)(),r,(0,s.nl4)(e),t)}function Rr(){throw new Error("invalid")}function Do(e,t,r,i,a){const d=null===i?null:{"":-1},_=a(e,r);if(null!==_){let b=_,U=null,ie=null;for(const ve of _)if(null!==ve.resolveHostDirectives){[b,U,ie]=ve.resolveHostDirectives(_);break}!function Ko(e,t,r,i,a,d,_){const b=i.length;let U=!1;for(let dt=0;dt<b;dt++){const ht=i[dt];!U&&(0,s.JlV)(ht)&&(U=!0,qr(e,r,dt)),eo(Ir(r,t),e,ht.type)}!function Wy(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}(r,e.data.length,b);for(let dt=0;dt<b;dt++){const ht=i[dt];ht.providersResolver&&ht.providersResolver(ht)}let ie=!1,ve=!1,We=Ka(e,t,b,null);b>0&&(r.directiveToIndex=new Map);for(let dt=0;dt<b;
430dt++){const ht=i[dt];if(r.mergedAttrs=fn(r.mergedAttrs,ht.hostAttrs),wy(e,r,t,We,ht),Fy(We,ht,a),null!==_&&_.has(ht)){const[En,Hn]=_.get(ht);r.directiveToIndex.set(ht.type,[We,En+r.directiveStart,Hn+r.directiveStart])}else(null===d||!d.has(ht))&&r.directiveToIndex.set(ht.type,We);null!==ht.contentQueries&&(r.flags|=4),(null!==ht.hostBindings||null!==ht.hostAttrs||0!==ht.hostVars)&&(r.flags|=64);const Qt=ht.type.prototype;!ie&&(Qt.ngOnChanges||Qt.ngOnInit||Qt.ngDoCheck)&&((e.preOrderHooks??=[]).push(r.index),ie=!0),!ve&&(Qt.ngOnChanges||Qt.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(r.index),ve=!0),We++}!function Ku(e,t,r){for(let i=t.directiveStart;i<t.directiveEnd;i++){const a=e.data[i];if(null!==r&&r.has(a)){const d=r.get(a);cv(0,t,d,i),cv(1,t,d,i),uv(t,i,!0)}else av(0,t,a,i),av(1,t,a,i),uv(t,i,!1)}}(e,r,d)}(e,t,r,b,d,U,ie)}null!==d&&null!==i&&function Vr(e,t,r){const i=e.localNames=[];for(let a=0;a<t.length;a+=2){const d=r[t[a+1]];if(null==d)throw new s.buA(-301,!1);i.push(t[a],d)}}(r,i,d)}function qr(e,t,r){t.componentOffset=r,(e.components??=[]).push(t.index)}function av(e,t,r,i){const a=0===e?r.inputs:r.outputs;for(const d in a)if(a.hasOwnProperty(d)){let _;_=0===e?t.inputs??={}:t.outputs??={},_[d]??=[],_[d].push(i),lv(t,d)}}function cv(e,t,r,i){const a=0===e?r.inputs:r.outputs;for(const d in a)if(a.hasOwnProperty(d)){const _=a[d];let b;b=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},b[_]??=[],b[_].push(i,d),lv(t,_)}}function lv(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function uv(e,t,r){const{attrs:i,inputs:a,hostDirectiveInputs:d}=e;if(null===i||!r&&null===a||r&&null===d||Ds(e))return e.initialInputs??=[],void e.initialInputs.push(null);let _=null,b=0;for(;b<i.length;){const U=i[b];if(0!==U)if(5!==U){if("number"==typeof U)break;if(!r&&a.hasOwnProperty(U)){const ie=a[U];for(const ve of ie)if(ve===t){_??=[],_.push(U,i[b+1]);break}}else if(r&&d.hasOwnProperty(U)){const ie=d[U];for(let ve=0;ve<ie.length;ve+=2)if(ie[ve]===t){_??=[],_.push(ie[ve+1],i[b+1]);break}}b+=2}else b+=2;else b+=4}e.initialInputs??=[],e.initialInputs.push(_)}function wy(e,t,r,i,a){e.data[i]=a;const d=a.factory||(a.factory=(0,s.wGu)(a.type,!0)),_=new ue(d,(0,s.JlV)(a),Cr,null);e.blueprint[i]=_,r[i]=_,function By(e,t,r,i,a){const d=a.hostBindings;if(d){let _=e.hostBindingOpCodes;null===_&&(_=e.hostBindingOpCodes=[]);const b=~t.index;(function Uy(e){let t=e.length;for(;t>0;){const r=e[--t];if("number"==typeof r&&r<0)return r}return 0})(_)!=b&&_.push(b),_.push(r,i,d)}}(e,t,i,Ka(e,r,a.hostVars,ro),a)}function Fy(e,t,r){if(r){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)r[t.exportAs[i]]=e;(0,s.JlV)(t)&&(r[""]=e)}}function tm(e,t,r,i,a,d,_,b){const U=t[s.eDl],ie=U.consts,We=qs(U,e,r,i,(0,s.db4)(ie,_));return d&&Do(U,t,We,(0,s.db4)(ie,b),a),We.mergedAttrs=fn(We.mergedAttrs,We.attrs),null!==We.attrs&&Un(We,We.attrs,!1),null!==We.mergedAttrs&&Un(We,We.mergedAttrs,!0),null!==U.queries&&U.queries.elementStart(U,We),We}function nm(e,t){Mr(e,t),(0,s.srX)(t)&&e.queries.elementEnd(t)}function dv(e,t,r,i,a,d){const _=t.consts,U=qs(t,e,r,i,(0,s.db4)(_,a));if(U.mergedAttrs=fn(U.mergedAttrs,U.attrs),null!=d){const ie=(0,s.db4)(_,d);U.localNames=[];for(let ve=0;ve<ie.length;ve+=2)U.localNames.push(ie[ve],-1)}return null!==U.attrs&&Un(U,U.attrs,!1),null!==U.mergedAttrs&&Un(U,U.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,U
430),U}function rm(e){return!!hv(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function jy(e,t){if(Array.isArray(e))for(let r=0;r<e.length;r++)t(e[r]);else{const r=e[Symbol.iterator]();let i;for(;!(i=r.next()).done;)t(i.value)}}function hv(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function xs(e,t,r){return e[t]=r}function Gu(e,t){return e[t]}function Po(e,t,r){return r!==ro&&(!Object.is(e[t],r)&&(e[t]=r,!0))}function uc(e,t,r,i){const a=Po(e,t,r);return Po(e,t+1,i)||a}function tf(e,t,r,i,a){const d=uc(e,t,r,i);return Po(e,t+2,a)||d}function gs(e,t,r,i,a,d){const _=uc(e,t,r,i);return uc(e,t+2,a,d)||_}function Qu(e,t,r){return function i(a){Ea((0,s.Qs1)(e)?(0,s.KdJ)(e.index,t):t,5);const _=t[s.SKP];let b=fv(t,_,r,a),U=i.__ngNextListenerFn__;for(;U;)b=fv(t,_,U,a)&&b,U=U.__ngNextListenerFn__;return b}}function fv(e,t,r,i){const a=(0,mt.Ht)(null);try{return $n(6,t,r),!1!==r(i)}catch(d){return Ru(e,d),!1}finally{$n(7,t,r),(0,mt.Ht)(a)}}function pv(e,t,r,i,a,d,_,b){const U=(0,s.yoD)(e);let ie=!1,ve=null;if(!i&&U&&(ve=function $y(e,t,r,i){const a=e.cleanup;if(null!=a)for(let d=0;d<a.length-1;d+=2){const _=a[d];if(_===r&&a[d+1]===i){const b=t[s.VVG],U=a[d+2];return b&&b.length>U?b[U]:null}"string"==typeof _&&(d+=2)}return null}(t,r,d,e.index)),null!==ve)(ve.__ngLastListenerFn__||ve).__ngNextListenerFn__=_,ve.__ngLastListenerFn__=_,ie=!0;else{const We=(0,s.d31)(e,r),dt=i?i(We):We,ht=a.listen(dt,d,b);(function Hy(e){return e.startsWith("animation")||e.startsWith("transition")})(d)||gv(i?En=>i((0,s.IvY)(En[e.index])):e.index,t,r,d,b,ht,!1)}return ie}function gv(e,t,r,i,a,d,_){const b=t.firstCreatePass?(0,s.vNG)(t):null,U=(0,s.d_l)(r),ie=U.length;U.push(a,d),b&&b.push(i,e,ie,(ie+1)*(_?-1:1))}function nf(e,t,r,i,a,d){const b=t[s.eDl],We=t[r][b.data[r].outputs[i]].subscribe(d);gv(e.index,b,t,a,d,We,!0)}const Oa=Symbol("BINDING"),Qy={kind:"input",requiredVars:1};function mv(e,t){const r={[Oa]:Qy,update:()=>function zy(e,t,r){const i=(0,s.OAn)();if(Po(i,(0,s.xbp)(),r)){const d=i[s.eDl],_=(0,s.CpD)();Ea((0,s.KdJ)(_.index,i),1),function Jp(e,t,r,i,a,d){let _=null,b=null,U=null,ie=!1;const ve=e.directiveToIndex.get(i.type);if("number"==typeof ve?_=ve:[_,b,U]=ve,null!==b&&null!==U&&e.hostDirectiveInputs?.hasOwnProperty(a)){const We=e.hostDirectiveInputs[a];for(let dt=0;dt<We.length;dt+=2){const ht=We[dt];if(ht>=b&&ht<=U)Ga(t.data[ht],r[ht],We[dt+1],d),ie=!0;else if(ht>U)break}}null!==_&&i.inputs.hasOwnProperty(a)&&(Ga(i,r[_],a,d),ie=!0)}(_,d,i,d.directiveRegistry[e],t,r)}}(r.targetIdx,e,t())};return r}class _v extends Dl{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const r=(0,s.xUg)(t);return new rf(r,this.ngModule)}}class rf extends ef{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function Jy(e){return Object.keys(e).map(t=>{const[r,i,a]=e[t],d={propName:r,templateName:t,isSignal:0!==(i&Kc.SignalBased)};return a&&(d.transform=a),d})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function Zy(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,r){super(),this.componentDef=t,this.ngModule=r,this.componentType=t.type,this.selector=function Dp(e){return e.map(yp).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!r}create(t,r,i,a,d,_){$n(22);const b=(0,mt.Ht)(null);try{const U=this.componentDef,ie=function rD(e,t,r,i){const a=e?["ng-version","20.3.18"]:function Op(e){const t=[],r=[];let i=1,a=2;for(;i<e.length;){let d=e[i];if("string"==typeof d)2===a?""!==d&&t.push(d,e[++i]):8===a&&r.push(d);else{if(!Wi(a))break;a=d}i++}return r.length&&t.push(1,...r),t}(t.selectors[0]);let d=null,_=null,b=0;if(r)for(const ve of r)b+=ve[Oa].requiredVars,ve.create&&(ve.targetIdx=0,(d??=[]).push(ve)),ve.update&&(ve.targetIdx=0,(_??=[]).push(ve));if(i)for(let ve=0;ve<i.length;ve++){const We=i[ve];if("function"!=typeof We)for(const dt of We.bindings){b+=dt[Oa].requiredVars;const ht=ve+1;dt.create&&(dt.targetIdx=ht,(d??=[]).push(dt)),dt.update&&(dt.targetIdx=ht,(_??=[]).push(dt))}}const U=[t];if(i)for(const ve of i){const dt=(0,s.HaV)("function"==typeof ve?ve:ve.type);U.push(dt)}return cu(0,null,function oD(e,t){return e||t?r=>{if(1&r&&e)for(const i of e)i.create();if(2&r&&t)for(const i of t)i.update()}:null}(d,_),1,b,U,null,null,null,[a],null)}(i,U,_,d),ve=function qy(e,t,r){let i=t instanceof s.uvJ?t:t?.injector;return i&&null!==e.getStandaloneInjector&&(i=e.getStandaloneInjector(i)||i),i?new hn(r,i):r}(U,a||this.ngModule,t),We=function eD(e){const t=e.get($u,null);if(null===t)throw new s.buA(407,!1);return{rendererFactory:t,sanitizer:e.get(m,null),changeDetectionScheduler:e.get(s.hk6,null),ngReflect:!1}}(ve),dt=We.rendererFactory.createRenderer(null,U),ht=i?function Vp(e,t,r,i){const d=i.get(pi,!1)||r===qt.
430ShadowDom,_=e.selectRootElement(t,d);return function Hp(e){vh(e)}(_),_}(dt,i,U.encapsulation,ve):function tD(e,t){const r=function nD(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return Vc(t,r,"svg"===r?s.jNX:"math"===r?s.rJ1:null)}(U,dt),Qt=_?.some(vv)||d?.some(zn=>"function"!=typeof zn&&zn.bindings.some(vv)),En=$c(null,ie,null,512|lu(U),null,null,We,dt,ve,null,null);En[s.Yw1]=ht,(0,s.ID8)(En);let Hn=null;try{const zn=tm(s.Yw1,En,2,"#host",()=>ie.directiveRegistry,!0,0);Pd(dt,ht,zn),zt(ht,En),ol(ie,En,zn),Ft(ie,zn,En),nm(ie,zn),void 0!==r&&function sD(e,t,r){const i=e.projection=[];for(let a=0;a<t.length;a++){const d=r[a];i.push(null!=d&&d.length?Array.from(d):null)}}(zn,this.ngContentSelectors,r),Hn=(0,s.KdJ)(zn.index,En),En[s.SKP]=Hn[s.SKP],cl(ie,En,null)}catch(zn){throw null!==Hn&&le(Hn),le(En),zn}finally{$n(23),(0,s.bll)()}return new iD(this.componentType,En,!!Qt)}finally{(0,mt.Ht)(b)}}}function vv(e){const t=e[Oa].kind;return"input"===t||"twoWay"===t}class iD extends Jg{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,r,i){super(),this._rootLView=r,this._hasInputBindings=i,this._tNode=(0,s.XRZ)(r[s.eDl],s.Yw1),this.location=Mo(this._tNode,r),this.instance=(0,s.KdJ)(this._tNode.index,r)[s.SKP],this.hostView=this.changeDetectorRef=new hl(r,void 0),this.componentType=t}setInput(t,r){const i=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),r))return;const a=this._rootLView;qa(i,a[s.eDl],a,t,r),this.previousInputValues.set(t,r),Ea((0,s.KdJ)(i.index,a),1)}get injector(){return new Wn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let of=(()=>class e{static __NG_ELEMENT_ID__=aD})();function aD(){return yv((0,s.Mx4)(),(0,s.OAn)())}const cD=of,Ev=class extends cD{_lContainer;_hostTNode;_hostLView;constructor(t,r,i){super(),this._lContainer=t,this._hostTNode=r,this._hostLView=i}get element(){return Mo(this._hostTNode,this._hostLView)}get injector(){return new Wn(this._hostTNode,this._hostLView)}get parentInjector(){const t=Lr(this._hostTNode,this._hostLView);if(ir(t)){const r=gr(t,this._hostLView),i=rr(t);return new Wn(r[s.eDl].data[i+8],r)}return new Wn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const r=Cv(this._lContainer);return null!==r&&r[t]||null}get length(){return this._lContainer.length-s.Y20}createEmbeddedView(t,r,i){let a,d;"number"==typeof i?a=i:null!=i&&(a=i.index,d=i.injector);const b=t.createEmbeddedViewImpl(r||{},d,null);return this.insertImpl(b,a,Zs(this._hostTNode,null)),b}createComponent(t,r,i,a,d,_,b){const U=t&&!Sr(t);let ie;if(U)ie=r;else{const Hn=r||{};ie=Hn.index,i=Hn.injector,a=Hn.projectableNodes,d=Hn.environmentInjector||Hn.ngModuleRef,_=Hn.directives,b=Hn.bindings}const ve=U?t:new rf((0,s.xUg)(t)),We=i||this.parentInjector;if(!d&&null==ve.ngModule){const zn=(U?We:this.parentInjector).get(s.uvJ,null);zn&&(d=zn)}(0,s.xUg)(ve.componentType??{});const En=ve.create(We,a,null,d,_,b);return this.insertImpl(En.hostView,ie,Zs(this._hostTNode,null)),En}insert(t,r){return this.insertImpl(t,r,!0)}insertImpl(t,r,i){const a=t._lView;if((0,s.ITl)(a)){const b=this.indexOf(t);if(-1!==b)this.detach(b);else{const U=a[s.f7T],ie=new Ev(U,U[s.qlT],U[s.f7T]);ie.detach(ie.indexOf(t))}}const d=this._adjustIndex(r),_=this._lContainer;return Ca(_,a,d,i),t.attachToViewContainerRef(),(0,s.EYC)(om(_),d,t),t}move(t,r){return this.insert(t,r)}indexOf(t){const r=Cv(this._lContainer);return null!==r?r.indexOf(t):-1}remove(t){const r=this._adjustIndex(t,-1),i=tc(this._lContainer,r);i&&((0,s.E6O)(om(this._lContainer),r),Za(i[s.eDl],i))}detach(t){const r=this._adjustIndex(t,-1),i=tc(this._lContainer,r);return i&&null!=(0,s.E6O)(om(this._lContainer),r)?new hl(i):null}_adjustIndex(t,r=0){return t??this.length+r}};function Cv(e){return e[s.bm_]}function om(e){return e[s.bm_]||(e[s.bm_]=[])}function yv(e,t){let r;const i=t[e.index];return(0,s.A0l)(i)?r=i:(r=Ah(i,t,null,e),t[e.index]=r,uu(t,r)),Dv(r,t,e,i),new Ev(r,e,t)}
430let Dv=function Mv(e,t,r,i){if(e[s.s6P])return;let a;a=8&r.type?(0,s.IvY)(i):function lD(e,t){const r=e[s.GpT],i=r.createComment(""),a=(0,s.d31)(t,e),d=r.parentNode(a);return ys(r,d,i,r.nextSibling(a),!1),i}(t,r),e[s.s6P]=a};class sm{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new sm(this.queryList)}setDirty(){this.queryList.setDirty()}}class am{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const r=t.queries;if(null!==r){const i=null!==t.contentQueries?t.contentQueries[0]:r.length,a=[];for(let d=0;d<i;d++){const _=r.getByIndex(d);a.push(this.queries[_.indexInDeclarationView].clone())}return new am(a)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let r=0;r<this.queries.length;r++)null!==hm(t,r).matches&&this.queries[r].setDirty()}}class Tv{flags;read;predicate;constructor(t,r,i=null){this.flags=r,this.read=i,this.predicate="string"==typeof t?function mD(e){return e.split(",").map(t=>t.trim())}(t):t}}class cm{queries;constructor(t=[]){this.queries=t}elementStart(t,r){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(t,r)}elementEnd(t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(t)}embeddedTView(t){let r=null;for(let i=0;i<this.length;i++){const a=null!==r?r.length:0,d=this.getByIndex(i).embeddedTView(t,a);d&&(d.indexInDeclarationView=i,null!==r?r.push(d):r=[d])}return null!==r?new cm(r):null}template(t,r){for(let i=0;i<this.queries.length;i++)this.queries[i].template(t,r)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class lm{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,r=-1){this.metadata=t,this._declarationNodeIndex=r}elementStart(t,r){this.isApplyingToNode(r)&&this.matchTNode(t,r)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,r){this.elementStart(t,r)}embeddedTView(t,r){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,r),new lm(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const r=this._declarationNodeIndex;let i=t.parent;for(;null!==i&&8&i.type&&i.index!==r;)i=i.parent;return r===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(t,r){const i=this.metadata.predicate;if(Array.isArray(i))for(let a=0;a<i.length;a++){const d=i[a];this.matchTNodeWithReadOption(t,r,hD(r,d)),this.matchTNodeWithReadOption(t,r,Ee(r,t,d,!1,!1))}else i===nc?4&r.type&&this.matchTNodeWithReadOption(t,r,-1):this.matchTNodeWithReadOption(t,r,Ee(r,t,i,!1,!1))}matchTNodeWithReadOption(t,r,i){if(null!==i){const a=this.metadata.read;if(null!==a)if(a===Eo||a===of||a===nc&&4&r.type)this.addMatch(r.index,-2);else{const d=Ee(r,t,a,!1,!1);null!==d&&this.addMatch(r.index,d)}else this.addMatch(r.index,i)}}addMatch(t,r){null===this.matches?this.matches=[t,r]:this.matches.push(t,r)}}function hD(e,t){const r=e.localNames;if(null!==r)for(let i=0;i<r.length;i+=2)if(r[i]===t)return r[i+1];return null}function pD(e,t,r,i){return-1===r?function fD(e,t){return 11&e.type?Mo(e,t):4&e.type?fl(e,t):null}(t,e):-2===r?function gD(e,t,r){return r===Eo?Mo(t,e):r===nc?fl(t,e):r===of?yv(t,e):void 0}(e,t,i):ft(e,e[s.eDl],r,t)}function Iv(e,t,r,i){const a=t[s.Ds7].queries[i];if(null===a.matches){const d=e.data,_=r.matches,b=[];for(let U=0;null!==_&&U<_.length;U+=2){const ie=_[U];b.push(ie<0?null:pD(t,d[ie],_[U+1],r.metadata.read))}a.matches=b}return a.matches}function um(e,t,r,i){const a=e.queries.getByIndex(r),d=a.matches;if(null!==d){const _=Iv(e,t,a,r);for(let b=0;b<d.length;b+=2){const U=d[b];if(U>0)i.push(_[b/2]);else{const ie=d[b+1],ve=t[-U];for(let We=s.Y20;We<ve.length;We++){const dt=ve[We];dt[s.rQE]===dt[s.f7T]&&um(dt[s.eDl],dt,ie,i)}if(null!==ve[s.nfM]){const We=ve[s.nfM];for(let dt=0;dt<We.length;dt++){const ht=We[dt];um(ht[s.eDl],ht,ie,i)}}}}}return i}function dm(e,t){return e[s.Ds7].queries[t].queryList}function Pv(e,t,r){const i=new Co(!(4&~r));return(0,s.B22)(e,t,i,i.destroy),(t[s.Ds7]??=new am).queries.push(new sm(i))-1}function Av(e,t,r){const i=(0,s.klJ)();return i.firstCreatePass&&(Rv(i,new Tv(e,t,r),-1),!(2&~t)&&(i.staticViewQueries=!0)),Pv(i,(0,s.OAn)(),t)}
430function bv(e,t,r,i){const a=(0,s.klJ)();if(a.firstCreatePass){const d=(0,s.Mx4)();Rv(a,new Tv(t,r,i),d.index),function _D(e,t){const r=e.contentQueries||(e.contentQueries=[]);t!==(r.length?r[r.length-1]:-1)&&r.push(e.queries.length-1,t)}(a,e),!(2&~r)&&(a.staticContentQueries=!0)}return Pv(a,(0,s.OAn)(),r)}function Rv(e,t,r){null===e.queries&&(e.queries=new cm),e.queries.track(new lm(t,r))}function hm(e,t){return e.queries.getByIndex(t)}function Sv(e,t){const r=e[s.eDl],i=hm(r,t);return i.crossesNgTemplate?um(r,e,t,[]):Iv(r,e,i,t)}function fm(e,t,r){let i;const a=(0,mt.KZ)(()=>{i._dirtyCounter();const d=function yD(e,t){const r=e._lView,i=e._queryIndex;if(void 0===r||void 0===i||4&r[s.Wg1])return t?void 0:s.Mlv;const a=dm(r,i),d=Sv(r,i);return a.reset(d,To),t?a.first:a._changesDetected||void 0===e._flatValue?e._flatValue=a.toArray():e._flatValue}(i,e);if(t&&void 0===d)throw new s.buA(-951,!1);return d});return i=a[mt.bh],i._dirtyCounter=(0,s.vPA)(0),i._flatValue=void 0,a}function vD(e){return fm(!0,!1)}function ED(e){return fm(!0,!0)}function CD(e){return fm(!1,!1)}function Lv(e,t){const r=e[mt.bh];r._lView=(0,s.OAn)(),r._queryIndex=t,r._queryList=dm(r._lView,t),r._queryList.onDirty(()=>r._dirtyCounter.update(i=>i+1))}function DD(e){const t=[],r=new Map;function i(a){let d=r.get(a);if(!d){const _=e(a);r.set(a,d=_.then(b=>function ID(e,t){return"string"==typeof t?t:void 0!==t.status&&200!==t.status?Promise.reject(new s.buA(918,!1)):t.text()}(0,b)))}return d}return Ol.forEach((a,d)=>{const _=[];a.templateUrl&&_.push(i(a.templateUrl).then(ie=>{a.template=ie}));const b="string"==typeof a.styles?[a.styles]:a.styles||[];if(a.styles=b,a.styleUrl&&a.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(a.styleUrls?.length){const ie=a.styles.length,ve=a.styleUrls;a.styleUrls.forEach((We,dt)=>{b.push(""),_.push(i(We).then(ht=>{b[ie+dt]=ht,ve.splice(ve.indexOf(We),1),0==ve.length&&(a.styleUrls=void 0)}))})}else a.styleUrl&&_.push(i(a.styleUrl).then(ie=>{b.push(ie),a.styleUrl=void 0}));const U=Promise.all(_).then(()=>function PD(e){Xu.delete(e)}(d));t.push(U)}),function MD(){const e=Ol;Ol=new Map}(),Promise.all(t).then(()=>{})}let Ol=new Map;const Xu=new Set;function TD(){return 0===Ol.size}const pm=new Map;function wv(e,t){(function AD(e,t,r){if(t&&t!==r)throw new Error(`Duplicate module registered for ${e} - ${(0,s.AsM)(t)} vs ${(0,s.AsM)(t.name)}`)})(t,pm.get(t)||null,e),pm.set(t,e)}let dc=class{},Bv=class{};function bD(e,t){return new gm(e,t??null,[])}class gm extends dc{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new _v(this);constructor(t,r,i,a=!0){super(),this.ngModuleType=t,this._parent=r;const d=(0,s.phH)(t);this._bootstrapComponents=ps(d.bootstrap),this._r3Injector=(0,s.Pz9)(t,r,[{provide:dc,useValue:this},{provide:Dl,useValue:this.componentFactoryResolver},...i],(0,s.AsM)(t),new Set(["environment"])),a&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Uv extends Bv{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new gm(this.moduleType,t,[])}}function RD(e,t,r){return new gm(e,t,r,!1)}class Fv extends dc{injector;componentFactoryResolver=new _v(this);instance=null;constructor(t){super();const r=new s.e5P([...t.providers,{provide:dc,useValue:this},{provide:Dl,useValue:this.componentFactoryResolver}],t.parent||(0,s.WB9)(),t.debugName,new Set(["environment"]));this.injector=r,t.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function mm(e,t,r=null){return new Fv({providers:e,parent:t,debugName:r,runEnvironmentInitializers:!0}).injector}let SD=(()=>{class e{_injector;cachedInjectors=new Map;constructor(r){this._injector=r}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){const i=(0,s.jXY)(!1,r.type),a=i.length>
4300?mm([i],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,a)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,s.jDH)({token:e,providedIn:"environment",factory:()=>new e((0,s.KVO)(s.uvJ))})}return e})();function Wv(e){return Lt(()=>{const t=$v(e),r={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===rt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?a=>a.get(SD).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||qt.Emulated,styles:e.styles||s.Mlv,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&Zo("NgStandalone"),Kv(r);const i=e.dependencies;return r.directiveDefs=sf(i,kv),r.pipeDefs=sf(i,s.oyA),r.id=function wD(e){let t=0;const i=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const d of i.join("|"))t=Math.imul(31,t)+d.charCodeAt(0)|0;return t+=2147483648,"c"+t}(r),r})}function kv(e){return(0,s.xUg)(e)||(0,s.HaV)(e)}function jv(e){return Lt(()=>({type:e.type,bootstrap:e.bootstrap||s.Mlv,declarations:e.declarations||s.Mlv,imports:e.imports||s.Mlv,exports:e.exports||s.Mlv,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function LD(e,t){if(null==e)return s.MZA;const r={};for(const i in e)if(e.hasOwnProperty(i)){const a=e[i];let d,_,b,U;Array.isArray(a)?(b=a[0],d=a[1],_=a[2]??d,U=a[3]||null):(d=a,_=a,b=Kc.None,U=null),r[d]=[i,b,U],t[d]=_}return r}function ND(e){if(null==e)return s.MZA;const t={};for(const r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}function Vv(e){return Lt(()=>{const t=$v(e);return Kv(t),t})}function Hv(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function $v(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||s.MZA,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||s.Mlv,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:LD(e.inputs,t),outputs:ND(e.outputs),debugInfo:null}}function Kv(e){e.features?.forEach(t=>t(e))}function sf(e,t){return e?()=>{const r="function"==typeof e?e():e,i=[];for(const a of r){const d=t(a);null!==d&&i.push(d)}return i}:null}function Gv(e){return Object.getPrototypeOf(e.prototype).constructor}function _m(e){let t=Gv(e.type),r=!0;const i=[e];for(;t;){let a;if((0,s.JlV)(e))a=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new s.buA(903,!1);a=t.\u0275dir}if(a){if(r){i.push(a);const _=e;_.inputs=vm(e.inputs),_.declaredInputs=vm(e.declaredInputs),_.outputs=vm(e.outputs);const b=a.hostBindings;b&&kD(e,b);const U=a.viewQuery,ie=a.contentQueries;if(U&&FD(e,U),ie&&WD(e,ie),BD(e,a),(0,s.dwj)(e.outputs,a.outputs),(0,s.JlV)(a)&&a.data.animation){const ve=e.data;ve.animation=(ve.animation||[]).concat(a.data.animation)}}const d=a.features;if(d)for(let _=0;_<d.length;_++){const b=d[_];b&&b.ngInherit&&b(e),b===_m&&(r=!1)}}t=Object.getPrototypeOf(t)}!function UD(e){let t=0,r=null;for(let i=e.length-1;i>=0;i--){const a=e[i];a.hostVars=t+=a.hostVars,a.hostAttrs=fn(a.hostAttrs,r=fn(r,a.hostAttrs))}}(i)}function BD(e,t){for(const r in t.inputs){if(!t.inputs.hasOwnProperty(r)||e.inputs.hasOwnProperty(r))continue;const i=t.inputs[r];void 0!==i&&(e.inputs[r]=i,e.declaredInputs[r]=t.declaredInputs[r])}}function vm(e){return e===s.MZA?{}:e===s.Mlv?[]:e}function FD(e,t){const r=e.viewQuery;e.viewQuery=r?(i,a)=>{t(i,a),r(i,a)}:t}function WD(e,t){const r=e.contentQueries;e.contentQueries=r?(i,a,d)=>{t(i,a,d),r(i,a,d)}:t}function kD(e,t){const r=e.hostBindings;e.hostBindings=r?(i,a)=>{t(i,a),r(i,a)}:t}const jD=["providersResolver"],VD=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function KD(e){const t=[];let r=!1,i=null,a=null;for(let d=0;d<e.length;d++){const _=e[d];if(null!==_.hostDirectives){const b=t.length;
430i??=new Map,a??=new Map,Qv(_,t,i),a.set(_,[b,t.length-1])}0===d&&(0,s.JlV)(_)&&(r=!0,t.push(_))}for(let d=r?1:0;d<e.length;d++)t.push(e[d]);return[t,i,a]}function Qv(e,t,r){if(null!==e.hostDirectives)for(const i of e.hostDirectives)if("function"==typeof i){const a=i();for(const d of a)Xv(Em(d),t,r)}else Xv(i,t,r)}function Xv(e,t,r){const i=(0,s.HaV)(e.directive);(function GD(e,t){for(const r in t)t.hasOwnProperty(r)&&(e[t[r]]=e[r])})(i.declaredInputs,e.inputs),Qv(i,t,r),r.set(i,e),t.push(i)}function Em(e){return"function"==typeof e?{directive:(0,s.nl4)(e),inputs:s.MZA,outputs:s.MZA}:{directive:(0,s.nl4)(e.directive),inputs:zv(e.inputs),outputs:zv(e.outputs)}}function zv(e){if(void 0===e||0===e.length)return s.MZA;const t={};for(let r=0;r<e.length;r+=2)t[e[r]]=e[r+1];return t}function Jv(e,t,r,i,a,d,_,b){if(r.firstCreatePass){e.mergedAttrs=fn(e.mergedAttrs,e.attrs);const ve=e.tView=cu(2,e,a,d,_,r.directiveRegistry,r.pipeRegistry,null,r.schemas,r.consts,null);null!==r.queries&&(r.queries.template(r,e),ve.queries=r.queries.embeddedTView(e))}b&&(e.flags|=b),(0,s.iMd)(e,!1);const U=Zv(r,t,e,i);(0,s.SX7)()&&Ou(r,t,U,e),zt(U,t);const ie=Ah(U,t,U,e);t[i+s.Yw1]=ie,uu(t,ie)}function hc(e,t,r,i,a,d,_,b,U,ie,ve){const We=r+s.Yw1;let dt;if(t.firstCreatePass){if(dt=qs(t,We,4,_||null,b||null),null!=ie){const ht=(0,s.db4)(t.consts,ie);dt.localNames=[];for(let Qt=0;Qt<ht.length;Qt+=2)dt.localNames.push(ht[Qt],-1)}}else dt=t.data[We];return Jv(dt,e,t,r,i,a,d,U),null!=ie&&Ns(e,dt,ve),dt}function Cm(e,t,r,i,a,d,_,b){const U=(0,s.OAn)(),ie=(0,s.klJ)();return function QD(e,t,r,i,a,d,_,b,U,ie,ve){const We=r+s.Yw1;let dt;t.firstCreatePass?(dt=qs(t,We,4,_||null,b||null),(0,s.ckz)()&&Do(t,e,dt,(0,s.db4)(t.consts,ie),bu),Mr(t,dt)):dt=t.data[We],Jv(dt,e,t,r,i,a,d,U),(0,s.yoD)(dt)&&ol(t,e,dt),null!=ie&&Ns(e,dt,ve)}(U,ie,e,t,r,i,a,(0,s.db4)(ie.consts,d),void 0,_,b),Cm}function ym(e,t,r,i,a,d,_,b){const U=(0,s.OAn)(),ie=(0,s.klJ)();return hc(U,ie,e,t,r,i,a,(0,s.db4)(ie.consts,d),void 0,_,b),ym}let Zv=function qv(e,t,r,i){return(0,s.m7n)(!0),t[s.GpT].createComment("")};var Uo=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(Uo||{}),po=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(po||{}),Ml=function(e){return e[e.Initial=-1]="Initial",e}(Ml||{}),tE=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(tE||{});function Yu(e,t,r){const i=rE(e);null===t[i]&&(t[i]=[]),t[i].push(r)}function lf(e,t){const r=rE(e),i=t[r];if(null!==i){for(const a of i)a();t[r]=null}}function nE(e){lf(1,e),lf(0,e),lf(2,e)}function rE(e){let t=4;return 1===e?t=5:2===e&&(t=9),t}function Ju(e){return e+1}function ki(e,t){return e[Ju(t.index)]}function _i(e,t){const r=Ju(t.index);return e.data[r]}function Dm(e,t){return t===po.Placeholder?e.placeholderBlockConfig?.[0]??null:t===po.Loading?e.loadingBlockConfig?.[0]??null:null}function oE(e){return e.loadingBlockConfig?.[1]??null}function iE(e,t){if(!e||0===e.length)return t;const r=new Set(e);for(const i of t)r.add(i);return e.length===r.size?e:Array.from(r)}function Om(e,t,r){const i=r.get(oo);return function Jt(e,t,r){let i=Xi.get(e);return k=k||r(),i||(i=new me,k.observe(e),Xi.set(e,i),Q++),i.callbacks.add(t),()=>{Xi.has(e)&&(i.callbacks.delete(t),0===i.callbacks.size&&(k?.unobserve(e),Xi.delete(e),Q--),0===Q&&(k?.disconnect(),k=null))}}(e,()=>i.run(t),()=>i.runOutsideAngular(()=>function At(){return new IntersectionObserver(e=>{for(const t of e)t.isIntersecting&&Xi.has(t.target)&&Xi.get(t.target).listener()})}()))}function Pl(e,t,r,i,a,d,_){const b=e[s.YEL],U=b.get(oo);let ie;ie=mu({read:function ve(){if((0,s.EPY)(e))return void ie.destroy();const We=ki(e,t),dt=We[1];if(dt!==Ml.Initial&&dt!==po.Placeholder)return void ie.destroy();const ht=function rO(e,t,r){return null==r?e:r>=0?(0,s.jRZ)(r,e):e[t.index][s.Y20]??null}(e,t,i);if(!ht||(ie.destroy(),(0,s.EPY)(ht)))return;const Qt=function oO(e,t){return(0,s.vaC)(s.Yw1+t,e)}(ht,r),En=a(Qt,()=>{U.run(()=>{e!==ht&&(0,s.DyX)(ht,En),d()})},b);e!==ht&&(0,s.ik5)(ht,En),Yu(_,We,En)}},{injector:b})}function uf(e,t){const r=t.get(aO);return r.add(e),()=>r.remove(e)}let aO=(()=>{class e{executingCallbacks=!1;idleId=null;
430current=new Set;deferred=new Set;ngZone=(0,s.WQX)(oo);requestIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout)().bind(globalThis);cancelIdleCallbackFn=(()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout)().bind(globalThis);add(r){(this.executingCallbacks?this.deferred:this.current).add(r),null===this.idleId&&this.scheduleIdleCallback()}remove(r){const{current:i,deferred:a}=this;i.delete(r),a.delete(r),0===i.size&&0===a.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const r=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const i of this.current)i();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const i of this.deferred)this.current.add(i);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(r))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=(0,s.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})();function df(e){return(t,r)=>aE(e,t,r)}function aE(e,t,r){const i=r.get(cO),a=r.get(oo);return i.add(e,t,a),()=>i.remove(t)}let cO=(()=>{class e{executingCallbacks=!1;timeoutId=null;invokeTimerAt=null;current=[];deferred=[];add(r,i,a){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+r,i),this.scheduleTimer(a)}remove(r){const{current:i,deferred:a}=this;-1===this.removeFromQueue(i,r)&&this.removeFromQueue(a,r),0===i.length&&0===a.length&&this.clearTimeout()}addToQueue(r,i,a){let d=r.length;for(let _=0;_<r.length;_+=2)if(r[_]>i){d=_;break}(0,s.llW)(r,d,i,a)}removeFromQueue(r,i){let a=-1;for(let d=0;d<r.length;d+=2)if(r[d+1]===i){a=d;break}return a>-1&&(0,s.gsJ)(r,a,2),a}scheduleTimer(r){const i=()=>{this.clearTimeout(),this.executingCallbacks=!0;const d=[...this.current],_=Date.now();for(let U=0;U<d.length;U+=2){const ve=d[U+1];if(!(d[U]<=_))break;ve()}let b=-1;for(let U=0;U<this.current.length&&this.current[U]<=_;U+=2)b=U+1;if(b>=0&&(0,s.gsJ)(this.current,0,b+1),this.executingCallbacks=!1,this.deferred.length>0){for(let U=0;U<this.deferred.length;U+=2)this.addToQueue(this.current,this.deferred[U],this.deferred[U+1]);this.deferred.length=0}this.scheduleTimer(r)};if(this.current.length>0){const d=Date.now(),_=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-_>16){this.clearTimeout();const b=Math.max(_-d,16);this.invokeTimerAt=_,this.timeoutId=r.runOutsideAngular(()=>setTimeout(()=>r.run(i),b))}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static \u0275prov=(0,s.jDH)({token:e,providedIn:"root",factory:()=>new e})}return e})(),lO=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(r,i,a,d){if(!this.cachedInjectors.has(r)){const _=a.length>0?mm(a,i,d):null;this.cachedInjectors.set(r,_)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(const r of this.cachedInjectors.values())null!==r&&r.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=(0,s.jDH)({token:e,providedIn:"environment",factory:()=>new e})}return e})();const uO=new s.nKC("");function Mm(e,t,r){return e.get(lO).getOrCreateInjector(t,e,r,"")}function Ma(e,t,r,i=!1){const a=r[s.f7T],d=a[s.eDl];if((0,s.EPY)(a))return;const _=ki(a,t),U=_[7];if(!(null!==U&&e<U)&&uE(_[1],e)&&uE(_[0]??-1,e)){const ie=_i(d,t),We=i||null===oE(ie)&&null===Dm(ie,po.Loading)&&!Dm(ie,po.Placeholder)?cE:Tm;try{We(e,_,r,t,a)}catch(dt){Ru(a,dt)}}}function cE(e,t,r,i,a){$n(20);const d=function tO(e,t,r){const a=_i(t[s.eDl],r);switch(e){case po.Complete:return a.primaryTmplIndex;case po.Loading:return a.loadingTmplIndex;case po.Error:return a.errorTmplIndex;case po.Placeholder:return a.placeholderTmplIndex;default:return null}}(e,a,i);if(null!==d){t[1]=e;const _=a[s.eDl],U=(0,s.XRZ)(_,d+s.Yw1),ie=0;let ve;if(Nu(r,ie),e===po.Complete){const Qt=_i(_,i),En=Qt.providers;En&&En.length>0&&(ve=function dO(e,t,r){if(e instanceof hn){const a=e.injector,_=Mm(e.parentInjector,t,r);return new hn(a,_)}const i=e.get(s.uvJ);if(i!==e){const a=Mm(i,t,r);return new hn(e,a)}return Mm(e,t,r)}(a[s.YEL],Qt,En))}const{dehydratedView:We,dehydratedViewIx:dt}=function hO(e,t){const r=e[s.qFA]?.findIndex(a=>a.data.s===t[1])??-1;return{dehydratedView:r>-1?e[s.qFA][r]:null,dehydratedViewIx:r}}(r,t),ht=va(a,U,null,{injector:ve,dehydratedView:We});if(Ca(r,ht,ie,Zs(U,We)),Ea(ht,2),dt>-1&&r[s.qFA]?.splice(dt,1),(e===po.Complete||e===po.Error)&&Array.isArray(t[8])){for(const Qt of t[8])Qt();t[8]=null}}$n(21)}function fO(e,t,r,i,a){const d=Date.now(),b=_i(a[s.eDl],i);if(null===t[2]||t[2]<=d){t[2]=null;const U=oE(b),ie=null!==t[3];if(e!==po.Loading||null===U||ie){e>po.Loading&&ie&&(t[3](),t[3]=null,t[0]=null),cE(e,t,r,i,a);const ve=Dm(b,e);null!==ve&&(t[2]=d+ve,lE(ve,t,i,r,a))}else{t[0]=e;const ve=lE(U,t,i,r,a);t[3]=ve}}else t[0]=e}function lE(e,t,r,i,a){return aE(e,()=>{const _=t[0];t[2]=null,t[0]=null,null!==_&&Ma(_,r,i)},a[s.YEL])}function uE(e,t){return e<t}function Al(e,t){Ma(po.Placeholder,t,e[t.index])}function dE(e,t,r){e.loadingPromise.then(()=>{e.loadingState===Uo.COMPLETE?Ma(po.Complete,t,r):e.loadingState===Uo.FAILED&&Ma(po.Error,t,r)})}let Tm=null;
430function gO(e,t,r,i){return Lt(()=>{const a=e;null!==t&&(a.hasOwnProperty("decorators")&&void 0!==a.decorators?a.decorators.push(...t):a.decorators=t),null!==r&&(a.ctorParameters=r),null!==i&&(a.propDecorators=a.hasOwnProperty("propDecorators")&&void 0!==a.propDecorators?{...a.propDecorators,...i}:i)})}let hE=(()=>{class e{log(r){console.log(r)}warn(r){console.warn(r)}static \u0275fac=function(i){return new(i||e)};static \u0275prov=(0,s.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function nM(e,t){!function IE(e,t){if(typeof COMPILED>"u"||!COMPILED){const r=s.laP;r.ng??={},r.ng[e]=t}}(e,t)}const PE=new s.nKC(""),AE=new s.nKC("");let Am,rM=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(r,i,a){this._ngZone=r,this.registry=i,(0,s.M6u)()&&(this._destroyRef=(0,s.WQX)(s.abz,{optional:!0})??void 0),Am||(function oM(e){Am=e}(a),a.addToWindow(i)),this._watchAngularEvents(),r.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){const r=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),i=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{oo.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{r.unsubscribe(),i.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let r=this._callbacks.pop();clearTimeout(r.timeoutId),r.doneCb()}});else{let r=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(r)||(clearTimeout(i.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(r=>({source:r.source,creationLocation:r.creationLocation,data:r.data})):[]}addCallback(r,i,a){let d=-1;i&&i>0&&(d=setTimeout(()=>{this._callbacks=this._callbacks.filter(_=>_.timeoutId!==d),r()},i)),this._callbacks.push({doneCb:r,timeoutId:d,updateCb:a})}whenStable(r,i,a){if(a&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(r,i,a),this._runCallbacksIfReady()}registerApplication(r){this.registry.registerApplication(r,this)}unregisterApplication(r){this.registry.unregisterApplication(r)}findProviders(r,i,a){return[]}static \u0275fac=function(i){return new(i||e)((0,s.KVO)(oo),(0,s.KVO)(bE),(0,s.KVO)(AE))};static \u0275prov=(0,s.jDH)({token:e,factory:e.\u0275fac})}return e})(),bE=(()=>{class e{_applications=new Map;registerApplication(r,i){this._applications.set(r,i)}unregisterApplication(r){this._applications.delete(r)}unregisterAllApplications(){this._applications.clear()}getTestability(r){return this._applications.get(r)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(r,i=!0){return Am?.findTestabilityInTree(this,r,i)??null}static \u0275fac=function(i){return new(i||e)};static \u0275prov=(0,s.jDH)({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function RE(e){return!!e&&"function"==typeof e.then}function SE(e){return!!e&&"function"==typeof e.subscribe}const LE=new s.nKC("");function iM(e){return(0,s.EmA)([{provide:LE,multi:!0,useValue:e}])}let NE=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i});appInits=(0,s.WQX)(LE,{optional:!0})??[];injector=(0,s.WQX)(s.zZn);constructor(){}runInitializers(){if(this.initialized)return;const r=[];for(const a of this.appInits){const d=(0,s.N4e)(this.injector,a);if(RE(d))r.push(d);else if(SE(d)){const _=new Promise((b,U)=>{d.subscribe({complete:b,error:U})});r.push(_)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(a=>{this.reject(a)}),0===r.length&&i(),this.initialized=!0}static \u0275fac=function(i){return new(i||e)};static \u0275prov=(0,s.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const xE=new s.nKC("");function sM(){}function aM(){(0,mt.KO)(()=>{throw new s.buA(600,"")})}function wE(e,t){return Array.isArray(t)?t.reduce(wE,e):{...e,...t}}let pf=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=(0,s.WQX)(s.ZTf);
430afterRenderManager=(0,s.WQX)(Jc);zonelessEnabled=(0,s.WQX)(s.Evm);rootEffectScheduler=(0,s.WQX)(s.VML);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new Wt.B;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=(0,s.WQX)(s.rev);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe((0,sn.T)(r=>!r))}constructor(){(0,s.WQX)(Qa,{optional:!0})}whenStable(){let r;return new Promise(i=>{r=this.isStable.subscribe({next:a=>{a&&i()}})}).finally(()=>{r.unsubscribe()})}_injector=(0,s.WQX)(s.uvJ);_rendererFactory=null;get injector(){return this._injector}bootstrap(r,i){return this.bootstrapImpl(r,i)}bootstrapImpl(r,i,a=s.zZn.NULL){return this._injector.get(oo).run(()=>{$n(10);const _=r instanceof ef;if(!this._injector.get(NE).done)throw new s.buA(405,"");let U;U=_?r:this._injector.get(Dl).resolveComponentFactory(r),this.componentTypes.push(U.componentType);const ie=function cM(e){return e.isBoundToModule}(U)?void 0:this._injector.get(dc),We=U.create(a,[],i||U.selector,ie),dt=We.location.nativeElement,ht=We.injector.get(PE,null);return ht?.registerApplication(dt),We.onDestroy(()=>{this.detachView(We.hostView),gf(this.components,We),ht?.unregisterApplication(dt)}),this._loadComponent(We),$n(11,We),We})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){$n(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(fu.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new s.buA(101,!1);const r=(0,mt.Ht)(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,(0,mt.Ht)(r),this.afterTick.next(),$n(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get($u,null,{optional:!0}));let r=0;for(;0!==this.dirtyFlags&&r++<10;)$n(14),this.synchronizeOnce(),$n(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let r=!1;if(7&this.dirtyFlags){const i=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:a}of this.allViews)(i||(0,s.dMS)(a))&&(ul(a,i&&!this.zonelessEnabled?0:1),r=!0);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}r||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:r})=>(0,s.dMS)(r))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(r){const i=r;this._views.push(i),i.attachToAppRef(this)}detachView(r){const i=r;gf(this._views,i),i.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView);try{this.tick()}catch(a){this.internalErrorHandler(a)}this.components.push(r),this._injector.get(xE,[]).forEach(a=>a(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>gf(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new s.buA(406,!1);const r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(i){return new(i||e)};static \u0275prov=(0,s.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function gf(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}function bm(){let e,t;return{promise:new Promise((i,a)=>{e=i,t=a}),resolve:e,reject:t}}function BE(e){const t=(0,s.OAn)(),r=(0,s.Mx4)();if(Al(t,r),!WE(0,t))return;const i=t[s.YEL];Yu(0,ki(t,r),e(()=>gc(0,t,r),i))}function UE(e){const t=(0,s.OAn)(),r=t[s.YEL],i=(0,s.Mx4)(),d=_i(t[s.eDl],i);d.loadingState===Uo.NOT_STARTED&&Yu(1,ki(t,i),e(()=>qu(d,t,i),r))}function FE(e,t,r){const i=t[s.YEL],a=ki(t,r),d=a[6];Yu(2,a,e(()=>mc(i,d),i))}function qu(e,t,r){Rm(e,t,r)}function Rm(e,t,r){const i=t[s.YEL],a=t[s.eDl];if(e.loadingState!==Uo.NOT_STARTED)return e.loadingPromise??Promise.resolve();const d=ki(t,r),_=function nO(e,t){return(0,s.XRZ)(e,t.primaryTmplIndex+s.Yw1)}(a,e);e.loadingState=Uo.IN_PROGRESS,lf(1,d);
430let b=e.dependencyResolverFn;const U=i.get(s.u5s).add();return b?(e.loadingPromise=Promise.allSettled(b()).then(ie=>{let ve=!1;const We=[],dt=[];for(const ht of ie){if("fulfilled"!==ht.status){ve=!0;break}{const Qt=ht.value,En=(0,s.xUg)(Qt)||(0,s.HaV)(Qt);if(En)We.push(En);else{const Hn=(0,s.oyA)(Qt);Hn&&dt.push(Hn)}}}if(ve){if(e.loadingState=Uo.FAILED,null===e.errorTmplIndex){const Qt=new s.buA(-750,!1);Ru(t,Qt)}}else{e.loadingState=Uo.COMPLETE;const ht=_.tView;if(We.length>0){ht.directiveRegistry=iE(ht.directiveRegistry,We);const Qt=We.map(Hn=>Hn.type),En=(0,s.jXY)(!1,...Qt);e.providers=En}dt.length>0&&(ht.pipeRegistry=iE(ht.pipeRegistry,dt))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,U()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=Uo.COMPLETE,U()}),e.loadingPromise)}function WE(e,t){return t[s.YEL].get(uO,null,{optional:!0})?.behavior!==tE.Manual}function gc(e,t,r){const i=t[s.eDl],a=t[r.index];if(!WE(0,t))return;const d=ki(t,r),_=_i(i,r);switch(nE(d),_.loadingState){case Uo.NOT_STARTED:Ma(po.Loading,r,a),Rm(_,t,r),_.loadingState===Uo.IN_PROGRESS&&dE(_,r,a);break;case Uo.IN_PROGRESS:Ma(po.Loading,r,a),dE(_,r,a);break;case Uo.COMPLETE:Ma(po.Complete,r,a);break;case Uo.FAILED:Ma(po.Error,r,a)}}function mc(e,t,r){return Sm.apply(this,arguments)}function Sm(){return(Sm=(0,an.A)(function*(e,t,r){const i=e.get(bi);if(i.hydrating.has(t))return;const{parentBlockPromise:d,hydrationQueue:_}=function Wl(e,t){const r=t.get(bi),a=t.get(Vo).get("__nghDeferData__",{});let d=!1,_=e,b=null;const U=[];for(;!d&&_;){d=r.has(_);const ie=r.hydrating.get(_);if(null===b&&null!=ie){b=ie.promise;break}U.unshift(_),_=a[_].p}return{parentBlockPromise:b,hydrationQueue:U}}(t,e);if(0===_.length)return;null!==d&&_.shift(),function hM(e,t){for(let r of t)e.hydrating.set(r,bm())}(i,_),null!==d&&(yield d);const b=_[0];i.has(b)?yield kE(e,_,r):i.awaitParentBlock(b,(0,an.A)(function*(){return yield kE(e,_,r)}))})).apply(this,arguments)}function kE(e,t,r){return Lm.apply(this,arguments)}function Lm(){return(Lm=(0,an.A)(function*(e,t,r){const i=e.get(bi),a=i.hydrating,d=e.get(s.rev),_=d.add();for(let U=0;U<t.length;U++){const ie=t[U],ve=i.get(ie);if(null==ve){dM(U,t,i),jE(t.slice(U),i);break}if(yield pM(ve),yield fM(e),uM(ve)){$g(ve),jE(t.slice(U),i);break}a.get(ie).resolve()}const b=t[t.length-1];yield a.get(b)?.promise,d.remove(_),r&&r(t),function Gg(e,t,r,i){null!==e&&(r.cleanup(t),Cl(e.lContainer),function Kg(e){const t=e._views;for(const r of t){const i=Ie(r);null!==i&&null!==i[s.jgP]&&((0,s.q$2)(i)?yl(i):Cl(i))}}(i))}(i.get(b),t,i,e.get(pf))})).apply(this,arguments)}function uM(e){return ki(e.lView,e.tNode)[1]===po.Error}function dM(e,t,r){const i=e-1,a=i>-1?r.get(t[i]):null;a&&Cl(a.lContainer)}function jE(e,t){const r=t.hydrating;for(const i in e)r.get(i)?.reject();t.cleanup(e)}function fM(e){return new Promise(t=>ma(t,{injector:e}))}function pM(e){return Nm.apply(this,arguments)}function Nm(){return(Nm=(0,an.A)(function*(e){const{tNode:t,lView:r}=e,i=ki(r,t);return new Promise(a=>{(function gM(e,t){Array.isArray(e[8])||(e[8]=[]),e[8].push(t)})(i,a),gc(0,r,t)})})).apply(this,arguments)}function Bo(e,t,r){return 0===e?VE(t,r):2!==e||!VE(t,r)}function VE(e,t){const r=e[s.YEL],i=_i(e[s.eDl],t),a=wo(r),d=function mM(e){return null!=e&&!(1&~e)}(i.flags),b=null!==ki(e,t)[6];return!(d&&b&&a)}function Ta(e,t){const r=_i(e,t);return r.hydrateTriggers??=new Map}function $E(e,t,r,i,a,d,_,b,U,ie){const ve=(0,s.OAn)(),We=(0,s.klJ)(),dt=e+s.Yw1,ht=hc(ve,We,e,null,0,0),Qt=ve[s.YEL],En=wo(Qt);if(We.firstCreatePass){Zo("NgDefer");const ta={primaryTmplIndex:t,loadingTmplIndex:i??null,placeholderTmplIndex:a??null,errorTmplIndex:d??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:r??null,loadingState:Uo.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:ie??0};U?.(We,ta,b,_),function eO(e,t,r){const i=Ju(t);e.data[i]=r}(We,dt,ta)}const Hn=ve[dt];let zn=null,yn=null;if(Hn[s.qFA]?.length>0){const ta=Hn[s.qFA][0].data;yn=ta.di??null,zn=ta.s}const ao=[null,Ml.Initial,null,null,null,null,yn,zn,null,null];!function qD(e,t,r){e[Ju(t)]=r}(ve,dt,ao);let vi=null;null!==yn&&En&&(vi=Qt.get(bi),vi.add(yn,{lView:ve,tNode:ht,lContainer:Hn}));const So=()=>{nE(ao),null!==yn&&vi?.cleanup([yn])};Yu(0,ao,()=>(0,s.DyX)(ve,So)),(0,s.ik5)(ve,So)}function KE(e){const t=(0,s.OAn)(),r=(0,s.CpD)();if(Bo(0,t,r)&&Po(t,(0,s.xbp)(),e)){const a=(0,mt.Ht)(null);try{const d=!!e,b=ki(t,r)[1];!1===d&&b===Ml.Initial?Al(t,r):!0===d&&(b===Ml.Initial||b===po.Placeholder)&&gc(0,t,r)}finally{(0,mt.Ht)(a)}}}function GE(){Bo(0,(0,s.OAn)(),(0,s.Mx4)())&&BE(uf)}function QE(){const e=(0,s.OAn)(),t=(0,s.Mx4)();Bo(0,e,t)&&(null===_i(e[s.eDl],t).loadingTmplIndex&&Al(e,t),gc(0,e,t))}function XE(e,t){const r=(0,s.OAn)(),i=(0,s.Mx4)();Bo(0,r,i)&&(Al(r,i),Pl(r,i,e,t,Ne,()=>gc(0,r,i),0))}function zE(e,t){const r=(0,s.OAn)(),i=(0,s.Mx4)();Bo(0,r,i)&&(Al(r,i),Pl(r,i,e,t,Om,()=>gc(0,r,i),0))}
430function xm(e,t,r,i){const a=(0,s.OAn)();return Po(a,(0,s.xbp)(),t)&&((0,s.klJ)(),function zp(e,t,r,i,a,d){const _=(0,s.d31)(e,t);il(t[s.GpT],_,d,e.value,r,i,a)}((0,s.CpD)(),a,e,t,r,i)),xm}const FM=new s.nKC("",{providedIn:"root",factory:()=>!1}),WM=new s.nKC("",{providedIn:"root",factory:()=>kM}),kM=4e3,_c=typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations;function mf(e){return e[s.YEL].get(FM,!1)}function wm(e){const t=Rl.get(e);if(t){for(const r of t.cleanupFns)r();Rl.delete(e)}vc.delete(e)}const HM=()=>{},Rl=new WeakMap,vc=new WeakMap,Sl=new WeakMap;function Bm(e,t){const r=Sl.get(e);if(r&&r.length>0){const i=r.findIndex(a=>a===t);i>-1&&r.splice(i,1)}0===r?.length&&Sl.delete(e)}function _f(e,t){const r=Sl.get(e)?.shift(),i=t[s.rQE];if(i){const d=nl(e.index,i)?.previousSibling;r&&d&&r===d&&r.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))}}function JE(e,t){Sl.has(e)?Sl.get(e)?.push(t):Sl.set(e,[t])}function vf(e){const t=e[s.Isx]??={};return t.enter??=new Map}function Ec(e){const t=e[s.Isx]??={};return t.leave??=new Map}function ZE(e){const t="function"==typeof e?e():e;let r=Array.isArray(t)?t:null;return"string"==typeof t&&(r=t.trim().split(/\s+/).filter(i=>i)),r}function qE(e,t){const r=vc.get(t);return void 0===r||t===e.target&&(void 0!==r.animationName&&e.animationName===r.animationName||void 0!==r.propertyName&&e.propertyName===r.propertyName)}function Ef(e,t,r){const i=e.get(t.index)??{animateFns:[]};i.animateFns.push(r),e.set(t.index,i)}function Um(e,t){if(e)for(const r of e)r();for(const r of t)r()}function Fm(e,t){const r=Ec(e).get(t.index);r&&(r.resolvers=void 0)}function Cf(e,t,r,i,a){Bm(t,r),Um(i,a),Fm(e,t)}function ed(e){if(Zo("NgAnimateEnter"),!_c)return ed;const t=(0,s.OAn)();if(mf(t))return ed;const r=(0,s.Mx4)();return _f(r,t),Ef(vf(t),r,()=>function GM(e,t,r){const i=(0,s.d31)(t,e),a=e[s.GpT],d=e[s.YEL].get(oo),_=ZE(r),b=[],U=ve=>{if(ve.target!==i)return;const We=ve instanceof AnimationEvent?"animationend":"transitionend";d.runOutsideAngular(()=>{a.listen(i,We,ie)})},ie=ve=>{ve.target===i&&function QM(e,t,r){const i=Rl.get(t);if(e.target===t&&i&&qE(e,t)){e.stopImmediatePropagation();for(const a of i.classList)r.removeClass(t,a);wm(t)}}(ve,i,a)};if(_&&_.length>0){d.runOutsideAngular(()=>{b.push(a.listen(i,"animationstart",U)),b.push(a.listen(i,"transitionstart",U))}),function VM(e,t,r){const i=Rl.get(e);if(i){for(const a of t)i.classList.push(a);for(const a of r)i.cleanupFns.push(a)}else Rl.set(e,{classList:t,cleanupFns:r})}(i,_,b);for(const ve of _)a.addClass(i,ve);d.runOutsideAngular(()=>{requestAnimationFrame(()=>{if(zd(i,vc,_c),!vc.has(i)){for(const ve of _)a.removeClass(i,ve);wm(i)}})})}}(t,r,e)),Ja(t[s.YEL]),vu(t[s.YEL],vf(t)),ed}function td(e){if(Zo("NgAnimateLeave"),!_c)return td;const t=(0,s.OAn)();if(mf(t))return td;const i=(0,s.Mx4)();return _f(i,t),Ef(Ec(t),i,()=>function zM(e,t,r){const{promise:i,resolve:a}=bm(),d=(0,s.d31)(t,e),_=e[s.GpT],b=e[s.YEL].get(oo);Ys.add(e),(Ec(e).get(t.index).resolvers??=[]).push(a);const U=ZE(r);return U&&U.length>0?function YM(e,t,r,i,a,d){!function $M(e,t){if(!_c)return;const r=Rl.get(e);if(r&&r.classList.length>0&&function KM(e,t){for(const r of t)if(e.classList.contains(r))return!0;return!1}(e,r.classList))for(const i of r.classList)t.removeClass(e,i);wm(e)}(e,a);const _=[],b=Ec(r).get(t.index)?.resolvers,U=ie=>{if(ie.target===e&&(ie instanceof CustomEvent||qE(ie,e))){if(ie.stopImmediatePropagation(),vc.delete(e),Bm(t,e),Array.isArray(t.projection))for(const ve of i)a.removeClass(e,ve);Um(b,_),Fm(r,t)}};d.runOutsideAngular(()=>{_.push(a.listen(e,"animationend",U)),_.push(a.listen(e,"transitionend",U))}),JE(t,e);for(const ie of i)a.addClass(e,ie);d.runOutsideAngular(()=>{requestAnimationFrame(()=>{zd(e,vc,_c),vc.has(e)||(Bm(t,e),Um(b,_),Fm(r,t))})})}(d,t,e,U,_,b):a(),{promise:i,resolve:a}}(t,i,e)),Ja(t[s.YEL]),td}class qM{destroy(t){}updateValue(t,r){}swap(t,r){const i=Math.min(t,r),a=Math.max(t,r),d=this.detach(a);if(a-i>1){const _=this.detach(i);this.attach(i,d),this.attach(a,_)}else this.attach(i,d)}move(t,r){this.attach(r,this.detach(t))}}function km(e,t,r,i,a){return e===r&&Object.is(t,i)?1:Object.is(a(e,t),a(r,i))?-1:0}
430function jm(e,t,r,i){return!(void 0===t||!t.has(i)||(e.attach(r,t.get(i)),t.delete(i),0))}function eC(e,t,r,i,a){if(jm(e,t,i,r(i,a)))e.updateValue(i,a);else{const d=e.create(i,a);e.attach(i,d)}}function tC(e,t,r,i){const a=new Set;for(let d=t;d<=r;d++)a.add(i(d,e.at(d)));return a}class nC{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;const r=this.kvMap.get(t);return void 0!==this._vMap&&this._vMap.has(r)?(this.kvMap.set(t,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,r){if(this.kvMap.has(t)){let i=this.kvMap.get(t);void 0===this._vMap&&(this._vMap=new Map);const a=this._vMap;for(;a.has(i);)i=a.get(i);a.set(i,r)}else this.kvMap.set(t,r)}forEach(t){for(let[r,i]of this.kvMap)if(t(i,r),void 0!==this._vMap){const a=this._vMap;for(;a.has(i);)i=a.get(i),t(i,r)}}}function rC(e,t,r,i,a,d,_,b){Zo("NgControlFlow");const U=(0,s.OAn)(),ie=(0,s.klJ)();return hc(U,ie,e,t,r,i,a,(0,s.db4)(ie.consts,d),256,_,b),Df}function Df(e,t,r,i,a,d,_,b){Zo("NgControlFlow");const U=(0,s.OAn)(),ie=(0,s.klJ)();return hc(U,ie,e,t,r,i,a,(0,s.db4)(ie.consts,d),512,_,b),Df}function oC(e,t){Zo("NgControlFlow");const r=(0,s.OAn)(),i=(0,s.xbp)(),a=r[i]!==ro?r[i]:-1,d=-1!==a?Of(r,s.Yw1+a):void 0;if(Po(r,i,e)){const b=(0,mt.Ht)(null);try{if(void 0!==d&&Nu(d,0),-1!==e){const U=s.Yw1+e,ie=Of(r,U),ve=Vm(r[s.eDl],U),We=null;Ca(ie,va(r,ve,t,{dehydratedView:We}),0,Zs(ve,We))}}finally{(0,mt.Ht)(b)}}else if(void 0!==d){const b=bh(d,0);void 0!==b&&(b[s.SKP]=t)}}class tT{lContainer;$implicit;$index;constructor(t,r,i){this.lContainer=t,this.$implicit=r,this.$index=i}get $count(){return this.lContainer.length-s.Y20}}function iC(e){return e}function sC(e,t){return t}class nT{hasEmptyBlock;trackByFn;liveCollection;constructor(t,r,i){this.hasEmptyBlock=t,this.trackByFn=r,this.liveCollection=i}}function aC(e,t,r,i,a,d,_,b,U,ie,ve,We,dt){Zo("NgControlFlow");const ht=(0,s.OAn)(),Qt=(0,s.klJ)(),En=void 0!==U,Hn=(0,s.OAn)(),zn=b?_.bind(Hn[s.b5C][s.SKP]):_,yn=new nT(En,zn);Hn[s.Yw1+e]=yn,hc(ht,Qt,e+1,t,r,i,a,(0,s.db4)(Qt.consts,d),256),En&&hc(ht,Qt,e+2,U,ie,ve,We,(0,s.db4)(Qt.consts,dt),512)}class rT extends qM{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,r,i){super(),this.lContainer=t,this.hostLView=r,this.templateTNode=i}get length(){return this.lContainer.length-s.Y20}at(t){return this.getLView(t)[s.SKP].$implicit}attach(t,r){const i=r[s.tcA];this.needsIndexUpdate||=t!==this.length,Ca(this.lContainer,r,t,Zs(this.templateTNode,i)),function oT(e,t){if(e.length<=s.Y20)return;const i=e[s.Y20+t],a=i?i[s.Isx]:void 0;i&&a&&a.detachedLeaveAnimationFns&&a.detachedLeaveAnimationFns.length>0&&(function Ya(e,t){const r=e.get(el);if(t.detachedLeaveAnimationFns){for(const i of t.detachedLeaveAnimationFns)r.queue.delete(i);t.detachedLeaveAnimationFns=void 0}}(i[s.YEL],a),Ys.delete(i),a.detachedLeaveAnimationFns=void 0)}(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function iT(e,t){if(e.length<=s.Y20)return;const i=e[s.Y20+t],a=i?i[s.Isx]:void 0;a&&a.leave&&a.leave.size>0&&(a.detachedLeaveAnimationFns=[])}(this.lContainer,t),function sT(e,t){return tc(e,t)}(this.lContainer,t)}create(t,r){const a=va(this.hostLView,this.templateTNode,new tT(this.lContainer,r,t),{dehydratedView:null});return this.operationsCounter?.recordCreate(),a}destroy(t){Za(t[s.eDl],t),this.operationsCounter?.recordDestroy()}updateValue(t,r){this.getLView(t)[s.SKP].$implicit=r}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[s.SKP].$index=t}getLView(t){return function aT(e,t){return bh(e,t)}(this.lContainer,t)}}function cC(e){const t=(0,mt.Ht)(null),r=(0,s._px)();try{const i=(0,s.OAn)(),a=i[s.eDl],d=i[r],_=r+1,b=Of(i,_);if(void 0===d.liveCollection){const ie=Vm(a,_);d.liveCollection=new rT(b,i,ie)}else d.liveCollection.reset();const U=d.liveCollection;if(function eT(e,t,r){let i,a,d=0,_=e.length-1;if(Array.isArray(t)){let U=t.length-1;for(;d<=_&&d<=U;){const ie=e.at(d),ve=t[d],We=km(d,ie,d,ve,r);if(0!==We){We<0&&e.updateValue(d,ve),d++;continue}const dt=e.at(_),ht=t[U],Qt=km(_,dt,U,ht,r);if(0!==Qt){Qt<0&&e.updateValue(_,ht),_--,U--;continue}const En=r(d,ie),Hn=r(_,dt),zn=r(d,ve);if(Object.is(zn,Hn)){const yn=r(U,ht);Object.is(yn,En)?(e.swap(d,_),e.updateValue(_,ht),U--,_--):e.move(_,d),e.updateValue(d,ve),d++;continue}if(i??=new nC,a??=tC(e,d,_,r),jm(e,i,d,zn))e.updateValue(d,ve),d++,_++;else if(a.has(zn))i.set(En,e.detach(d)),_--;else{const yn=e.create(d,t[d]);e.attach(d,yn),d++,_++}}for(;d<=U;)eC(e,i,r,d,t[d]),d++}else if(null!=t){const U=t[Symbol.iterator]();let ie=U.next();for(;!ie.done&&d<=_;){const ve=e.at(d),We=ie.value,dt=km(d,ve,d,We,r);
430if(0!==dt)dt<0&&e.updateValue(d,We),d++,ie=U.next();else{i??=new nC,a??=tC(e,d,_,r);const ht=r(d,We);if(jm(e,i,d,ht))e.updateValue(d,We),d++,_++,ie=U.next();else if(a.has(ht)){const Qt=r(d,ve);i.set(Qt,e.detach(d)),_--}else e.attach(d,e.create(d,We)),d++,_++,ie=U.next()}}for(;!ie.done;)eC(e,i,r,e.length,ie.value),ie=U.next()}for(;d<=_;)e.destroy(e.detach(_--));i?.forEach(U=>{e.destroy(U)})}(U,e,d.trackByFn),U.updateIndexes(),d.hasEmptyBlock){const ie=(0,s.xbp)(),ve=0===U.length;if(Po(i,ie,ve)){const We=r+2,dt=Of(i,We);if(ve){const ht=Vm(a,We),Qt=null;Ca(dt,va(i,ht,void 0,{dehydratedView:Qt}),0,Zs(ht,Qt))}else a.firstUpdatePass&&El(dt),Nu(dt,0)}}}finally{(0,mt.Ht)(t)}}function Of(e,t){return e[t]}function Vm(e,t){return(0,s.XRZ)(e,t)}function Hm(e,t,r){const i=(0,s.OAn)();return Po(i,(0,s.xbp)(),t)&&((0,s.klJ)(),Pu((0,s.CpD)(),i,e,t,i[s.GpT],r)),Hm}function $m(e,t,r,i,a){qa(t,e,r,a?"class":"style",i)}function Mf(e,t,r,i){const a=(0,s.OAn)(),d=a[s.eDl],_=e+s.Yw1,b=d.firstCreatePass?tm(_,a,2,t,bu,(0,s.ckz)(),r,i):d.data[_];if(sl(b,a,e,t,Qm),(0,s.yoD)(b)){const U=a[s.eDl];ol(U,a,b),Ft(U,b,a)}return null!=i&&Ns(a,b),Mf}function Tf(){const e=(0,s.klJ)(),r=al((0,s.Mx4)());return e.firstCreatePass&&nm(e,r),(0,s.UhH)(r)&&(0,s.krE)(),(0,s.N79)(),null!=r.classesWithoutHost&&function Ce(e){return!!(8&e.flags)}(r)&&$m(e,r,(0,s.OAn)(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function p(e){return!!(16&e.flags)}(r)&&$m(e,r,(0,s.OAn)(),r.stylesWithoutHost,!1),Tf}function Km(e,t,r,i){return Mf(e,t,r,i),Tf(),Km}function If(e,t,r,i){const a=(0,s.OAn)(),d=a[s.eDl],_=e+s.Yw1,b=d.firstCreatePass?dv(_,d,2,t,r,i):d.data[_];return sl(b,a,e,t,Qm),null!=i&&Ns(a,b),If}function Pf(){const t=al((0,s.Mx4)());return(0,s.UhH)(t)&&(0,s.krE)(),(0,s.N79)(),Pf}function Gm(e,t,r,i){return If(e,t,r,i),Pf(),Gm}let Qm=(e,t,r,i,a)=>((0,s.m7n)(!0),Vc(t[s.GpT],i,(0,s.UaU)()));function Af(e,t,r){const i=(0,s.OAn)(),a=i[s.eDl],d=e+s.Yw1,_=a.firstCreatePass?tm(d,i,8,"ng-container",bu,(0,s.ckz)(),t,r):a.data[d];if(sl(_,i,e,"ng-container",Ym),(0,s.yoD)(_)){const b=i[s.eDl];ol(b,i,_),Ft(b,_,i)}return null!=r&&Ns(i,_),Af}function nd(){const e=(0,s.klJ)(),r=al((0,s.Mx4)());return e.firstCreatePass&&nm(e,r),nd}function Xm(e,t,r){return Af(e,t,r),nd(),Xm}function zm(e,t,r){const i=(0,s.OAn)(),a=i[s.eDl],d=e+s.Yw1,_=a.firstCreatePass?dv(d,a,8,"ng-container",t,r):a.data[d];return sl(_,i,e,"ng-container",Ym),null!=r&&Ns(i,_),zm}function lC(){return al((0,s.Mx4)()),nd}let Ym=(e,t,r,i,a)=>((0,s.m7n)(!0),jc(t[s.GpT],""));function dC(){return(0,s.OAn)()}function Jm(e,t,r){const i=(0,s.OAn)();return Po(i,(0,s.xbp)(),t)&&((0,s.klJ)(),Au((0,s.CpD)(),i,e,t,i[s.GpT],r)),Jm}const bf=void 0;var dT=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],bf,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],bf,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",bf,"{1} 'at' {0}",bf],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function uT(e){const t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}];let Ll={};function Zm(e){const t=function hT(e){return e.toLowerCase().replace(/_/g,"-")}(e);let r=pC(t);if(r)return r;const i=t.split("-")[0];if(r=pC(i),r)return r;if("en"===i)return dT;throw new s.buA(701,!1)}function fC(e){return Zm(e)[Nl.PluralCase]}function pC(e){return e in Ll||(Ll[e]=s.laP.ng&&s.laP.ng.common&&s.laP.ng.common.locales&&s.laP.ng.common.locales[e]),Ll[e]}var Nl=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Nl||{});const fT=["zero","one","two","few","many"],qm="en-US",Rf={marker:"element"},Sf={marker:"ICU"};var Vi=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Vi||{});let gC=qm;function mT(e){"string"==typeof e&&(gC=e.toLowerCase().replace(/_/g,"-"))}let rd=0,od=0;let id=(e,t,r,i)=>((0,s.m7n)(!0),function mC(e,t,r){const i=e[s.GpT];switch(r){case Node.COMMENT_NODE:return jc(i,t);case Node.TEXT_NODE:return Wc(i,t);case Node.ELEMENT_NODE:return Vc(i,t,null)}}(e,r,i));function _C(e,t,r,i){const a=r[s.GpT];let _,d=null;for(let b=0;b<t.length;b++){const U=t[b];if("string"==typeof U){const ie=t[++b];null===r[ie]&&(r[ie]=id(r,0,U,Node.TEXT_NODE))}else if("number"==typeof U)switch(1&U){case 0:const ie=Uh(U);let ve,We;if(null===d&&(d=ie,_=a.parentNode(i)),ie===d?(ve=i,We=_):(ve=null,We=(0,s.IvY)(r[ie])),null!==We){const En=Fh(U);ys(a,We,r[En],ve,!1);const zn=sc(e,En);if(null!==zn&&"object"==typeof zn){const yn=gl(zn,r);null!==yn&&_C(e,zn.create[yn],r,r[zn.anchorIdx])}}break;case 1:const ht=t[++b],Qt=t[++b];il(a,(0,s.vaC)(U>>>1,r),null,null,ht,Qt,null)}else switch(U){case Sf:const ie=t[++b],ve=t[++b];null===r[ve]&&zt(r[ve]=id(r,0,ie,Node.COMMENT_NODE),r);break;case Rf:const We=t[++b],dt=t[++b];null===r[dt]&&zt(r[dt]=id(r,0,We,Node.ELEMENT_NODE),r)}}}function vC(e,t,r,i,a){for(let d=0;d<r.length;d++){const _=r[d],b=r[++d];if(_&a){let U="";for(let ie=d+1;ie<=d+b;ie++){const ve=r[ie];if("string"==typeof ve)U+=ve;else if("number"==typeof ve)if(ve<0)U+=(0,s.eFE)(t[i-ve]);else{const We=ve>>>2;switch(3&ve){case 1:const dt=r[++ie],ht=r[++ie],Qt=e.data[We];"string"==typeof Qt?il(t[s.GpT],t[We],null,Qt,dt,U,ht):Pu(Qt,t,dt,U,t[s.GpT],ht);break;case 0:const En=t[We];null!==En&&kc(t[s.GpT],En,U);break;case 2:DT(e,sc(e,We),t,U);break;case 3:EC(e,sc(e,We),i,t)}}}}else{const U=r[d+1];if(U>0&&!(3&~U)){const ve=sc(e,U>>>2);t[ve.currentCaseLViewIndex]<0&&EC(e,ve,i,t)}}d+=b}}function EC(e,t,r,i){let a=i[t.currentCaseLViewIndex];if(null!==a){let d=rd;a<0&&(a=i[t.currentCaseLViewIndex]=~a,d=-1),vC(e,i,t.update[a],r,d)}}
430function DT(e,t,r,i){const a=function OT(e,t){let r=e.cases.indexOf(t);if(-1===r)switch(e.type){case 1:{const i=function pT(e,t){const r=fC(t)(parseInt(e,10)),i=fT[r];return void 0!==i?i:"other"}(t,function _T(){return gC}());r=e.cases.indexOf(i),-1===r&&"other"!==i&&(r=e.cases.indexOf("other"));break}case 0:r=e.cases.indexOf("other")}return-1===r?null:r}(t,i);if(gl(t,r)!==a&&(CC(e,t,r),r[t.currentCaseLViewIndex]=null===a?null:~a,null!==a)){const _=r[t.anchorIdx];_&&_C(e,t.create[a],r,_)}}function CC(e,t,r){let i=gl(t,r);if(null!==i){const a=t.remove[i];for(let d=0;d<a.length;d++){const _=a[d];if(_>0){const b=(0,s.vaC)(_,r);null!==b&&Wa(r[s.GpT],b)}else CC(e,sc(e,~_),r)}}}const Lf=/\ufffd(\d+):?\d*\ufffd/gi,MT=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,TT=/\ufffd(\d+)\ufffd/,DC=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,IT=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,PT=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,AT=/\uE500/g;function OC(e,t,r,i,a,d,_){const b=Ka(e,i,1,null);let U=b<<Vi.SHIFT,ie=(0,s.Ab)();t===ie&&(ie=null),null===ie&&(U|=Vi.APPEND_EAGERLY),_&&(U|=Vi.COMMENT,function Tp(e){void 0===du&&(du=e())}(bg)),a.push(U,null===d?"":d);const ve=Fu(e,b,_?32:1,null===d?"":d,null);wh(r,ve);const We=ve.index;return(0,s.iMd)(ve,!1),null!==ie&&t!==ie&&function Ig(e,t){let r=e.insertBeforeIndex;null===r?(gh(Nh,xh),r=e.insertBeforeIndex=[null,t]):((0,s.Xln)(Array.isArray(r),!0,"Expecting array here"),r.push(t))}(ie,We),ve}function ST(e,t,r,i,a,d,_,b){const U=b.match(Lf),ve=OC(t,r,i,_,a,U?null:b,!1).index;U&&Nf(d,b,ve,null,0,null),e.push({kind:0,index:ve})}function Nf(e,t,r,i,a,d){const _=e.length,b=_+1;e.push(null,null);const U=_+2,ie=t.split(Lf);let ve=0;for(let We=0;We<ie.length;We++){const dt=ie[We];if(1&We){const ht=a+parseInt(dt,10);e.push(-1-ht),ve|=MC(ht)}else""!==dt&&e.push(dt)}return e.push(r<<2|(i?1:0)),i&&e.push(i,d),e[_]=ve,e[b]=e.length-U,ve}function NT(e){let t=0;for(let r=0;r<e.length;r++){const i=e[r];"number"==typeof i&&i<0&&t++}return t}function MC(e){return 1<<Math.min(e,31)}function TC(e){let t,d,r="",i=0,a=!1;for(;null!==(t=IT.exec(e));)a?t[0]===`\ufffd/*${d}\ufffd`&&(i=t.index,a=!1):(r+=e.substring(i,t.index+t[0].length),d=t[1],a=!0);return r+=e.slice(i),r}function IC(e,t,r,i,a,d,_){let b=0;const U={type:d.type,currentCaseLViewIndex:Ka(t,r,1,null),anchorIdx:_,cases:[],create:[],remove:[],update:[]};(function FT(e,t,r){e.push(MC(t.mainBinding),2,-1-t.mainBinding,r<<2|2)})(i,d,_),function Tg(e,t,r){const i=e.data[t];null===i?e.data[t]=r:i.value=r}(t,_,U);const ie=d.values,ve=[];for(let We=0;We<ie.length;We++){const dt=ie[We],ht=[];for(let En=0;En<dt.length;En++){const Hn=dt[En];if("string"!=typeof Hn){const zn=ht.push(Hn)-1;dt[En]=`\x3c!--\ufffd${zn}\ufffd--\x3e`}}const Qt=[];ve.push(Qt),b=BT(Qt,t,U,r,i,a,d.cases[We],dt.join(""),ht)|b}b&&function WT(e,t,r){e.push(t,1,r<<2|3)}(i,b,_),e.push({kind:3,index:_,cases:ve,currentCaseLViewIndex:U.currentCaseLViewIndex})}function wT(e){const t=[],r=[];let i=1,a=0;const d=e_(e=e.replace(DC,function(_,b,U){return i="select"===U?0:1,a=parseInt(b.slice(1),10),""}));for(let _=0;_<d.length;){let b=d[_++].trim();1===i&&(b=b.replace(/\s*(?:=)?(\w+)\s*/,"$1")),b.length&&t.push(b);const U=e_(d[_++]);t.length>r.length&&r.push(U)}return{type:i,mainBinding:a,cases:t,values:r}}function e_(e){if(!e)return[];let t=0;const r=[],i=[],a=/[{}]/g;let d;for(a.lastIndex=0;d=a.exec(e);){const b=d.index;if("}"==d[0]){if(r.pop(),0==r.length){const U=e.substring(t,b);DC.test(U)?i.push(wT(U)):i.push(U),t=b+1}}else{if(0==r.length){const U=e.substring(t,b);i.push(U),t=b+1}r.push("{")}}const _=e.substring(t);return i.push(_),i}function BT(e,t,r,i,a,d,_,b,U){const ie=[],ve=[],We=[];r.cases.push(_),r.create.push(ie),r.remove.push(ve),r.update.push(We);const ht=Jl(zo()).getInertBodyElement(b),Qt=eu(ht)||ht;return Qt?PC(e,t,r,i,a,ie,ve,We,Qt,d,U,0):0}function PC(e,t,r,i,a,d,_,b,U,ie,ve,We){let dt=0,ht=U.firstChild;for(;ht;){const Qt=Ka(t,i,1,null);switch(ht.nodeType){case Node.ELEMENT_NODE:const En=ht,Hn=En.tagName.toLowerCase();if(Fa.hasOwnProperty(Hn)){t_(d,Rf,Hn,ie,Qt),t.data[Qt]=Hn;const vi=En.attributes;for(let ta=0;ta<vi.length;ta++){const Dc=vi.item(ta),Vf=Dc.name.toLowerCase();Dc.value.match(Lf)?Nc.hasOwnProperty(Vf)&&Nf(b,Dc.value,Qt,Dc.name,0,xc[Vf]?qi:null):Nc[Vf]&&bC(d,Qt,Dc.name,xc[Vf]?"unsafe:blocked":Dc.value)}const So={kind:1,index:Qt,children:[]};e.push(So),dt=PC(So.children,t,r,i,a,d,_,b,ht,Qt,ve,We+1)|dt,AC(_,Qt,We)}break;case Node.TEXT_NODE:const zn=ht.textContent||"",yn=zn.match(Lf);t_(d,null,yn?"":zn,ie,Qt),AC(_,Qt,We),yn&&(dt=Nf(b,zn,Qt,null,0,null)|dt),e.push({kind:0,index:Qt});break;case Node.COMMENT_NODE:const ao=TT.exec(ht.textContent||"");if(ao){const So=ve[parseInt(ao[1],10)];t_(d,Sf,"",ie,Qt),IC(e,t,i,a,ie,So,Qt),UT(_,Qt,We)}}ht=ht.nextSibling}return dt}function AC(e,t,r){0===r&&e.push(t)}function UT(e,t,r){0===r&&(e.push(~t),e.push(t))}function t_(e,t,r,i,a){null!==t&&e.push(t),e.push(r,a,function Ag(e,t,r){return e|t<<17|r<<1}(0,i,a))}function bC(e,t,r,i){e.push(t<<1|1,r,i)}const kT=/\[(\ufffd.+?\ufffd?)\]/,jT=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,VT=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,HT=/{([A-Z0-9_]+)}/g,$T=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,KT=/\/\*/,GT=/\d+\:(\d+)/;function SC(e,t,r=-1){const i=(0,s.klJ)(),a=(0,s.OAn)(),d=s.Yw1+e,_=(0,s.db4)(i.
430consts,t),b=(0,s.Ab)();i.firstCreatePass&&function RT(e,t,r,i,a,d){const _=(0,s.Ab)(),b=[],U=[],ie=[[]],ve=[[]];a=function xT(e,t){if(function kh(e){return-1===e}(t))return TC(e);{const r=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,i=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return TC(e.substring(r,i))}}(a,d);const We=function bT(e){return e.replace(AT," ")}(a).split(PT);for(let dt=0;dt<We.length;dt++){let ht=We[dt];if(1&dt){const Qt=47===ht.charCodeAt(0),En=ht.charCodeAt(Qt?1:0),Hn=s.Yw1+Number.parseInt(ht.substring(Qt?2:1));if(Qt)ie.shift(),ve.shift(),(0,s.iMd)((0,s.Ab)(),!1);else{const zn=Pg(e,ie[0],Hn);ie.unshift([]),(0,s.iMd)(zn,!0);const yn={kind:2,index:Hn,children:[],type:35===En?0:1};ve[0].push(yn),ve.unshift(yn.children)}}else{const Qt=e_(ht);for(let En=0;En<Qt.length;En++){let Hn=Qt[En];if(1&En){const zn=Hn;if("object"!=typeof zn)throw new Error(`Unable to parse ICU expression in "${a}" message.`);const ao=OC(e,_,ie[0],r,b,"",!0).index;IC(ve[0],e,r,U,t,zn,ao)}else""!==Hn&&ST(ve[0],e,_,ie[0],b,U,r,Hn)}}}e.data[i]={create:b,update:U,ast:ve[0],parentTNodeIndex:t}}(i,null===b?0:b.index,a,d,_,r),2===i.type?a[s.b5C][s.Wg1]|=32:a[s.Wg1]|=32;const U=i.data[d],ve=hh(i,b===a[s.qlT]?null:b,a);(function yT(e,t,r,i){const a=e[s.GpT];for(let d=0;d<t.length;d++){const _=t[d++],ie=(_&Vi.APPEND_EAGERLY)===Vi.APPEND_EAGERLY,ve=_>>>Vi.SHIFT;let We=e[ve],dt=!1;null===We&&(We=e[ve]=id(e,0,t[d],(_&Vi.COMMENT)===Vi.COMMENT?Node.COMMENT_NODE:Node.TEXT_NODE),dt=(0,s.SX7)()),ie&&null!==r&&dt&&ys(a,r,We,i,!1)}})(a,U.create,ve,b&&8&b.type?a[b.index]:null),(0,s.xyx)(!0)}function LC(){(0,s.xyx)(!1)}function n_(e,t,r){const i=(0,s.OAn)(),a=(0,s.klJ)(),d=(0,s.Mx4)();return o_(a,i,i[s.GpT],d,e,t,r),n_}function r_(e,t,r){const i=(0,s.OAn)(),a=(0,s.klJ)(),d=(0,s.Mx4)();return(3&d.type||r)&&pv(d,a,i,r,i[s.GpT],e,t,Qu(d,i,t)),r_}function o_(e,t,r,i,a,d,_){let b=!0,U=null;if((3&i.type||_)&&(U??=Qu(i,t,d),pv(i,e,t,_,r,a,d,U)&&(b=!1)),b){const ie=i.outputs?.[a],ve=i.hostDirectiveOutputs?.[a];if(ve&&ve.length)for(let We=0;We<ve.length;We+=2){const dt=ve[We],ht=ve[We+1];U??=Qu(i,t,d),nf(i,t,dt,ht,a,U)}if(ie&&ie.length)for(const We of ie)U??=Qu(i,t,d),nf(i,t,We,a,a,U)}}function wC(e=1){return(0,s.jvu)(e)}function ZT(e,t){let r=null;const i=function zs(e){const t=e.attrs;if(null!=t){const r=t.indexOf(5);if(!(1&r))return t[r+1]}return null}(e);for(let a=0;a<t.length;a++){const d=t[a];if("*"!==d){if(null===i?jd(e,d,!0):Vd(i,d))return a}else r=a}return r}function BC(e){const t=(0,s.OAn)()[s.b5C][s.qlT];if(!t.projection){const i=t.projection=(0,s.WfI)(e?e.length:1,null),a=i.slice();let d=t.child;for(;null!==d;){if(128!==d.type){const _=e?ZT(d,e):0;null!==_&&(a[_]?a[_].projectionNext=d:i[_]=d,a[_]=d)}d=d.next}}}function UC(e,t=0,r,i,a,d){const _=(0,s.OAn)(),b=(0,s.klJ)(),U=i?e+1:null;null!==U&&hc(_,b,U,i,a,d,null,r);const ie=qs(b,s.Yw1+e,16,null,r||null);null===ie.projection&&(ie.projection=t),(0,s.Pfq)();const We=!_[s.tcA]||(0,s.KtD)();null===_[s.b5C][s.qlT].projection[ie.projection]&&null!==U?function qT(e,t,r){const i=s.Yw1+r,a=t.data[i],d=e[i];Ca(d,va(e,a,void 0,{dehydratedView:null}),0,Zs(a,null))}(_,b,U):We&&!Es(ie)&&function Wp(e,t,r){_h(t[s.GpT],0,t,r,Ms(e,r,t),tl(r.parent||t[s.qlT],r,t))}(b,_,ie)}function FC(e,t,r,i){bv(e,t,r,i)}function WC(e,t,r){Av(e,t,r)}function kC(e){const t=(0,s.OAn)(),r=(0,s.klJ)(),i=(0,s.w7Z)();(0,s.GA0)(i+1);const a=hm(r,i);if(e.dirty&&(0,s.vOT)(t)===!(2&~a.metadata.flags)){if(null===a.matches)e.reset([]);else{const d=Sv(t,i);e.reset(d,To),e.notifyOnChanges()}return!0}return!1}function jC(){return dm((0,s.OAn)(),(0,s.w7Z)())}function VC(e,t,r,i,a){Lv(t,bv(e,r,i,a))}function HC(e,t,r,i){Lv(e,Av(t,r,i))}function $C(e=1){(0,s.GA0)((0,s.w7Z)()+e)}function KC(e){const t=(0,s.VPL)();return(0,s.Hh6)(t,s.Yw1+e)}function xf(e,t){return e<<17|t<<2}function Cc(e){return e>>17&32767}function i_(e){return 2|e}function xl(e){return(131068&e)>>2}function s_(e,t){return-131069&e|t<<2}function a_(e){return 1|e}function GC(e,t,r,i){const a=e[r+1],d=null===t;let _=i?Cc(a):xl(a),b=!1;for(;0!==_&&(!1===b||d);){const ie=e[_+1];iI(e[_],t)&&(b=!0,e[_+1]=i?a_(ie):i_(ie)),_=i?Cc(ie):xl(ie)}b&&(e[r+1]=i?i_(a):a_(a))}function iI(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&(0,s.FRF)(e,t)>=0}const qo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0}
430;function QC(e){return e.substring(qo.key,qo.keyEnd)}function sI(e){return e.substring(qo.value,qo.valueEnd)}function XC(e,t){const r=qo.textEnd;return r===t?-1:(t=qo.keyEnd=function lI(e,t,r){for(;t<r&&e.charCodeAt(t)>32;)t++;return t}(e,qo.key=t,r),wl(e,t,r))}function zC(e,t){const r=qo.textEnd;let i=qo.key=wl(e,t,r);return r===i?-1:(i=qo.keyEnd=function uI(e,t,r){let i;for(;t<r&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,r),i=JC(e,i,r),i=qo.value=wl(e,i,r),i=qo.valueEnd=function dI(e,t,r){let i=-1,a=-1,d=-1,_=t,b=_;for(;_<r;){const U=e.charCodeAt(_++);if(59===U)return b;34===U||39===U?b=_=ZC(e,U,_,r):t===_-4&&85===d&&82===a&&76===i&&40===U?b=_=ZC(e,41,_,r):U>32&&(b=_),d=a,a=i,i=-33&U}return b}(e,i,r),JC(e,i,r))}function YC(e){qo.key=0,qo.keyEnd=0,qo.value=0,qo.valueEnd=0,qo.textEnd=e.length}function wl(e,t,r){for(;t<r&&e.charCodeAt(t)<=32;)t++;return t}function JC(e,t,r,i){return(t=wl(e,t,r))<r&&t++,t}function ZC(e,t,r,i){let a=-1,d=r;for(;d<i;){const _=e.charCodeAt(d++);if(_==t&&92!==a)return d;a=92==_&&92===a?0:_}throw new Error}function c_(e,t,r){return t0(e,t,r,!1),c_}function l_(e,t){return t0(e,t,null,!0),l_}function qC(e){n0(i0,hI,e,!1)}function hI(e,t){for(let r=function cI(e){return YC(e),zC(e,wl(e,0,qo.textEnd))}(t);r>=0;r=zC(t,r))i0(e,QC(t),sI(t))}function e0(e){n0(EI,fI,e,!0)}function fI(e,t){for(let r=function aI(e){return YC(e),XC(e,wl(e,0,qo.textEnd))}(t);r>=0;r=XC(t,r))(0,s.ezK)(e,QC(t),!0)}function t0(e,t,r,i){const a=(0,s.OAn)(),d=(0,s.klJ)(),_=(0,s.b$O)(2);d.firstUpdatePass&&o0(d,e,_,i),t!==ro&&Po(a,_,t)&&s0(d,d.data[(0,s._px)()],a,a[s.GpT],e,a[_+1]=function yI(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=(0,s.AsM)(Cs(e)))),e}(t,r),i,_)}function n0(e,t,r,i){const a=(0,s.klJ)(),d=(0,s.b$O)(2);a.firstUpdatePass&&o0(a,null,d,i);const _=(0,s.OAn)();if(r!==ro&&Po(_,d,r)){const b=a.data[(0,s._px)()];if(c0(b,i)&&!r0(a,d)){let U=i?b.classesWithoutHost:b.stylesWithoutHost;null!==U&&(r=(0,s.n$e)(U,r||"")),$m(a,b,_,r,i)}else!function CI(e,t,r,i,a,d,_,b){a===ro&&(a=s.Mlv);let U=0,ie=0,ve=0<a.length?a[0]:null,We=0<d.length?d[0]:null;for(;null!==ve||null!==We;){const dt=U<a.length?a[U+1]:void 0,ht=ie<d.length?d[ie+1]:void 0;let En,Qt=null;ve===We?(U+=2,ie+=2,dt!==ht&&(Qt=We,En=ht)):null===We||null!==ve&&ve<We?(U+=2,Qt=ve):(ie+=2,Qt=We,En=ht),null!==Qt&&s0(e,t,r,i,Qt,En,_,b),ve=U<a.length?a[U]:null,We=ie<d.length?d[ie]:null}}(a,b,_,_[s.GpT],_[d+1],_[d+1]=function vI(e,t,r){if(null==r||""===r)return s.Mlv;const i=[],a=Cs(r);if(Array.isArray(a))for(let d=0;d<a.length;d++)e(i,a[d],!0);else if("object"==typeof a)for(const d in a)a.hasOwnProperty(d)&&e(i,d,a[d]);else"string"==typeof a&&t(i,a);return i}(e,t,r),i,d)}}function r0(e,t){return t>=e.expandoStartIndex}function o0(e,t,r,i){const a=e.data;if(null===a[r+1]){const d=a[(0,s._px)()],_=r0(e,r);c0(d,i)&&null===t&&!_&&(t=!1),t=function pI(e,t,r,i){const a=(0,s.MT)(e);let d=i?t.residualClasses:t.residualStyles;if(null===a)0===(i?t.classBindings:t.styleBindings)&&(r=ad(r=u_(null,e,t,r,i),t.attrs,i),d=null);else{const _=t.directiveStylingLast;if(-1===_||e[_]!==a)if(r=u_(a,e,t,r,i),null===d){let U=function gI(e,t,r){const i=r?t.classBindings:t.styleBindings;if(0!==xl(i))return e[Cc(i)]}(e,t,i);void 0!==U&&Array.isArray(U)&&(U=u_(null,e,t,U[1],i),U=ad(U,t.attrs,i),function mI(e,t,r,i){e[Cc(r?t.classBindings:t.styleBindings)]=i}(e,t,i,U))}else d=function _I(e,t,r){let i;const a=t.directiveEnd;for(let d=1+t.directiveStylingLast;d<a;d++)i=ad(i,e[d].hostAttrs,r);return ad(i,t.attrs,r)}(e,t,i)}return void 0!==d&&(i?t.residualClasses=d:t.residualStyles=d),r}(a,d,t,i),function rI(e,t,r,i,a,d){let _=d?t.classBindings:t.styleBindings,b=Cc(_),U=xl(_);e[i]=r;let ve,ie=!1;if(Array.isArray(r)?(ve=r[1],(null===ve||(0,s.FRF)(r,ve)>0)&&(ie=!0)):ve=r,a)if(0!==U){const dt=Cc(e[b+1]);e[i+1]=xf(dt,b),0!==dt&&(e[dt+1]=s_(e[dt+1],i)),e[b+1]=function tI(e,t){return 131071&e|t<<17}(e[b+1],i)}else e[i+1]=xf(b,0),0!==b&&(e[b+1]=s_(e[b+1],i)),b=i;else e[i+1]=xf(U,0),0===b?b=i:e[U+1]=s_(e[U+1],i),U=i;ie&&(e[i+1]=i_(e[i+1])),GC(e,ve,i,!0),GC(e,ve,i,!1),function oI(e,t,r,i,a){const d=a?e.residualClasses:e.residualStyles;null!=d&&"string"==typeof t&&(0,s.FRF)(d,t)>=0&&(r[i+1]=a_(r[i+1]))}(t,ve,e,i,d),_=xf(b,U),d?t.classBindings=_:t.styleBindings=_}(a,d,t,r,_,i)}}function u_(e,t,r,i,a){let d=null;const _=r.directiveEnd;let b=r.directiveStylingLast;
430for(-1===b?b=r.directiveStart:b++;b<_&&(d=t[b],i=ad(i,d.hostAttrs,a),d!==e);)b++;return null!==e&&(r.directiveStylingLast=b),i}function ad(e,t,r){const i=r?1:2;let a=-1;if(null!==t)for(let d=0;d<t.length;d++){const _=t[d];"number"==typeof _?a=_:a===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),(0,s.ezK)(e,_,!!r||t[++d]))}return void 0===e?null:e}function i0(e,t,r){(0,s.ezK)(e,t,Cs(r))}function EI(e,t,r){const i=String(t);""!==i&&!i.includes(" ")&&(0,s.ezK)(e,i,r)}function s0(e,t,r,i,a,d,_,b){if(!(3&t.type))return;const U=e.data,ie=U[b+1],ve=function nI(e){return!(1&~e)}(ie)?a0(U,t,r,a,xl(ie),_):void 0;wf(ve)||(wf(d)||function eI(e){return!(2&~e)}(ie)&&(d=a0(U,null,r,a,b,_)),function jp(e,t,r,i,a){if(t)a?e.addClass(r,i):e.removeClass(r,i);else{let d=-1===i.indexOf("-")?void 0:Gc.DashCase;null==a?e.removeStyle(r,i,d):("string"==typeof a&&a.endsWith("!important")&&(a=a.slice(0,-10),d|=Gc.Important),e.setStyle(r,i,a,d))}}(i,_,(0,s.vaC)((0,s._px)(),r),a,d))}function a0(e,t,r,i,a,d){const _=null===t;let b;for(;a>0;){const U=e[a],ie=Array.isArray(U),ve=ie?U[1]:U,We=null===ve;let dt=r[a+1];dt===ro&&(dt=We?s.Mlv:void 0);let ht=We?(0,s.K7h)(dt,i):ve===i?dt:void 0;if(ie&&!wf(ht)&&(ht=(0,s.K7h)(U,i)),wf(ht)&&(b=ht,_))return b;const Qt=e[a+1];a=_?Cc(Qt):xl(Qt)}if(null!==t){let U=d?t.residualClasses:t.residualStyles;null!=U&&(b=(0,s.K7h)(U,i))}return b}function wf(e){return void 0!==e}function c0(e,t){return!!(e.flags&(t?8:16))}function l0(e,t=""){const r=(0,s.OAn)(),i=(0,s.klJ)(),a=e+s.Yw1,d=i.firstCreatePass?qs(i,a,1,t,null):i.data[a],_=u0(i,r,d,t,e);r[a]=_,(0,s.SX7)()&&Ou(i,r,_,d),(0,s.iMd)(d,!1)}let u0=(e,t,r,i,a)=>((0,s.m7n)(!0),Wc(t[s.GpT],i));function d0(e,t){let r=!1,i=(0,s.c$7)();for(let d=1;d<t.length;d+=2)r=Po(e,i++,t[d])||r;if((0,s.Kw3)(i),!r)return ro;let a=t[0];for(let d=1;d<t.length;d+=2)a+=(0,s.eFE)(t[d])+(d+1!==t.length?t[d+1]:"");return a}function h0(e,t,r,i=""){return Po(e,(0,s.xbp)(),r)?t+(0,s.eFE)(r)+i:ro}function f0(e,t,r,i,a,d=""){const b=uc(e,(0,s.c$7)(),r,a);return(0,s.b$O)(2),b?t+(0,s.eFE)(r)+i+(0,s.eFE)(a)+d:ro}function p0(e,t,r,i,a,d,_,b=""){const ie=tf(e,(0,s.c$7)(),r,a,_);return(0,s.b$O)(3),ie?t+(0,s.eFE)(r)+i+(0,s.eFE)(a)+d+(0,s.eFE)(_)+b:ro}function g0(e,t,r,i,a,d,_,b,U,ie=""){const We=gs(e,(0,s.c$7)(),r,a,_,U);return(0,s.b$O)(4),We?t+(0,s.eFE)(r)+i+(0,s.eFE)(a)+d+(0,s.eFE)(_)+b+(0,s.eFE)(U)+ie:ro}function m0(e,t,r,i,a,d,_,b,U,ie,ve,We=""){const dt=(0,s.c$7)();let ht=gs(e,dt,r,a,_,U);return ht=Po(e,dt+4,ve)||ht,(0,s.b$O)(5),ht?t+(0,s.eFE)(r)+i+(0,s.eFE)(a)+d+(0,s.eFE)(_)+b+(0,s.eFE)(U)+ie+(0,s.eFE)(ve)+We:ro}function _0(e,t,r,i,a,d,_,b,U,ie,ve,We,dt,ht=""){const Qt=(0,s.c$7)();let En=gs(e,Qt,r,a,_,U);return En=uc(e,Qt+4,ve,dt)||En,(0,s.b$O)(6),En?t+(0,s.eFE)(r)+i+(0,s.eFE)(a)+d+(0,s.eFE)(_)+b+(0,s.eFE)(U)+ie+(0,s.eFE)(ve)+We+(0,s.eFE)(dt)+ht:ro}function v0(e,t,r,i,a,d,_,b,U,ie,ve,We,dt,ht,Qt,En=""){const Hn=(0,s.c$7)();let zn=gs(e,Hn,r,a,_,U);return zn=tf(e,Hn+4,ve,dt,Qt)||zn,(0,s.b$O)(7),zn?t+(0,s.eFE)(r)+i+(0,s.eFE)(a)+d+(0,s.eFE)(_)+b+(0,s.eFE)(U)+ie+(0,s.eFE)(ve)+We+(0,s.eFE)(dt)+ht+(0,s.eFE)(Qt)+En:ro}function E0(e,t,r,i,a,d,_,b,U,ie,ve,We,dt,ht,Qt,En,Hn,zn=""){const yn=(0,s.c$7)();let ao=gs(e,yn,r,a,_,U);return ao=gs(e,yn+4,ve,dt,Qt,Hn)||ao,(0,s.b$O)(8),ao?t+(0,s.eFE)(r)+i+(0,s.eFE)(a)+d+(0,s.eFE)(_)+b+(0,s.eFE)(U)+ie+(0,s.eFE)(ve)+We+(0,s.eFE)(dt)+ht+(0,s.eFE)(Qt)+En+(0,s.eFE)(Hn)+zn:ro}function d_(e){return Bf("",e),d_}function Bf(e,t,r){const i=(0,s.OAn)(),a=h0(i,e,t,r);return a!==ro&&ea(i,(0,s._px)(),a),Bf}function h_(e,t,r,i,a){const d=(0,s.OAn)(),_=f0(d,e,t,r,i,a);return _!==ro&&ea(d,(0,s._px)(),_),h_}function f_(e,t,r,i,a,d,_){const b=(0,s.OAn)(),U=p0(b,e,t,r,i,a,d,_);return U!==ro&&ea(b,(0,s._px)(),U),f_}function p_(e,t,r,i,a,d,_,b,U){const ie=(0,s.OAn)(),ve=g0(ie,e,t,r,i,a,d,_,b,U);return ve!==ro&&ea(ie,(0,s._px)(),ve),p_}function ea(e,t,r){const i=(0,s.vaC)(t,e);kc(e[s.GpT],i,r)}function g_(e,t,r){(0,s.n$r)(t)&&(t=t());const i=(0,s.OAn)();return Po(i,(0,s.xbp)(),t)&&((0,s.klJ)(),Pu((0,s.CpD)(),i,e,t,i[s.GpT],r)),g_}function T0(e,t){const r=(0,s.n$r)(e);return r&&e.set(t),r}function m_(e,t){const r=(0,s.OAn)(),i=(0,s.klJ)(),a=(0,s.Mx4)();return o_(i,r,r[s.GpT],a,e,t),m_}const I0={};function __(e){const t=(0,s.klJ)(),r=(0,s.OAn)(),i=e+s.Yw1,a=qs(t,i,128,null,null);return(0,s.iMd)(a,!1),(0,s.M_e)(t,r,i,I0),__}function P0(e){Zo("NgLet");const t=(0,s.klJ)(),r=(0,s.OAn)(),i=(0,s._px)();return(0,s.M_e)(t,r,i,e),e}function A0(e){const t=(0,s.VPL)(),r=(0,s.Hh6)(t,s.Yw1+e);if(r===I0)throw new s.buA(314,!1);return r}function b0(e){return Po((0,s.OAn)(),(0,s.xbp)(),e)?(0,s.eFE)(e):ro}function R0(e,t,r=""){return h0((0,s.OAn)(),e,t,r)}function S0(e,t,r,i,a=""){return f0((0,s.OAn)(),e,t,r,i,a)}function v_(e,t,r,i,a){if(e=(0,s.nl4)(e),Array.isArray(e))for(let d=0;d<e.length;d++)v_(e[d],t,r,i,a);else{const d=(0,s.klJ)(),_=(0,s.OAn)(),b=(0,s.Mx4)();let U=(0,s.Y3W)(e)?e:(0,s.nl4)(e.provide);const ie=(0,s.Rc9)(e),ve=1048575&b.providerIndexes,We=b.directiveStart,dt=b.providerIndexes>>20;if((0,s.Y3W)(e)||!e.multi){const ht=new ue(ie,a,Cr,null),Qt=C_(U,t,a?ve:ve+dt,We);-1===Qt?(eo(Ir(b,_),d,U),E_(d,e,t.length),t.push(U),b.directiveStart++,b.directiveEnd++,a&&(b.providerIndexes+=1048576),r.push(ht),_.push(ht)):(r[Qt]=ht,_[Qt]=
430ht)}else{const ht=C_(U,t,ve+dt,We),Qt=C_(U,t,ve,ve+dt),Hn=Qt>=0&&r[Qt];if(a&&!Hn||!a&&!(ht>=0&&r[ht])){eo(Ir(b,_),d,U);const zn=function xI(e,t,r,i,a){const _=new ue(e,r,Cr,null);return _.multi=[],_.index=t,_.componentProviders=0,L0(_,a,i&&!r),_}(a?NI:LI,r.length,a,i,ie);!a&&Hn&&(r[Qt].providerFactory=zn),E_(d,e,t.length,0),t.push(U),b.directiveStart++,b.directiveEnd++,a&&(b.providerIndexes+=1048576),r.push(zn),_.push(zn)}else E_(d,e,ht>-1?ht:Qt,L0(r[a?Qt:ht],ie,!a&&i));!a&&i&&Hn&&r[Qt].componentProviders++}}}function E_(e,t,r,i){const a=(0,s.Y3W)(t),d=(0,s.MME)(t);if(a||d){const U=(d?(0,s.nl4)(t.useClass):t).prototype.ngOnDestroy;if(U){const ie=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){const ve=ie.indexOf(r);-1===ve?ie.push(r,[i,U]):ie[ve+1].push(i,U)}else ie.push(r,U)}}}function L0(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function C_(e,t,r,i){for(let a=r;a<i;a++)if(t[a]===e)return a;return-1}function LI(e,t,r,i,a){return y_(this.multi,[])}function NI(e,t,r,i,a){const d=this.multi;let _;if(this.providerFactory){const b=this.providerFactory.componentProviders,U=ft(i,i[s.eDl],this.providerFactory.index,a);_=U.slice(0,b),y_(d,_);for(let ie=b;ie<U.length;ie++)_.push(U[ie])}else _=[],y_(d,_);return _}function y_(e,t){for(let r=0;r<e.length;r++)t.push((0,e[r])());return t}function N0(e,t=[]){return r=>{r.providersResolver=(i,a)=>function SI(e,t,r){const i=(0,s.klJ)();if(i.firstCreatePass){const a=(0,s.JlV)(e);v_(r,i.data,i.blueprint,a,!0),v_(t,i.data,i.blueprint,a,!1)}}(i,a?a(e):e,t)}}function Uf(e){if("function"==typeof e)return e;const t=(0,s.Bqz)(e);return t.some(s.Jzi)?()=>t.map(s.nl4).map(x0):t.map(x0)}function x0(e){return f(e)?e.ngModule:e}function w0(e,t,r){const i=(0,s.gxQ)()+e,a=(0,s.OAn)();return a[i]===ro?xs(a,i,r?t.call(r):t()):Gu(a,i)}function B0(e,t,r,i){return K0((0,s.OAn)(),(0,s.gxQ)(),e,t,r,i)}function U0(e,t,r,i,a){return G0((0,s.OAn)(),(0,s.gxQ)(),e,t,r,i,a)}function F0(e,t,r,i,a,d){return Q0((0,s.OAn)(),(0,s.gxQ)(),e,t,r,i,a,d)}function W0(e,t,r,i,a,d,_){return X0((0,s.OAn)(),(0,s.gxQ)(),e,t,r,i,a,d,_)}function k0(e,t,r,i,a,d,_,b){const U=(0,s.gxQ)()+e,ie=(0,s.OAn)(),ve=gs(ie,U,r,i,a,d);return Po(ie,U+4,_)||ve?xs(ie,U+5,b?t.call(b,r,i,a,d,_):t(r,i,a,d,_)):Gu(ie,U+5)}function j0(e,t,r,i,a,d,_,b,U){const ie=(0,s.gxQ)()+e,ve=(0,s.OAn)(),We=gs(ve,ie,r,i,a,d);return uc(ve,ie+4,_,b)||We?xs(ve,ie+6,U?t.call(U,r,i,a,d,_,b):t(r,i,a,d,_,b)):Gu(ve,ie+6)}function V0(e,t,r,i,a,d,_,b,U,ie){const ve=(0,s.gxQ)()+e,We=(0,s.OAn)();let dt=gs(We,ve,r,i,a,d);return tf(We,ve+4,_,b,U)||dt?xs(We,ve+7,ie?t.call(ie,r,i,a,d,_,b,U):t(r,i,a,d,_,b,U)):Gu(We,ve+7)}function H0(e,t,r,i,a,d,_,b,U,ie,ve){const We=(0,s.gxQ)()+e,dt=(0,s.OAn)(),ht=gs(dt,We,r,i,a,d);return gs(dt,We+4,_,b,U,ie)||ht?xs(dt,We+8,ve?t.call(ve,r,i,a,d,_,b,U,ie):t(r,i,a,d,_,b,U,ie)):Gu(dt,We+8)}function $0(e,t,r,i){return z0((0,s.OAn)(),(0,s.gxQ)(),e,t,r,i)}function cd(e,t){const r=e[t];return r===ro?void 0:r}function K0(e,t,r,i,a,d){const _=t+r;return Po(e,_,a)?xs(e,_+1,d?i.call(d,a):i(a)):cd(e,_+1)}function G0(e,t,r,i,a,d,_){const b=t+r;return uc(e,b,a,d)?xs(e,b+2,_?i.call(_,a,d):i(a,d)):cd(e,b+2)}function Q0(e,t,r,i,a,d,_,b){const U=t+r;return tf(e,U,a,d,_)?xs(e,U+3,b?i.call(b,a,d,_):i(a,d,_)):cd(e,U+3)}function X0(e,t,r,i,a,d,_,b,U){const ie=t+r;return gs(e,ie,a,d,_,b)?xs(e,ie+4,U?i.call(U,a,d,_,b):i(a,d,_,b)):cd(e,ie+4)}function z0(e,t,r,i,a,d){let _=t+r,b=!1;for(let U=0;U<a.length;U++)Po(e,_++,a[U])&&(b=!0);return b?xs(e,_,i.apply(d,a)):cd(e,_)}function Y0(e,t){const r=(0,s.klJ)();let i;const a=e+s.Yw1;r.firstCreatePass?(i=function FI(e,t){if(t)for(let r=t.length-1;r>=0;r--){const i=t[r];if(e===i.name)return i}}(t,r.pipeRegistry),r.data[a]=i,i.onDestroy&&(r.destroyHooks??=[]).push(a,i.onDestroy)):i=r.data[a];const d=i.factory||(i.factory=(0,s.wGu)(i.type,!0)),b=(0,s.a2B)(Cr);try{const U=st(!1),ie=d();return st(U),(0,s.M_e)(r,(0,s.OAn)(),a,ie),ie}finally{(0,s.a2B)(b)}}function J0(e,t,r){const i=e+s.Yw1,a=(0,s.OAn)(),d=(0,s.Hh6)(a,i);return ld(a,i)?K0(a,(0,s.gxQ)(),t,d.transform,r,d):d.transform(r)}function Z0(e,t,r,i){const a=e+s.Yw1,d=(0,s.OAn)(),_=(0,s.Hh6)(d,a);return ld(d,a)?G0(d,(0,s.gxQ)(),t,_.transform,r,i,_):_.transform(r,i)}function q0(e,t,r,i,a){const d=e+s.Yw1,_=(0,s.OAn)(),b=(0,s.Hh6)(_,d);return ld(_,d)?Q0(_,(0,s.gxQ)(),t,b.transform,r,i,a,b):b.transform(r,i,a)}function ey(e,t,r,i,a,d){const _=e+s.Yw1,b=(0,s.OAn)(),U=(0,s.Hh6)(b,_);return ld(b,_)?X0(b,(0,s.gxQ)(),t,U.transform,r,i,a,d,U):U.transform(r,i,a,d)}function ty(e,t,r){const i=e+s.Yw1,a=(0,s.OAn)(),d=(0,s.Hh6)(a,i);return ld(a,i)?z0(a,(0,s.gxQ)(),t,d.transform,r,d):d.transform.apply(d,r)}function ld(e,t){return e[s.eDl].data[t].pure}function ny(e,t){return fl(e,t)}function Ff(e,t,r,i,a){const d=a[s.eDl];if(d!==i.tView)for(let _=s.Yw1;_<d.bindingStartIndex;_++){const b=a[_];if((0,s.A0l)(b)){(0,s.q$2)(b[s.jgP])&&Ff(e,t,r,i,b[s.jgP]);for(let U=s.Y20;U<b.length;U++)Ff(e,t,r,i,b[U])}else(0,s.q$2)(b)&&Ff(e,t,r,i,b)}else!function KI(e,t,r,i,a){const d=a[s.SKP];let _=a[s.jgP];const b=a[s.f7T],U=a[s.qlT],ie=a[s.YEL].get(oo,null),ve=()=>{if(i.encapsulation===qt.ShadowDom){const Qt=_.cloneNode(!1);_.replaceWith(Qt),_=Qt}const We=$d(r),dt=$c(b,We,d,lu(r),_,U,null,null,null,null,null);(function GI(e,t,r,i){for(let a=s.Yw1;a<e[s.eDl].bindingStartIndex;a++){const d=e[a];if(((0,s.q$2)(d)||(0,s.A0l)(d))&&d[s.K29]===t){d[s.K29]=r;break}}e[s.EJG]===t&&(e[s.EJG]=r),e[s.Yrj]===t&&(e[s.Yrj]=r),r[s.K29]=t[s.K29],t[s.K29]=null,e[i]=r})(b,a,dt,U.index),Za(a[s.eDl],a);const ht=a[s.M0L].rendererFactory;(function $I(e,t){e.componentReplaced?.(t.id)})(ht,i),dt[s.GpT]=ht.createRenderer(_,r),lh(a[s.eDl],a),function QI(e){if(null!==e.projection){for(const t of e.projection)Oe(t)&&(t.projectionNext=null,t.flags&=-3);e.projection=null}}(U),cl(We,dt,d),Su(We,dt,We.template,d)};null===ie?ry(e,t,ve):ie.run(()=>ry(e,t,ve))}(e,t,r,i,a)}function ry(e,t,r){try{r()}catch(i){if(null!==t&&i.message){const d=i.message+(i.stack?"\n"+i.stack:"");e?.hot?.send?.("angular:invalidate",{id:t,message:d,error:!0})}throw i}}const Ia={\u0275\u0275animateEnter:ed,\u0275\u0275animateEnterListener:function yf(e){if(Zo("NgAnimateEnter"),!_c)return yf;const t=(0,s.OAn)();if(mf(t))return yf;const r=(0,s.Mx4)();return _f(r,t),Ef(vf(t),r,()=>function XM(e,t,r){const i=(0,s.d31)(t,e);
430r.call(e[s.SKP],{target:i,animationComplete:HM})}(t,r,e)),Ja(t[s.YEL]),vu(t[s.YEL],vf(t)),yf},\u0275\u0275animateLeave:td,\u0275\u0275animateLeaveListener:function Wm(e){if(Zo("NgAnimateLeave"),!_c)return Wm;const t=(0,s.OAn)(),r=(0,s.Mx4)();return _f(r,t),Ys.add(t),Ef(Ec(t),r,()=>function JM(e,t,r){const{promise:i,resolve:a}=bm(),d=(0,s.d31)(t,e),_=[],b=e[s.GpT],U=mf(e),ie=e[s.YEL].get(oo),ve=e[s.YEL].get(WM);(Ec(e).get(t.index).resolvers??=[]).push(a);const We=Ec(e).get(t.index)?.resolvers;if(U)Cf(e,t,d,We,_);else{const dt=setTimeout(()=>Cf(e,t,d,We,_),ve),ht={target:d,animationComplete:()=>{Cf(e,t,d,We,_),clearTimeout(dt)}};JE(t,d),ie.runOutsideAngular(()=>{_.push(b.listen(d,"animationend",()=>{Cf(e,t,d,We,_),clearTimeout(dt)},{once:!0}))}),r.call(e[s.SKP],ht)}return{promise:i,resolve:a}}(t,r,e)),Ja(t[s.YEL]),Wm},\u0275\u0275attribute:xm,\u0275\u0275defineComponent:Wv,\u0275\u0275defineDirective:Vv,\u0275\u0275defineInjectable:s.jDH,\u0275\u0275defineInjector:s.G2t,\u0275\u0275defineNgModule:jv,\u0275\u0275definePipe:Hv,\u0275\u0275directiveInject:Cr,\u0275\u0275getInheritedFactory:Jr,\u0275\u0275inject:s.KVO,\u0275\u0275injectAttribute:Nr,\u0275\u0275invalidFactory:Rr,\u0275\u0275invalidFactoryDep:s.dmw,\u0275\u0275templateRefExtractor:ny,\u0275\u0275resetView:s.Njj,\u0275\u0275HostDirectivesFeature:function $D(e){const t=r=>{const i=Array.isArray(e);null===r.hostDirectives?(r.resolveHostDirectives=KD,r.hostDirectives=i?e.map(Em):[e]):i?r.hostDirectives.unshift(...e.map(Em)):r.hostDirectives.unshift(e)};return t.ngInherit=!0,t},\u0275\u0275NgOnChangesFeature:bn,\u0275\u0275ProvidersFeature:N0,\u0275\u0275CopyDefinitionFeature:function HD(e){let r,t=Gv(e.type);r=(0,s.JlV)(e)?t.\u0275cmp:t.\u0275dir;const i=e;for(const a of jD)i[a]=r[a];if((0,s.JlV)(r))for(const a of VD)i[a]=r[a]},\u0275\u0275InheritDefinitionFeature:_m,\u0275\u0275ExternalStylesFeature:function wI(e){return t=>{e.length<1||(t.getExternalStyles=r=>e.map(a=>a+"?ngcomp"+(r?"="+encodeURIComponent(r):"")+"&e="+t.encapsulation))}},\u0275\u0275nextContext:wC,\u0275\u0275namespaceHTML:s.joV,\u0275\u0275namespaceMathML:s.By9,\u0275\u0275namespaceSVG:s.qSk,\u0275\u0275enableBindings:s.cSN,\u0275\u0275disableBindings:s.fuf,\u0275\u0275elementStart:Mf,\u0275\u0275elementEnd:Tf,\u0275\u0275element:Km,\u0275\u0275elementContainerStart:Af,\u0275\u0275elementContainerEnd:nd,\u0275\u0275domElement:Gm,\u0275\u0275domElementStart:If,\u0275\u0275domElementEnd:Pf,\u0275\u0275domElementContainer:function uC(e,t,r){return zm(e,t,r),lC(),uC},\u0275\u0275domElementContainerStart:zm,\u0275\u0275domElementContainerEnd:lC,\u0275\u0275domTemplate:ym,\u0275\u0275domListener:r_,\u0275\u0275elementContainer:Xm,\u0275\u0275pureFunction0:w0,\u0275\u0275pureFunction1:B0,\u0275\u0275pureFunction2:U0,\u0275\u0275pureFunction3:F0,\u0275\u0275pureFunction4:W0,\u0275\u0275pureFunction5:k0,\u0275\u0275pureFunction6:j0,\u0275\u0275pureFunction7:V0,\u0275\u0275pureFunction8:H0,\u0275\u0275pureFunctionV:$0,\u0275\u0275getCurrentView:dC,\u0275\u0275restoreView:s.eBV,\u0275\u0275listener:n_,\u0275\u0275projection:UC,\u0275\u0275syntheticHostProperty:function hC(e,t,r){const i=(0,s.OAn)();if(Po(i,(0,s.xbp)(),t)){const d=(0,s.klJ)(),_=(0,s.CpD)();Au(_,i,e,t,yh((0,s.MT)(d.data),_,i),r)}return hC},\u0275\u0275syntheticHostListener:function xC(e,t){const r=(0,s.Mx4)(),i=(0,s.OAn)(),a=(0,s.klJ)();return o_(a,i,yh((0,s.MT)(a.data),r,i),r,e,t),xC},\u0275\u0275pipeBind1:J0,\u0275\u0275pipeBind2:Z0,\u0275\u0275pipeBind3:q0,\u0275\u0275pipeBind4:ey,\u0275\u0275pipeBindV:ty,\u0275\u0275projectionDef:BC,\u0275\u0275domProperty:Jm,\u0275\u0275ariaProperty:function YE(e,t){const r=(0,s.OAn)();if(Po(r,(0,s.xbp)(),t)){const a=(0,s.klJ)(),d=(0,s.CpD)();if(qa(d,a,r,e,t))(0,s.Qs1)(d)&&Eh(r,d.index);else{const b=(0,s.d31)(d,r);il(r[s.GpT],b,null,d.value,e,t,null)}}return YE},\u0275\u0275property:Hm,\u0275\u0275pipe:Y0,\u0275\u0275queryRefresh:kC,\u0275\u0275queryAdvance:$C,\u0275\u0275viewQuery:WC,\u0275\u0275viewQuerySignal:HC,\u0275\u0275loadQuery:jC,\u0275\u0275contentQuery:FC,\u0275\u0275contentQuerySignal:VC,\u0275\u0275reference:KC,\u0275\u0275classMap:e0,\u0275\u0275styleMap:qC,\u0275\u0275styleProp:c_,\u0275\u0275classProp:l_,\u0275\u0275advance:Kd,\u0275\u0275template:Cm,\u0275\u0275conditional:oC,\u0275\u0275conditionalCreate:rC,\u0275\u0275conditionalBranchCreate:Df,\u0275\u0275defer:$E,\u0275\u0275deferWhen:KE,\u0275\u0275deferOnIdle:GE,\u0275\u0275deferOnImmediate:QE,\u0275\u0275deferOnTimer:function AM(e){Bo(0,(0,s.OAn)(),(0,s.Mx4)())&&BE(df(e))},\u0275\u0275deferOnHover:function SM(e,t){const r=(0,s.OAn)(),i=(0,s.Mx4)();Bo(0,r,i)&&(Al(r,i),Pl(r,i,e,t,et,()=>gc(0,r,i),0))},\u0275\u0275deferOnInteraction:XE,\u0275\u0275deferOnViewport:zE,\u0275\u0275deferPrefetchWhen:function yM(e){const t=(0,s.OAn)(),r=(0,s.CpD)();if(Bo(1,t,r)&&Po(t,(0,s.xbp)(),e)){const a=(0,mt.Ht)(null);try{const d=!!e,b=_i(t[s.eDl],r);!0===d&&b.loadingState===Uo.NOT_STARTED&&qu(b,t,r)}finally{(0,mt.Ht)(a)}}},\u0275\u0275deferPrefetchOnIdle:function MM(){Bo(1,(0,s.OAn)(),(0,s.Mx4)())&&UE(uf)},\u0275\u0275deferPrefetchOnImmediate:function IM(){const e=(0,s.OAn)(),t=(0,s.Mx4)();if(!Bo(1,e,t))return;const i=_i(e[s.eDl],t);i.loadingState===Uo.NOT_STARTED&&Rm(i,e,t)},\u0275\u0275deferPrefetchOnTimer:function bM(e){Bo(1,(0,s.OAn)(),(0,s.Mx4)())&&UE(df(e))},\u0275\u0275deferPrefetchOnHover:function LM(e,t){const r=(0,s.OAn)(),i=(0,s.Mx4)();if(!Bo(1,r,i))return;const d=_i(r[s.eDl],i);d.loadingState===Uo.NOT_STARTED&&Pl(r,i,e,t,et,()=>qu(d,r,i),1)},\u0275\u0275deferPrefetchOnInteraction:function xM(e,t){const r=(0,s.OAn)(),i=(0,s.Mx4)();if(!Bo(1,r,i))return;const d=_i(r[s.eDl],i);d.loadingState===Uo.NOT_STARTED&&Pl(r,i,e,t,Ne,()=>qu(d,r,i),1)},\u0275\u0275deferPrefetchOnViewport:function BM(e,t){const r=(0,s.OAn)(),i=(0,s.Mx4)();if(!Bo(1,r,i))return;const d=_i(r[s.eDl],i);d.loadingState===Uo.NOT_STARTED&&Pl(r,i,e,t,Om,()=>qu(d,r,i),1)},\u0275\u0275deferHydrateWhen:function DM(e){const t=(0,s.OAn)(),r=(0,s.CpD)();if(!Bo(2,t,r))return;const i=(0,s.xbp)();if(Ta((0,s.klJ)(),r).set(6,null),Po(t,i,e)){const _=t[s.YEL],b=(0,mt.Ht)(null);try{1==!!e&&mc(_,ki(t,r)[6])}finally{(0,mt.Ht)(b)}}},\u0275\u0275deferHydrateNever:function OM(){const e=(0,s.OAn)(),t=(0,s.Mx4)();Bo(2,e,t)&&Ta((0,s.klJ)(),t).set(7,null)},\u0275\u0275deferHydrateOnIdle:function TM(){const e=(0,s.OAn)(),t=(0,s.Mx4)();Bo(2,e,t)&&(Ta((0,s.klJ)(),t).set(0,null),FE(uf,e,t))},\u0275\u0275deferHydrateOnImmediate:function PM(){const e=(0,s.OAn)(),t=(0,s.Mx4)();Bo(2,e,t)&&(Ta((0,s.klJ)(),t).set(1,null),mc(e[s.YEL],ki(e,t)[6]))},\u0275\u0275deferHydrateOnTimer:function RM(e){const t=(0,s.OAn)(),r=(0,s.Mx4)();Bo(2,t,r)&&(Ta((0,s.klJ)(),r).set(5,{delay:e}),FE(df(e),t,r))},\u0275\u0275deferHydrateOnHover:function NM(){const e=(0,s.OAn)(),t=(0,s.Mx4)();Bo(2,e,t)&&Ta((0,s.klJ)(),t).set(4,null)},\u0275\u0275deferHydrateOnInteraction:function wM(){const e=(0,s.OAn)(),t=(0,s.Mx4)();Bo(2,e,t)&&Ta((0,s.klJ)(),t).set(3,null)},\u0275\u0275deferHydrateOnViewport:function UM(){const e=(0,s.OAn)(),t=(0,s.Mx4)();Bo(2,e,t)&&Ta((0,s.klJ)(),t).set(2,null)}
430,\u0275\u0275deferEnableTimerScheduling:function pO(e,t,r,i){const a=e.consts;null!=r&&(t.placeholderBlockConfig=(0,s.db4)(a,r)),null!=i&&(t.loadingBlockConfig=(0,s.db4)(a,i)),null===Tm&&(Tm=fO)},\u0275\u0275repeater:cC,\u0275\u0275repeaterCreate:aC,\u0275\u0275repeaterTrackByIndex:iC,\u0275\u0275repeaterTrackByIdentity:sC,\u0275\u0275componentInstance:function ZM(){return(0,s.OAn)()[s.b5C][s.SKP]},\u0275\u0275text:l0,\u0275\u0275textInterpolate:d_,\u0275\u0275textInterpolate1:Bf,\u0275\u0275textInterpolate2:h_,\u0275\u0275textInterpolate3:f_,\u0275\u0275textInterpolate4:p_,\u0275\u0275textInterpolate5:function C0(e,t,r,i,a,d,_,b,U,ie,ve){const We=(0,s.OAn)(),dt=m0(We,e,t,r,i,a,d,_,b,U,ie,ve);return dt!==ro&&ea(We,(0,s._px)(),dt),C0},\u0275\u0275textInterpolate6:function y0(e,t,r,i,a,d,_,b,U,ie,ve,We,dt){const ht=(0,s.OAn)(),Qt=_0(ht,e,t,r,i,a,d,_,b,U,ie,ve,We,dt);return Qt!==ro&&ea(ht,(0,s._px)(),Qt),y0},\u0275\u0275textInterpolate7:function D0(e,t,r,i,a,d,_,b,U,ie,ve,We,dt,ht,Qt){const En=(0,s.OAn)(),Hn=v0(En,e,t,r,i,a,d,_,b,U,ie,ve,We,dt,ht,Qt);return Hn!==ro&&ea(En,(0,s._px)(),Hn),D0},\u0275\u0275textInterpolate8:function O0(e,t,r,i,a,d,_,b,U,ie,ve,We,dt,ht,Qt,En,Hn){const zn=(0,s.OAn)(),yn=E0(zn,e,t,r,i,a,d,_,b,U,ie,ve,We,dt,ht,Qt,En,Hn);return yn!==ro&&ea(zn,(0,s._px)(),yn),O0},\u0275\u0275textInterpolateV:function M0(e){const t=(0,s.OAn)(),r=d0(t,e);return r!==ro&&ea(t,(0,s._px)(),r),M0},\u0275\u0275i18n:function XT(e,t,r){SC(e,t,r),LC()},\u0275\u0275i18nAttributes:function zT(e,t){const r=(0,s.klJ)(),i=(0,s.db4)(r.consts,t);!function LT(e,t,r){const a=(0,s.Mx4)().index,d=[];if(e.firstCreatePass&&null===e.data[t]){for(let _=0;_<r.length;_+=2){const b=r[_],U=r[_+1];if(""!==U){if(MT.test(U))throw new Error(`ICU expressions are not supported in attributes. Message: "${U}".`);Nf(d,U,a,b,NT(d),xc[b.toLowerCase()]?qi:null)}}e.data[t]=d}}(r,e+s.Yw1,i)},\u0275\u0275i18nExp:function NC(e){return function vT(e){e&&(rd|=1<<Math.min(od,31)),od++}(Po((0,s.OAn)(),(0,s.xbp)(),e)),NC},\u0275\u0275i18nStart:SC,\u0275\u0275i18nEnd:LC,\u0275\u0275i18nApply:function YT(e){!function ET(e,t,r){if(od>0){const i=e.data[r];vC(e,t,Array.isArray(i)?i:i.update,(0,s.c$7)()-od-1,rd)}rd=0,od=0}((0,s.klJ)(),(0,s.OAn)(),e+s.Yw1)},\u0275\u0275i18nPostprocess:function JT(e,t={}){return function QT(e,t={}){let r=e;if(kT.test(e)){const i={},a=[0];r=r.replace(jT,(d,_,b)=>{const U=_||b,ie=i[U]||[];if(ie.length||(U.split("|").forEach(En=>{const Hn=En.match(GT),zn=Hn?parseInt(Hn[1],10):0,yn=KT.test(En);ie.push([zn,yn,En])}),i[U]=ie),!ie.length)throw new Error(`i18n postprocess: unmatched placeholder - ${U}`);const ve=a[a.length-1];let We=0;for(let En=0;En<ie.length;En++)if(ie[En][0]===ve){We=En;break}const[dt,ht,Qt]=ie[We];return ht?a.pop():ve!==dt&&a.push(dt),ie.splice(We,1),Qt})}return Object.keys(t).length&&(r=r.replace(VT,(i,a,d,_,b,U)=>t.hasOwnProperty(d)?`${a}${t[d]}${U}`:i),r=r.replace(HT,(i,a)=>t.hasOwnProperty(a)?t[a]:i),r=r.replace($T,(i,a)=>{if(t.hasOwnProperty(a)){const d=t[a];if(!d.length)throw new Error(`i18n postprocess: unmatched ICU - ${i} with key: ${a}`);return d.shift()}return i})),r}(e,t)},\u0275\u0275resolveWindow:Ld,\u0275\u0275resolveDocument:Nd,\u0275\u0275resolveBody:function xd(e){return e.ownerDocument.body},\u0275\u0275setComponentScope:function BI(e,t,r){const i=e.\u0275cmp;i.directiveDefs=sf(t,kv),i.pipeDefs=sf(r,s.oyA)},\u0275\u0275setNgModuleScope:function UI(e,t){return Lt(()=>{const r=(0,s.WbQ)(e);r.declarations=Uf(t.declarations||s.Mlv),r.imports=Uf(t.imports||s.Mlv),r.exports=Uf(t.exports||s.Mlv),t.bootstrap&&(r.bootstrap=Uf(t.bootstrap)),_n.registerNgModule(e,t)})},\u0275\u0275registerNgModuleType:wv,\u0275\u0275getComponentDepsFactory:function WI(e,t){return()=>{try{return _n.getComponentDependencies(e,t).dependencies}catch(r){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,r),r}}},\u0275setClassDebugInfo:function kI(e,t){const r=(0,s.xUg)(e);null!==r&&(r.debugInfo=t)},\u0275\u0275declareLet:__,\u0275\u0275storeLet:P0,\u0275\u0275readContextLet:A0,\u0275\u0275attachSourceLocations:function OI(e,t){const r=(0,s.klJ)(),i=(0,s.OAn)(),a=i[s.GpT],d="data-ng-source-location";for(const[_,b,U,ie]of t){(0,s.XRZ)(r,_+s.Yw1);const We=(0,s.vaC)(_+s.Yw1,i);We.hasAttribute(d)||a.setAttribute(We,d,`${e}@o:${b},l:${U},c:${ie}`)}},\u0275\u0275interpolate:b0,\u0275\u0275interpolate1:R0,\u0275\u0275interpolate2:S0,\u0275\u0275interpolate3:function MI(e,t,r,i,a,d,_=""){return p0((0,s.OAn)(),e,t,r,i,a,d,_)},\u0275\u0275interpolate4:function TI(e,t,r,i,a,d,_,b,U=""){return g0((0,s.OAn)(),e,t,r,i,a,d,_,b,U)},\u0275\u0275interpolate5:function II(e,t,r,i,a,d,_,b,U,ie,ve=""){return m0((0,s.OAn)(),e,t,r,i,a,d,_,b,U,ie,ve)},\u0275\u0275interpolate6:function PI(e,t,r,i,a,d,_,b,U,ie,ve,We,dt=""){return _0((0,s.OAn)(),e,t,r,i,a,d,_,b,U,ie,ve,We,dt)},\u0275\u0275interpolate7:function AI(e,t,r,i,a,d,_,b,U,ie,ve,We,dt,ht,Qt=""){return v0((0,s.OAn)(),e,t,r,i,a,d,_,b,U,ie,ve,We,dt,ht,Qt)},\u0275\u0275interpolate8:function bI(e,t,r,i,a,d,_,b,U,ie,ve,We,dt,ht,Qt,En,Hn=""){return E0((0,s.OAn)(),e,t,r,i,a,d,_,b,U,ie,ve,We,dt,ht,Qt,En,Hn)},\u0275\u0275interpolateV:function RI(e){return d0((0,s.OAn)(),e)},\u0275\u0275sanitizeHtml:ou,\u0275\u0275sanitizeStyle:Ad,\u0275\u0275sanitizeResourceUrl:ka,\u0275\u0275sanitizeScript:function lp(e){const t=fa();if(t)return zl(t.sanitize(Qs.SCRIPT,e)||"");if(Ss(e,"Script"))return zl(Cs(e));throw new s.buA(905,!1)},\u0275\u0275validateAttribute:function dp(e,t,r){const i=t.toLowerCase(),a=r.toLowerCase();if(!Rd[i]?.has(a))return e;const d=(0,s.CpD)();if(2!==d.type)return e;const _=(0,s.OAn)();throw"iframe"===i&&function cp(e){const t=(0,s.OAn)();e.src="",e.srcdoc=hs(""),Wa(t[s.GpT],e)}((0,s.d31)(d,_)),new s.buA(-910,!1)},\u0275\u0275sanitizeUrl:iu,\u0275\u0275sanitizeUrlOrResourceUrl:Ha,\u0275\u0275trustConstantHtml:function up(e){return hs(e[0])},\u0275\u0275trustConstantResourceUrl:function bd(e){return function Kf(e){return md()?.createScriptURL(e)||e}(e[0])},forwardRef:s.Rfq,resolveForwardRef:s.nl4,\u0275\u0275twoWayProperty:g_,\u0275\u0275twoWayBindingSet:T0,\u0275\u0275twoWayListener:m_,\u0275\u0275replaceMetadata:function VI(e,t,r,i,a=null,d=null){const _=(0,s.xUg)(e);t.apply(null,[e,r,...i]);const{newDef:b,oldDef:U}=function HI(e,t){const r={...e};return{newDef:Object.assign(e,t,{directiveDefs:r.directiveDefs,pipeDefs:r.pipeDefs,setInput:r.setInput,type:r.type}),oldDef:r}}(_,(0,s.xUg)(e));if(e[s.CQl]=b,U.tView){const ie=function ge(){return Mt}().values();for(const ve of ie)(0,s.EFk)(ve)&&null===ve[s.f7T]&&Ff(a,d,b,U,ve)}},\u0275\u0275getReplaceMetadataURL:function jI(e,t,r){const i=`./@ng/component?c=${e}&t=${encodeURIComponent(t)}`;return new URL(i,r).href}};let Bl=null;function XI(e){null!==Bl&&(e.defaultEncapsulation!==Bl.defaultEncapsulation||e.preserveWhitespace
430s!==Bl.preserveWhitespaces)||(Bl=e)}const ud=[];function ly(e){return f(e)?e.ngModule:e}const hP=Ct("NgModule",e=>e,void 0,0,(e,t)=>function ZI(e,t={}){(function qI(e,t){const i=(0,s.Bqz)(t.declarations||s.Mlv);let a=null;Object.defineProperty(e,s.hmW,{configurable:!0,get:()=>(null===a&&(a=Dr().compileNgModule(Ia,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:(0,s.Bqz)(t.bootstrap||s.Mlv).map(s.nl4),declarations:i.map(s.nl4),imports:(0,s.Bqz)(t.imports||s.Mlv).map(s.nl4).map(ly),exports:(0,s.Bqz)(t.exports||s.Mlv).map(s.nl4).map(ly),schemas:t.schemas?(0,s.Bqz)(t.schemas):null,id:t.id||null}),a.schemas||(a.schemas=[])),a)});let d=null;Object.defineProperty(e,s.zSs,{get:()=>{if(null===d){const b=Dr();d=b.compileFactory(Ia,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:to(e),target:b.FactoryTarget.NgModule,typeArgumentCount:0})}return d},configurable:!1});let _=null;Object.defineProperty(e,s.ONQ,{get:()=>{if(null===_){const b={name:e.name,type:e,providers:t.providers||s.Mlv,imports:[(t.imports||s.Mlv).map(s.nl4),(t.exports||s.Mlv).map(s.nl4)]};_=Dr().compileInjector(Ia,`ng:///${e.name}/\u0275inj.js`,b)}return _},configurable:!1})})(e,t),void 0!==t.id&&wv(e,t.id),function YI(e,t){ud.push({moduleType:e,ngModule:t})}(e,t)}(e,t));class fP{ngModuleFactory;componentFactories;constructor(t,r){this.ngModuleFactory=t,this.componentFactories=r}}let pP=(()=>{class e{compileModuleSync(r){return new Uv(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){const i=this.compileModuleSync(r),d=ps((0,s.phH)(r).declarations).reduce((_,b)=>{const U=(0,s.xUg)(b);return U&&_.push(new rf(U)),_},[]);return new fP(i,d)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}static \u0275fac=function(i){return new(i||e)};static \u0275prov=(0,s.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const gP=new s.nKC("");let mP=(()=>{class e{zone=(0,s.WQX)(oo);changeDetectionScheduler=(0,s.WQX)(s.hk6);applicationRef=(0,s.WQX)(pf);applicationErrorHandler=(0,s.WQX)(s.ZTf);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(r){this.applicationErrorHandler(r)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=(0,s.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Cy=new s.nKC("",{factory:()=>!1});function yy({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:r}){return e??=()=>new oo({...I_(),scheduleInRootZone:r}),[{provide:oo,useFactory:e},{provide:s.Z63,multi:!0,useFactory:()=>{const i=(0,s.WQX)(mP,{optional:!0});return()=>i.initialize()}},{provide:s.Z63,multi:!0,useFactory:()=>{const i=(0,s.WQX)(_P);return()=>{i.initialize()}}},!0===t?{provide:s.Jy$,useValue:!0}:[],{provide:s.AQb,useValue:r??Jd},{provide:s.ZTf,useFactory:()=>{const i=(0,s.WQX)(oo),a=(0,s.WQX)(s.uvJ);let d;return _=>{i.runOutsideAngular(()=>{a.destroyed&&!d?setTimeout(()=>{throw _}):(d??=a.get(s.zcH),d.handleError(_))})}}}]}function I_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let _P=(()=>{class e{subscription=new jt.yU;initialized=!1;zone=(0,s.WQX)(oo);pendingTasks=(0,s.WQX)(s.rev);initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{oo.assertNotInAngularZone(),queueMicrotask(()=>{null!==r&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{oo.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||e)};static \u0275prov=(0,s.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),My=(()=>{class e{applicationErrorHandler=(0,s.WQX)(s.ZTf);appRef=(0,s.WQX)(pf);taskService=(0,s.WQX)(s.rev);ngZone=(0,s.WQX)(oo);zonelessEnabled=(0,s.WQX)(s.Evm);tracing=(0,s.WQX)(Qa,{optional:!0});disableScheduling=(0,s.WQX)(s.Jy$,{optional:!0})??!1;
430zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new jt.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Xc):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((0,s.WQX)(s.AQb,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof za||!this.zoneIsDefined)}notify(r){if(!this.zonelessEnabled&&5===r)return;let i=!1;switch(r){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,i=!0;break;case 12:this.appRef.dirtyFlags|=16,i=!0;break;case 11:i=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(i))return;const a=this.useMicrotaskScheduler?qd:Zd;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>a(()=>this.tick())):this.ngZone.runOutsideAngular(()=>a(()=>this.tick()))}shouldScheduleTick(r){return!(this.disableScheduling&&!r||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Xc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(i){this.taskService.remove(r),this.applicationErrorHandler(i)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,qd(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const r=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(r)}}static \u0275fac=function(i){return new(i||e)};static \u0275prov=(0,s.jDH)({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Ty=new s.nKC("",{providedIn:"root",factory:()=>(0,s.WQX)(Ty,{optional:!0,skipSelf:!0})||function vP(){return typeof $localize<"u"&&$localize.locale||qm}()}),EP=new s.nKC("",{providedIn:"root",factory:()=>"USD"})},45873(ye,A,n){n.d(A,{Zf:()=>x,EW:()=>H,QZ:()=>S,nf:()=>j,uu:()=>z,O8:()=>w}),n(56207);var l=n(17988),h=n(45478);function c(Fe,we,Be){const at=Object.create(D);at.source=Fe,at.computation=we,null!=Be&&(at.equal=Be);const Et=()=>{if((0,h.JC)(at),(0,h.mK)(at),at.value===h.EF)throw at.error;return at.value};return Et[h.bh]=at,(0,h.a7)(at),Et}const D={...h.pL,value:h.Ag,dirty:!0,error:null,equal:h.H8,kind:"linkedSignal",producerMustRecompute:Fe=>Fe.value===h.Ag||Fe.value===h.Ny,producerRecomputeValue(Fe){if(Fe.value===h.Ny)throw new Error("");const we=Fe.value;Fe.value=h.Ny;const Be=(0,h.Bg)(Fe);let at;try{const Ot=Fe.source();at=Fe.computation(Ot,we===h.Ag||we===h.EF?void 0:{source:Fe.sourceValue,value:we}),Fe.sourceValue=Ot}catch(Ot){at=h.EF,Fe.error=Ot}finally{(0,h.Wu)(Fe,Be)}we!==h.Ag&&at!==h.EF&&Fe.equal(we,at)?Fe.value=we:(Fe.value=at,Fe.version++)}},C={...h.pL,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"};class x{destroyed=!1;listeners=null;errorHandler=(0,l.WQX)(l.zcH,{optional:!0});destroyRef=(0,l.WQX)(l.abz);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(we){if(this.destroyed)throw new l.buA(953,!1);return(this.listeners??=[]).push(we),{unsubscribe:()=>{const Be=this.listeners?.indexOf(we);void 0!==Be&&-1!==Be&&this.listeners?.splice(Be,1)}}}emit(we){if(this.destroyed)return void console.warn((0,l.OsK)(953,!1));if(null===this.listeners)return;const Be=(0,h.Ht)(null);try{for(const at of this.listeners)try{at(we)}catch(Ot){this.errorHandler?.handleError(Ot)}}finally{(0,h.Ht)(Be)}}}function j(Fe){return Fe.destroyRef}function w(Fe){return function g(Fe){const we=(0,h.Ht)(null);try{return Fe()}finally{(0,h.Ht)(we)}}(Fe)}function H(Fe,we){return(0,h.KZ)(Fe,we?.equal)}class ae{[h.bh];constructor(we){this[h.bh]=we}destroy(){this[h.bh].destroy()}}function S(Fe,we){const Be=we?.injector??(0,l.WQX)(l.zZn);let Ot,at=!0!==we?.manualCleanup?Be.get(l.abz):null;const Et=Be.get(l.r4V,null,{optional:!0}),Yt=Be.get(l.hk6);return null!==Et?(Ot=function G(Fe,we,Be){const at=Object.create(re);return at.view=Fe,at.zone=typeof Zone<"u"?Zone.current:null,at.notifier=we,at.fn=pe(at,Be),Fe[l.tQN]??=new Set,Fe[l.tQN].add(at),at.consumerMarkedDirty(at),at}(Et.view,Yt,Fe),at instanceof l.KXn&&at._lView===Et.view&&(at=null)):Ot=function ce(Fe,we,Be){const at=Object.create(Y);
430return at.fn=pe(at,Fe),at.scheduler=we,at.notifier=Be,at.zone=typeof Zone<"u"?Zone.current:null,at.scheduler.add(at),at.notifier.notify(12),at}(Fe,Be.get(l.VML),Yt),Ot.injector=Be,null!==at&&(Ot.onDestroyFn=at.onDestroy(()=>Ot.destroy())),new ae(Ot)}const J={...C,cleanupFns:void 0,zone:null,onDestroyFn:l.lQ1,run(){const Fe=(0,l.cBl)(!1);try{!function v(Fe){if(Fe.dirty=!1,Fe.version>0&&!(0,h.si)(Fe))return;Fe.version++;const we=(0,h.Bg)(Fe);try{Fe.cleanup(),Fe.fn()}finally{(0,h.Wu)(Fe,we)}}(this)}finally{(0,l.cBl)(Fe)}},cleanup(){if(!this.cleanupFns?.length)return;const Fe=(0,h.Ht)(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],(0,h.Ht)(Fe)}}},Y={...J,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){(0,h.XR)(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}},re={...J,consumerMarkedDirty(){this.view[l.Wg1]|=8192,(0,l.blu)(this.view),this.notifier.notify(13)},destroy(){(0,h.XR)(this),this.onDestroyFn(),this.cleanup(),this.view[l.tQN]?.delete(this)}};function pe(Fe,we){return()=>{we(Be=>(Fe.cleanupFns??=[]).push(Be))}}const De=Fe=>Fe;function z(Fe,we){return ke("function"==typeof Fe?c(Fe,De,we?.equal):c(Fe.source,Fe.computation,Fe.equal))}function ke(Fe,we){const Be=Fe[h.bh],at=Fe;return at.set=Ot=>function T(Fe,we){(0,h.JC)(Fe),(0,h.j2)(Fe,we),(0,h.TO)(Fe)}(Be,Ot),at.update=Ot=>function o(Fe,we){(0,h.JC)(Fe),(0,h.mC)(Fe,we),(0,h.TO)(Fe)}(Be,Ot),at.asReadonly=l.HO5.bind(Fe),at}Error,Error},17988(ye,A,n){let u;function l(){return u}function h(F){const _e=u;return u=F,_e}n.d(A,{JEi:()=>on,Isx:()=>Dn,EJG:()=>Mt,Yrj:()=>St,VVG:()=>Ao,Y20:()=>yr,SKP:()=>Wo,hk6:()=>Pc,eVN:()=>cs,b5C:()=>L,rQE:()=>W,X5O:()=>oe,qFA:()=>Pn,qQL:()=>gi,abz:()=>ds,tQN:()=>Gt,pcR:()=>Tt,oMQ:()=>qe,Mlv:()=>Zt,MZA:()=>xt,M0L:()=>Se,Z63:()=>xn,VML:()=>Ba,uvJ:()=>uo,zcH:()=>Ji,Wg1:()=>Ur,Yw1:()=>Cn,jgP:()=>Eo,tcA:()=>ci,ID:()=>Le,YEL:()=>Pe,B9r:()=>wn,GBX:()=>Ar,ZTf:()=>La,nKC:()=>Wt,zZn:()=>wo,rJ1:()=>oi,nfM:()=>Zn,s6P:()=>Kn,K29:()=>Lo,CQl:()=>Dr,p9y:()=>Ae,zSs:()=>Ve,ONQ:()=>mt,hmW:()=>Sr,yAH:()=>s,KXn:()=>mi,oTH:()=>Ir,Czx:()=>Pt,f7T:()=>Co,wVl:()=>le,GYQ:()=>Vl,u5s:()=>$l,rev:()=>ia,Ds7:()=>ge,e5P:()=>$r,Iaj:()=>zt,GpT:()=>rt,buA:()=>I,AQb:()=>wa,jNX:()=>ts,eDl:()=>To,qlT:()=>No,bm_:()=>Bn,RxE:()=>E,r4V:()=>jl,ok8:()=>P,Evm:()=>dd,Jy$:()=>Hl,laP:()=>w,EYC:()=>fn,ng7:()=>yt,llW:()=>dr,gsJ:()=>rr,GZS:()=>jo,iYM:()=>we,PEr:()=>Ps,z7f:()=>at,LZP:()=>Ot,Xln:()=>Ze,yzR:()=>Is,TWe:()=>Ni,LIA:()=>Qe,GWr:()=>Te,pbo:()=>je,bBq:()=>Xo,Af3:()=>Mo,zQk:()=>di,oZy:()=>Ci,tF7:()=>Et,ZFY:()=>lr,cP4:()=>ui,MdC:()=>Li,XvL:()=>X,KET:()=>ti,Tkx:()=>es,iw4:()=>Ye,tdH:()=>kl,pr_:()=>ut,IAh:()=>ne,U45:()=>ke,WrV:()=>it,kNT:()=>Yt,MI:()=>ri,biv:()=>zo,ZQF:()=>Ue,Cv0:()=>Re,W0r:()=>Ei,R2n:()=>li,O8q:()=>ko,VKj:()=>no,Rom:()=>yi,z6V:()=>p,n$e:()=>re,hjC:()=>Oe,Pz9:()=>$o,PQT:()=>bn,VX4:()=>Er,_Z$:()=>ln,N79:()=>Pa,xLP:()=>dn,zuh:()=>Xn,BI7:()=>An,U7d:()=>rn,uXy:()=>In,nZS:()=>Ut,ihb:()=>Ra,ID8:()=>Vs,gv8:()=>Mc,dwj:()=>J,Bqz:()=>It,OsK:()=>j,Rfq:()=>pe,c$7:()=>Yi,gxQ:()=>Bi,ckz:()=>ls,kLh:()=>S,xUg:()=>Lr,KdJ:()=>ms,db4:()=>jr,VPL:()=>Gr,MT:()=>ba,Z9v:()=>Ws,Ab:()=>et,w7Z:()=>ks,Mx4:()=>me,veI:()=>Ne,HaV:()=>On,Agf:()=>eo,znI:()=>bs,wGu:()=>nt,ebl:()=>an,OAn:()=>B,_0$:()=>Gi,UaU:()=>Qr,vaC:()=>Hi,d31:()=>Oi,ZRn:()=>$i,phH:()=>Hr,WbQ:()=>Tr,WB9:()=>lo,d_l:()=>ss,vNG:()=>as,oyA:()=>mr,_px:()=>ot,CpD:()=>$t,XRZ:()=>Mi,klJ:()=>K,Fje:()=>ws,b$O:()=>xr,SMZ:()=>ae,WQX:()=>fe,MzJ:()=>Mr,jXY:()=>Ee,MME:()=>Jr,JlV:()=>Me,Qs1:()=>se,srX:()=>te,vOT:()=>rs,YWB:()=>Jt,EPY:()=>io,yoD:()=>V,P3H:()=>si,Jzi:()=>z,rFz:()=>_o,JjR:()=>Oc,M6u:()=>ai,KtD:()=>Bs,muV:()=>ze,A0l:()=>fr,q$2:()=>br,yP_:()=>Ho,EFk:()=>lt,Hps:()=>$s,UhH:()=>Us,QuC:()=>Tn,Y3W:()=>sr,n$r:()=>Wl,K7h:()=>Br,FRF:()=>st,ezK:()=>gr,m7n:()=>bo,niQ:()=>be,krE:()=>Xi,bll:()=>he,Hh6:()=>hi,EmA:()=>Yr,blu:()=>Pi,HAh:()=>Ti,WfI:()=>ir,xbp:()=>us,jvu:()=>Ie,lQ1:()=>hd,Rc9:()=>Zr,E6O:()=>gn,DyX:()=>Ai,eFE:()=>gt,dMS:()=>is,HUe:()=>Ki,nl4:()=>De,N4e:()=>ei,XaM:()=>Fr,Kw3:()=>Aa,vQI:()=>bi,RZ9:()=>Es,GA0:()=>js,iMd:()=>At,Pfq:()=>kn,xyx:()=>na,a2B:()=>Or,kcM:()=>Ct,DFp:()=>Lt,P2g:()=>wi,cBl:()=>zi,ypq:()=>Nt,vPA:()=>Tc,HO5:()=>Fl,M_e:()=>Vo,B22:()=>As,ik5:()=>xi,AsM:()=>Y,PP7:()=>Kt,$8:()=>Be,$Hz:()=>Yn,zAe:()=>ns,IvY:()=>Yo,_gW:()=>Ii,F1c:()=>ii,ITl:()=>os,brz:()=>ft,jRZ:()=>fi,SX7:()=>so,jDH:()=>bt,G2t:()=>tt,fuf:()=>vs,cSN:()=>_s,KVO:()=>$,dmw:()=>ue,joV:()=>tr,By9:()=>Ln,qSk:()=>pn,Njj:()=>Q,eBV:()=>k});const T=Symbol("NotFound");function D(F){return F===T||"\u0275NotFound"===F?.name}Error;var g=n(45478),C=n(95536),v=n(64517);class E{full;major;minor;patch;constructor(_e){this.full=_e;const Ge=_e.split(".");this.major=Ge[0],this.minor=Ge[1],this.patch=Ge.slice(2).join(".")}}const P="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";
430class I extends Error{code;constructor(_e,Ge){super(j(_e,Ge)),this.code=_e}}function j(F,_e){return`${function x(F){return`NG0${Math.abs(F)}`}(F)}${_e?": "+_e:""}`}const w=globalThis;function ae(){return!1}function S(F){for(let _e in F)if(F[_e]===S)return _e;throw Error("")}function J(F,_e){for(const Ge in _e)_e.hasOwnProperty(Ge)&&!F.hasOwnProperty(Ge)&&(F[Ge]=_e[Ge])}function Y(F){if("string"==typeof F)return F;if(Array.isArray(F))return`[${F.map(Y).join(", ")}]`;if(null==F)return""+F;const _e=F.overriddenName||F.name;if(_e)return`${_e}`;const Ge=F.toString();if(null==Ge)return""+Ge;const Ft=Ge.indexOf("\n");return Ft>=0?Ge.slice(0,Ft):Ge}function re(F,_e){return F?_e?`${F} ${_e}`:F:_e||""}const ce=S({__forward_ref__:S});function pe(F){return F.__forward_ref__=pe,F.toString=function(){return Y(this())},F}function De(F){return z(F)?F():F}function z(F){return"function"==typeof F&&F.hasOwnProperty(ce)&&F.__forward_ref__===pe}function ke(F,_e){"number"!=typeof F&&Be(_e,typeof F,"number","===")}function it(F,_e,Ge){ke(F,"Expected a number"),function q(F,_e,Ge){F<=_e||Be(Ge,F,_e,"<=")}(F,Ge,"Expected number to be less than or equal to"),je(F,_e,"Expected number to be greater than or equal to")}function Re(F,_e){"string"!=typeof F&&Be(_e,null===F?"null":typeof F,"string","===")}function Qe(F,_e){"function"!=typeof F&&Be(_e,null===F?"null":typeof F,"function","===")}function Ze(F,_e,Ge){F!=_e&&Be(Ge,F,_e,"==")}function Ye(F,_e,Ge){F==_e&&Be(Ge,F,_e,"!=")}function Ue(F,_e,Ge){F!==_e&&Be(Ge,F,_e,"===")}function ne(F,_e,Ge){F===_e&&Be(Ge,F,_e,"!==")}function X(F,_e,Ge){F<_e||Be(Ge,F,_e,"<")}function Te(F,_e,Ge){F>_e||Be(Ge,F,_e,">")}function je(F,_e,Ge){F>=_e||Be(Ge,F,_e,">=")}function we(F,_e){null==F&&Be(_e,F,null,"!=")}function Be(F,_e,Ge,Ft){throw new Error(`ASSERTION ERROR: ${F}`+(null==Ft?"":` [Expected=> ${Ge} ${Ft} ${_e} <=Actual]`))}function at(F){F instanceof Node||Be(`The provided value must be an instance of a DOM Node but got ${Y(F)}`)}function Ot(F){F instanceof Element||Be(`The provided value must be an element but got ${Y(F)}`)}function Et(F,_e){we(F,"Array must be defined.");const Ge=F.length;(_e<0||_e>=Ge)&&Be(`Index expected to be less than ${Ge} but got ${_e}`)}function Yt(F,..._e){if(-1!==_e.indexOf(F))return!0;Be(`Expected value to be one of ${JSON.stringify(_e)} but was ${JSON.stringify(F)}.`)}function ut(F){null!==(0,g.nR)()&&Be(`${F}() should never be called in a reactive context.`)}function bt(F){return{token:F.token,providedIn:F.providedIn||null,factory:F.factory,value:void 0}}function tt(F){return{providers:F.providers||[],imports:F.imports||[]}}function Ht(F){return function vt(F,_e){return F.hasOwnProperty(_e)&&F[_e]||null}(F,s)}function ze(F){return null!==Ht(F)}function an(F){return F&&F.hasOwnProperty(mt)?F[mt]:null}const s=S({\u0275prov:S}),mt=S({\u0275inj:S});class Wt{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(_e,Ge){this._desc=_e,this.\u0275prov=void 0,"number"==typeof Ge?this.__NG_ELEMENT_ID__=Ge:void 0!==Ge&&(this.\u0275prov=bt({token:this,providedIn:Ge.providedIn||"root",factory:Ge.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}let jt;function sn(){return Be("getInjectorProfilerContext should never be called in production mode"),jt}function Lt(F){Be("setInjectorProfilerContext should never be called in production mode");const _e=jt;return jt=F,_e}const vn=[],wt=()=>{};function Ct(F){return Be("setInjectorProfiler should never be called in production mode"),null!==F?(vn.includes(F)||vn.push(F),()=>function cn(F){const _e=vn.indexOf(F);-1!==_e&&vn.splice(_e,1)}(F)):(vn.length=0,wt)}function Mn(F){Be("Injector profiler should never be called in production mode");for(let _e=0;_e<vn.length;
430_e++)(0,vn[_e])(F)}function Ut(F,_e=!1){let Ge;Be("Injector profiler should never be called in production mode"),Ge="function"==typeof F||F instanceof Wt?F:De(F.provide);let Ft=F;F instanceof Wt&&(Ft=F.\u0275prov||F),Mn({type:2,context:sn(),providerRecord:{token:Ge,provider:Ft,isViewProvider:_e}})}function rn(F){Be("Injector profiler should never be called in production mode"),Mn({type:4,context:sn(),token:F})}function In(F){Be("Injector profiler should never be called in production mode"),Mn({type:1,context:sn(),instance:{value:F}})}function An(F,_e,Ge){Be("Injector profiler should never be called in production mode"),Mn({type:0,context:sn(),service:{token:F,value:_e,flags:Ge}})}function Xn(F){Be("Injector profiler should never be called in production mode"),Mn({type:3,context:sn(),effect:F})}function Fr(F,_e,Ge){Be("runInInjectorProfilerContext should never be called in production mode");const Ft=Lt({injector:F,token:_e});try{Ge()}finally{Lt(Ft)}}function Pr(F){return F&&!!F.\u0275providers}const Dr=S({\u0275cmp:S}),wr=S({\u0275dir:S}),jn=S({\u0275pipe:S}),Sr=S({\u0275mod:S}),Ve=S({\u0275fac:S}),Ae=S({__NG_ELEMENT_ID__:S}),$e=S({__NG_ENV_ID__:S});function gt(F){return"string"==typeof F?F:null==F?"":String(F)}function Kt(F){return"function"==typeof F?F.name||F.toString():"object"==typeof F&&null!=F&&"function"==typeof F.type?F.type.name||F.type.toString():gt(F)}function ln(F){let _e=F[Dr]||null;return null!==_e&&_e.debugInfo?function un(F){return F.filePath&&F.lineNumber?`${F.className} (at ${F.filePath}:${F.lineNumber})`:F.className}(_e.debugInfo):Kt(F)}const nn=S({ngErrorCode:S}),Rt=S({ngErrorMessage:S}
430),Xt=S({ngTokenPath:S});function bn(F,_e){return qn("",-200,_e)}function Er(F,_e){return function vr(F,_e){return F.message=function nr(F,_e,Ge=[],Ft=null){let qt="";Ge&&Ge.length>1&&(qt=` Path: ${Ge.join(" -> ")}.`);return j(_e,`${F}${Ft?` Source: ${Ft}.`:""}${qt}`)}(F[Rt]||F.message,F[nn],F[Xt],_e),F}(bn(0,_e),null)}function Yn(F,_e){throw new I(-201,!1)}function qn(F,_e,Ge){const Ft=new I(_e,F);return Ft[nn]=_e,Ft[Rt]=F,Ge&&(Ft[Xt]=Ge),Ft}let Jn;function $n(){return Jn}function Or(F){const _e=Jn;return Jn=F,_e}function Mr(F,_e,Ge){const Ft=Ht(F);return Ft&&"root"==Ft.providedIn?void 0===Ft.value?Ft.value=Ft.factory():Ft.value:8&Ge?null:void 0!==_e?_e:void Yn()}function lr(F){}const or={},zr="__NG_DI_FLAG__";class go{injector;constructor(_e){this.injector=_e}retrieve(_e,Ge){const Ft=Oe(Ge)||0;try{return this.injector.get(_e,8&Ft?null:or,Ft)}catch(qt){if(D(qt))return qt;throw qt}}}function ct(F,_e=0){const Ge=l();if(void 0===Ge)throw new I(-203,!1);if(null===Ge)return Mr(F,void 0,_e);{const Ft=function Z(F){return{optional:!!(8&F),host:!!(1&F),self:!!(2&F),skipSelf:!!(4&F)}}(_e),qt=Ge.retrieve(F,Ft);if(D(qt)){if(Ft.optional)return null;throw qt}return qt}}function $(F,_e=0){return($n()||ct)(De(F),_e)}function ue(F){throw new I(202,!1)}function fe(F,_e){return $(F,Oe(_e))}function Oe(F){return typeof F>"u"||"number"==typeof F?F:0|(F.optional&&8)|(F.host&&1)|(F.self&&2)|(F.skipSelf&&4)}function Ce(F){const _e=[];for(let Ge=0;Ge<F.length;Ge++){const Ft=De(F[Ge]);if(Array.isArray(Ft)){if(0===Ft.length)throw new I(900,!1);let qt,Gn=0;for(let Xr=0;Xr<Ft.length;Xr++){const ho=Ft[Xr],yo=Ke(ho);"number"==typeof yo?-1===yo?qt=ho.token:Gn|=yo:qt=ho}_e.push($(qt,Gn))}else _e.push($(Ft))}return _e}function p(F,_e){return F[zr]=_e,F.prototype[zr]=_e,F}function Ke(F){return F[zr]}function nt(F,_e){return F.hasOwnProperty(Ve)?F[Ve]:null}function yt(F,_e,Ge){if(F.length!==_e.length)return!1;for(let Ft=0;Ft<F.length;
430Ft++){let qt=F[Ft],Gn=_e[Ft];if(Ge&&(qt=Ge(qt),Gn=Ge(Gn)),Gn!==qt)return!1}return!0}function It(F){return F.flat(Number.POSITIVE_INFINITY)}function dn(F,_e){F.forEach(Ge=>Array.isArray(Ge)?dn(Ge,_e):_e(Ge))}function fn(F,_e,Ge){_e>=F.length?F.push(Ge):F.splice(_e,0,Ge)}function gn(F,_e){return _e>=F.length-1?F.pop():F.splice(_e,1)[0]}function ir(F,_e){const Ge=[];for(let Ft=0;Ft<F;Ft++)Ge.push(_e);return Ge}function rr(F,_e,Ge){const Ft=F.length-Ge;for(;_e<Ft;)F[_e]=F[_e+Ge],_e++;for(;Ge--;)F.pop()}function dr(F,_e,Ge,Ft){let qt=F.length;if(qt==_e)F.push(Ge,Ft);else if(1===qt)F.push(Ft,F[0]),F[0]=Ge;else{for(qt--,F.push(F[qt-1],F[qt]);qt>_e;)F[qt]=F[qt-2],qt--;F[_e]=Ge,F[_e+1]=Ft}}function gr(F,_e,Ge){let Ft=st(F,_e);return Ft>=0?F[1|Ft]=Ge:(Ft=~Ft,dr(F,Ft,_e,Ge)),Ft}function Br(F,_e){const Ge=st(F,_e);if(Ge>=0)return F[1|Ge]}function st(F,_e){return function Dt(F,_e,Ge){let Ft=0,qt=F.length>>Ge;for(;qt!==Ft;){const Gn=Ft+(qt-Ft>>1),Xr=F[Gn<<Ge];if(_e===Xr)return Gn<<Ge;Xr>_e?qt=Gn:Ft=Gn+1}return~(qt<<Ge)}(F,_e,1)}const xt={},Zt=[],xn=new Wt(""),Rn=new Wt("",-1),wn=new Wt("");class Ir{get(_e,Ge=or){if(Ge===or){const qt=qn("",-201);throw qt.name="\u0275NotFound",qt}return Ge}}function Hr(F){return F[Sr]||null}function Tr(F){const _e=Hr(F);if(!_e)throw new I(915,!1);return _e}function Lr(F){return F[Dr]||null}function eo(F){const _e=On(F);if(!_e)throw new I(916,!1);return _e}function On(F){return F[wr]||null}function mr(F){return F[jn]||null}function Tn(F){const _e=Lr(F)||On(F)||mr(F);return null!==_e&&_e.standalone}function Yr(F){return{\u0275providers:F}}function Je(...F){return{\u0275providers:Ee(0,F),\u0275fromNgModule:!0}}function Ee(F,..._e){const Ge=[],Ft=new Set;let qt;const Gn=Xr=>{Ge.push(Xr)};return dn(_e,Xr=>{const ho=Xr;ft(ho,Gn,[],Ft)&&(qt||=[],qt.push(ho))}),void 0!==qt&&xe(qt,Gn),Ge}function xe(F,_e){for(let Ge=0;Ge<F.length;Ge++){const{ngModule:Ft,providers:qt}=F[Ge];tn(qt,Gn=>{_e(Gn,Ft)})}}function ft(F,_e,Ge,Ft){if(!(F=De(F)))return!1;let qt=null,Gn=an(F);const Xr=!Gn&&Lr(F);if(Gn||Xr){if(Xr&&!Xr.standalone)return!1;qt=F}else{const yo=F.ngModule;if(Gn=an(yo),!Gn)return!1;qt=yo}const ho=Ft.has(qt);if(Xr){if(ho)return!1;if(Ft.add(qt),Xr.dependencies){const yo="function"==typeof Xr.dependencies?Xr.dependencies():Xr.dependencies;for(const Io of yo)ft(Io,_e,Ge,Ft)}}else{if(!Gn)return!1;{if(null!=Gn.imports&&!ho){let Io;Ft.add(qt);try{dn(Gn.imports,Ui=>{ft(Ui,_e,Ge,Ft)&&(Io||=[],Io.push(Ui))})}finally{}void 0!==Io&&xe(Io,_e)}if(!ho){const Io=nt(qt)||(()=>new qt);_e({provide:qt,useFactory:Io,deps:Zt},qt),_e({provide:wn,useValue:qt,multi:!0},qt),_e({provide:xn,useValue:()=>$(qt),multi:!0},qt)}const yo=Gn.providers;if(null!=yo&&!ho){const Io=F;tn(yo,Ui=>{_e(Ui,Io)})}}}return qt!==F&&void 0!==F.providers}function tn(F,_e){for(let Ge of F)Pr(Ge)&&(Ge=Ge.\u0275providers),Array.isArray(Ge)?tn(Ge,_e):_e(Ge)}const Nn=S({provide:String,useValue:S});function Vn(F){return null!==F&&"object"==typeof F&&Nn in F}function sr(F){return"function"==typeof F}function Jr(F){return!!F.useClass}const Ar=new Wt(""),kr={},co={};let Nr;function lo(){return void 0===Nr&&(Nr=new Ir),Nr}class uo{}class $r extends uo{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(_e,Ge,Ft,qt){super(),this.parent=Ge,this.source=Ft,this.scopes=qt,Kr(_e,Xr=>this.processProvider(Xr)),this.records.set(Rn,Oo(void 0,this)),qt.has("environment")&&this.records.set(uo,Oo(void 0,this));const Gn=this.records.get(Ar);null!=Gn&&"string"==typeof Gn.value&&this.scopes.add(Gn.value),this.injectorDefTypes=new Set(this.get(wn,Zt,{self:!0}))}retrieve(_e,Ge){const Ft=Oe(Ge)||0;try{return this.get(_e,or,Ft)}catch(qt){if(D(qt))return qt;throw qt}}destroy(){mo(this),this._destroyed=!0;const _e=(0,g.Ht)(null);try{for(const Ft of this._ngOnDestroyHooks)Ft.ngOnDestroy();const Ge=this._onDestroyHooks;this._onDestroyHooks=[];for(const Ft of Ge)Ft()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),(0,g.Ht)(_e)}}onDestroy(_e){return mo(this),this._onDestroyHooks.push(_e),()=>this.removeOnDestroy(_e)}runInContext(_e){mo(this);const Ge=h(this),Ft=Or(void 0);try{return _e()}finally{h(Ge),Or(Ft)}}get(_e,Ge=or,Ft){if(mo(this),_e.hasOwnProperty($e))return _e[$e](this);const qt=Oe(Ft),Xr=h(this),ho=Or(void 0);try{if(!(4&qt)){let Io=this.records.get(_e);if(void 0===Io){const Ui=function Si(F){return"function"==typeof F||"object"==typeof F&&"InjectionToken"===F.ngMetadataName}(_e)&&Ht(_e);Io=Ui&&this.injectableDefInScope(Ui)?Oo(to(_e),kr):null,this.records.set(_e,Io)}if(null!=Io)return this.hydrate(_e,Io,qt)}return(2&qt?lo():this.parent).get(_e,Ge=8&qt&&Ge===or?null:Ge)}catch(yo){const Io=function cr(F){return F[nn]}(yo);throw-200===Io||-201===Io?new I(Io,null):yo}finally{Or(ho),h(Xr)}}
430resolveInjectorInitializers(){const _e=(0,g.Ht)(null),Ge=h(this),Ft=Or(void 0);try{const Gn=this.get(xn,Zt,{self:!0});for(const Xr of Gn)Xr()}finally{h(Ge),Or(Ft),(0,g.Ht)(_e)}}toString(){const _e=[],Ge=this.records;for(const Ft of Ge.keys())_e.push(Y(Ft));return`R3Injector[${_e.join(", ")}]`}processProvider(_e){let Ge=sr(_e=De(_e))?_e:De(_e&&_e.provide);const Ft=function Go(F){return Vn(F)?Oo(void 0,F.useValue):Oo(Zr(F),kr)}(_e);if(!sr(_e)&&!0===_e.multi){let qt=this.records.get(Ge);qt||(qt=Oo(void 0,kr,!0),qt.factory=()=>Ce(qt.multi),this.records.set(Ge,qt)),Ge=_e,qt.multi.push(_e)}this.records.set(Ge,Ft)}hydrate(_e,Ge,Ft){const qt=(0,g.Ht)(null);try{if(Ge.value===co)throw bn(Y(_e));return Ge.value===kr&&(Ge.value=co,Ge.value=Ge.factory(void 0,Ft)),"object"==typeof Ge.value&&Ge.value&&function Qo(F){return null!==F&&"object"==typeof F&&"function"==typeof F.ngOnDestroy}(Ge.value)&&this._ngOnDestroyHooks.add(Ge.value),Ge.value}finally{(0,g.Ht)(qt)}}injectableDefInScope(_e){if(!_e.providedIn)return!1;const Ge=De(_e.providedIn);return"string"==typeof Ge?"any"===Ge||this.scopes.has(Ge):this.injectorDefTypes.has(Ge)}removeOnDestroy(_e){const Ge=this._onDestroyHooks.indexOf(_e);-1!==Ge&&this._onDestroyHooks.splice(Ge,1)}}function to(F){const _e=Ht(F),Ge=null!==_e?_e.factory:nt(F);if(null!==Ge)return Ge;if(F instanceof Wt)throw new I(204,!1);if(F instanceof Function)return function vo(F){if(F.length>0)throw new I(204,!1);const Ge=function pt(F){return(F?.[s]??null)||null}(F);return null!==Ge?()=>Ge.factory(F):()=>new F}(F);throw new I(204,!1)}function Zr(F,_e,Ge){let Ft;if(sr(F)){const qt=De(F);return nt(qt)||to(qt)}if(Vn(F))Ft=()=>De(F.useValue);else if(function Wn(F){return!(!F||!F.useFactory)}(F))Ft=()=>F.useFactory(...Ce(F.deps||[]));else if(function _r(F){return!(!F||!F.useExisting)}(F))Ft=(qt,Gn)=>$(De(F.useExisting),void 0!==Gn&&8&Gn?8:void 0);else{const qt=De(F&&(F.useClass||F.provide));if(!function Fo(F){return!!F.deps}(F))return nt(qt)||to(qt);Ft=()=>new qt(...Ce(F.deps))}return Ft}function mo(F){if(F.destroyed)throw new I(205,!1)}function Oo(F,_e,Ge=!1){return{factory:F,value:_e,multi:Ge?[]:void 0}}function Kr(F,_e){for(const Ge of F)Array.isArray(Ge)?Kr(Ge,_e):Ge&&Pr(Ge)?Kr(Ge.\u0275providers,_e):_e(Ge)}function ei(F,_e){let Ge;F instanceof $r?(mo(F),Ge=F):Ge=new go(F);const qt=h(Ge),Gn=Or(void 0);try{return _e()}finally{h(qt),Or(Gn)}}function ai(){return void 0!==$n()||null!=l()}function Mo(F){if(!ai())throw new I(-203,!1)}const Eo=0,To=1,Ur=2,Co=3,Lo=4,No=5,ci=6,Ao=7,Wo=8,Pe=9,Se=10,rt=11,Mt=12,St=13,oe=14,L=15,W=16,le=17,ge=18,Le=19,qe=20,Pt=21,Tt=22,Gt=23,zt=24,on=25,Dn=26,Cn=27,Pn=6,Kn=7,Bn=8,Zn=9,yr=10;function br(F){return Array.isArray(F)&&"object"==typeof F[1]}function fr(F){return Array.isArray(F)&&!0===F[1]}function te(F){return!!(4&F.flags)}function se(F){return F.componentOffset>-1}function V(F){return!(1&~F.flags)}function Me(F){return!!F.template}function lt(F){return!!(512&F[Ur])}function io(F){return!(256&~F[Ur])}function no(F,_e){yi(F,_e[To])}function ko(F,_e){const Ge=_e+Cn;Et(F,Ge),X(Ge,F[To].bindingStartIndex,"TNodes should be created before any bindings")}function yi(F,_e){li(F);const Ge=_e.data;for(let Ft=Cn;Ft<Ge.length;Ft++)if(Ge[Ft]===F)return;Be("This TNode does not belong to this TView.")}function li(F){we(F,"TNode must be defined"),F&&"object"==typeof F&&F.hasOwnProperty("directiveStylingLast")||Be("Not of type TNode, got: "+F)}function Ei(F){we(F,"Expected TIcu to be defined"),"number"!=typeof F.currentCaseLViewIndex&&Be("Object is not of TIcu type.")}function jo(F,_e="Type passed in is not ComponentType, it does not have '\u0275cmp' property."){Lr(F)||Be(_e)}function ti(F,_e="Type passed in is not NgModuleType, it does not have '\u0275mod' property."){Hr(F)||Be(_e)}function Xo(F){we(F,"currentTNode should exist!"),we(F.parent,"currentTNode should have a parent")}function ui(F){we(F,"LContainer must be defined"),Ze(fr(F),!0,"Expecting LContainer")}function Li(F){we(F,"LView must be defined"),Ze(br(F),!0,"Expecting LView")}function Is(F,_e){Ze(F.firstCreatePass,!0,_e||"Should only be called in first create pass.")}function Ni(F,_e){Ze(F.firstUpdatePass,!0,"Should only be called in first update pass.")}function Ps(F){(void 0===F.type||null==F.selectors||void 0===F.inputs)&&Be("Expected a DirectiveDef/ComponentDef and this object does not seem to have the expected shape.")}function di(F,_e){Di(Cn,F.bindingStartIndex,_e)}function Ci(F,_e){Di(F[1].expandoStartIndex,F.length,_e)}function Di(F,_e,Ge){F<=Ge&&Ge<_e||Be(`Index out of range (expecting ${F} <= ${Ge} < ${_e})`)}function zo(F,_e){we(F[L],"Component views should exist."),we(F[L][No].projection,"Components with projection nodes (<ng-content>) must have projection slots defined.")}function ri(F,_e){we(F,"Component views should always have a parent view (component's host view)")}function es(F,_e){Ci(F,_e),Ci(F,_e+8),ke(F[_e+0],"injectorIndex should point to a bloom filter"),ke(F[_e+1],"injectorIndex should point to a bloom filter"),ke(F[_e+2],"injectorIndex should point to a bloom filter"),ke(F[_e+3],"injectorIndex should point to a bloom filter"),ke(F[_e+4],"injectorIndex should point to a bloom filter"),ke(F[_e+5],"injectorIndex should point to a bloom filter"),ke(F[_e+6],"injectorIndex should point to a bloom filter"),ke(F[_e+7],"injectorIndex should point to a bloom filter"),ke(F[_e+8],"injectorIndex should point to parent injector")}const ts="svg",oi="math";function Yo(F){for(;Array.isArray(F);)F=F[Eo];return F}function ns(F){for(;Array.isArray(F);){if("object"==typeof F[1])return F;F=F[Eo]}return null}function Hi(F,_e){return Yo(_e[F])}function Oi(F,_e){return Yo(_e[F.index])}function $i(F,_e){const Ge=null===F?-1:F.index;return-1!==Ge?Yo(_e[Ge]):null}function Mi(F,_e){return F.data[_e]}function hi(F,_e){return F[_e]}function Vo(F,_e,Ge,Ft){Ge>=F.data.length&&(F.data[Ge]=null,F.blueprint[Ge]=null),_e[Ge]=Ft}function ms(F,_e){const Ge=_e[F];return br(Ge)?Ge:Ge[Eo]}function rs(F){return!(4&~F[Ur])}function ii(F){return!(128&~F[Ur])}function os(F){return fr(F[Co])}function jr(F,_e){return null==_e?null:F[_e]}function Ki(F){F[le]=0}function Ti(F){1024&F[Ur]||(F[Ur]|=1024,ii(F)&&Pi(F))}function fi(F,_e){for(;F>0;)_e=_e[oe],F--;return _e}function is(F){return!!(9216&F[Ur]||F[zt]?.dirty)}function Ii(F){F[Se].changeDetectionScheduler?.notify(8),64&F[Ur]&&(F[Ur]|=1024),is(F)&&Pi(F)}function Pi(F){F[Se].changeDetectionScheduler?.notify(0);let _e=Gi(F);for(;null!==_e&&!(8192&_e[Ur])&&(_e[Ur]|=8192,ii(_e));)_e=Gi(_e)}function xi(F,_e){if(io(F))throw new I(911,!1);null===F[Pt]&&(F[Pt]=[]),F[Pt].push(_e)}function Ai(F,_e){if(null===F[Pt])return;const Ge=F[Pt].indexOf(_e);-1!==Ge&&F[Pt].splice(Ge,1)}function Gi(F){const _e=F[Co];return fr(_e)?_e[Co]:_e}function ss(F){return F[Ao]??=[]}function as(F){return F.cleanup??=[]}function As(F,_e,Ge,Ft){const qt=ss(_e);qt.push(Ge),F.firstCreatePass&&as(F).push(Ft,qt.length-1)}const ur={lFrame:Hs(null),bindingsEnabled:!0,skipHydrationRootTNode:null};
430var cs=function(F){return F[F.Off=0]="Off",F[F.Exhaustive=1]="Exhaustive",F[F.OnlyDirtyViews=2]="OnlyDirtyViews",F}(cs||{});let Qi=0,pi=!1;function bs(){return ur.lFrame.elementDepthCount}function ws(){ur.lFrame.elementDepthCount++}function Pa(){ur.lFrame.elementDepthCount--}function ls(){return ur.bindingsEnabled}function Bs(){return null!==ur.skipHydrationRootTNode}function Us(F){return ur.skipHydrationRootTNode===F}function _s(){ur.bindingsEnabled=!0}function vs(){ur.bindingsEnabled=!1}function Xi(){ur.skipHydrationRootTNode=null}function B(){return ur.lFrame.lView}function K(){return ur.lFrame.tView}function k(F){return ur.lFrame.contextLView=F,F[Wo]}function Q(F){return ur.lFrame.contextLView=null,F}function me(){let F=Ne();for(;null!==F&&64===F.type;)F=F.parent;return F}function Ne(){return ur.lFrame.currentTNode}function et(){const F=ur.lFrame,_e=F.currentTNode;return F.isParent?_e:_e.parent}function At(F,_e){const Ge=ur.lFrame;Ge.currentTNode=F,Ge.isParent=_e}function Jt(){return ur.lFrame.isParent}function kn(){ur.lFrame.isParent=!1}function Gr(){return ur.lFrame.contextLView}function _o(){return Be("Must never be called in production mode"),Qi!==cs.Off}function si(){return Be("Must never be called in production mode"),Qi===cs.Exhaustive}function wi(F){Be("Must never be called in production mode"),Qi=F}function Ho(){return pi}function zi(F){const _e=pi;return pi=F,_e}function Bi(){const F=ur.lFrame;let _e=F.bindingRootIndex;return-1===_e&&(_e=F.bindingRootIndex=F.tView.bindingStartIndex),_e}function Yi(){return ur.lFrame.bindingIndex}function Aa(F){return ur.lFrame.bindingIndex=F}function us(){return ur.lFrame.bindingIndex++}function xr(F){const _e=ur.lFrame,Ge=_e.bindingIndex;return _e.bindingIndex=_e.bindingIndex+F,Ge}function Oc(){return ur.lFrame.inI18n}function na(F){ur.lFrame.inI18n=F}function bi(F,_e){const Ge=ur.lFrame;Ge.bindingIndex=Ge.bindingRootIndex=F,Es(_e)}function Ws(){return ur.lFrame.currentDirectiveIndex}function Es(F){ur.lFrame.currentDirectiveIndex=F}function ba(F){const _e=ur.lFrame.currentDirectiveIndex;return-1===_e?null:F[_e]}function ks(){return ur.lFrame.currentQueryIndex}function js(F){ur.lFrame.currentQueryIndex=F}function Rs(F){const _e=F[To];return 2===_e.type?_e.declTNode:1===_e.type?F[No]:null}function Ra(F,_e,Ge){if(4&Ge){let qt=_e,Gn=F;for(;!(qt=qt.parent,null!==qt||1&Ge||(qt=Rs(Gn),null===qt||(Gn=Gn[oe],10&qt.type))););if(null===qt)return!1;_e=qt,F=Gn}const Ft=ur.lFrame=ra();return Ft.currentTNode=_e,Ft.lView=F,!0}function Vs(F){const _e=ra(),Ge=F[To];ur.lFrame=_e,_e.currentTNode=Ge.firstChild,_e.lView=F,_e.tView=Ge,_e.contextLView=F,_e.bindingIndex=Ge.bindingStartIndex,_e.inI18n=!1}function ra(){const F=ur.lFrame,_e=null===F?null:F.child;return null===_e?Hs(F):_e}function Hs(F){const _e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:F,child:null,inI18n:!1};return null!==F&&(F.child=_e),_e}function oa(){const F=ur.lFrame;return ur.lFrame=F.parent,F.currentTNode=null,F.lView=null,F}const be=oa;function he(){const F=oa();F.isParent=!0,F.tView=null,F.selectedIndex=-1,F.contextLView=null,F.elementDepthCount=0,F.currentDirectiveIndex=-1,F.currentNamespace=null,F.bindingRootIndex=-1,F.bindingIndex=-1,F.currentQueryIndex=0}function Ie(F){return(ur.lFrame.contextLView=fi(F,ur.lFrame.contextLView))[Wo]}function ot(){return ur.lFrame.selectedIndex}function Nt(F){ur.lFrame.selectedIndex=F}function $t(){const F=ur.lFrame;return Mi(F.tView,F.selectedIndex)}function pn(){ur.lFrame.currentNamespace=ts}function Ln(){ur.lFrame.currentNamespace=oi}function tr(){!function pr(){ur.lFrame.currentNamespace=null}()}function Qr(){return ur.lFrame.currentNamespace}let hr=!0;function so(){return hr}function bo(F){hr=F}function xo(F,_e=null,Ge=null,Ft){const qt=$o(F,_e,Ge,Ft);return qt.resolveInjectorInitializers(),qt}function $o(F,_e=null,Ge=null,Ft,qt=new Set){const Gn=[Ge||Zt,Je(F)];return Ft=Ft||("object"==typeof F?void 0:Y(F)),new $r(Gn,_e||lo(),Ft||null,qt)}class wo{static THROW_IF_NOT_FOUND=or;static NULL=new Ir;static create(_e,Ge){if(Array.isArray(_e))return xo({name:""},Ge,_e,"");{const Ft=_e.name??"";return xo({name:Ft},_e.parent,_e.providers,Ft)}}static \u0275prov=bt({token:wo,providedIn:"any",factory:()=>$(Rn)});static __NG_ELEMENT_ID__=-1}const gi=new Wt("");let ds=(()=>class F{static __NG_ELEMENT_ID__=Sa;static __NG_ENV_ID__=Ge=>Ge})();class mi extends ds{_lView;constructor(_e){super(),this._lView=_e}get destroyed(){return io(this._lView)}onDestroy(_e){const Ge=this._lView;return xi(Ge,_e),()=>Ai(Ge,_e)}}function Sa(){return new mi(B())}class Ji{_console=console;handleError(_e){this._console.error("ERROR",_e)}}const La=new Wt("",{providedIn:"root",factory:()=>{const F=fe(uo);let _e;return Ge=>{F.destroyed&&!_e?setTimeout(()=>{throw Ge}):(_e??=F.get(Ji),_e.handleError(Ge))}}}),Mc={provide:xn,useValue:()=>{fe(Ji)},multi:!0};function $s(F){return"function"==typeof F&&void 0!==F[g.bh]}function Tc(F,_e){const[Ge,Ft,qt]=(0,g.n5)(F,_e?.equal),Gn=Ge;
430return Gn.set=Ft,Gn.update=qt,Gn.asReadonly=Fl.bind(Gn),Gn}function Fl(){const F=this[g.bh];if(void 0===F.readonlyFn){const _e=()=>this();_e[g.bh]=F,F.readonlyFn=_e}return F.readonlyFn}function Wl(F){return $s(F)&&"function"==typeof F.set}function kl(F,_e){if(null!==(0,g.nR)())throw new I(-602,!1)}let jl=(()=>class F{view;node;constructor(Ge,Ft){this.view=Ge,this.node=Ft}static __NG_ELEMENT_ID__=Ic})();function Ic(){return new jl(B(),me())}class Pc{}const dd=new Wt("",{providedIn:"root",factory:()=>!1}),Vl=new Wt("",{providedIn:"root",factory:()=>!1}),Hl=new Wt(""),wa=new Wt("");let ia=(()=>{class F{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new C.t(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new v.c(Ge=>{Ge.next(!1),Ge.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);const Ge=this.taskId++;return this.pendingTasks.add(Ge),Ge}has(Ge){return this.pendingTasks.has(Ge)}remove(Ge){this.pendingTasks.delete(Ge),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=bt({token:F,providedIn:"root",factory:()=>new F})}return F})(),$l=(()=>{class F{internalPendingTasks=fe(ia);scheduler=fe(Pc);errorHandler=fe(La);add(){const Ge=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(Ge)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(Ge))}}run(Ge){const Ft=this.add();Ge().catch(this.errorHandler).finally(Ft)}static \u0275prov=bt({token:F,providedIn:"root",factory:()=>new F})}return F})();function hd(...F){}let Ba=(()=>{class F{static \u0275prov=bt({token:F,providedIn:"root",factory:()=>new Ac})}return F})();class Ac{dirtyEffectCount=0;queues=new Map;add(_e){this.enqueue(_e),this.schedule(_e)}schedule(_e){_e.dirty&&this.dirtyEffectCount++}remove(_e){const Ft=this.queues.get(_e.zone);Ft.has(_e)&&(Ft.delete(_e),_e.dirty&&this.dirtyEffectCount--)}enqueue(_e){const Ge=_e.zone;this.queues.has(Ge)||this.queues.set(Ge,new Set);const Ft=this.queues.get(Ge);Ft.has(_e)||Ft.add(_e)}flush(){for(;this.dirtyEffectCount>0;){let _e=!1;for(const[Ge,Ft]of this.queues)_e||=null===Ge?this.flushQueue(Ft):Ge.run(()=>this.flushQueue(Ft));_e||(this.dirtyEffectCount=0)}}flushQueue(_e){let Ge=!1;for(const Ft of _e)Ft.dirty&&(this.dirtyEffectCount--,Ge=!0,Ft.run());return Ge}}},48065(ye,A,n){n.d(A,{br:()=>ae,ot:()=>S,pQ:()=>x,yC:()=>H});var E=n(64517),M=n(61151),N=n(65213),P=n(17988),I=n(45873);function x(G){G||(G=(0,P.WQX)(P.abz));const ce=new E.c(pe=>{if(!G.destroyed)return G.onDestroy(pe.next.bind(pe));pe.next()});return pe=>pe.pipe((0,N.Q)(ce))}function H(G){const ce=(0,I.nf)(G);return new E.c(pe=>{const De=ce?.onDestroy(()=>pe.complete()),z=G.subscribe(ke=>pe.next(ke));return()=>{z.unsubscribe(),De?.()}})}function ae(G,ce){const pe=ce?.injector??(0,P.WQX)(P.zZn),De=new M.m(1),z=(0,I.QZ)(()=>{let ke;try{ke=G()}catch(it){return void(0,I.O8)(()=>De.error(it))}(0,I.O8)(()=>De.next(ke))},{injector:pe,manualCleanup:!0});return pe.get(P.abz).onDestroy(()=>{z.destroy(),De.complete()}),De.asObservable()}function S(G,ce){const De=ce?.manualCleanup?null:ce?.injector?.get(P.abz)??(0,P.WQX)(P.abz),z=function J(G=Object.is){return(ce,pe)=>1===ce.kind&&1===pe.kind&&G(ce.value,pe.value)}(ce?.equal);let ke,it;ke=(0,P.vPA)(ce?.requireSync?{kind:0}:{kind:1,value:ce?.initialValue},{equal:z});const Re=G.subscribe({next:Qe=>ke.set({kind:1,value:Qe}),error:Qe=>{ke.set({kind:2,error:Qe}),it?.()},complete:()=>{it?.()}});if(ce?.requireSync&&0===ke().kind)throw new P.buA(601,!1);return it=De?.onDestroy(Re.unsubscribe.bind(Re)),(0,I.EW)(()=>{const Qe=ke();switch(Qe.kind){case 1:return Qe.value;case 2:throw Qe.error;case 0:throw new P.buA(601,!1)}},{equal:ce?.equal})}},45478(ye,A,n){n.d(A,{Ag:()=>Re,Bg:()=>w,EF:()=>Ze,H8:()=>ke,Ht:()=>o,JC:()=>N,KE:()=>g,KO:()=>q,KZ:()=>it,Ny:()=>Qe,TO:()=>j,Wu:()=>ae,XR:()=>Y,a7:()=>pe,bh:()=>T,j2:()=>Be,mC:()=>at,mK:()=>E,n5:()=>je,nR:()=>D,pL:()=>v,s0:()=>Et,si:()=>J});let u=null,l=!1,h=1;const T=Symbol("SIGNAL");function o(ut){const bt=u;return u=ut,bt}function D(){return u}function g(){return l}
430const v={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function E(ut){if(l)throw new Error("");if(null===u)return;u.consumerOnSignalRead(ut);const bt=u.producersTail;if(void 0!==bt&&bt.producer===ut)return;let Xe;const tt=u.recomputing;if(tt&&(Xe=void 0!==bt?bt.nextProducer:u.producers,void 0!==Xe&&Xe.producer===ut))return u.producersTail=Xe,void(Xe.lastReadVersion=ut.version);const Ht=ut.consumersTail;if(void 0!==Ht&&Ht.consumer===u&&(!tt||function z(ut,bt){const Xe=bt.producersTail;if(void 0!==Xe){let tt=bt.producers;do{if(tt===ut)return!0;if(tt===Xe)break;tt=tt.nextProducer}while(void 0!==tt)}return!1}(Ht,u)))return;const ze=ce(u),vt={producer:ut,consumer:u,nextProducer:Xe,prevConsumer:Ht,lastReadVersion:ut.version,nextConsumer:void 0};u.producersTail=vt,void 0!==bt?bt.nextProducer=vt:u.producers=vt,ze&&re(ut,vt)}function N(ut){if((!ce(ut)||ut.dirty)&&(ut.dirty||ut.lastCleanEpoch!==h)){if(!ut.producerMustRecompute(ut)&&!J(ut))return void j(ut);ut.producerRecomputeValue(ut),j(ut)}}function P(ut){if(void 0===ut.consumers)return;const bt=l;l=!0;try{for(let Xe=ut.consumers;void 0!==Xe;Xe=Xe.nextConsumer){const tt=Xe.consumer;tt.dirty||x(tt)}}finally{l=bt}}function I(){return!1!==u?.consumerAllowSignalWrites}function x(ut){ut.dirty=!0,P(ut),ut.consumerMarkedDirty?.(ut)}function j(ut){ut.dirty=!1,ut.lastCleanEpoch=h}function w(ut){return ut&&function H(ut){ut.producersTail=void 0,ut.recomputing=!0}(ut),o(ut)}function ae(ut,bt){o(bt),ut&&function S(ut){ut.recomputing=!1;const bt=ut.producersTail;let Xe=void 0!==bt?bt.nextProducer:ut.producers;if(void 0!==Xe){if(ce(ut))do{Xe=G(Xe)}while(void 0!==Xe);void 0!==bt?bt.nextProducer=void 0:ut.producers=void 0}}(ut)}function J(ut){for(let bt=ut.producers;void 0!==bt;bt=bt.nextProducer){const Xe=bt.producer,tt=bt.lastReadVersion;if(tt!==Xe.version||(N(Xe),tt!==Xe.version))return!0}return!1}function Y(ut){if(ce(ut)){let bt=ut.producers;for(;void 0!==bt;)bt=G(bt)}ut.producers=void 0,ut.producersTail=void 0,ut.consumers=void 0,ut.consumersTail=void 0}function re(ut,bt){const Xe=ut.consumersTail,tt=ce(ut);if(void 0!==Xe?(bt.nextConsumer=Xe.nextConsumer,Xe.nextConsumer=bt):(bt.nextConsumer=void 0,ut.consumers=bt),bt.prevConsumer=Xe,ut.consumersTail=bt,!tt)for(let Ht=ut.producers;void 0!==Ht;Ht=Ht.nextProducer)re(Ht.producer,Ht)}function G(ut){const bt=ut.producer,Xe=ut.nextProducer,tt=ut.nextConsumer,Ht=ut.prevConsumer;if(ut.nextConsumer=void 0,ut.prevConsumer=void 0,void 0!==tt?tt.prevConsumer=Ht:bt.consumersTail=Ht,void 0!==Ht)Ht.nextConsumer=tt;else if(bt.consumers=tt,!ce(bt)){let ze=bt.producers;for(;void 0!==ze;)ze=G(ze)}return Xe}function ce(ut){return ut.consumerIsAlwaysLive||void 0!==ut.consumers}function pe(ut){}function ke(ut,bt){return Object.is(ut,bt)}function it(ut,bt){const Xe=Object.create(Ye);Xe.computation=ut,void 0!==bt&&(Xe.equal=bt);const tt=()=>{if(N(Xe),E(Xe),Xe.value===Ze)throw Xe.error;return Xe.value};return tt[T]=Xe,tt}const Re=Symbol("UNSET"),Qe=Symbol("COMPUTING"),Ze=Symbol("ERRORED"),Ye={...v,value:Re,dirty:!0,error:null,equal:ke,kind:"computed",producerMustRecompute:ut=>ut.value===Re||ut.value===Qe,producerRecomputeValue(ut){if(ut.value===Qe)throw new Error("");const bt=ut.value;ut.value=Qe;const Xe=w(ut);let tt,Ht=!1;try{tt=ut.computation(),o(null),Ht=bt!==Re&&bt!==Ze&&tt!==Ze&&ut.equal(bt,tt)}catch(ze){tt=Ze,ut.error=ze}finally{ae(ut,Xe)}Ht?ut.value=bt:(ut.value=tt,ut.version++)}};let ne=function Ue(){throw new Error};function X(ut){ne(ut)}function q(ut){ne=ut}function je(ut,bt){const Xe=Object.create(Et);Xe.value=ut,void 0!==bt&&(Xe.equal=bt);const tt=()=>function we(ut){return E(ut),ut.value}(Xe);return tt[T]=Xe,[tt,vt=>Be(Xe,vt),vt=>at(Xe,vt)]}function Be(ut,bt){I()||X(ut),ut.equal(ut.value,bt)||(ut.value=bt,function Yt(ut){ut.version++,function M(){h++}(),P(ut)}(ut))}function at(ut,bt){I()||X(ut),Be(ut,bt(ut.value))}const Et={...v,equal:ke,value:void 0,kind:"signal"}},48015(ye,A,n){n.d(A,{$R:()=>$r,AG:()=>Or,BC:()=>mt,Bm:()=>Cn,Fm:()=>Wn,J3:()=>Jn,JD:()=>mo,MJ:()=>wn,R_:()=>Pt,X1:()=>fr,Y4:()=>Yr,YN:()=>br,YS:()=>Mt,Yp:()=>Dn,ZU:()=>ze,Zm:()=>x,cV:()=>Zt,cb:()=>Wt,cz:()=>Y,gE:()=>cr,hs:()=>Ir,j4:()=>lo,k0:()=>ce,kq:()=>P,l_:()=>co,mP:()=>H,me:()=>ae,ok:()=>Kn,pg:()=>re,qT:()=>ft,tU:()=>Le,v8:()=>vo,vO:()=>vt,vS:()=>Ee,ze:()=>Zn});var h=n(17988),c=n(47606),T=n(96623),o=n(45873),D=n(25293),g=n(81502),C=n(4656),v=n(73496),E=n(24406);let M=(()=>{class te{_renderer;_elementRef;onChange=V=>{};onTouched=()=>{};constructor(V,Me){this._renderer=V,this._elementRef=Me}setProperty(V,Me){this._renderer.setProperty(this._elementRef.nativeElement,V,Me)}registerOnTouched(V){this.onTouched=V}registerOnChange(V){this.onChange=V}setDisabledState(V){this.setProperty("disabled",V)}static \u0275fac=function(Me){return new(Me||te)(c.rXU(c.sFG),c.rXU(c.aKT))};static \u0275dir=c.FsC({type:te})}return te})(),N=(()=>{class te extends M{static \u0275fac=(()=>{let V;return function(lt){return(V||(V=c.xGo(te)))(lt||te)}})();static \u0275dir=c.FsC({type:te,features:[c.Vt3]})}return te})();const P=new h.nKC(""),I={provide:P,useExisting:(0,h.Rfq)(()=>x),multi:!0};let x=(()=>{class te extends N{writeValue(V){this.setProperty("checked",V)}static \u0275fac=(()=>{let V;return function(lt){return(V||(V=c.xGo(te)))(lt||te)}})();static \u0275dir=c.FsC({type:te,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(Me,lt){1&Me&&c.bIt("change",function(er){return lt.onChange(er.target.checked)})("blur",function(){return lt.onTouched()})},standalone:!1,features:[c.Jv_([I]),c.Vt3]})}return te})();const j={provide:P,useExisting:(0,h.Rfq)(()=>ae),multi:!0},H=new h.nKC("");let ae=(()=>{class te extends M{_compositionMode;_composing=!1;constructor(V,Me,lt){super(V,Me),this._compositionMode=lt,null==this._compositionMode&&(this._compositionMode=!function w(){const te=(0,D.rb)()?(0,D.rb)().getUserAgent():"";return/android (\d+)/.test(te.toLowerCase())}())}writeValue(V){this.setProperty("value",V??"")}_handleInput(V){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(V)}_compositionStart(){this._composing=!0}_compositionEnd(V){this._composing=!1,this._compositionMode&&this.onChange(V)}static \u0275fac=function(Me){return new(Me||te)(c.rXU(c.sFG),c.rXU(c.aKT),c.rXU(H,8))};static \u0275dir=c.FsC({type:te,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(Me,lt){1&Me&&c.bIt("input",function(er){return lt._handleInput(er.target.value)})("blur",function(){return lt.onTouched()})("compositionstart",function(){return lt._compositionStart()})("compositionend",function(er){return lt._compositionEnd(er.target.value)})},standalone:!1,features:[c.Jv_([j]),c.Vt3]})}return te})();function S(te){return null==te||0===J(te)}function J(te){return null==te?null:Array.isArray(te)||"string"==typeof te?te.length:te instanceof Set?te.size:null}
430const Y=new h.nKC(""),re=new h.nKC(""),G=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ce{static min(se){return function pe(te){return se=>{if(null==se.value||null==te)return null;const V=parseFloat(se.value);return!isNaN(V)&&V<te?{min:{min:te,actual:se.value}}:null}}(se)}static max(se){return function De(te){return se=>{if(null==se.value||null==te)return null;const V=parseFloat(se.value);return!isNaN(V)&&V>te?{max:{max:te,actual:se.value}}:null}}(se)}static required(se){return z(se)}static requiredTrue(se){return function ke(te){return!0===te.value?null:{required:!0}}(se)}static email(se){return function it(te){return S(te.value)||G.test(te.value)?null:{email:!0}}(se)}static minLength(se){return function Re(te){return se=>{const V=se.value?.length??J(se.value);return null===V||0===V?null:V<te?{minlength:{requiredLength:te,actualLength:V}}:null}}(se)}static maxLength(se){return Qe(se)}static pattern(se){return Ze(se)}static nullValidator(se){return null}static compose(se){return Fe(se)}static composeAsync(se){return Be(se)}}function z(te){return S(te.value)?{required:!0}:null}function Qe(te){return se=>{const V=se.value?.length??J(se.value);return null!==V&&V>te?{maxlength:{requiredLength:te,actualLength:V}}:null}}function Ze(te){if(!te)return Ye;let se,V;return"string"==typeof te?(V="","^"!==te.charAt(0)&&(V+="^"),V+=te,"$"!==te.charAt(te.length-1)&&(V+="$"),se=new RegExp(V)):(V=te.toString(),se=te),Me=>{if(S(Me.value))return null;const lt=Me.value;return se.test(lt)?null:{pattern:{requiredPattern:V,actualValue:lt}}}}function Ye(te){return null}function Ue(te){return null!=te}function ne(te){return(0,c.yLl)(te)?(0,v.H)(te):te}function X(te){let se={};return te.forEach(V=>{se=null!=V?{...se,...V}:se}),0===Object.keys(se).length?null:se}function q(te,se){return se.map(V=>V(te))}function je(te){return te.map(se=>function Te(te){return!te.validate}(se)?se:V=>se.validate(V))}function Fe(te){if(!te)return null;const se=te.filter(Ue);return 0==se.length?null:function(V){return X(q(V,se))}}function we(te){return null!=te?Fe(je(te)):null}function Be(te){if(!te)return null;const se=te.filter(Ue);return 0==se.length?null:function(V){const Me=q(V,se).map(ne);return(0,C.p)(Me).pipe((0,E.T)(X))}}function at(te){return null!=te?Be(je(te)):null}function Ot(te,se){return null===te?[se]:Array.isArray(te)?[...te,se]:[te,se]}function Et(te){return te._rawValidators}function Yt(te){return te._rawAsyncValidators}function ut(te){return te?Array.isArray(te)?te:[te]:[]}function bt(te,se){return Array.isArray(te)?te.includes(se):te===se}function Xe(te,se){const V=ut(se);return ut(te).forEach(lt=>{bt(V,lt)||V.push(lt)}),V}function tt(te,se){return ut(se).filter(V=>!bt(te,V))}class Ht{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(se){this._rawValidators=se||[],this._composedValidatorFn=we(this._rawValidators)}_setAsyncValidators(se){this._rawAsyncValidators=se||[],this._composedAsyncValidatorFn=at(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(se){this._onDestroyCallbacks.push(se)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(se=>se()),this._onDestroyCallbacks=[]}reset(se=void 0){this.control&&this.control.reset(se)}hasError(se,V){return!!this.control&&this.control.hasError(se,V)}getError(se,V){return this.control?this.control.getError(se,V):null}}class ze extends Ht{name;get formDirective(){return null}get path(){return null}}class vt extends Ht{_parent=null;name=null;valueAccessor=null}class pt{_cd;constructor(se){this._cd=se}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}
430get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let mt=(()=>{class te extends pt{constructor(V){super(V)}static \u0275fac=function(Me){return new(Me||te)(c.rXU(vt,2))};static \u0275dir=c.FsC({type:te,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Me,lt){2&Me&&c.AVh("ng-untouched",lt.isUntouched)("ng-touched",lt.isTouched)("ng-pristine",lt.isPristine)("ng-dirty",lt.isDirty)("ng-valid",lt.isValid)("ng-invalid",lt.isInvalid)("ng-pending",lt.isPending)},standalone:!1,features:[c.Vt3]})}return te})(),Wt=(()=>{class te extends pt{constructor(V){super(V)}static \u0275fac=function(Me){return new(Me||te)(c.rXU(ze,10))};static \u0275dir=c.FsC({type:te,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Me,lt){2&Me&&c.AVh("ng-untouched",lt.isUntouched)("ng-touched",lt.isTouched)("ng-pristine",lt.isPristine)("ng-dirty",lt.isDirty)("ng-valid",lt.isValid)("ng-invalid",lt.isInvalid)("ng-pending",lt.isPending)("ng-submitted",lt.isSubmitted)},standalone:!1,features:[c.Vt3]})}return te})();const Sr="VALID",Ve="INVALID",Ae="PENDING",$e="DISABLED";class gt{}class Kt extends gt{value;source;constructor(se,V){super(),this.value=se,this.source=V}}class ln extends gt{pristine;source;constructor(se,V){super(),this.pristine=se,this.source=V}}class un extends gt{touched;source;constructor(se,V){super(),this.touched=se,this.source=V}}class nn extends gt{status;source;constructor(se,V){super(),this.status=se,this.source=V}}class Rt extends gt{source;constructor(se){super(),this.source=se}}class Xt extends gt{source;constructor(se){super(),this.source=se}}function bn(te){return(Yn(te)?te.validators:te)||null}function Fn(te,se){return(Yn(se)?se.asyncValidators:te)||null}function Yn(te){return null!=te&&!Array.isArray(te)&&"object"==typeof te}function Qn(te,se,V){const Me=te.controls;if(!(se?Object.keys(Me):Me).length)throw new h.buA(1e3,"");if(!Me[V])throw new h.buA(1001,"")}function vr(te,se,V){te._forEachChild((Me,lt)=>{if(void 0===V[lt])throw new h.buA(1002,"")})}class qn{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(se,V){this._assignValidators(se),this._assignAsyncValidators(V)}get validator(){return this._composedValidatorFn}set validator(se){this._rawValidators=this._composedValidatorFn=se}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(se){this._rawAsyncValidators=this._composedAsyncValidatorFn=se}get parent(){return this._parent}get status(){return(0,o.O8)(this.statusReactive)}set status(se){(0,o.O8)(()=>this.statusReactive.set(se))}_status=(0,o.EW)(()=>this.statusReactive());statusReactive=(0,h.vPA)(void 0);get valid(){return this.status===Sr}get invalid(){return this.status===Ve}get pending(){return this.status==Ae}get disabled(){return this.status===$e}get enabled(){return this.status!==$e}errors;get pristine(){return(0,o.O8)(this.pristineReactive)}set pristine(se){(0,o.O8)(()=>this.pristineReactive.set(se))}_pristine=(0,o.EW)(()=>this.pristineReactive());pristineReactive=(0,h.vPA)(!0);get dirty(){return!this.pristine}get touched(){return(0,o.O8)(this.touchedReactive)}set touched(se){(0,o.O8)(()=>this.touchedReactive.set(se))}_touched=(0,o.EW)(()=>this.touchedReactive());touchedReactive=(0,h.vPA)(!1);get untouched(){return!this.touched}_events=new g.B;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(se){this._assignValidators(se)}setAsyncValidators(se){this._assignAsyncValidators(se)}addValidators(se){this.setValidators(Xe(se,this._rawValidators))}addAsyncValidators(se){this.setAsyncValidators(Xe(se,this._rawAsyncValidators))}removeValidators(se){this.setValidators(tt(se,this._rawValidators))}removeAsyncValidators(se){this.setAsyncValidators(tt(se,this._rawAsyncValidators))}hasValidator(se){return bt(this._rawValidators,se)}hasAsyncValidator(se){return bt(this._rawAsyncValidators,se)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(se={}){const V=!1===this.touched;this.touched=!0;const Me=se.sourceControl??this;
430this._parent&&!se.onlySelf&&this._parent.markAsTouched({...se,sourceControl:Me}),V&&!1!==se.emitEvent&&this._events.next(new un(!0,Me))}markAllAsDirty(se={}){this.markAsDirty({onlySelf:!0,emitEvent:se.emitEvent,sourceControl:this}),this._forEachChild(V=>V.markAllAsDirty(se))}markAllAsTouched(se={}){this.markAsTouched({onlySelf:!0,emitEvent:se.emitEvent,sourceControl:this}),this._forEachChild(V=>V.markAllAsTouched(se))}markAsUntouched(se={}){const V=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const Me=se.sourceControl??this;this._forEachChild(lt=>{lt.markAsUntouched({onlySelf:!0,emitEvent:se.emitEvent,sourceControl:Me})}),this._parent&&!se.onlySelf&&this._parent._updateTouched(se,Me),V&&!1!==se.emitEvent&&this._events.next(new un(!1,Me))}markAsDirty(se={}){const V=!0===this.pristine;this.pristine=!1;const Me=se.sourceControl??this;this._parent&&!se.onlySelf&&this._parent.markAsDirty({...se,sourceControl:Me}),V&&!1!==se.emitEvent&&this._events.next(new ln(!1,Me))}markAsPristine(se={}){const V=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const Me=se.sourceControl??this;this._forEachChild(lt=>{lt.markAsPristine({onlySelf:!0,emitEvent:se.emitEvent})}),this._parent&&!se.onlySelf&&this._parent._updatePristine(se,Me),V&&!1!==se.emitEvent&&this._events.next(new ln(!0,Me))}markAsPending(se={}){this.status=Ae;const V=se.sourceControl??this;!1!==se.emitEvent&&(this._events.next(new nn(this.status,V)),this.statusChanges.emit(this.status)),this._parent&&!se.onlySelf&&this._parent.markAsPending({...se,sourceControl:V})}disable(se={}){const V=this._parentMarkedDirty(se.onlySelf);this.status=$e,this.errors=null,this._forEachChild(lt=>{lt.disable({...se,onlySelf:!0})}),this._updateValue();const Me=se.sourceControl??this;!1!==se.emitEvent&&(this._events.next(new Kt(this.value,Me)),this._events.next(new nn(this.status,Me)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...se,skipPristineCheck:V},this),this._onDisabledChange.forEach(lt=>lt(!0))}enable(se={}){const V=this._parentMarkedDirty(se.onlySelf);this.status=Sr,this._forEachChild(Me=>{Me.enable({...se,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:se.emitEvent}),this._updateAncestors({...se,skipPristineCheck:V},this),this._onDisabledChange.forEach(Me=>Me(!1))}_updateAncestors(se,V){this._parent&&!se.onlySelf&&(this._parent.updateValueAndValidity(se),se.skipPristineCheck||this._parent._updatePristine({},V),this._parent._updateTouched({},V))}setParent(se){this._parent=se}getRawValue(){return this.value}updateValueAndValidity(se={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const Me=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Sr||this.status===Ae)&&this._runAsyncValidator(Me,se.emitEvent)}const V=se.sourceControl??this;!1!==se.emitEvent&&(this._events.next(new Kt(this.value,V)),this._events.next(new nn(this.status,V)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!se.onlySelf&&this._parent.updateValueAndValidity({...se,sourceControl:V})}_updateTreeValidity(se={emitEvent:!0}){this._forEachChild(V=>V._updateTreeValidity(se)),this.updateValueAndValidity({onlySelf:!0,emitEvent:se.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?$e:Sr}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(se,V){if(this.asyncValidator){this.status=Ae,this._hasOwnPendingAsyncValidator={emitEvent:!1!==V,shouldHaveEmitted:!1!==se};const Me=ne(this.asyncValidator(this));this._asyncValidationSubscription=Me.subscribe(lt=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(lt,{emitEvent:V,shouldHaveEmitted:se})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const se=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,se}return!1}setErrors(se,V={}){this.errors=se,this._updateControlsErrors(!1!==V.emitEvent,this,V.shouldHaveEmitted)}get(se){let V=se;return null==V||(Array.isArray(V)||(V=V.split(".")),0===V.length)?null:V.reduce((Me,lt)=>Me&&Me._find(lt),this)}getError(se,V){const Me=V?this.get(V):this;return Me&&Me.errors?Me.errors[se]:null}hasError(se,V){return!!this.getError(se,V)}get root(){let se=this;for(;se._parent;)se=se._parent;return se}_updateControlsErrors(se,V,Me){this.status=this._calculateStatus(),se&&this.statusChanges.emit(this.status),(se||Me)&&this._events.next(new nn(this.status,V)),this._parent&&this._parent._updateControlsErrors(se,V,Me)}_initObservables(){this.valueChanges=new c.bkB,this.statusChanges=new c.bkB}_calculateStatus(){return this._allControlsDisabled()?$e:this.errors?Ve:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ae)?Ae:this._anyControlsHaveStatus(Ve)?Ve:Sr}_anyControlsHaveStatus(se){return this._anyControls(V=>V.status===se)}_anyControlsDirty(){return this._anyControls(se=>se.dirty)}_anyControlsTouched(){return this._anyControls(se=>se.touched)}_updatePristine(se,V){const Me=!this._anyControlsDirty(),lt=this.pristine!==Me;this.pristine=Me,this._parent&&!se.onlySelf&&this._parent._updatePristine(se,V),lt&&this._events.next(new ln(this.pristine,V))}_updateTouched(se={},V){this.touched=this._anyControlsTouched(),this._events.next(new un(this.touched,V)),this._parent&&!se.onlySelf&&this._parent._updateTouched(se,V)}_onDisabledChange=[];_registerOnCollectionChange(se){this._onCollectionChange=se}_setUpdateStrategy(se){Yn(se)&&null!=se.updateOn&&(this._updateOn=se.updateOn)}_parentMarkedDirty(se){return!se&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}
430_find(se){return null}_assignValidators(se){this._rawValidators=Array.isArray(se)?se.slice():se,this._composedValidatorFn=function Er(te){return Array.isArray(te)?we(te):te||null}(this._rawValidators)}_assignAsyncValidators(se){this._rawAsyncValidators=Array.isArray(se)?se.slice():se,this._composedAsyncValidatorFn=function ar(te){return Array.isArray(te)?at(te):te||null}(this._rawAsyncValidators)}}class cr extends qn{constructor(se,V,Me){super(bn(V),Fn(Me,V)),this.controls=se,this._initObservables(),this._setUpdateStrategy(V),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(se,V){return this.controls[se]?this.controls[se]:(this.controls[se]=V,V.setParent(this),V._registerOnCollectionChange(this._onCollectionChange),V)}addControl(se,V,Me={}){this.registerControl(se,V),this.updateValueAndValidity({emitEvent:Me.emitEvent}),this._onCollectionChange()}removeControl(se,V={}){this.controls[se]&&this.controls[se]._registerOnCollectionChange(()=>{}),delete this.controls[se],this.updateValueAndValidity({emitEvent:V.emitEvent}),this._onCollectionChange()}setControl(se,V,Me={}){this.controls[se]&&this.controls[se]._registerOnCollectionChange(()=>{}),delete this.controls[se],V&&this.registerControl(se,V),this.updateValueAndValidity({emitEvent:Me.emitEvent}),this._onCollectionChange()}contains(se){return this.controls.hasOwnProperty(se)&&this.controls[se].enabled}setValue(se,V={}){vr(this,0,se),Object.keys(se).forEach(Me=>{Qn(this,!0,Me),this.controls[Me].setValue(se[Me],{onlySelf:!0,emitEvent:V.emitEvent})}),this.updateValueAndValidity(V)}patchValue(se,V={}){null!=se&&(Object.keys(se).forEach(Me=>{const lt=this.controls[Me];lt&<.patchValue(se[Me],{onlySelf:!0,emitEvent:V.emitEvent})}),this.updateValueAndValidity(V))}reset(se={},V={}){this._forEachChild((Me,lt)=>{Me.reset(se?se[lt]:null,{onlySelf:!0,emitEvent:V.emitEvent})}),this._updatePristine(V,this),this._updateTouched(V,this),this.updateValueAndValidity(V),!1!==V?.emitEvent&&this._events.next(new Xt(this))}getRawValue(){return this._reduceChildren({},(se,V,Me)=>(se[Me]=V.getRawValue(),se))}_syncPendingControls(){let se=this._reduceChildren(!1,(V,Me)=>!!Me._syncPendingControls()||V);return se&&this.updateValueAndValidity({onlySelf:!0}),se}_forEachChild(se){Object.keys(this.controls).forEach(V=>{const Me=this.controls[V];Me&&se(Me,V)})}_setUpControls(){this._forEachChild(se=>{se.setParent(this),se._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(se){for(const[V,Me]of Object.entries(this.controls))if(this.contains(V)&&se(Me))return!0;return!1}_reduceValue(){return this._reduceChildren({},(V,Me,lt)=>((Me.enabled||this.disabled)&&(V[lt]=Me.value),V))}_reduceChildren(se,V){let Me=se;return this._forEachChild((lt,Sn)=>{Me=V(Me,lt,Sn)}),Me}_allControlsDisabled(){for(const se of Object.keys(this.controls))if(this.controls[se].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(se){return this.controls.hasOwnProperty(se)?this.controls[se]:null}}const Jn=cr;class Or extends cr{}const lr=new h.nKC("",{providedIn:"root",factory:()=>Wr}),Wr="always";function or(te,se){return[...se.path,te]}function zr(te,se,V=Wr){ue(te,se),se.valueAccessor.writeValue(te.value),(te.disabled||"always"===V)&&se.valueAccessor.setDisabledState?.(te.disabled),function Oe(te,se){se.valueAccessor.registerOnChange(V=>{te._pendingValue=V,te._pendingChange=!0,te._pendingDirty=!0,"change"===te.updateOn&&Ce(te,se)})}(te,se),function p(te,se){const V=(Me,lt)=>{se.valueAccessor.writeValue(Me),lt&&se.viewToModelUpdate(Me)};te.registerOnChange(V),se._registerOnDestroy(()=>{te._unregisterOnChange(V)})}(te,se),function Z(te,se){se.valueAccessor.registerOnTouched(()=>{te._pendingTouched=!0,"blur"===te.updateOn&&te._pendingChange&&Ce(te,se),"submit"!==te.updateOn&&te.markAsTouched()})}(te,se),function $(te,se){if(se.valueAccessor.setDisabledState){const V=Me=>{se.valueAccessor.setDisabledState(Me)};te.registerOnDisabledChange(V),se._registerOnDestroy(()=>{te._unregisterOnDisabledChange(V)})}}(te,se)}function go(te,se,V=!0){const Me=()=>{};se.valueAccessor&&(se.valueAccessor.registerOnChange(Me),se.valueAccessor.registerOnTouched(Me)),fe(te,se),te&&(se._invokeOnDestroyCallbacks(),te._registerOnCollectionChange(()=>{}))}function ct(te,se){te.forEach(V=>{V.registerOnValidatorChange&&V.registerOnValidatorChange(se)})}function ue(te,se){const V=Et(te);null!==se.validator?te.setValidators(Ot(V,se.validator)):"function"==typeof V&&te.setValidators([V]);const Me=Yt(te);null!==se.asyncValidator?te.setAsyncValidators(Ot(Me,se.asyncValidator)):"function"==typeof Me&&te.setAsyncValidators([Me]);const lt=()=>te.updateValueAndValidity();ct(se._rawValidators,lt),ct(se._rawAsyncValidators,lt)}function fe(te,se){let V=!1;if(null!==te){if(null!==se.validator){const lt=Et(te);if(Array.isArray(lt)&<.length>
4300){const Sn=lt.filter(er=>er!==se.validator);Sn.length!==lt.length&&(V=!0,te.setValidators(Sn))}}if(null!==se.asyncValidator){const lt=Yt(te);if(Array.isArray(lt)&<.length>0){const Sn=lt.filter(er=>er!==se.asyncValidator);Sn.length!==lt.length&&(V=!0,te.setAsyncValidators(Sn))}}}const Me=()=>{};return ct(se._rawValidators,Me),ct(se._rawAsyncValidators,Me),V}function Ce(te,se){te._pendingDirty&&te.markAsDirty(),te.setValue(te._pendingValue,{emitModelToViewChange:!1}),se.viewToModelUpdate(te._pendingValue),te._pendingChange=!1}function Ke(te,se){ue(te,se)}function ir(te,se){if(!te.hasOwnProperty("model"))return!1;const V=te.model;return!!V.isFirstChange()||!Object.is(se,V.currentValue)}function dr(te,se){te._syncPendingControls(),se.forEach(V=>{const Me=V.control;"submit"===Me.updateOn&&Me._pendingChange&&(V.viewToModelUpdate(Me._pendingValue),Me._pendingChange=!1)})}function gr(te,se){if(!se)return null;let V,Me,lt;return Array.isArray(se),se.forEach(Sn=>{Sn.constructor===ae?V=Sn:function rr(te){return Object.getPrototypeOf(te.constructor)===N}(Sn)?Me=Sn:lt=Sn}),lt||Me||V||null}const Dt={provide:ze,useExisting:(0,h.Rfq)(()=>Zt)},xt=Promise.resolve();let Zt=(()=>{class te extends ze{callSetDisabledState;get submitted(){return(0,o.O8)(this.submittedReactive)}_submitted=(0,o.EW)(()=>this.submittedReactive());submittedReactive=(0,h.vPA)(!1);_directives=new Set;form;ngSubmit=new c.bkB;options;constructor(V,Me,lt){super(),this.callSetDisabledState=lt,this.form=new cr({},we(V),at(Me))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(V){xt.then(()=>{const Me=this._findContainer(V.path);V.control=Me.registerControl(V.name,V.control),zr(V.control,V,this.callSetDisabledState),V.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(V)})}getControl(V){return this.form.get(V.path)}
430removeControl(V){xt.then(()=>{const Me=this._findContainer(V.path);Me&&Me.removeControl(V.name),this._directives.delete(V)})}addFormGroup(V){xt.then(()=>{const Me=this._findContainer(V.path),lt=new cr({});Ke(lt,V),Me.registerControl(V.name,lt),lt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(V){xt.then(()=>{const Me=this._findContainer(V.path);Me&&Me.removeControl(V.name)})}getFormGroup(V){return this.form.get(V.path)}updateModel(V,Me){xt.then(()=>{this.form.get(V.path).setValue(Me)})}setValue(V){this.control.setValue(V)}onSubmit(V){return this.submittedReactive.set(!0),dr(this.form,this._directives),this.ngSubmit.emit(V),this.form._events.next(new Rt(this.control)),"dialog"===V?.target?.method}onReset(){this.resetForm()}resetForm(V=void 0){this.form.reset(V),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(V){return V.pop(),V.length?this.form.get(V):this.form}static \u0275fac=function(Me){return new(Me||te)(c.rXU(Y,10),c.rXU(re,10),c.rXU(lr,8))};static \u0275dir=c.FsC({type:te,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Me,lt){1&Me&&c.bIt("submit",function(er){return lt.onSubmit(er)})("reset",function(){return lt.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[c.Jv_([Dt]),c.Vt3]})}return te})();function xn(te,se){const V=te.indexOf(se);V>-1&&te.splice(V,1)}function Rn(te){return"object"==typeof te&&null!==te&&2===Object.keys(te).length&&"value"in te&&"disabled"in te}const wn=class extends qn{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(se=null,V,Me){super(bn(V),Fn(Me,V)),this._applyFormState(se),this._setUpdateStrategy(V),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Yn(V)&&(V.nonNullable||V.initialValueIsDefault)&&(this.defaultValue=Rn(se)?se.value:se)}setValue(se,V={}){this.value=this._pendingValue=se,this._onChange.length&&!1!==V.emitModelToViewChange&&this._onChange.forEach(Me=>Me(this.value,!1!==V.emitViewToModelChange)),this.updateValueAndValidity(V)}patchValue(se,V={}){this.setValue(se,V)}reset(se=this.defaultValue,V={}){this._applyFormState(se),this.markAsPristine(V),this.markAsUntouched(V),this.setValue(this.value,V),this._pendingChange=!1,!1!==V?.emitEvent&&this._events.next(new Xt(this))}_updateValue(){}_anyControls(se){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(se){this._onChange.push(se)}_unregisterOnChange(se){xn(this._onChange,se)}registerOnDisabledChange(se){this._onDisabledChange.push(se)}_unregisterOnDisabledChange(se){xn(this._onDisabledChange,se)}_forEachChild(se){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(se){Rn(se)?(this.value=this._pendingValue=se.value,se.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=se}},Ir=wn;let Tr=(()=>{class te extends ze{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return or(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let V;return function(lt){return(V||(V=c.xGo(te)))(lt||te)}})();static \u0275dir=c.FsC({type:te,standalone:!1,features:[c.Vt3]})}return te})();const Tn={provide:ze,useExisting:(0,h.Rfq)(()=>Yr)};let Yr=(()=>{class te extends Tr{name="";constructor(V,Me,lt){super(),this._parent=V,this._setValidators(Me),this._setAsyncValidators(lt)}_checkParentType(){}static \u0275fac=function(Me){return new(Me||te)(c.rXU(ze,5),c.rXU(Y,10),c.rXU(re,10))};static \u0275dir=c.FsC({type:te,selectors:[["","ngModelGroup",""]],inputs:{name:[0,"ngModelGroup","name"]},exportAs:["ngModelGroup"],standalone:!1,features:[c.Jv_([Tn]),c.Vt3]})}return te})();const de={provide:vt,useExisting:(0,h.Rfq)(()=>Ee)},Je=Promise.resolve();let Ee=(()=>{class te extends vt{_changeDetectorRef;callSetDisabledState;control=new wn;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new c.bkB;constructor(V,Me,lt,Sn,er,io){super(),this._changeDetectorRef=er,this.callSetDisabledState=io,this._parent=V,this._setValidators(Me),this._setAsyncValidators(lt),this.valueAccessor=gr(0,Sn)}ngOnChanges(V){if(this._checkForErrors(),!this._registered||"name"in V){if(this._registered&&(this._checkName(),this.formDirective)){const Me=V.name.previousValue;this.formDirective.removeControl({name:Me,path:this._getPath(Me)})}this._setUpControl()}"isDisabled"in V&&this._updateDisabled(V),ir(V,this.viewModel)&&(this._updateV
430alue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(V){this.viewModel=V,this.update.emit(V)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){zr(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(V){Je.then(()=>{this.control.setValue(V,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(V){const Me=V.isDisabled.currentValue,lt=0!==Me&&(0,T.L39)(Me);Je.then(()=>{lt&&!this.control.disabled?this.control.disable():!lt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(V){return this._parent?or(V,this._parent):[V]}static \u0275fac=function(Me){return new(Me||te)(c.rXU(ze,9),c.rXU(Y,10),c.rXU(re,10),c.rXU(P,10),c.rXU(T.gRc,8),c.rXU(lr,8))};static \u0275dir=c.FsC({type:te,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[c.Jv_([de]),c.Vt3,c.OA$]})}return te})(),ft=(()=>{class te{static \u0275fac=function(Me){return new(Me||te)};static \u0275dir=c.FsC({type:te,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return te})();const Nn={provide:P,useExisting:(0,h.Rfq)(()=>Wn),multi:!0};let _r=(()=>{class te{_accessors=[];add(V,Me){this._accessors.push([V,Me])}remove(V){for(let Me=this._accessors.length-1;Me>=0;--Me)if(this._accessors[Me][1]===V)return void this._accessors.splice(Me,1)}select(V){this._accessors.forEach(Me=>{this._isSameGroup(Me,V)&&Me[1]!==V&&Me[1].fireUncheck(V.value)})}_isSameGroup(V,Me){return!!V[0].control&&V[0]._parent===Me._control._parent&&V[1].name===Me.name}static \u0275fac=function(Me){return new(Me||te)};static \u0275prov=h.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}return te})(),Wn=(()=>{class te extends N{_registry;_injector;_state;_control;_fn;setDisabledStateFired=!1;onChange=()=>{};name;formControlName;value;callSetDisabledState=(0,h.WQX)(lr,{optional:!0})??Wr;constructor(V,Me,lt,Sn){super(V,Me),this._registry=lt,this._injector=Sn}ngOnInit(){this._control=this._injector.get(vt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(V){this._state=V===this.value,this.setProperty("checked",this._state)}registerOnChange(V){this._fn=V,this.onChange=()=>{V(this.value),this._registry.select(this)}}setDisabledState(V){(this.setDisabledStateFired||V||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",V),this.setDisabledStateFired=!0}fireUncheck(V){this.writeValue(V)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static \u0275fac=function(Me){return new(Me||te)(c.rXU(c.sFG),c.rXU(c.aKT),c.rXU(_r),c.rXU(h.zZn))};static \u0275dir=c.FsC({type:te,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(Me,lt){1&Me&&c.bIt("change",function(){return lt.onChange()})("blur",function(){return lt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},standalone:!1,features:[c.Jv_([Nn]),c.Vt3]})}return te})();const Ar=new h.nKC(""),kr={provide:vt,useExisting:(0,h.Rfq)(()=>co)};let co=(()=>{class te extends vt{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(V){}model;update=new c.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(V,Me,lt,Sn,er){super(),this._ngModelWarningConfig=Sn,this.callSetDisabledState=er,this._setValidators(V),this._setAsyncValidators(Me),this.valueAccessor=gr(0,lt)}ngOnChanges(V){if(this._isControlChanged(V)){const Me=V.form.previousValue;Me&&go(Me,this,!1),zr(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ir(V,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}
430ngOnDestroy(){this.form&&go(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(V){this.viewModel=V,this.update.emit(V)}_isControlChanged(V){return V.hasOwnProperty("form")}static \u0275fac=function(Me){return new(Me||te)(c.rXU(Y,10),c.rXU(re,10),c.rXU(P,10),c.rXU(Ar,8),c.rXU(lr,8))};static \u0275dir=c.FsC({type:te,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[c.Jv_([kr]),c.Vt3,c.OA$]})}return te})();const Nr={provide:ze,useExisting:(0,h.Rfq)(()=>lo)};let lo=(()=>{class te extends ze{callSetDisabledState;get submitted(){return(0,o.O8)(this._submittedReactive)}set submitted(V){this._submittedReactive.set(V)}_submitted=(0,o.EW)(()=>this._submittedReactive());_submittedReactive=(0,h.vPA)(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new c.bkB;constructor(V,Me,lt){super(),this.callSetDisabledState=lt,this._setValidators(V),this._setAsyncValidators(Me)}ngOnChanges(V){V.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(fe(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(V){const Me=this.form.get(V.path);return zr(Me,V,this.callSetDisabledState),Me.updateValueAndValidity({emitEvent:!1}),this.directives.push(V),Me}getControl(V){return this.form.get(V.path)}
430removeControl(V){go(V.control||null,V,!1),function Br(te,se){const V=te.indexOf(se);V>-1&&te.splice(V,1)}(this.directives,V)}addFormGroup(V){this._setUpFormContainer(V)}removeFormGroup(V){this._cleanUpFormContainer(V)}getFormGroup(V){return this.form.get(V.path)}addFormArray(V){this._setUpFormContainer(V)}removeFormArray(V){this._cleanUpFormContainer(V)}getFormArray(V){return this.form.get(V.path)}updateModel(V,Me){this.form.get(V.path).setValue(Me)}onSubmit(V){return this._submittedReactive.set(!0),dr(this.form,this.directives),this.ngSubmit.emit(V),this.form._events.next(new Rt(this.control)),"dialog"===V?.target?.method}onReset(){this.resetForm()}resetForm(V=void 0,Me={}){this.form.reset(V,Me),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(V=>{const Me=V.control,lt=this.form.get(V.path);Me!==lt&&(go(Me||null,V),(te=>te instanceof wn)(lt)&&(zr(lt,V,this.callSetDisabledState),V.control=lt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(V){const Me=this.form.get(V.path);Ke(Me,V),Me.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(V){if(this.form){const Me=this.form.get(V.path);Me&&function nt(te,se){return fe(te,se)}(Me,V)&&Me.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ue(this.form,this),this._oldForm&&fe(this._oldForm,this)}static \u0275fac=function(Me){return new(Me||te)(c.rXU(Y,10),c.rXU(re,10),c.rXU(lr,8))};static \u0275dir=c.FsC({type:te,selectors:[["","formGroup",""]],hostBindings:function(Me,lt){1&Me&&c.bIt("submit",function(er){return lt.onSubmit(er)})("reset",function(){return lt.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[c.Jv_([Nr]),c.Vt3,c.OA$]})}return te})();const uo={provide:ze,useExisting:(0,h.Rfq)(()=>$r)};let $r=(()=>{class te extends Tr{name=null;constructor(V,Me,lt){super(),this._parent=V,this._setValidators(Me),this._setAsyncValidators(lt)}_checkParentType(){Go(this._parent)}static \u0275fac=function(Me){return new(Me||te)(c.rXU(ze,13),c.rXU(Y,10),c.rXU(re,10))};static \u0275dir=c.FsC({type:te,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[c.Jv_([uo]),c.Vt3]})}return te})();const to={provide:ze,useExisting:(0,h.Rfq)(()=>vo)};let vo=(()=>{class te extends ze{_parent;name=null;constructor(V,Me,lt){super(),this._parent=V,this._setValidators(Me),this._setAsyncValidators(lt)}ngOnInit(){Go(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return or(null==this.name?this.name:this.name.toString(),this._parent)}static \u0275fac=function(Me){return new(Me||te)(c.rXU(ze,13),c.rXU(Y,10),c.rXU(re,10))};static \u0275dir=c.FsC({type:te,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[c.Jv_([to]),c.Vt3]})}return te})();function Go(te){return!(te instanceof $r||te instanceof lo||te instanceof vo)}const Zr={provide:vt,useExisting:(0,h.Rfq)(()=>mo)};let mo=(()=>{class te extends vt{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(V){}model;update=new c.bkB;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(V,Me,lt,Sn,er){super(),this._ngModelWarningConfig=er,this._parent=V,this._setValidators(Me),this._setAsyncValidators(lt),this.valueAccessor=gr(0,Sn)}ngOnChanges(V){this._added||this._setUpControl(),ir(V,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(V){this.viewModel=V,this.update.emit(V)}get path(){return or(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(Me){return new(Me||te)(c.rXU(ze,13),c.rXU(Y,10),c.rXU(re,10),c.rXU(P,10),c.rXU(Ar,8))};static \u0275dir=c.FsC({type:te,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[c.Jv_([Zr]),c.Vt3,c.OA$]})}return te})();let No=(()=>{class te{_validator=Ye;_onChange;_enabled;ngOnChanges(V){if(this.inputName in V){const Me=this.normalizeInput(V[this.inputName].
430currentValue);this._enabled=this.enabled(Me),this._validator=this._enabled?this.createValidator(Me):Ye,this._onChange&&this._onChange()}}validate(V){return this._validator(V)}registerOnValidatorChange(V){this._onChange=V}enabled(V){return null!=V}static \u0275fac=function(Me){return new(Me||te)};static \u0275dir=c.FsC({type:te,features:[c.OA$]})}return te})();const Se={provide:Y,useExisting:(0,h.Rfq)(()=>Mt),multi:!0};let Mt=(()=>{class te extends No{required;inputName="required";normalizeInput=T.L39;createValidator=V=>z;enabled(V){return V}static \u0275fac=(()=>{let V;return function(lt){return(V||(V=c.xGo(te)))(lt||te)}})();static \u0275dir=c.FsC({type:te,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(Me,lt){2&Me&&c.BMQ("required",lt._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[c.Jv_([Se]),c.Vt3]})}return te})();const ge={provide:Y,useExisting:(0,h.Rfq)(()=>Le),multi:!0};let Le=(()=>{class te extends No{maxlength;inputName="maxlength";normalizeInput=V=>function Co(te){return"number"==typeof te?te:parseInt(te,10)}(V);createValidator=V=>Qe(V);static \u0275fac=(()=>{let V;return function(lt){return(V||(V=c.xGo(te)))(lt||te)}})();static \u0275dir=c.FsC({type:te,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(Me,lt){2&Me&&c.BMQ("maxlength",lt._enabled?lt.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[c.Jv_([ge]),c.Vt3]})}return te})();const qe={provide:Y,useExisting:(0,h.Rfq)(()=>Pt),multi:!0};let Pt=(()=>{class te extends No{pattern;inputName="pattern";normalizeInput=V=>V;createValidator=V=>Ze(V);static \u0275fac=(()=>{let V;return function(lt){return(V||(V=c.xGo(te)))(lt||te)}})();static \u0275dir=c.FsC({type:te,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(Me,lt){2&Me&&c.BMQ("pattern",lt._enabled?lt.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[c.Jv_([qe]),c.Vt3]})}return te})(),on=(()=>{class te{static \u0275fac=function(Me){return new(Me||te)};static \u0275mod=c.$C({type:te});static \u0275inj=h.G2t({})}return te})();class Dn extends qn{constructor(se,V,Me){super(bn(V),Fn(Me,V)),this.controls=se,this._initObservables(),this._setUpdateStrategy(V),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(se){return this.controls[this._adjustIndex(se)]}push(se,V={}){Array.isArray(se)?se.forEach(Me=>{this.controls.push(Me),this._registerControl(Me)}):(this.controls.push(se),this._registerControl(se)),this.updateValueAndValidity({emitEvent:V.emitEvent}),this._onCollectionChange()}insert(se,V,Me={}){this.controls.splice(se,0,V),this._registerControl(V),this.updateValueAndValidity({emitEvent:Me.emitEvent})}removeAt(se,V={}){let Me=this._adjustIndex(se);Me<0&&(Me=0),this.controls[Me]&&this.controls[Me]._registerOnCollectionChange(()=>{}),this.controls.splice(Me,1),this.updateValueAndValidity({emitEvent:V.emitEvent})}setControl(se,V,Me={}){let lt=this._adjustIndex(se);lt<0&&(lt=0),this.controls[lt]&&this.controls[lt]._registerOnCollectionChange(()=>{}),this.controls.splice(lt,1),V&&(this.controls.splice(lt,0,V),this._registerControl(V)),this.updateValueAndValidity({emitEvent:Me.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(se,V={}){vr(this,0,se),se.forEach((Me,lt)=>{Qn(this,!1,lt),this.at(lt).setValue(Me,{onlySelf:!0,emitEvent:V.emitEvent})}),this.updateValueAndValidity(V)}patchValue(se,V={}){null!=se&&(se.forEach((Me,lt)=>{this.at(lt)&&this.at(lt).patchValue(Me,{onlySelf:!0,emitEvent:V.emitEvent})}),this.updateValueAndValidity(V))}reset(se=[],V={}){this._forEachChild((Me,lt)=>{Me.reset(se[lt],{onlySelf:!0,emitEvent:V.emitEvent})}),this._updatePristine(V,this),this._updateTouched(V,this),this.updateV
430alueAndValidity(V),!1!==V?.emitEvent&&this._events.next(new Xt(this))}getRawValue(){return this.controls.map(se=>se.getRawValue())}clear(se={}){this.controls.length<1||(this._forEachChild(V=>V._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:se.emitEvent}))}_adjustIndex(se){return se<0?se+this.length:se}_syncPendingControls(){let se=this.controls.reduce((V,Me)=>!!Me._syncPendingControls()||V,!1);return se&&this.updateValueAndValidity({onlySelf:!0}),se}_forEachChild(se){this.controls.forEach((V,Me)=>{se(V,Me)})}_updateValue(){this.value=this.controls.filter(se=>se.enabled||this.disabled).map(se=>se.value)}_anyControls(se){return this.controls.some(V=>V.enabled&&se(V))}_setUpControls(){this._forEachChild(se=>this._registerControl(se))}_allControlsDisabled(){for(const se of this.controls)if(se.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(se){se.setParent(this),se._registerOnCollectionChange(this._onCollectionChange)}_find(se){return this.at(se)??null}}const Cn=Dn;function Pn(te){return!!te&&(void 0!==te.asyncValidators||void 0!==te.validators||void 0!==te.updateOn)}let Kn=(()=>{class te{useNonNullable=!1;get nonNullable(){const V=new te;return V.useNonNullable=!0,V}group(V,Me=null){const lt=this._reduceControls(V);let Sn={};return Pn(Me)?Sn=Me:null!==Me&&(Sn.validators=Me.validator,Sn.asyncValidators=Me.asyncValidator),new cr(lt,Sn)}record(V,Me=null){const lt=this._reduceControls(V);return new Or(lt,Me)}control(V,Me,lt){let Sn={};return this.useNonNullable?(Pn(Me)?Sn=Me:(Sn.validators=Me,Sn.asyncValidators=lt),new wn(V,{...Sn,nonNullable:!0})):new wn(V,Me,lt)}array(V,Me,lt){const Sn=V.map(er=>this._createControl(er));return new Dn(Sn,Me,lt)}_reduceControls(V){const Me={};return Object.keys(V).forEach(lt=>{Me[lt]=this._createControl(V[lt])}),Me}_createControl(V){return V instanceof wn||V instanceof qn?V:Array.isArray(V)?this.control(V[0],V.length>1?V[1]:null,V.length>2?V[2]:null):this.control(V)}static \u0275fac=function(Me){return new(Me||te)};static \u0275prov=h.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}return te})(),Zn=(()=>{class te extends Kn{group(V,Me=null){return super.group(V,Me)}control(V,Me,lt){return super.control(V,Me,lt)}array(V,Me,lt){return super.array(V,Me,lt)}static \u0275fac=(()=>{let V;return function(lt){return(V||(V=c.xGo(te)))(lt||te)}})();static \u0275prov=h.jDH({token:te,factory:te.\u0275fac,providedIn:"root"})}return te})(),br=(()=>{class te{static withConfig(V){return{ngModule:te,providers:[{provide:lr,useValue:V.callSetDisabledState??Wr}]}}static \u0275fac=function(Me){return new(Me||te)};static \u0275mod=c.$C({type:te});static \u0275inj=h.G2t({imports:[on]})}return te})(),fr=(()=>{class te{static withConfig(V){return{ngModule:te,providers:[{provide:Ar,useValue:V.warnOnNgModelWithFormControl??"always"},{provide:lr,useValue:V.callSetDisabledState??Wr}]}}static \u0275fac=function(Me){return new(Me||te)};static \u0275mod=c.$C({type:te});static \u0275inj=h.G2t({imports:[on]})}return te})()},11971(ye,A,n){n.d(A,{CI:()=>N,EU:()=>D,Hl:()=>c,Q5:()=>o,jd:()=>T,mE:()=>pe});var u=n(17988),l=n(25293),h=n(47606);class c{_doc;constructor(Ue){this._doc=Ue}manager}let T=(()=>{class Ye extends c{constructor(ne){super(ne)}supports(ne){return!0}addEventListener(ne,X,q,Te){return ne.addEventListener(X,q,Te),()=>this.removeEventListener(ne,X,q,Te)}removeEventListener(ne,X,q,Te){return ne.removeEventListener(X,q,Te)}static \u0275fac=function(X){return new(X||Ye)(u.KVO(u.qQL))};static \u0275prov=u.jDH({token:Ye,factory:Ye.\u0275fac})}return Ye})();const o=new u.nKC("");let D=(()=>{class Ye{_zone;_plugins;_eventNameToPlugin=new Map;constructor(ne,X){this._zone=X,ne.forEach(je=>{je.manager=this});const q=ne.filter(je=>!(je instanceof T));this._plugins=q.slice().reverse();const Te=ne.find(je=>je instanceof T);Te&&this._plugins.push(Te)}addEventListener(ne,X,q,Te){return this._findPluginFor(X).addEventListener(ne,X,q,Te)}getZone(){return this._zone}_findPluginFor(ne){let X=this._eventNameToPlugin.get(ne);if(X)return X;if(X=this._plugins.find(Te=>
430Te.supports(ne)),!X)throw new u.buA(5101,!1);return this._eventNameToPlugin.set(ne,X),X}static \u0275fac=function(X){return new(X||Ye)(u.KVO(o),u.KVO(h.SKi))};static \u0275prov=u.jDH({token:Ye,factory:Ye.\u0275fac})}return Ye})();const g="ng-app-id";function C(Ye){for(const Ue of Ye)Ue.remove()}function v(Ye,Ue){const ne=Ue.createElement("style");return ne.textContent=Ye,ne}function M(Ye,Ue){const ne=Ue.createElement("link");return ne.setAttribute("rel","stylesheet"),ne.setAttribute("href",Ye),ne}let N=(()=>{class Ye{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(ne,X,q,Te={}){this.doc=ne,this.appId=X,this.nonce=q,function E(Ye,Ue,ne,X){const q=Ye.head?.querySelectorAll(`style[${g}="${Ue}"],link[${g}="${Ue}"]`);if(q)for(const Te of q)Te.removeAttribute(g),Te instanceof HTMLLinkElement?X.set(Te.href.slice(Te.href.lastIndexOf("/")+1),{usage:0,elements:[Te]}):Te.textContent&&ne.set(Te.textContent,{usage:0,elements:[Te]})}(ne,X,this.inline,this.external),this.hosts.add(ne.head)}addStyles(ne,X){for(const q of ne)this.addUsage(q,this.inline,v);X?.forEach(q=>this.addUsage(q,this.external,M))}removeStyles(ne,X){for(const q of ne)this.removeUsage(q,this.inline);X?.forEach(q=>this.removeUsage(q,this.external))}addUsage(ne,X,q){const Te=X.get(ne);Te?Te.usage++:X.set(ne,{usage:1,elements:[...this.hosts].map(je=>this.addElement(je,q(ne,this.doc)))})}removeUsage(ne,X){const q=X.get(ne);q&&(q.usage--,q.usage<=0&&(C(q.elements),X.delete(ne)))}ngOnDestroy(){for(const[,{elements:ne}]of[...this.inline,...this.external])C(ne);this.hosts.clear()}addHost(ne){this.hosts.add(ne);for(const[X,{elements:q}]of this.inline)q.push(this.addElement(ne,v(X,this.doc)));for(const[X,{elements:q}]of this.external)q.push(this.addElement(ne,M(X,this.doc)))}removeHost(ne){this.hosts.delete(ne)}addElement(ne,X){return this.nonce&&X.setAttribute("nonce",this.nonce),ne.appendChild(X)}static \u0275fac=function(X){return new(X||Ye)(u.KVO(u.qQL),u.KVO(h.sZ2),u.KVO(h.BIS,8),u.KVO(h.Agw))};static \u0275prov=u.jDH({token:Ye,factory:Ye.\u0275fac})}return Ye})();const P={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},I=/%COMP%/g,w="%COMP%",H=`_nghost-${w}`,ae=`_ngcontent-${w}`,J=new u.nKC("",{providedIn:"root",factory:()=>!0});function G(Ye,Ue){return Ue.map(ne=>ne.replace(I,Ye))}let pe=(()=>{class Ye{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(ne,X,q,Te,je,Fe,we=null,Be=null){this.eventManager=ne,this.sharedStylesHost=X,this.appId=q,this.removeStylesOnCompDestroy=Te,this.doc=je,this.ngZone=Fe,this.nonce=we,this.tracingService=Be,this.platformIsServer=!1,this.defaultRenderer=new De(ne,je,Fe,this.platformIsServer,this.tracingService)}createRenderer(ne,X){if(!ne||!X)return this.defaultRenderer;const q=this.getOrCreateRenderer(ne,X);return q instanceof Ze?q.applyToHost(ne):q instanceof Qe&&q.applyStyles(),q}getOrCreateRenderer(ne,X){const q=this.rendererByCompId;let Te=q.get(X.id);if(!Te){const je=this.doc,Fe=this.ngZone,we=this.eventManager,Be=this.sharedStylesHost,at=this.removeStylesOnCompDestroy,Ot=this.platformIsServer,Et=this.tracingService;switch(X.encapsulation){case h.gXe.Emulated:Te=new Ze(we,Be,X,this.appId,at,je,Fe,Ot,Et);break;case h.gXe.ShadowDom:return new Re(we,Be,ne,X,je,Fe,this.nonce,Ot,Et);default:Te=new Qe(we,Be,X,at,je,Fe,Ot,Et)}q.set(X.id,Te)}return Te}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(ne){this.rendererByCompId.delete(ne)}static \u0275fac=function(X){return new(X||Ye)(u.KVO(D),u.KVO(N),u.KVO(h.sZ2),u.KVO(J),u.KVO(u.qQL),u.KVO(h.SKi),u.KVO(h.BIS),u.KVO(h.a8H,8))};static \u0275prov=u.jDH({token:Ye,factory:Ye.\u0275fac})}return Ye})();class De{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(Ue,ne,X,q,Te){this.eventManager=Ue,this.doc=ne,this.ngZone=X,this.platformIsServer=q,this.tracingService=Te}destroy(){}destroyNode=null;createElement(Ue,ne){return ne?this.doc.createElementNS(P[ne]||ne,Ue):this.doc.createElement(Ue)}createComment(Ue){return this.doc.createComment(Ue)}createText(Ue){return this.doc.createTextNode(Ue)}appendChild(Ue,ne){(it(Ue)?Ue.content:Ue).appendChild(ne)}insertBefore(Ue,ne,X){Ue&&(it(Ue)?Ue.content:Ue).insertBefore(ne,X)}removeChild(Ue,ne){ne.remove()}selectRootElement(Ue,ne){let X="string"==typeof Ue?this.doc.querySelector(Ue):Ue;if(!X)throw new u.buA(-5104,!1);return ne||(X.textContent=""),X}parentNode(Ue){return Ue.parentNode}nextSibling(Ue){return Ue.nextSibling}setAttribute(Ue,ne,X,q){if(q){ne=q+":"+ne;const Te=P[q];Te?Ue.setAttributeNS(Te,ne,X):Ue.setAttribute(ne,X)}else Ue.setAttribute(ne,X)}removeAttribute(Ue,ne,X){if(X){const q=P[X];q?Ue.removeAttributeNS(q,ne):Ue.removeAttribute(`${X}:${ne}`)}else Ue.removeAttribute(ne)}addClass(Ue,ne){Ue.classList.add(ne)}removeClass(Ue,ne){Ue.classList.remove(ne)}setStyle(Ue,ne,X,q){q&(h.czy.DashCase|h.czy.Important)?Ue.style.setProperty(ne,X,q&h.czy.Important?"important":""):Ue.style[ne]=X}removeStyle(Ue,ne,X){X&h.czy.DashCase?Ue.style.removeProperty(ne):Ue.style[ne]=""}setProperty(Ue,ne,X){null!=Ue&&(Ue[ne]=X)}setValue(Ue,ne){Ue.nodeValue=ne}listen(Ue,ne,X,q){if("string"==typeof Ue&&!(Ue=(0,l.rb)().getGlobalEventTarget(this.doc,Ue)))throw new u.buA(5102,!1);let Te=this.decoratePreventDefault(X);return this.tracingService?.wrapEventListener&&(Te=this.tracingService.wrapEventListener(Ue,ne,Te)),this.eventManager.addEventListener(Ue,ne,Te,q)}decoratePreventDefault(Ue){return ne=>{if("__ngUnwrap__"===ne)return Ue;!1===Ue(ne)&&ne.preventDefault()}}}function it(Ye){return"TEMPLATE"===Ye.tagName&&void 0!==Ye.content}class Re extends De{sharedStylesHost;hostEl;shadowRoot;constructor(Ue,ne,X,q,Te,je,Fe,we,Be){super(Ue,Te,je,we,Be),this.sharedStylesHost=ne,this.hostEl=X,this.shadowRoot=X.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let at=q.styles;at=G(q.id,at);for(const Et of at){const Yt=document.createElement("style");Fe&&Yt.setAttribute("nonce",Fe),Yt.textContent=Et,this.shadowRoot.appendChild(Yt)}const Ot=q.getExternalStyles?.();if(Ot)for(const Et of Ot){const Yt=M(Et,Te);Fe&&Yt.setAttribute("nonce",Fe),this.shadowRoot.appendChild(Yt)}}nodeOrShadowRoot(Ue){return Ue===this.hostEl?this.shadowRoot:Ue}appendChild(Ue,ne){return super.appendChild(this.nodeOrShadowRoot(Ue),ne)}insertBefore(Ue,ne,X){return super.insertBefore(this.nodeOrShadowRoot(Ue),ne,X)}removeChild(Ue,ne){return super.removeChild(null,ne)}parentNode(Ue){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ue)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Qe extends De{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(Ue,ne,X,q,Te,je,Fe,we,Be){super(Ue,Te,je,Fe,we),this.sharedStylesHost=ne,this.removeStylesOnCompDestroy=q;let at=X.styles;this.styles=Be?G(Be,at):at,this.styleUrls=X.getExternalStyles?.(Be)}
430applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===h.DUP.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class Ze extends Qe{contentAttr;hostAttr;constructor(Ue,ne,X,q,Te,je,Fe,we,Be){const at=q+"-"+X.id;super(Ue,ne,X,Te,je,Fe,we,Be,at),this.contentAttr=function Y(Ye){return ae.replace(I,Ye)}(at),this.hostAttr=function re(Ye){return H.replace(I,Ye)}(at)}applyToHost(Ue){this.applyStyles(),this.setAttribute(Ue,this.hostAttr,"")}createElement(Ue,ne){const X=super.createElement(Ue,ne);return super.setAttribute(X,this.contentAttr,""),X}}},4199(ye,A,n){n.d(A,{hE:()=>De,up:()=>we});var re=n(17988),G=n(47606);let De=(()=>{class pt{_doc;constructor(s){this._doc=s}getTitle(){return this._doc.title}setTitle(s){this._doc.title=s||""}static \u0275fac=function(mt){return new(mt||pt)(re.KVO(re.qQL))};static \u0275prov=re.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}return pt})(),we=(()=>{class pt{static \u0275fac=function(mt){return new(mt||pt)};static \u0275prov=re.jDH({token:pt,factory:function(mt){let Wt=null;return Wt=mt?new(mt||pt):re.KVO(Be),Wt},providedIn:"root"})}return pt})(),Be=(()=>{class pt extends we{_doc;constructor(s){super(),this._doc=s}sanitize(s,mt){if(null==mt)return null;switch(s){case G.WPN.NONE:return mt;case G.WPN.HTML:return(0,G.iWE)(mt,"HTML")?(0,G.aCM)(mt):(0,G.wr$)(this._doc,String(mt)).toString();case G.WPN.STYLE:return(0,G.iWE)(mt,"Style")?(0,G.aCM)(mt):mt;case G.WPN.SCRIPT:if((0,G.iWE)(mt,"Script"))return(0,G.aCM)(mt);throw new re.buA(5200,!1);case G.WPN.URL:return(0,G.iWE)(mt,"URL")?(0,G.aCM)(mt):(0,G.gil)(String(mt));case G.WPN.RESOURCE_URL:if((0,G.iWE)(mt,"ResourceURL"))return(0,G.aCM)(mt);throw new re.buA(5201,!1);default:throw new re.buA(5202,!1)}}bypassSecurityTrustHtml(s){return(0,G.PYC)(s)}bypassSecurityTrustStyle(s){return(0,G.rAh)(s)}bypassSecurityTrustScript(s){return(0,G.p2i)(s)}bypassSecurityTrustUrl(s){return(0,G.B1s)(s)}bypassSecurityTrustResourceUrl(s){return(0,G.RPW)(s)}static \u0275fac=function(mt){return new(mt||pt)(re.KVO(re.qQL))};static \u0275prov=re.jDH({token:pt,factory:pt.\u0275fac,providedIn:"root"})}return pt})()},61130(ye,A,n){n.d(A,{nX:()=>co,Gl:()=>ws,Pu:()=>ss,Zp:()=>tn,nU:()=>rn,wU:()=>p,c1:()=>Qo,XR:()=>cs,j5:()=>gn,wF:()=>It,L6:()=>rr,lW:()=>ir,mo:()=>fn,Z:()=>yt,J2:()=>Qi,Xk:()=>we,J_:()=>Ki,bw:()=>Ti,cS:()=>Ur,b:()=>bs,tD:()=>Si,Ix:()=>vs,D$:()=>fi,n3:()=>Oo,OY:()=>Hr,Sd:()=>Ut,bK:()=>as,gk:()=>Us,Wj:()=>vr,Lg:()=>As,wO:()=>Qn,Us:()=>On,we:()=>Kr});var u=n(17988),l=n(25293),h=n(47606),c=n(96623),T=n(45873),o=n(59918),D=n(73496),g=n(13901),C=n(95536),v=n(11640),E=n(53826),M=n(23584),N=n(78210),P=n(2652),I=n(32790),x=n(90523),j=n(60381),w=n(81502),H=n(64517),ae=n(68639),S=n(24406),J=n(21082),Y=n(75117),re=n(56816),G=n(61856),ce=n(64752),pe=n(3782),De=n(75214),z=n(61969),ke=n(68713),it=n(81474),Re=n(29221),Ze=n(46257),Ye=n(68905),Ue=n(41114),ne=n(12337),q=n(39848),Te=n(78606),je=n(65213),Fe=n(4199);const we="primary",Be=Symbol("RouteTitle");class at{params;constructor(K){this.params=K||{}}has(K){return Object.prototype.hasOwnProperty.call(this.params,K)}get(K){if(this.has(K)){const k=this.params[K];return Array.isArray(k)?k[0]:k}return null}getAll(K){if(this.has(K)){const k=this.params[K];return Array.isArray(k)?k:[k]}return[]}get keys(){return Object.keys(this.params)}}function Ot(B){return new at(B)}function Et(B,K,k){const Q=k.path.split("/");if(Q.length>B.length||"full"===k.pathMatch&&(K.hasChildren()||Q.length<B.length))return null;const me={};for(let Ne=0;Ne<Q.length;Ne++){const et=Q[Ne],At=B[Ne];if(":"===et[0])me[et.substring(1)]=At;else if(et!==At.path)return null}return{consumed:B.slice(0,Q.length),posParams:me}}function ut(B,K){const k=B?bt(B):void 0,Q=K?bt(K):void 0;if(!k||!Q||k.length!=Q.length)return!1;let me;for(let Ne=0;Ne<k.length;Ne++)if(me=k[Ne],!Xe(B[me],K[me]))return!1;return!0}function bt(B){return[...Object.keys(B),...Object.getOwnPropertySymbols(B)]}function Xe(B,K){if(Array.isArray(B)&&Array.isArray(K)){if(B.length!==K.length)return!1;const k=[...B].sort(),Q=[...K].sort();return k.every((me,Ne)=>Q[Ne]===me)}return B===K}function tt(B){return B.length>0?B[B.length-1]:null}function Ht(B){return(0,o.A)(B)?B:(0,h.yLl)(B)?(0,D.H)(Promise.resolve(B)):(0,g.of)(B)}const ze={exact:function s(B,K,k){if(!Ct(B.segments,K.segments)||!sn(B.segments,K.segments,k)||B.numberOfChildren!==K.numberOfChildren)return!1;for(const Q in K.children)if(!B.children[Q]||!s(B.children[Q],K.children[Q],k))return!1;return!0},subset:Wt},vt={exact:function an(B,K){return ut(B,K)},subset:function mt(B,K){return Object.keys(K).length<=Object.keys(B).length&&Object.keys(K).every(k=>Xe(B[k],K[k]))},ignored:()=>!0};function pt(B,K,k){return ze[k.paths](B.root,K.root,k.matrixParams)&&vt[k.queryParams](B.queryParams,K.queryParams)&&!("exact"===k.fragment&&B.fragment!==K.fragment)}function Wt(B,K,k){return jt(B,K,K.segments,k)}function jt(B,K,k,Q){if(B.segments.length>k.length){const me=B.segments.slice(0,k.length);
430return!(!Ct(me,k)||K.hasChildren()||!sn(me,k,Q))}if(B.segments.length===k.length){if(!Ct(B.segments,k)||!sn(B.segments,k,Q))return!1;for(const me in K.children)if(!B.children[me]||!Wt(B.children[me],K.children[me],Q))return!1;return!0}{const me=k.slice(0,B.segments.length),Ne=k.slice(B.segments.length);return!!(Ct(B.segments,me)&&sn(B.segments,me,Q)&&B.children[we])&&jt(B.children[we],K,Ne,Q)}}function sn(B,K,k){return K.every((Q,me)=>vt[k](B[me].parameters,Q.parameters))}class Lt{root;queryParams;fragment;_queryParamMap;constructor(K=new vn([],{}),k={},Q=null){this.root=K,this.queryParams=k,this.fragment=Q}get queryParamMap(){return this._queryParamMap??=Ot(this.queryParams),this._queryParamMap}toString(){return In.serialize(this)}}class vn{segments;children;parent=null;constructor(K,k){this.segments=K,this.children=k,Object.values(k).forEach(Q=>Q.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return An(this)}}class wt{path;parameters;_parameterMap;constructor(K,k){this.path=K,this.parameters=k}get parameterMap(){return this._parameterMap??=Ot(this.parameters),this._parameterMap}toString(){return Ve(this)}}function Ct(B,K){return B.length===K.length&&B.every((k,Q)=>k.path===K[Q].path)}let Ut=(()=>{class B{static \u0275fac=function(Q){return new(Q||B)};static \u0275prov=u.jDH({token:B,factory:()=>new rn,providedIn:"root"})}return B})();class rn{parse(K){const k=new Er(K);return new Lt(k.parseRootSegment(),k.parseQueryParams(),k.parseFragment())}serialize(K){const k=`/${Xn(K.root,!0)}`,Q=function $e(B){const K=Object.entries(B).map(([k,Q])=>Array.isArray(Q)?Q.map(me=>`${Pr(k)}=${Pr(me)}`).join("&"):`${Pr(k)}=${Pr(Q)}`).filter(k=>k);return K.length?`?${K.join("&")}`:""}(K.queryParams);return`${k}${Q}${"string"==typeof K.fragment?`#${function Dr(B){return encodeURI(B)}(K.fragment)}`:""}`}}const In=new rn;function An(B){return B.segments.map(K=>Ve(K)).join("/")}function Xn(B,K){if(!B.hasChildren())return An(B);if(K){const k=B.children[we]?Xn(B.children[we],!1):"",Q=[];return Object.entries(B.children).forEach(([me,Ne])=>{me!==we&&Q.push(`${me}:${Xn(Ne,!1)}`)}),Q.length>0?`${k}(${Q.join("//")})`:k}{const k=function Mn(B,K){let k=[];return Object.entries(B.children).forEach(([Q,me])=>{Q===we&&(k=k.concat(K(me,Q)))}),Object.entries(B.children).forEach(([Q,me])=>{Q!==we&&(k=k.concat(K(me,Q)))}),k}(B,(Q,me)=>me===we?[Xn(B.children[we],!1)]:[`${me}:${Xn(Q,!1)}`]);return 1===Object.keys(B.children).length&&null!=B.children[we]?`${An(B)}/${k[0]}`:`${An(B)}/(${k.join("//")})`}}function Fr(B){return encodeURIComponent(B).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Pr(B){return Fr(B).replace(/%3B/gi,";")}function wr(B){return Fr(B).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function jn(B){return decodeURIComponent(B)}function Sr(B){return jn(B.replace(/\+/g,"%20"))}function Ve(B){return`${wr(B.path)}${function Ae(B){return Object.entries(B).map(([K,k])=>`;${wr(K)}=${wr(k)}`).join("")}(B.parameters)}`}const gt=/^[^\/()?;#]+/;function Kt(B){const K=B.match(gt);return K?K[0]:""}const ln=/^[^\/()?;=#]+/,nn=/^[^=?&#]+/,Xt=/^[^&#]+/;class Er{url;remaining;constructor(K){this.url=K,this.remaining=K}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new vn([],{}):new vn([],this.parseChildren())}parseQueryParams(){const K={};if(this.consumeOptional("?"))do{this.parseQueryParam(K)}while(this.consumeOptional("&"));return K}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const K=[];for(this.peekStartsWith("(")||K.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),K.push(this.parseSegment());let k={};this.peekStartsWith("/(")&&(this.capture("/"),k=this.parseParens(!0));let Q={};return this.peekStartsWith("(")&&(Q=this.parseParens(!1)),(K.length>0||Object.keys(k).length>0)&&(Q[we]=new vn(K,k)),Q}parseSegment(){const K=Kt(this.remaining);if(""===K&&this.peekStartsWith(";"))throw new u.buA(4009,!1);return this.capture(K),new wt(jn(K),this.parseMatrixParams())}parseMatrixParams(){const K={};for(;this.consumeOptional(";");)this.parseParam(K);return K}parseParam(K){const k=function un(B){const K=B.match(ln);return K?K[0]:""}(this.remaining);if(!k)return;this.capture(k);let Q="";if(this.consumeOptional("=")){const me=Kt(this.remaining);
430me&&(Q=me,this.capture(Q))}K[jn(k)]=jn(Q)}parseQueryParam(K){const k=function Rt(B){const K=B.match(nn);return K?K[0]:""}(this.remaining);if(!k)return;this.capture(k);let Q="";if(this.consumeOptional("=")){const et=function bn(B){const K=B.match(Xt);return K?K[0]:""}(this.remaining);et&&(Q=et,this.capture(Q))}const me=Sr(k),Ne=Sr(Q);if(K.hasOwnProperty(me)){let et=K[me];Array.isArray(et)||(et=[et],K[me]=et),et.push(Ne)}else K[me]=Ne}parseParens(K){const k={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Q=Kt(this.remaining),me=this.remaining[Q.length];if("/"!==me&&")"!==me&&";"!==me)throw new u.buA(4010,!1);let Ne;Q.indexOf(":")>-1?(Ne=Q.slice(0,Q.indexOf(":")),this.capture(Ne),this.capture(":")):K&&(Ne=we);const et=this.parseChildren();k[Ne??we]=1===Object.keys(et).length&&et[we]?et[we]:new vn([],et),this.consumeOptional("//")}return k}peekStartsWith(K){return this.remaining.startsWith(K)}consumeOptional(K){return!!this.peekStartsWith(K)&&(this.remaining=this.remaining.substring(K.length),!0)}capture(K){if(!this.consumeOptional(K))throw new u.buA(4011,!1)}}function Fn(B){return B.segments.length>0?new vn([],{[we]:B}):B}function ar(B){const K={};for(const[Q,me]of Object.entries(B.children)){const Ne=ar(me);if(Q===we&&0===Ne.segments.length&&Ne.hasChildren())for(const[et,At]of Object.entries(Ne.children))K[et]=At;else(Ne.segments.length>0||Ne.hasChildren())&&(K[Q]=Ne)}return function Yn(B){if(1===B.numberOfChildren&&B.children[we]){const K=B.children[we];return new vn(B.segments.concat(K.segments),K.children)}return B}(new vn(B.segments,K))}function Qn(B){return B instanceof Lt}function vr(B,K,k=null,Q=null){return cr(qn(B),K,k,Q)}function qn(B){let K;const me=Fn(function k(Ne){const et={};for(const Jt of Ne.children){const kn=k(Jt);et[Jt.outlet]=kn}const At=new vn(Ne.url,et);return Ne===B&&(K=At),At}(B.root));return K??me}function cr(B,K,k,Q){let me=B;for(;me.parent;)me=me.parent;if(0===K.length)return $n(me,me,me,k,Q);const Ne=function lr(B){if("string"==typeof B[0]&&1===B.length&&"/"===B[0])return new Mr(!0,0,B);let K=0,k=!1;const Q=B.reduce((me,Ne,et)=>{if("object"==typeof Ne&&null!=Ne){if(Ne.outlets){const At={};return Object.entries(Ne.outlets).forEach(([Jt,kn])=>{At[Jt]="string"==typeof kn?kn.split("/"):kn}),[...me,{outlets:At}]}if(Ne.segmentPath)return[...me,Ne.segmentPath]}return"string"!=typeof Ne?[...me,Ne]:0===et?(Ne.split("/").forEach((At,Jt)=>{0==Jt&&"."===At||(0==Jt&&""===At?k=!0:".."===At?K++:""!=At&&me.push(At))}),me):[...me,Ne]},[]);return new Mr(k,K,Q)}(K);if(Ne.toRoot())return $n(me,me,new vn([],{}),k,Q);const et=function or(B,K,k){if(B.isAbsolute)return new Wr(K,!0,0);if(!k)return new Wr(K,!1,NaN);if(null===k.parent)return new Wr(k,!0,0);const Q=nr(B.commands[0])?0:1;return function zr(B,K,k){let Q=B,me=K,Ne=k;for(;Ne>me;){if(Ne-=me,Q=Q.parent,!Q)throw new u.buA(4005,!1);me=Q.segments.length}return new Wr(Q,!1,me-Ne)}(k,k.segments.length-1+Q,B.numberOfDoubleDots)}(Ne,me,B),At=et.processChildren?$(et.segmentGroup,et.index,Ne.commands):ct(et.segmentGroup,et.index,Ne.commands);return $n(me,et.segmentGroup,At,k,Q)}function nr(B){return"object"==typeof B&&null!=B&&!B.outlets&&!B.segmentPath}function Jn(B){return"object"==typeof B&&null!=B&&B.outlets}function $n(B,K,k,Q,me){let et,Ne={};Q&&Object.entries(Q).forEach(([Jt,kn])=>{Ne[Jt]=Array.isArray(kn)?kn.map(Gr=>`${Gr}`):`${kn}`}),et=B===K?k:Or(B,K,k);const At=Fn(ar(et));return new Lt(At,Ne,me)}function Or(B,K,k){const Q={};return Object.entries(B.children).forEach(([me,Ne])=>{Q[me]=Ne===K?k:Or(Ne,K,k)}),new vn(B.segments,Q)}class Mr{isAbsolute;numberOfDoubleDots;commands;constructor(K,k,Q){if(this.isAbsolute=K,this.numberOfDoubleDots=k,this.commands=Q,K&&Q.length>0&&nr(Q[0]))throw new u.buA(4003,!1);const me=Q.find(Jn);if(me&&me!==tt(Q))throw new u.buA(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Wr{segmentGroup;processChildren;index;constructor(K,k,Q){this.segmentGroup=K,this.processChildren=k,this.index=Q}}function ct(B,K,k){if(B??=new vn([],{}),0===B.segments.length&&B.hasChildren())return $(B,K,k);const Q=function ue(B,K,k){let Q=0,me=K;const Ne={match:!1,pathIndex:0,commandIndex:0};for(;me<B.segments.length;){if(Q>=k.length)return Ne;const et=B.segments[me],At=k[Q];if(Jn(At))break;const Jt=`${At}`,kn=Q<k.length-1?k[Q+1]:null;if(me>0&&void 0===Jt)break;if(Jt&&kn&&"object"==typeof kn&&void 0===kn.outlets){if(!Ce(Jt,kn,et))return Ne;Q+=2}else{if(!Ce(Jt,{},et))return Ne;Q++}me++}return{match:!0,pathIndex:me,commandIndex:Q}}
430(B,K,k),me=k.slice(Q.commandIndex);if(Q.match&&Q.pathIndex<B.segments.length){const Ne=new vn(B.segments.slice(0,Q.pathIndex),{});return Ne.children[we]=new vn(B.segments.slice(Q.pathIndex),B.children),$(Ne,0,me)}return Q.match&&0===me.length?new vn(B.segments,{}):Q.match&&!B.hasChildren()?fe(B,K,k):Q.match?$(B,0,me):fe(B,K,k)}function $(B,K,k){if(0===k.length)return new vn(B.segments,{});{const Q=function go(B){return Jn(B[0])?B[0].outlets:{[we]:B}}(k),me={};if(Object.keys(Q).some(Ne=>Ne!==we)&&B.children[we]&&1===B.numberOfChildren&&0===B.children[we].segments.length){const Ne=$(B.children[we],K,k);return new vn(B.segments,Ne.children)}return Object.entries(Q).forEach(([Ne,et])=>{"string"==typeof et&&(et=[et]),null!==et&&(me[Ne]=ct(B.children[Ne],K,et))}),Object.entries(B.children).forEach(([Ne,et])=>{void 0===Q[Ne]&&(me[Ne]=et)}),new vn(B.segments,me)}}function fe(B,K,k){const Q=B.segments.slice(0,K);let me=0;for(;me<k.length;){const Ne=k[me];if(Jn(Ne)){const Jt=Oe(Ne.outlets);return new vn(Q,Jt)}if(0===me&&nr(k[0])){Q.push(new wt(B.segments[K].path,Z(k[0]))),me++;continue}const et=Jn(Ne)?Ne.outlets[we]:`${Ne}`,At=me<k.length-1?k[me+1]:null;et&&At&&nr(At)?(Q.push(new wt(et,Z(At))),me+=2):(Q.push(new wt(et,{})),me++)}return new vn(Q,{})}function Oe(B){const K={};return Object.entries(B).forEach(([k,Q])=>{"string"==typeof Q&&(Q=[Q]),null!==Q&&(K[k]=fe(new vn([],{}),0,Q))}),K}function Z(B){const K={};return Object.entries(B).forEach(([k,Q])=>K[k]=`${Q}`),K}function Ce(B,K,k){return B==k.path&&ut(K,k.parameters)}const p="imperative";var Ke=function(B){return B[B.NavigationStart=0]="NavigationStart",B[B.NavigationEnd=1]="NavigationEnd",B[B.NavigationCancel=2]="NavigationCancel",B[B.NavigationError=3]="NavigationError",B[B.RoutesRecognized=4]="RoutesRecognized",B[B.ResolveStart=5]="ResolveStart",B[B.ResolveEnd=6]="ResolveEnd",B[B.GuardsCheckStart=7]="GuardsCheckStart",B[B.GuardsCheckEnd=8]="GuardsCheckEnd",B[B.RouteConfigLoadStart=9]="RouteConfigLoadStart",B[B.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",B[B.ChildActivationStart=11]="ChildActivationStart",B[B.ChildActivationEnd=12]="ChildActivationEnd",B[B.ActivationStart=13]="ActivationStart",B[B.ActivationEnd=14]="ActivationEnd",B[B.Scroll=15]="Scroll",B[B.NavigationSkipped=16]="NavigationSkipped",B}(Ke||{});class nt{id;url;constructor(K,k){this.id=K,this.url=k}}class yt extends nt{type=Ke.NavigationStart;navigationTrigger;restoredState;constructor(K,k,Q="imperative",me=null){super(K,k),this.navigationTrigger=Q,this.restoredState=me}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class It extends nt{urlAfterRedirects;type=Ke.NavigationEnd;constructor(K,k,Q){super(K,k),this.urlAfterRedirects=Q}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var dn=function(B){return B[B.Redirect=0]="Redirect",B[B.SupersededByNewNavigation=1]="SupersededByNewNavigation",B[B.NoDataFromResolver=2]="NoDataFromResolver",B[B.GuardRejected=3]="GuardRejected",B[B.Aborted=4]="Aborted",B}(dn||{}),fn=function(B){return B[B.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",B[B.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",B}(fn||{});class gn extends nt{reason;code;type=Ke.NavigationCancel;constructor(K,k,Q,me){super(K,k),this.reason=Q,this.code=me}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ir extends nt{reason;code;type=Ke.NavigationSkipped;constructor(K,k,Q,me){super(K,k),this.reason=Q,this.code=me}}class rr extends nt{error;target;type=Ke.NavigationError;constructor(K,k,Q,me){super(K,k),this.error=Q,this.target=me}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class dr extends nt{urlAfterRedirects;state;type=Ke.RoutesRecognized;constructor(K,k,Q,me){super(K,k),this.urlAfterRedirects=Q,this.state=me}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gr extends nt{urlAfterRedirects;state;type=Ke.GuardsCheckStart;constructor(K,k,Q,me){super(K,k),this.urlAfterRedirects=Q,this.state=me}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Br extends nt{urlAfterRedirects;state;shouldActivate;type=Ke.GuardsCheckEnd;constructor(K,k,Q,me,Ne){super(K,k),this.urlAfterRedirects=Q,this.state=me,this.shouldActivate=Ne}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class st extends nt{urlAfterRedirects;state;type=Ke.ResolveStart;constructor(K,k,Q,me){super(K,k),this.urlAfterRedirects=Q,this.state=me}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Dt extends nt{urlAfterRedirects;state;type=Ke.ResolveEnd;constructor(K,k,Q,me){super(K,k),this.urlAfterRedirects=Q,this.state=me}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class xt{route;type=Ke.RouteConfigLoadStart;constructor(K){this.route=K}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Zt{route;type=Ke.RouteConfigLoadEnd;constructor(K){this.route=K}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class xn{snapshot;type=Ke.ChildActivationStart;constructor(K){this.snapshot=K}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Rn{snapshot;type=Ke.ChildActivationEnd;constructor(K){this.snapshot=K}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wn{snapshot;type=Ke.ActivationStart;constructor(K){this.snapshot=K}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ir{snapshot;type=Ke.ActivationEnd;constructor(K){this.snapshot=K}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Hr{routerEvent;position;anchor;type=Ke.Scroll;constructor(K,k,Q){this.routerEvent=K,this.position=k,this.anchor=Q}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Tr{}class Lr{url;navigationBehaviorOptions;constructor(K,k){this.url=K,this.navigationBehaviorOptions=k}}function On(B){switch(B.type){case Ke.ActivationEnd:return`ActivationEnd(path: '${B.snapshot.routeConfig?.path||""}')`;case Ke.ActivationStart:return`ActivationStart(path: '${B.snapshot.routeConfig?.path||""}')`;case Ke.ChildActivationEnd:return`ChildActivationEnd(path: '${B.snapshot.routeConfig?.path||""}')`;case Ke.ChildActivationStart:return`ChildActivationStart(path: '${B.snapshot.routeConfig?.path||""}')`;case Ke.GuardsCheckEnd:return`GuardsCheckEnd(id: ${B.id}, url: '${B.url}', urlAfterRedirects: '${B.urlAfterRedirects}', state: ${B.state}, shouldActivate: ${B.shouldActivate})`;case Ke.GuardsCheckStart:return`GuardsCheckStart(id: ${B.id}, url: '${B.url}', urlAfterRedirects: '${B.urlAfterRedirects}', state: ${B.state})`;case Ke.NavigationCancel:return`NavigationCancel(id: ${B.id}, url: '${B.url}')`;case Ke.NavigationSkipped:return`NavigationSkipped(id: ${B.id}, url: '${B.url}')`;case Ke.NavigationEnd:return`NavigationEnd(id: ${B.id}, url: '${B.url}', urlAfterRedirects: '${B.urlAfterRedirects}')`;case Ke.NavigationError:return`NavigationError(id: ${B.id}, url: '${B.url}', error: ${B.error})`;case Ke.NavigationStart:return`NavigationStart(id: ${B.id}, url: '${B.url}')`;case Ke.ResolveEnd:return`ResolveEnd(id: ${B.id}, url: '${B.url}', urlAfterRedirects: '${B.urlAfterRedirects}', state: ${B.state})`;case Ke.ResolveStart:return`ResolveStart(id: ${B.id}, url: '${B.url}', urlAfterRedirects: '${B.urlAfterRedirects}', state: ${B.state})`;case Ke.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${B.route.path})`;case Ke.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${B.route.path})`;case Ke.RoutesRecognized:return`RoutesRecognized(id: ${B.id}, url: '${B.url}', urlAfterRedirects: '${B.urlAfterRedirects}', state: ${B.state})`;case Ke.Scroll:return`Scroll(anchor: '${B.anchor}', position: '${B.position?`${B.position[0]}, ${B.position[1]}`:null}')`}}function Ee(B){return B.outlet||we}function ft(B){if(!B)return null;
430if(B.routeConfig?._injector)return B.routeConfig._injector;for(let K=B.parent;K;K=K.parent){const k=K.routeConfig;if(k?._loadedInjector)return k._loadedInjector;if(k?._injector)return k._injector}return null}class kt{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ft(this.route?.snapshot)??this.rootInjector}constructor(K){this.rootInjector=K,this.children=new tn(this.rootInjector)}}let tn=(()=>{class B{rootInjector;contexts=new Map;constructor(k){this.rootInjector=k}onChildOutletCreated(k,Q){const me=this.getOrCreateContext(k);me.outlet=Q,this.contexts.set(k,me)}onChildOutletDestroyed(k){const Q=this.getContext(k);Q&&(Q.outlet=null,Q.attachRef=null)}onOutletDeactivated(){const k=this.contexts;return this.contexts=new Map,k}onOutletReAttached(k){this.contexts=k}getOrCreateContext(k){let Q=this.getContext(k);return Q||(Q=new kt(this.rootInjector),this.contexts.set(k,Q)),Q}getContext(k){return this.contexts.get(k)||null}static \u0275fac=function(Q){return new(Q||B)(u.KVO(u.uvJ))};static \u0275prov=u.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})();class Nn{_root;constructor(K){this._root=K}get root(){return this._root.value}parent(K){const k=this.pathFromRoot(K);return k.length>1?k[k.length-2]:null}children(K){const k=Vn(K,this._root);return k?k.children.map(Q=>Q.value):[]}firstChild(K){const k=Vn(K,this._root);return k&&k.children.length>0?k.children[0].value:null}siblings(K){const k=_r(K,this._root);return k.length<2?[]:k[k.length-2].children.map(me=>me.value).filter(me=>me!==K)}pathFromRoot(K){return _r(K,this._root).map(k=>k.value)}}function Vn(B,K){if(B===K.value)return K;for(const k of K.children){const Q=Vn(B,k);if(Q)return Q}return null}function _r(B,K){if(B===K.value)return[K];for(const k of K.children){const Q=_r(B,k);if(Q.length)return Q.unshift(K),Q}return[]}class Wn{value;children;constructor(K,k){this.value=K,this.children=k}toString(){return`TreeNode(${this.value})`}}function sr(B){const K={};return B&&B.children.forEach(k=>K[k.value.outlet]=k),K}class Jr extends Nn{snapshot;constructor(K,k){super(K),this.snapshot=k,$r(this,K)}toString(){return this.snapshot.toString()}}function Ar(B){const K=function kr(B){const Ne=new lo([],{},{},"",{},we,B,null,{});return new uo("",new Wn(Ne,[]))}(B),k=new C.t([new wt("",{})]),Q=new C.t({}),me=new C.t({}),Ne=new C.t({}),et=new C.t(""),At=new co(k,Q,Ne,et,me,we,B,K.root);return At.snapshot=K.root,new Jr(new Wn(At,[]),K)}class co{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(K,k,Q,me,Ne,et,At,Jt){this.urlSubject=K,this.paramsSubject=k,this.queryParamsSubject=Q,this.fragmentSubject=me,this.dataSubject=Ne,this.outlet=et,this.component=At,this._futureSnapshot=Jt,this.title=this.dataSubject?.pipe((0,S.T)(kn=>kn[Be]))??(0,g.of)(void 0),this.url=K,this.params=k,this.queryParams=Q,this.fragment=me,this.data=Ne}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,S.T)(K=>Ot(K))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,S.T)(K=>Ot(K))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Nr(B,K,k="emptyOnly"){let Q;const{routeConfig:me}=B;return Q=null===K||"always"!==k&&""!==me?.path&&(K.component||K.routeConfig?.loadComponent)?{params:{...B.params},data:{...B.data},resolve:{...B.data,...B._resolvedData??{}}}:{params:{...K.params,...B.params},data:{...K.data,...B.data},resolve:{...B.data,...K.data,...me?.data,...B._resolvedData}},me&&Zr(me)&&(Q.resolve[Be]=me.title),Q}class lo{url;params;queryParams;fragment;data;outlet;component;
430routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Be]}constructor(K,k,Q,me,Ne,et,At,Jt,kn){this.url=K,this.params=k,this.queryParams=Q,this.fragment=me,this.data=Ne,this.outlet=et,this.component=At,this.routeConfig=Jt,this._resolve=kn}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ot(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ot(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Q=>Q.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class uo extends Nn{url;constructor(K,k){super(k),this.url=K,$r(this,k)}toString(){return to(this._root)}}function $r(B,K){K.value._routerState=B,K.children.forEach(k=>$r(B,k))}function to(B){const K=B.children.length>0?` { ${B.children.map(to).join(", ")} } `:"";return`${B.value}${K}`}function vo(B){if(B.snapshot){const K=B.snapshot,k=B._futureSnapshot;B.snapshot=k,ut(K.queryParams,k.queryParams)||B.queryParamsSubject.next(k.queryParams),K.fragment!==k.fragment&&B.fragmentSubject.next(k.fragment),ut(K.params,k.params)||B.paramsSubject.next(k.params),function Yt(B,K){if(B.length!==K.length)return!1;for(let k=0;k<B.length;++k)if(!ut(B[k],K[k]))return!1;return!0}(K.url,k.url)||B.urlSubject.next(k.url),ut(K.data,k.data)||B.dataSubject.next(k.data)}else B.snapshot=B._futureSnapshot,B.dataSubject.next(B._futureSnapshot.data)}function Go(B,K){const k=ut(B.params,K.params)&&function cn(B,K){return Ct(B,K)&&B.every((k,Q)=>ut(k.parameters,K[Q].parameters))}(B.url,K.url);return k&&!(!B.parent!=!K.parent)&&(!B.parent||Go(B.parent,K.parent))}function Zr(B){return"string"==typeof B.title||null===B.title}const mo=new u.nKC("");let Oo=(()=>{class B{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=we;activateEvents=new h.bkB;deactivateEvents=new h.bkB;attachEvents=new h.bkB;detachEvents=new h.bkB;routerOutletData=(0,c.hFB)();parentContexts=(0,u.WQX)(tn);location=(0,u.WQX)(h.c1b);changeDetector=(0,u.WQX)(c.gRc);inputBinder=(0,u.WQX)(Qo,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(k){if(k.name){const{firstChange:Q,previousValue:me}=k.name;if(Q)return;this.isTrackedInParentContexts(me)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(me)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(k){return this.parentContexts.getContext(k)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const k=this.parentContexts.getContext(this.name);k?.route&&(k.attachRef?this.attach(k.attachRef,k.route):this.activateWith(k.route,k.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new u.buA(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new u.buA(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new u.buA(4012,!1);this.location.detach();const k=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(k.instance),k}attach(k,Q){this.activated=k,this._activatedRoute=Q,this.location.insert(k.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(k.instance)}deactivate(){if(this.activated){const k=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(k)}}activateWith(k,Q){if(this.isActivated)throw new u.buA(4013,!1);this._activatedRoute=k;const me=this.location,et=k.snapshot.component,At=this.parentContexts.getOrCreateContext(this.name).children,Jt=new Fo(k,At,me.injector,this.routerOutletData);this.activated=me.createComponent(et,{index:me.length,injector:Jt,environmentInjector:Q}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(Q){return new(Q||B)};static \u0275dir=h.FsC({type:B,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[h.OA$]})}return B})();class Fo{route;childContexts;parent;outletData;constructor(K,k,Q,me){this.route=K,this.childContexts=k,this.parent=Q,this.outletData=me}get(K,k){return K===co?this.route:K===tn?this.childContexts:K===mo?this.outletData:this.parent.get(K,k)}}const Qo=new u.nKC("");let Si=(()=>{class B{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(k){this.unsubscribeFromRouteData(k),this.subscribeToRouteData(k)}unsubscribeFromRouteData(k){this.outletDataSubscriptions.get(k)?.unsubscribe(),this.outletDataSubscriptions.delete(k)}subscribeToRouteData(k){const{activatedRoute:Q}=k,me=(0,v.z)([Q.queryParams,Q.params,Q.data]).pipe((0,J.n)(([Ne,et,At],Jt)=>(At={...Ne,...et,...At},0===Jt?(0,g.of)(At):Promise.resolve(At)))).subscribe(Ne=>{if(!k.isActivated||!k.activatedComponentRef||k.activatedRoute!==Q||null===Q.component)return void this.unsubscribeFromRouteData(k);const et=(0,c.HJs)(Q.component);if(et)for(const{templateName:At}
430of et.inputs)k.activatedComponentRef.setInput(At,Ne[At]);else this.unsubscribeFromRouteData(k)});this.outletDataSubscriptions.set(k,me)}static \u0275fac=function(Q){return new(Q||B)};static \u0275prov=u.jDH({token:B,factory:B.\u0275fac})}return B})(),Kr=(()=>{class B{static \u0275fac=function(Q){return new(Q||B)};static \u0275cmp=h.VBU({type:B,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(Q,me){1&Q&&h.nrm(0,"router-outlet")},dependencies:[Oo],encapsulation:2})}return B})();function ei(B){const K=B.children&&B.children.map(ei),k=K?{...B,children:K}:{...B};return!k.component&&!k.loadComponent&&(K||k.loadChildren)&&k.outlet&&k.outlet!==we&&(k.component=Kr),k}function Mo(B,K,k){if(k&&B.shouldReuseRoute(K.value,k.value.snapshot)){const Q=k.value;Q._futureSnapshot=K.value;const me=function Eo(B,K,k){return K.children.map(Q=>{for(const me of k.children)if(B.shouldReuseRoute(Q.value,me.value.snapshot))return Mo(B,Q,me);return Mo(B,Q)})}(B,K,k);return new Wn(Q,me)}{if(B.shouldAttach(K.value)){const Ne=B.retrieve(K.value);if(null!==Ne){const et=Ne.route;return et.value._futureSnapshot=K.value,et.children=K.children.map(At=>Mo(B,At)),et}}const Q=function To(B){return new co(new C.t(B.url),new C.t(B.params),new C.t(B.queryParams),new C.t(B.fragment),new C.t(B.data),B.outlet,B.component,B)}(K.value),me=K.children.map(Ne=>Mo(B,Ne));return new Wn(Q,me)}}class Ur{redirectTo;navigationBehaviorOptions;constructor(K,k){this.redirectTo=K,this.navigationBehaviorOptions=k}}const Co="ngNavigationCancelingError";function Lo(B,K){const{redirectTo:k,navigationBehaviorOptions:Q}=Qn(K)?{redirectTo:K,navigationBehaviorOptions:void 0}:K,me=No(!1,dn.Redirect);return me.url=k,me.navigationBehaviorOptions=Q,me}function No(B,K){const k=new Error(`NavigationCancelingError: ${B||""}`);return k[Co]=!0,k.cancellationCode=K,k}function Ao(B){return!!B&&B[Co]}class Se{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(K,k,Q,me,Ne){this.routeReuseStrategy=K,this.futureState=k,this.currState=Q,this.forwardEvent=me,this.inputBindingEnabled=Ne}activate(K){const k=this.futureState._root,Q=this.currState?this.currState._root:null;this.deactivateChildRoutes(k,Q,K),vo(this.futureState.root),this.activateChildRoutes(k,Q,K)}deactivateChildRoutes(K,k,Q){const me=sr(k);K.children.forEach(Ne=>{const et=Ne.value.outlet;this.deactivateRoutes(Ne,me[et],Q),delete me[et]}),Object.values(me).forEach(Ne=>{this.deactivateRouteAndItsChildren(Ne,Q)})}deactivateRoutes(K,k,Q){const me=K.value,Ne=k?k.value:null;if(me===Ne)if(me.component){const et=Q.getContext(me.outlet);et&&this.deactivateChildRoutes(K,k,et.children)}else this.deactivateChildRoutes(K,k,Q);else Ne&&this.deactivateRouteAndItsChildren(k,Q)}deactivateRouteAndItsChildren(K,k){K.value.component&&this.routeReuseStrategy.shouldDetach(K.value.snapshot)?this.detachAndStoreRouteSubtree(K,k):this.deactivateRouteAndOutlet(K,k)}detachAndStoreRouteSubtree(K,k){const Q=k.getContext(K.value.outlet),me=Q&&K.value.component?Q.children:k,Ne=sr(K);for(const et of Object.values(Ne))this.deactivateRouteAndItsChildren(et,me);if(Q&&Q.outlet){const et=Q.outlet.detach(),At=Q.children.onOutletDeactivated();this.routeReuseStrategy.store(K.value.snapshot,{componentRef:et,route:K,contexts:At})}}deactivateRouteAndOutlet(K,k){const Q=k.getContext(K.value.outlet),me=Q&&K.value.component?Q.children:k,Ne=sr(K);for(const et of Object.values(Ne))this.deactivateRouteAndItsChildren(et,me);Q&&(Q.outlet&&(Q.outlet.deactivate(),Q.children.onOutletDeactivated()),Q.attachRef=null,Q.route=null)}activateChildRoutes(K,k,Q){const me=sr(k);K.children.forEach(Ne=>{this.activateRoutes(Ne,me[Ne.value.outlet],Q),this.forwardEvent(new Ir(Ne.value.snapshot))}),K.children.length&&this.forwardEvent(new Rn(K.value.snapshot))}activateRoutes(K,k,Q){const me=K.value,Ne=k?k.value:null;if(vo(me),me===Ne)if(me.component){const et=Q.getOrCreateContext(me.outlet);this.activateChildRoutes(K,k,et.children)}else this.activateChildRoutes(K,k,Q);else if(me.component){const et=Q.getOrCreateContext(me.outlet);if(this.routeReuseStrategy.shouldAttach(me.snapshot)){const At=this.routeReuseStrategy.retrieve(me.snapshot);this.routeReuseStrategy.store(me.snapshot,null),et.children.onOutletReAttached(At.contexts),et.attachRef=At.componentRef,et.route=At.route.value,et.outlet&&et.outlet.attach(At.componentRef,At.route.value),vo(At.route.value),this.activateChildRoutes(K,null,et.children)}else et.attachRef=null,et.route=me,et.outlet&&et.outlet.activateWith(me,et.injector),this.activateChildRoutes(K,null,et.children)}else this.activateChildRoutes(K,null,Q)}}class rt{path;route;constructor(K){this.path=K,this.route=this.path[this.path.length-1]}}class Mt{component;route;constructor(K,k){this.component=K,this.route=k}}function St(B,K,k){const Q=B._root;return W(Q,K?K._root:null,k,[Q.value])}function L(B,K){const k=Symbol(),Q=K.get(B,k);return Q===k?"function"!=typeof B||(0,u.muV)(B)?K.get(B):B:Q}function W(B,K,k,Q,me={canDeactivateChecks:[],canActivateChecks:[]}){const Ne=sr(K);
430return B.children.forEach(et=>{(function le(B,K,k,Q,me={canDeactivateChecks:[],canActivateChecks:[]}){const Ne=B.value,et=K?K.value:null,At=k?k.getContext(B.value.outlet):null;if(et&&Ne.routeConfig===et.routeConfig){const Jt=function ge(B,K,k){if("function"==typeof k)return k(B,K);switch(k){case"pathParamsChange":return!Ct(B.url,K.url);case"pathParamsOrQueryParamsChange":return!Ct(B.url,K.url)||!ut(B.queryParams,K.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Go(B,K)||!ut(B.queryParams,K.queryParams);default:return!Go(B,K)}}(et,Ne,Ne.routeConfig.runGuardsAndResolvers);Jt?me.canActivateChecks.push(new rt(Q)):(Ne.data=et.data,Ne._resolvedData=et._resolvedData),W(B,K,Ne.component?At?At.children:null:k,Q,me),Jt&&At&&At.outlet&&At.outlet.isActivated&&me.canDeactivateChecks.push(new Mt(At.outlet.component,et))}else et&&Le(K,At,me),me.canActivateChecks.push(new rt(Q)),W(B,null,Ne.component?At?At.children:null:k,Q,me)})(et,Ne[et.value.outlet],k,Q.concat([et.value]),me),delete Ne[et.value.outlet]}),Object.entries(Ne).forEach(([et,At])=>Le(At,k.getContext(et),me)),me}function Le(B,K,k){const Q=sr(B),me=B.value;Object.entries(Q).forEach(([Ne,et])=>{Le(et,me.component?K?K.children.getContext(Ne):null:K,k)}),k.canDeactivateChecks.push(new Mt(me.component&&K&&K.outlet&&K.outlet.isActivated?K.outlet.component:null,me))}function qe(B){return"function"==typeof B}function Cn(B){return B instanceof E.G||"EmptyError"===B?.name}const mn=Symbol("INITIAL_VALUE");function Pn(){return(0,J.n)(B=>(0,v.z)(B.map(K=>K.pipe((0,Y.s)(1),(0,re.Z)(mn)))).pipe((0,S.T)(K=>{for(const k of K)if(!0!==k){if(k===mn)return mn;if(!1===k||Kn(k))return k}return!0}),(0,G.p)(K=>K!==mn),(0,Y.s)(1)))}function Kn(B){return Qn(B)||B instanceof Ur}function lt(B){return(0,P.F)((0,z.M)(K=>{if("boolean"!=typeof K)throw Lo(0,K)}),(0,S.T)(K=>!0===K))}class er{segmentGroup;constructor(K){this.segmentGroup=K||null}}class io extends Error{urlTree;constructor(K){super(),this.urlTree=K}}function no(B){return(0,I.$)(new er(B))}function ko(B){return(0,I.$)(new u.buA(4e3,!1))}class li{urlSerializer;urlTree;constructor(K,k){this.urlSerializer=K,this.urlTree=k}lineralizeSegments(K,k){let Q=[],me=k.root;for(;;){if(Q=Q.concat(me.segments),0===me.numberOfChildren)return(0,g.of)(Q);if(me.numberOfChildren>1||!me.children[we])return ko();me=me.children[we]}}applyRedirectCommands(K,k,Q,me,Ne){return function Ei(B,K,k){if("string"==typeof B)return(0,g.of)(B);const Q=B,{queryParams:me,fragment:Ne,routeConfig:et,url:At,outlet:Jt,params:kn,data:Gr,title:_o}=K;return Ht((0,u.N4e)(k,()=>Q({params:kn,data:Gr,queryParams:me,fragment:Ne,routeConfig:et,url:At,outlet:Jt,title:_o})))}(k,me,Ne).pipe((0,S.T)(et=>{if(et instanceof Lt)throw new io(et);const At=this.applyRedirectCreateUrlTree(et,this.urlSerializer.parse(et),K,Q);if("/"===et[0])throw new io(At);return At}))}applyRedirectCreateUrlTree(K,k,Q,me){const Ne=this.createSegmentGroup(K,k.root,Q,me);return new Lt(Ne,this.createQueryParams(k.queryParams,this.urlTree.queryParams),k.fragment)}createQueryParams(K,k){const Q={};
430return Object.entries(K).forEach(([me,Ne])=>{if("string"==typeof Ne&&":"===Ne[0]){const At=Ne.substring(1);Q[me]=k[At]}else Q[me]=Ne}),Q}createSegmentGroup(K,k,Q,me){const Ne=this.createSegments(K,k.segments,Q,me);let et={};return Object.entries(k.children).forEach(([At,Jt])=>{et[At]=this.createSegmentGroup(K,Jt,Q,me)}),new vn(Ne,et)}createSegments(K,k,Q,me){return k.map(Ne=>":"===Ne.path[0]?this.findPosParam(K,Ne,me):this.findOrReturn(Ne,Q))}findPosParam(K,k,Q){const me=Q[k.path.substring(1)];if(!me)throw new u.buA(4001,!1);return me}findOrReturn(K,k){let Q=0;for(const me of k){if(me.path===K.path)return k.splice(Q),me;Q++}return K}}const jo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ti(B,K,k,Q,me){const Ne=Xo(B,K,k);return Ne.matched?(Q=function mr(B,K){return B.providers&&!B._injector&&(B._injector=(0,h.Ol2)(B.providers,K,`Route: ${B.path}`)),B._injector??K}(K,Q),function Sn(B,K,k,Q){const me=K.canMatch;if(!me||0===me.length)return(0,g.of)(!0);const Ne=me.map(et=>{const At=L(et,B);return Ht(function Dn(B){return B&&qe(B.canMatch)}
430(At)?At.canMatch(K,k):(0,u.N4e)(B,()=>At(K,k)))});return(0,g.of)(Ne).pipe(Pn(),lt())}(Q,K,k).pipe((0,S.T)(et=>!0===et?Ne:{...jo}))):(0,g.of)(Ne)}function Xo(B,K,k){if("**"===K.path)return function ui(B){return{matched:!0,parameters:B.length>0?tt(B).parameters:{},consumedSegments:B,remainingSegments:[],positionalParamSegments:{}}}(k);if(""===K.path)return"full"===K.pathMatch&&(B.hasChildren()||k.length>0)?{...jo}:{matched:!0,consumedSegments:[],remainingSegments:k,parameters:{},positionalParamSegments:{}};const me=(K.matcher||Et)(k,B,K);if(!me)return{...jo};const Ne={};Object.entries(me.posParams??{}).forEach(([At,Jt])=>{Ne[At]=Jt.path});const et=me.consumed.length>0?{...Ne,...me.consumed[me.consumed.length-1].parameters}:Ne;return{matched:!0,consumedSegments:me.consumed,remainingSegments:k.slice(me.consumed.length),parameters:et,positionalParamSegments:me.posParams??{}}}function ni(B,K,k,Q){return k.length>0&&function Ni(B,K,k){return k.some(Q=>di(B,K,Q)&&Ee(Q)!==we)}(B,k,Q)?{segmentGroup:new vn(K,Is(Q,new vn(k,B.children))),slicedSegments:[]}:0===k.length&&function Ps(B,K,k){return k.some(Q=>di(B,K,Q))}(B,k,Q)?{segmentGroup:new vn(B.segments,Li(B,k,Q,B.children)),slicedSegments:k}:{segmentGroup:new vn(B.segments,B.children),slicedSegments:k}}function Li(B,K,k,Q){const me={};for(const Ne of k)if(di(B,K,Ne)&&!Q[Ee(Ne)]){const et=new vn([],{});me[Ee(Ne)]=et}return{...Q,...me}}function Is(B,K){const k={};k[we]=K;for(const Q of B)if(""===Q.path&&Ee(Q)!==we){const me=new vn([],{});k[Ee(Q)]=me}return k}function di(B,K,k){return(!(B.hasChildren()||K.length>0)||"full"!==k.pathMatch)&&""===k.path}class Di{}class es{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(K,k,Q,me,Ne,et,At){this.injector=K,this.configLoader=k,this.rootComponentType=Q,this.config=me,this.urlTree=Ne,this.paramsInheritanceStrategy=et,this.urlSerializer=At,this.applyRedirects=new li(this.urlSerializer,this.urlTree)}noMatchError(K){return new u.buA(4002,`'${K.segmentGroup}'`)}recognize(){const K=ni(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(K).pipe((0,S.T)(({children:k,rootSnapshot:Q})=>{const me=new Wn(Q,k),Ne=new uo("",me),et=vr(Q,[],this.urlTree.queryParams,this.urlTree.fragment);return et.queryParams=this.urlTree.queryParams,Ne.url=this.urlSerializer.serialize(et),{state:Ne,tree:et}}))}match(K){const k=new lo([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),we,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,K,we,k).pipe((0,S.T)(Q=>({children:Q,rootSnapshot:k})),(0,ke.W)(Q=>{if(Q instanceof io)return this.urlTree=Q.urlTree,this.match(Q.urlTree.root);throw Q instanceof er?this.noMatchError(Q):Q}))}processSegmentGroup(K,k,Q,me,Ne){return 0===Q.segments.length&&Q.hasChildren()?this.processChildren(K,k,Q,Ne):this.processSegment(K,k,Q,Q.segments,me,!0,Ne).pipe((0,S.T)(et=>et instanceof Wn?[et]:[]))}processChildren(K,k,Q,me){const Ne=[];for(const et of Object.keys(Q.children))"primary"===et?Ne.unshift(et):Ne.push(et);return(0,D.H)(Ne).pipe((0,De.H)(et=>{const At=Q.children[et],Jt=function xe(B,K){const k=B.filter(Q=>Ee(Q)===K);return k.push(...B.filter(Q=>Ee(Q)!==K)),k}(k,et);return this.processSegmentGroup(K,Jt,At,et,me)}),function Qe(B,K){return(0,it.N)((0,Re.S)(B,K,arguments.length>=2,!0))}((et,At)=>(et.push(...At),et)),(0,Ze.U)(null),function X(B,K){const k=arguments.length>=2;return Q=>Q.pipe(B?(0,G.p)((me,Ne)=>B(me,Ne,Q)):ne.D,(0,Ye.o)(1),k?(0,Ze.U)(K):(0,Ue.v)(()=>new E.G))}(),(0,ce.Z)(et=>{if(null===et)return no(Q);const At=Yo(et);return function ts(B){B.sort((K,k)=>K.value.outlet===we?-1:k.value.outlet===we?1:K.value.outlet.localeCompare(k.value.outlet))}(At),(0,g.of)(At)}))}processSegment(K,k,Q,me,Ne,et,At){return(0,D.H)(k).pipe((0,De.H)(Jt=>this.processSegmentAgainstRoute(Jt._injector??K,k,Jt,Q,me,Ne,et,At).pipe((0,ke.W)(kn=>{if(kn instanceof er)return(0,g.of)(null);throw kn}))),(0,pe.$)(Jt=>!!Jt),(0,ke.W)(Jt=>{if(Cn(Jt))return function Ci(B,K,k){return 0===K.length&&!B.children[k]}(Q,me,Ne)?(0,g.of)(new Di):no(Q);throw Jt}))}processSegmentAgainstRoute(K,k,Q,me,Ne,et,At,Jt){return Ee(Q)===et||et!==we&&di(me,Ne,Q)?void 0===Q.redirectTo?this.matchSegmentAgainstRoute(K,me,Q,Ne,et,Jt):this.allowRedirects&&At?this.expandSegmentAgainstRouteUsingRedirect(K,me,k,Q,Ne,et,Jt):no(me):no(me)}expandSegmentAgainstRouteUsingRedirect(K,k,Q,me,Ne,et,At){const{matched:Jt,parameters:kn,consumedSegments:Gr,positionalParamSegments:_o,remainingSegments:si}=Xo(k,me,Ne);if(!Jt)return no(k);"string"==typeof me.redirectTo&&"/"===me.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const wi=new lo(Ne,kn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Hi(me),Ee(me),me.component??me._loadedComponent??null,me,Oi(me)),Ho=Nr(wi,At,this.paramsInheritanceStrategy);return wi.params=Object.freeze(Ho.params),wi.data=Object.freeze(Ho.data),this.applyRedirects.applyRedirectCommands(Gr,me.redirectTo,_o,wi,K).pipe((0,J.n)(Bi=>this.applyRedirects.lineralizeSegments(me,Bi)),(0,ce.Z)(Bi=>this.processSegment(K,Q,k,Bi.concat(si),et,!1,At)))}matchSegmentAgainstRoute(K,k,Q,me,Ne,et){const At=ti(k,Q,me,K);return"**"===Q.path&&(k.children={}),At.pipe((0,J.n)(Jt=>Jt.matched?this.getChildConfig(K=Q._injector??K,Q,me).pipe((0,J.n)(({routes:kn})=>{const Gr=Q._loadedInjector??K,{parameters:_o,consumedSegments:si,remainingSegments:wi}=Jt,Ho=new lo(si,_o,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Hi(Q),Ee(Q),Q.component??Q._loadedComponent??null,Q,Oi(Q)),zi=Nr(Ho,et,this.paramsInheritanceStrategy);Ho.params=Object.freeze(zi.params),Ho.data=Object.freeze(zi.data);const{segmentGroup:Bi,slicedSegments:Yi}=ni(k,si,wi,kn);if(0===Yi.length&&Bi.hasChildren())return this.processChildren(Gr,kn,Bi,Ho).pipe((0,S.T)(us=>new Wn(Ho,us)));if(0===kn.length&&0===Yi.length)return(0,g.of)(new Wn(Ho,[]));const Aa=Ee(Q)===Ne;return this.processSegment(Gr,kn,Bi,Yi,Aa?we:Ne,!0,Ho).pipe((0,S.T)(us=>new Wn(Ho,us instanceof Wn?[us]:[])))})):no(k)))}getChildConfig(K,k,Q){return k.children?(0,g.of)({routes:k.children,injector:K}):k.loadChildren?void 0!==k._loadedRoutes?(0,g.of)({routes:k._loadedRoutes,injector:k._loadedInjector}):function Me(B,K,k,Q){const me=K.canLoad;if(void 0===me||0===me.length)return(0,g.of)(!0);const Ne=me.map(et=>{const At=L(et,B);return Ht(function Tt(B){return B&&qe(B.canLoad)}(At)?At.canLoad(K,k):(0,u.N4e)(B,()=>At(K,k)))});return(0,g.of)(Ne).pipe(Pn(),lt())}(K,k,Q).pipe((0,ce.Z)(me=>me?this.configLoader.loadChildren(K,k).pipe((0,z.M)(Ne=>{k._loadedRoutes=Ne.routes,k._loadedInjector=Ne.injector})):function yi(){return(0,I.$)(No(!1,dn.GuardRejected))}
430())):(0,g.of)({routes:[],injector:K})}}function oi(B){const K=B.value.routeConfig;return K&&""===K.path}function Yo(B){const K=[],k=new Set;for(const Q of B){if(!oi(Q)){K.push(Q);continue}const me=K.find(Ne=>Q.value.routeConfig===Ne.value.routeConfig);void 0!==me?(me.children.push(...Q.children),k.add(me)):K.push(Q)}for(const Q of k){const me=Yo(Q.children);K.push(new Wn(Q.value,me))}return K.filter(Q=>!k.has(Q))}function Hi(B){return B.data||{}}function Oi(B){return B.resolve||{}}function hi(B){const K=B.children.map(k=>hi(k)).flat();return[B,...K]}function ii(B){return(0,J.n)(K=>{const k=B(K);return k?(0,D.H)(k).pipe((0,S.T)(()=>K)):(0,g.of)(K)})}let os=(()=>{class B{buildTitle(k){let Q,me=k.root;for(;void 0!==me;)Q=this.getResolvedTitleForRoute(me)??Q,me=me.children.find(Ne=>Ne.outlet===we);return Q}getResolvedTitleForRoute(k){return k.data[Be]}static \u0275fac=function(Q){return new(Q||B)};static \u0275prov=u.jDH({token:B,factory:()=>(0,u.WQX)(jr),providedIn:"root"})}return B})(),jr=(()=>{class B extends os{title;constructor(k){super(),this.title=k}updateTitle(k){const Q=this.buildTitle(k);void 0!==Q&&this.title.setTitle(Q)}static \u0275fac=function(Q){return new(Q||B)(u.KVO(Fe.hE))};static \u0275prov=u.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})();const Ki=new u.nKC("",{providedIn:"root",factory:()=>({})}),Ti=new u.nKC("");let fi=(()=>{class B{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,u.WQX)(h.Ql9);loadComponent(k,Q){if(this.componentLoaders.get(Q))return this.componentLoaders.get(Q);if(Q._loadedComponent)return(0,g.of)(Q._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(Q);const me=Ht((0,u.N4e)(k,()=>Q.loadComponent())).pipe((0,S.T)(Pi),(0,J.n)(xi),(0,z.M)(et=>{this.onLoadEndListener&&this.onLoadEndListener(Q),Q._loadedComponent=et}),(0,q.j)(()=>{this.componentLoaders.delete(Q)})),Ne=new j.G(me,()=>new w.B).pipe((0,Te.B)());return this.componentLoaders.set(Q,Ne),Ne}loadChildren(k,Q){if(this.childrenLoaders.get(Q))return this.childrenLoaders.get(Q);if(Q._loadedRoutes)return(0,g.of)({routes:Q._loadedRoutes,injector:Q._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Q);const Ne=function is(B,K,k,Q){return Ht((0,u.N4e)(k,()=>B.loadChildren())).pipe((0,S.T)(Pi),(0,J.n)(xi),(0,ce.Z)(me=>me instanceof h.PYt||Array.isArray(me)?(0,g.of)(me):(0,D.H)(K.compileModuleAsync(me))),(0,S.T)(me=>{Q&&Q(B);let Ne,et,At=!1;return Array.isArray(me)?(et=me,!0):(Ne=me.create(k).injector,et=Ne.get(Ti,[],{optional:!0,self:!0}).flat()),{routes:et.map(ei),injector:Ne}}))}(Q,this.compiler,k,this.onLoadEndListener).pipe((0,q.j)(()=>{this.childrenLoaders.delete(Q)})),et=new j.G(Ne,()=>new w.B).pipe((0,Te.B)());return this.childrenLoaders.set(Q,et),et}static \u0275fac=function(Q){return new(Q||B)};static \u0275prov=u.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})();function Pi(B){return function Ii(B){return B&&"object"==typeof B&&"default"in B}(B)?B.default:B}function xi(B){return(0,g.of)(B)}let Ai=(()=>{class B{static \u0275fac=function(Q){return new(Q||B)};static \u0275prov=u.jDH({token:B,factory:()=>(0,u.WQX)(Gi),providedIn:"root"})}return B})(),Gi=(()=>{class B{shouldProcessUrl(k){return!0}extract(k){return k}merge(k,Q){return k}static \u0275fac=function(Q){return new(Q||B)};static \u0275prov=u.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})();const ss=new u.nKC(""),as=new u.nKC("");function As(B,K,k){const Q=B.get(as),me=B.get(u.qQL);if(!me.startViewTransition||Q.skipNextTransition)return Q.skipNextTransition=!1,new Promise(kn=>setTimeout(kn));let Ne;const et=new Promise(kn=>{Ne=kn}),At=me.startViewTransition(()=>(Ne(),function ur(B){return new Promise(K=>{(0,h.mal)({read:()=>setTimeout(K)},{injector:B})})}(B)));At.ready.catch(kn=>{});const{onViewTransitionCreated:Jt}=Q;return Jt&&(0,u.N4e)(B,()=>Jt({transition:At,from:K,to:k})),et}const cs=new u.nKC("");let Qi=(()=>{class B{currentNavigation=(0,u.vPA)(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new w.B;
430transitionAbortWithErrorSubject=new w.B;configLoader=(0,u.WQX)(fi);environmentInjector=(0,u.WQX)(u.uvJ);destroyRef=(0,u.WQX)(u.abz);urlSerializer=(0,u.WQX)(Ut);rootContexts=(0,u.WQX)(tn);location=(0,u.WQX)(l.aZ);inputBindingEnabled=null!==(0,u.WQX)(Qo,{optional:!0});titleStrategy=(0,u.WQX)(os);options=(0,u.WQX)(Ki,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,u.WQX)(Ai);createViewTransition=(0,u.WQX)(ss,{optional:!0});navigationErrorHandler=(0,u.WQX)(cs,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,g.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=me=>this.events.next(new Zt(me)),this.configLoader.onLoadStartListener=me=>this.events.next(new xt(me)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(k){const Q=++this.navigationId;(0,T.O8)(()=>{this.transitions?.next({...k,extractedUrl:this.urlHandlingStrategy.extract(k.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:Q})})}setupNavigations(k){return this.transitions=new C.t(null),this.transitions.pipe((0,G.p)(Q=>null!==Q),(0,J.n)(Q=>{let me=!1;return(0,g.of)(Q).pipe((0,J.n)(Ne=>{if(this.navigationId>Q.id)return this.cancelNavigationTransition(Q,"",dn.SupersededByNewNavigation),x.w;this.currentTransition=Q,this.currentNavigation.set({id:Ne.id,initialUrl:Ne.rawUrl,extractedUrl:Ne.extractedUrl,targetBrowserUrl:"string"==typeof Ne.extras.browserUrl?this.urlSerializer.parse(Ne.extras.browserUrl):Ne.extras.browserUrl,trigger:Ne.source,extras:Ne.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null,abort:()=>Ne.abortController.abort()});const et=!k.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!et&&"reload"!==(Ne.extras.onSameUrlNavigation??k.onSameUrlNavigation))return this.events.next(new ir(Ne.id,this.urlSerializer.serialize(Ne.rawUrl),"",fn.IgnoredSameUrlNavigation)),Ne.resolve(!1),x.w;if(this.urlHandlingStrategy.shouldProcessUrl(Ne.rawUrl))return(0,g.of)(Ne).pipe((0,J.n)(Jt=>(this.events.next(new yt(Jt.id,this.urlSerializer.serialize(Jt.extractedUrl),Jt.source,Jt.restoredState)),Jt.id!==this.navigationId?x.w:Promise.resolve(Jt))),function $i(B,K,k,Q,me,Ne){return(0,ce.Z)(et=>function zo(B,K,k,Q,me,Ne,et="emptyOnly"){return new es(B,K,k,Q,me,et,Ne).recognize()}(B,K,k,Q,et.extractedUrl,me,Ne).pipe((0,S.T)(({state:At,tree:Jt})=>({...et,targetSnapshot:At,urlAfterRedirects:Jt}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,k.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,z.M)(Jt=>{Q.targetSnapshot=Jt.targetSnapshot,Q.urlAfterRedirects=Jt.urlAfterRedirects,this.currentNavigation.update(Gr=>(Gr.finalUrl=Jt.urlAfterRedirects,Gr));const kn=new dr(Jt.id,this.urlSerializer.serialize(Jt.extractedUrl),this.urlSerializer.serialize(Jt.urlAfterRedirects),Jt.targetSnapshot);this.events.next(kn)}));if(et&&this.urlHandlingStrategy.shouldProcessUrl(Ne.currentRawUrl)){const{id:Jt,extractedUrl:kn,source:Gr,restoredState:_o,extras:si}=Ne,wi=new yt(Jt,this.urlSerializer.serialize(kn),Gr,_o);this.events.next(wi);const Ho=Ar(this.rootComponentType).snapshot;return this.currentTransition=Q={...Ne,targetSnapshot:Ho,urlAfterRedirects:kn,extras:{...si,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.update(zi=>(zi.finalUrl=kn,zi)),(0,g.of)(Q)}return this.events.next(new ir(Ne.id,this.urlSerializer.serialize(Ne.extractedUrl),"",fn.IgnoredByUrlHandlingStrategy)),Ne.resolve(!1),x.w}),(0,z.M)(Ne=>{const et=new gr(Ne.id,this.urlSerializer.serialize(Ne.extractedUrl),this.urlSerializer.serialize(Ne.urlAfterRedirects),Ne.targetSnapshot);this.events.next(et)}),(0,S.T)(Ne=>(this.currentTransition=Q={...Ne,guards:St(Ne.targetSnapshot,Ne.currentSnapshot,this.rootContexts)},Q)),function Bn(B,K){return(0,ce.Z)(k=>{const{targetSnapshot:Q,currentSnapshot:me,guards:{canActivateChecks:Ne,canDeactivateChecks:et}}=k;return 0===et.length&&0===Ne.length?(0,g.of)({...k,guardsResult:!0}):function Zn(B,K,k,Q){return(0,D.H)(B).pipe((0,ce.Z)(me=>
430function V(B,K,k,Q,me){const Ne=K&&K.routeConfig?K.routeConfig.canDeactivate:null;if(!Ne||0===Ne.length)return(0,g.of)(!0);const et=Ne.map(At=>{const Jt=ft(K)??me,kn=L(At,Jt);return Ht(function on(B){return B&&qe(B.canDeactivate)}(kn)?kn.canDeactivate(B,K,k,Q):(0,u.N4e)(Jt,()=>kn(B,K,k,Q))).pipe((0,pe.$)())});return(0,g.of)(et).pipe(Pn())}(me.component,me.route,k,K,Q)),(0,pe.$)(me=>!0!==me,!0))}(et,Q,me,B).pipe((0,ce.Z)(At=>At&&function Pt(B){return"boolean"==typeof B}(At)?function yr(B,K,k,Q){return(0,D.H)(K).pipe((0,De.H)(me=>(0,M.x)(function fr(B,K){return null!==B&&K&&K(new xn(B)),(0,g.of)(!0)}(me.route.parent,Q),function br(B,K){return null!==B&&K&&K(new wn(B)),(0,g.of)(!0)}(me.route,Q),function se(B,K,k){const Q=K[K.length-1],Ne=K.slice(0,K.length-1).reverse().map(et=>function oe(B){const K=B.routeConfig?B.routeConfig.canActivateChild:null;return K&&0!==K.length?{node:B,guards:K}:null}(et)).filter(et=>null!==et).map(et=>(0,N.v)(()=>{const At=et.guards.map(Jt=>{const kn=ft(et.node)??k,Gr=L(Jt,kn);return Ht(function zt(B){return B&&qe(B.canActivateChild)}(Gr)?Gr.canActivateChild(Q,B):(0,u.N4e)(kn,()=>Gr(Q,B))).pipe((0,pe.$)())});return(0,g.of)(At).pipe(Pn())}));return(0,g.of)(Ne).pipe(Pn())}(B,me.path,k),function te(B,K,k){const Q=K.routeConfig?K.routeConfig.canActivate:null;if(!Q||0===Q.length)return(0,g.of)(!0);const me=Q.map(Ne=>(0,N.v)(()=>{const et=ft(K)??k,At=L(Ne,et);return Ht(function Gt(B){return B&&qe(B.canActivate)}(At)?At.canActivate(K,B):(0,u.N4e)(et,()=>At(K,B))).pipe((0,pe.$)())}));return(0,g.of)(me).pipe(Pn())}(B,me.route,k))),(0,pe.$)(me=>!0!==me,!0))}(Q,Ne,B,K):(0,g.of)(At)),(0,S.T)(At=>({...k,guardsResult:At})))})}(this.environmentInjector,Ne=>this.events.next(Ne)),(0,z.M)(Ne=>{if(Q.guardsResult=Ne.guardsResult,Ne.guardsResult&&"boolean"!=typeof Ne.guardsResult)throw Lo(0,Ne.guardsResult);const et=new Br(Ne.id,this.urlSerializer.serialize(Ne.extractedUrl),this.urlSerializer.serialize(Ne.urlAfterRedirects),Ne.targetSnapshot,!!Ne.guardsResult);this.events.next(et)}),(0,G.p)(Ne=>!!Ne.guardsResult||(this.cancelNavigationTransition(Ne,"",dn.GuardRejected),!1)),ii(Ne=>{if(0!==Ne.guards.canActivateChecks.length)return(0,g.of)(Ne).pipe((0,z.M)(et=>{const At=new st(et.id,this.urlSerializer.serialize(et.extractedUrl),this.urlSerializer.serialize(et.urlAfterRedirects),et.targetSnapshot);this.events.next(At)}),(0,J.n)(et=>{let At=!1;return(0,g.of)(et).pipe(function Mi(B,K){return(0,ce.Z)(k=>{const{targetSnapshot:Q,guards:{canActivateChecks:me}}=k;if(!me.length)return(0,g.of)(k);const Ne=new Set(me.map(Jt=>Jt.route)),et=new Set;for(const Jt of Ne)if(!et.has(Jt))for(const kn of hi(Jt))et.add(kn);let At=0;return(0,D.H)(et).pipe((0,De.H)(Jt=>Ne.has(Jt)?function Vo(B,K,k,Q){const me=B.routeConfig,Ne=B._resolve;return void 0!==me?.title&&!Zr(me)&&(Ne[Be]=me.title),(0,N.v)(()=>(B.data=Nr(B,B.parent,k).resolve,function ms(B,K,k,Q){const me=bt(B);if(0===me.length)return(0,g.of)({});const Ne={};return(0,D.H)(me).pipe((0,ce.Z)(et=>function rs(B,K,k,Q){const me=ft(K)??Q,Ne=L(B,me);return Ht(Ne.resolve?Ne.resolve(K,k):(0,u.N4e)(me,()=>Ne(K,k)))}(B[et],K,k,Q).pipe((0,pe.$)(),(0,z.M)(At=>{if(At instanceof Ur)throw Lo(new rn,At);Ne[et]=At}))),(0,Ye.o)(1),(0,S.T)(()=>Ne),(0,ke.W)(et=>Cn(et)?x.w:(0,I.$)(et)))}(Ne,B,K,Q).pipe((0,S.T)(et=>(B._resolvedData=et,B.data={...B.data,...et},null)))))}(Jt,Q,B,K):(Jt.data=Nr(Jt,Jt.parent,B).resolve,(0,g.of)(void 0))),(0,z.M)(()=>At++),(0,Ye.o)(1),(0,ce.Z)(Jt=>At===et.size?(0,g.of)(k):x.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,z.M)({next:()=>At=!0,complete:()=>{At||this.cancelNavigationTransition(et,"",dn.NoDataFromResolver)}}))}),(0,z.M)(et=>{const At=new Dt(et.id,this.urlSerializer.serialize(et.extractedUrl),this.urlSerializer.serialize(et.urlAfterRedirects),et.targetSnapshot);this.events.next(At)}))}),ii(Ne=>{const et=At=>{const Jt=[];if(At.routeConfig?.loadComponent){const kn=ft(At)??this.environmentInjector;Jt.push(this.configLoader.loadComponent(kn,At.routeConfig).pipe((0,z.M)(Gr=>{At.component=Gr}),(0,S.T)(()=>{})))}for(const kn of At.children)Jt.push(...et(kn));return Jt};return(0,v.z)(et(Ne.targetSnapshot.root)).pipe((0,Ze.U)(null),(0,Y.s)(1))}),ii(()=>this.afterPreactivation()),(0,J.n)(()=>{const{currentSnapshot:Ne,targetSnapshot:et}=Q,At=this.createViewTransition?.(this.environmentInjector,Ne.root,et.root);return At?(0,D.H)(At).pipe((0,S.T)(()=>Q)):(0,g.of)(Q)}),(0,S.T)(Ne=>{const et=function ai(B,K,k){const Q=Mo(B,K._root,k?k._root:void 0);return new Jr(Q,K)}(k.routeReuseStrategy,Ne.targetSnapshot,Ne.currentRouterState);return this.currentTransition=Q={...Ne,targetRouterState:et}
430,this.currentNavigation.update(At=>(At.targetRouterState=et,At)),Q}),(0,z.M)(()=>{this.events.next(new Tr)}),((B,K,k,Q)=>(0,S.T)(me=>(new Se(K,me.targetRouterState,me.currentRouterState,k,Q).activate(B),me)))(this.rootContexts,k.routeReuseStrategy,Ne=>this.events.next(Ne),this.inputBindingEnabled),(0,Y.s)(1),(0,je.Q)(new H.c(Ne=>{const et=Q.abortController.signal,At=()=>Ne.next();return et.addEventListener("abort",At),()=>et.removeEventListener("abort",At)}).pipe((0,G.p)(()=>!me&&!Q.targetRouterState),(0,z.M)(()=>{this.cancelNavigationTransition(Q,Q.abortController.signal.reason+"",dn.Aborted)}))),(0,z.M)({next:Ne=>{me=!0,this.lastSuccessfulNavigation=(0,T.O8)(this.currentNavigation),this.events.next(new It(Ne.id,this.urlSerializer.serialize(Ne.extractedUrl),this.urlSerializer.serialize(Ne.urlAfterRedirects))),this.titleStrategy?.updateTitle(Ne.targetRouterState.snapshot),Ne.resolve(!0)},complete:()=>{me=!0}}),(0,je.Q)(this.transitionAbortWithErrorSubject.pipe((0,z.M)(Ne=>{throw Ne}))),(0,q.j)(()=>{me||this.cancelNavigationTransition(Q,"",dn.SupersededByNewNavigation),this.currentTransition?.id===Q.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),(0,ke.W)(Ne=>{if(this.destroyed)return Q.resolve(!1),x.w;if(me=!0,Ao(Ne))this.events.next(new gn(Q.id,this.urlSerializer.serialize(Q.extractedUrl),Ne.message,Ne.cancellationCode)),function ci(B){return Ao(B)&&Qn(B.url)}(Ne)?this.events.next(new Lr(Ne.url,Ne.navigationBehaviorOptions)):Q.resolve(!1);else{const et=new rr(Q.id,this.urlSerializer.serialize(Q.extractedUrl),Ne,Q.targetSnapshot??void 0);try{const At=(0,u.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(et));if(!(At instanceof Ur))throw this.events.next(et),Ne;{const{message:Jt,cancellationCode:kn}=Lo(0,At);this.events.next(new gn(Q.id,this.urlSerializer.serialize(Q.extractedUrl),Jt,kn)),this.events.next(new Lr(At.redirectTo,At.navigationBehaviorOptions))}}catch(At){this.options.resolveNavigationPromiseOnError?Q.resolve(!1):Q.reject(At)}}return x.w}))}))}cancelNavigationTransition(k,Q,me){const Ne=new gn(k.id,this.urlSerializer.serialize(k.extractedUrl),Q,me);this.events.next(Ne),k.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const k=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),Q=(0,T.O8)(this.currentNavigation),me=Q?.targetBrowserUrl??Q?.extractedUrl;return k.toString()!==me?.toString()&&!Q?.extras.skipLocationChange}static \u0275fac=function(Q){return new(Q||B)};static \u0275prov=u.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})();function pi(B){return B!==p}let bs=(()=>{class B{static \u0275fac=function(Q){return new(Q||B)};static \u0275prov=u.jDH({token:B,factory:()=>(0,u.WQX)(Pa),providedIn:"root"})}return B})();class ws{shouldDetach(K){return!1}store(K,k){}shouldAttach(K){return!1}retrieve(K){return null}shouldReuseRoute(K,k){return K.routeConfig===k.routeConfig}}let Pa=(()=>{class B extends ws{static \u0275fac=(()=>{let k;return function(me){return(k||(k=h.xGo(B)))(me||B)}})();static \u0275prov=u.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})(),ls=(()=>{class B{urlSerializer=(0,u.WQX)(Ut);options=(0,u.WQX)(Ki,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,u.WQX)(l.aZ);urlHandlingStrategy=(0,u.WQX)(Ai);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Lt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:k,initialUrl:Q,targetBrowserUrl:me}){const Ne=void 0!==k?this.urlHandlingStrategy.merge(k,Q):Q,et=me??Ne;return et instanceof Lt?this.urlSerializer.serialize(et):et}commitTransition({targetRouterState:k,finalUrl:Q,initialUrl:me}){Q&&k?(this.currentUrlTree=Q,this.rawUrlTree=this.urlHandlingStrategy.merge(Q,me),this.routerState=k):this.rawUrlTree=me}routerState=Ar(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:k}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,k??this.rawUrlTree)}static \u0275fac=function(Q){return new(Q||B)};static \u0275prov=u.jDH({token:B,factory:()=>(0,u.WQX)(Bs),providedIn:"root"})}return B})(),Bs=(()=>{class B extends ls{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(k){return this.location.subscribe(Q=>{"popstate"===Q.type&&setTimeout(()=>{k(Q.url,Q.state,"popstate")})})}handleRouterEvent(k,Q){k instanceof yt?this.updateStateMemento():k instanceof ir?this.commitTransition(Q):k instanceof dr?"eager"===this.urlUpdateStrategy&&(Q.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(Q),Q)):k instanceof Tr?
430(this.commitTransition(Q),"deferred"===this.urlUpdateStrategy&&!Q.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(Q),Q)):k instanceof gn&&k.code!==dn.SupersededByNewNavigation&&k.code!==dn.Redirect?this.restoreHistory(Q):k instanceof rr?this.restoreHistory(Q,!0):k instanceof It&&(this.lastSuccessfulId=k.id,this.currentPageId=this.browserPageId)}setBrowserUrl(k,{extras:Q,id:me}){const{replaceUrl:Ne,state:et}=Q;if(this.location.isCurrentPathEqualTo(k)||Ne){const At=this.browserPageId,Jt={...et,...this.generateNgRouterState(me,At)};this.location.replaceState(k,"",Jt)}else{const At={...et,...this.generateNgRouterState(me,this.browserPageId+1)};this.location.go(k,"",At)}}restoreHistory(k,Q=!1){if("computed"===this.canceledNavigationResolution){const Ne=this.currentPageId-this.browserPageId;0!==Ne?this.location.historyGo(Ne):this.getCurrentUrlTree()===k.finalUrl&&0===Ne&&(this.resetInternalState(k),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Q&&this.resetInternalState(k),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(k,Q){return"computed"===this.canceledNavigationResolution?{navigationId:k,\u0275routerPageId:Q}:{navigationId:k}}static \u0275fac=(()=>{let k;return function(me){return(k||(k=h.xGo(B)))(me||B)}})();static \u0275prov=u.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})();function Us(B,K){B.events.pipe((0,G.p)(k=>k instanceof It||k instanceof gn||k instanceof rr||k instanceof ir),(0,S.T)(k=>
430k instanceof It||k instanceof ir?0:k instanceof gn&&(k.code===dn.Redirect||k.code===dn.SupersededByNewNavigation)?2:1),(0,G.p)(k=>2!==k),(0,Y.s)(1)).subscribe(()=>{K()})}const _s={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Fs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let vs=(()=>{class B{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,u.WQX)(h.C7A);stateManager=(0,u.WQX)(ls);options=(0,u.WQX)(Ki,{optional:!0})||{};pendingTasks=(0,u.WQX)(u.rev);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,u.WQX)(Qi);urlSerializer=(0,u.WQX)(Ut);location=(0,u.WQX)(l.aZ);urlHandlingStrategy=(0,u.WQX)(Ai);injector=(0,u.WQX)(u.uvJ);_events=new w.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,u.WQX)(bs);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,u.WQX)(Ti,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,u.WQX)(Qo,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:k=>{this.console.warn(k)}}),this.subscribeToNavigationEvents()}eventsSubscription=new ae.yU;subscribeToNavigationEvents(){const k=this.navigationTransitions.events.subscribe(Q=>{try{const me=this.navigationTransitions.currentTransition,Ne=(0,T.O8)(this.navigationTransitions.currentNavigation);if(null!==me&&null!==Ne)if(this.stateManager.handleRouterEvent(Q,Ne),Q instanceof gn&&Q.code!==dn.Redirect&&Q.code!==dn.SupersededByNewNavigation)this.navigated=!0;else if(Q instanceof It)this.navigated=!0;else if(Q instanceof Lr){const et=Q.navigationBehaviorOptions,At=this.urlHandlingStrategy.merge(Q.url,me.currentRawUrl),Jt={browserUrl:me.extras.browserUrl,info:me.extras.info,skipLocationChange:me.extras.skipLocationChange,replaceUrl:me.extras.replaceUrl||"eager"===this.urlUpdateStrategy||pi(me.source),...et};this.scheduleNavigation(At,p,null,Jt,{resolve:me.resolve,reject:me.reject,promise:me.promise})}(function eo(B){return!(B instanceof Tr||B instanceof Lr)})(Q)&&this._events.next(Q)}catch(me){this.navigationTransitions.transitionAbortWithErrorSubject.next(me)}});this.eventsSubscription.add(k)}resetRootComponentType(k){this.routerState.root.component=k,this.navigationTransitions.rootComponentType=k}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),p,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((k,Q,me)=>{this.navigateToSyncWithBrowser(k,me,Q)})}navigateToSyncWithBrowser(k,Q,me){const Ne={replaceUrl:!0},et=me?.navigationId?me:null;if(me){const Jt={...me};delete Jt.navigationId,delete Jt.\u0275routerPageId,0!==Object.keys(Jt).length&&(Ne.state=Jt)}const At=this.parseUrl(k);this.scheduleNavigation(At,Q,et,Ne).catch(Jt=>{this.disposed||this.injector.get(u.ZTf)(Jt)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return(0,T.O8)(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(k){this.config=k.map(ei),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(k,Q={}){const{relativeTo:me,queryParams:Ne,fragment:et,queryParamsHandling:At,preserveFragment:Jt}=Q,kn=Jt?this.currentUrlTree.fragment:et;let _o,Gr=null;switch(At??this.options.defaultQueryParamsHandling){case"merge":Gr={...this.currentUrlTree.queryParams,...Ne};break;case"preserve":Gr=this.currentUrlTree.queryParams;break;default:Gr=Ne||null}null!==Gr&&(Gr=this.removeEmptyProps(Gr));try{_o=qn(me?me.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof k[0]||"/"!==k[0][0])&&(k=[]),_o=this.currentUrlTree.root}return cr(_o,k,Gr,kn??null)}navigateByUrl(k,Q={skipLocationChange:!1}){const me=Qn(k)?k:this.parseUrl(k),Ne=this.urlHandlingStrategy.merge(me,this.rawUrlTree);return this.scheduleNavigation(Ne,p,null,Q)}navigate(k,Q={skipLocationChange:!1}){return function Xi(B){for(let K=0;K<B.length;K++)if(null==B[K])throw new u.buA(4008,!1)}(k),this.navigateByUrl(this.createUrlTree(k,Q),Q)}serializeUrl(k){return this.urlSerializer.serialize(k)}parseUrl(k){try{return this.urlSerializer.parse(k)}catch{return this.console.warn((0,u.OsK)(4018,!1)),this.urlSerializer.parse("/")}}isActive(k,Q){let me;if(me=!0===Q?{..._s}:!1===Q?{...Fs}:Q,Qn(k))return pt(this.currentUrlTree,k,me);const Ne=this.parseUrl(k);return pt(this.currentUrlTree,Ne,me)}removeEmptyProps(k){return Object.entries(k).reduce((Q,[me,Ne])=>(null!=Ne&&(Q[me]=Ne),Q),{})}scheduleNavigation(k,Q,me,Ne,et){if(this.disposed)return Promise.resolve(!1);let At,Jt,kn;et?(At=et.resolve,Jt=et.reject,kn=et.promise):kn=new Promise((_o,si)=>{At=_o,Jt=si});const Gr=this.pendingTasks.add();return Us(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Gr))}),this.navigationTransitions.handleNavigationRequest({source:Q,restoredState:me,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:k,extras:Ne,resolve:At,reject:Jt,promise:kn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),kn.catch(_o=>Promise.reject(_o))}static \u0275fac=function(Q){return new(Q||B)};static \u0275prov=u.jDH({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},73606(ye,A,n){n.d(A,{Ii:()=>Xe,Wk:()=>re,Zy:()=>Ot,iI:()=>mt,lG:()=>ze,lh:()=>Ue,oH:()=>Fe});var g=n(56207),C=n(25293),v=n(39191),E=n(9042),M=n(96623),N=n(17988),P=n(47606),I=n(45873),x=n(61130),j=n(81502),w=n(73496),H=n(13901),ae=n(75214),S=n(61856),J=n(9041),Y=n(64752);let re=(()=>{class Ct{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=(0,N.vPA)(null);get href(){return(0,I.O8)(this.reactiveHref)}set href(Ut){this.reactiveHref.set(Ut)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;
430isAnchorElement;subscription;onChanges=new j.B;applicationErrorHandler=(0,N.WQX)(N.ZTf);options=(0,N.WQX)(x.J_,{optional:!0});constructor(Ut,rn,In,An,Xn,Fr){this.router=Ut,this.route=rn,this.tabIndexAttribute=In,this.renderer=An,this.el=Xn,this.locationStrategy=Fr,this.reactiveHref.set((0,N.WQX)(new M.ES_("href"),{optional:!0}));const Pr=Xn.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Pr||"area"===Pr||!("object"!=typeof customElements||!customElements.get(Pr)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(void 0!==this.subscription||!this.isAnchorElement)return;let Ut=this.preserveFragment;const rn=In=>"merge"===In||"preserve"===In;Ut||=rn(this.queryParamsHandling),Ut||=!this.queryParamsHandling&&!rn(this.options?.defaultQueryParamsHandling),Ut&&(this.subscription=this.router.events.subscribe(In=>{In instanceof x.wF&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(Ut){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Ut)}ngOnChanges(Ut){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(Ut){null==Ut?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=(0,x.wO)(Ut)||Array.isArray(Ut)?Ut:[Ut],this.setTabIndexIfNotOnNativeEl("0"))}onClick(Ut,rn,In,An,Xn){const Fr=this.urlTree;if(null===Fr||this.isAnchorElement&&(0!==Ut||rn||In||An||Xn||"string"==typeof this.target&&"_self"!=this.target))return!0;const Pr={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(Fr,Pr)?.catch(Dr=>{this.applicationErrorHandler(Dr)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const Ut=this.urlTree;this.reactiveHref.set(null!==Ut&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(Ut))??"":null)}applyAttributeValue(Ut,rn){const In=this.renderer,An=this.el.nativeElement;null!==rn?In.setAttribute(An,Ut,rn):In.removeAttribute(An,Ut)}get urlTree(){return null===this.routerLinkInput?null:(0,x.wO)(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(rn){return new(rn||Ct)(P.rXU(x.Ix),P.rXU(x.nX),P.kS0("tabindex"),P.rXU(P.sFG),P.rXU(P.aKT),P.rXU(C.hb))};static \u0275dir=P.FsC({type:Ct,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(rn,In){1&rn&&P.bIt("click",function(Xn){return In.onClick(Xn.button,Xn.ctrlKey,Xn.shiftKey,Xn.altKey,Xn.metaKey)}),2&rn&&P.BMQ("href",In.reactiveHref(),P.n$t)("target",In.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",M.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",M.L39],replaceUrl:[2,"replaceUrl","replaceUrl",M.L39],routerLink:"routerLink"},features:[P.OA$]})}return Ct})();class pe{}let ke=(()=>{class Ct{router;injector;preloadingStrategy;loader;subscription;constructor(Ut,rn,In,An){this.router=Ut,this.injector=rn,this.preloadingStrategy=In,this.loader=An}setUpPreloading(){this.subscription=this.router.events.pipe((0,S.p)(Ut=>Ut instanceof x.wF),(0,ae.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Ut,rn){const In=[];for(const An of rn){An.providers&&!An._injector&&(An._injector=(0,P.Ol2)(An.providers,Ut,`Route: ${An.path}`));const Xn=An._injector??Ut,Fr=An._loadedInjector??Xn;(An.loadChildren&&!An._loadedRoutes&&void 0===An.canLoad||An.loadComponent&&!An._loadedComponent)&&In.push(this.preloadConfig(Xn,An)),(An.children||An._loadedRoutes)&&In.push(this.processRoutes(Fr,An.children??An._loadedRoutes))}return(0,w.H)(In).pipe((0,J.U)())}preloadConfig(Ut,rn){return this.preloadingStrategy.preload(rn,()=>{let In;In=rn.loadChildren&&void 0===rn.canLoad?this.loader.loadChildren(Ut,rn):(0,H.of)(null);const An=In.pipe((0,Y.Z)(Xn=>null===Xn?(0,H.of)(void 0):(rn._loadedRoutes=Xn.routes,rn._loadedInjector=Xn.injector,this.processRoutes(Xn.injector??Ut,Xn.routes))));if(rn.loadComponent&&!rn._loadedComponent){const Xn=this.loader.loadComponent(Ut,rn);return(0,w.H)([An,Xn]).pipe((0,J.U)())}return An})}static \u0275fac=function(rn){return new(rn||Ct)(N.KVO(x.Ix),N.KVO(N.uvJ),N.KVO(pe),N.KVO(x.D$))};static \u0275prov=N.jDH({token:Ct,factory:Ct.\u0275fac,providedIn:"root"})}return Ct})();const it=new N.nKC("");let Re=(()=>{class Ct{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=x.wU;restoredId=0;store={};constructor(Ut,rn,In,An,Xn={}
430){this.urlSerializer=Ut,this.transitions=rn,this.viewportScroller=In,this.zone=An,this.options=Xn,Xn.scrollPositionRestoration||="disabled",Xn.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(Ut=>{Ut instanceof x.Z?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Ut.navigationTrigger,this.restoredId=Ut.restoredState?Ut.restoredState.navigationId:0):Ut instanceof x.wF?(this.lastId=Ut.id,this.scheduleScrollEvent(Ut,this.urlSerializer.parse(Ut.urlAfterRedirects).fragment)):Ut instanceof x.lW&&Ut.code===x.mo.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Ut,this.urlSerializer.parse(Ut.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Ut=>{if(!(Ut instanceof x.OY))return;const rn={behavior:"instant"};Ut.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0],rn):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Ut.position,rn):Ut.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Ut.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(Ut,rn){var In=this;this.zone.runOutsideAngular((0,g.A)(function*(){yield new Promise(An=>{setTimeout(An),typeof requestAnimationFrame<"u"&&requestAnimationFrame(An)}),In.zone.run(()=>{In.transitions.events.next(new x.OY(Ut,"popstate"===In.lastSource?In.store[In.restoredId]:null,rn))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(rn){P.QTQ()};static \u0275prov=N.jDH({token:Ct,factory:Ct.\u0275fac})}return Ct})();function Ue(Ct,...Mn){return(0,N.EmA)([{provide:x.bw,multi:!0,useValue:Ct},[],{provide:x.nX,useFactory:ne,deps:[x.Ix]},{provide:P.iLQ,multi:!0,useFactory:we},Mn.map(Ut=>Ut.\u0275providers)])}function ne(Ct){return Ct.routerState.root}function X(Ct,Mn){return{\u0275kind:Ct,\u0275providers:Mn}}function Fe(Ct={}){return X(4,[{provide:it,useFactory:()=>{const Ut=(0,N.WQX)(v.Xr),rn=(0,N.WQX)(P.SKi),In=(0,N.WQX)(x.J2),An=(0,N.WQX)(x.Sd);return new Re(An,In,Ut,rn,Ct)}}])}function we(){const Ct=(0,N.WQX)(N.zZn);return Mn=>{const Ut=Ct.get(P.o8S);if(Mn!==Ut.components[0])return;const rn=Ct.get(x.Ix),In=Ct.get(Be);1===Ct.get(at)&&rn.initialNavigation(),Ct.get(ut,null,{optional:!0})?.setUpPreloading(),Ct.get(it,null,{optional:!0})?.init(),rn.resetRootComponentType(Ut.componentTypes[0]),In.closed||(In.next(),In.complete(),In.unsubscribe())}}const Be=new N.nKC("",{factory:()=>new j.B}),at=new N.nKC("",{providedIn:"root",factory:()=>1});function Ot(){return X(2,[{provide:P.tvf,useValue:!0},{provide:at,useValue:0},(0,P.phd)(()=>{const Mn=(0,N.WQX)(N.zZn);return Mn.get(C.hj,Promise.resolve()).then(()=>new Promise(rn=>{const In=Mn.get(x.Ix),An=Mn.get(Be);(0,x.gk)(In,()=>{rn(!0)}),Mn.get(x.J2).afterPreactivation=()=>(rn(!0),An.closed?(0,H.of)(void 0):An),In.initialNavigation()}))})])}const ut=new N.nKC("");function bt(Ct){return X(0,[{provide:ut,useExisting:ke},{provide:pe,useExisting:Ct}])}function Xe(Ct){return X(5,[{provide:x.J_,useValue:Ct}])}function ze(){return X(8,[x.tD,{provide:x.c1,useExisting:x.tD}])}function vt(Ct){return(0,P._jY)("NgRouterViewTransitions"),X(9,[{provide:x.Pu,useValue:x.Lg},{provide:x.bK,useValue:{skipNextTransition:!!Ct?.skipInitialTransition,...Ct}}])}const s=[C.aZ,{provide:x.Sd,useClass:x.nU},x.Ix,x.Zp,{provide:x.nX,useFactory:ne,deps:[x.Ix]},x.D$,[]];let mt=(()=>{class Ct{constructor(){}static forRoot(Ut,rn){return{ngModule:Ct,providers:[s,[],{provide:x.bw,multi:!0,useValue:Ut},[],rn?.errorHandler?{provide:x.XR,useValue:rn.errorHandler}:[],{provide:x.J_,useValue:rn||{}},rn?.useHash?{provide:C.hb,useClass:E.fw}:{provide:C.hb,useClass:C.Sm},{provide:it,useFactory:()=>{const Ct=(0,N.WQX)(v.Xr),Mn=(0,N.WQX)(P.SKi),Ut=(0,N.WQX)(x.J_),rn=(0,N.WQX)(x.J2),In=(0,N.WQX)(x.Sd);return Ut.scrollOffset&&Ct.setOffset(Ut.scrollOffset),new Re(In,rn,Ct,Mn,Ut)}},rn?.preloadingStrategy?bt(rn.preloadingStrategy).\u0275providers:[],rn?.initialNavigation?vn(rn):[],rn?.bindToComponentInputs?ze().\u0275providers:[],rn?.enableViewTransitions?vt().\u0275providers:[],[{provide:wt,useFactory:we},{provide:P.iLQ,multi:!0,useExisting:wt}]]}}static forChild(Ut){return{ngModule:Ct,providers:[{provide:x.bw,multi:!0,useValue:Ut}]}}static \u0275fac=function(rn){return new(rn||Ct)};static \u0275mod=P.$C({type:Ct});static \u0275inj=N.G2t({})}return Ct})();
430function vn(Ct){return["disabled"===Ct.initialNavigation?X(3,[(0,P.phd)(()=>{(0,N.WQX)(x.Ix).setUpLocationChangeListener()}),{provide:at,useValue:2}]).\u0275providers:[],"enabledBlocking"===Ct.initialNavigation?Ot().\u0275providers:[]]}const wt=new N.nKC("")},29491(ye,A,n){n.d(A,{K:()=>h});var u=n(91009);function l(c){return c.filter(T=>T).map(T=>T.message||"Error message not found.").join("\n")}let h=(()=>{class c extends Error{static is(o){return(0,u.t)(o,"CombinedGraphQLErrors")}static formatMessage=l;errors;data;extensions;constructor(o,D=o.errors||[]){super(c.formatMessage(D,{result:o,defaultFormatMessage:l})),this.errors=D,this.data=o.data,this.extensions=o.extensions,this.name="CombinedGraphQLErrors",(0,u.w)(this),Object.setPrototypeOf(this,c.prototype)}}return c})()},86987(ye,A,n){n.d(A,{K$:()=>o,uR:()=>D,$b:()=>g});var u=n(91009);function l(C){return C.map(v=>v.message||"Error message not found.").join("\n")}let h=(()=>{class C extends Error{static is(E){return(0,u.t)(E,"CombinedProtocolErrors")}static formatMessage=l;errors;constructor(E){super(C.formatMessage(E,{defaultFormatMessage:l})),this.name="CombinedProtocolErrors",this.errors=E,(0,u.w)(this),Object.setPrototypeOf(this,C.prototype)}}return C})();class T extends Error{static is(v){return(0,u.t)(v,"UnconventionalError")}constructor(v){super("An error of unexpected shape occurred.",{cause:v}),this.name="UnconventionalError",(0,u.w)(this),Object.setPrototypeOf(this,T.prototype)}}const o=Symbol();function D(C){return"extensions"in C&&h.is(C.extensions[o])}function g(C){return function c(C){return null!==C&&"object"==typeof C&&"string"==typeof C.message&&"string"==typeof C.name&&("string"==typeof C.stack||typeof C.stack>"u")}(C)?C:"string"==typeof C?new Error(C,{cause:C}):new T(C)}},91009(ye,A,n){function u(h,c){return"object"==typeof h&&null!==h&&h[Symbol.for("apollo.error")]===c}function l(h){Object.defineProperty(h,Symbol.for("apollo.error"),{value:h.name,enumerable:!1,writable:!1,configurable:!1})}n.d(A,{t:()=>u,w:()=>l})},96410(ye,A,n){n.d(A,{C:()=>D});var u=n(90523),l=n(20253),h=n(13179),T=n(35506),o=n(25406);class D{static empty(){return new D(()=>u.w)}static from(C){if(0===C.length)return D.empty();const[v,...E]=C;return v.concat(...E)}static split(C,v,E=new D((M,N)=>N(M))){const M=new D((N,P)=>{const I=C(N);return T.g&&"boolean"!=typeof I&&T.g&&o.V1.warn(61,I),I?v.request(N,P):E.request(N,P)});return Object.assign(M,{left:v,right:E})}static execute(C,v,E){return C.request(function c(g,{client:C}){const v={query:g.query,variables:g.variables||{},extensions:g.extensions||{},operationName:(0,l.n)(g.query),operationType:(0,h.V)(g.query).operation};let E={...g.context};const N=()=>Object.freeze({...E});return Object.defineProperty(v,"setContext",{enumerable:!1,value:P=>{E="function"==typeof P?{...E,...P(N())}:{...E,...P}}}),Object.defineProperty(v,"getContext",{enumerable:!1,value:N}),Object.defineProperty(v,"client",{enumerable:!1,value:C}),v}(v,E),()=>(T.g&&T.g&&o.V1.warn(62),u.w))}static concat(...C){return D.from(C)}constructor(C){C&&(this.request=C)}split(C,v,E){return this.concat(D.split(C,v,E))}concat(...C){return 0===C.length?this:C.reduce(this.combine.bind(this),this)}combine(C,v){const E=new D((M,N)=>C.request(M,P=>v.request(P,N)));return Object.assign(E,{left:C,right:v})}request(C,v){throw(0,o.vA)(63)}left;right}},90252(ye,A,n){n.d(A,{s:()=>o,y:()=>T});var u=n(6417),l=n(11436),h=n(35506),c=n(25406);const T=new l.DX;function o(D){const g=D.directives?.find(({name:v})=>"unmask"===v.value);if(!g)return"mask";const C=g.arguments?.find(({name:v})=>"mode"===v.value);return h.g&&C&&(C.value.kind===u.b.VARIABLE?h.g&&c.V1.warn(44):C.value.kind!==u.b.STRING?h.g&&c.V1.warn(45):"migrate"!==C.value.value&&h.g&&c.V1.warn(46,C.value.value)),C&&"value"in C.value&&"migrate"===C.value.value?"migrate":"unmask"}},43841(ye,A,n){n.d(A,{v:()=>h});var u=n(15926);const l=Symbol.for("apollo.cacheSize"),h={...u.A[l]}},35506(ye,A,n){n.d(A,{g:()=>u});const u=!1},29856(ye,A,n){n.d(A,{c:()=>g});var u=n(71069),l=n(51602),h=n(11436),c=n(55106),T=n(25406),o=n(43841);function D(C){return C}class g{transform;cached;resultCache=new WeakSet;getCacheKey(v){return[v]}static identity(){return new g(D,{cache:!1})}
430static split(v,E,M=g.identity()){return Object.assign(new g(N=>(v(N)?E:M).transformDocument(N),{cache:!1}),{left:E,right:M})}constructor(v,E={}){this.transform=v,E.getCacheKey&&(this.getCacheKey=E.getCacheKey),this.cached=!1!==E.cache,this.resetCache()}resetCache(){if(this.cached){const v=new l.b;this.performWork=(0,h.LV)(g.prototype.performWork.bind(this),{makeCacheKey:E=>{const M=this.getCacheKey(E);if(M)return(0,T.V1)(Array.isArray(M),20),v.lookupArray(M)},max:o.v["documentTransform.cache"],cache:u.l})}}performWork(v){return(0,c.s)(v),this.transform(v)}transformDocument(v){if(this.resultCache.has(v))return v;const E=this.performWork(v);return this.resultCache.add(E),E}concat(v){return Object.assign(new g(E=>v.transformDocument(this.transformDocument(E)),{cache:!1}),{left:this,right:v})}left;right}},64152(ye,A,n){n.d(A,{y:()=>D});var u=n(27027),l=n(35506),h=n(19048),c=n(39084),T=n(43841);let o;const D=Object.assign(g=>{let C=o.get(g);return C||(C=(0,u.y)(g),o.set(g,C)),C},{reset(){o=new c.A(T.v.print||2e3)}});D.reset(),l.g&&(0,h.D_)("print",()=>o?o.size:0)},39084(ye,A,n){n.d(A,{A:()=>T,V:()=>o});var u=n(29550),l=n(71069);const h=new WeakSet;function c(D){D.size<=(D.max||-1)||h.has(D)||(h.add(D),setTimeout(()=>{D.clean(),h.delete(D)},100))}const T=function(D,g){const C=new l.l(D,g);return C.set=function(v,E){const M=l.l.prototype.set.call(this,v,E);return c(this),M},C},o=function(D,g){const C=new u.C(D,g);return C.set=function(v,E){const M=u.C.prototype.set.call(this,v,E);return c(this),M},C}},72460(ye,A,n){n.d(A,{M:()=>T});var u=n(35506),l=n(43841),h=n(39084),c=n(19048);const T=Object.assign(function(v){return JSON.stringify(v,D)},{reset(){o=new h.V(l.v.canonicalStringify||1e3)}});let o;function D(C,v){if(v&&"object"==typeof v){const E=Object.getPrototypeOf(v);if(E===Object.prototype||null===E){const M=Object.keys(v);if(M.every(g))return v;const N=JSON.stringify(M);let P=o.get(N);if(!P){M.sort();const x=JSON.stringify(M);P=o.get(x)||M,o.set(N,P),o.set(x,P)}const I=Object.create(E);return P.forEach(x=>{I[x]=v[x]}),I}}return v}function g(C,v,E){return 0===v||E[v-1]<=C}u.g&&(0,c.D_)("canonicalStringify",()=>o.size),T.reset()},55106(ye,A,n){n.d(A,{s:()=>v});var u=n(26366),l=n(6417),h=n(35506),c=n(25406),T=n(43841),o=n(20253),D=n(51602),g=n(39084);const v=function C(E,{max:M}){const N=new D.b(!0),P=new g.A(M);return(...I)=>{const x=N.lookupArray(I),j=P.get(x);if(j){if(j.error)throw j.error;return j.result}const w=P.set(x,{});try{return w.result=E(...I)}catch(H){throw w.error=H,H}}}((E,M)=>{(0,c.V1)(E&&"Document"===E.kind,1);const N=E.definitions.filter(P=>"OperationDefinition"===P.kind);h.g&&(E.definitions.forEach(P=>{if("OperationDefinition"!==P.kind&&"FragmentDefinition"!==P.kind)throw(0,c.vA)(2,P.kind)}),(0,c.V1)(N.length<=1,3,N.length)),M&&(0,c.V1)(1==N.length&&N[0].operation===M,4,M,M,N[0].operation),(0,u.YR)(E,{Field(P,I,x,j){if(P.alias&&("__typename"===P.alias.value||P.alias.value.startsWith("__ac_"))&&P.alias.value!==P.name.value){let w=E,H=[];for(const ae of j)w=w[ae],w.kind===l.b.FIELD&&H.push(w.alias?.value||w.name.value);throw H.splice(-1,1,P.name.value),(0,c.vA)(5,P.alias.value,H.join("."),N[0].operation,(0,o.n)(E,"(anonymous)"))}}})},{max:T.v.checkDocument||2e3})},65618(ye,A,n){function u(...l){const h={};return l.forEach(c=>{c&&Object.keys(c).forEach(T=>{const o=c[T];void 0!==o&&(h[T]=o)})}),h}n.d(A,{o:()=>u})},10601(ye,A,n){function u(l=[]){const h={};return l.forEach(c=>{h[c.name.value]=c}),h}n.d(A,{J:()=>u})},71444(ye,A,n){n.d(A,{a:()=>C});var u=n(31014),l=n(10601),h=n(84577),c=n(11049),T=n(56415),o=n(18615),D=n(61718),g=n(65630);function C(N,{data:P,...I},{data:x,...j},w){return(0,u.L)(I,j)&&v((0,T.V)(N).selectionSet,P,x,{fragmentMap:(0,l.J)((0,h.z)(N)),variables:w})}function v(N,P,I,x){if(P===I)return!0;const j=new Set;return N.selections.every(w=>{if(j.has(w)||(j.add(w),!(0,g.M)(w,x.variables))||E(w))return!0;if((0,o.d)(w)){const H=(0,D.u)(w),ae=P&&P[H],S=I&&I[H],J=w.selectionSet;if(!J)return(0,u.L)(ae,S);const Y=Array.isArray(ae),re=Array.isArray(S);if(Y!==re)return!1;if(Y&&re){const G=ae.length;if(S.length!==G)return!1;for(let ce=0;ce<G;++ce)if(!v(J,ae[ce],S[ce],x))return!1;return!0}return v(J,ae,S,x)}{const H=(0,c.H)(w,x.fragmentMap);if(H)return!!E(H)||v(H.selectionSet,P,I,x)}})}function E(N){return!!N.directives&&N.directives.some(M)}function M(N){return"nonreactive"===N.name.value}},84544(ye,A,n){n.d(A,{w:()=>l});var u=n(83177);function l(h){const c={},T=h&&h.variableDefinitions;return T&&T.length&&T.forEach(o=>{o.defaultValue&&(0,u.J)(c,o.variable.name,o.defaultValue)}),c}},38754(ye,A,n){n.d(A,{E:()=>l});var u=n(25406);function l(h){(0,u.V1)("Document"===h.kind,6),(0,u.V1)(h.definitions.length<=1,7);const c=h.definitions[0];return(0,u.V1)("FragmentDefinition"===c.kind,8),c}},84577(ye,A,n){function u(l){return l.definitions.filter(h=>"FragmentDefinition"===h.kind)}n.d(A,{z:()=>u})},11049(ye,A,n){n.d(A,{H:()=>l});var u=n(25406);function l(h,c){switch(h.kind){case"InlineFragment":return h;case"FragmentSpread":{const T=h.name.value;if("function"==typeof c)return c(T);const o=c&&c[T];return(0,u.V1)(o,9,T),o||null}default:return null}}},56415(ye,A,n){n.d(A,{V:()=>h});var u=n(25406),l=n(55106);function h(c){let T;(0,l.s)(c);for(let o of c.definitions){if("OperationDefinition"===o.kind)return o;"FragmentDefinition"===o.kind&&!T&&(T=o)}if(T)return T;throw(0,u.vA)(12)}},19048(ye,A,n){n.d(A,{D_:()=>c});const h={};function c(w,H){h[w]=H}},13179(ye,A,n){n.d(A,{V:()=>l});var u=n(55106);function l(h){return(0,u.s)(h),h.definitions.filter(c=>"OperationDefinition"===c.kind)[0]}},20253(ye,A,n){function u(l,h){return l.definitions.find(c=>"OperationDefinition"===c.kind&&!!c.name)?.name.value??h}n.d(A,{n:()=>u})},54110(ye,A,n){n.d(A,{A:()=>h});var u=n(25406),l=n(13179);function h(c){const T=(0,l.V)(c);return(0,u.V1)(T&&"query"===T.operation,13),T}},15926(ye,A,n){function u(h){try{return h()}catch{}}n.d(A,{A:()=>l});const l=u(()=>globalThis)||u(()=>window)||u(()=>self)||u(()=>global)||u(function(){return u.constructor("return this")()})},18417(ye,A,n){n.d(A,{d:()=>l});var u=n(26366);function l(h,c,T){const o=new Set(h),D=o.size;return(0,u.YR)(c,{Directive(g){if(o.delete(g.name.value)&&(!T||!o.size))return u.sP}}),T?!o.size:o.size<D}},21026(ye,A,n){function u(){throw new Error("only supported in development mode")}n.d(A,{cM:()=>c,ep:()=>h,tQ:()=>l});const l=u,h=u,c=u},4050(ye,A,n){n.d(A,{c:()=>u});const u=Array.isArray},18615(ye,A,n){function u(l){return"Field"===l.kind}n.d(A,{d:()=>u})},85554(ye,A,n){function u(l){return Array.isArray(l)&&l.length>0}n.d(A,{E:()=>u})},52154(ye,A,n){function u(l){return null!==l&&"object"==typeof l}n.d(A,{U:()=>u})},90507(ye,A,n){n.d(A,{v:()=>l});const u=new Map;function l(h){const c=u.get(h)||1;return u.set(h,c+1),`${h}:${c}:${Math.random().toString(36).slice(2)}`}},32045(ye,A,n){n.d(A,{G:()=>T});var u=n(35506),l=n(52154);function T(o){return u.g&&function h(o){const D=new Set([o]);return D.forEach(g=>{(0,l.U)(g)&&function c(o){if(u.g&&!Object.isFrozen(o))try{Object.freeze(o)}catch(D){if(D instanceof TypeError)return null;throw D}return o}(g)===g&&Object.getOwnPropertyNames(g).forEach(C=>{(0,l.U)(g[C])&&D.add(g[C])})}),o}(o),o}},82252(ye,A,n){n.d(A,{i:()=>E});var u=n(6417),l=n(26366),h=n(25406),c=n(55106),T=n(10601),o=n(38754),D=n(84577),g=n(13179),C=n(4050),v=n(85554);function E(x,j){(0,c.s)(j);const w=M(""),H=M(""),ae=Re=>{for(let Ze,Qe=0;Qe<Re.length&&(Ze=Re[Qe]);++Qe)if(!(0,C.c)(Ze)){if(Ze.kind===u.b.OPERATION_DEFINITION)return w(Ze.name&&Ze.name.value);if(Ze.kind===u.b.FRAGMENT_DEFINITION)return H(Ze.name.value)}return h.V1.error(14),null};let S=0;for(let Re=j.definitions.length-1;Re>=0;--Re)j.definitions[Re].kind===u.b.OPERATION_DEFINITION&&++S;const J=function N(x){const j=new Map,w=new Map;return x.forEach(H=>{H&&(H.name?j.set(H.name,H):H.test&&w.set(H.test,H))}),H=>{let ae=j.get(H.name.value);
430return!ae&&w.size&&w.forEach((S,J)=>{J(H)&&(ae=S)}),ae}}(x),Y=Re=>(0,v.E)(Re)&&Re.map(J).some(Qe=>Qe&&Qe.remove),re=new Map;let G=!1;const ce={enter(Re){if(Y(Re.directives))return G=!0,null}},pe=(0,l.YR)(j,{Field:ce,InlineFragment:ce,VariableDefinition:{enter:()=>!1},Variable:{enter(Re,Qe,Ze,Ye,Ue){const ne=ae(Ue);ne&&ne.variables.add(Re.name.value)}},FragmentSpread:{enter(Re,Qe,Ze,Ye,Ue){if(Y(Re.directives))return G=!0,null;const ne=ae(Ue);ne&&ne.fragmentSpreads.add(Re.name.value)}},FragmentDefinition:{enter(Re,Qe,Ze,Ye){re.set(JSON.stringify(Ye),Re)},leave:(Re,Qe,Ze,Ye)=>Re===re.get(JSON.stringify(Ye))?Re:S>0&&Re.selectionSet.selections.every(ne=>ne.kind===u.b.FIELD&&"__typename"===ne.name.value)?(H(Re.name.value).removed=!0,G=!0,null):void 0},Directive:{leave(Re){if(J(Re))return G=!0,null}}});if(!G)return j;const De=Re=>(Re.transitiveVars||(Re.transitiveVars=new Set(Re.variables),Re.removed||Re.fragmentSpreads.forEach(Qe=>{De(H(Qe)).transitiveVars.forEach(Ze=>{Re.transitiveVars.add(Ze)})})),Re),z=new Set;pe.definitions.forEach(Re=>{Re.kind===u.b.OPERATION_DEFINITION?De(w(Re.name&&Re.name.value)).fragmentSpreads.forEach(Qe=>{z.add(Qe)}):Re.kind===u.b.FRAGMENT_DEFINITION&&0===S&&!H(Re.name.value).removed&&z.add(Re.name.value)}),z.forEach(Re=>{De(H(Re)).fragmentSpreads.forEach(Qe=>{z.add(Qe)})});const it={enter(Re){if((Re=>!(z.has(Re)&&!H(Re).removed))(Re.name.value))return null}};return function I(x){return P((0,g.V)(x)||(0,o.E)(x),(0,T.J)((0,D.z)(x)))?null:x}((0,l.YR)(pe,{FragmentSpread:it,FragmentDefinition:it,OperationDefinition:{leave(Re){if(Re.variableDefinitions){const Qe=De(w(Re.name&&Re.name.value)).transitiveVars;if(Qe.size<Re.variableDefinitions.length)return{...Re,variableDefinitions:Re.variableDefinitions.filter(Ze=>Qe.has(Ze.variable.name.value))}}}}}))}function M(x){const j=new Map;return function(H=x){let ae=j.get(H);return ae||j.set(H,ae={variables:new Set,fragmentSpreads:new Set}),ae}}function P(x,j){return!x||x.selectionSet.selections.every(w=>w.kind===u.b.FRAGMENT_SPREAD&&P(j[w.name.value],j))}},61718(ye,A,n){function u(l){return l.alias?l.alias.value:l.name.value}n.d(A,{u:()=>u})},65630(ye,A,n){n.d(A,{M:()=>l});var u=n(25406);function l({directives:T},o){return!T||!T.length||function c(T){const o=[];return T&&T.length&&T.forEach(D=>{if(!function h({name:{value:T}}){return"skip"===T||"include"===T}(D))return;const g=D.arguments,C=D.name.value;(0,u.V1)(g&&1===g.length,16,C);const v=g[0];(0,u.V1)(v.name&&"if"===v.name.value,17,C);const E=v.value;(0,u.V1)(E&&("Variable"===E.kind||"BooleanValue"===E.kind),18,C),o.push({directive:D,ifArgument:v})}),o}(T).every(({directive:D,ifArgument:g})=>{let C=!1;return"Variable"===g.value.kind?(C=o&&o[g.value.name.value],(0,u.V1)(void 0!==C,15,D.name.value)):C=g.value.value,"skip"===D.name.value?!C:C})}},95593(ye,A,n){n.d(A,{p:()=>l});var u=n(90507);function l(h,c=0){const T=(0,u.v)("stringifyForDisplay");return JSON.stringify(h,(o,D)=>void 0===D?T:D,c).split(JSON.stringify(T)).join("<undefined>")}},83177(ye,A,n){n.d(A,{J:()=>h});var u=n(6417),l=n(25406);function h(c,T,o,D){if(o.kind===u.b.INT||o.kind===u.b.FLOAT)c[T.value]=Number(o.value);else if(o.kind===u.b.BOOLEAN||o.kind===u.b.STRING)c[T.value]=o.value;else if(o.kind===u.b.OBJECT){const g={};o.fields.map(C=>h(g,C.name,C.value,D)),c[T.value]=g}else if(o.kind===u.b.VARIABLE)c[T.value]=(D||{})[o.name.value];else if(o.kind===u.b.LIST)c[T.value]=o.values.map(g=>{const C={};return h(C,T,g,D),C[T.value]});else if(o.kind===u.b.ENUM)c[T.value]=o.value;else{if(o.kind!==u.b.NULL)throw(0,l.vA)(19,T.value,o.kind);c[T.value]=null}}},25406(ye,A,n){n.d(A,{V1:()=>C,vA:()=>M});var u=n(35506),l=n(15926),h=n(80686),c=n(95593);const T="Invariant Violation";class o extends Error{constructor(w=T){super(w),this.name=T,Object.setPrototypeOf(this,o.prototype)}}const D=["debug","log","warn","error","silent"];let g=D.indexOf(u.g?"log":"silent");function C(j,...w){if(!j)throw M(...w)}function v(j){return function(w,...H){if(D.indexOf(j)>=g){const ae=console[j]||console.log;if("number"==typeof w){const S=w;(w=I(S))||(w=x(S,H),H=[])}ae(w,...H)}}}function M(j,...w){return new o(I(j,w)||x(j,w))}C.debug=v("debug"),C.log=v("log"),C.warn=v("warn"),C.error=v("error");const N=Symbol.for("ApolloErrorMessageHandler_"+h.r);function P(j){if("string"==typeof j)return j;try{return(0,c.p)(j,2).slice(0,1e3)}catch{return"<non-serializable>"}}function I(j,w=[]){if(j)return l.A[N]&&l.A[N](j,w.map(P))}function x(j,w=[]){if(j)return"string"==typeof j?w.reduce((H,ae)=>H.replace(/%[sdfo]/,P(ae)),j):`An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({version:h.r,message:j,args:w.map(P)}))}`}},80686(ye,A,n){n.d(A,{r:()=>u});const u="4.0.12"},28089(ye,A,n){n.d(A,{Lk:()=>Eo,OQ:()=>To,$H:()=>Ur,Lt:()=>Mo,cA:()=>uo,uh:()=>ei,AJ:()=>Nr,O9:()=>Nn,Fq:()=>tn,Et:()=>kt,yL:()=>Vn,Kg:()=>ft,Qc:()=>No,$d:()=>Si,UF:()=>vo,dT:()=>ai,F:()=>de,cg:()=>to,Hg:()=>_r,qm:()=>Jr,yJ:()=>Je});
vendor: 4,519 bytes, line 430
430var u={left:"right",right:"left",bottom:"top",top:"bottom"};function l(Pe){return Pe.replace(/left|right|bottom|top/g,function(Se){return u[Se]})}function h(Pe){return Pe.split("-")[0]}var c={start:"end",end:"start"};function T(Pe){return Pe.replace(/start|end/g,function(Se){return c[Se]})}var o="top",D="bottom",g="right",C="left",v="auto",E=[o,D,g,C],M="start",N="end",I="viewport",x="popper",w=E.reduce(function(Pe,Se){return Pe.concat([Se+"-"+M,Se+"-"+N])},[]),H=[].concat(E,[v]).reduce(function(Pe,Se){return Pe.concat([Se,Se+"-"+M,Se+"-"+N])},[]),z=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ke(Pe){if(null==Pe)return window;if("[object Window]"!==Pe.toString()){var Se=Pe.ownerDocument;return Se&&Se.defaultView||window}return Pe}function it(Pe){return Pe instanceof ke(Pe).Element||Pe instanceof Element}function Re(Pe){return Pe instanceof ke(Pe).HTMLElement||Pe instanceof HTMLElement}function Qe(Pe){return!(typeof ShadowRoot>"u")&&(Pe instanceof ke(Pe).ShadowRoot||Pe instanceof ShadowRoot)}function Ze(Pe){return((it(Pe)?Pe.ownerDocument:Pe.document)||window.document).documentElement}var Ye=Math.max,Ue=Math.min,ne=Math.round;function X(){var Pe=navigator.userAgentData;return null!=Pe&&Pe.brands&&Array.isArray(Pe.brands)?Pe.brands.map(function(Se){return Se.brand+"/"+Se.version}).join(" "):navigator.userAgent}function q(){return!/^((?!chrome|android).)*safari/i.test(X())}function Te(Pe,Se,rt){void 0===Se&&(Se=!1),void 0===rt&&(rt=!1);var Mt=Pe.getBoundingClientRect(),St=1,oe=1;Se&&Re(Pe)&&(St=Pe.offsetWidth>0&&ne(Mt.width)/Pe.offsetWidth||1,oe=Pe.offsetHeight>0&&ne(Mt.height)/Pe.offsetHeight||1);var W=(it(Pe)?ke(Pe):window).visualViewport,le=!q()&&rt,ge=(Mt.left+(le&&W?W.offsetLeft:0))/St,Le=(Mt.top+(le&&W?W.offsetTop:0))/oe,qe=Mt.width/St,Pt=Mt.height/oe;return{width:qe,height:Pt,top:Le,right:ge+qe,bottom:Le+Pt,left:ge,x:ge,y:Le}}function je(Pe){var Se=ke(Pe);return{scrollLeft:Se.pageXOffset,scrollTop:Se.pageYOffset}}function Fe(Pe){return Te(Ze(Pe)).left+je(Pe).scrollLeft}function Be(Pe){return ke(Pe).getComputedStyle(Pe)}function Ot(Pe){return Pe?(Pe.nodeName||"").toLowerCase():null}function Et(Pe){return"html"===Ot(Pe)?Pe:Pe.assignedSlot||Pe.parentNode||(Qe(Pe)?Pe.host:null)||Ze(Pe)}function Yt(Pe){var Se=Be(Pe);return/auto|scroll|overlay|hidden/.test(Se.overflow+Se.overflowY+Se.overflowX)}function ut(Pe){return["html","body","#document"].indexOf(Ot(Pe))>=0?Pe.ownerDocument.body:Re(Pe)&&Yt(Pe)?Pe:ut(Et(Pe))}function bt(Pe,Se){var rt;void 0===Se&&(Se=[]);var Mt=ut(Pe),St=Mt===(null==(rt=Pe.ownerDocument)?void 0:rt.body),oe=ke(Mt),L=St?[oe].concat(oe.visualViewport||[],Yt(Mt)?Mt:[]):Mt,W=Se.concat(L);return St?W:W.concat(bt(Et(L)))}function Xe(Pe){return["table","td","th"].indexOf(Ot(Pe))>=0}function tt(Pe){return Re(Pe)&&"fixed"!==Be(Pe).position?Pe.offsetParent:null}function ze(Pe){for(var Se=ke(Pe),rt=tt(Pe);rt&&Xe(rt)&&"static"===Be(rt).position;)rt=tt(rt);return rt&&("html"===Ot(rt)||"body"===Ot(rt)&&"static"===Be(rt).position)?Se:rt||function Ht(Pe){var Se=/firefox/i.test(X());if(/Trident/i.test(X())&&Re(Pe)&&"fixed"===Be(Pe).position)return null;var St=Et(Pe);for(Qe(St)&&(St=St.host);Re(St)&&["html","body"].indexOf(Ot(St))<0;){var oe=Be(St);if("none"!==oe.transform||"none"!==oe.perspective||"paint"===oe.contain||-1!==["transform","perspective"].indexOf(oe.willChange)||Se&&"filter"===oe.willChange||Se&&oe.filter&&"none"!==oe.filter)return St;St=St.parentNode}return null}(Pe)||Se}function vt(Pe,Se){var rt=Se.getRootNode&&Se.getRootNode();if(Pe.contains(Se))return!0;if(rt&&Qe(rt)){var Mt=Se;do{if(Mt&&Pe.isSameNode(Mt))return!0;Mt=Mt.parentNode||Mt.host}while(Mt)}return!1}function pt(Pe){return Object.assign({},Pe,{left:Pe.x,top:Pe.y,right:Pe.x+Pe.width,bottom:Pe.y+Pe.height})}function s(Pe,Se,rt){return Se===I?pt(function we(Pe,Se){var rt=ke(Pe),Mt=Ze(Pe),St=rt.visualViewport,oe=Mt.clientWidth,L=Mt.clientHeight,W=0,le=0;if(St){oe=St.width,L=St.height;var ge=q();(ge||!ge&&"fixed"===Se)&&(W=St.offsetLeft,le=St.offsetTop)}return{width:oe,height:L,x:W+Fe(Pe),y:le}}(Pe,rt)):it(Se)?function an(Pe,Se){var rt=Te(Pe,!1,"fixed"===Se);return rt.top=rt.top+Pe.clientTop,rt.left=rt.left+Pe.clientLeft,rt.bottom=rt.top+Pe.clientHeight,rt.right=rt.left+Pe.clientWidth,rt.width=Pe.clientWidth,rt.height=Pe.clientHeight,rt.x=rt.left,rt.y=rt.top,rt}(Se,rt):pt(function at(Pe){var Se,rt=Ze(Pe),Mt=je(Pe),St=null==(Se=Pe.ownerDocument)?void 0:Se.body,oe=Ye(rt.scrollWidth,rt.clientWidth,St?St.
430scrollWidth:0,St?St.clientWidth:0),L=Ye(rt.scrollHeight,rt.clientHeight,St?St.scrollHeight:0,St?St.clientHeight:0),W=-Mt.scrollLeft+Fe(Pe),le=-Mt.scrollTop;return"rtl"===Be(St||rt).direction&&(W+=Ye(rt.clientWidth,St?St.clientWidth:0)-oe),{width:oe,height:L,x:W,y:le}}(Ze(Pe)))}function jt(Pe){return Pe.split("-")[1]}function sn(Pe){return["top","bottom"].indexOf(Pe)>=0?"x":"y"}function Lt(Pe){var le,Se=Pe.reference,rt=Pe.element,Mt=Pe.placement,St=Mt?h(Mt):null,oe=Mt?jt(Mt):null,L=Se.x+Se.width/2-rt.width/2,W=Se.y+Se.height/2-rt.height/2;switch(St){case o:le={x:L,y:Se.y-rt.height};break;case D:le={x:L,y:Se.y+Se.height};break;case g:le={x:Se.x+Se.width,y:W};break;case C:le={x:Se.x-rt.width,y:W};break;default:le={x:Se.x,y:Se.y}}var ge=St?sn(St):null;if(null!=ge){var Le="y"===ge?"height":"width";switch(oe){case M:le[ge]=le[ge]-(Se[Le]/2-rt[Le]/2);break;case N:le[ge]=le[ge]+(Se[Le]/2-rt[Le]/2)}}return le}function wt(Pe){return Object.assign({},{top:0,right:0,bottom:0,left:0},Pe)}function cn(Pe,Se){return Se.reduce(function(rt,Mt){return rt[Mt]=Pe,rt},{})}function Ct(Pe,Se){void 0===Se&&(Se={});var Mt=Se.placement,St=void 0===Mt?Pe.placement:Mt,oe=Se.strategy,L=void 0===oe?Pe.strategy:oe,W=Se.boundary,le=void 0===W?"clippingParents":W,ge=Se.rootBoundary,Le=void 0===ge?I:ge,qe=Se.elementContext,Pt=void 0===qe?x:qe,Tt=Se.altBoundary,Gt=void 0!==Tt&&Tt,zt=Se.padding,on=void 0===zt?0:zt,Dn=wt("number"!=typeof on?on:cn(on,E)),mn=Pe.rects.popper,Pn=Pe.elements[Gt?Pt===x?"reference":x:Pt],Kn=function Wt(Pe,Se,rt,Mt){var St="clippingParents"===Se?function mt(Pe){var Se=bt(Et(Pe)),Mt=["absolute","fixed"].indexOf(Be(Pe).position)>=0&&Re(Pe)?ze(Pe):Pe;return it(Mt)?Se.filter(function(St){return it(St)&&vt(St,Mt)&&"body"!==Ot(St)}):[]}(Pe):[].concat(Se),oe=[].concat(St,[rt]),W=oe.reduce(function(le,ge){var Le=s(Pe,ge,Mt);return le.top=Ye(Le.top,le.top),le.right=Ue(Le.right,le.right),le.bottom=Ue(Le.bottom,le.bottom),le.left=Ye(Le.left,le.left),le},s(Pe,oe[0],Mt));return W.width=W.right-W.left,W.height=W.bottom-W.top,W.x=W.left,W.y=W.top,W}(it(Pn)?Pn:Pn.contextElement||Ze(Pe.elements.popper),le,Le,L),Bn=Te(Pe.elements.reference),Zn=Lt({reference:Bn,element:mn,strategy:"absolute",placement:St}),yr=pt(Object.assign({},mn,Zn)),br=Pt===x?yr:Bn,fr={top:Kn.top-br.top+Dn.top,bottom:br.bottom-Kn.bottom+Dn.bottom,left:Kn.left-br.left+Dn.left,right:br.right-Kn.right+Dn.right},te=Pe.modifiersData.offset;if(Pt===x&&te){var se=te[St];Object.keys(fr).forEach(function(V){var Me=[g,D].indexOf(V)>=0?1:-1,lt=[o,D].indexOf(V)>=0?"y":"x";fr[V]+=se[lt]*Me})}return fr}const In={name:"flip",enabled:!0,phase:"main",fn:function rn(Pe){var Se=Pe.state,rt=Pe.options,Mt=Pe.name;if(!Se.modifiersData[Mt]._skip){for(var St=rt.mainAxis,oe=void 0===St||St,L=rt.altAxis,W=void 0===L||L,le=rt.fallbackPlacements,ge=rt.padding,Le=rt.boundary,qe=rt.rootBoundary,Pt=rt.altBoundary,Tt=rt.flipVariations,Gt=void 0===Tt||Tt,zt=rt.allowedAutoPlacements,on=Se.options.placement,Dn=h(on),mn=le||(Dn!==on&&Gt?function Ut(Pe){if(h(Pe)===v)return[];var Se=l(Pe);return[T(Pe),Se,T(Se)]}(on):[l(on)]),Pn=[on].concat(mn).reduce(function(jo,ti){return jo.concat(h(ti)===v?function Mn(Pe,Se){void 0===Se&&(Se={});var St=Se.boundary,oe=Se.rootBoundary,L=Se.padding,W=Se.flipVariations,le=Se.allowedAutoPlacements,ge=void 0===le?H:le,Le=jt(Se.placement),qe=Le?W?w:w.filter(function(Gt){return jt(Gt)===Le}):E,Pt=qe.filter(function(Gt){return ge.indexOf(Gt)>=0});0===Pt.length&&(Pt=qe);var Tt=Pt.reduce(function(Gt,zt){return Gt[zt]=Ct(Pe,{placement:zt,boundary:St,rootBoundary:oe,padding:L})[h(zt)],Gt},{});return Object.keys(Tt).sort(function(Gt,zt){return Tt[Gt]-Tt[zt]})}(Se,{placement:ti,boundary:Le,rootBoundary:qe,padding:ge,flipVariations:Gt,allowedAutoPlacements:zt}):ti)},[]),Kn=Se.rects.reference,Bn=Se.rects.popper,Zn=new Map,yr=!0,br=Pn[0],fr=0;fr<Pn.length;fr++){var te=Pn[fr],se=h(te),V=jt(te)===M,Me=[o,D].indexOf(se)>=0,lt=Me?"width":"height",Sn=Ct(Se,{placement:te,boundary:Le,rootBoundary:qe,altBoundary:Pt,padding:ge}),er=Me?V?g:C:V?D:o;Kn[lt]>Bn[lt]&&(er=l(er));var io=l(er),no=[];if(oe&&no.push(Sn[se]<=0),W&&no.push(Sn[er]<=0,Sn[io]<=0),no.every(function(jo){return jo})){br=te,yr=!1;break}Zn.set(te,no)}if(yr)for(var yi=function(ti){var Xo=Pn.find(function(ui){var ni=Zn.get(ui);if(ni)return ni.slice(0,ti).every(function(Li){return Li}
430)});if(Xo)return br=Xo,"break"},li=Gt?3:1;li>0&&"break"!==yi(li);li--);Se.placement!==br&&(Se.modifiersData[Mt]._skip=!0,Se.placement=br,Se.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Xn(Pe,Se,rt){return Ye(Pe,Ue(Se,rt))}function Pr(Pe){var Se=Te(Pe),rt=Pe.offsetWidth,Mt=Pe.offsetHeight;return Math.abs(Se.width-rt)<=1&&(rt=Se.width),Math.abs(Se.height-Mt)<=1&&(Mt=Se.height),{x:Pe.offsetLeft,y:Pe.offsetTop,width:rt,height:Mt}}const wr={name:"preventOverflow",enabled:!0,phase:"main",fn:function Dr(Pe){var Se=Pe.state,rt=Pe.options,Mt=Pe.name,St=rt.mainAxis,oe=void 0===St||St,L=rt.altAxis,W=void 0!==L&&L,Pt=rt.tether,Tt=void 0===Pt||Pt,Gt=rt.tetherOffset,zt=void 0===Gt?0:Gt,on=Ct(Se,{boundary:rt.boundary,rootBoundary:rt.rootBoundary,padding:rt.padding,altBoundary:rt.altBoundary}),Dn=h(Se.placement),Cn=jt(Se.placement),mn=!Cn,Pn=sn(Dn),Kn=function An(Pe){return"x"===Pe?"y":"x"}(Pn),Bn=Se.modifiersData.popperOffsets,Zn=Se.rects.reference,yr=Se.rects.popper,br="function"==typeof zt?zt(Object.assign({},Se.rects,{placement:Se.placement})):zt,fr="number"==typeof br?{mainAxis:br,altAxis:br}:Object.assign({mainAxis:0,altAxis:0},br),te=Se.modifiersData.offset?Se.modifiersData.offset[Se.placement]:null,se={x:0,y:0};if(Bn){if(oe){var V,Me="y"===Pn?o:C,lt="y"===Pn?D:g,Sn="y"===Pn?"height":"width",er=Bn[Pn],io=er+on[Me],no=er-on[lt],ko=Tt?-yr[Sn]/2:0,yi=Cn===M?Zn[Sn]:yr[Sn],li=Cn===M?-yr[Sn]:-Zn[Sn],Ei=Se.elements.arrow,jo=Tt&&Ei?Pr(Ei):{width:0,height:0},ti=Se.modifiersData["arrow#persistent"]?Se.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Xo=ti[Me],ui=ti[lt],ni=Xn(0,Zn[Sn],jo[Sn]),Li=mn?Zn[Sn]/2-ko-ni-Xo-fr.mainAxis:yi-ni-Xo-fr.mainAxis,Is=mn?-Zn[Sn]/2+ko+ni+ui+fr.mainAxis:li+ni+ui+fr.mainAxis,Ni=Se.elements.arrow&&ze(Se.elements.arrow),Ps=Ni?"y"===Pn?Ni.clientTop||0:Ni.clientLeft||0:0,di=null!=(V=te?.[Pn])?V:0,Di=er+Is-di,zo=Xn(Tt?Ue(io,er+Li-di-Ps):io,er,Tt?Ye(no,Di):no);Bn[Pn]=zo,se[Pn]=zo-er}if(W){var ri,oi=Bn[Kn],Yo="y"===Kn?"height":"width",ns=oi+on["x"===Pn?o:C],Hi=oi-on["x"===Pn?D:g],Oi=-1!==[o,C].indexOf(Dn),$i=null!=(ri=te?.[Kn])?ri:0,Mi=Oi?ns:oi-Zn[Yo]-yr[Yo]-$i+fr.altAxis,hi=Oi?oi+Zn[Yo]+yr[Yo]-$i-fr.altAxis:Hi,Vo=Tt&&Oi?function Fr(Pe,Se,rt){var Mt=Xn(Pe,Se,rt);return Mt>rt?rt:Mt}(Mi,oi,hi):Xn(Tt?Mi:ns,oi,Tt?hi:Hi);Bn[Kn]=Vo,se[Kn]=Vo-oi}Se.modifiersData[Mt]=se}},requiresIfExists:["offset"]},Ae={name:"arrow",enabled:!0,phase:"main",fn:function Sr(Pe){var Se,rt=Pe.state,Mt=Pe.name,St=Pe.options,oe=rt.elements.arrow,L=rt.modifiersData.popperOffsets,W=h(rt.placement),le=sn(W),Le=[C,g].indexOf(W)>=0?"height":"width";if(oe&&L){var qe=function(Se,rt){return wt("number"!=typeof(Se="function"==typeof Se?Se(Object.assign({},rt.rects,{placement:rt.placement})):Se)?Se:cn(Se,E))}(St.padding,rt),Pt=Pr(oe),Tt="y"===le?o:C,Gt="y"===le?D:g,zt=rt.rects.reference[Le]+rt.rects.reference[le]-L[le]-rt.rects.popper[Le],on=L[le]-rt.rects.reference[le],Dn=ze(oe),Cn=Dn?"y"===le?Dn.clientHeight||0:Dn.clientWidth||0:0,Bn=Cn/2-Pt[Le]/2+(zt/2-on/2),Zn=Xn(qe[Tt],Bn,Cn-Pt[Le]-qe[Gt]);rt.modifiersData[Mt]=((Se={})[le]=Zn,Se.centerOffset=Zn-Bn,Se)}},effect:function Ve(Pe){var Se=Pe.state,Mt=Pe.options.element,St=void 0===Mt?"[data-popper-arrow]":Mt;null!=St&&("string"==typeof St&&!(St=Se.elements.popper.querySelector(St))||vt(Se.elements.popper,St)&&(Se.elements.arrow=St))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ln(Pe,Se,rt){void 0===rt&&(rt=!1);var Mt=Re(Se),St=Re(Se)&&function Kt(Pe){var Se=Pe.getBoundingClientRect(),rt=ne(Se.width)/Pe.offsetWidth||1,Mt=ne(Se.height)/Pe.offsetHeight||1;return 1!==rt||1!==Mt}(Se),oe=Ze(Se),L=Te(Pe,St,rt),W={scrollLeft:0,scrollTop:0},le={x:0,y:0};return(Mt||!Mt&&!rt)&&(("body"!==Ot(Se)||Yt(oe))&&(W=function gt(Pe){return Pe!==ke(Pe)&&Re(Pe)?function $e(Pe){return{scrollLeft:Pe.scrollLeft,scrollTop:Pe.scrollTop}}(Pe):je(Pe)}(Se)),Re(Se)?((le=Te(Se,!0)).x+=Se.clientLeft,le.y+=Se.clientTop):oe&&(le.x=Fe(oe))),{x:L.left+W.scrollLeft-le.x,y:L.top+W.scrollTop-le.y,width:L.width,height:L.height}}function un(Pe){var Se=new Map,rt=new Set,Mt=[];function St(oe){rt.add(oe.name),[].concat(oe.requires||[],oe.requiresIfExists||[]).forEac
430h(function(W){if(!rt.has(W)){var le=Se.get(W);le&&St(le)}}),Mt.push(oe)}return Pe.forEach(function(oe){Se.set(oe.name,oe)}),Pe.forEach(function(oe){rt.has(oe.name)||St(oe)}),Mt}function Rt(Pe){var Se;return function(){return Se||(Se=new Promise(function(rt){Promise.resolve().then(function(){Se=void 0,rt(Pe())})})),Se}}var bn={placement:"bottom",modifiers:[],strategy:"absolute"};function Er(){for(var Pe=arguments.length,Se=new Array(Pe),rt=0;rt<Pe;rt++)Se[rt]=arguments[rt];return!Se.some(function(Mt){return!(Mt&&"function"==typeof Mt.getBoundingClientRect)})}function Fn(Pe){void 0===Pe&&(Pe={});var rt=Pe.defaultModifiers,Mt=void 0===rt?[]:rt,St=Pe.defaultOptions,oe=void 0===St?bn:St;return function(W,le,ge){void 0===ge&&(ge=oe);var Le={placement:"bottom",orderedModifiers:[],options:Object.assign({},bn,oe),modifiersData:{},elements:{reference:W,popper:le},attributes:{},styles:{}},qe=[],Pt=!1,Tt={state:Le,setOptions:function(Dn){var Cn="function"==typeof Dn?Dn(Le.options):Dn;zt(),Le.options=Object.assign({},oe,Le.options,Cn),Le.scrollParents={reference:it(W)?bt(W):W.contextElement?bt(W.contextElement):[],popper:bt(le)};var mn=function nn(Pe){var Se=un(Pe);return z.reduce(function(rt,Mt){return rt.concat(Se.filter(function(St){return St.phase===Mt}))},[])}(function Xt(Pe){var Se=Pe.reduce(function(rt,Mt){var St=rt[Mt.name];return rt[Mt.name]=St?Object.assign({},St,Mt,{options:Object.assign({},St.options,Mt.options),data:Object.assign({},St.data,Mt.data)}):Mt,rt},{});return Object.keys(Se).map(function(rt){return Se[rt]})}([].concat(Mt,Le.options.modifiers)));return Le.orderedModifiers=mn.filter(function(Pn){return Pn.enabled}),function Gt(){Le.orderedModifiers.forEach(function(on){var Cn=on.options,Pn=on.effect;if("function"==typeof Pn){var Kn=Pn({state:Le,name:on.name,instance:Tt,options:void 0===Cn?{}:Cn});qe.push(Kn||function(){})}})}(),Tt.update()},forceUpdate:function(){if(!Pt){var Dn=Le.elements,Cn=Dn.reference,mn=Dn.popper;if(Er(Cn,mn)){Le.rects={reference:ln(Cn,ze(mn),"fixed"===Le.options.strategy),popper:Pr(mn)},Le.reset=!1,Le.placement=Le.options.placement,Le.orderedModifiers.forEach(function(fr){return Le.modifiersData[fr.name]=Object.assign({},fr.data)});for(var Pn=0;Pn<Le.orderedModifiers.length;Pn++)if(!0!==Le.reset){var Kn=Le.orderedModifiers[Pn],Bn=Kn.fn,Zn=Kn.options;"function"==typeof Bn&&(Le=Bn({state:Le,options:void 0===Zn?{}:Zn,name:Kn.name,instance:Tt})||Le)}else Le.reset=!1,Pn=-1}}},update:Rt(function(){return new Promise(function(on){Tt.forceUpdate(),on(Le)})}),destroy:function(){zt(),Pt=!0}};if(!Er(W,le))return Tt;function zt(){qe.forEach(function(on){return on()}),qe=[]}return Tt.setOptions(ge).then(function(on){!Pt&&ge.onFirstUpdate&&ge.onFirstUpdate(on)}),Tt}}var Yn={passive:!0},nr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $n(Pe){var Se,rt=Pe.popper,Mt=Pe.popperRect,St=Pe.placement,oe=Pe.variation,L=Pe.offsets,W=Pe.position,le=Pe.gpuAcceleration,ge=Pe.adaptive,Le=Pe.roundOffsets,qe=Pe.isFixed,Pt=L.x,Tt=void 0===Pt?0:Pt,Gt=L.y,zt=void 0===Gt?0:Gt,on="function"==typeof Le?Le({x:Tt,y:zt}):{x:Tt,y:zt};Tt=on.x,zt=on.y;var Dn=L.hasOwnProperty("x"),Cn=L.hasOwnProperty("y"),mn=C,Pn=o,Kn=window;if(ge){var Bn=ze(rt),Zn="clientHeight",yr="clientWidth";Bn===ke(rt)&&"static"!==Be(Bn=Ze(rt)).position&&"absolute"===W&&(Zn="scrollHeight",yr="scrollWidth"),(St===o||(St===C||St===g)&&oe===N)&&(Pn=D,zt-=(qe&&Bn===Kn&&Kn.visualViewport?Kn.visualViewport.height:Bn[Zn])-Mt.height,zt*=le?1:-1),St!==C&&(St!==o&&St!==D||oe!==N)||(mn=g,Tt-=(qe&&Bn===Kn&&Kn.visualViewport?Kn.visualViewport.width:Bn[yr])-Mt.width,Tt*=le?1:-1)}var V,te=Object.assign({position:W},ge&&nr),se=!0===Le?function Jn(Pe,Se){var Mt=Pe.y,St=Se.devicePixelRatio||1;return{x:ne(Pe.x*St)/St||0,y:ne(Mt*St)/St||0}}({x:Tt,y:zt},ke(rt)):{x:Tt,y:zt};return Tt=se.x,zt=se.y,Object.assign({},te,le?((V={})[Pn]=Cn?"0":"",V[mn]=Dn?"0":"",V.transform=(Kn.devicePixelRatio||1)<=1?"translate("+Tt+"px, "+zt+"px)":"translate3d("+Tt+"px, "+zt+"px, 0)",V):((Se={})[Pn]=Cn?zt+"px":"",Se[mn]=Dn?Tt+"px":"",Se.transform="",Se))}var go=Fn({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function Qn(Pe){var Se=Pe.state,rt=Pe.instance,Mt=Pe.options,St=Mt.scroll,oe=void 0===St||St,L=Mt.resize,W=void 0===L||L,le=ke(Se.elements.popper),ge=[].concat(Se.scrollParents.reference,Se.scrollParents.popper);return oe&&ge.forEach(function(Le){Le.addEventListener("scroll",rt.update,Yn)}),W&&le.addEventListener("resize",rt.update,Yn),function(){oe&&ge.forEach(function(Le){Le.removeEventListener("scroll",rt.update,Yn)}),W&&le.removeEventListener("resize",rt.update,Yn)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function qn(Pe){var Se=Pe.state;Se.modifiersData[Pe.name]=Lt({reference:Se.rects.reference,element:Se.rects.popper,strategy:"absolute",placement:Se.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function Or(Pe){var Se=Pe.state,rt=Pe.options,Mt=rt.gpuAcceleration,St=void 0===Mt||Mt,oe=rt.adaptive,L=void 0===oe||oe,W=rt.roundOffsets,le=void 0===W||W,ge={placement:h(Se.placement),variation:jt(Se.placement),popper:Se.elements.popper,popperRect:Se.rects.popper,gpuAcceleration:St,isFixed:"fixed"===Se.options.strategy};null!=Se.modifiersData.popperOffsets&&(Se.styles.popper=Object.assign({},Se.styles.popper,$n(Object.assign({},ge,{offsets:Se.modifiersData.popperOffsets,position:Se.options.strategy,adaptive:L,roundOffsets:le})))),null!=Se.modifiersData.arrow&&(Se.styles.arrow=Object.assign({},Se.styles.arrow,$n(Object.assign({},ge,{offsets:Se.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:le})))),Se.attributes.popper=Object.assign({},Se.attributes.popper,{"data-popper-placement":Se.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function lr(Pe){var Se=Pe.state;
430Object.keys(Se.elements).forEach(function(rt){var Mt=Se.styles[rt]||{},St=Se.attributes[rt]||{},oe=Se.elements[rt];!Re(oe)||!Ot(oe)||(Object.assign(oe.style,Mt),Object.keys(St).forEach(function(L){var W=St[L];!1===W?oe.removeAttribute(L):oe.setAttribute(L,!0===W?"":W)}))})},effect:function Wr(Pe){var Se=Pe.state,rt={popper:{position:Se.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(Se.elements.popper.style,rt.popper),Se.styles=rt,Se.elements.arrow&&Object.assign(Se.elements.arrow.style,rt.arrow),function(){Object.keys(Se.elements).forEach(function(Mt){var St=Se.elements[Mt],oe=Se.attributes[Mt]||{},W=Object.keys(Se.styles.hasOwnProperty(Mt)?Se.styles[Mt]:rt[Mt]).reduce(function(le,ge){return le[ge]="",le},{});!Re(St)||!Ot(St)||(Object.assign(St.style,W),Object.keys(oe).forEach(function(le){St.removeAttribute(le)}))})}},requires:["computeStyles"]}]});const ue={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function $(Pe){var Se=Pe.state,Mt=Pe.name,St=Pe.options.offset,oe=void 0===St?[0,0]:St,L=H.reduce(function(Le,qe){return Le[qe]=function ct(Pe,Se,rt){var Mt=h(Pe),St=[C,o].indexOf(Mt)>=0?-1:1,oe="function"==typeof rt?rt(Object.assign({},Se,{placement:Pe})):rt,L=oe[0],W=oe[1];return L=L||0,W=(W||0)*St,[C,g].indexOf(Mt)>=0?{x:W,y:L}:{x:L,y:W}}(qe,Se.rects,oe),Le},{}),W=L[Se.placement],ge=W.y;null!=Se.modifiersData.popperOffsets&&(Se.modifiersData.popperOffsets.x+=W.x,Se.modifiersData.popperOffsets.y+=ge),Se.modifiersData[Mt]=L}};var fe=n(17988),Oe=n(47606),Z=n(64517),Ce=n(90523),p=n(13901),Ke=n(81502),nt=n(47066),yt=n(5219),It=n(82805),dn=n(23584),gn=n(65213),ir=n(61856),rr=n(61969),dr=n(24406),gr=n(35733),Br=n(61202),st=n(64752);let xn=(()=>{var Pe;class Se{constructor(){this._element=(0,fe.WQX)(fe.qQL).documentElement}isRTL(){return"rtl"===(this._element.getAttribute("dir")||"").toLowerCase()}static#e=Pe=()=>(this.\u0275fac=function(St){return new(St||Se)},this.\u0275prov=fe.jDH({token:Se,factory:Se.\u0275fac,providedIn:"root"}))}return Pe(),Se})();
430const Rn=/\s+/,wn=/ +/gi,Ir={top:["top"],bottom:["bottom"],start:["left","right"],left:["left"],end:["right","left"],right:["right"],"top-start":["top-start","top-end"],"top-left":["top-start"],"top-end":["top-end","top-start"],"top-right":["top-end"],"bottom-start":["bottom-start","bottom-end"],"bottom-left":["bottom-start"],"bottom-end":["bottom-end","bottom-start"],"bottom-right":["bottom-end"],"start-top":["left-start","right-start"],"left-top":["left-start"],"start-bottom":["left-end","right-end"],"left-bottom":["left-end"],"end-top":["right-start","left-start"],"right-top":["right-start"],"end-bottom":["right-end","left-end"],"right-bottom":["right-end"]},Tr=/^left/,Lr=/^right/,eo=/^start/,On=/^end/;function Tn({placement:Pe,baseClass:Se},rt){let Mt=Array.isArray(Pe)?Pe:Pe.split(Rn),oe=Mt.findIndex(ge=>"auto"===ge);oe>=0&&["top","bottom","start","end","top-start","top-end","bottom-start","bottom-end","start-top","start-bottom","end-top","end-bottom"].forEach(function(ge){null==Mt.find(Le=>-1!==Le.search("^"+ge))&&Mt.splice(oe++,1,ge)});const L=Mt.map(ge=>function Hr(Pe,Se){const[rt,Mt]=Ir[Pe];return Se&&Mt||rt}(ge,rt.isRTL()));return{placement:L.shift(),modifiers:[{name:"bootstrapClasses",enabled:!!Se,phase:"write",fn({state:ge}){const Le=new RegExp(Se+"(-[a-z]+)*","gi"),qe=ge.elements.popper,Pt=ge.placement;let Tt=qe.className;Tt=Tt.replace(Le,""),Tt+=` ${function mr(Pe,Se){let[rt,Mt]=Se.split("-");const St=rt.replace(Tr,"start").replace(Lr,"end");let oe=[St];if(Mt){let L=Mt;("left"===rt||"right"===rt)&&(L=L.replace(eo,"top").replace(On,"bottom")),oe.push(`${St}-${L}`)}return Pe&&(oe=oe.map(L=>`${Pe}-${L}`)),oe.join(" ")}(Se,Pt)}`,Tt=Tt.trim().replace(wn," "),qe.className=Tt}},In,wr,Ae,{enabled:!0,name:"flip",options:{fallbackPlacements:L,padding:{bottom:66}}}]}}function Yr(Pe){return Pe}function de(){const Pe=(0,fe.WQX)(xn);let Se=null;return{createPopper(rt){if(!Se){let St=(rt.updatePopperOptions||Yr)(Tn(rt,Pe));Se=go(rt.hostElement,rt.targetElement,St)}},update(){Se&&Se.update()},setOptions(rt){if(Se){let St=(rt.updatePopperOptions||Yr)(Tn(rt,Pe));Se.setOptions(St)}},destroy(){Se&&(Se.destroy(),Se=null)}}}function Je(Pe){return parseInt(`${Pe}`,10)}function ft(Pe){return"string"==typeof Pe}function kt(Pe){return!isNaN(Je(Pe))}function tn(Pe){return"number"==typeof Pe&&isFinite(Pe)&&Math.floor(Pe)===Pe}function Nn(Pe){return null!=Pe}function Vn(Pe){return Pe&&Pe.then}function _r(Pe){return kt(Pe)?`0${Pe}`.slice(-2):""}function Jr(Pe){return(Pe||document.body).getBoundingClientRect()}function Nr(Pe){const{transitionDelay:Se,transitionDuration:rt}=window.getComputedStyle(Pe);return 1e3*(parseFloat(Se)+parseFloat(rt))}const lo=()=>{},uo={getTransitionTimerDelayMs:()=>5},$r=new Map,to=(Pe,Se,rt,Mt)=>{let St=Mt.context||{};const oe=$r.get(Se);if(oe)switch(Mt.runningTransition){case"continue":return Ce.w;case"stop":Pe.run(()=>oe.transition$.complete()),St=Object.assign(oe.context,St),$r.delete(Se)}const L=rt(Se,Mt.animation,St)||lo;if(!Mt.animation||"none"===window.getComputedStyle(Se).transitionProperty)return Pe.run(()=>L()),(0,p.of)(void 0).pipe(function Ar(Pe){return Se=>new Z.c(rt=>Se.subscribe({next:L=>Pe.run(()=>rt.next(L)),error:L=>Pe.run(()=>rt.error(L)),complete:()=>Pe.run(()=>rt.complete())}))}(Pe));const W=new Ke.B,le=new Ke.B,ge=W.pipe(function fn(...Pe){return Se=>(0,dn.x)(Se,(0,p.of)(...Pe))}(!0));$r.set(Se,{transition$:W,complete:()=>{le.next(),le.complete()},context:St});const Le=Nr(Se);return Pe.runOutsideAngular(()=>{const qe=(0,nt.R)(Se,"transitionend").pipe((0,gn.Q)(ge),(0,ir.p)(({target:Tt})=>Tt===Se)),Pt=(0,yt.O)(Le+uo.getTransitionTimerDelayMs()).pipe((0,gn.Q)(ge));(0,It.O)(Pt,qe,le).pipe((0,gn.Q)(ge)).subscribe(()=>{$r.delete(Se),Pe.run(()=>{L(),W.next(),W.complete()})})}),W.asObservable()},vo=Pe=>{$r.get(Pe)?.complete()},mo=(Pe,Se)=>!!Se&&Se.some(rt=>rt.contains(Pe)),Oo=(Pe,Se)=>!Se||null!=function sr(Pe,Se){return!Se||typeof Pe.closest>"u"?null:Pe.closest(Se)}(Pe,Se),Fo=typeof navigator<"u"&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));function Si(Pe,Se,rt,Mt,St,oe,L,W){rt&&Pe.runOutsideAngular((Pe=>Fo?()=>setTimeout(()=>Pe(),100):Pe)(()=>{const ge=(0,nt.R)(Se,"keydown").pipe((0,gn.Q)(St),(0,ir.p)(Pt=>"Escape"===Pt.key),(0,rr.M)(Pt=>Pt.preventDefault())),Le=(0,nt.R)(Se,"mousedown").pipe((0,dr.T)(Pt=>{const Tt=Pt.target;return 2!==Pt.button&&!mo(Tt,L)&&("inside"===rt?mo(Tt,oe)&&Oo(Tt,W):"outside"===rt?!mo(Tt,oe):Oo(Tt,W)||!mo(Tt,oe))}),(0,gn.Q)(St)),qe=(0,nt.R)(Se,"mouseup").pipe((0,gr.E)(Le),(0,ir.p)(([Pt,Tt])=>Tt),(0,Br.c)(0),(0,gn.Q)(St));(0,It.O)([ge.pipe((0,dr.T)(Pt=>0)),qe.pipe((0,dr.T)(Pt=>1))]).subscribe(Pt=>Pe.run(()=>Mt(Pt)))}))}const Kr=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not
430([tabindex="-1"])'].join(", ");function ei(Pe){const Se=Array.from(Pe.querySelectorAll(Kr)).filter(rt=>-1!==rt.tabIndex);return[Se[0],Se[Se.length-1]]}const ai=(Pe,Se,rt,Mt=!1)=>{Pe.runOutsideAngular(()=>{const St=(0,nt.R)(Se,"focusin").pipe((0,gn.Q)(rt),(0,dr.T)(oe=>oe.target));(0,nt.R)(Se,"keydown").pipe((0,gn.Q)(rt),(0,ir.p)(oe=>"Tab"===oe.key),(0,gr.E)(St)).subscribe(([oe,L])=>{const[W,le]=ei(Se);(L===W||L===Se)&&oe.shiftKey&&(le.focus(),oe.preventDefault()),L===le&&!oe.shiftKey&&(W.focus(),oe.preventDefault())}),Mt&&(0,nt.R)(Se,"click").pipe((0,gn.Q)(rt),(0,gr.E)(St),(0,dr.T)(oe=>oe[1])).subscribe(oe=>oe.focus())})};function Mo(Pe){return Se=>(Se.modifiers.push(ue,{name:"offset",options:{offset:()=>Pe}}),Se)}class Eo{constructor(Se,rt,Mt){this.nodes=Se,this.viewRef=rt,this.componentRef=Mt}}class To{constructor(Se){this._componentType=Se,this._windowRef=null,this._contentRef=null,this._document=(0,fe.WQX)(fe.qQL),this._applicationRef=(0,fe.WQX)(Oe.o8S),this._injector=(0,fe.WQX)(fe.zZn),this._viewContainerRef=(0,fe.WQX)(Oe.c1b),this._ngZone=(0,fe.WQX)(Oe.SKi)}open(Se,rt,Mt=!1){this._windowRef||(this._contentRef=this._getContentRef(Se,rt),this._windowRef=this._viewContainerRef.createComponent(this._componentType,{injector:this._injector,projectableNodes:this._contentRef.nodes}));const{nativeElement:St}=this._windowRef.location,oe=new Ke.B;(0,Oe.mal)({mixedReadWrite:()=>{oe.next(),oe.complete()}},{injector:this._injector});const L=oe.pipe((0,st.Z)(()=>to(this._ngZone,St,({classList:W})=>W.add("show"),{animation:Mt,runningTransition:"continue"})));return{windowRef:this._windowRef,transition$:L}}close(Se=!1){return this._windowRef?to(this._ngZone,this._windowRef.location.nativeElement,({classList:rt})=>rt.remove("show"),{animation:Se,runningTransition:"stop"}).pipe((0,rr.M)(()=>{this._windowRef?.destroy(),this._contentRef?.viewRef?.destroy(),this._windowRef=null,this._contentRef=null})):(0,p.of)(void 0)}_getContentRef(Se,rt){if(Se){if(Se instanceof Oe.C4Q){const Mt=Se.createEmbeddedView(rt);return this._applicationRef.attachView(Mt),new Eo([Mt.rootNodes],Mt)}return new Eo([[this._document.createTextNode(`${Se}`)]])}return new Eo([])}}let Ur=(()=>{var Pe;class Se{constructor(){this._document=(0,fe.WQX)(fe.qQL)}hide(){const Mt=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),St=this._document.body,oe=St.style,{overflow:L,paddingRight:W}=oe;if(Mt>0){const le=parseFloat(window.getComputedStyle(St).paddingRight);oe.paddingRight=`${le+Mt}px`}return oe.overflow="hidden",()=>{Mt>0&&(oe.paddingRight=W),oe.overflow=L}}static#e=Pe=()=>(this.\u0275fac=function(St){return new(St||Se)},this.\u0275prov=fe.jDH({token:Se,factory:Se.\u0275fac,providedIn:"root"}))}return Pe(),Se})();const Co={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};function No(Pe,Se,rt,Mt,St,oe=0,L=0,W=Ce.w,le=Ce.w){const ge=function Lo(Pe){const Se=(Pe||"").trim();if(0===Se.length)return[];const rt=Se.split(/\s+/).map(St=>St.split(":")).map(St=>Co[St[0]]||St),Mt=rt.filter(St=>St.includes("manual"));if(Mt.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===Mt.length&&rt.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return Mt.length?[]:rt}(Se);if(0===ge.length)return()=>{};const Le=new Set,qe=[];let Pt;function Tt(zt,on){Pe.addEventListener(zt,on),qe.push(()=>Pe.removeEventListener(zt,on))}function Gt(zt,on){clearTimeout(Pt),on>0?Pt=setTimeout(zt,on):zt()}for(const[zt,on]of ge)if(on?(Tt(zt,()=>{Le.add(zt),Gt(()=>Le.size>0&&Mt(),oe)}),Tt(on,()=>{Le.delete(zt),Gt(()=>0===Le.size&&St(),L)})):Tt(zt,()=>rt()?Gt(St,L):Gt(Mt,oe)),"mouseenter"===zt&&"mouseleave"===on&&L>0){const Dn=W.subscribe(()=>{Le.delete(zt),clearTimeout(Pt)}),Cn=le.subscribe(()=>{Le.delete(zt),Gt(()=>0===Le.size&&St(),L)});qe.push(()=>Dn.unsubscribe(),()=>Cn.unsubscribe())}return qe.push(()=>clearTimeout(Pt)),()=>qe.forEach(zt=>zt())}},72511(ye,A,n){n.d(A,{q:()=>l});var u=n(17988);let l=(()=>{var h;class c{constructor(){this.animation=!0}static#e=h=()=>(this.\u0275fac=function(D){return new(D||c)},this.\u0275prov=u.jDH({token:c,factory:c.\u0275fac,providedIn:"root"}))}return h(),c})()},71288(ye,A,n){n.d(A,{Lw:()=>ce,Bq:()=>Re,XZ:()=>Qe});var u=n(17988),l=n(47606),h=n(96623),c=n(72511),T=n(81502),o=n(13901),D=n(64517),g=n(58),C=n(12882),v=n(90523),E=n(21676),M=n(61866);function N(...Ze){const Ye=(0,M.ms)(Ze),Ue=(0,C.K)(Ze);return Ue.length?new D.c(ne=>{let X=Ue.map(()=>[]),q=Ue.map(()=>!1);ne.add(()=>{X=q=null});for(let Te=0;!ne.closed&&Te<Ue.length;Te++)(0,g.Tg)(Ue[Te]).subscribe((0,E._)(ne,je=>{if(X[Te].push(je),X.every(Fe=>Fe.length)){const Fe=X.map(we=>we.shift());ne.next(Ye?Ye(...Fe):Fe),X.some((we,Be)=>!we.length&&q[Be])&&ne.complete()}},()=>{q[Te]=!0,!X[Te].length&&ne.complete()}
430));return()=>{X=q=null}}):v.w}var P=n(47066),I=n(28089),x=n(65213),j=n(61856),w=n(61969),H=n(21082),ae=n(75117);const S=["dialog"],J=["*"];let Y=(()=>{var Ze;class Ye{constructor(){this._ngbConfig=(0,u.WQX)(c.q),this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0,this.role="dialog"}get animation(){return this._animation??this._ngbConfig.animation}set animation(ne){this._animation=ne}static#e=Ze=()=>(this.\u0275fac=function(X){return new(X||Ye)},this.\u0275prov=u.jDH({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}))}return Ze(),Ye})();const re=["animation","backdropClass"];let G=(()=>{var Ze;class Ye{constructor(){this._nativeElement=(0,u.WQX)(l.aKT).nativeElement,this._zone=(0,u.WQX)(l.SKi),this._injector=(0,u.WQX)(u.zZn),this._cdRef=(0,u.WQX)(h.gRc)}ngOnInit(){(0,l.mal)({mixedReadWrite:()=>(0,I.cg)(this._zone,this._nativeElement,(ne,X)=>{X&&(0,I.qm)(ne),ne.classList.add("show")},{animation:this.animation,runningTransition:"continue"})},{injector:this._injector})}hide(){return(0,I.cg)(this._zone,this._nativeElement,({classList:ne})=>ne.remove("show"),{animation:this.animation,runningTransition:"stop"})}updateOptions(ne){re.forEach(X=>{(0,I.O9)(ne[X])&&(this[X]=ne[X])}),this._cdRef.markForCheck()}static#e=Ze=()=>(this.\u0275fac=function(X){return new(X||Ye)},this.\u0275cmp=l.VBU({type:Ye,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(X,q){2&X&&(l.HbH("modal-backdrop"+(q.backdropClass?" "+q.backdropClass:"")),l.AVh("show",!q.animation)("fade",q.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(X,q){},encapsulation:2}))}return Ze(),Ye})();class ce{update(Ye){}close(Ye){}dismiss(Ye){}}class pe{update(Ye){this._windowCmptRef.instance.updateOptions(Ye),this._backdropCmptRef&&this._backdropCmptRef.instance&&this._backdropCmptRef.instance.updateOptions(Ye)}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe((0,x.Q)(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe((0,x.Q)(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}constructor(Ye,Ue,ne,X){this._windowCmptRef=Ye,this._contentRef=Ue,this._backdropCmptRef=ne,this._beforeDismiss=X,this._closed=new T.B,this._dismissed=new T.B,this._hidden=new T.B,Ye.instance.dismissEvent.subscribe(q=>{this.dismiss(q)}),this.result=new Promise((q,Te)=>{this._resolve=q,this._reject=Te}),this.result.then(null,()=>{})}close(Ye){this._windowCmptRef&&(this._closed.next(Ye),this._resolve(Ye),this._removeModalElements())}_dismiss(Ye){this._dismissed.next(Ye),this._reject(Ye),this._removeModalElements()}dismiss(Ye){if(this._windowCmptRef)if(this._beforeDismiss){const Ue=this._beforeDismiss();(0,I.yL)(Ue)?Ue.then(ne=>{!1!==ne&&this._dismiss(Ye)},()=>{}):!1!==Ue&&this._dismiss(Ye)}else this._dismiss(Ye)}_removeModalElements(){const Ye=this._windowCmptRef.instance.hide(),Ue=this._backdropCmptRef?this._backdropCmptRef.instance.hide():(0,o.of)(void 0);Ye.subscribe(()=>{const{nativeElement:ne}=this._windowCmptRef.location;ne.parentNode.removeChild(ne),this._windowCmptRef.destroy(),this._contentRef?.viewRef?.destroy(),this._windowCmptRef=null,this._contentRef=null}),Ue.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:ne}=this._backdropCmptRef.location;ne.parentNode.removeChild(ne),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),N(Ye,Ue).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var De=function(Ze){return Ze[Ze.BACKDROP_CLICK=0]="BACKDROP_CLICK",Ze[Ze.ESC=1]="ESC",Ze}(De||{});const z=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","role","scrollable","size","windowClass","modalDialogClass"];let ke=(()=>{var Ze;class Ye{constructor(){this._document=(0,u.WQX)(u.qQL),this._elRef=(0,u.WQX)(l.aKT),this._zone=(0,u.WQX)(l.SKi),this._injector=(0,u.WQX)(u.zZn),this._cdRef=(0,u.WQX)(h.gRc),this._closed$=new T.B,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.role="dialog",this.dismissEvent=new l.bkB,this.shown=new T.B,this.hidden=new T.B}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":(0,I.Kg)(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(ne){this.dismissEvent.emit(ne)}ngOnInit(){this._elWithFocus=this._document.activeElement,(0,l.mal)({mixedReadWrite:()=>this._show()},{injector:this._injector})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:ne}=this._elRef,X={animation:this.animation,runningTransition:"stop"},je=N((0,I.cg)(this._zone,ne,()=>ne.classList.remove("show"),X),(0,I.cg)(this._zone,this._dialogEl.nativeElement,()=>{},X));return je.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),je}updateOptions(ne){z.forEach(X=>{(0,I.O9)(ne[X])&&(this[X]=ne[X])}),this._cdRef.markForCheck()}_show(){const ne={animation:this.animation,runningTransition:"continue"};N((0,I.cg)(this._zone,this._elRef.nativeElement,(Te,je)=>{je&&(0,I.qm)(Te),Te.classList.add("show")}
430,ne),(0,I.cg)(this._zone,this._dialogEl.nativeElement,()=>{},ne)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:ne}=this._elRef;this._zone.runOutsideAngular(()=>{(0,P.R)(ne,"keydown").pipe((0,x.Q)(this._closed$),(0,j.p)(q=>"Escape"===q.key)).subscribe(q=>{this.keyboard?requestAnimationFrame(()=>{q.defaultPrevented||this._zone.run(()=>this.dismiss(De.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let X=!1;(0,P.R)(this._dialogEl.nativeElement,"mousedown").pipe((0,x.Q)(this._closed$),(0,w.M)(()=>X=!1),(0,H.n)(()=>(0,P.R)(ne,"mouseup").pipe((0,x.Q)(this._closed$),(0,ae.s)(1))),(0,j.p)(({target:q})=>ne===q)).subscribe(()=>{X=!0}),(0,P.R)(ne,"click").pipe((0,x.Q)(this._closed$)).subscribe(({target:q})=>{ne===q&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!X&&this._zone.run(()=>this.dismiss(De.BACKDROP_CLICK))),X=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:ne}=this._elRef;if(!ne.contains(document.activeElement)){const X=ne.querySelector("[ngbAutofocus]"),q=(0,I.uh)(ne)[0];(X||q||ne).focus()}}_restoreFocus(){const ne=this._document.body,X=this._elWithFocus;let q;q=X&&X.focus&&ne.contains(X)?X:ne,this._zone.runOutsideAngular(()=>{setTimeout(()=>q.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&(0,I.cg)(this._zone,this._elRef.nativeElement,({classList:ne})=>(ne.add("modal-static"),()=>ne.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}static#e=Ze=()=>(this.\u0275fac=function(X){return new(X||Ye)},this.\u0275cmp=l.VBU({type:Ye,selectors:[["ngb-modal-window"]],viewQuery:function(X,q){if(1&X&&l.GBs(S,7),2&X){let Te;l.mGM(Te=l.lsd())&&(q._dialogEl=Te.first)}},hostAttrs:["tabindex","-1"],hostVars:8,hostBindings:function(X,q){2&X&&(l.BMQ("aria-modal",!0)("aria-labelledby",q.ariaLabelledBy)("aria-describedby",q.ariaDescribedBy)("role",q.role),l.HbH("modal d-block"+(q.windowClass?" "+q.windowClass:"")),l.AVh("fade",q.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",role:"role",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:J,decls:4,vars:2,consts:[["dialog",""],["role","document"],[1,"modal-content"]],template:function(X,q){1&X&&(l.NAR(),l.rj2(0,"div",1,0)(2,"div",2),l.SdG(3),l.eux()()),2&X&&l.HbH("modal-dialog"+(q.size?" modal-"+q.size:"")+(q.centered?" modal-dialog-centered":"")+q.fullscreenClass+(q.scrollable?" modal-dialog-scrollable":"")+(q.modalDialogClass?" "+q.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2}))}return Ze(),Ye})(),it=(()=>{var Ze;class Ye{constructor(){this._applicationRef=(0,u.WQX)(l.o8S),this._injector=(0,u.WQX)(u.zZn),this._environmentInjector=(0,u.WQX)(u.uvJ),this._document=(0,u.WQX)(u.qQL),this._scrollBar=(0,u.WQX)(I.$H),this._activeWindowCmptHasChanged=new T.B,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._modalRefs=[],this._windowCmpts=[],this._activeInstances=new l.bkB;const ne=(0,u.WQX)(l.SKi);this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const X=this._windowCmpts[this._windowCmpts.length-1];(0,I.dT)(ne,X.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(X.location.nativeElement)}})}_restoreScrollBar(){const ne=this._scrollBarRestoreFn;ne&&(this._scrollBarRestoreFn=null,ne())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(ne,X,q){const Te=q.container instanceof HTMLElement?q.container:(0,I.O9)(q.container)?this._document.querySelector(q.container):this._document.body;if(!Te)throw new Error(`The specified modal container "${q.container||"body"}" was not found in the DOM.`);this._hideScrollBar();
430const je=new ce,Fe=(ne=q.injector||ne).get(u.uvJ,null)||this._environmentInjector,we=this._getContentRef(ne,Fe,X,je,q);let Be=!1!==q.backdrop?this._attachBackdrop(Te):void 0,at=this._attachWindowComponent(Te,we.nodes),Ot=new pe(at,we,Be,q.beforeDismiss);return this._registerModalRef(Ot),this._registerWindowCmpt(at),Ot.hidden.pipe((0,ae.s)(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(this._document.body.classList.remove("modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),je.close=Et=>{Ot.close(Et)},je.dismiss=Et=>{Ot.dismiss(Et)},je.update=Et=>{Ot.update(Et)},Ot.update(q),1===this._modalRefs.length&&this._document.body.classList.add("modal-open"),Be&&Be.instance&&Be.changeDetectorRef.detectChanges(),at.changeDetectorRef.detectChanges(),Ot}get activeInstances(){return this._activeInstances}dismissAll(ne){this._modalRefs.forEach(X=>X.dismiss(ne))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(ne){let X=(0,h.a0P)(G,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector});return this._applicationRef.attachView(X.hostView),ne.appendChild(X.location.nativeElement),X}_attachWindowComponent(ne,X){let q=(0,h.a0P)(ke,{environmentInjector:this._applicationRef.injector,elementInjector:this._injector,projectableNodes:X});return this._applicationRef.attachView(q.hostView),ne.appendChild(q.location.nativeElement),q}_getContentRef(ne,X,q,Te,je){return q?q instanceof l.C4Q?this._createFromTemplateRef(q,Te):(0,I.Kg)(q)?this._createFromString(q):this._createFromComponent(ne,X,q,Te,je):new I.Lk([])}_createFromTemplateRef(ne,X){const Te=ne.createEmbeddedView({$implicit:X,close(je){X.close(je)},dismiss(je){X.dismiss(je)}});return this._applicationRef.attachView(Te),new I.Lk([Te.rootNodes],Te)}_createFromString(ne){const X=this._document.createTextNode(`${ne}`);return new I.Lk([[X]])}_createFromComponent(ne,X,q,Te,je){const Fe=u.zZn.create({providers:[{provide:ce,useValue:Te}],parent:ne}),we=(0,h.a0P)(q,{environmentInjector:X,elementInjector:Fe}),Be=we.location.nativeElement;return je.scrollable&&Be.classList.add("component-host-scrollable"),this._applicationRef.attachView(we.hostView),new I.Lk([[Be]],we.hostView,we)}_setAriaHidden(ne){const X=ne.parentElement;X&&ne!==this._document.body&&(Array.from(X.children).forEach(q=>{q!==ne&&"SCRIPT"!==q.nodeName&&(this._ariaHiddenValues.set(q,q.getAttribute("aria-hidden")),q.setAttribute("aria-hidden","true"))}),this._setAriaHidden(X))}_revertAriaHidden(){this._ariaHiddenValues.forEach((ne,X)=>{ne?X.setAttribute("aria-hidden",ne):X.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(ne){const X=()=>{const q=this._modalRefs.indexOf(ne);q>-1&&(this._modalRefs.splice(q,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(ne),this._activeInstances.emit(this._modalRefs),ne.result.then(X,X)}_registerWindowCmpt(ne){this._windowCmpts.push(ne),this._activeWindowCmptHasChanged.next(),ne.onDestroy(()=>{const X=this._windowCmpts.indexOf(ne);X>-1&&(this._windowCmpts.splice(X,1),this._activeWindowCmptHasChanged.next())})}static#e=Ze=()=>(this.\u0275fac=function(X){return new(X||Ye)},this.\u0275prov=u.jDH({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}))}return Ze(),Ye})(),Re=(()=>{var Ze;class Ye{constructor(){this._injector=(0,u.WQX)(u.zZn),this._modalStack=(0,u.WQX)(it),this._config=(0,u.WQX)(Y)}open(ne,X={}){const q={...this._config,animation:this._config.animation,...X};return this._modalStack.open(this._injector,ne,q)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(ne){this._modalStack.dismissAll(ne)}hasOpenModals(){return this._modalStack.hasOpenModals()}static#e=Ze=()=>(this.\u0275fac=function(X){return new(X||Ye)},this.\u0275prov=u.jDH({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}))}return Ze(),Ye})(),Qe=(()=>{var Ze;class Ye{static#e=Ze=()=>(this.\u0275fac=function(X){return new(X||Ye)},this.\u0275mod=l.$C({type:Ye}),this.\u0275inj=u.G2t({providers:[Re]}))}return Ze(),Ye})()},72268(ye,A,n){n.d(A,{ZM:()=>I,zr:()=>x});var u=n(17988),l=n(47606),h=n(96623),c=n(9042),T=n(28089),o=n(72511),D=n(81502);const g=["*"];
430function C(j,w){if(1&j&&l.EFF(0),2&j){const H=l.XpG(2);l.JRh(H.title)}}function v(j,w){}function E(j,w){if(1&j&&(l.j41(0,"h3",2),l.DNE(1,C,1,1,"ng-template",null,0,l.C5r)(3,v,0,0,"ng-template",4),l.k0s()),2&j){const H=l.sdS(2),ae=l.XpG();l.R7$(3),l.Y8G("ngTemplateOutlet",ae.isTitleTemplate()?ae.title:H)("ngTemplateOutletContext",ae.context)}}let M=(()=>{var j;class w{constructor(){this._ngbConfig=(0,u.WQX)(o.q),this.autoClose=!0,this.placement="auto",this.popperOptions=ae=>ae,this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}get animation(){return this._animation??this._ngbConfig.animation}set animation(ae){this._animation=ae}static#e=j=()=>(this.\u0275fac=function(S){return new(S||w)},this.\u0275prov=u.jDH({token:w,factory:w.\u0275fac,providedIn:"root"}))}return j(),w})(),N=0,P=(()=>{var j;class w{isTitleTemplate(){return this.title instanceof l.C4Q}static#e=j=()=>(this.\u0275fac=function(S){return new(S||w)},this.\u0275cmp=l.VBU({type:w,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip",2,"position","absolute"],hostVars:5,hostBindings:function(S,J){1&S&&l.bIt("mouseenter",function(){return J.onMouseEnter()})("mouseleave",function(){return J.onMouseLeave()}),2&S&&(l.Avn("id",J.id),l.HbH("popover"+(J.popoverClass?" "+J.popoverClass:"")),l.AVh("fade",J.animation))},inputs:{animation:"animation",title:"title",id:"id",popoverClass:"popoverClass",context:"context",onMouseEnter:"onMouseEnter",onMouseLeave:"onMouseLeave"},ngContentSelectors:g,decls:4,vars:1,consts:[["simpleTitle",""],["data-popper-arrow","",1,"popover-arrow"],[1,"popover-header"],[1,"popover-body"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(S,J){1&S&&(l.NAR(),l.nrm(0,"div",1),l.nVh(1,E,4,2,"h3",2),l.j41(2,"div",3),l.SdG(3),l.k0s()),2&S&&(l.R7$(),l.vxM(J.title?1:-1))},dependencies:[c.T3],encapsulation:2,changeDetection:0}))}return j(),w})(),I=(()=>{var j;class w{constructor(){this._config=(0,u.WQX)(M),this.animation=this._config.animation,this.autoClose=this._config.autoClose,this.placement=this._config.placement,this.popperOptions=this._config.popperOptions,this.triggers=this._config.triggers,this.container=this._config.container,this.disablePopover=this._config.disablePopover,this.popoverClass=this._config.popoverClass,this.openDelay=this._config.openDelay,this.closeDelay=this._config.closeDelay,this.shown=new l.bkB,this.hidden=new l.bkB,this._nativeElement=(0,u.WQX)(l.aKT).nativeElement,this._ngZone=(0,u.WQX)(l.SKi),this._document=(0,u.WQX)(u.qQL),this._changeDetector=(0,u.WQX)(h.gRc),this._injector=(0,u.WQX)(u.zZn),this._ngbPopoverWindowId="ngb-popover-"+N++,this._popupService=new T.OQ(P),this._windowRef=null,this._positioning=(0,T.F)(),this._mouseEnterPopover=new D.B,this._mouseLeavePopover=new D.B,this._opening=!0,this._transitioning=!1}open(ae){if(!this._opening&&this._transitioning&&(this._transitioning=!1,(0,T.UF)(this._windowRef.location.nativeElement)),!this._windowRef&&!this._isDisabled()){const{windowRef:S,transition$:J}=this._popupService.open(this.ngbPopover,ae??this.popoverContext,this.animation);this._opening=!0,this._transitioning=!0,this._windowRef=S,this._windowRef.setInput("animation",this.animation),this._windowRef.setInput("title",this.popoverTitle),this._windowRef.setInput("context",ae??this.popoverContext),this._windowRef.setInput("popoverClass",this.popoverClass),this._windowRef.setInput("id",this._ngbPopoverWindowId),this._windowRef.setInput("onMouseEnter",()=>this._mouseEnterPopover.next()),this._windowRef.setInput("onMouseLeave",()=>this._mouseLeavePopover.next()),this._getPositionTargetElement().setAttribute("aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.body.appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._ngZone.runOutsideAngular(()=>{this._positioning.createPopper({hostElement:this._getPositionTargetElement(),targetElement:this._windowRef.location.nativeElement,placement:this.placement,baseClass:"bs-popover",updatePopperOptions:Y=>this.popperOptions((0,T.Lt)([0,0])(Y))}),Promise.resolve().then(()=>
430{this._positioning.update()}),this._afterRenderRef=(0,l.WeM)({mixedReadWrite:()=>{this._positioning.update()}},{injector:this._injector})}),(0,T.$d)(this._ngZone,this._document,this.autoClose,()=>this.close(),this.hidden,[this._windowRef.location.nativeElement]),J.subscribe(()=>{this._transitioning&&(this._transitioning=!1,this.shown.emit())})}}close(ae=this.animation){this._opening&&this._transitioning&&(this._transitioning=!1,(0,T.UF)(this._windowRef.location.nativeElement)),this._windowRef&&(this._getPositionTargetElement().removeAttribute("aria-describedby"),this._opening=!1,this._transitioning=!0,this._popupService.close(ae).subscribe(()=>{this._windowRef=null,this._positioning.destroy(),this._afterRenderRef?.destroy(),this._transitioning&&(this._transitioning=!1,this.hidden.emit()),this._changeDetector.markForCheck()}))}toggle(){this._windowRef?this.close():this.open()}isOpen(){return null!=this._windowRef}ngOnInit(){this._unregisterListenersFn=(0,T.Qc)(this._nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay,this._mouseEnterPopover,this._mouseLeavePopover)}ngOnChanges({ngbPopover:ae,popoverTitle:S,disablePopover:J,popoverClass:Y}){Y&&this.isOpen()&&this._windowRef.setInput("popoverClass",Y.currentValue),(ae||S||J)&&this._isDisabled()&&this.close()}ngOnDestroy(){this.close(!1),this._unregisterListenersFn?.()}_isDisabled(){return!!this.disablePopover||!this.ngbPopover&&!this.popoverTitle}_getPositionTargetElement(){return((0,T.Kg)(this.positionTarget)?this._document.querySelector(this.positionTarget):this.positionTarget)||this._nativeElement}static#e=j=()=>(this.\u0275fac=function(S){return new(S||w)},this.\u0275dir=l.FsC({type:w,selectors:[["","ngbPopover",""]],inputs:{animation:"animation",autoClose:"autoClose",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle",placement:"placement",popperOptions:"popperOptions",triggers:"triggers",positionTarget:"positionTarget",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",popoverContext:"popoverContext",openDelay:"openDelay",closeDelay:"closeDelay"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],features:[l.OA$]}))}return j(),w})(),x=(()=>{var j;class w{static#e=j=()=>(this.\u0275fac=function(S){return new(S||w)},this.\u0275mod=l.$C({type:w}),this.\u0275inj=u.G2t({}))}return j(),w})()},29550(ye,A,n){function u(){}n.d(A,{C:()=>l});class l{constructor(c=1/0,T=u){this.max=c,this.dispose=T,this.map=new Map,this.newest=null,this.oldest=null}has(c){return this.map.has(c)}get(c){const T=this.getNode(c);return T&&T.value}get size(){return this.map.size}getNode(c){const T=this.map.get(c);if(T&&T!==this.newest){const{older:o,newer:D}=T;D&&(D.older=o),o&&(o.newer=D),T.older=this.newest,T.older.newer=T,T.newer=null,this.newest=T,T===this.oldest&&(this.oldest=D)}return T}set(c,T){let o=this.getNode(c);return o?o.value=T:(o={key:c,value:T,newer:null,older:this.newest},this.newest&&(this.newest.newer=o),this.newest=o,this.oldest=this.oldest||o,this.map.set(c,o),o.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(c){const T=this.map.get(c);return!!T&&(T===this.newest&&(this.newest=T.older),T===this.oldest&&(this.oldest=T.newer),T.newer&&(T.newer.older=T.older),T.older&&(T.older.newer=T.newer),this.map.delete(c),this.dispose(T.value,c),!0)}}},71069(ye,A,n){function u(){}n.d(A,{l:()=>D});const l=u,h=typeof WeakRef<"u"?WeakRef:function(g){return{deref:()=>g}},c=typeof WeakMap<"u"?WeakMap:Map,T=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:u,unregister:u}};class D{constructor(C=1/0,v=l){this.max=C,this.dispose=v,this.map=new c,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const E=this.unfinalizedNodes.values();for(let M=0;M<10024;M++){const N=E.next().value;if(!N)break;this.unfinalizedNodes.delete(N);const P=N.key;delete N.key,N.keyRef=new h(P),this.registry.register(P,N,N)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new T(this.deleteNode.bind(this))}has(C){return this.map.has(C)}get(C){const v=this.getNode(C);return v&&v.value}getNode(C){const v=this.map.get(C);if(v&&v!==this.newest){const{older:E,newer:M}=v;M&&(M.older=E),E&&(E.newer=M),v.older=this.newest,v.older.newer=v,v.newer=null,this.newest=v,v===this.oldest&&(this.oldest=M)}return v}set(C,v){let E=this.getNode(C);
430return E?E.value=v:(E={key:C,value:v,newer:null,older:this.newest},this.newest&&(this.newest.newer=E),this.newest=E,this.oldest=this.oldest||E,this.scheduleFinalization(E),this.map.set(C,E),this.size++,E.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(C){C===this.newest&&(this.newest=C.older),C===this.oldest&&(this.oldest=C.newer),C.newer&&(C.newer.older=C.older),C.older&&(C.older.newer=C.newer),this.size--;const v=C.key||C.keyRef&&C.keyRef.deref();this.dispose(C.value,v),C.keyRef?this.registry.unregister(C):this.unfinalizedNodes.delete(C),v&&this.map.delete(v)}delete(C){const v=this.map.get(C);return!!v&&(this.deleteNode(v),!0)}scheduleFinalization(C){this.unfinalizedNodes.add(C),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},31014(ye,A,n){n.d(A,{L:()=>T});const{toString:u,hasOwnProperty:l}=Object.prototype,h=Function.prototype.toString,c=new Map;function T(N,P){try{return D(N,P)}finally{c.clear()}}function D(N,P){if(N===P)return!0;const I=u.call(N);if(I!==u.call(P))return!1;switch(I){case"[object Array]":if(N.length!==P.length)return!1;case"[object Object]":{if(M(N,P))return!0;const j=g(N),w=g(P),H=j.length;if(H!==w.length)return!1;for(let ae=0;ae<H;++ae)if(!l.call(P,j[ae]))return!1;for(let ae=0;ae<H;++ae){const S=j[ae];if(!D(N[S],P[S]))return!1}return!0}case"[object Error]":return N.name===P.name&&N.message===P.message;case"[object Number]":if(N!=N)return P!=P;case"[object Boolean]":case"[object Date]":return+N==+P;case"[object RegExp]":case"[object String]":return N==`${P}`;case"[object Map]":case"[object Set]":{if(N.size!==P.size)return!1;if(M(N,P))return!0;const j=N.entries(),w="[object Map]"===I;for(;;){const H=j.next();if(H.done)break;const[ae,S]=H.value;if(!P.has(ae)||w&&!D(S,P.get(ae)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":N=new Uint8Array(N),P=new Uint8Array(P);case"[object DataView]":{let j=N.byteLength;if(j===P.byteLength)for(;j--&&N[j]===P[j];);return-1===j}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const j=h.call(N);return j===h.call(P)&&!function E(N,P){const I=N.length-P.length;return I>=0&&N.indexOf(P,I)===I}(j,v)}}return!1}function g(N){return Object.keys(N).filter(C,N)}function C(N){return void 0!==this[N]}const v="{ [native code] }";function M(N,P){let I=c.get(N);if(I){if(I.has(P))return!0}else c.set(N,I=new Set);return I.add(P),!1}},51602(ye,A,n){n.d(A,{b:()=>T});const u=()=>Object.create(null),{forEach:l,slice:h}=Array.prototype,{hasOwnProperty:c}=Object.prototype;class T{constructor(g=!0,C=u){this.weakness=g,this.makeData=C}lookup(){return this.lookupArray(arguments)}lookupArray(g){let C=this;return l.call(g,v=>C=C.getChildTrie(v)),c.call(C,"data")?C.data:C.data=this.makeData(h.call(g))}peek(){return this.peekArray(arguments)}peekArray(g){let C=this;for(let v=0,E=g.length;C&&v<E;++v){const M=C.mapFor(g[v],!1);C=M&&M.get(g[v])}return C&&C.data}remove(){return this.removeArray(arguments)}removeArray(g){let C;if(g.length){const v=g[0],E=this.mapFor(v,!1),M=E&&E.get(v);M&&(C=M.removeArray(h.call(g,1)),!M.data&&!M.weak&&(!M.strong||!M.strong.size)&&E.delete(v))}else C=this.data,delete this.data;return C}getChildTrie(g){const C=this.mapFor(g,!0);let v=C.get(g);
430return v||C.set(g,v=new T(this.weakness,this.makeData)),v}mapFor(g,C){return this.weakness&&function o(D){switch(typeof D){case"object":if(null===D)break;case"function":return!0}return!1}(g)?this.weak||(C?this.weak=new WeakMap:void 0):this.strong||(C?this.strong=new Map:void 0)}}},99016(ye,A,n){n.d(A,{CE:()=>ln,WY:()=>un,ov:()=>bn,rB:()=>$n,zL:()=>or});var u=n(56207),l=n(95536),h=n(81502),c=n(47606),T=n(17988),o=n(96623),D=n(48065);const g=ct=>"string"==typeof ct,C=()=>{let ct,$;const ue=new Promise((fe,Oe)=>{ct=fe,$=Oe});return ue.resolve=ct,ue.reject=$,ue},v=ct=>null==ct?"":""+ct,M=/###/g,N=ct=>ct&&ct.indexOf("###")>-1?ct.replace(M,"."):ct,P=ct=>!ct||g(ct),I=(ct,$,ue)=>{const fe=g($)?$.split("."):$;let Oe=0;for(;Oe<fe.length-1;){if(P(ct))return{};const Z=N(fe[Oe]);!ct[Z]&&ue&&(ct[Z]=new ue),ct=Object.prototype.hasOwnProperty.call(ct,Z)?ct[Z]:{},++Oe}return P(ct)?{}:{obj:ct,k:N(fe[Oe])}},x=(ct,$,ue)=>{const{obj:fe,k:Oe}=I(ct,$,Object);if(void 0!==fe||1===$.length)return void(fe[Oe]=ue);let Z=$[$.length-1],Ce=$.slice(0,$.length-1),p=I(ct,Ce,Object);for(;void 0===p.obj&&Ce.length;)Z=`${Ce[Ce.length-1]}.${Z}`,Ce=Ce.slice(0,Ce.length-1),p=I(ct,Ce,Object),p?.obj&&typeof p.obj[`${p.k}.${Z}`]<"u"&&(p.obj=void 0);p.obj[`${p.k}.${Z}`]=ue},w=(ct,$)=>{const{obj:ue,k:fe}=I(ct,$);if(ue&&Object.prototype.hasOwnProperty.call(ue,fe))return ue[fe]},ae=(ct,$,ue)=>{for(const fe in $)"__proto__"!==fe&&"constructor"!==fe&&(fe in ct?g(ct[fe])||ct[fe]instanceof String||g($[fe])||$[fe]instanceof String?ue&&(ct[fe]=$[fe]):ae(ct[fe],$[fe],ue):ct[fe]=$[fe]);return ct},S=ct=>ct.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var J={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Y=ct=>g(ct)?ct.replace(/[&<>"'\/]/g,$=>J[$]):ct,G=[" ",",","?","!",";"],ce=new class re{constructor($){this.capacity=$,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp($){const ue=this.regExpMap.get($);if(void 0!==ue)return ue;const fe=new RegExp($);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set($,fe),this.regExpQueue.push($),fe}}(20),De=(ct,$,ue=".")=>{if(!ct)return;if(ct[$])return Object.prototype.hasOwnProperty.call(ct,$)?ct[$]:void 0;const fe=$.split(ue);let Oe=ct;for(let Z=0;Z<fe.length;){if(!Oe||"object"!=typeof Oe)return;let Ce,p="";for(let Ke=Z;Ke<fe.length;++Ke)if(Ke!==Z&&(p+=ue),p+=fe[Ke],Ce=Oe[p],void 0!==Ce){if(["string","number","boolean"].indexOf(typeof Ce)>-1&&Ke<fe.length-1)continue;Z+=Ke-Z+1;break}Oe=Ce}return Oe},z=ct=>ct?.replace("_","-"),ke={type:"logger",log(ct){this.output("log",ct)},warn(ct){this.output("warn",ct)},error(ct){this.output("error",ct)},output(ct,$){console?.[ct]?.apply?.(console,$)}};class it{constructor($,ue={}){this.init($,ue)}init($,ue={}){this.prefix=ue.prefix||"i18next:",this.logger=$||ke,this.options=ue,this.debug=ue.debug}log(...$){return this.forward($,"log","",!0)}warn(...$){return this.forward($,"warn","",!0)}error(...$){return this.forward($,"error","")}deprecate(...$){return this.forward($,"warn","WARNING DEPRECATED: ",!0)}forward($,ue,fe,Oe){return Oe&&!this.debug?null:(g($[0])&&($[0]=`${fe}${this.prefix} ${$[0]}`),this.logger[ue]($))}create($){return new it(this.logger,{prefix:`${this.prefix}:${$}:`,...this.options})}clone($){return($=$||this.options).prefix=$.prefix||this.prefix,new it(this.logger,$)}}var Re=new it;class Qe{constructor(){this.observers={}}on($,ue){return $.split(" ").forEach(fe=>{this.observers[fe]||(this.observers[fe]=new Map);const Oe=this.observers[fe].get(ue)||0;this.observers[fe].set(ue,Oe+1)}),this}off($,ue){if(this.observers[$]){if(!ue)return void delete this.observers[$];this.observers[$].delete(ue)}}emit($,...ue){this.observers[$]&&Array.from(this.observers[$].entries()).forEach(([Oe,Z])=>{for(let Ce=0;Ce<Z;Ce++)Oe(...ue)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([Oe,Z])=>{for(let Ce=0;Ce<Z;Ce++)Oe.apply(Oe,[$,...ue])})}}class Ze extends Qe{constructor($,ue={ns:["translation"],defaultNS:"translation"}){super(),this.data=$||{},this.options=ue,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces($){this.options.ns.indexOf($)<0&&this.options.ns.push($)}removeNamespaces($){const ue=this.options.ns.indexOf($);ue>-1&&this.options.ns.splice(ue,1)}getResource($,ue,fe,Oe={}){const Z=void 0!==Oe.keySeparator?Oe.keySeparator:this.options.keySeparator,Ce=void 0!==Oe.ignoreJSONStructure?Oe.ignoreJSONStructure:this.options.ignoreJSONStructure;let p;$.indexOf(".")>-1?p=$.split("."):(p=[$,ue],fe&&(Array.isArray(fe)?p.push(...fe):g(fe)&&Z?p.push(...fe.
vendor: 2,142 bytes, line 430
430split(Z)):p.push(fe)));const Ke=w(this.data,p);return!Ke&&!ue&&!fe&&$.indexOf(".")>-1&&($=p[0],ue=p[1],fe=p.slice(2).join(".")),!Ke&&Ce&&g(fe)?De(this.data?.[$]?.[ue],fe,Z):Ke}addResource($,ue,fe,Oe,Z={silent:!1}){const Ce=void 0!==Z.keySeparator?Z.keySeparator:this.options.keySeparator;let p=[$,ue];fe&&(p=p.concat(Ce?fe.split(Ce):fe)),$.indexOf(".")>-1&&(p=$.split("."),Oe=ue,ue=p[1]),this.addNamespaces(ue),x(this.data,p,Oe),Z.silent||this.emit("added",$,ue,fe,Oe)}addResources($,ue,fe,Oe={silent:!1}){for(const Z in fe)(g(fe[Z])||Array.isArray(fe[Z]))&&this.addResource($,ue,Z,fe[Z],{silent:!0});Oe.silent||this.emit("added",$,ue,fe)}addResourceBundle($,ue,fe,Oe,Z,Ce={silent:!1,skipCopy:!1}){let p=[$,ue];$.indexOf(".")>-1&&(p=$.split("."),Oe=fe,fe=ue,ue=p[1]),this.addNamespaces(ue);let Ke=w(this.data,p)||{};Ce.skipCopy||(fe=JSON.parse(JSON.stringify(fe))),Oe?ae(Ke,fe,Z):Ke={...Ke,...fe},x(this.data,p,Ke),Ce.silent||this.emit("added",$,ue,fe)}removeResourceBundle($,ue){this.hasResourceBundle($,ue)&&delete this.data[$][ue],this.removeNamespaces(ue),this.emit("removed",$,ue)}hasResourceBundle($,ue){return void 0!==this.getResource($,ue)}getResourceBundle($,ue){return ue||(ue=this.options.defaultNS),this.getResource($,ue)}getDataByLanguage($){return this.data[$]}hasLanguageSomeTranslations($){const ue=this.getDataByLanguage($);return!!(ue&&Object.keys(ue)||[]).find(Oe=>ue[Oe]&&Object.keys(ue[Oe]).length>0)}toJSON(){return this.data}}var Ye={processors:{},addPostProcessor(ct){this.processors[ct.name]=ct},handle(ct,$,ue,fe,Oe){return ct.forEach(Z=>{$=this.processors[Z]?.process($,ue,fe,Oe)??$}),$}};const Ue=Symbol("i18next/PATH_KEY");function X(ct,$){const{[Ue]:ue}=ct(function ne(){const ct=[],$=Object.create(null);let ue;return $.get=(fe,Oe)=>(ue?.revoke?.(),Oe===Ue?ct:(ct.push(Oe),ue=Proxy.revocable(fe,$),ue.proxy)),Proxy.revocable(Object.create(null),$).proxy}());return ue.join($?.keySeparator??".")}const q={},Te=ct=>!g(ct)&&"boolean"!=typeof ct&&"number"!=typeof ct;class je extends Qe{constructor($,ue={}){super(),((ct,$,ue)=>{["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
430i18nFormat","utils"].forEach(fe=>{$[fe]&&(ue[fe]=$[fe])})})(0,$,this),this.options=ue,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=Re.create("translator")}changeLanguage($){$&&(this.language=$)}exists($,ue={interpolation:{}}){const fe={...ue};if(null==$)return!1;const Oe=this.resolve($,fe);if(void 0===Oe?.res)return!1;const Z=Te(Oe.res);return!(!1===fe.returnObjects&&Z)}extractFromKey($,ue){let fe=void 0!==ue.nsSeparator?ue.nsSeparator:this.options.nsSeparator;void 0===fe&&(fe=":");const Oe=void 0!==ue.keySeparator?ue.keySeparator:this.options.keySeparator;let Z=ue.ns||this.options.defaultNS||[];const Ce=fe&&$.indexOf(fe)>-1,p=!(this.options.userDefinedKeySeparator||ue.keySeparator||this.options.userDefinedNsSeparator||ue.nsSeparator||((ct,$,ue)=>{$=$||"",ue=ue||"";const fe=G.filter(Ce=>$.indexOf(Ce)<0&&ue.indexOf(Ce)<0);if(0===fe.length)return!0;const Oe=ce.getRegExp(`(${fe.map(Ce=>"?"===Ce?"\\?":Ce).join("|")})`);let Z=!Oe.test(ct);if(!Z){const Ce=ct.indexOf(ue);Ce>0&&!Oe.test(ct.substring(0,Ce))&&(Z=!0)}return Z})($,fe,Oe));if(Ce&&!p){const Ke=$.match(this.interpolator.nestingRegexp);if(Ke&&Ke.length>0)return{key:$,namespaces:g(Z)?[Z]:Z};const nt=$.split(fe);(fe!==Oe||fe===Oe&&this.options.ns.indexOf(nt[0])>-1)&&(Z=nt.shift()),$=nt.join(Oe)}return{key:$,namespaces:g(Z)?[Z]:Z}}translate($,ue,fe){let Oe="object"==typeof ue?{...ue}:ue;if("object"!=typeof Oe&&this.options.overloadTranslationOptionHandler&&(Oe=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof Oe&&(Oe={...Oe}),Oe||(Oe={}),null==$)return"";"function"==typeof $&&($=X($,{...this.options,...Oe})),Array.isArray($)||($=[String($)]);const Z=void 0!==Oe.returnDetails?Oe.returnDetails:this.options.returnDetails,Ce=void 0!==Oe.keySeparator?Oe.keySeparator:this.options.keySeparator,{key:p,namespaces:Ke}=this.extractFromKey($[$.length-1],Oe),nt=Ke[Ke.length-1];let yt=void 0!==Oe.nsSeparator?Oe.nsSeparator:this.options.nsSeparator;void 0===yt&&(yt=":");const It=Oe.lng||this.language,dn=Oe.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===It?.toLowerCase())return dn?Z?{res:`${nt}${yt}${p}`,usedKey:p,exactUsedKey:p,usedLng:It,usedNS:nt,usedParams:this.getUsedParamsDetails(Oe)}:`${nt}${yt}${p}`:Z?{res:p,usedKey:p,exactUsedKey:p,usedLng:It,usedNS:nt,usedParams:this.getUsedParamsDetails(Oe)}:p;const fn=this.resolve($,Oe);let gn=fn?.res;const ir=fn?.usedKey||p,rr=fn?.exactUsedKey||p,gr=void 0!==Oe.joinArrays?Oe.joinArrays:this.options.joinArrays,Br=!this.i18nFormat||this.i18nFormat.handleAsObject,st=void 0!==Oe.count&&!g(Oe.count),Dt=je.hasDefaultValue(Oe),xt=st?this.pluralResolver.getSuffix(It,Oe.count,Oe):"",Zt=Oe.ordinal&&st?this.pluralResolver.getSuffix(It,Oe.count,{ordinal:!1}):"",xn=st&&!Oe.ordinal&&0===Oe.count,Rn=xn&&Oe[`defaultValue${this.options.pluralSeparator}zero`]||Oe[`defaultValue${xt}`]||Oe[`defaultValue${Zt}`]||Oe.defaultValue;let wn=gn;Br&&!gn&&Dt&&(wn=Rn);const Ir=Te(wn),Hr=Object.prototype.toString.apply(wn);if(!(Br&&wn&&Ir&&["[object Number]","[object Function]","[object RegExp]"].indexOf(Hr)<0)||g(gr)&&Array.isArray(wn))if(Br&&g(gr)&&Array.isArray(gn))gn=gn.join(gr),gn&&(gn=this.extendTranslation(gn,$,Oe,fe));else{let Tr=!1,Lr=!1;!this.isValidLookup(gn)&&Dt&&(Tr=!0,gn=Rn),this.isValidLookup(gn)||(Lr=!0,gn=p);const On=(Oe.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&Lr?void 0:gn,mr=Dt&&Rn!==gn&&this.options.updateMissing;if(Lr||Tr||mr){if(this.logger.log(mr?"updateKey":"missingKey",It,nt,p,mr?Rn:gn),Ce){const Je=this.resolve(p,{...Oe,keySeparator:!1});Je&&Je.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let Tn=[];const Yr=this.languageUtils.getFallbackCodes(this.options.fallbackLng,Oe.lng||this.language);if("fallback"===this.options.saveMissingTo&&Yr&&Yr[0])for(let Je=0;Je<Yr.length;Je++)Tn.push(Yr[Je]);else"all"===this.options.saveMissingTo?Tn=this.languageUtils.toResolveHierarchy(Oe.lng||this.language):Tn.push(Oe.lng||this.language);const de=(Je,Ee,xe)=>
430{const ft=Dt&&xe!==gn?xe:On;this.options.missingKeyHandler?this.options.missingKeyHandler(Je,nt,Ee,ft,mr,Oe):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(Je,nt,Ee,ft,mr,Oe),this.emit("missingKey",Je,nt,Ee,gn)};this.options.saveMissing&&(this.options.saveMissingPlurals&&st?Tn.forEach(Je=>{const Ee=this.pluralResolver.getSuffixes(Je,Oe);xn&&Oe[`defaultValue${this.options.pluralSeparator}zero`]&&Ee.indexOf(`${this.options.pluralSeparator}zero`)<0&&Ee.push(`${this.options.pluralSeparator}zero`),Ee.forEach(xe=>{de([Je],p+xe,Oe[`defaultValue${xe}`]||Rn)})}):de(Tn,p,Rn))}gn=this.extendTranslation(gn,$,Oe,fn,fe),Lr&&gn===p&&this.options.appendNamespaceToMissingKey&&(gn=`${nt}${yt}${p}`),(Lr||Tr)&&this.options.parseMissingKeyHandler&&(gn=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${nt}${yt}${p}`:p,Tr?gn:void 0,Oe))}else{if(!Oe.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const Tr=this.options.returnedObjectHandler?this.options.returnedObjectHandler(ir,wn,{...Oe,ns:Ke}):`key '${p} (${this.language})' returned an object instead of string.`;return Z?(fn.res=Tr,fn.usedParams=this.getUsedParamsDetails(Oe),fn):Tr}if(Ce){const Tr=Array.isArray(wn),Lr=Tr?[]:{},eo=Tr?rr:ir;for(const On in wn)if(Object.prototype.hasOwnProperty.call(wn,On)){const mr=`${eo}${Ce}${On}`;Lr[On]=this.translate(mr,Dt&&!gn?{...Oe,defaultValue:Te(Rn)?Rn[On]:void 0,joinArrays:!1,ns:Ke}:{...Oe,joinArrays:!1,ns:Ke}),Lr[On]===mr&&(Lr[On]=wn[On])}gn=Lr}}return Z?(fn.res=gn,fn.usedParams=this.getUsedParamsDetails(Oe),fn):gn}extendTranslation($,ue,fe,Oe,Z){if(this.i18nFormat?.parse)$=this.i18nFormat.parse($,{...this.options.interpolation.defaultVariables,...fe},fe.lng||this.language||Oe.usedLng,Oe.usedNS,Oe.usedKey,{resolved:Oe});else if(!fe.skipInterpolation){fe.interpolation&&this.interpolator.init({...fe,interpolation:{...this.options.interpolation,...fe.interpolation}});const Ke=g($)&&(void 0!==fe?.interpolation?.skipOnVariables?fe.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let nt;if(Ke){const It=$.match(this.interpolator.nestingRegexp);nt=It&&It.length}let yt=fe.replace&&!g(fe.replace)?fe.replace:fe;if(this.options.interpolation.defaultVariables&&(yt={...this.options.interpolation.defaultVariables,...yt}),$=this.interpolator.interpolate($,yt,fe.lng||this.language||Oe.usedLng,fe),Ke){const It=$.match(this.interpolator.nestingRegexp);nt<(It&&It.length)&&(fe.nest=!1)}!fe.lng&&Oe&&Oe.res&&(fe.lng=this.language||Oe.usedLng),!1!==fe.nest&&($=this.interpolator.nest($,(...It)=>Z?.[0]!==It[0]||fe.context?this.translate(...It,ue):(this.logger.warn(`It seems you are nesting recursively key: ${It[0]} in key: ${ue[0]}`),null),fe)),fe.interpolation&&this.interpolator.reset()}const Ce=fe.postProcess||this.options.postProcess,p=g(Ce)?[Ce]:Ce;return null!=$&&p?.length&&!1!==fe.applyPostProcessor&&($=Ye.handle(p,$,ue,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...Oe,usedParams:this.getUsedParamsDetails(fe)},...fe}:fe,this)),$}resolve($,ue={}){let fe,Oe,Z,Ce,p;return g($)&&($=[$]),$.forEach(Ke=>{if(this.isValidLookup(fe))return;const nt=this.extractFromKey(Ke,ue),yt=nt.key;Oe=yt;let It=nt.namespaces;this.options.fallbackNS&&(It=It.concat(this.options.fallbackNS));const dn=void 0!==ue.count&&!g(ue.count),fn=dn&&!ue.ordinal&&0===ue.count,gn=void 0!==ue.context&&(g(ue.context)||"number"==typeof ue.context)&&""!==ue.context,ir=ue.lngs?ue.lngs:this.languageUtils.toResolveHierarchy(ue.lng||this.language,ue.fallbackLng);It.forEach(rr=>{this.isValidLookup(fe)||(p=rr,!q[`${ir[0]}-${rr}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(p)&&(q[`${ir[0]}-${rr}`]=!0,this.logger.warn(`key "${Oe}" for languages "${ir.join(", ")}" won't get resolved as namespace "${p}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),ir.forEach(dr=>{if(this.isValidLookup(fe))return;Ce=dr;const gr=[yt];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(gr,yt,dr,rr,ue);else{let st;dn&&(st=this.pluralResolver.getSuffix(dr,ue.count,ue));const Dt=`${this.options.pluralSeparator}zero`,xt=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(dn&&(ue.ordinal&&0===st.indexOf(xt)&&gr.push(yt+st.replace(xt,this.options.pluralSeparator)),gr.push(yt+st),fn&&gr.push(yt+Dt)),gn){const Zt=`${yt}${this.options.contextSeparator||"_"}${ue.context}`;gr.push(Zt),dn&&(ue.ordinal&&0===st.indexOf(xt)&&gr.push(Zt+st.replace(xt,this.options.pluralSeparator)),gr.push(Zt+st),fn&&gr.push(Zt+Dt))}}let Br;for(;Br=gr.pop();)this.isValidLookup(fe)||(Z=Br,fe=this.getResource(dr,rr,Br,ue))}))})}),{res:fe,usedKey:Oe,exactUsedKey:Z,usedLng:Ce,usedNS:p}}isValidLookup($){return!(void 0===$||!this.options.returnNull&&null===$||!this.options.returnEmptyString&&""===$)}getResource($,ue,fe,Oe={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource($,ue,fe,Oe):this.resourceStore.getResource($,ue,fe,Oe)}getUsedParamsDetails($={}){const ue=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],fe=$.replace&&!g($.replace);let Oe=fe?$.replace:$;if(fe&&typeof $.count<"u"&&(Oe.count=$.count),this.options.interpolation.defaultVariables&&(Oe={...this.options.interpolation.defaultVariables,...Oe}),!fe){Oe={...Oe};for(const Z of ue)delete Oe[Z]}return Oe}static hasDefaultValue($){for(const fe in $)if(Object.prototype.hasOwnProperty.call($,fe)&&"defaultValue"===fe.substring(0,12)&&void 0!==$[fe])return!0;return!1}}class Fe{constructor($){this.options=$,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Re.create("languageUtils")}getScriptPartFromCode($){if(!($=z($))||$.indexOf("-")<0)return null;const ue=$.split("-");return 2===ue.length||(ue.pop(),"x"===ue[ue.length-1].toLowerCase())?null:this.formatLanguageCode(ue.join("-"))}getLanguagePartFromCode($){if(!($=z($))||$.indexOf("-")<0)return $;const ue=$.split("-");return this.formatLanguageCode(ue[0])}formatLanguageCode($){if(g($)&&$.indexOf("-")>-1){let ue;
430try{ue=Intl.getCanonicalLocales($)[0]}catch{}return ue&&this.options.lowerCaseLng&&(ue=ue.toLowerCase()),ue||(this.options.lowerCaseLng?$.toLowerCase():$)}return this.options.cleanCode||this.options.lowerCaseLng?$.toLowerCase():$}isSupportedCode($){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&($=this.getLanguagePartFromCode($)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf($)>-1}getBestMatchFromCodes($){if(!$)return null;let ue;return $.forEach(fe=>{if(ue)return;const Oe=this.formatLanguageCode(fe);(!this.options.supportedLngs||this.isSupportedCode(Oe))&&(ue=Oe)}),!ue&&this.options.supportedLngs&&$.forEach(fe=>{if(ue)return;const Oe=this.getScriptPartFromCode(fe);if(this.isSupportedCode(Oe))return ue=Oe;const Z=this.getLanguagePartFromCode(fe);if(this.isSupportedCode(Z))return ue=Z;ue=this.options.supportedLngs.find(Ce=>Ce===Z?Ce:Ce.indexOf("-")<0&&Z.indexOf("-")<0||!(Ce.indexOf("-")>0&&Z.indexOf("-")<0&&Ce.substring(0,Ce.indexOf("-"))===Z||0===Ce.indexOf(Z)&&Z.length>1)?void 0:Ce)}),ue||(ue=this.getFallbackCodes(this.options.fallbackLng)[0]),ue}getFallbackCodes($,ue){if(!$)return[];if("function"==typeof $&&($=$(ue)),g($)&&($=[$]),Array.isArray($))return $;if(!ue)return $.default||[];let fe=$[ue];return fe||(fe=$[this.getScriptPartFromCode(ue)]),fe||(fe=$[this.formatLanguageCode(ue)]),fe||(fe=$[this.getLanguagePartFromCode(ue)]),fe||(fe=$.default),fe||[]}toResolveHierarchy($,ue){const fe=this.getFallbackCodes((!1===ue?[]:ue)||this.options.fallbackLng||[],$),Oe=[],Z=Ce=>{Ce&&(this.isSupportedCode(Ce)?Oe.push(Ce):this.logger.warn(`rejecting language code not found in supportedLngs: ${Ce}`))};return g($)&&($.indexOf("-")>-1||$.indexOf("_")>-1)?("languageOnly"!==this.options.load&&Z(this.formatLanguageCode($)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&Z(this.getScriptPartFromCode($)),"currentOnly"!==this.options.load&&Z(this.getLanguagePartFromCode($))):g($)&&Z(this.formatLanguageCode($)),fe.forEach(Ce=>{Oe.indexOf(Ce)<0&&Z(this.formatLanguageCode(Ce))}),Oe}}const we={zero:0,one:1,two:2,few:3,many:4,other:5},Be={select:ct=>1===ct?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class at{constructor($,ue={}){this.languageUtils=$,this.options=ue,this.logger=Re.create("pluralResolver"),this.pluralRulesCache={}}addRule($,ue){this.rules[$]=ue}clearCache(){this.pluralRulesCache={}}getRule($,ue={}){const fe=z("dev"===$?"en":$),Oe=ue.ordinal?"ordinal":"cardinal",Z=JSON.stringify({cleanedCode:fe,type:Oe});if(Z in this.pluralRulesCache)return this.pluralRulesCache[Z];let Ce;try{Ce=new Intl.PluralRules(fe,{type:Oe})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Be;if(!$.match(/-|_/))return Be;const Ke=this.languageUtils.getLanguagePartFromCode($);Ce=this.getRule(Ke,ue)}return this.pluralRulesCache[Z]=Ce,Ce}needsPlural($,ue={}){let fe=this.getRule($,ue);return fe||(fe=this.getRule("dev",ue)),fe?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey($,ue,fe={}){return this.getSuffixes($,fe).map(Oe=>`${ue}${Oe}`)}getSuffixes($,ue={}){let fe=this.getRule($,ue);return fe||(fe=this.getRule("dev",ue)),fe?fe.resolvedOptions().pluralCategories.sort((Oe,Z)=>we[Oe]-we[Z]).map(Oe=>`${this.options.prepend}${ue.ordinal?`ordinal${this.options.prepend}`:""}${Oe}`):[]}getSuffix($,ue,fe={}){const Oe=this.getRule($,fe);return Oe?`${this.options.prepend}${fe.ordinal?`ordinal${this.options.prepend}`:""}${Oe.select(ue)}`:(this.logger.warn(`no plural rule found for: ${$}`),this.getSuffix("dev",ue,fe))}}const Ot=(ct,$,ue,fe=".",Oe=!0)=>{let Z=((ct,$,ue)=>{const fe=w(ct,ue);return void 0!==fe?fe:w($,ue)})(ct,$,ue);return!Z&&Oe&&g(ue)&&(Z=De(ct,ue,fe),void 0===Z&&(Z=De($,ue,fe))),Z},Et=ct=>ct.replace(/\$/g,"$$$$");class Yt{constructor($={}){this.logger=Re.create("interpolator"),this.options=$,this.format=$?.interpolation?.format||(ue=>ue),this.init($)}init($={}){$.interpolation||($.interpolation={escapeValue:!0});const{escape:ue,escapeValue:fe,useRawValueToEscape:Oe,prefix:Z,prefixEscaped:Ce,suffix:p,suffixEscaped:Ke,formatSeparator:nt,unescapeSuffix:yt,unescapePrefix:It,nestingPrefix:dn,nestingPrefixEscaped:fn,nestingSuffix:gn,nestingSuffixEscaped:ir,nestingOptionsSeparator:rr,maxReplaces:dr,alwaysFormat:gr}=$.interpolation;this.escape=void 0!==ue?ue:Y,this.escapeValue=void 0===fe||fe,this.useRawValueToEscape=void 0!==Oe&&Oe,this.prefix=Z?S(
430Z):Ce||"{{",this.suffix=p?S(p):Ke||"}}",this.formatSeparator=nt||",",this.unescapePrefix=yt?"":It||"-",this.unescapeSuffix=this.unescapePrefix?"":yt||"",this.nestingPrefix=dn?S(dn):fn||S("$t("),this.nestingSuffix=gn?S(gn):ir||S(")"),this.nestingOptionsSeparator=rr||",",this.maxReplaces=dr||1e3,this.alwaysFormat=void 0!==gr&&gr,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const $=(ue,fe)=>ue?.source===fe?(ue.lastIndex=0,ue):new RegExp(fe,"g");this.regexp=$(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=$(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=$(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate($,ue,fe,Oe){let Z,Ce,p;const Ke=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},nt=fn=>{if(fn.indexOf(this.formatSeparator)<0){const dr=Ot(ue,Ke,fn,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(dr,void 0,fe,{...Oe,...ue,interpolationkey:fn}):dr}const gn=fn.split(this.formatSeparator),ir=gn.shift().trim(),rr=gn.join(this.formatSeparator).trim();return this.format(Ot(ue,Ke,ir,this.options.keySeparator,this.options.ignoreJSONStructure),rr,fe,{...Oe,...ue,interpolationkey:ir})};this.resetRegExp();const yt=Oe?.missingInterpolationHandler||this.options.missingInterpolationHandler,It=void 0!==Oe?.interpolation?.skipOnVariables?Oe.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:fn=>Et(fn)},{regex:this.regexp,safeValue:fn=>Et(this.escapeValue?this.escape(fn):fn)}].forEach(fn=>{for(p=0;Z=fn.regex.exec($);){const gn=Z[1].trim();if(Ce=nt(gn),void 0===Ce)if("function"==typeof yt){const rr=yt($,Z,Oe);Ce=g(rr)?rr:""}else if(Oe&&Object.prototype.hasOwnProperty.call(Oe,gn))Ce="";else{if(It){Ce=Z[0];continue}this.logger.warn(`missed to pass in variable ${gn} for interpolating ${$}`),Ce=""}else!g(Ce)&&!this.useRawValueToEscape&&(Ce=v(Ce));const ir=fn.safeValue(Ce);if($=$.replace(Z[0],ir),It?(fn.regex.lastIndex+=Ce.length,fn.regex.lastIndex-=Z[0].length):fn.regex.lastIndex=0,p++,p>=this.maxReplaces)break}}),$}nest($,ue,fe={}){let Oe,Z,Ce;const p=(Ke,nt)=>{const yt=this.nestingOptionsSeparator;if(Ke.indexOf(yt)<0)return Ke;const It=Ke.split(new RegExp(`${yt}[ ]*{`));let dn=`{${It[1]}`;Ke=It[0],dn=this.interpolate(dn,Ce);const fn=dn.match(/'/g),gn=dn.match(/"/g);((fn?.length??0)%2==0&&!gn||gn.length%2!=0)&&(dn=dn.replace(/'/g,'"'));try{Ce=JSON.parse(dn),nt&&(Ce={...nt,...Ce})}catch(ir){return this.logger.warn(`failed parsing options string in nesting for key ${Ke}`,ir),`${Ke}${yt}${dn}`}return Ce.defaultValue&&Ce.defaultValue.indexOf(this.prefix)>-1&&delete Ce.defaultValue,Ke};for(;Oe=this.nestingRegexp.exec($);){let Ke=[];Ce={...fe},Ce=Ce.replace&&!g(Ce.replace)?Ce.replace:Ce,Ce.applyPostProcessor=!1,delete Ce.defaultValue;const nt=/{.*}/.test(Oe[1])?Oe[1].lastIndexOf("}")+1:Oe[1].indexOf(this.formatSeparator);if(-1!==nt&&(Ke=Oe[1].slice(nt).split(this.formatSeparator).map(yt=>yt.trim()).filter(Boolean),Oe[1]=Oe[1].slice(0,nt)),Z=ue(p.call(this,Oe[1].trim(),Ce),Ce),Z&&Oe[0]===$&&!g(Z))return Z;g(Z)||(Z=v(Z)),Z||(this.logger.warn(`missed to resolve ${Oe[1]} for nesting ${$}`),Z=""),Ke.length&&(Z=Ke.reduce((yt,It)=>this.format(yt,It,fe.lng,{...fe,interpolationkey:Oe[1].trim()}),Z.trim())),$=$.replace(Oe[0],Z),this.regexp.lastIndex=0}return $}}const bt=ct=>{const $={};return(ue,fe,Oe)=>{let Z=Oe;Oe&&Oe.interpolationkey&&Oe.formatParams&&Oe.formatParams[Oe.interpolationkey]&&Oe[Oe.interpolationkey]&&(Z={...Z,[Oe.interpolationkey]:void 0});const Ce=fe+JSON.stringify(Z);let p=$[Ce];return p||(p=ct(z(fe),Oe),$[Ce]=p),p(ue)}},Xe=ct=>($,ue,fe)=>ct(z(ue),fe)($);class tt{constructor($={}){this.logger=Re.create("formatter"),this.options=$,this.init($)}init($,ue={interpolation:{}}){this.formatSeparator=ue.interpolation.formatSeparator||",";const fe=ue.cacheInBuiltFormats?bt:Xe;this.formats={number:fe((Oe,Z)=>{const Ce=new Intl.NumberFormat(Oe,{...Z});return p=>Ce.format(p)}),currency:fe((Oe,Z)=>{const Ce=new Intl.NumberFormat(Oe,{...Z,style:"currency"});return p=>Ce.format(p)}),datetime:fe((Oe,Z)=>{const Ce=new Intl.DateTimeFormat(Oe,{...Z});return p=>Ce.format(p)}),relativetime:fe((Oe,Z)=>{const Ce=new Intl.RelativeTimeFormat(Oe,{...Z});return p=>Ce.format(p,Z.range||"day")}),list:fe((Oe,Z)=>{const Ce=new Intl.ListFormat(Oe,{...Z});return p=>Ce.format(p)})}}add($,ue){this.formats[$.toLowerCase().trim()]=ue}addCached($,ue){this.formats[$.toLowerCase().trim()]=bt(ue)}format($,ue,fe,Oe={}){const Z=ue.split(this.formatSeparator);if(Z.length>1&&Z[0].indexOf("(")>1&&Z[0].indexOf(")")<0&&Z.find(p=>p.indexOf(")")>-1)){const p=Z.findIndex(Ke=>Ke.indexOf(")")>-1);Z[0]=[Z[0],...Z.splice(1,p)].join(this.formatSeparator)}return Z.reduce((p,Ke)=>{const{formatName:nt,formatOptions:yt}=(ct=>{let $=ct.toLowerCase().trim();const ue={};if(ct.indexOf("(")>-1){const fe=ct.split("(");$=fe[0].toLowerCase().trim();const Oe=fe[1].substring(0,fe[1].length-1);"currency"===$&&Oe.indexOf(":")<0?ue.currency||(ue.currency=Oe.trim()):"relativetime"===$&&Oe.indexOf(":")<0?ue.range||(ue.range=Oe.trim()):Oe.split(";").forEach(Ce=>{if(Ce){const[p,...Ke]=Ce.split(":"),nt=Ke.join(":").trim().replace(/^'+|'+$/g,""),yt=p.trim();ue[yt]||(ue[yt]=nt),"false"===nt&&(ue[yt]=!1),"true"===nt&&(ue[yt]=!0),isNaN(nt)||(ue[yt]=parseInt(nt,10))}})}return{formatName:$,formatOptions:ue}})(Ke);if(this.formats[nt]){let It=p;try{const dn=Oe?.formatParams?.[Oe.interpolationkey]||{};It=this.formats[nt](p,dn.locale||dn.lng||Oe.locale||Oe.lng||fe,{...yt,...Oe,...dn})}catch(dn){this.logger.warn(dn)}return It}return this.logger.warn(`there was no format function for ${nt}`),p},$)}}class ze extends Qe{constructor($,ue,fe,Oe={}){super(),this.backend=$,this.store=ue,this.services=fe,this.languageUtils=fe.languageUtils,this.options=Oe,this.logger=Re.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=Oe.maxParallelReads||10,this.readingCalls=0,this.maxRetries=Oe.maxRetries>=0?Oe.maxRetries:5,this.retryTimeout=Oe.retryTimeout>=1?Oe.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(fe,Oe.backend,Oe)}queueLoad($,ue,fe,Oe){const Z={},Ce={},p={},Ke={};return $.forEach(nt=>{let yt=!0;ue.forEach(It=>{const dn=`${nt}|${It}`;!fe.reload&&this.store.hasResourceBundle(nt,It)?this.state[dn]=2:this.state[dn]<0||(1===this.state[dn]?void 0===Ce[dn]&&(Ce[dn]=!0):(this.state[dn]=1,yt=!1,void 0===Ce[dn]&&(Ce[dn]=!0),void 0===Z[dn]&&(Z[dn]=!0),void 0===Ke[It]&&(Ke[It]=!0)))}),yt||(p[nt]=!0)}),(Object.keys(Z).length||Object.keys(Ce).length)&&this.queue.push({pending:Ce,pendingCount:Object.keys(Ce).length,loaded:{},errors:[],callback:Oe}
vendor: 4,398 bytes, line 430
430),{toLoad:Object.keys(Z),pending:Object.keys(Ce),toLoadLanguages:Object.keys(p),toLoadNamespaces:Object.keys(Ke)}}loaded($,ue,fe){const Oe=$.split("|"),Z=Oe[0],Ce=Oe[1];ue&&this.emit("failedLoading",Z,Ce,ue),!ue&&fe&&this.store.addResourceBundle(Z,Ce,fe,void 0,void 0,{skipCopy:!0}),this.state[$]=ue?-1:2,ue&&fe&&(this.state[$]=0);const p={};this.queue.forEach(Ke=>{((ct,$,ue)=>{const{obj:Oe,k:Z}=I(ct,$,Object);Oe[Z]=Oe[Z]||[],Oe[Z].push(ue)})(Ke.loaded,[Z],Ce),((ct,$)=>{void 0!==ct.pending[$]&&(delete ct.pending[$],ct.pendingCount--)})(Ke,$),ue&&Ke.errors.push(ue),0===Ke.pendingCount&&!Ke.done&&(Object.keys(Ke.loaded).forEach(nt=>{p[nt]||(p[nt]={});const yt=Ke.loaded[nt];yt.length&&yt.forEach(It=>{void 0===p[nt][It]&&(p[nt][It]=!0)})}),Ke.done=!0,Ke.errors.length?Ke.callback(Ke.errors):Ke.callback())}),this.emit("loaded",p),this.queue=this.queue.filter(Ke=>!Ke.done)}read($,ue,fe,Oe=0,Z=this.retryTimeout,Ce){if(!$.length)return Ce(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:$,ns:ue,fcName:fe,tried:Oe,wait:Z,callback:Ce});this.readingCalls++;const p=(nt,yt)=>{if(this.readingCalls--,this.waitingReads.length>0){const It=this.waitingReads.shift();this.read(It.lng,It.ns,It.fcName,It.tried,It.wait,It.callback)}nt&&yt&&Oe<this.maxRetries?setTimeout(()=>{this.read.call(this,$,ue,fe,Oe+1,2*Z,Ce)},Z):Ce(nt,yt)},Ke=this.backend[fe].bind(this.backend);if(2!==Ke.length)return Ke($,ue,p);try{const nt=Ke($,ue);nt&&"function"==typeof nt.then?nt.then(yt=>p(null,yt)).catch(p):p(null,nt)}catch(nt){p(nt)}}prepareLoading($,ue,fe={},Oe){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),Oe&&Oe();g($)&&($=this.languageUtils.toResolveHierarchy($)),g(ue)&&(ue=[ue]);const Z=this.queueLoad($,ue,fe,Oe);if(!Z.toLoad.length)return Z.pending.length||Oe(),null;Z.toLoad.forEach(Ce=>{this.loadOne(Ce)})}load($,ue,fe){this.prepareLoading($,ue,{},fe)}reload($,ue,fe){this.prepareLoading($,ue,{reload:!0},fe)}loadOne($,ue=""){const fe=$.split("|"),Oe=fe[0],Z=fe[1];this.read(Oe,Z,"read",void 0,void 0,(Ce,p)=>{Ce&&this.logger.warn(`${ue}loading namespace ${Z} for language ${Oe} failed`,Ce),!Ce&&p&&this.logger.log(`${ue}loaded namespace ${Z} for language ${Oe}`,p),this.loaded($,Ce,p)})}saveMissing($,ue,fe,Oe,Z,Ce={},p=()=>{}){if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(ue)){if(null!=fe&&""!==fe){if(this.backend?.create){const Ke={...Ce,isUpdate:Z},nt=this.backend.create.bind(this.backend);if(nt.length<6)try{let yt;yt=5===nt.length?nt($,ue,fe,Oe,Ke):nt($,ue,fe,Oe),yt&&"function"==typeof yt.then?yt.then(It=>p(null,It)).catch(p):p(null,yt)}catch(yt){p(yt)}else nt($,ue,fe,Oe,p,Ke)}!$||!$[0]||this.store.addResource($[0],ue,fe,Oe)}}else this.logger.warn(`did not save key "${fe}" as the namespace "${ue}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const vt=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:ct=>{let $={};if("object"==typeof ct[1]&&($=ct[1]),g(ct[1])&&($.defaultValue=ct[1]),g(ct[2])&&($.tDescription=ct[2]),"object"==typeof ct[2]||"object"==typeof ct[3]){const ue=ct[3]||ct[2];Object.keys(ue).forEach(fe=>{$[fe]=ue[fe]})}return $},interpolation:{escapeValue:!0,format:ct=>ct,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),pt=ct=>(g(ct.ns)&&(ct.ns=[ct.ns]),g(ct.fallbackLng)&&(ct.fallbackLng=[ct.fallbackLng]),g(ct.fallbackNS)&&(ct.fallbackNS=[ct.fallbackNS]),ct.supp
430ortedLngs?.indexOf?.("cimode")<0&&(ct.supportedLngs=ct.supportedLngs.concat(["cimode"])),"boolean"==typeof ct.initImmediate&&(ct.initAsync=ct.initImmediate),ct),an=()=>{};class mt extends Qe{constructor($={},ue){if(super(),this.options=pt($),this.services={},this.logger=Re,this.modules={external:[]},ct=this,Object.getOwnPropertyNames(Object.getPrototypeOf(ct)).forEach(ue=>{"function"==typeof ct[ue]&&(ct[ue]=ct[ue].bind(ct))}),ue&&!this.isInitialized&&!$.isClone){if(!this.options.initAsync)return this.init($,ue),this;setTimeout(()=>{this.init($,ue)},0)}var ct}init($={},ue){this.isInitializing=!0,"function"==typeof $&&(ue=$,$={}),null==$.defaultNS&&$.ns&&(g($.ns)?$.defaultNS=$.ns:$.ns.indexOf("translation")<0&&($.defaultNS=$.ns[0]));const fe=vt();this.options={...fe,...this.options,...pt($)},this.options.interpolation={...fe.interpolation,...this.options.interpolation},void 0!==$.keySeparator&&(this.options.userDefinedKeySeparator=$.keySeparator),void 0!==$.nsSeparator&&(this.options.userDefinedNsSeparator=$.nsSeparator);const Oe=nt=>nt?"function"==typeof nt?new nt:nt:null;if(!this.options.isClone){let nt;Re.init(this.modules.logger?Oe(this.modules.logger):null,this.options),nt=this.modules.formatter?this.modules.formatter:tt;const yt=new Fe(this.options);this.store=new Ze(this.options.resources,this.options);const It=this.services;It.logger=Re,It.resourceStore=this.store,It.languageUtils=yt,It.pluralResolver=new at(yt,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==fe.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),nt&&(!this.options.interpolation.format||this.options.interpolation.format===fe.interpolation.format)&&(It.formatter=Oe(nt),It.formatter.init&&It.formatter.init(It,this.options),this.options.interpolation.format=It.formatter.format.bind(It.formatter)),It.interpolator=new Yt(this.options),It.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},It.backendConnector=new ze(Oe(this.modules.backend),It.resourceStore,It,this.options),It.backendConnector.on("*",(fn,...gn)=>{this.emit(fn,...gn)}),this.modules.languageDetector&&(It.languageDetector=Oe(this.modules.languageDetector),It.languageDetector.init&&It.languageDetector.init(It,this.options.detection,this.options)),this.modules.i18nFormat&&(It.i18nFormat=Oe(this.modules.i18nFormat),It.i18nFormat.init&&It.i18nFormat.init(this)),this.translator=new je(this.services,this.options),this.translator.on("*",(fn,...gn)=>{this.emit(fn,...gn)}),this.modules.external.forEach(fn=>{fn.init&&fn.init(this)})}if(this.format=this.options.interpolation.format,ue||(ue=an),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const nt=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);nt.length>0&&"dev"!==nt[0]&&(this.options.lng=nt[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(nt=>{this[nt]=(...yt)=>this.store[nt](...yt)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(nt=>{this[nt]=(...yt)=>(this.store[nt](...yt),this)});const p=C(),Ke=()=>{const nt=(yt,It)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),p.resolve(It),ue(yt,It)};if(this.languages&&!this.isInitialized)return nt(null,this.t.bind(this));this.changeLanguage(this.options.lng,nt)};return this.options.resources||!this.options.initAsync?Ke():setTimeout(Ke,0),p}loadResources($,ue=an){let fe=ue;const Oe=g($)?$:this.language;if("function"==typeof $&&(fe=$),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===Oe?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return fe();const Z=[],Ce=p=>{p&&"cimode"!==p&&this.services.languageUtils.toResolveHierarchy(p).forEac
430h(nt=>{"cimode"!==nt&&Z.indexOf(nt)<0&&Z.push(nt)})};Oe?Ce(Oe):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(Ke=>Ce(Ke)),this.options.preload?.forEach?.(p=>Ce(p)),this.services.backendConnector.load(Z,this.options.ns,p=>{!p&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),fe(p)})}else fe(null)}reloadResources($,ue,fe){const Oe=C();return"function"==typeof $&&(fe=$,$=void 0),"function"==typeof ue&&(fe=ue,ue=void 0),$||($=this.languages),ue||(ue=this.options.ns),fe||(fe=an),this.services.backendConnector.reload($,ue,Z=>{Oe.resolve(),fe(Z)}),Oe}use($){if(!$)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!$.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===$.type&&(this.modules.backend=$),("logger"===$.type||$.log&&$.warn&&$.error)&&(this.modules.logger=$),"languageDetector"===$.type&&(this.modules.languageDetector=$),"i18nFormat"===$.type&&(this.modules.i18nFormat=$),"postProcessor"===$.type&&Ye.addPostProcessor($),"formatter"===$.type&&(this.modules.formatter=$),"3rdParty"===$.type&&this.modules.external.push($),this}setResolvedLanguage($){if($&&this.languages&&!(["cimode","dev"].indexOf($)>-1)){for(let ue=0;ue<this.languages.length;ue++){const fe=this.languages[ue];if(!(["cimode","dev"].indexOf(fe)>-1)&&this.store.hasLanguageSomeTranslations(fe)){this.resolvedLanguage=fe;break}}!this.resolvedLanguage&&this.languages.indexOf($)<0&&this.store.hasLanguageSomeTranslations($)&&(this.resolvedLanguage=$,this.languages.unshift($))}}changeLanguage($,ue){this.isLanguageChangingTo=$;const fe=C();this.emit("languageChanging",$);const Oe=p=>{this.language=p,this.languages=this.services.languageUtils.toResolveHierarchy(p),this.resolvedLanguage=void 0,this.setResolvedLanguage(p)},Z=(p,Ke)=>{Ke?this.isLanguageChangingTo===$&&(Oe(Ke),this.translator.changeLanguage(Ke),this.isLanguageChangingTo=void 0,this.emit("languageChanged",Ke),this.logger.log("languageChanged",Ke)):this.isLanguageChangingTo=void 0,fe.resolve((...nt)=>this.t(...nt)),ue&&ue(p,(...nt)=>this.t(...nt))},Ce=p=>{!$&&!p&&this.services.languageDetector&&(p=[]);const Ke=g(p)?p:p&&p[0],nt=this.store.hasLanguageSomeTranslations(Ke)?Ke:this.services.languageUtils.getBestMatchFromCodes(g(p)?[p]:p);nt&&(this.language||Oe(nt),this.translator.language||this.translator.changeLanguage(nt),this.services.languageDetector?.cacheUserLanguage?.(nt)),this.loadResources(nt,yt=>{Z(yt,nt)})};return $||!this.services.languageDetector||this.services.languageDetector.async?!$&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(Ce):this.services.languageDetector.detect(Ce):Ce($):Ce(this.services.languageDetector.detect()),fe}getFixedT($,ue,fe){const Oe=(Z,Ce,...p)=>{let Ke;Ke="object"!=typeof Ce?this.options.overloadTranslationOptionHandler([Z,Ce].concat(p)):{...Ce},Ke.lng=Ke.lng||Oe.lng,Ke.lngs=Ke.lngs||Oe.lngs,Ke.ns=Ke.ns||Oe.ns,""!==Ke.keyPrefix&&(Ke.keyPrefix=Ke.keyPrefix||fe||Oe.keyPrefix);const nt=this.options.keySeparator||".";let yt;return Ke.keyPrefix&&Array.isArray(Z)?yt=Z.map(It=>("function"==typeof It&&(It=X(It,{...this.options,...Ce})),`${Ke.keyPrefix}${nt}${It}`)):("function"==typeof Z&&(Z=X(Z,{...this.options,...Ce})),yt=Ke.keyPrefix?`${Ke.keyPrefix}${nt}${Z}`:Z),this.t(yt,Ke)};return g($)?Oe.lng=$:Oe.lngs=$,Oe.ns=ue,Oe.keyPrefix=fe,Oe}t(...$){return this.translator?.translate(...$)}exists(...$){return this.translator?.exists(...$)}setDefaultNamespace($){this.options.defaultNS=$}hasLoadedNamespace($,ue={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
430if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const fe=ue.lng||this.resolvedLanguage||this.languages[0],Oe=!!this.options&&this.options.fallbackLng,Z=this.languages[this.languages.length-1];if("cimode"===fe.toLowerCase())return!0;const Ce=(p,Ke)=>{const nt=this.services.backendConnector.state[`${p}|${Ke}`];return-1===nt||0===nt||2===nt};if(ue.precheck){const p=ue.precheck(this,Ce);if(void 0!==p)return p}return!!(this.hasResourceBundle(fe,$)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||Ce(fe,$)&&(!Oe||Ce(Z,$)))}loadNamespaces($,ue){const fe=C();return this.options.ns?(g($)&&($=[$]),$.forEach(Oe=>{this.options.ns.indexOf(Oe)<0&&this.options.ns.push(Oe)}),this.loadResources(Oe=>{fe.resolve(),ue&&ue(Oe)}),fe):(ue&&ue(),Promise.resolve())}loadLanguages($,ue){const fe=C();g($)&&($=[$]);const Oe=this.options.preload||[],Z=$.filter(Ce=>Oe.indexOf(Ce)<0&&this.services.languageUtils.isSupportedCode(Ce));return Z.length?(this.options.preload=Oe.concat(Z),this.loadResources(Ce=>{fe.resolve(),ue&&ue(Ce)}),fe):(ue&&ue(),Promise.resolve())}dir($){if($||($=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!$)return"rtl";try{const Oe=new Intl.Locale($);if(Oe&&Oe.getTextInfo){const Z=Oe.getTextInfo();if(Z&&Z.direction)return Z.direction}}catch{}const fe=this.services?.languageUtils||new Fe(vt());return $.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(fe.getLanguagePartFromCode($))>-1||$.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance($={},ue){return new mt($,ue)}cloneInstance($={},ue=an){const fe=$.forkResourceStore;fe&&delete $.forkResourceStore;const Oe={...this.options,...$,isClone:!0},Z=new mt(Oe);if((void 0!==$.debug||void 0!==$.prefix)&&(Z.logger=Z.logger.clone($)),["store","services","language"].forEach(p=>{Z[p]=this[p]}),Z.services={...this.services},Z.services.utils={hasLoadedNamespace:Z.hasLoadedNamespace.bind(Z)},fe){const p=Object.keys(this.store.data).reduce((Ke,nt)=>(Ke[nt]={...this.store.data[nt]},Ke[nt]=Object.keys(Ke[nt]).reduce((yt,It)=>(yt[It]={...Ke[nt][It]},yt),Ke[nt]),Ke),{});Z.store=new Ze(p,Oe),Z.services.resourceStore=Z.store}return Z.translator=new je(Z.services,Oe),Z.translator.on("*",(p,...Ke)=>{Z.emit(p,...Ke)}),Z.init(Oe,ue),Z.translator.options=Oe,Z.translator.backendConnector.services.utils={hasLoadedNamespace:Z.hasLoadedNamespace.bind(Z)},Z}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Wt=mt.createInstance();Wt.createInstance=mt.createInstance;class Sr{handle($,ue){return(fe,Oe)=>{$({err:fe,t:Oe})}}}class Ae{initialized=new l.t(void 0);loaded=new l.t(!1);failedLoading=new h.B;missingKey=new h.B;added=new h.B;removed=new h.B;languageChanged=new l.t(null)}
430const Kt=new T.nKC("I18NEXT_SCOPE"),ln=new T.nKC("I18NEXT_NAMESPACE"),un=new T.nKC("I18NEXT_SERVICE"),Rt=new T.nKC("I18NEXT_ERROR_HANDLING_STRATEGY"),Xt=new T.nKC("I18NEXT_INSTANCE");let bn=(()=>{class ct{translateI18Next;ns;scope;constructor(ue,fe,Oe){this.translateI18Next=ue,this.ns=fe,this.scope=Oe}transform(ue,fe){fe=this.prepareOptions(fe);let Oe=this.translateI18Next.options;(void 0===fe.prependScope||!0===fe.prependScope)&&this.scope&&(ue=this.prependScope(ue,this.scope,Oe.keySeparator,Oe.nsSeparator)),(void 0===fe.prependNamespace||!0===fe.prependNamespace)&&this.ns&&(ue=this.prependNamespace(ue,this.ns,Oe.nsSeparator));let Z=this.translateI18Next.t(ue,fe);return fe.format&&Z&&(Z=this.translateI18Next.format(Z,fe.format,this.translateI18Next.language)),Z??""}prependScope(ue,fe,Oe,Z){const Ce=Z||"",p=Oe||"";"string"==typeof ue&&(ue=[ue]),"string"==typeof fe&&(fe=[fe]);let Ke=[];for(let nt=0;nt<ue.length;nt++){const yt=ue[nt];this.keyContainsNsSeparator(yt,Ce)||Ke.push(...fe.map(It=>this.joinStrings(p,It,yt))),Ke.push(yt)}return Ke}prependNamespace(ue,fe,Oe){const Z=Oe||"";"string"==typeof ue&&(ue=[ue]),"string"==typeof fe&&(fe=[fe]);let Ce=[];for(let p=0;p<ue.length;p++){const Ke=ue[p];this.keyContainsNsSeparator(Ke,Z)||Ce.push(...fe.map(nt=>this.joinStrings(Z,nt,Ke))),Ce.push(Ke)}return Ce}joinStrings(ue,...fe){return[...fe].join(ue)}keyContainsNsSeparator(ue,fe){return-1!==ue.indexOf(fe)}prepareOptions(ue){return null!=(ue=ue||{}).context&&(ue.context=ue.context.toString()),ue}static \u0275fac=function(fe){return new(fe||ct)(c.rXU(un,16),c.rXU(ln,16),c.rXU(Kt,16))};static \u0275pipe=c.EJ8({name:"i18next",type:ct,pure:!0});static \u0275prov=T.jDH({token:ct,factory:ct.\u0275fac})}return ct})(),Er=(()=>{class ct extends bn{constructor(ue,fe,Oe){super(ue,fe,Oe)}transform(ue,fe){return(fe=fe||{}).format="cap",super.transform(ue,fe)}static \u0275fac=function(fe){return new(fe||ct)(c.rXU(un,16),c.rXU(ln,16),c.rXU(Kt,16))};static \u0275pipe=c.EJ8({name:"i18nextCap",type:ct,pure:!0});static \u0275prov=T.jDH({token:ct,factory:ct.\u0275fac})}return ct})(),Fn=(()=>{class ct extends bn{translateI18Next;ns;scope;cd;lastKey;lastOptions;lastValue="";constructor(ue,fe,Oe,Z){super(ue,fe,Oe),this.translateI18Next=ue,this.ns=fe,this.scope=Oe,this.cd=Z,ue.events.languageChanged.pipe((0,D.pQ)()).subscribe(()=>{this.cd.markForCheck()})}hasKeyChanged(ue){return!this.lastKey||this.lastKey!==ue}hasOptionsChanged(ue){return this.lastOptions!==ue}transform(ue,fe){const Oe=this.translateI18Next.language+"|"+JSON.stringify(ue);return(this.hasKeyChanged(Oe)||this.hasOptionsChanged(fe))&&(this.lastKey=Oe,this.lastOptions=fe,this.lastValue=super.transform(ue,fe)),this.lastValue}static \u0275fac=function(fe){return new(fe||ct)(c.rXU(un,16),c.rXU(ln,16),c.rXU(Kt,16),c.rXU(o.gRc,16))};static \u0275pipe=c.EJ8({name:"i18nextEager",type:ct,pure:!1})}return ct})(),ar=(()=>{class ct{translateI18Next;constructor(ue){this.translateI18Next=ue}transform(ue,fe){let Oe="string"==typeof fe?{format:fe}:fe;return this.translateI18Next.format(ue,Oe.format,Oe.lng)}static \u0275fac=function(fe){return new(fe||ct)(c.rXU(un,16))};static \u0275pipe=c.EJ8({name:"i18nextFormat",type:ct,pure:!0});static \u0275prov=T.jDH({token:ct,factory:ct.\u0275fac})}return ct})();const Yn=Wt;let Qn=(()=>{class ct{errorHandlingStrategy;i18next;events=new Ae;get language(){return this.i18next.language}get languages(){return this.i18next.languages}get options(){return this.i18next.options}get modules(){return this.i18next.modules}get services(){return this.i18next.services}get store(){return this.i18next.store}get resolvedLanguage(){return this.i18next.resolvedLanguage}get isInitialized(){return this.i18next.isInitialized}constructor(ue,fe){this.errorHandlingStrategy=ue,this.i18next=fe??Yn}t(ue,fe,Oe){const Z=!!fe&&"string"==typeof fe;return this.i18next.t.bind(this.i18next),Z?this.i18next.t(ue,fe,Oe):this.i18next.t(ue,fe)}use(ue){return this.i18next.use.call(this.i18next,ue),this}init(ue){return this.subscribeEvents(),new Promise((fe,Oe)=>{this.i18next.init.call(this.i18next,Object.assign({},ue??{}),this.errorHandlingStrategy.handle(fe,Oe))})}format(ue,fe,Oe){return this.i18next.format.call(this.i18next,ue,fe,Oe,{})}exists(ue,fe){return this.i18next.exists.call(this.i18next,ue,fe)}getFixedT(ue,fe,Oe){return this.i18next.getFixedT.call(this.i18next,ue,fe,Oe)}setDefaultNamespace(ue){this.i18next.setDefaultNamespace.call(this.i18next,ue)}dir(ue){return this.i18next.dir.call(this.i18next,ue)}changeLanguage(ue){return new Promise((fe,Oe)=>this.i18next.changeLanguage.call(this.i18next,ue,this.errorHandlingStrategy.handle(fe,Oe)))}loadNamespaces(ue){return new Promise((fe,Oe)=>{this.i18next.loadNamespaces.call(this.i18next,ue,this.errorHandlingStrategy.handle(fe,Oe))})}loadLanguages(ue){return new Promise((fe,Oe)=>{this.i18next.loadLanguages.call(this.i18next,ue,this.errorHandlingStrategy.handle(fe,Oe))})}loadResources(ue){this.i18next.loadResources.call(this.i18next,ue)}getDataByLanguage(ue){return this.i18next.getDataByLanguage.call(this.i18next,ue)}reloadResources(...ue){var fe=this;return(0,u.A)(function*(){yield fe.i18next.reloadResources.apply(fe.i18next,ue)})()}getResource(ue,fe,Oe,Z){return this.i18next.getResource.call(this.i18next,ue,fe,Oe,Z)}addResource(ue,fe,Oe,Z,Ce){return this.i18next.addResource.call(this.i18next,ue,fe,Oe,Z,Ce)}addResources(ue,fe,Oe){return this.i18next.addResources.call(this.i18next,ue,fe,Oe)}addResourceBundle(ue,fe,Oe,Z,Ce){return this.i18next.addResourceBundle.call(this.i18next,ue,fe,Oe,Z,Ce)}hasResourceBundle(ue,fe){return this.i18next.hasResourceBundle.call(this.i18next,ue,fe)}getResourceBundle(ue,fe){return this.i18next.getResourceBundle.call(this.i18next,ue,fe)}removeResourceBundle(ue,fe){return this.i18next.removeResourceBundle.call(this.i18next,ue,fe)}subscribeEvents(){this.i18next.on.call(this.i18next,"initialized",ue=>{this.events.initialized.next(ue)}),this.i18next.on.call(this.i18next,"loaded",ue=>this.events.loaded.next(ue)),this.i18next.on.call(this.i18next,"failedLoading",(ue,fe,Oe)=>this.events.failedLoading.next({lng:ue,ns:fe,msg:Oe})),this.i18next.on.call(this.i18next,"languageChanged",ue=>{this.events.languageChanged.next(ue)}),this.i18next.on.call(this.i18next,"missingKey",(ue,fe,Oe,Z)=>this.events.missingKey.next({lngs:ue,namespace:fe,key:Oe,res:Z})),this.i18next.on.call(this.i18next,"added",(ue,fe)=>this.events.added.next({lng:ue,ns:fe})),this.i18next.on.call(this.i18next,"removed",(ue,fe)=>this.events.removed.next({lng:ue,ns:fe}))}static \u0275fac=function(fe){return new(fe||ct)(T.KVO(Rt),T.KVO(Xt,8))};static \u0275prov=T.jDH({token:ct,factory:ct.\u0275fac})}return ct})();const $n=(...ct)=>()=>(0,T.WQX)(un).loadNamespaces(ct.filter(Boolean)).then(()=>!0).catch(()=>!1),lr=Wt;function Wr(){return(0,T.WQX)(un).language??c.DkB}function or(...ct){const $=[{provide:Xt,useValue:lr},{provide:un,useFactory:(ue,fe)=>new Qn(ue,fe),deps:[Rt,Xt]},{provide:ln,useValue:""},{provide:Kt,useValue:""},{provide:Rt,useClass:Sr},{provide:c.xe9,useFactory:Wr},Qn,bn,Fn,Er,ar];for(const ue of ct)$.push(...ue.\u0275providers);return(0,T.EmA)($)}},77171(ye,A,n){n.d(A,{Ic:()=>Ur,sM:()=>Ao,XK:()=>ci,J1:()=>Se,xC:()=>Lo});
430var u=n(17988),l=n(47606),h=n(52740),c=n(24406),T=n(18417),o=n(25406);class D{isIncrementalResult(L){return!1}prepareRequest(L){return(0,o.V1)(!(0,T.d)(["defer"],L.query),64),L}extractErrors(){}startRequest=void 0}const C=n(96410).C.execute;var v=n(29856),E=n(35506),M=n(65618);function N(oe,L){return(0,M.o)(oe,L,L.variables&&{variables:(0,M.o)({...oe&&oe.variables,...L.variables})})}var P=n(55106),I=n(26366);function x(oe){return(0,I.YR)(oe,{FragmentSpread(L){if(!L.directives?.some(({name:W})=>"unmask"===W.value))return null}})}var j=n(21026),w=n(80686),H=n(56207),ae=n(51602),S=n(6417),J=n(64517),Y=n(32790),re=n(64752),G=n(73496),ce=n(60451),pe=n(13901),De=n(68713),z=n(61856),ke=n(39848),it=n(95603),Re=n(95840),Qe=n(81502),Ze=n(90523),Ye=n(78347);class ne{constructor(L,W,le){this.kind=L,this.value=W,this.error=le,this.hasValue="N"===L}observe(L){return function X(oe,L){var W,le,ge;const{kind:Le,value:qe,error:Pt}=oe;if("string"!=typeof Le)throw new TypeError('Invalid notification, missing "kind"');"N"===Le?null===(W=L.next)||void 0===W||W.call(L,qe):"E"===Le?null===(le=L.error)||void 0===le||le.call(L,Pt):null===(ge=L.complete)||void 0===ge||ge.call(L)}(this,L)}do(L,W,le){const{kind:ge,value:Le,error:qe}=this;return"N"===ge?L?.(Le):"E"===ge?W?.(qe):le?.()}accept(L,W,le){var ge;return(0,Ye.T)(null===(ge=L)||void 0===ge?void 0:ge.next)?this.observe(L):this.do(L,W,le)}toObservable(){const{kind:L,value:W,error:le}=this,ge="N"===L?(0,pe.of)(W):"E"===L?(0,Y.$)(()=>le):"C"===L?Ze.w:0;if(!ge)throw new TypeError(`Unexpected notification kind ${L}`);return ge}static createNext(L){return new ne("N",L)}static createError(L){return new ne("E",void 0,L)}static createComplete(){return ne.completeNotification}}ne.completeNotification=new ne("C");var q=n(81474),Te=n(21676),Fe=n(23584),we=n(61969),Be=n(72460),at=n(29491),Ot=n(86987);const Et=new WeakSet;var bt=n(13179),Xe=n(10601),tt=n(84577),Ht=n(32045),ze=n(61718),vt=n(90252);function pt(oe,L,W){return vt.y.withValue(!0,()=>{const le=s(oe,L,W,!1);return Object.isFrozen(oe)&&(0,Ht.G)(le),le})}function s(oe,L,W,le,ge){const{knownChanged:Le}=W,qe=function an(oe,L){if(L.has(oe))return L.get(oe);const W=Array.isArray(oe)?[]:{};return L.set(oe,W),W}(oe,W.mutableTargets);if(Array.isArray(oe)){for(const[Pt,Tt]of Array.from(oe.entries())){if(null===Tt){qe[Pt]=null;continue}const Gt=s(Tt,L,W,le,E.g?`${ge||""}[${Pt}]`:void 0);Le.has(Gt)&&Le.add(qe),qe[Pt]=Gt}return Le.has(qe)?qe:oe}for(const Pt of L.selections){let Tt;if(le&&Le.add(qe),Pt.kind===S.b.FIELD){const Gt=(0,ze.u)(Pt),zt=Pt.selectionSet;if(Tt=qe[Gt]||oe[Gt],void 0===Tt)continue;if(zt&&null!==Tt){const on=s(oe[Gt],zt,W,le,E.g?`${ge||""}.${Gt}`:void 0);Le.has(on)&&(Tt=on)}E.g||(qe[Gt]=Tt),E.g&&(le&&"__typename"!==Gt&&!Object.getOwnPropertyDescriptor(qe,Gt)?.value?Object.defineProperty(qe,Gt,mt(Gt,Tt,ge||"",W.operationName,W.operationType)):(delete qe[Gt],qe[Gt]=Tt))}if(Pt.kind===S.b.INLINE_FRAGMENT&&(!Pt.typeCondition||W.cache.fragmentMatches(Pt,oe.__typename))&&(Tt=s(oe,Pt.selectionSet,W,le,ge)),Pt.kind===S.b.FRAGMENT_SPREAD){const Gt=Pt.name.value,zt=W.fragmentMap[Gt]||(W.fragmentMap[Gt]=W.cache.lookupFragment(Gt));(0,o.V1)(zt,39,Gt);const on=(0,vt.s)(Pt);"mask"!==on&&(Tt=s(oe,zt.selectionSet,W,"migrate"===on,ge))}Le.has(Tt)&&Le.add(qe)}return"__typename"in oe&&!("__typename"in qe)&&(qe.__typename=oe.__typename),Object.keys(qe).length!==Object.keys(oe).length&&Le.add(qe),Le.has(qe)?qe:oe}function mt(oe,L,W,le,ge){let Le=()=>(vt.y.getValue()||(E.g&&o.V1.warn(40,le?`${ge} '${le}'`:`anonymous ${ge}`,`${W}.${oe}`.replace(/^\./,"")),Le=()=>L),L);return{get:()=>Le(),set(qe){Le=()=>qe},enumerable:!0,configurable:!0}}var jt=n(31014),Lt=n(43841),vn=n(64152);function cn(oe){return!function wt(oe){return 7===oe||8===oe}(oe)}var Ct=n(20253);function Mn(oe){return!!oe.errors?.length}function Ut(oe,L=()=>{}){return W=>new J.c(le=>{let ge=L();return W.subscribe({next(Le){let qe;try{qe=oe(Le,ge)}catch(Pt){le.error(Pt)}void 0!==qe&&le.next(qe)},error(Le){le.error(Le)},complete(){le.complete()}})})}function rn(oe){const L={data:oe.data};return oe.error&&(L.error=oe.error),L}var In=n(39084);function An(oe){let L=!1;return(0,I.YR)(oe,{Directive:{enter(W){if("client"===W.name.value&&W.arguments&&(L=W.arguments.some(le=>
430"always"===le.name.value&&"BooleanValue"===le.value.kind&&!0===le.value.value),L))return I.sP}}}),L}var Xn=n(82252),Fr=n(84544),Pr=n(52154),wr=n(90507),jn=function(oe){return oe[oe.loading=1]="loading",oe[oe.setVariables=2]="setVariables",oe[oe.fetchMore=3]="fetchMore",oe[oe.refetch=4]="refetch",oe[oe.poll=6]="poll",oe[oe.ready=7]="ready",oe[oe.error=8]="error",oe[oe.streaming=9]="streaming",oe}(jn||{}),Sr=n(95536);const Ve=Symbol.for("apollo.observableQuery.variablesUnknown");var Ae=n(71444),$e=n(54110);const{assign:Kt,hasOwnProperty:ln}=Object,un={loading:!0,networkStatus:jn.loading,data:void 0,dataState:"empty",partial:!0},nn={loading:!1,networkStatus:jn.ready,data:void 0,dataState:"empty",partial:!0};class Rt{options;queryName;variablesUnknown=!1;_lastWrite;get query(){return this.lastQuery}get variables(){return this.options.variables}unsubscribeFromCache;input;subject;isTornDown;queryManager;subscriptions=new Set;waitForNetworkResult;lastQuery;linkSubscription;pollingInfo;get networkStatus(){return this.subject.getValue().result.networkStatus}constructor({queryManager:L,options:W,transformedQuery:le=L.transform(W.query)}){this.queryManager=L,this.waitForNetworkResult="network-only"===W.fetchPolicy,this.isTornDown=!1,this.subscribeToMore=this.subscribeToMore.bind(this),this.maskResult=this.maskResult.bind(this);const{watchQuery:{fetchPolicy:ge="cache-first"}={}}=L.defaultOptions,{fetchPolicy:Le=ge,initialFetchPolicy:qe=("standby"===Le?ge:Le)}=W;W[Ve]&&((0,o.V1)("standby"===Le,77),this.variablesUnknown=!0),this.lastQuery=le,this.options={...W,initialFetchPolicy:qe,fetchPolicy:Le,variables:this.getVariablesWithDefaults(W.variables)},this.initializeObservablesQueue(),this["@@observable"]=()=>this,Symbol.observable&&(this[Symbol.observable]=()=>this);const Pt=(0,bt.V)(this.query);this.queryName=Pt&&Pt.name&&Pt.name.value}initializeObservablesQueue(){this.subject=new Sr.t({query:this.query,variables:this.variables,result:un,meta:{}});const L=this.subject.pipe((0,we.M)({subscribe:()=>{this.subject.observed||(this.reobserve(),setTimeout(()=>this.updatePolling()))},unsubscribe:()=>{this.subject.observed||this.tearDownQuery()}}),Ut(({query:W,variables:le,result:ge,meta:Le},qe)=>{const{shouldEmit:Pt}=Le;if(ge===un&&(qe.previous=void 0,qe.previousVariables=void 0),"standby"===this.options.fetchPolicy||2===Pt)return;if(1===Pt)return zt();const{previous:Tt,previousVariables:Gt}=qe;if(Tt){const on=this.queryManager.getDocumentInfo(W),Dn=this.queryManager.dataMasking;if((Dn||on.hasNonreactiveDirective?(0,Ae.a)(Dn?on.nonReactiveQuery:W,Tt,ge,le):(0,jt.L)(Tt,ge))&&(0,jt.L)(Gt,le))return}if(3!==Pt||this.options.notifyOnNetworkStatusChange&&!(0,jt.L)(Tt,ge))return zt();function zt(){return qe.previous=ge,qe.previousVariables=le,ge}},()=>({})));this.pipe=L.pipe.bind(L),this.subscribe=L.subscribe.bind(L),this.input=new Qe.B,this.input.complete=()=>{},this.input.pipe(this.operator).subscribe(this.subject)}subscribe;pipe;[Symbol.observable];"@@observable";getCacheDiff({optimistic:L=!0}={}){return this.queryManager.cache.diff({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:L})}getInitialResult(L){const le=()=>{const ge=this.getCacheDiff(),Le=this.options.returnPartialData||ge.complete?ge.result??void 0:void 0;return this.maskResult({data:Le,dataState:ge.complete?"complete":void 0===Le?"empty":"partial",loading:!ge.complete,networkStatus:ge.complete?jn.ready:jn.loading,partial:!ge.complete})};switch(this.queryManager.prioritizeCacheValues?"cache-first":L||this.options.fetchPolicy){case"cache-only":return{...le(),loading:!1,networkStatus:jn.ready};case"cache-first":return le();case"cache-and-network":return{...le(),loading:!0,networkStatus:jn.loading};case"standby":return nn;default:return un}}resubscribeCache(){const{variables:L,fetchPolicy:W}=this.options,le=this.query,ge="standby"===W||"no-cache"===W||this.waitForNetworkResult,Le=!bn({query:le,variables:L},this.unsubscribeFromCache)&&!this.waitForNetworkResult;if((ge||Le)&&this.unsubscribeFromCache?.(),ge||!Le)return;const qe={query:le,variables:L,optimistic:!0,watcher:this,callback:Tt=>{const Gt=this.queryManager.getDocumentInfo(le);
430if((Gt.hasClientExports||Gt.hasForcedResolvers)&&(qe.lastDiff=void 0),qe.lastOwnDiff===Tt)return;const{result:zt}=this.subject.getValue();!Tt.complete&&(zt.error||zt===un||zt===nn)||(0,jt.L)(zt.data,Tt.result)||this.scheduleNotify()}},Pt=this.queryManager.cache.watch(qe);this.unsubscribeFromCache=Object.assign(()=>{this.unsubscribeFromCache=void 0,Pt()},{query:le,variables:L})}stableLastResult;getCurrentResult(){const{result:L}=this.subject.getValue();let W=L.networkStatus===jn.error||this.hasObservers()||"no-cache"===this.options.fetchPolicy?L:this.getInitialResult();return W===un&&(W=this.getInitialResult()),(0,jt.L)(this.stableLastResult,W)||(this.stableLastResult=W),this.stableLastResult}refetch(L){const{fetchPolicy:W}=this.options,le={pollInterval:0};if(le.fetchPolicy="no-cache"===W?"no-cache":"network-only",E.g&&L&&ln.call(L,"variables")){const ge=(0,$e.A)(this.query),Le=ge.variableDefinitions;(!Le||!Le.some(qe=>"variables"===qe.variable.name.value))&&E.g&&o.V1.warn(78,L,ge.name?.value||ge)}return L&&!(0,jt.L)(this.variables,L)&&(le.variables=this.options.variables=this.getVariablesWithDefaults({...this.variables,...L})),this._lastWrite=void 0,this._reobserve(le,{newNetworkStatus:jn.refetch})}fetchMore({query:L,variables:W,context:le,errorPolicy:ge,updateQuery:Le}){(0,o.V1)("cache-only"!==this.options.fetchPolicy,79,(0,Ct.n)(this.query,"(anonymous)"));const qe={...(0,M.o)(this.options,{errorPolicy:"none"},{query:L,context:le,errorPolicy:ge}),variables:L?W:{...this.variables,...W},fetchPolicy:"no-cache",notifyOnNetworkStatusChange:this.options.notifyOnNetworkStatusChange};qe.query=this.transformDocument(qe.query),this.lastQuery=L?this.transformDocument(this.options.query):qe.query;let Pt=!1;const Tt="no-cache"!==this.options.fetchPolicy;Tt||(0,o.V1)(Le,80);const{finalize:Gt,pushNotification:zt}=this.pushOperation(jn.fetchMore);return zt({source:"newNetworkStatus",kind:"N",value:{}},{shouldEmit:3}),this.queryManager.fetchQuery(qe,jn.fetchMore).then(on=>{if(Gt(),Tt){const Dn=this.getCacheDiff();this.queryManager.cache.batch({update:Cn=>{Le?Cn.updateQuery({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:!1},mn=>Le(mn,{fetchMoreResult:on.data,variables:qe.variables})):Cn.writeQuery({query:qe.query,variables:qe.variables,data:on.data})},onWatchUpdated:(Cn,mn)=>{Cn.watcher===this&&!(0,jt.L)(mn.result,Dn.result)&&(Pt=!0)}})}else{const Dn=this.getCurrentResult(),Cn=Le(Dn.data,{fetchMoreResult:on.data,variables:qe.variables});zt({kind:"N",value:{...Dn,networkStatus:jn.ready,loading:!1,data:Cn,dataState:"streaming"===Dn.dataState?"streaming":"complete"},source:"network"})}return this.maskResult(on)}).finally(()=>{Gt(),Tt&&!Pt&&zt({kind:"N",source:"newNetworkStatus",value:{}},{shouldEmit:1})})}subscribeToMore(L){const W=this.queryManager.startGraphQLSubscription({query:L.document,variables:L.variables,context:L.context}).subscribe({next:le=>{const{updateQuery:ge,onError:Le}=L,{error:qe}=le;qe?Le?Le(qe):o.V1.error(81,qe):ge&&this.updateQuery((Pt,Tt)=>ge(Pt,{subscriptionData:le,...Tt}))}});return this.subscriptions.add(W),()=>{this.subscriptions.delete(W)&&W.unsubscribe()}}applyOptions(L){const W=(0,M.o)(this.options,L||{});Kt(this.options,W),this.updatePolling()}setVariables(L){var W=this;return(0,H.A)(function*(){return L=W.getVariablesWithDefaults(L),(0,jt.L)(W.variables,L)||(W.options.variables=L,!W.hasObservers())?rn(W.getCurrentResult()):W._reobserve({fetchPolicy:W.options.initialFetchPolicy,variables:L},{newNetworkStatus:jn.setVariables})})()}updateQuery(L){const{queryManager:W}=this,{result:le,complete:ge}=this.getCacheDiff({optimistic:!1}),Le=L(le,{variables:this.variables,complete:!!ge,previousData:le});Le&&(W.cache.writeQuery({query:this.options.query,data:Le,variables:this.variables}),W.broadcastQueries())}startPolling(L){this.options.pollInterval=L,this.updatePolling()}stopPolling(){this.options.pollInterval=0,this.updatePolling()}applyNextFetchPolicy(L,W){if(W.nextFetchPolicy){const{fetchPolicy:le="cache-first",initialFetchPolicy:ge=le}=W;"standby"===le||(W.fetchPolicy="function"==typeof W.nextFetchPolicy?W.nextFetchPolicy.call(W,le,{reason:L,options:W,observable:this,initialFetchPolicy:ge}):"variables-changed"===L?ge:W.nextFetchPolicy)}return W.fetchPolicy}fetch(L,W,le,ge){const Le=this.options.fetchPolicy;L.context??={};let qe=!1,{observable:Gt,fromLink:zt}=this.queryManager.fetchObservableWithInfo(L,{networkStatus:W,query:le,onCacheHit:()=>{qe=!0},fetchQueryOperator:Kn=>new J.c(Bn=>{try{return Kn.subscribe({next(Zn){qe=!0,Bn.next(Zn)},error:Zn=>Bn.error(Zn),complete:()=>Bn.complete()})}finally{qe||(Cn.override=W,this.input.next({kind:"N",source:"newNetworkStatus",value:{resetError:!0},query:on,variables:Dn,meta:{shouldEmit:3,fetchPolicy:Le}}))}}),observableQuery:this});const{query:on,variables:Dn}=this,Cn={abort:()=>{Pn.unsubscribe()},query:on,variables:Dn};this.activeOperations.add(Cn);let mn=W==jn.refetch||W==jn.setVariables;Gt=Gt.pipe(ge,(0,it.u)());const Pn=Gt.pipe((0,we.M)({next:Kn=>{"newNetworkStatus"===Kn.source||"N"===Kn.kind&&Kn.value.loading?Cn.override=W:delete Cn.override},finalize:()=>this.activeOperations.delete(Cn)})).subscribe({next:Kn=>{const Bn={};mn&&"N"===Kn.kind&&"loading"in Kn.value&&!Kn.value.loading&&(mn=!1,Bn.shouldEmit=1),this.input.next({...Kn,query:on,variables:Dn,meta:Bn})}});return{fromLink:zt,subscription:Pn,observable:Gt}}didWarnCacheOnlyPolling=!1;updatePolling(){if(this.queryManager.ssrMode)return;const{pollingInfo:L,options:{fetchPolicy:W,pollInterval:le}}=this;
430if(!le||!this.hasObservers()||"cache-only"===W)return E.g&&!this.didWarnCacheOnlyPolling&&le&&"cache-only"===W&&(E.g&&o.V1.warn(82,(0,Ct.n)(this.query,"(anonymous)")),this.didWarnCacheOnlyPolling=!0),void this.cancelPolling();if(L?.interval===le)return;(L||(this.pollingInfo={})).interval=le;const Le=()=>{this.pollingInfo&&(cn(this.networkStatus)||this.options.skipPollAttempt?.()?qe():this._reobserve({fetchPolicy:"no-cache"===this.options.initialFetchPolicy?"no-cache":"network-only"},{newNetworkStatus:jn.poll}).then(qe,qe))},qe=()=>{const Pt=this.pollingInfo;Pt&&(clearTimeout(Pt.timeout),Pt.timeout=setTimeout(Le,Pt.interval))};qe()}cancelPolling(){this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),delete this.pollingInfo)}reobserve(L){return this._reobserve(L)}_reobserve(L,W){this.isTornDown=!1;let{newNetworkStatus:le}=W||{};this.queryManager.obsQueries.add(this);const ge=le===jn.refetch||le===jn.poll,Le=this.variables,qe=this.options.fetchPolicy,Pt=(0,M.o)(this.options,L||{});this.variablesUnknown&&="standby"===Pt.fetchPolicy;const Tt=ge?Pt:Kt(this.options,Pt),Gt=this.transformDocument(Tt.query);this.lastQuery=Gt,L&&"variables"in L&&(Tt.variables=this.getVariablesWithDefaults(L.variables)),ge||(this.updatePolling(),L&&L.variables&&!(0,jt.L)(L.variables,Le)&&"standby"!==Tt.fetchPolicy&&(Tt.fetchPolicy===qe||"function"==typeof Tt.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",Tt),void 0===le&&(le=jn.setVariables))),le||(le=jn.loading,this.networkStatus!==jn.loading&&L?.variables&&!(0,jt.L)(L.variables,Le)&&(le=jn.setVariables),"standby"===Tt.fetchPolicy&&(le=jn.ready)),"standby"===Tt.fetchPolicy&&this.cancelPolling(),this.resubscribeCache();const{promise:on,operator:Dn}=function Er(oe,L){let le,ge,W=L;const Le=new Promise((Pt,Tt)=>{le=Pt,ge=Tt}),qe=(0,we.M)({next(Pt){try{const Tt=oe(Pt);void 0!==Tt&&(W=Tt)}catch(Tt){ge(Tt)}},finalize:()=>{if(W)le(W);else{const Pt="The operation was aborted.",Tt="AbortError";ge(typeof DOMException<"u"?new DOMException(Pt,Tt):Object.assign(new Error(Pt),{name:Tt}))}}});return{promise:Le,operator:qe}}(Bn=>{switch(Bn.kind){case"E":throw Bn.error;case"N":if("newNetworkStatus"!==Bn.source&&!Bn.value.loading)return Bn.value}},"standby"===Tt.fetchPolicy?{data:void 0}:void 0),{subscription:Cn,observable:mn,fromLink:Pn}=this.fetch(Tt,le,Gt,Dn);!ge&&(Pn||!this.linkSubscription)&&(this.linkSubscription&&this.linkSubscription.unsubscribe(),this.linkSubscription=Cn);const Kn=Object.assign(function gt(oe){return oe.catch(()=>{}),oe}(on.then(Bn=>rn(this.maskResult(Bn))).finally(()=>{!this.hasObservers()&&0===this.activeOperations.size&&this.tearDownQuery()})),{retain:()=>{const Bn=mn.subscribe({}),Zn=()=>Bn.unsubscribe();return on.then(Zn,Zn),Kn}});return Kn}hasObservers(){return this.subject.observed}stop(){this.subject.complete(),this.initializeObservablesQueue(),this.tearDownQuery()}tearDownQuery(){this.isTornDown||(this.resetNotifications(),this.unsubscribeFromCache?.(),this.linkSubscription&&(this.linkSubscription.unsubscribe(),delete this.linkSubscription),this.stopPolling(),this.subscriptions.forEach(L=>L.unsubscribe()),this.subscriptions.clear(),this.queryManager.obsQueries.delete(this),this.isTornDown=!0,this.abortActiveOperations(),this._lastWrite=void 0)}transformDocument(L){return this.queryManager.transform(L)}maskResult(L){const W=this.queryManager.maskOperation({document:this.query,data:L.data,fetchPolicy:this.options.fetchPolicy,cause:this});return W===L.data?L:{...L,data:W}}
430dirty=!1;notifyTimeout;resetNotifications(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0),this.dirty=!1}scheduleNotify(){this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(()=>this.notify(!0),0)))}notify(L=!1){if(!L){const le=this.queryManager.getDocumentInfo(this.query);if(le.hasClientExports||le.hasForcedResolvers)return}const{dirty:W}=this;if(this.resetNotifications(),W&&("cache-only"==this.options.fetchPolicy||"cache-and-network"==this.options.fetchPolicy||!this.activeOperations.size)){const le=this.getCacheDiff();(0,jt.L)(le.result,this.getCacheDiff({optimistic:!1}).result)?this.reobserveCacheFirst():this.input.next({kind:"N",value:{data:le.result,dataState:le.complete?"complete":le.result?"partial":"empty",networkStatus:jn.ready,loading:!1,error:void 0,partial:!le.complete},source:"cache",query:this.query,variables:this.variables,meta:{}})}}activeOperations=new Set;pushOperation(L){let W=!1;const{query:le,variables:ge}=this,Le=()=>{this.activeOperations.delete(qe)},qe={override:L,abort:()=>{W=!0,Le()},query:le,variables:ge};return this.activeOperations.add(qe),{finalize:Le,pushNotification:(Pt,Tt)=>{W||this.input.next({...Pt,query:le,variables:ge,meta:{...Tt}})}}}calculateNetworkStatus(L){return L===jn.streaming?L:Array.from(this.activeOperations.values()).reverse().find(le=>bn(le,this)&&void 0!==le.override)?.override??L}abortActiveOperations(){this.activeOperations.forEach(L=>L.abort())}reset(){const L="cache-only"===this.options.fetchPolicy;this.setResult(L?nn:un,{shouldEmit:L?1:2}),this.abortActiveOperations()}setResult(L,W){this.input.next({source:"setResult",kind:"N",value:L,query:this.query,variables:this.variables,meta:{...W}})}operator=Ut(L=>{const{query:W,variables:le,meta:ge}=L;if("setResult"===L.source)return{query:W,variables:le,result:L.value,meta:ge};if("C"===L.kind||!bn(L,this))return;let Le;const qe=this.subject.getValue();if("cache"===L.source){if(Le=L.value,Le.networkStatus===jn.ready&&Le.partial&&(!this.options.returnPartialData||qe.result.networkStatus===jn.error)&&"cache-only"!==this.options.fetchPolicy)return}else if("network"===L.source)this.waitForNetworkResult&&(this.waitForNetworkResult=!1,this.resubscribeCache()),Le="E"===L.kind?{...bn(qe,L)?qe.result:{data:void 0,dataState:"empty",partial:!0},error:L.error,networkStatus:jn.error,loading:!1}:L.value,"E"===L.kind&&"streaming"===Le.dataState&&(Le.dataState="complete"),Le.error&&(ge.shouldEmit=1);else if("newNetworkStatus"===L.source){const Pt=bn(qe,L)?qe.result:this.getInitialResult(ge.fetchPolicy),{resetError:Tt}=L.value,Gt=Tt?void 0:Pt.error,zt=Gt?jn.error:jn.ready;Le={...Pt,error:Gt,networkStatus:zt}}return(0,o.V1)(Le),Le.error||delete Le.error,Le.networkStatus=this.calculateNetworkStatus(Le.networkStatus),Le.loading=cn(Le.networkStatus),Le=this.maskResult(Le),{query:W,variables:le,result:Le,meta:ge}});reobserveCacheFirst(){const{fetchPolicy:L,nextFetchPolicy:W}=this.options;"cache-and-network"===L||"network-only"===L?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy(le,ge){return this.nextFetchPolicy=W,"function"==typeof this.nextFetchPolicy?this.nextFetchPolicy(le,ge):L}}):this.reobserve()}getVariablesWithDefaults(L){return this.queryManager.getVariables(this.query,L)}}function bn(oe,L){return!!(oe&&L&&oe.query===L.query&&(0,jt.L)(oe.variables,L.variables))}const Fn={},ar=new WeakMap;function Yn(oe,L){const W=oe[L];"function"==typeof W&&(oe[L]=function(){return ar.set(oe,(ar.get(oe)+1)%1e15),W.apply(this,arguments)})}const Qn=new WeakMap;class vr{lastRequestId=1;cache;queryManager;id;observableQuery;incremental;constructor(L,W){const le=this.cache=L.cache,ge=(Qn.get(L)||0)+1;Qn.set(L,ge),this.id=ge+"",this.observableQuery=W,this.queryManager=L,ar.has(le)||(ar.set(le,0),Yn(le,"evict"),Yn(le,"modify"),Yn(le,"reset"))}_lastWrite;get lastWrite(){return(this.observableQuery||this)._lastWrite}set lastWrite(L){(this.observableQuery||this)._lastWrite=L}resetLastWrite(){this.lastWrite=void 0}shouldWrite(L,W){const{lastWrite:le}=this;return!(le&&le.dmCount===ar.get(this.cache)&&(0,jt.L)(W,le.variables)&&(0,jt.L)(L.data,le.result.data))}get hasNext(){return!!this.incremental&&this.incremental.hasNext}maybeHandleIncrementalResult(L,W,le){const{incrementalHandler:ge}=this.queryManager;return ge.isIncrementalResult(W)?(this.incremental||=ge.startRequest
430({query:le}),this.incremental.handle(L,W)):W}markQueryResult(L,{document:W,variables:le,errorPolicy:ge,cacheWriteBehavior:Le}){const qe={query:W,variables:le,returnPartialData:!0,optimistic:!0};this.observableQuery?.resetNotifications();const Pt=0===Le,Tt=Pt?void 0:this.cache.diff(qe);let Gt=this.maybeHandleIncrementalResult(Tt?.result,L,W);return Pt||(qn(Gt,ge)?this.cache.batch({onWatchUpdated:(zt,on)=>{zt.watcher===this.observableQuery&&(zt.lastOwnDiff=on)},update:zt=>{if(this.shouldWrite(Gt,le))zt.writeQuery({query:W,data:Gt.data,variables:le,overwrite:1===Le}),this.lastWrite={result:Gt,variables:le,dmCount:ar.get(this.cache)};else if(Tt&&Tt.complete)return void(Gt={...Gt,data:Tt.result});const on=zt.diff(qe);on.complete&&(Gt={...Gt,data:on.result})}}):this.lastWrite=void 0),Gt}markMutationResult(L,W,le=this.cache){const ge=[],Le=0===W.cacheWriteBehavior;let qe=this.maybeHandleIncrementalResult(Le?void 0:le.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(W.document).asQuery,variables:W.variables,optimistic:!1,returnPartialData:!0}).result,L,W.document);if("ignore"===W.errorPolicy&&(qe={...qe,errors:[]}),Mn(qe)&&"none"===W.errorPolicy)return Promise.resolve(qe);const Pt=()=>({...qe,dataState:this.hasNext?"streaming":"complete"});if(!Le&&qn(qe,W.errorPolicy)){ge.push({result:qe.data,dataId:"ROOT_MUTATION",query:W.document,variables:W.variables});const{updateQueries:Gt}=W;Gt&&this.queryManager.getObservableQueries("all").forEach(zt=>{const on=zt&&zt.queryName;if(!on||!Object.hasOwnProperty.call(Gt,on))return;const Dn=Gt[on],{query:Cn,variables:mn}=zt,{result:Pn,complete:Kn}=zt.getCacheDiff({optimistic:!1});if(Kn&&Pn){const Bn=Dn(Pn,{mutationResult:Pt(),queryName:Cn&&(0,Ct.n)(Cn)||void 0,queryVariables:mn});Bn&&ge.push({result:Bn,dataId:"ROOT_QUERY",query:Cn,variables:mn})}})}let Tt=W.refetchQueries;if("function"==typeof Tt&&(Tt=Tt(Pt())),ge.length>0||(Tt||"").length>0||W.update||W.onQueryUpdated||W.removeOptimistic){const Gt=[];if(this.queryManager.refetchQueries({updateCache:zt=>{Le||ge.forEach(Dn=>zt.write(Dn));const{update:on}=W;if(on){if(!Le){const Dn=zt.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(W.document).asQuery,variables:W.variables,optimistic:!1,returnPartialData:!0});Dn.complete&&(qe={...qe,data:Dn.result})}this.hasNext||on(zt,qe,{context:W.context,variables:W.variables})}!Le&&!W.keepRootFields&&!this.hasNext&&zt.modify({id:"ROOT_MUTATION",fields:(Dn,{fieldName:Cn,DELETE:mn})=>"__typename"===Cn?Dn:mn})},include:Tt,optimistic:!1,removeOptimistic:W.removeOptimistic,onQueryUpdated:W.onQueryUpdated||null}).forEach(zt=>Gt.push(zt)),W.awaitRefetchQueries||W.onQueryUpdated)return Promise.all(Gt).then(()=>qe)}return Promise.resolve(qe)}markMutationOptimistic(L,W){const le="function"==typeof L?L(W.variables,{IGNORE:Fn}):L;return le!==Fn&&(this.cache.recordOptimisticTransaction(ge=>{try{this.markMutationResult({data:le},W,ge)}catch(Le){o.V1.error(Le)}},this.id),!0)}markSubscriptionResult(L,{document:W,variables:le,errorPolicy:ge,cacheWriteBehavior:Le}){0!==Le&&(qn(L,ge)&&this.cache.write({query:W,result:L.data,dataId:"ROOT_SUBSCRIPTION",variables:le}),this.queryManager.broadcastQueries())}}function qn(oe,L="none"){const W="ignore"===L||"all"===L;let le=!Mn(oe);return!le&&W&&oe.data&&(le=!0),le}class cr{defaultOptions;client;clientOptions;assumeImmutableResults;documentTransform;ssrMode;defaultContext;dataMasking;incrementalHandler;localState;queryDeduplication;prioritizeCacheValues=!1;onBroadcast;mutationStore;obsQueries=new Set;fetchCancelFns=new Map;constructor(L){const W=new v.c(ge=>this.cache.transformDocument(ge),{cache:!1});this.client=L.client,this.defaultOptions=L.defaultOptions,this.queryDeduplication=L.queryDeduplication,this.clientOptions=L.clientOptions,this.ssrMode=L.ssrMode,this.assumeImmutableResults=L.assumeImmutableResults,this.dataMasking=L.dataMasking,this.localState=L.localState,this.incrementalHandler=L.incrementalHandler;const le=L.documentTransform;this.documentTransform=le?W.concat(le).concat(W):W,this.defaultContext=L.defaultContext||{},(this.onBroadcast=L.onBroadcast)&&(this.mutationStore={})}get link(){return this.client.link}get cache(){return this.client.cache}
430stop(){this.obsQueries.forEach(L=>L.stop()),this.cancelPendingFetches((0,o.vA)(84))}cancelPendingFetches(L){this.fetchCancelFns.forEach(W=>W(L)),this.fetchCancelFns.clear()}mutate(L){var W=this;return(0,H.A)(function*({mutation:le,variables:ge,optimisticResponse:Le,updateQueries:qe,refetchQueries:Pt=[],awaitRefetchQueries:Tt=!1,update:Gt,onQueryUpdated:zt,fetchPolicy:on,errorPolicy:Dn,keepRootFields:Cn,context:mn}){const Pn=new vr(W);le=W.cache.transformForLink(W.transform(le));const{hasClientExports:Kn}=W.getDocumentInfo(le);ge=W.getVariables(le,ge),Kn&&(E.g&&(0,o.V1)(W.localState,85,(0,Ct.n)(le,"(anonymous)")),ge=yield W.localState.getExportedVariables({client:W.client,document:le,variables:ge,context:mn}));const Bn=W.mutationStore&&(W.mutationStore[Pn.id]={mutation:le,variables:ge,loading:!0,error:null}),Zn=Le&&Pn.markMutationOptimistic(Le,{document:le,variables:ge,cacheWriteBehavior:"no-cache"===on?0:2,errorPolicy:Dn,context:mn,updateQueries:qe,update:Gt,keepRootFields:Cn});return W.broadcastQueries(),new Promise((yr,br)=>{const fr={};return W.getObservableFromLink(le,{...mn,optimisticResponse:Zn?Le:void 0},ge,{},!1).observable.pipe(nr(),(0,re.Z)(te=>{const se={...te};return(0,G.H)(Pn.markMutationResult(se,{document:le,variables:ge,cacheWriteBehavior:"no-cache"===on?0:2,errorPolicy:Dn,context:mn,update:Gt,updateQueries:qe,awaitRefetchQueries:Tt,refetchQueries:Pt,removeOptimistic:Zn?Pn.id:void 0,onQueryUpdated:zt,keepRootFields:Cn}))})).pipe((0,c.T)(te=>{if(Mn(te)&&"none"===Dn)throw new at.K(te);return Bn&&(Bn.loading=!1,Bn.error=null),te})).subscribe({next:te=>{if(W.broadcastQueries(),!Pn.hasNext){const se={data:W.maskOperation({document:le,data:te.data,fetchPolicy:on,cause:fr})};Mn(te)&&(se.error=new at.K(te)),Object.keys(te.extensions||{}).length&&(se.extensions=te.extensions),yr(se)}},error:te=>(Bn&&(Bn.loading=!1,Bn.error=te),Zn&&W.cache.removeOptimistic(Pn.id),W.broadcastQueries(),"ignore"===Dn?yr({data:void 0}):"all"===Dn?yr({data:void 0,error:te}):void br(te))})})}).apply(this,arguments)}fetchQuery(L,W){var le=this;
430return(0,P.s)(L.query,h.cE.QUERY),(0,H.A)(function*(){return(0,ce.s)(le.fetchObservableWithInfo(L,{networkStatus:W}).observable.pipe(Ut(ge=>{switch(ge.kind){case"E":throw ge.error;case"N":if("newNetworkStatus"!==ge.source)return rn(ge.value)}})),{defaultValue:{data:void 0}})})()}transform(L){return this.documentTransform.transformDocument(L)}transformCache=new In.A(Lt.v["queryManager.getDocumentInfo"]||2e3);getDocumentInfo(L){const{transformCache:W}=this;if(!W.has(L)){const ge=(0,bt.V)(L),Le={hasClientExports:(0,T.d)(["client","export"],L,!0),hasForcedResolvers:An(L),hasNonreactiveDirective:(0,T.d)(["nonreactive"],L),hasIncrementalDirective:(0,T.d)(["defer"],L),nonReactiveQuery:(oe=L,(0,I.YR)(oe,{FragmentSpread:L=>{if(!L.directives?.some(W=>"unmask"===W.name.value))return{...L,directives:[...L.directives||[],{kind:S.b.DIRECTIVE,name:{kind:S.b.NAME,value:"nonreactive"}}]}}})),clientQuery:(0,T.d)(["client"],L)?L:null,serverQuery:(0,Xn.i)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],L),operationType:ge?.operation,defaultVars:(0,Fr.w)(ge),asQuery:{...L,definitions:L.definitions.map(qe=>"OperationDefinition"===qe.kind&&"query"!==qe.operation?{...qe,operation:"query"}:qe)}};W.set(L,Le)}var oe;const le=W.get(L);if(le.violation)throw le.violation;return le}getVariables(L,W){const le=this.getDocumentInfo(L).defaultVars,ge=Object.entries(W??{}).map(([Le,qe])=>[Le,void 0===qe?le[Le]:qe]);return{...le,...Object.fromEntries(ge)}}watchQuery(L){(0,P.s)(L.query,h.cE.QUERY);const W=this.transform(L.query);return typeof(L={...L,variables:this.getVariables(W,L.variables)}).notifyOnNetworkStatusChange>"u"&&(L.notifyOnNetworkStatusChange=!0),new Rt({queryManager:this,options:L,transformedQuery:W})}query(L){const W=this.transform(L.query);return this.fetchQuery({...L,query:W}).then(le=>({...le,data:this.maskOperation({document:W,data:le?.data,fetchPolicy:L.fetchPolicy})}))}requestIdCounter=1;generateRequestId(){return this.requestIdCounter++}clearStore(L={discardWatches:!0}){return this.cancelPendingFetches((0,o.vA)(86)),this.obsQueries.forEach(W=>{W.reset()}),this.mutationStore&&(this.mutationStore={}),this.cache.reset(L)}getObservableQueries(L="active"){const W=new Set,le=new Map,ge=new Map,Le=new Set;return Array.isArray(L)&&L.forEach(qe=>{if("string"==typeof qe)le.set(qe,qe),ge.set(qe,!1);else if(function Dr(oe){return(0,Pr.U)(oe)&&"Document"===oe.kind&&Array.isArray(oe.definitions)}(qe)){const Pt=(0,vn.y)(this.transform(qe));le.set(Pt,(0,Ct.n)(qe)),ge.set(Pt,!1)}else(0,Pr.U)(qe)&&qe.query&&Le.add(qe)}),this.obsQueries.forEach(qe=>{const Pt=(0,vn.y)(this.transform(qe.options.query));if("all"===L)return void W.add(qe);const{queryName:Tt,options:{fetchPolicy:Gt}}=qe;"active"===L&&"standby"===Gt||("active"===L||Tt&&ge.has(Tt)||Pt&&ge.has(Pt))&&(W.add(qe),Tt&&ge.set(Tt,!0),Pt&&ge.set(Pt,!0))}),Le.size&&Le.forEach(qe=>{const Pt=new Rt({queryManager:this,options:{...qe,fetchPolicy:"network-only"}});W.add(Pt)}),E.g&&ge.size&&ge.forEach((qe,Pt)=>{if(!qe){const Tt=le.get(Pt);Tt?E.g&&o.V1.warn(87,Tt):E.g&&o.V1.warn(88)}}),W}refetchObservableQueries(L=!1){const W=[];return this.getObservableQueries(L?"all":"active").forEach(le=>{const{fetchPolicy:ge}=le.options;(L||"standby"!==ge)&&"cache-only"!==ge&&W.push(le.refetch())}),this.broadcastQueries(),Promise.all(W)}startGraphQLSubscription(L){let{query:W,variables:le}=L;const{fetchPolicy:ge,errorPolicy:Le="none",context:qe={},extensions:Pt={}}=L;let Tt;(0,P.s)(W,h.cE.SUBSCRIPTION),W=this.transform(W),le=this.getVariables(W,le),E.g&&(0,o.V1)(!this.getDocumentInfo(W).hasClientExports||this.localState,89,(0,Ct.n)(W,"(anonymous)"));const Gt=(this.getDocumentInfo(W).hasClientExports?(0,G.H)(this.localState.getExportedVariables({client:this.client,document:W,variables:le,context:qe})):(0,pe.of)(le)).pipe((0,re.Z)(zt=>{const{observable:on,restart:Dn}=this.getObservableFromLink(W,qe,zt,Pt),Cn=new vr(this);return Tt=Dn,on.pipe((0,c.T)(mn=>{Cn.markSubscriptionResult(mn,{document:W,variables:zt,errorPolicy:Le,cacheWriteBehavior:"no-cache"===ge?0:2});const Pn={data:mn.data??void 0};return Mn(mn)?Pn.error=new at.K(mn):(0,Ot.uR)(mn)&&(Pn.error=mn.extensions[Ot.K$],delete mn.extensions[Ot.K$]),mn.extensions&&Object.keys(mn.extensions).length&&(Pn.extensions=mn.extensions),Pn.error&&"none"===Le&&(Pn.data=void 0),"ignore"===Le&&delete Pn.error,Pn}),(0,De.W)(mn=>(0,pe.of)("ignore"===Le?{data:void 0}:{data:void 0,error:mn})),(0,z.p)(mn=>!(!mn.data&&!mn.error)))}));return Object.assign(Gt,{restart:()=>Tt?.()})}broadcastQueries(){this.onBroadcast&&this.onBroadcast(),this.obsQueries.forEac
430h(L=>L.notify())}inFlightLinkObservables=new ae.b(!1);getObservableFromLink(L,W,le,ge,Le=W?.queryDeduplication??this.queryDeduplication){let qe={};const{serverQuery:Pt,clientQuery:Tt,operationType:Gt,hasIncrementalDirective:zt}=this.getDocumentInfo(L),on=(0,Ct.n)(L),Dn={client:this.client};if(Pt){const{inFlightLinkObservables:Cn,link:mn}=this;try{let Kn=function(Bn){return new J.c(Zn=>{function yr(){return Bn.subscribe({next:Zn.next.bind(Zn),complete:Zn.complete.bind(Zn),error:Zn.error.bind(Zn)})}let br=yr();return qe.restart||=()=>{br.unsubscribe(),br=yr()},()=>{br.unsubscribe(),qe.restart=void 0}})};const Pn=this.incrementalHandler.prepareRequest({query:Pt,variables:le,context:{...this.defaultContext,...W,queryDeduplication:Le},extensions:ge});if(W=Pn.context,Le){const Bn=(0,vn.y)(Pt),Zn=(0,Be.M)(le);qe=Cn.lookup(Bn,Zn),qe.observable||(qe.observable=C(mn,Pn,Dn).pipe(Kn,(0,ke.j)(()=>{Cn.peek(Bn,Zn)===qe&&Cn.remove(Bn,Zn)}),Gt===h.cE.SUBSCRIPTION?(0,it.u)():(0,Re.t)({refCount:!0})))}else qe.observable=C(mn,Pn,Dn).pipe(Kn)}catch(Pn){qe.observable=(0,Y.$)(()=>Pn)}}else qe.observable=(0,pe.of)({data:{}});if(Tt){const{operation:Cn}=(0,bt.V)(L);E.g&&(0,o.V1)(this.localState,90,Cn[0].toUpperCase()+Cn.slice(1),on??"(anonymous)"),(0,o.V1)(!zt,91,Cn[0].toUpperCase()+Cn.slice(1),on??"(anonymous)"),qe.observable=qe.observable.pipe((0,re.Z)(mn=>(0,G.H)(this.localState.execute({client:this.client,document:Tt,remoteResult:mn,context:W,variables:le}))))}return{restart:()=>qe.restart?.(),observable:qe.observable.pipe((0,De.W)(Cn=>{throw function Yt(oe){Et.add(oe)}(Cn=(0,Ot.$b)(Cn)),Cn}))}}getResultsFromLink(L,{queryInfo:W,cacheWriteBehavior:le,observableQuery:ge}){const Le=W.lastRequestId=this.generateRequestId(),{errorPolicy:qe}=L,Pt=this.cache.transformForLink(L.query);return this.getObservableFromLink(Pt,L.context,L.variables).observable.pipe((0,c.T)(Tt=>{const Gt=W.markQueryResult(Tt,{...L,document:Pt,cacheWriteBehavior:le}),zt=Mn(Gt);if(zt&&"none"===qe)throw W.resetLastWrite(),ge?.resetNotifications(),new at.K(Gt);const on={data:Gt.data,...W.hasNext?{loading:!0,networkStatus:jn.streaming,dataState:"streaming",partial:!0}:{dataState:Gt.data?"complete":"empty",loading:!1,networkStatus:jn.ready,partial:!Gt.data}};return zt&&("none"===qe&&(on.data=void 0,on.dataState="empty"),"ignore"!==qe&&(on.error=new at.K(Gt),"streaming"!==on.dataState&&(on.networkStatus=jn.error))),on}),(0,De.W)(Tt=>{if(Le>=W.lastRequestId&&"none"===qe)throw W.resetLastWrite(),ge?.resetNotifications(),Tt;const Gt={data:void 0,dataState:"empty",loading:!1,networkStatus:jn.ready,partial:!0};return"ignore"!==qe&&(Gt.error=Tt,Gt.networkStatus=jn.error),(0,pe.of)(Gt)}))}fetchObservableWithInfo(L,{networkStatus:W=jn.loading,query:le=L.query,fetchQueryOperator:ge=Pt=>Pt,onCacheHit:Le=()=>{},observableQuery:qe}){const Pt=this.getVariables(le,L.variables),Tt=this.defaultOptions.watchQuery;let{fetchPolicy:Gt=Tt&&Tt.fetchPolicy||"cache-first",errorPolicy:zt=Tt&&Tt.errorPolicy||"none",returnPartialData:on=!1,notifyOnNetworkStatusChange:Dn=!0,context:Cn={}}=L;this.prioritizeCacheValues&&("network-only"===Gt||"cache-and-network"===Gt)&&(Gt="cache-first");const mn=Object.assign({},L,{query:le,variables:Pt,fetchPolicy:Gt,errorPolicy:zt,returnPartialData:on,notifyOnNetworkStatusChange:Dn,context:Cn}),Pn=new vr(this,qe),Kn=fr=>{mn.variables=fr;const se=this.fetchQueryByPolicy(mn,{queryInfo:Pn,cacheWriteBehavior:"no-cache"===Gt?0:W===jn.refetch&&"merge"!==mn.refetchWritePolicy?1:2,onCacheHit:Le,observableQuery:qe});return se.observable=se.observable.pipe(ge),"standby"!==mn.fetchPolicy&&qe?.applyNextFetchPolicy("after-fetch",L),se},Bn=()=>{this.fetchCancelFns.delete(Pn.id)};this.fetchCancelFns.set(Pn.id,fr=>{Zn.next({kind:"E",error:fr,source:"network"})});const Zn=new Qe.B;let yr,br;if(this.getDocumentInfo(mn.query).hasClientExports)E.g&&(0,o.V1)(this.localState,92,(0,Ct.n)(mn.query,"(anonymous)")),yr=(0,G.H)(this.localState.getExportedVariables({client:this.client,document:mn.query,variables:mn.variables,context:mn.context})).pipe((0,re.Z)(fr=>Kn(fr).observable)),br=!0;else{const fr=Kn(mn.variables);br=fr.fromLink,yr=fr.observable}return{observable:new J.c(fr=>{fr.add(Bn),yr.subscribe(fr),Zn.subscribe(fr)}).pipe((0,it.u)()),fromLink:br}}refetchQueries({updateCache:L,include:W,optimistic:le=!1,removeOptimistic:ge=(le?(0,wr.v)("refetchQueries"):void 0),onQueryUpdated:Le}){const qe=new Map;W&&this.getObservableQueries(W).forEach(Tt=>{if("cache-only"===Tt.options.fetchPolicy||Tt.variablesUnknown)return;const Gt=Tt.getCurrentResult();qe.set(Tt,{oq:Tt,lastDiff:{result:Gt?.data,complete:!Gt?.partial}})});const Pt=new Map;if(L){const Tt=new Set;this.cache.batch({update:L,optimistic:le&&ge||!1,removeOptimistic:ge,onWatchUpdated(Gt,zt,on){const Dn=Gt.watcher;if(Dn instanceof Rt&&!Tt.has(Dn)){if(Tt.add(Dn),Le){qe.delete(Dn);let Cn=Le(Dn,zt,on);return!0===Cn&&(Cn=Dn.refetch().retain()),!1!==Cn&&Pt.set(Dn,Cn),Cn}null!==Le&&"cache-only"!==Dn.options.fetchPolicy&&qe.set(Dn,{oq:Dn,lastDiff:on,diff:zt})}}})}return qe.size&&qe.forEach(({oq:Tt,lastDiff:Gt,diff:zt})=>{let on;Le&&(zt||(zt=Tt.getCacheDiff()),on=Le(Tt,zt,Gt)),(!Le||!0===on)&&(on=Tt.refetch().retain()),!1!==on&&Pt.set(Tt,on)}),ge&&this.cache.removeOptimistic(ge),Pt}noCacheWarningsByCause=new WeakSet;maskOperation(L){const{document:W,data:le}=L;if(E.g){const{fetchPolicy:ge,cause:Le={}}=L,qe=(0,bt.V)(W)?.operation;this.dataMasking&&"no-cache"===ge&&!function Jn(oe){let L=!0;return(0,I.YR)(oe,{FragmentSpread:W=>{if(L=!!W.directives&&W.directives.some(le=>
430"unmask"===le.name.value),!L)return I.sP}}),L}(W)&&!this.noCacheWarningsByCause.has(Le)&&(this.noCacheWarningsByCause.add(Le),E.g&&o.V1.warn(93,(0,Ct.n)(W,`Unnamed ${qe??"operation"}`)))}return this.dataMasking?function Wt(oe,L,W){const le=(0,bt.V)(L);return(0,o.V1)(le,43),null==oe?oe:pt(oe,le.selectionSet,{operationType:le.operation,operationName:le.name?.value,fragmentMap:(0,Xe.J)((0,tt.z)(L)),cache:W,mutableTargets:new WeakMap,knownChanged:new WeakSet})}(le,W,this.cache):le}maskFragment(L){const{data:W,fragment:le,fragmentName:ge}=L;return this.dataMasking?function sn(oe,L,W,le){const ge=L.definitions.filter(qe=>qe.kind===S.b.FRAGMENT_DEFINITION);typeof le>"u"&&((0,o.V1)(1===ge.length,41,ge.length),le=ge[0].name.value);const Le=ge.find(qe=>qe.name.value===le);return(0,o.V1)(!!Le,42,le),null==oe||(0,jt.L)(oe,{})?oe:pt(oe,Le.selectionSet,{operationType:"fragment",operationName:Le.name.value,fragmentMap:(0,Xe.J)((0,tt.z)(L)),cache:W,mutableTargets:new WeakMap,knownChanged:new WeakSet})}(W,le,this.cache,ge):W}fetchQueryByPolicy({query:L,variables:W,fetchPolicy:le,errorPolicy:ge,returnPartialData:Le,context:qe},{cacheWriteBehavior:Pt,onCacheHit:Tt,queryInfo:Gt,observableQuery:zt}){const on=()=>this.cache.diff({query:L,variables:W,returnPartialData:!0,optimistic:!0}),Dn=(mn,Pn)=>{const Kn=mn.result;E.g&&!Le&&null!==Kn&&function Xt(oe){E.g&&oe&&E.g&&o.V1.debug(83,oe)}(mn.missing);const Bn=yr=>(!mn.complete&&!Le&&(yr=void 0),{data:yr,dataState:mn.complete?"complete":yr?"partial":"empty",loading:cn(Pn),networkStatus:Pn,partial:!mn.complete});return(mn.complete||Le)&&this.getDocumentInfo(L).hasForcedResolvers?(E.g&&(0,o.V1)(this.localState,94,(0,Ct.n)(L,"(anonymous)")),Tt(),(0,G.H)(this.localState.execute({client:this.client,document:L,remoteResult:Kn?{data:Kn}:void 0,context:qe,variables:W,onlyRunForcedResolvers:!0,returnPartialData:!0}).then(yr=>({kind:"N",value:Bn(yr.data||void 0),source:"cache"})))):(0,pe.of)({kind:"N",value:Bn("none"===ge&&Pn===jn.refetch&&mn.missing?void 0:Kn||void 0),source:"cache"})},Cn=()=>this.getResultsFromLink({query:L,variables:W,context:qe,fetchPolicy:le,errorPolicy:ge},{cacheWriteBehavior:Pt,queryInfo:Gt,observableQuery:zt}).pipe(nr(),function je(){return(0,q.N)((oe,L)=>{oe.subscribe((0,Te._)(L,W=>{L.next(ne.createNext(W))},()=>{L.next(ne.createComplete()),L.complete()},W=>{L.next(ne.createError(W)),L.complete()}))})}(),(0,c.T)(mn=>({...mn,source:"network"})));switch(le){default:case"cache-first":{const mn=on();return mn.complete?{fromLink:!1,observable:Dn(mn,jn.ready)}:Le?{fromLink:!0,observable:(0,Fe.x)(Dn(mn,jn.loading),Cn())}:{fromLink:!0,observable:Cn()}}case"cache-and-network":{const mn=on();return mn.complete||Le?{fromLink:!0,observable:(0,Fe.x)(Dn(mn,jn.loading),Cn())}:{fromLink:!0,observable:Cn()}}case"cache-only":return{fromLink:!1,observable:(0,Fe.x)(Dn(on(),jn.ready))};case"network-only":case"no-cache":return{fromLink:!0,observable:Cn()};case"standby":return{fromLink:!1,observable:Ze.w}}}}function nr(){let oe=!1;return(0,we.M)({next(){oe=!0},complete(){(0,o.V1)(oe,95)}})}let Or=!1;class Mr{link;cache;disableNetworkFetches;set prioritizeCacheValues(L){this.queryManager.prioritizeCacheValues=L}get prioritizeCacheValues(){return this.queryManager.prioritizeCacheValues}version;queryDeduplication;defaultOptions;devtoolsConfig;queryManager;devToolsHookCb;resetStoreCallbacks=[];clearStoreCallbacks=[];constructor(L){E.g&&((0,o.V1)(L.cache,65),(0,o.V1)(L.link,66));const{cache:W,documentTransform:le,ssrMode:ge=!1,ssrForceFetchDelay:Le=0,queryDeduplication:qe=!0,defaultOptions:Pt,defaultContext:Tt,assumeImmutableResults:Gt=W.assumeImmutableResults,localState:zt,devtools:on,dataMasking:Dn,link:Cn,incrementalHandler:mn=new D}=L;this.link=Cn,this.cache=W,this.queryDeduplication=qe,this.defaultOptions=Pt||{},this.devtoolsConfig={...on,enabled:on?.enabled??E.g},this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.refetchObservableQueries=this.refetchObservableQueries.bind(this),this.version=w.r,this.queryManager=new cr({client:this,defaultOptions:this.defaultOptions,defaultContext:Tt,documentTransform:le,queryDeduplication:qe,ssrMode:ge,dataMasking:!!Dn,clientOptions:L,incrementalHandler:mn,assumeImmutableResults:Gt,onBroadcast:this.devtoolsConfig.enabled?()=>{this.devToolsHookCb&&this.devToolsHookCb()}:void 0,localState:zt}),this.prioritizeCacheValues=ge||Le>0,Le&&setTimeout(()=>{this.prioritizeCacheValues=!1},Le),this.devtoolsConfig.enabled&&this.connectToDevTools()}connectToDevTools(){if(typeof window>"u")return;const L=window,W=Symbol.for("apollo.devtools");(L[W]=L[W]||[]).push(this),L.__APOLLO_CLIENT__=this,!Or&&E.g&&(Or=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(()=>{if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){const le=window.navigator,ge=le&&le.userAgent;let Le;"string"==typeof ge&&(ge.indexOf("Chrome/")>-1?Le="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":ge.indexOf("Firefox/")>-1&&(Le="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),Le&&E.g&&o.V1.log("Download the Apollo DevTools for a better development experience: %s",Le)}},1e4))}get documentTransform(){return this.queryManager.documentTransform}get localState(){return this.queryManager.localState}set localState(L){this.queryManager.localState=L}stop(){this.queryManager.stop()}watchQuery(L){return this.defaultOptions.watchQuery&&(L=N(this.defaultOptions.watchQuery,L)),this.queryManager.watchQuery(L)}query(L){return this.defaultOptions.query&&(L=N(this.defaultOptions.query,L)),E.g&&((0,o.V1)("cache-and-network"!==L.fetchPolicy,67),(0,o.V1)("standby"!==L.fetchPolicy,68),(0,o.V1)(L.query,69),(0,o.V1)("Document"===L.query.kind,70),(0,o.V1)(!L.returnPartialData,71),(0,o.V1)(!L.pollInterval,72),(0,o.V1)(!L.notifyOnNetworkStatusChange,73)),this.queryManager.query(L)}mutate(L){const W=N((0,M.o)({fetchPolicy:"network-only",errorPolicy:"none"},this.defaultOptions.mutate),L);return E.g&&((0,o.V1)(W.mutation,74),(0,o.V1)("network-only"===W.fetchPolicy||"no-cache"===W.fetchPolicy,75)),(0,P.s)(W.mutation,h.cE.MUTATION),this.queryManager.mutate(W)}subscribe(L){const W={},le=this.queryManager.startGraphQLSubscription(L),ge=le.pipe((0,c.T)(Le=>({...Le,data:this.queryManager.maskOperation({document:L.query,data:Le.data,fetchPolicy:L.fetchPolicy,cause:W})})));return Object.assign(ge,{restart:le.restart})}readQuery(L,W=!1){return this.cache.readQuery({...L,query:this.transform(L.query)},W)}watchFragment(L){const W=this.queryManager.dataMasking;return this.cache.watchFragment({...L,fragment:this.transform(L.fragment,W)}).pipe((0,c.T)(le=>{if(E.g&&W){const ge=this.queryManager.maskFragment({...L,data:le.data});return{...le,data:ge}}return le}))}readFragment(L,W=!1){return this.cache.readFragment({...L,fragment:this.transform(L.fragment)},W)}writeQuery(L){const W=this.cache.writeQuery(L);return!1!==L.broadcast&&this.queryManager.broadcastQueries(),W}writeFragment(L){const W=this.cache.writeFragment(L);return!1!==L.broadcast&&this.queryManager.broadcastQueries(),W}__actionHookForDevTools(L){this.devToolsHookCb=L}__requestRaw(L){return C(this.link,L,{client:this})}resetStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!1})).then(()=>Promise.all(this.resetStoreCallbacks.map(L=>L()))).then(()=>this.refetchObservableQueries())}clearStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!0})).then(()=>Promise.all(this.clearStoreCallbacks.map(L=>L())))}onResetStore(L){return this.resetStoreCallbacks.push(L),()=>{this.resetStoreCallbacks=this.resetStoreCallbacks.filter(W=>W!==L)}}onClearStore(L){return this.clearStoreCallbacks.push(L),()=>{this.clearStoreCallbacks=this.clearStoreCallbacks.filter(W=>W!==L)}}reFetchObservableQueries;refetchObservableQueries(L){return this.queryManager.refetchObservableQueries(L)}refetchQueries(L){const W=this.queryManager.refetchQueries(L),le=[],ge=[];W.forEach((qe,Pt)=>{le.push(Pt),ge.push(qe)});const Le=Promise.all(ge);return Le.queries=le,Le.results=ge,Le.catch(qe=>{E.g&&o.V1.debug(76,qe)}),Le}getObservableQueries(L="active"){return this.queryManager.getObservableQueries(L)}extract(L){return this.cache.extract(L)}restore(L){return this.cache.restore(L)}setLink(L){this.link=L}get defaultContext(){return this.queryManager.defaultContext}maskedFragmentTransform=new v.c(x);transform(L,W=!1){const le=this.queryManager.transform(L);return W?this.maskedFragmentTransform.transformDocument(le):le}}E.g&&(Mr.prototype.getMemoryInternals=j.ep);var lr=n(9799),Wr=n(99490);function or(oe,L,W){return new Wr.eO(`Syntax Error: ${W}`,{source:oe,positions:[L]})}var zr=function(oe){return oe.QUERY="QUERY",oe.MUTATION="MUTATION",oe.SUBSCRIPTION="SUBSCRIPTION",oe.FIELD="FIELD",oe.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",oe.FRAGMENT_SPREAD="FRAGMENT_SPREAD",oe.INLINE_FRAGMENT="INLINE_FRAGMENT",oe.VARIABLE_DEFINITION="VARIABLE_DEFINITION",oe.SCHEMA="SCHEMA",oe.SCALAR="SCALAR",oe.OBJECT="OBJECT",oe.FIELD_DEFINITION="FIELD_DEFINITION",oe.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",oe.INTERFACE="INTERFACE",oe.UNION="UNION",oe.ENUM="ENUM",oe.ENUM_VALUE="ENUM_VALUE",oe.INPUT_OBJECT="INPUT_OBJECT",oe.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",oe}(zr||{}),go=n(81168),ct=n(83299),$=function(oe){return oe.SOF="<SOF>",oe.EOF="<EOF>",oe.BANG="!",oe.DOLLAR="$",oe.AMP="&",oe.PAREN_L="(",oe.PAREN_R=")",oe.SPREAD="...",oe.COLON=":",oe.EQUALS="=",oe.AT="@",oe.BRACKET_L="[",oe.BRACKET_R="]",oe.BRACE_L="{",oe.PIPE="|",oe.BRACE_R="}
430",oe.NAME="Name",oe.INT="Int",oe.FLOAT="Float",oe.STRING="String",oe.BLOCK_STRING="BlockString",oe.COMMENT="Comment",oe}($||{});class ue{constructor(L){const W=new h.ou($.SOF,0,0,0,0);this.source=L,this.lastToken=W,this.token=W,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let L=this.token;if(L.kind!==$.EOF)do{if(L.next)L=L.next;else{const W=yt(this,L.end);L.next=W,W.prev=L,L=W}}while(L.kind===$.COMMENT);return L}}function Oe(oe){return oe>=0&&oe<=55295||oe>=57344&&oe<=1114111}function Z(oe,L){return Ce(oe.charCodeAt(L))&&p(oe.charCodeAt(L+1))}function Ce(oe){return oe>=55296&&oe<=56319}function p(oe){return oe>=56320&&oe<=57343}function Ke(oe,L){const W=oe.source.body.codePointAt(L);if(void 0===W)return $.EOF;if(W>=32&&W<=126){const le=String.fromCodePoint(W);return'"'===le?"'\"'":`"${le}"`}return"U+"+W.toString(16).toUpperCase().padStart(4,"0")}function nt(oe,L,W,le,ge){return new h.ou(L,W,le,oe.line,1+W-oe.lineStart,ge)}function yt(oe,L){const W=oe.source.body,le=W.length;let ge=L;for(;ge<le;){const Le=W.charCodeAt(ge);switch(Le){case 65279:case 9:case 32:case 44:++ge;continue;case 10:++ge,++oe.line,oe.lineStart=ge;continue;case 13:10===W.charCodeAt(ge+1)?ge+=2:++ge,++oe.line,oe.lineStart=ge;continue;case 35:return It(oe,ge);case 33:return nt(oe,$.BANG,ge,ge+1);case 36:return nt(oe,$.DOLLAR,ge,ge+1);case 38:return nt(oe,$.AMP,ge,ge+1);case 40:return nt(oe,$.PAREN_L,ge,ge+1);case 41:return nt(oe,$.PAREN_R,ge,ge+1);case 46:if(46===W.charCodeAt(ge+1)&&46===W.charCodeAt(ge+2))return nt(oe,$.SPREAD,ge,ge+3);break;case 58:return nt(oe,$.COLON,ge,ge+1);case 61:return nt(oe,$.EQUALS,ge,ge+1);case 64:return nt(oe,$.AT,ge,ge+1);case 91:return nt(oe,$.BRACKET_L,ge,ge+1);case 93:return nt(oe,$.BRACKET_R,ge,ge+1);case 123:return nt(oe,$.BRACE_L,ge,ge+1);case 124:return nt(oe,$.PIPE,ge,ge+1);case 125:return nt(oe,$.BRACE_R,ge,ge+1);case 34:return 34===W.charCodeAt(ge+1)&&34===W.charCodeAt(ge+2)?st(oe,ge):gn(oe,ge)}if((0,ct.yp)(Le)||45===Le)return dn(oe,ge,Le);if((0,ct.un)(Le))return Dt(oe,ge);throw or(oe.source,ge,39===Le?"Unexpected single quote character ('), did you mean to use a double quote (\")?":Oe(Le)||Z(W,ge)?`Unexpected character: ${Ke(oe,ge)}.`:`Invalid character: ${Ke(oe,ge)}.`)}return nt(oe,$.EOF,le,le)}function It(oe,L){const W=oe.source.body,le=W.length;let ge=L+1;for(;ge<le;){const Le=W.charCodeAt(ge);if(10===Le||13===Le)break;if(Oe(Le))++ge;else{if(!Z(W,ge))break;ge+=2}}return nt(oe,$.COMMENT,L,ge,W.slice(L+1,ge))}function dn(oe,L,W){const le=oe.source.body;let ge=L,Le=W,qe=!1;if(45===Le&&(Le=le.charCodeAt(++ge)),48===Le){if(Le=le.charCodeAt(++ge),(0,ct.yp)(Le))throw or(oe.source,ge,`Invalid number, unexpected digit after 0: ${Ke(oe,ge)}.`)}else ge=fn(oe,ge,Le),Le=le.charCodeAt(ge);if(46===Le&&(qe=!0,Le=le.charCodeAt(++ge),ge=fn(oe,ge,Le),Le=le.charCodeAt(ge)),(69===Le||101===Le)&&(qe=!0,Le=le.charCodeAt(++ge),(43===Le||45===Le)&&(Le=le.charCodeAt(++ge)),ge=fn(oe,ge,Le),Le=le.charCodeAt(ge)),46===Le||(0,ct.un)(Le))throw or(oe.source,ge,`Invalid number, expected digit but got: ${Ke(oe,ge)}.`);return nt(oe,qe?$.FLOAT:$.INT,L,ge,le.slice(L,ge))}function fn(oe,L,W){if(!(0,ct.yp)(W))throw or(oe.source,L,`Invalid number, expected digit but got: ${Ke(oe,L)}.`);const le=oe.source.body;let ge=L+1;for(;(0,ct.yp)(le.charCodeAt(ge));)++ge;return ge}function gn(oe,L){const W=oe.source.body,le=W.length;let ge=L+1,Le=ge,qe="";for(;ge<le;){const Pt=W.charCodeAt(ge);if(34===Pt)return qe+=W.slice(Le,ge),nt(oe,$.STRING,L,ge+1,qe);if(92===Pt){qe+=W.slice(Le,ge);const Tt=117===W.charCodeAt(ge+1)?123===W.charCodeAt(ge+2)?ir(oe,ge):rr(oe,ge):Br(oe,ge);qe+=Tt.value,ge+=Tt.size,Le=ge;continue}if(10===Pt||13===Pt)break;if(Oe(Pt))++ge;else{if(!Z(W,ge))throw or(oe.source,ge,`Invalid character within String: ${Ke(oe,ge)}.`);ge+=2}}throw or(oe.source,ge,"Unterminated string.")}function ir(oe,L){const W=oe.source.body;let le=0,ge=3;for(;ge<12;){const Le=W.charCodeAt(L+ge++);if(125===Le){if(ge<5||!Oe(le))break;return{value:String.fromCodePoint(le),size:ge}}if(le=le<<4|gr(Le),le<0)break}throw or(oe.source,L,`Invalid Unicode escape sequence: "${W.slice(L,L+ge)}".`)}function rr(oe,L){const W=oe.source.body,le=dr(W,L+2);if(Oe(le))return{value:String.fromCodePoint(le),size:6};if(Ce(le)&&92===W.charCodeAt(L+6)&&117===W.charCodeAt(L+7)){const ge=dr(W,L+8);if(p(ge))return{value:String.fromCodePoint(le,ge),size:12}}throw or(oe.source,L,`Invalid Unicode escape sequence: "${W.slice(L,L+6)}".`)}function dr(oe,L){return gr(oe.charCodeAt(L))<<12|gr(oe.charCodeAt(L+1))<<8|gr(oe.charCodeAt(L+2))<<4|gr(oe.charCodeAt(L+3))}function gr(oe){return oe>=48&&oe<=57?oe-48:oe>=65&&oe<=70?oe-55:oe>=97&&oe<=102?oe-87:-1}function Br(oe,L){const W=oe.source.body;switch(W.charCodeAt(L+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw or(oe.source,L,`Invalid character escape sequence: "${W.slice(L,L+2)}".`)}function st(oe,L){const W=oe.source.body,le=W.length;let ge=oe.lineStart,Le=L+3,qe=Le,Pt="";
430const Tt=[];for(;Le<le;){const Gt=W.charCodeAt(Le);if(34===Gt&&34===W.charCodeAt(Le+1)&&34===W.charCodeAt(Le+2)){Pt+=W.slice(qe,Le),Tt.push(Pt);const zt=nt(oe,$.BLOCK_STRING,L,Le+3,(0,go.OC)(Tt).join("\n"));return oe.line+=Tt.length-1,oe.lineStart=ge,zt}if(92!==Gt||34!==W.charCodeAt(Le+1)||34!==W.charCodeAt(Le+2)||34!==W.charCodeAt(Le+3))if(10!==Gt&&13!==Gt)if(Oe(Gt))++Le;else{if(!Z(W,Le))throw or(oe.source,Le,`Invalid character within String: ${Ke(oe,Le)}.`);Le+=2}else Pt+=W.slice(qe,Le),Tt.push(Pt),13===Gt&&10===W.charCodeAt(Le+1)?Le+=2:++Le,Pt="",qe=Le,ge=Le;else Pt+=W.slice(qe,Le),qe=Le+1,Le+=4}throw or(oe.source,Le,"Unterminated string.")}function Dt(oe,L){const W=oe.source.body,le=W.length;let ge=L+1;for(;ge<le;){const Le=W.charCodeAt(ge);if(!(0,ct.xr)(Le))break;++ge}return nt(oe,$.NAME,L,ge,W.slice(L,ge))}var xt=n(52395),Zt=n(16652);const Rn=globalThis.process?function(L,W){return L instanceof W}:function(L,W){if(L instanceof W)return!0;if("object"==typeof L&&null!==L){var le;const ge=W.prototype[Symbol.toStringTag];if(ge===(Symbol.toStringTag in L?L[Symbol.toStringTag]:null===(le=L.constructor)||void 0===le?void 0:le.name)){const qe=(0,Zt.N)(L);throw new Error(`Cannot use ${ge} "${qe}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class wn{constructor(L,W="GraphQL request",le={line:1,column:1}){"string"==typeof L||(0,xt.U)(!1,`Body must be a string. Received: ${(0,Zt.N)(L)}.`),this.body=L,this.name=W,this.locationOffset=le,this.locationOffset.line>0||(0,xt.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,xt.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class mr{constructor(L,W={}){const le=function Ir(oe){return Rn(oe,wn)}(L)?L:new wn(L);this._lexer=new ue(le),this._options=W,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const L=this.expectToken($.NAME);return this.node(L,{kind:S.b.NAME,value:L.value})}parseDocument(){return this.node(this._lexer.token,{kind:S.b.DOCUMENT,definitions:this.many($.SOF,this.parseDefinition,$.EOF)})}parseDefinition(){if(this.peek($.BRACE_L))return this.parseOperationDefinition();const L=this.peekDescription(),W=L?this._lexer.lookahead():this._lexer.token;if(W.kind===$.NAME){switch(W.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(L)throw or(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(W.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(W)}parseOperationDefinition(){const L=this._lexer.token;if(this.peek($.BRACE_L))return this.node(L,{kind:S.b.OPERATION_DEFINITION,operation:h.cE.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const W=this.parseOperationType();let le;return this.peek($.NAME)&&(le=this.parseName()),this.node(L,{kind:S.b.OPERATION_DEFINITION,operation:W,name:le,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const L=this.expectToken($.NAME);switch(L.value){case"query":return h.cE.QUERY;case"mutation":return h.cE.MUTATION;case"subscription":return h.cE.SUBSCRIPTION}throw this.unexpected(L)}parseVariableDefinitions(){return this.optionalMany($.PAREN_L,this.parseVariableDefinition,$.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:S.b.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken($.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken($.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const L=this._lexer.token;return this.expectToken($.DOLLAR),this.node(L,{kind:S.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:S.b.SELECTION_SET,selections:this.many($.BRACE_L,this.parseSelection,$.BRACE_R)})}parseSelection(){return this.peek($.SPREAD)?this.parseFragment():this.parseField()}parseField(){const L=this._lexer.token,W=this.parseName();let le,ge;return this.expectOptionalToken($.COLON)?(le=W,ge=this.parseName()):ge=W,this.node(L,{kind:S.b.FIELD,alias:le,name:ge,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek($.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(L){return this.optionalMany($.PAREN_L,L?this.parseConstArgument:this.parseArgument,$.PAREN_R)}parseArgument(L=!1){const W=this._lexer.token,le=this.parseName();return this.expectToken($.COLON),this.node(W,{kind:S.b.ARGUMENT,name:le,value:this.parseValueLiteral(L)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const L=this._lexer.token;this.expectToken($.SPREAD);const W=this.expectOptionalKeyword("on");return!W&&this.peek($.NAME)?this.node(L,{kind:S.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(L,{kind:S.b.INLINE_FRAGMENT,typeCondition:W?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const L=this._lexer.token;return this.expectKeyword("fragment"),this.node(L,!0===this._options.allowLegacyFragmentVariables?{kind:S.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}:{kind:S.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(L){const W=this._lexer.token;switch(W.kind){case $.BRACKET_L:return this.parseList(L);case $.BRACE_L:return this.parseObject(L);case $.INT:return this.advanceLexer(),this.node(W,{kind:S.b.INT,value:W.value});case $.FLOAT:return this.advanceLexer(),this.node(W,{kind:S.b.FLOAT,value:W.value});case $.STRING:case $.BLOCK_STRING:return this.parseStringLiteral();case $.NAME:switch(this.advanceLexer(),W.value){case"true":return this.node(W,{kind:S.b.BOOLEAN,value:!0});case"false":return this.node(W,{kind:S.b.BOOLEAN,value:!1});case"null":return this.node(W,{kind:S.b.NULL});default:return this.node(W,{kind:S.b.ENUM,value:W.value})}case $.DOLLAR:if(L){if(this.expectToken($.DOLLAR),this._lexer.token.kind===$.NAME)throw or(this._lexer.source,W.start,`Unexpected variable "$${this._lexer.token.value}" in constant value.`);throw this.unexpected(W)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const L=this._lexer.token;return this.advanceLexer(),this.node(L,{kind:S.b.STRING,value:L.value,block:L.kind===$.BLOCK_STRING})}parseList(L){return this.node(this._lexer.token,{kind:S.b.LIST,values:this.any($.BRACKET_L,()=>this.parseValueLiteral(L),$.BRACKET_R)})}parseObject(L){return this.node(this._lexer.token,{kind:S.b.OBJECT,fields:this.any($.BRACE_L,()=>this.parseObjectField(L),$.BRACE_R)})}parseObjectField(L){const W=this._lexer.token,le=this.parseName();return this.expectToken($.COLON),this.node(W,{kind:S.b.OBJECT_FIELD,name:le,value:this.parseValueLiteral(L)})}parseDirectives(L){const W=[];for(;this.peek($.AT);)W.push(this.parseDirective(L));return W}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(L){const W=this._lexer.token;return this.expectToken($.AT),this.node(W,{kind:S.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(L)})}parseTypeReference(){const L=this._lexer.token;let W;if(this.expectOptionalToken($.BRACKET_L)){const le=this.parseTypeReference();this.expectToken($.BRACKET_R),W=this.node(L,{kind:S.b.LIST_TYPE,type:le})}else W=this.parseNamedType();return this.expectOptionalToken($.BANG)?this.node(L,{kind:S.b.NON_NULL_TYPE,type:W}):W}parseNamedType(){return this.node(this._lexer.token,{kind:S.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek($.STRING)||this.peek($.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const L=this._lexer.token,W=this.parseDescription();this.expectKeyword("schema");const le=this.parseConstDirectives(),ge=this.many($.BRACE_L,this.parseOperationTypeDefinition,$.BRACE_R);return this.node(L,{kind:S.b.SCHEMA_DEFINITION,description:W,directives:le,operationTypes:ge})}parseOperationTypeDefinition(){const L=this._lexer.token,W=this.parseOperationType();this.expectToken($.COLON);const le=this.parseNamedType();return this.node(L,{kind:S.b.OPERATION_TYPE_DEFINITION,operation:W,type:le})}parseScalarTypeDefinition(){const L=this._lexer.token,W=this.parseDescription();this.expectKeyword("scalar");const le=this.parseName(),ge=this.parseConstDirectives();return this.node(L,{kind:S.b.SCALAR_TYPE_DEFINITION,description:W,name:le,directives:ge})}parseObjectTypeDefinition(){const L=this._lexer.token,W=this.parseDescription();this.expectKeyword("type");const le=this.parseName(),ge=this.parseImplementsInterfaces(),Le=this.parseConstDirectives(),qe=this.parseFieldsDefinition();return this.node(L,{kind:S.b.OBJECT_TYPE_DEFINITION,description:W,name:le,interfaces:ge,directives:Le,fields:qe})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany($.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany($.BRACE_L,this.parseFieldDefinition,$.BRACE_R)}parseFieldDefinition(){const L=this._lexer.token,W=this.parseDescription(),le=this.parseName(),ge=this.parseArgumentDefs();this.expectToken($.COLON);const Le=this.parseTypeReference(),qe=this.parseConstDirectives();return this.node(L,{kind:S.b.FIELD_DEFINITION,description:W,name:le,arguments:ge,type:Le,directives:qe})}parseArgumentDefs(){return this.optionalMany($.PAREN_L,this.parseInputValueDef,$.PAREN_R)}parseInputValueDef(){const L=this._lexer.token,W=this.parseDescription(),le=this.parseName();this.expectToken($.COLON);const ge=this.parseTypeReference();let Le;this.expectOptionalToken($.EQUALS)&&(Le=this.parseConstValueLiteral());const qe=this.parseConstDirectives();return this.node(L,{kind:S.b.INPUT_VALUE_DEFINITION,description:W,name:le,type:ge,defaultValue:Le,directives:qe})}parseInterfaceTypeDefinition(){const L=this._lexer.token,W=this.parseDescription();this.expectKeyword("interface");const le=this.parseName(),ge=this.parseImplementsInterfaces(),Le=this.parseConstDirectives(),qe=this.parseFieldsDefinition();return this.node(L,{kind:S.b.INTERFACE_TYPE_DEFINITION,description:W,name:le,interfaces:ge,directives:Le,fields:qe})}parseUnionTypeDefinition(){const L=this._lexer.token,W=this.parseDescription();this.expectKeyword("union");const le=this.parseName(),ge=this.parseConstDirectives(),Le=this.parseUnionMemberTypes();return this.node(L,{kind:S.b.UNION_TYPE_DEFINITION,description:W,name:le,directives:ge,types:Le})}parseUnionMemberTypes(){return this.expectOptionalToken($.EQUALS)?this.delimitedMany($.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const L=this._lexer.token,W=this.parseDescription();this.expectKeyword("enum");const le=this.parseName(),ge=this.parseConstDirectives(),Le=this.parseEnumValuesDefinition();return this.node(L,{kind:S.b.ENUM_TYPE_DEFINITION,description:W,name:le,directives:ge,values:Le})}parseEnumValuesDefinition(){return this.optionalMany($.BRACE_L,this.parseEnumValueDefinition,$.BRACE_R)}parseEnumValueDefinition(){const L=this._lexer.token,W=this.parseDescription(),le=this.parseEnumValueName(),ge=this.parseConstDirectives();return this.node(L,{kind:S.b.ENUM_VALUE_DEFINITION,description:W,name:le,directives:ge})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw or(this._lexer.source,this._lexer.token.start,`${Tn(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const L=this._lexer.token,W=this.parseDescription();this.expectKeyword("input");const le=this.parseName(),ge=this.parseConstDirectives(),Le=this.parseInputFieldsDefinition();return this.node(L,{kind:S.b.INPUT_OBJECT_TYPE_DEFINITION,description:W,name:le,directives:ge,fields:Le})}parseInputFieldsDefinition(){return this.optionalMany($.BRACE_L,this.parseInputValueDef,$.BRACE_R)}parseTypeSystemExtension(){const L=this._lexer.lookahead();if(L.kind===$.NAME)switch(L.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(L)}parseSchemaExtension(){const L=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const W=this.parseConstDirectives(),le=this.optionalMany($.BRACE_L,this.parseOperationTypeDefinition,$.BRACE_R);if(0===W.length&&0===le.length)throw this.unexpected();return this.node(L,{kind:S.b.SCHEMA_EXTENSION,directives:W,operationTypes:le})}parseScalarTypeExtension(){const L=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const W=this.parseName(),le=this.parseConstDirectives();if(0===le.length)throw this.unexpected();return this.node(L,{kind:S.b.SCALAR_TYPE_EXTENSION,name:W,directives:le})}parseObjectTypeExtension(){const L=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const W=this.parseName(),le=this.parseImplementsInterfaces(),ge=this.parseConstDirectives(),Le=this.parseFieldsDefinition();if(0===le.length&&0===ge.length&&0===Le.length)throw this.unexpected();return this.node(L,{kind:S.b.OBJECT_TYPE_EXTENSION,name:W,interfaces:le,directives:ge,fields:Le})}parseInterfaceTypeExtension(){const L=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const W=this.parseName(),le=this.parseImplementsInterfaces(),ge=this.parseConstDirectives(),Le=this.parseFieldsDefinition();if(0===le.length&&0===ge.length&&0===Le.length)throw this.unexpected();return this.node(L,{kind:S.b.INTERFACE_TYPE_EXTENSION,name:W,interfaces:le,directives:ge,fields:Le})}parseUnionTypeExtension(){const L=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const W=this.parseName(),le=this.parseConstDirectives(),ge=this.parseUnionMemberTypes();if(0===le.length&&0===ge.length)throw this.unexpected();return this.node(L,{kind:S.b.UNION_TYPE_EXTENSION,name:W,directives:le,types:ge})}parseEnumTypeExtension(){const L=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const W=this.parseName(),le=this.parseConstDirectives(),ge=this.parseEnumValuesDefinition();if(0===le.length&&0===ge.length)throw this.unexpected();return this.node(L,{kind:S.b.ENUM_TYPE_EXTENSION,name:W,directives:le,values:ge})}parseInputObjectTypeExtension(){const L=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const W=this.parseName(),le=this.parseConstDirectives(),ge=this.parseInputFieldsDefinition();if(0===
430le.length&&0===ge.length)throw this.unexpected();return this.node(L,{kind:S.b.INPUT_OBJECT_TYPE_EXTENSION,name:W,directives:le,fields:ge})}parseDirectiveDefinition(){const L=this._lexer.token,W=this.parseDescription();this.expectKeyword("directive"),this.expectToken($.AT);const le=this.parseName(),ge=this.parseArgumentDefs(),Le=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const qe=this.parseDirectiveLocations();return this.node(L,{kind:S.b.DIRECTIVE_DEFINITION,description:W,name:le,arguments:ge,repeatable:Le,locations:qe})}parseDirectiveLocations(){return this.delimitedMany($.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const L=this._lexer.token,W=this.parseName();if(Object.prototype.hasOwnProperty.call(zr,W.value))return W;throw this.unexpected(L)}node(L,W){return!0!==this._options.noLocation&&(W.loc=new h.aZ(L,this._lexer.lastToken,this._lexer.source)),W}peek(L){return this._lexer.token.kind===L}expectToken(L){const W=this._lexer.token;if(W.kind===L)return this.advanceLexer(),W;throw or(this._lexer.source,W.start,`Expected ${Yr(L)}, found ${Tn(W)}.`)}expectOptionalToken(L){return this._lexer.token.kind===L&&(this.advanceLexer(),!0)}expectKeyword(L){const W=this._lexer.token;if(W.kind!==$.NAME||W.value!==L)throw or(this._lexer.source,W.start,`Expected "${L}", found ${Tn(W)}.`);this.advanceLexer()}expectOptionalKeyword(L){const W=this._lexer.token;return W.kind===$.NAME&&W.value===L&&(this.advanceLexer(),!0)}unexpected(L){const W=L??this._lexer.token;return or(this._lexer.source,W.start,`Unexpected ${Tn(W)}.`)}any(L,W,le){this.expectToken(L);const ge=[];for(;!this.expectOptionalToken(le);)ge.push(W.call(this));return ge}optionalMany(L,W,le){if(this.expectOptionalToken(L)){const ge=[];do{ge.push(W.call(this))}while(!this.expectOptionalToken(le));return ge}return[]}many(L,W,le){this.expectToken(L);const ge=[];do{ge.push(W.call(this))}while(!this.expectOptionalToken(le));return ge}delimitedMany(L,W){this.expectOptionalToken(L);const le=[];do{le.push(W.call(this))}while(this.expectOptionalToken(L));return le}advanceLexer(){const{maxTokens:L}=this._options,W=this._lexer.advance();if(W.kind!==$.EOF&&(++this._tokenCounter,void 0!==L&&this._tokenCounter>L))throw or(this._lexer.source,W.start,`Document contains more that ${L} tokens. Parsing aborted.`)}}function Tn(oe){const L=oe.value;return Yr(oe.kind)+(null!=L?` "${L}"`:"")}function Yr(oe){return function fe(oe){return oe===$.BANG||oe===$.DOLLAR||oe===$.AMP||oe===$.PAREN_L||oe===$.PAREN_R||oe===$.SPREAD||oe===$.COLON||oe===$.EQUALS||oe===$.AT||oe===$.BRACKET_L||oe===$.BRACKET_R||oe===$.BRACE_L||oe===$.PIPE||oe===$.BRACE_R}(oe)?`"${oe}"`:oe}var de=new Map,Je=new Map,Ee=!0,xe=!1;function ft(oe){return oe.replace(/[\s,]+/g," ").trim()}function Vn(oe){var L=ft(oe);if(!de.has(L)){var W=function Tr(oe,L){const W=new mr(oe,L),le=W.parseDocument();return Object.defineProperty(le,"tokenCount",{enumerable:!1,value:W.tokenCount}),le}(oe,{experimentalFragmentVariables:xe,allowLegacyFragmentVariables:xe});if(!W||"Document"!==W.kind)throw new Error("Not a valid GraphQL document.");de.set(L,function Nn(oe){var L=new Set(oe.definitions);L.forEach(function(le){le.loc&&delete le.loc,Object.keys(le).forEach(function(ge){var Le=le[ge];Le&&"object"==typeof Le&&L.add(Le)})});var W=oe.loc;return W&&(delete W.startToken,delete W.endToken),oe}(function tn(oe){var L=new Set,W=[];return oe.definitions.forEach(function(le){if("FragmentDefinition"===le.kind){var ge=le.name.value,Le=function kt(oe){return ft(oe.source.body.substring(oe.start,oe.end))}(le.loc),qe=Je.get(ge);qe&&!qe.has(Le)?Ee&&console.warn("Warning: fragment with name "+ge+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):qe||Je.set(ge,qe=new Set),qe.add(Le),L.has(Le)||(L.add(Le),W.push(le))}else W.push(le)}),(0,lr.Cl)((0,lr.Cl)({},oe),{definitions:W})}(W)))}return de.get(L)}function _r(oe){for(var L=[],W=1;W<arguments.length;W++)L[W-1]=arguments[W];
430"string"==typeof oe&&(oe=[oe]);var le=oe[0];return L.forEach(function(ge,Le){le+=ge&&"Document"===ge.kind?ge.loc.source.body:ge,le+=oe[Le+1]}),Vn(le)}var oe,kr_gql=_r;(oe=_r||(_r={})).gql=kr_gql,oe.resetCaches=function Wn(){de.clear(),Je.clear()},oe.disableFragmentWarnings=function sr(){Ee=!1},oe.enableExperimentalFragmentVariables=function Jr(){xe=!0},oe.disableExperimentalFragmentVariables=function Ar(){xe=!1},_r.default=_r;var Nr=n(41431),uo=n(24908);const to=new class $r extends uo.q{}(class lo extends Nr.R{constructor(L,W){super(L,W),this.scheduler=L,this.work=W}schedule(L,W=0){return W>0?super.schedule(L,W):(this.delay=W,this.state=L,this.scheduler.flush(this),this)}execute(L,W){return W>0||this.closed?super.execute(L,W):this._execute(L,W)}requestAsyncId(L,W,le=0){return null!=le&&le>0||null==le&&this.delay>0?super.requestAsyncId(L,W,le):(L.flush(this),0)}});var Go=n(56816),Zr=n(39721);function Fo(oe){return new J.c(L=>(oe().then(W=>{L.closed||(L.next(W),L.complete())},W=>{L.closed||L.error(W)}),()=>L.unsubscribe()))}class Si{zone;constructor(L){this.zone=L}now=Date.now;schedule(L,W=0,le){return this.zone.run(()=>to.schedule(L,W,le))}}function Kr(oe,L){return oe.pipe((0,Zr.Q)(new Si(L)))}class ei{obsQuery;valueChanges;constructor(L,W){this.obsQuery=L,this.valueChanges=Kr((0,G.H)(this.obsQuery),W)}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}getCurrentResult(){return this.obsQuery.getCurrentResult()}refetch(L){return this.obsQuery.refetch(L)}fetchMore(L){return this.obsQuery.fetchMore(L)}subscribeToMore(L){return this.obsQuery.subscribeToMore(L)}updateQuery(L){return this.obsQuery.updateQuery(L)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(L){return this.obsQuery.startPolling(L)}setVariables(L){return this.obsQuery.setVariables(L)}reobserve(L){return this.obsQuery.reobserve(L)}}const ai=new u.nKC("APOLLO_FLAGS"),Mo=new u.nKC("APOLLO_OPTIONS"),Eo=new u.nKC("APOLLO_NAMED_OPTIONS");class To{ngZone;flags;_client;useMutationLoading;constructor(L,W,le){this.ngZone=L,this.flags=W,this._client=le,this.useMutationLoading=W?.useMutationLoading??!1}watchQuery(L){return new ei(this.ensureClient().watchQuery({...L}),this.ngZone)}query(L){return Fo(()=>this.ensureClient().query({...L}))}mutate(L){return function Qo(oe,L){return L?oe.pipe((0,c.T)(W=>({...W,loading:!1})),(0,Go.Z)({data:void 0,loading:!0})):oe.pipe((0,c.T)(W=>({...W,loading:!1})))}(Fo(()=>this.ensureClient().mutate({...L})),L.useMutationLoading??this.useMutationLoading)}watchFragment(L){const{useZone:W,...le}=L,ge=this.ensureClient().watchFragment({...le});return!0!==W?ge:Kr(ge,this.ngZone)}subscribe(L){const{useZone:W,...le}=L,ge=this.ensureClient().subscribe({...le});return!0!==W?ge:Kr(ge,this.ngZone)}get client(){return this.ensureClient()}set client(L){if(this._client)throw new Error("Client has been already defined");this._client=L}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(this._client)return!0;throw new Error("Client has not been defined yet")}}let Ur=(()=>{class oe extends To{map=new Map;constructor(W,le,ge,Le){if(super(W,Le),le&&this.createDefault(le),ge&&"object"==typeof ge)for(let qe in ge)ge.hasOwnProperty(qe)&&this.create(ge[qe],qe)}create(W,le){Co(le)?this.createNamed(le,W):this.createDefault(W)}default(){return this}use(W){return Co(W)?this.map.get(W):this.default()}createDefault(W){if(this._client)throw new Error("Apollo has been already created.");this.client=this.ngZone.runOutsideAngular(()=>new Mr(W))}createNamed(W,le){if(this.map.has(W))throw new Error(`Client ${W} has been already created`);this.map.set(W,new To(this.ngZone,this.flags,this.ngZone.runOutsideAngular(()=>new Mr(le))))}removeClient(W){Co(W)?this.map.delete(W):this._client=void 0}static \u0275fac=function(le){return new(le||oe)(u.KVO(l.SKi),u.KVO(Mo,8),u.KVO(Eo,8),u.KVO(ai,8))};static \u0275prov=u.jDH({token:oe,factory:oe.\u0275fac})}return oe})();function Co(oe){return!!oe&&"default"!==oe}function Lo(oe,L={}){return[Ur,{provide:Mo,useFactory:oe},{provide:ai,useValue:L}]}let ci=(()=>{class oe{apollo;client="default";constructor(W){this.apollo=W}watch(...[W]){return this.apollo.use(this.client).watchQuery({...W,query:this.document})}fetch(...[W]){return this.apollo.use(this.client).query({...W,query:this.document})}static \u0275fac=function(le){return new(le||oe)(u.KVO(Ur))};static \u0275prov=u.jDH({token:oe,factory:oe.\u0275fac})}return oe})(),Ao=(()=>{class oe{apollo;client="default";constructor(W){this.apollo=W}mutate(...[W]){return this.apollo.use(this.client).mutate({...W,mutation:this.document})}static \u0275fac=function(le){return new(le||oe)(u.KVO(Ur))};static \u0275prov=u.jDH({token:oe,factory:oe.\u0275fac})}return oe})();const Se=_r},99490(ye,A,n){function l(N,P){if(!N)throw new Error(P??"Unexpected invariant triggered.")}n.d(A,{eO:()=>C});const h=/\r\n|[\n\r]/g;function c(N,P){let I=0,x=1;for(const j of N.body.matchAll(h)){if("number"==typeof j.index||l(!1),j.index>=P)break;I=j.index+j[0].length,x+=1}
430return{line:x,column:P+1-I}}function T(N){return o(N.source,c(N.source,N.start))}function o(N,P){const I=N.locationOffset.column-1,x="".padStart(I)+N.body,j=P.line-1,H=P.line+(N.locationOffset.line-1),S=P.column+(1===P.line?I:0),J=`${N.name}:${H}:${S}\n`,Y=x.split(/\r\n|[\n\r]/g),re=Y[j];if(re.length>120){const G=Math.floor(S/80),ce=S%80,pe=[];for(let De=0;De<re.length;De+=80)pe.push(re.slice(De,De+80));return J+D([[`${H} |`,pe[0]],...pe.slice(1,G+1).map(De=>["|",De]),["|","^".padStart(ce)],["|",pe[G+1]]])}return J+D([[H-1+" |",Y[j-1]],[`${H} |`,re],["|","^".padStart(S)],[`${H+1} |`,Y[j+1]]])}function D(N){const P=N.filter(([x,j])=>void 0!==j),I=Math.max(...P.map(([x])=>x.length));return P.map(([x,j])=>x.padStart(I)+(j?" "+j:"")).join("\n")}class C extends Error{constructor(P,...I){var x,j,w;const{nodes:H,source:ae,positions:S,path:J,originalError:Y,extensions:re}=function g(N){const P=N[0];return null==P||"kind"in P||"length"in P?{nodes:P,source:N[1],positions:N[2],path:N[3],originalError:N[4],extensions:N[5]}:P}(I);super(P),this.name="GraphQLError",this.path=J??void 0,this.originalError=Y??void 0,this.nodes=v(Array.isArray(H)?H:H?[H]:void 0);const G=v(null===(x=this.nodes)||void 0===x?void 0:x.map(pe=>pe.loc).filter(pe=>null!=pe));this.source=ae??(null==G||null===(j=G[0])||void 0===j?void 0:j.source),this.positions=S??G?.map(pe=>pe.start),this.locations=S&&ae?S.map(pe=>c(ae,pe)):G?.map(pe=>c(pe.source,pe.start));const ce=function u(N){return"object"==typeof N&&null!==N}(Y?.extensions)?Y?.extensions:void 0;this.extensions=null!==(w=re??ce)&&void 0!==w?w:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=Y&&Y.stack?Object.defineProperty(this,"stack",{value:Y.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,C):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let P=this.message;if(this.nodes)for(const I of this.nodes)I.loc&&(P+="\n\n"+T(I.loc));else if(this.source&&this.locations)for(const I of this.locations)P+="\n\n"+o(this.source,I);return P}toJSON(){const P={message:this.message};return null!=this.locations&&(P.locations=this.locations),null!=this.path&&(P.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(P.extensions=this.extensions),P}}function v(N){return void 0===N||0===N.length?void 0:N}},52395(ye,A,n){function u(l,h){if(!l)throw new Error(h)}n.d(A,{U:()=>u})},16652(ye,A,n){function h(v){return c(v,[])}function c(v,E){switch(typeof v){case"string":return JSON.stringify(v);case"function":return v.name?`[function ${v.name}]`:"[function]";case"object":return function T(v,E){if(null===v)return"null";if(E.includes(v))return"[Circular]";const M=[...E,v];if(function o(v){return"function"==typeof v.toJSON}(v)){const N=v.toJSON();if(N!==v)return"string"==typeof N?N:c(N,M)}else if(Array.isArray(v))return function g(v,E){if(0===v.length)return"[]";if(E.length>2)return"[Array]";const M=Math.min(10,v.length),N=v.length-M,P=[];for(let I=0;I<M;
430++I)P.push(c(v[I],E));return 1===N?P.push("... 1 more item"):N>1&&P.push(`... ${N} more items`),"["+P.join(", ")+"]"}(v,M);return function D(v,E){const M=Object.entries(v);return 0===M.length?"{}":E.length>2?"["+function C(v){const E=Object.prototype.toString.call(v).replace(/^\[object /,"").replace(/]$/,"");if("Object"===E&&"function"==typeof v.constructor){const M=v.constructor.name;if("string"==typeof M&&""!==M)return M}return E}(v)+"]":"{ "+M.map(([P,I])=>P+": "+c(I,E)).join(", ")+" }"}(v,M)}(v,E);default:return String(v)}}n.d(A,{N:()=>h})},52740(ye,A,n){n.d(A,{Ll:()=>T,aD:()=>h,aZ:()=>u,cE:()=>o,ou:()=>l});class u{constructor(g,C,v){this.start=g.start,this.end=C.end,this.startToken=g,this.endToken=C,this.source=v}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class l{constructor(g,C,v,E,M,N){this.kind=g,this.start=C,this.end=v,this.line=E,this.column=M,this.value=N,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const h={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},c=new Set(Object.keys(h));function T(D){const g=D?.kind;return"string"==typeof g&&c.has(g)}var o=function(D){return D.QUERY="query",D.MUTATION="mutation",D.SUBSCRIPTION="subscription",D}(o||{})},81168(ye,A,n){n.d(A,{OC:()=>l,yo:()=>T});var u=n(83299);function l(o){var D;let g=Number.MAX_SAFE_INTEGER,C=null,v=-1;for(let M=0;M<o.length;++M){var E;const N=o[M],P=h(N);P!==N.length&&(C=null!==(E=C)&&void 0!==E?E:M,v=M,0!==M&&P<g&&(g=P))}return o.map((M,N)=>0===N?M:M.slice(g)).slice(null!==(D=C)&&void 0!==D?D:0,v+1)}function h(o){let D=0;for(;D<o.length&&(0,u.i0)(o.charCodeAt(D));)++D;return D}function T(o,D){const g=o.replace(/"""/g,'\\"""'),C=g.split(/\r\n|[\n\r]/g),v=1===C.length,E=C.length>1&&C.slice(1).every(H=>0===H.length||(0,u.i0)(H.charCodeAt(0))),M=g.endsWith('\\"""'),N=o.endsWith('"')&&!M,P=o.endsWith("\\"),I=N||P,x=!(null!=D&&D.minimize)&&(!v||o.length>70||I||E||M);let j="";const w=v&&(0,u.i0)(o.charCodeAt(0));return(x&&!w||E)&&(j+="\n"),j+=g,(x||I)&&(j+="\n"),'"""'+j+'"""'}},83299(ye,A,n){function u(o){return 9===o||32===o}function l(o){return o>=48&&o<=57}function h(o){return o>=97&&o<=122||o>=65&&o<=90}function c(o){return h(o)||95===o}function T(o){return h(o)||l(o)||95===o}n.d(A,{i0:()=>u,un:()=>c,xr:()=>T,yp:()=>l})},6417(ye,A,n){n.d(A,{b:()=>u});var u=function(l){return l.NAME="Name",l.DOCUMENT="Document",l.OPERATION_DEFINITION="OperationDefinition",l.VARIABLE_DEFINITION="VariableDefinition",l.SELECTION_SET="SelectionSet",l.FIELD="Field",l.ARGUMENT="Argument",l.FRAGMENT_SPREAD="FragmentSpread",l.INLINE_FRAGMENT="InlineFragment",l.FRAGMENT_DEFINITION="FragmentDefinition",l.VARIABLE="Variable",l.INT="IntValue",l.FLOAT="FloatValue",l.STRING="Str
430ingValue",l.BOOLEAN="BooleanValue",l.NULL="NullValue",l.ENUM="EnumValue",l.LIST="ListValue",l.OBJECT="ObjectValue",l.OBJECT_FIELD="ObjectField",l.DIRECTIVE="Directive",l.NAMED_TYPE="NamedType",l.LIST_TYPE="ListType",l.NON_NULL_TYPE="NonNullType",l.SCHEMA_DEFINITION="SchemaDefinition",l.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",l.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",l.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",l.FIELD_DEFINITION="FieldDefinition",l.INPUT_VALUE_DEFINITION="InputValueDefinition",l.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",l.UNION_TYPE_DEFINITION="UnionTypeDefinition",l.ENUM_TYPE_DEFINITION="EnumTypeDefinition",l.ENUM_VALUE_DEFINITION="EnumValueDefinition",l.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",l.DIRECTIVE_DEFINITION="DirectiveDefinition",l.SCHEMA_EXTENSION="SchemaExtension",l.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",l.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",l.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",l.UNION_TYPE_EXTENSION="UnionTypeExtension",l.ENUM_TYPE_EXTENSION="EnumTypeExtension",l.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",l}(u||{})},27027(ye,A,n){n.d(A,{y:()=>D});var u=n(81168);const h=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function c(I){return T[I.charCodeAt(0)]}const T=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var o=n(26366);function D(I){return(0,o.YR)(I,C)}const C={Name:{leave:I=>I.value},Variable:{leave:I=>"$"+I.name},Document:{leave:I=>v(I.definitions,"\n\n")},OperationDefinition:{leave(I){const x=M("(",v(I.variableDefinitions,", "),")"),j=v([I.operation,v([I.name,x]),v(I.directives," ")]," ");return("query"===j?"":j+" ")+I.selectionSet}},VariableDefinition:{leave:({variable:I,type:x,defaultValue:j,directives:w})=>I+": "+x+M(" = ",j)+M(" ",v(w," "))},SelectionSet:{leave:({selections:I})=>E(I)},Field:{leave({alias:I,name:x,arguments:j,directives:w,selectionSet:H}){const ae=M("",I,": ")+x;let S=ae+M("(",v(j,", "),")");return S.length>80&&(S=ae+M("(\n",N(v(j,"\n")),"\n)")),v([S,v(w," "),H]," ")}},Argument:{leave:({name:I,value:x})=>I+": "+x},FragmentSpread:{leave:({name:I,directives:x})=>"..."+I+M(" ",v(x," "))},InlineFragment:{leave:({typeCondition:I,directives:x,selectionSet:j})=>v(["...",M("on ",I),v(x," "),j]," ")},FragmentDefinition:{leave:({name:I,typeCondition:x,variableDefinitions:j,directives:w,selectionSet:H})=>`fragment ${I}${M("(",v(j,", "),")")} on ${x} ${M("",v(w," ")," ")}`+H},IntValue:{leave:({value:I})=>I},FloatValue:{leave:({value:I})=>I},StringValue:{leave:({value:I,block:x})=>x?(0,u.yo)(I):function l(I){return`"${I.replace(h,c)}"`}(I)},BooleanValue:{leave:({value:I})=>I?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:I})=>I},ListValue:{leave:({values:I})=>"["+v(I,", ")+"]"},ObjectValue:{leave:({fields:I})=>"{"+v(I,", ")+"}"},ObjectField:{leave:({name:I,value:x})=>I+": "+x},Directive:{leave:({name:I,arguments:x})=>"@"+I+M("(",v(x,", "),")")},NamedType:{leave:({name:I})=>I},ListType:{leave:({type:I})=>"["+I+"]"},NonNullType:{leave:({type:I})=>I+"!"},SchemaDefinition:{leave:({description:I,directives:x,operationTypes:j})=>M("",I,"\n")+v(["schema",v(x," "),E(j)]," ")},OperationTypeDefinition:{leave:({operation:I,type:x})=>I+": "+x},ScalarTypeDefinition:{leave:({description:I,name:x,directives:j})=>M("",I,"\n")+v(["scalar",x,v(j," ")]," ")},ObjectTypeDefinition:{leave:({description:I,name:x,interfaces:j,directives:w,fields:H})=>M("",I,"\n")+v(["type",x,M("implements ",v(j," & ")),v(w," "),E(H)]," ")},FieldDefinition:{leave:({description:I,name:x,arguments:j,type:w,directives:H})=>M("",I,"\n")+x+(P(j)?M("(\n",N(v(j,"\n")),"\n)"):M("(",v(j,", "),")"))+": "+w+M(" ",v(H," "))},InputValueDefinition:{leave:({description:I,name:x,type:j,defaultValue:w,directives:H})=>M("",I,"\n")+v([x+": "+j,M("= ",w),v(H," ")]," ")},InterfaceTypeDefinition:{leave:({description:I,name:x,interfaces:j,directives:w,fields:H})=>M("",I,"\n")+v(["interface",x,M("implements ",v(j," & ")),v(w," "),E(H)]," ")},UnionTypeDefinition:{leave:({description:I,name:x,directives:j,types:w})=>M("",I,"\n")+v(["union",x,v(j," "),M("= ",v(w," | "))]," ")},EnumTypeDefinition:{leave:({description:I,name:x,directives:j,values:w})=>M("",I,"\n")+v(["enum",x,v(j," "),E(w)]," ")},EnumValueDefinition:{leave:({description:I,name:x,directives:j})=>M("",I,"\n")+v([x,v(j," ")]," ")},InputObjectTypeDefinition:{leave:({description:I,name:x,directives:j,fields:w})=>M("",I,"\n")+v(["input",x,v(j," "),E(w)]," ")},DirectiveDefinition:{leave:({description:I,name:x,arguments:j,repeatable:w,locations:H})=>M("",I,"\n")+"directive @"+x+(P(j)?M("(\n",N(v(j,"\n")),"\n)"):M("(",v(j,", "),")"))+(w?" repeatable":"")+" on "+v(H," | ")},SchemaExtension:{leave:({directives:I,operationTypes:x})=>v(["extend schema",v(I," "),E(x)]," ")},ScalarTypeExtension:{leave:({name:I,directives:x})=>v(["extend scalar",I,v(x," ")]," ")},ObjectTypeExtension:{leave:({name:I,interfaces:x,directives:j,fields:w})=>v(["extend type",I,M("implements ",v(x," & ")),v(j," "),E(w)]," ")},InterfaceTypeExtension:{leave:({name:I,interfaces:x,directives:j,fields:w})=>v(["extend interface",I,M("implements ",v(x," & ")),v(j," "),E(w)]," ")},UnionTypeExtension:{leave:({name:I,directives:x,types:j})=>v(["extend union",I,v(x," "),M("= ",v(j," | "))]," ")},EnumTypeExtension:{leave:({name:I,directives:x,values:j})=>v(["extend enum",I,v(x," "),E(j)]," ")},InputObjectTypeExtension:{leave:({name:I,directives:x,fields:j})=>v(["extend input",I,v(x," "),E(j)]," ")}};function v(I,x=""){var j;return null!==(j=I?.filter(w=>w).join(x))&&void 0!==j?j:""}function E(I){return M("{\n",N(v(I,"\n")),"\n}")}function M(I,x,j=""){return null!=x&&""!==x?I+x+j:""}function N(I){return M(" ",I.replace(/\n/g,"\n "))}function P(I){var x;return null!==(x=I?.some(j=>j.includes("\n")))&&void 0!==x&&x}},26366(ye,A,n){n.d(A,{YR:()=>D,sP:()=>o});var l=n(52395),h=n(16652),c=n(52740),T=n(6417);const o=Object.freeze({});function D(E,M,N=c.aD){const P=new Map;for(const De of Object.values(T.b))P.set(De,C(M,De));let I,S,J,x=Array.isArray(E),j=[E],w=-1,H=[],ae=E;const Y=[],re=[];do{w++;const De=w===j.length,z=De&&0!==H.length;if(De){if(S=0===re.length?void 0:Y[Y.length-1],ae=J,J=re.pop(),z)if(x){ae=ae.slice();let it=0;for(const[Re,Qe]of H){const Ze=Re-it;null===Qe?(ae.splice(Ze,1),it++):ae[Ze]=Qe}}else{ae=Object.defineProperties({},Object.getOwnPropertyDescriptors(ae));for(const[it,Re]of H)ae[it]=Re}w=I.index,j=I.keys,H=I.edits,x=I.inArray,I=I.prev}else if(J){if(S=x?w:j[w],ae=J[S],null==ae)continue;Y.push(S)}let ke;if(!Array.isArray(ae)){var G,ce;(0,c.Ll)(ae)||(0,l.U)(!1,`Invalid AST Node: ${(0,h.N)(ae)}.`);const it=De?null===(G=P.get(ae.kind))||void 0===G?void 0:G.leave:null===(ce=P.get(ae.kind))||void 0===ce?void 0:ce.enter;if(ke=it?.call(M,ae,S,J,Y,re),ke===o)break;if(!1===ke){if(!De){Y.pop();continue}}else if(void 0!==ke&&(H.push([S,ke]),!De)){if(!(0,c.Ll)(ke)){Y.pop();continue}ae=ke}}var pe;void 0===ke&&z&&H.push([S,ae]),De?Y.pop():(I={inArray:x,index:w,keys:j,edits:H,prev:I},x=Array.isArray(ae),j=x?ae:null!==(pe=N[ae.kind])&&void 0!==pe?pe:[],w=-1,H=[],J&&re.push(J),J=ae)}while(void 0!==I);return 0!==H.length?H[H.length-1][1]:E}function C(E,M){const N=E[M];return"object"==typeof N?N:"function"==typeof N?{enter:N,leave:void 0}:{enter:E.enter,leave:E.leave}}},85396(ye,A,n){n.d(A,{$i:()=>h,Hd:()=>c,yQ:()=>T});var u=n(17988),l=n(47606);let h=(()=>{var o;class D{constructor(C){this.ngZone=C,this.count=0,this.elementMap=new Map,this.observer=null}ngOnDestroy(){this.observer&&this.clearObserver()}observe(C,v,E){this.observer||(this.observer=new ResizeObserver(M=>{for(const N of M){const P=this.elementMap.get(N.target);P&&this.ngZone.run(()=>{P(N)})}})),"border-box"===E?this.observer.observe(C,{box:"border-box"}):this.observer.observe(C),this.count+=1,this.elementMap.set(C,v)}unobserve(C){this.elementMap.get(C)&&this.observer&&(this.observer.unobserve(C),this.elementMap.delete(C),this.count-=1,0===this.count&&this.clearObserver())}clearObserver(){this.observer&&this.observer.disconnect(),this.observer=null,this.count=0,this.elementMap=new Map}static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)(u.KVO(l.SKi))},this.\u0275prov=u.jDH({token:D,factory:D.\u0275fac}))}return o(),D})(),c=(()=>{var o;class D{constructor(C,v,E){this.elementRef=C,this.ngxResizeObserverService=v,this.ngZone=E,this.resizeBoxModel="",this.onResize=new l.bkB,this.observing=!1,(0,l.mal)(()=>{this.observe()})}ngOnChanges(C){this.observing&&(C.resizeBoxModel||C.onResize)&&(this.unobserve(),this.observe())}ngOnDestroy(){this.unobserve()}observe(){this.observing||(this.ngxResizeObserverService.observe(this.elementRef.nativeElement,C=>{this.ngZone.run(()=>{this.onResize.emit(C)})},this.resizeBoxModel),this.observing=!0)}unobserve(){this.observing&&(this.ngxResizeObserverService.unobserve(this.elementRef.nativeElement),this.observing=!1)}static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)(l.rXU(l.aKT),l.rXU(h),l.rXU(l.SKi))},this.\u0275dir=l.FsC({type:D,selectors:[["","onResize",""]],inputs:{resizeBoxModel:"resizeBoxModel"},outputs:{onResize:"onResize"},features:[l.OA$]}))}return o(),D})(),T=(()=>{var o;class D{static#e=o=()=>(this.\u0275fac=function(v){return new(v||D)},this.\u0275mod=l.$C({type:D}),this.\u0275inj=u.G2t({providers:[h]}
430))}return o(),D})()},11436(ye,A,n){n.d(A,{DX:()=>E,NS:()=>Yt,yN:()=>Ot,LV:()=>bt});var u=n(51602),l=n(29550);let h=null;const c={};let T=1;function D(Xe){try{return Xe()}catch{}}const g="@wry/context:Slot",v=D(()=>globalThis)||D(()=>global)||Object.create(null),E=v[g]||Array[g]||function(Xe){try{Object.defineProperty(v,g,{value:Xe,enumerable:!1,writable:!1,configurable:!0})}finally{return Xe}}(class{constructor(){this.id=["slot",T++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let tt=h;tt;tt=tt.parent)if(this.id in tt.slots){const Ht=tt.slots[this.id];if(Ht===c)break;return tt!==h&&(h.slots[this.id]=Ht),!0}return h&&(h.slots[this.id]=c),!1}getValue(){if(this.hasValue())return h.slots[this.id]}withValue(tt,Ht,ze,vt){const an=h;h={parent:an,slots:{__proto__:null,[this.id]:tt}};try{return Ht.apply(vt,ze)}finally{h=an}}static bind(tt){const Ht=h;return function(){const ze=h;try{return h=Ht,tt.apply(this,arguments)}finally{h=ze}}}static noContext(tt,Ht,ze){if(!h)return tt.apply(ze,Ht);{const vt=h;try{return h=null,tt.apply(ze,Ht)}finally{h=vt}}}}),H=new E,{hasOwnProperty:S}=Object.prototype,J=Array.from||function(Xe){const tt=[];return Xe.forEach(Ht=>tt.push(Ht)),tt};function Y(Xe){const{unsubscribe:tt}=Xe;"function"==typeof tt&&(Xe.unsubscribe=void 0,tt())}const re=[];function ce(Xe,tt){if(!Xe)throw new Error(tt||"assertion failure")}function pe(Xe,tt){const Ht=Xe.length;return Ht>0&&Ht===tt.length&&Xe[Ht-1]===tt[Ht-1]}function De(Xe){switch(Xe.length){case 0:throw new Error("unknown value");case 1:return Xe[0];case 2:throw Xe[1]}}function z(Xe){return Xe.slice(0)}let ke=(()=>{class Xe{constructor(Ht){this.fn=Ht,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++Xe.count}peek(){if(1===this.value.length&&!Ze(this))return it(this),this.value[0]}recompute(Ht){return ce(!this.recomputing,"already recomputing"),it(this),Ze(this)?function Re(Xe,tt){return Fe(Xe),H.withValue(Xe,Qe,[Xe,tt]),function Be(Xe,tt){if("function"==typeof Xe.subscribe)try{Y(Xe),Xe.unsubscribe=Xe.subscribe.apply(null,tt)}catch{return Xe.setDirty(),!1}return!0}(Xe,tt)&&function Ye(Xe){Xe.dirty=!1,!Ze(Xe)&&ne(Xe)}(Xe),De(Xe.value)}(this,Ht):De(this.value)}setDirty(){this.dirty||(this.dirty=!0,Ue(this),Y(this))}dispose(){this.setDirty(),Fe(this),X(this,(Ht,ze)=>{Ht.setDirty(),we(Ht,this)})}forget(){this.dispose()}dependOn(Ht){Ht.add(this),this.deps||(this.deps=re.pop()||new Set),this.deps.add(Ht)}forgetDeps(){this.deps&&(J(this.deps).forEach(Ht=>Ht.delete(this)),this.deps.clear(),re.push(this.deps),this.deps=null)}}return Xe.count=0,Xe})();function it(Xe){const tt=H.getValue();if(tt)return Xe.parents.add(tt),tt.childValues.has(Xe)||tt.childValues.set(Xe,[]),Ze(Xe)?q(tt,Xe):Te(tt,Xe),tt}function Qe(Xe,tt){Xe.recomputing=!0;const{normalizeResult:Ht}=Xe;let ze;Ht&&1===Xe.value.length&&(ze=z(Xe.value)),Xe.value.length=0;try{if(Xe.value[0]=Xe.fn.apply(null,tt),Ht&&ze&&!pe(ze,Xe.value))try{Xe.value[0]=Ht(Xe.value[0],ze[0])}catch{}}catch(vt){Xe.value[1]=vt}Xe.recomputing=!1}function Ze(Xe){return Xe.dirty||!(!Xe.dirtyChildren||!Xe.dirtyChildren.size)}function Ue(Xe){X(Xe,q)}function ne(Xe){X(Xe,Te)}function X(Xe,tt){const Ht=Xe.parents.size;if(Ht){const ze=J(Xe.parents);for(let vt=0;vt<Ht;++vt)tt(ze[vt],Xe)}}function q(Xe,tt){ce(Xe.childValues.has(tt)),ce(Ze(tt));const Ht=!Ze(Xe);if(Xe.dirtyChildren){if(Xe.dirtyChildren.has(tt))return}else Xe.dirtyChildren=re.pop()||new Set;Xe.dirtyChildren.add(tt),Ht&&Ue(Xe)}function Te(Xe,tt){ce(Xe.childValues.has(tt)),ce(!Ze(tt));const Ht=Xe.childValues.get(tt);0===Ht.length?Xe.childValues.set(tt,z(tt.value)):pe(Ht,tt.value)||Xe.setDirty(),je(Xe,tt),!Ze(Xe)&&ne(Xe)}function je(Xe,tt){const Ht=Xe.dirtyChildren;Ht&&(Ht.delete(tt),0===Ht.size&&(re.length<100&&re.push(Ht),Xe.dirtyChildren=null))}function Fe(Xe){Xe.childValues.size>0&&Xe.childValues.forEach((tt,Ht)=>{we(Xe,Ht)}),Xe.forgetDeps(),ce(null===Xe.dirtyChildren)}function we(Xe,tt){tt.parents.delete(Xe),Xe.childValues.delete(tt),je(Xe,tt)}const at={setDirty:!0,dispose:!0,forget:!0};function Ot(Xe){const tt=new Map,Ht=Xe&&Xe.subscribe;function ze(vt){const pt=H.getValue();if(pt){let an=tt.get(vt);an||tt.set(vt,an=new Set),pt.dependOn(an),"function"==typeof Ht&&(Y(an),an.unsubscribe=Ht(vt))}}return ze.dirty=function(pt,an){const s=tt.get(pt);if(s){const mt=an&&S.call(at,an)?an:"setDirty";
430J(s).forEach(Wt=>Wt[mt]()),tt.delete(pt),Y(s)}},ze}let Et;function Yt(...Xe){return(Et||(Et=new u.b("function"==typeof WeakMap))).lookupArray(Xe)}const ut=new Set;function bt(Xe,{max:tt=Math.pow(2,16),keyArgs:Ht,makeCacheKey:ze=Yt,normalizeResult:vt,subscribe:pt,cache:an=l.C}=Object.create(null)){const s="function"==typeof an?new an(tt,Lt=>Lt.dispose()):an,mt=function(){const Lt=ze.apply(null,Ht?Ht.apply(null,arguments):arguments);if(void 0===Lt)return Xe.apply(null,arguments);let vn=s.get(Lt);vn||(s.set(Lt,vn=new ke(Xe)),vn.normalizeResult=vt,vn.subscribe=pt,vn.forget=()=>s.delete(Lt));const wt=vn.recompute(Array.prototype.slice.call(arguments));return s.set(Lt,vn),ut.add(s),H.hasValue()||(ut.forEach(cn=>cn.clean()),ut.clear()),wt};function Wt(Lt){const vn=Lt&&s.get(Lt);vn&&vn.setDirty()}function jt(Lt){const vn=Lt&&s.get(Lt);if(vn)return vn.peek()}function sn(Lt){return!!Lt&&s.delete(Lt)}return Object.defineProperty(mt,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(mt.options={max:tt,keyArgs:Ht,makeCacheKey:ze,normalizeResult:vt,subscribe:pt,cache:s}),mt.dirtyKey=Wt,mt.dirty=function(){Wt(ze.apply(null,arguments))},mt.peekKey=jt,mt.peek=function(){return jt(ze.apply(null,arguments))},mt.forgetKey=sn,mt.forget=function(){return sn(ze.apply(null,arguments))},mt.makeCacheKey=ze,mt.getKey=Ht?function(){return ze.apply(null,Ht.apply(null,arguments))}:ze,Object.freeze(mt)}},56207(ye,A,n){function u(h,c,T,o,D,g,C){try{var v=h[g](C),E=v.value}catch(M){return void T(M)}v.done?c(E):Promise.resolve(E).then(o,D)}function l(h){return function(){var c=this,T=arguments;return new Promise(function(o,D){var g=h.apply(c,T);function C(E){u(g,o,D,C,v,"next",E)}function v(E){u(g,o,D,C,v,"throw",E)}C(void 0)})}}n.d(A,{A:()=>l})},9799(ye,A,n){n.d(A,{AQ:()=>J,Cg:()=>T,Cl:()=>h,N3:()=>S,Sn:()=>E,sH:()=>M,xN:()=>re});var h=function(){return h=Object.assign||function(q){for(var Te,je=1,Fe=arguments.length;je<Fe;je++)for(var we in Te=arguments[je])Object.prototype.hasOwnProperty.call(Te,we)&&(q[we]=Te[we]);return q},h.apply(this,arguments)};function T(X,q,Te,je){var Be,Fe=arguments.length,we=Fe<3?q:null===je?je=Object.getOwnPropertyDescriptor(q,Te):je;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)we=Reflect.decorate(X,q,Te,je);else for(var at=X.length-1;at>=0;at--)(Be=X[at])&&(we=(Fe<3?Be(we):Fe>3?Be(q,Te,we):Be(q,Te))||we);return Fe>3&&we&&Object.defineProperty(q,Te,we),we}function E(X,q){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(X,q)}function M(X,q,Te,je){return new(Te||(Te=Promise))(function(we,Be){function at(Yt){try{Et(je.next(Yt))}catch(ut){Be(ut)}}function Ot(Yt){try{Et(je.throw(Yt))}catch(ut){Be(ut)}}function Et(Yt){Yt.done?we(Yt.value):function Fe(we){return we instanceof Te?we:new Te(function(Be){Be(we)})}(Yt.value).then(at,Ot)}Et((je=je.apply(X,q||[])).next())})}function S(X){return this instanceof S?(this.v=X,this):new S(X)}function J(X,q,Te){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Fe,je=Te.apply(X,q||[]),we=[];return Fe=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),at("next"),at("throw"),at("return",function Be(Xe){return function(tt){return Promise.resolve(tt).then(Xe,ut)}}),Fe[Symbol.asyncIterator]=function(){return this},Fe;function at(Xe,tt){je[Xe]&&(Fe[Xe]=function(Ht){return new Promise(function(ze,vt){we.push([Xe,Ht,ze,vt])>1||Ot(Xe,Ht)})},tt&&(Fe[Xe]=tt(Fe[Xe])))}function Ot(Xe,tt){try{!function Et(Xe){Xe.value instanceof S?Promise.resolve(Xe.value.v).then(Yt,ut):bt(we[0][2],Xe)}(je[Xe](tt))}catch(Ht){bt(we[0][3],Ht)}}function Yt(Xe){Ot("next",Xe)}function ut(Xe){Ot("throw",Xe)}function bt(Xe,tt){Xe(tt),we.shift(),we.length&&Ot(we[0][0],we[0][1])}}function re(X){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Te,q=X[Symbol.asyncIterator];return q?q.call(X):(X=function x(X){var q="function"==typeof Symbol&&Symbol.iterator,Te=q&&X[q],je=0;if(Te)return Te.call(X);if(X&&"number"==typeof X.length)return{next:function(){return X&&je>=X.length&&(X=void 0),{value:X&&X[je++],done:!X}}};throw new TypeError(q?"Object is not iterable.":"Symbol.iterator is not defined.")}(X),Te={},je("next"),je("throw"),je("return"),Te[Symbol.asyncIterator]=function(){return this},Te);function je(we){Te[we]=X[we]&&function(Be){return new Promise(function(at,Ot){!function Fe(we,Be,at,Ot){Promise.resolve(Ot).then(function(Et){we({value:Et,done:at})},Be)}(at,Ot,(Be=X[we](Be)).done,Be.value)})}}}"function"==typeof SuppressedError&&SuppressedError}},ye=>{ye(ye.s=41251)}]);
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.