1 |
- (self.webpackChunkang_fe_home=self.webpackChunkang_fe_home||[]).push([[179],{1757:(Me,ee,p)=>{"use strict";p.d(ee,{AE:()=>j,Cp:()=>m,Ke:()=>B,Og:()=>U,eR:()=>T,gv:()=>N});const m="cubic-bezier(0, 0, 0.2, 1)",T="cubic-bezier(0.4, 0, 0.2, 1)",B=195,U=`225ms ${m}`,j=`${B}ms cubic-bezier(0.4, 0, 1, 1)`;var N=function(R){return R[R.breakpointMd=768]="breakpointMd",R[R.breakpointLg=992]="breakpointLg",R[R.breakpointXl=1200]="breakpointXl",R}(N||{})},8200:(Me,ee,p)=>{"use strict";p.d(ee,{$E:()=>we,Hq:()=>U,JX:()=>B,Kp:()=>ze,M0:()=>V,MV:()=>F,MW:()=>oe,OH:()=>Ze,Rd:()=>Ke,ST:()=>be,TC:()=>et,WP:()=>Ye,aE:()=>Q,cp:()=>le,dM:()=>j,hA:()=>P,ht:()=>ye,l$:()=>R,m8:()=>Z,mN:()=>At,p8:()=>fe,t0:()=>Y,vu:()=>Pt,xc:()=>pe,yA:()=>N,yL:()=>me});var m=p(7085),T=p(553);const Q="accountDataNE",V="APP_HOME_LOCATION",Y="yapo",F=m.Z[0],B=16;var U=function(qe){return qe.Country="CL",qe.Domain="Buyer",qe.Commerce="Yapo",qe.Chref="WEB",qe.Cmref="client",qe}(U||{});const j=194054694,N={itt:{bannerId:"web-itt",size:[0,0],enabled:!1,pages:{home:!1,adview:!1,listing:!1}},home:{sm:{top:{bannerId:"web_mobile/wmo-front/top",size:[[320,100],[320,50],[300,50]]},content:{bannerId:"web_mobile/wmo-front/boxbanner",size:[300,250]},interstitials:[{bannerId:"web_mobile/Itt-3",size:[1,1],closeCallback:!0}]},md:{top:{bannerId:"web_desktop/wde-front/billboard_home",size:[[970,250],[728,90],[970,90]]},content:{bannerId:"web_desktop/wde-front/billboard_2",size:[[970,250],[728,90],[970,90]]},interstitials:[{bannerId:"web_desktop/Itt-3",size:[1,1],closeCallback:!0}]}},homeVertical:{cars:{sm:{top:{bannerId:"web_mobile/wmo-front-cars/top",size:[[320,100]]},middle:{bannerId:"web_mobile/wmo-front-cars/boxbanner",size:[[300,250]]}},md:{top:{bannerId:"web_desktop/wde-front-cars/billboard",size:[[970,250]]},middle:{bannerId:"web_desktop/wde-front-cars/970x90",size:[[970,90]]}}}},listing:{sm:{top:{bannerId:"web_mobile/wmo-listing/top",size:[[320,100],[320,50],[300,50]]},middle:{bannerId:"web_mobile/wmo-listing/boxbanner",size:[300,250]},bottom:{bannerId:"web_mobile/wmo-listing/boxbanner_2",size:[300,250]},intext:{bannerId:"web_mobile/wmo-listing/intext",size:[1,1]},interstitials:[{bannerId:"web_mobile/Itt-3",size:[1,1],closeCallback:!0},{bannerId:"web_mobile/wmo-listing/float_1x2",size:[1,2]}],cardsA:{bannerId:"web_mobile/wmo-listing/patrocinado_1",size:["fluid"]},cardsB:{bannerId:"web_mobile/wmo-listing/patrocinado_2",size:["fluid"]}},md:{top:{bannerId:"web_desktop/wde-listing/billboard_1",size:[[970,250],[728,90],[970,90]]},list1:{bannerId:"web_desktop/wde-listing/topboard",size:[728,90]},list2:{bannerId:"web_desktop/wde-listing/topboard_2",size:[728,90]},cardsA:{bannerId:"web_desktop/wde-listing/patrocinado_1",size:["fluid"]},bottom:{bannerId:"web_desktop/wde-listing/billboard_3",size:[728,90]},filters:{bannerId:"web_desktop/wde-listing/skyscraper",size:[[300,600],[160,600],[300,250]]},intext:{bannerId:"web_desktop/wde-listing/intext",size:[1,1]},interstitials:[{bannerId:"web_desktop/Itt-3",size:[1,1],closeCallback:!0},{bannerId:"web_desktop/wde-listing/float_1x2",size:[1,2]}]}},adview:{sm:{top:{bannerId:"web_mobile/wmo-adview/top",size:[[320,100],[320,50],[300,50]]},content:{bannerId:"web_mobile/wmo-adview/boxbanner",size:[300,250]},interstitials:[{bannerId:"web_mobile/Itt-3",size:[1,1],closeCallback:!0},{bannerId:"web_mobile/wmo-adview/float_1x2",size:[1,2]}],services:[{bannerId:"web_mobile/wmo-adview/service_1",size:["fluid",[200,95]]},{bannerId:"web_mobile/wmo-adview/service_2",size:["fluid",[200,95]]},{bannerId:"web_mobile/wmo-adview/service_3",size:["fluid",[200,95]]}],credits:[{bannerId:"web_mobile/wmo-adview/cotizador-credito-1",size:[320,90]},{bannerId:"web_mobile/wmo-adview/cotizador-credito-2",size:[320,90]},{bannerId:"web_mobile/wmo-adview/cotizador-credito-3",size:[320,90]},{bannerId:"web_mobile/wmo-adview/cotizador-credito-4",size:[320,90]}]},md:{top:{bannerId:"web_desktop/wde-adview/billboard_1",size:[[970,250],[728,90],[970,90]]},content:{bannerId:"web_desktop/wde-adview/skyscraper",size:[[300,600],[160,600],[300,250]]},interstitials:[{bannerId:"web_desktop/Itt-3",size:[1,1],closeCallback:!0},{bannerId:"web_desktop/wde-adview/float_1x2",size:[1,2]}],services:[{bannerId:"web_desktop/wde-adview/service_1",size:["fluid",[197,245]]},{bannerId:"web_desktop/wde-adview/service_2",size:["fluid",[197,245]]},{bannerId:"web_desktop/wde-adview/service_3",size:["fluid",[197,245]]}],credits:[{bannerId:"web_desktop/wde-adview/cotizador-credito-1",size:[700,111]},{bannerId:"web_desktop/wde-adview/cotizador-credito-2",size:[700,111]},{bannerId:"web_desktop/wde-adview/cotizador-credito-3",size:[700,111]},{bannerId:"web_desktop/wde-adview/cotizador-credito-4",size:[700,111]}]}}},R="uf",P="inmo",Z="GTM-PND3WWH",oe={title:"Yapo.cl \u2013 El marketplace donde puedes comprar y vender",description:"Tenemos un sitio renovado y m\xe1s f\xe1cil de usar. Busca avisos clasificados de autos, motos, casas, departamentos nuevos y usados, empleos, celulares, consolas, bicicletas, muebles y m\xe1s.",image:"https://storage.googleapis.com/common-library/buyers/assets/iso-lg.png",keywords:[]},pe=500,ye="buscar",me=!0,fe="partner-pub-9777893996044904",be="6993963312";var Ke=function(qe){return qe.pro="pro",qe.private="private",qe.recurrent="recurrent",qe}(Ke||{});const Ye="SS_INTERNAL_NAVIGATION",et=5,Ze="| Yapo.cl",Pt="No se ha logrado procesar la solcitud, por favor intente nuevamente m\xe1s tarde.",ze={ambiente:T.NZ.GPT_ENVIRONMENT,page_type:"home"};var we=function(qe){return qe.adview="vi",qe.buildersAdview="inmuebles/comprar/nuevo",qe.verticalHome="inicio",qe.stores="tiendas",qe.genericListing="buscar",qe.login="login",qe.loginSignIn="iniciar-sesion",qe.loginSignUp="crear-cuenta",qe.loginPasswordRest="recuperar-contrasena",qe.allCategories="todas-las-categorias",qe.yapolia="paginas",qe.promotional="promocional",qe.cart="carro",qe.externalAdViewer="id-externo",qe.user="u",qe.ecommerce="compra",qe.landing="landing",qe}(we||{});const le="pubnub_uuid",At="https://www.yapo.cl"},8734:(Me,ee,p)=>{"use strict";p.d(ee,{BQ:()=>V,Kj:()=>T,pz:()=>Q});const T="LS_CART_ID",Q=["cartCreate","cartLinesAdd","cartLinesUpdate"],V="LS_BANNER_DISPLAY"},9818:(Me,ee,p)=>{"use strict";p.d(ee,{N:()=>B});var m=p(4860),T=p(2330),Q=p(7422),V=p(8200),Y=p(8734),F=p(9980);let B=(()=>{class U{constructor(N,R){this.http=N,this.environment=R}getOptions(){return{headers:(new m.WM).set("Access-Control-Allow-Origin","*").append("Access-Control-Allow-Headers","X-API-KEY, Origin, X-Requested-With, Content-Type, Accept, Access-Control-Request-Method").append("Access-Control-Allow-Methods","GET, POST, OPTIONS, PUT, DELETE").append("Allow","GET, POST, OPTIONS, PUT, DELETE")}}generateCartData(N,R,P){return{lines:[{merchandiseId:`gid://shopify/ProductVariant/${N}`,quantity:R<=1?1:R}],buyerIdentity:{email:P?.email||"",countryCode:"CL",customerAccessToken:"",phone:P?.phone||"",deliveryAddressPreferences:{deliveryAddress:{address1:P&&P.region&&P.commune?`${P.region}, ${P.commune}`:"",address2:"",city:P?.region||"",province:P?.commune||"",country:P?.country||"",zip:"",firstName:P?.name||"",lastName:"",phone:P?.phone||"",company:"yapo"}}}}}getTotalQuantity(N){let R=0;return N.lines.edges.forEach(P=>{P.node.quantity>0&&(R+=P.node.quantity)}),R}getBuyURL(N,R=1){return`https://compra.yapo.cl/cart/${N}:${R<=1?1:R}?traffic_source=buy_now`}getError(N){const R=Y.pz.length;for(let P=0;P<R;P++)if(N.data[Y.pz[P]]&&N.data[Y.pz[P]].userErrors.length>0){const Z=N.data[Y.pz[P]].userErrors;return Z[0].field.indexOf("quantity")>-1&&Z[0].message.startsWith("Solo puedes a\xf1adir ")||Z[0].message.endsWith("ya est\xe1 agotado.")?Z[0].message:"No se ha logrado procesar la solicitud, por favor, intenta nuevamente m\xe1s tarde."}return null}executeAndGetCart(N,R){return new T.y(P=>{this.http.post(N,R,this.getOptions()).subscribe(Z=>{const oe=this.getError(Z);oe?(P.error(oe),P.complete()):this.getCart(this.getCartIdFromResponse(Z)).subscribe(pe=>{P.next(pe),P.complete()})},Z=>{P.error(V.vu),P.complete()})})}createCart(N,R,P){const Z=this.generateCartData(N,R,P);return this.executeAndGetCart(this.environment.ECOMMERCE_CREATE_CART,Z)}getCart(N){return this.http.post(this.environment.ECOMMERCE_GET_CART,{cartId:N},this.getOptions()).pipe((0,Q.U)(R=>R.data.cart))}addToCartOrCreate(N,R,P,Z){return P?this.addToCart(N,R,P):this.createCart(N,R,Z)}addToCart(N,R,P){return this.executeAndGetCart(this.environment.ECOMMERCE_ADD_CART,{cartId:P,lines:[{merchandiseId:`gid://shopify/ProductVariant/${N}`,quantity:R}]})}updateCart(N,R,P){return this.executeAndGetCart(this.environment.ECOMMERCE_UPDATE_CART,{cartId:N,cartLineId:P,quantity:R}).pipe((0,Q.U)(oe=>{const pe=oe.lines.edges.findIndex(ye=>ye.node.id===P);return pe>-1&&oe.lines.edges[pe].node.quantity<R&&(oe.lines.edges[pe].node.maxQuantity=oe.lines.edges[pe].node.quantity),oe}))}getCheckoutUrl(N){return this.http.post(this.environment.ECOMMERCE_CHECKOUT_CART,{cartId:N},this.getOptions())}getCartIdFromResponse(N){const R=Y.pz.length;for(let P=0;P<R;P++)if(N.data[Y.pz[P]]&&N.data[Y.pz[P]]?.cart.id)return N.data[Y.pz[P]].cart.id;return""}static#e=this.\u0275fac=function(R){return new(R||U)(F.LFG(m.eN),F.LFG("ENVIRONMENT"))};static#t=this.\u0275prov=F.Yz7({token:U,factory:U.\u0275fac,providedIn:"root"})}return U})()},7148:(Me,ee,p)=>{"use strict";p.d(ee,{r:()=>T});var m=p(9980);let T=(()=>{class Q{constructor(){this.deburredLetters={\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"}}basePropertyOf(Y){return F=>Y[F]||""}deburr(Y){const oe=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff]","g");return Y.replace(/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,this.basePropertyOf(this.deburredLetters)).replace(oe,"")}static#e=this.\u0275fac=function(F){return new(F||Q)};static#t=this.\u0275prov=m.Yz7({token:Q,factory:Q.\u0275fac,providedIn:"root"})}return Q})()},7812:(Me,ee,p)=>{"use strict";p.d(ee,{d:()=>V});var m=p(462),T=p(9980),Q=p(4860);let V=(()=>{class Y{constructor(B,U){this.http=B,this.environment=U,this._currentUF=new m.X(null),this.retrieveSubscription=null}get currentUF(){return null===this._currentUF.getValue()&&this.retrieveUF(),this._currentUF}retrieveUF(){null===this.retrieveSubscription&&null===this._currentUF.getValue()&&(this.retrieveSubscription=this.http.get(this.environment.ENDPOINT_ECONOMIC_UF).subscribe(B=>{this._currentUF.next(B.uf.value),this.retrieveSubscription=null}))}static#e=this.\u0275fac=function(U){return new(U||Y)(T.LFG(Q.eN),T.LFG("ENVIRONMENT"))};static#t=this.\u0275prov=T.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})()},5583:(Me,ee,p)=>{"use strict";p.d(ee,{b:()=>V});var m=p(8200),T=p(9980),Q=p(7088);let V=(()=>{class Y{constructor(B){this.userService=B,this.hasWindow=typeof window<"u"&&Array.isArray(window.dataLayer)}sendGtmEvent(B){this.hasWindow&&(window.dataLayer.push({...B,user_id:this.userService.user().getValue()?.id||null}),window.dataLayer.length>200&&window.dataLayer.push(()=>{window.google_tag_manager[m.m8]&&window.google_tag_manager[m.m8].dataLayer.reset()}))}static#e=this.\u0275fac=function(U){return new(U||Y)(T.LFG(Q.K))};static#t=this.\u0275prov=T.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})()},1884:(Me,ee,p)=>{"use strict";p.d(ee,{_:()=>F});var m=p(462),T=p(8200),Q=p(5089),V=p(219),Y=p(9980);let F=(()=>{class B{constructor(){this._currentLocation=new m.X(null),this.getLocationFromLocalstorage()}currentLocation(){return this._currentLocation}setCurrentLocation(j){this._currentLocation.next(j),typeof window<"u"&&window.localStorage&&window.localStorage.setItem(T.M0,j?.id.toString()||"")}getRegions(){return Q.f.deepClone(V)}getLocationFromLocalstorage(){if(typeof window<"u"&&window.localStorage){const j=Number(window.localStorage.getItem(T.M0)),N=this.getRegions().find(R=>R.id===j);N&&this.setCurrentLocation(N)}}static#e=this.\u0275fac=function(N){return new(N||B)};static#t=this.\u0275prov=Y.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},4801:(Me,ee,p)=>{"use strict";p.d(ee,{M:()=>V});var m=p(462),T=p(1757),Q=p(9980);let V=(()=>{class Y{constructor(){this._size=new m.X({sm:!0,md:!0,lg:!0,xl:!0}),typeof window<"u"&&(window.matchMedia(`(min-width: ${T.gv.breakpointMd}px)`).addEventListener("change",B=>{this._size.value.md=B.matches,this._size.next(this._size.value)}),window.matchMedia(`(min-width: ${T.gv.breakpointLg}px)`).addEventListener("change",B=>{this._size.value.lg=B.matches,this._size.next(this._size.value)}),window.matchMedia(`(min-width: ${T.gv.breakpointXl}px)`).addEventListener("change",B=>{this._size.value.xl=B.matches,this._size.next(this._size.value)}),this._size.next({sm:!0,md:window.innerWidth>=T.gv.breakpointMd,lg:window.innerWidth>=T.gv.breakpointLg,xl:window.innerWidth>=T.gv.breakpointXl}))}get size(){return this._size}static defaultScreenSize(){return{sm:!0,md:!0,lg:!0,xl:!0}}static#e=this.\u0275fac=function(U){return new(U||Y)};static#t=this.\u0275prov=Q.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})()},9489:(Me,ee,p)=>{"use strict";p.d(ee,{X:()=>Y});var m=p(6575),T=p(9794),Q=p(8200),V=p(9980);let Y=(()=>{class F{constructor(U,j){this.router=U,this.document=j,this.limit=5,this.history=[]}startRecording(){this.router.events.subscribe(U=>{U instanceof T.m2&&(this.history.unshift(U.urlAfterRedirects),this.history=this.history.slice(0,this.limit))})}getHistory(){return this.history}getOriginUrl(){const U=this.getHistory();return U.length>1?`${this.document.location.origin}${U[1]}`:this.document.location.href}static saveInternal(U,j=""){if(typeof window<"u"&&window.sessionStorage){const N=F.getInternal();N.unshift([U,j]),window.sessionStorage.setItem(Q.WP,JSON.stringify(N.slice(0,Q.TC-1)))}}static getInternal(){if(typeof window<"u"&&window.sessionStorage){const U=window.sessionStorage.getItem(Q.WP);if(U)try{const j=JSON.parse(U);return Array.isArray(j)?j:[]}catch{}}return[]}static#e=this.\u0275fac=function(j){return new(j||F)(V.LFG(T.F0),V.LFG(m.K0))};static#t=this.\u0275prov=V.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"})}return F})()},5544:(Me,ee,p)=>{"use strict";p.d(ee,{Y:()=>U});const m=JSON.parse('[{"uniqueName":"gpt","type":"js","src":"https://www.googletagservices.com/tag/js/gpt.js","description":"script for banners"},{"uniqueName":"leaflet-js","type":"js","src":"https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.min.js","description":"here maps plugin"},{"uniqueName":"leaflet-css","type":"css","href":"https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.min.css","description":"here maps plugin css"},{"uniqueName":"adSense","type":"js","src":"https://www.google.com/adsense/search/ads.js","description":"google Ad Sense script, used for ad sense banner"},{"uniqueName":"recaptcha","type":"js","src":"https://www.google.com/recaptcha/api.js","description":"Recaptcha library"},{"uniqueName":"recaptcha-enterprise","type":"js","src":"https://www.google.com/recaptcha/enterprise.js","description":"Recaptcha Enterprise library"},{"uniqueName":"googleOauth","type":"js","src":"https://accounts.google.com/gsi/client","description":"User for google sign up"},{"uniqueName":"facebook-sdk","type":"js","src":"https://connect.facebook.net/es_CL/sdk.js","description":"Sdk from facebook to generate sign up"}]');var T=p(462),Q=p(3994),V=p(9681),Y=p(5089),F=p(6575),B=p(9980);let U=(()=>{class j{constructor(R){this.document=R,this.pageLoaded=!1,this.scripts={},this.initializeScripts(Y.f.deepClone(m)),typeof window<"u"&&(this.pageLoaded=!0)}initializeScripts(R){R.forEach(P=>{this.scripts[P.uniqueName]=this.initializeScritpObect(P)})}initializeScritpObect(R){return{loaded:!1,element:null,loading:!1,definition:R,subject:new T.X(!1)}}addScriptForHead(R){this.document.getElementsByTagName("head")[0].appendChild(R)}generateElement(R,P=""){return"js"===R.definition.type?this.generateJs(R,P):this.generateCss(R,P)}generateJs(R,P=""){if(R.definition.src){const Z=this.document.createElement("script");return Z.type="text/javascript",Z.async=!0,Z.src=`${R.definition.src}${P}`,Z}return null}generateCss(R,P=""){if(R.definition.href){const Z=this.document.createElement("link");return Z.href=`${R.definition.href}${P}`,Z.rel="stylesheet",Z.type="text/css",Z}return null}getScripts(){return Y.f.deepClone(m)}loadScript(R,P=""){if(!this.scripts[R])return(0,Q._)(!1);if(this.isScriptInDom(R))return(0,V.of)(!0);if(!this.scripts[R].loading){const Z=this.generateElement(this.scripts[R],P);Z&&(this.scripts[R].element=Z,this.scripts[R].loading=!0,Z.addEventListener("load",()=>{this.scripts[R].loaded=!0,this.scripts[R].loading=!1,this.scripts[R].subject.next(!0),this.scripts[R].subject.complete()}),Z.addEventListener("error",()=>{this.scripts[R].loading=!1,this.scripts[R].subject.error(!1),this.scripts[R].subject.complete()}),this.pageLoaded?this.addScriptForHead(Z):window.addEventListener("load",()=>this.addScriptForHead(Z)))}return this.scripts[R].subject}isScriptInDom(R){if(this.scripts[R]&&this.scripts[R].loaded)return!0;const P=this.scripts[R].definition;return!!this.document.querySelector("js"===P.type?`script[src="${P.src}"]`:`link[href="${P.href}"]`)}static#e=this.\u0275fac=function(P){return new(P||j)(B.LFG(F.K0))};static#t=this.\u0275prov=B.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"})}return j})()},8241:(Me,ee,p)=>{"use strict";p.d(ee,{y:()=>F});var m=p(6575),T=p(462),Q=p(8200),V=p(9980),Y=p(6480);let F=(()=>{class B{constructor(j,N,R){this.pageTitle=j,this.meta=N,this.document=R,this._title=new T.X(Q.MW.title),this._notifications=new T.X(0),this._description=new T.X(Q.MW.description),this._canonical=new T.X(null),this._title.subscribe(()=>this.setTitle()),this._notifications.subscribe(()=>this.setTitle()),this._description.subscribe(this.setDescription.bind(this)),this._canonical.subscribe(this.setCanonical.bind(this))}setTitle(){if(this._notifications.getValue()>0){const j=this._notifications.getValue();this.pageTitle.setTitle(`(${j>99?"99+":j}) ${this._title.getValue()}`)}else this.pageTitle.setTitle(this._title.getValue());this.meta.updateTag({name:"og:title",property:"og:title",content:this._title.getValue()})}setDescription(j){this.meta.updateTag({name:"description",content:j||Q.MW.description}),this.meta.updateTag({name:"og:description",property:"og:description",content:j||Q.MW.description})}setCanonical(j){if(this.document.head.querySelectorAll('link[rel="canonical"]').forEach(N=>N.remove()),j){const N=this.document.createElement("link");N.setAttribute("rel","canonical"),N.setAttribute("href",j),this.document.head.appendChild(N)}}get title(){return this._title}get notifications(){return this._notifications}get description(){return this._description}get canonical(){return this._canonical}static#e=this.\u0275fac=function(N){return new(N||B)(V.LFG(Y.Dx),V.LFG(Y.h_),V.LFG(m.K0))};static#t=this.\u0275prov=V.Yz7({token:B,factory:B.\u0275fac,providedIn:"root"})}return B})()},7088:(Me,ee,p)=>{"use strict";p.d(ee,{K:()=>j});var m=p(9980),T=p(8200),Q=p(462),V=p(8529),Y=p.n(V),F=p(6575),B=p(4860),U=p(5089);let j=(()=>{class N{constructor(P,Z,oe,pe,ye){this.http=P,this.utilService=Z,this.environment=oe,this.document=ye,this._session=new Q.X(null),this._user=new Q.X(null),this._status=new Q.X(null),(0,F.NF)(pe)&&this.retrieveCurrentUser()}retrieveCurrentUser(){const P=this.getSessionDataCookie();P?P.access_token?this.getUserInfo(P.access_token||"").subscribe(Z=>{this.setSessionData({...P,...Z.data})},Z=>{401===Z.status?this.refreshToken(P.email,P.refresh_token,P.session_id).subscribe(oe=>{200===oe.status?this.setSessionData({...P,...oe.data}):this.noSession()}):this.noSession()}):P.session_id?this.setSessionData(P):this.noSession():this.noSession()}setSessionData(P){this._session.next(P),this.setUserProfileInformation()}setUserProfileInformation(){this.getProfileData().subscribe(P=>{P?(this._user.next(P),this._status.next(!0),this.getUserProfile(P.email).subscribe(Z=>{P.Profile=Z,this._user.next(P)})):this.noSession()},()=>{this.noSession()})}session(){return this._session}user(){return this._user}status(){return this._status}getUserInfo(P){return this.http.get(this.environment.ENDPOINT_USER_GET_INFO,{headers:{"skip-yapo-headers":"true",authorization:`Bearer ${P}`,"no-authorized-intercept":"true"}})}refreshToken(P,Z,oe){const pe=new URLSearchParams;return pe.append("email",P),pe.append("session_id",oe),this.http.post(this.environment.ENDPOINT_USER_REFRESH,pe,{headers:{"skip-yapo-headers":"true","Refresh-Token":Z,"Content-Type":"application/x-www-form-urlencoded"}})}getSessionDataCookie(){const P=this.utilService.getCookie("acc_session"),Z=this.utilService.getCookie("acc_email"),oe=this.utilService.getCookie("refresh_token"),pe=this.utilService.getCookie("access_token");if(P){const ye={session_id:P,email:Z||"",refresh_token:oe||""};return pe&&(ye.access_token=pe),ye}return null}getSessionData(){const P=localStorage.getItem(T.aE);if("string"==typeof P)try{return JSON.parse(P)}catch{return null}return null}getProfileData(){return this.http.get(this.environment.ENDPOINT_USER_PROFILE,{headers:{"skip-yapo-headers":"true"}})}getUserProfile(P){const Z=Y()(P);return this.http.get(`${this.environment.ENDPOINT_PROFILE_SELLER}/${atob(Z.toString())}`)}endUserSession(P,Z,oe){const pe=new URLSearchParams;return pe.append("email",P),pe.append("session_id",oe),this.http.post(this.environment.ENDPOINT_USER_LOGOUT,pe,{headers:{"skip-yapo-headers":"true","Refresh-Token":Z,"Content-Type":"application/x-www-form-urlencoded"}})}deleteCookie(P,Z="/",oe=".yapo.cl"){Z=Z?`;path=${Z}`:"",oe=oe?`;domain=${oe}`:"",document.cookie=`${P}=${Z}${oe};expires=Thu, 01 Jan 1970 00:00:01 GMT`}logout(){this._session.next(null),this._user.next(null),this.deleteCookie("access_token"),this.deleteCookie("refresh_token"),this.deleteCookie("acc_session"),this.deleteCookie("NewExperience"),this.noSession();const P=this.getSessionData();P?.session_id&&P?.email&&P?.refresh_token&&this.endUserSession(P.email,P.refresh_token,P.session_id).subscribe(Z=>{}),this.reloadCurrentRoute()}noSession(){typeof window<"u"&&(window.localStorage.removeItem(T.aE),window.sessionStorage.removeItem(T.cp)),this._status.next(!1)}reloadCurrentRoute(){this.document.location.reload()}static#e=this.\u0275fac=function(Z){return new(Z||N)(m.LFG(B.eN),m.LFG(U.f),m.LFG("ENVIRONMENT"),m.LFG(m.Lbi),m.LFG(F.K0))};static#t=this.\u0275prov=m.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"})}return N})()},5089:(Me,ee,p)=>{"use strict";p.d(ee,{f:()=>V});var m=p(553),T=p(9980),Q=p(7148);let V=(()=>{class Y{constructor(B){this.deburrService=B}trimStart(B,U="\\s"){return B.replace(new RegExp(`^([${U}]*)(.*)$`),"$2")}pick(B,U){const j={};for(const N of U)B.hasOwnProperty(N)&&(j[N]=B[N]);return j}static deepClone(B){return"function"==typeof structuredClone?structuredClone(B):JSON.parse(JSON.stringify(B))}static isObject(B){return!(!B||"object"!=typeof B||Array.isArray(B))}static mergeDeep(B,...U){if(!U.length)return B;const j=U.shift();if(this.isObject(B)&&this.isObject(j))for(const N in j)this.isObject(j[N])?(B[N]||Object.assign(B,{[N]:{}}),this.mergeDeep(B[N],j[N])):Object.assign(B,{[N]:j[N]});return this.mergeDeep(B,...U)}kebabCase(B){return this.deburrService.deburr(B).toLowerCase().replace(/[^A-Za-z0-9-!?\s]/g,"").split(/[\s,\t,\n]+/).join(" ").replace(/[\s_]+/g,"-").replace(/\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")}setCookie(B,U,j,N="/",R=".yapo.cl"){if(typeof document<"u"&&document.cookie){let P="";if(j){const Z=new Date;Z.setTime(Z.getTime()+j),P=`; expires=${Z.toUTCString()}`}N=N?`;path=${N}`:"",R=R?`;domain=${R}`:"",document.cookie=`${B}=${U}${N}${R}${P}`}}static scrollTop(){typeof window<"u"&&window.scrollTo(0,0)}getCookie(B){if(typeof document<"u"&&document.cookie){const j=`; ${document.cookie}`.split(`; ${B}=`);if(j&&2===j.length)return j.pop()?.split(";").shift()||null}return null}decodeUTF8Text(B=""){return B&&"string"==typeof B?B.replace(/\xc3\xb1/g,"\xf1").replace(/\xc3\x91/g,"\xd1").replace(/\xc3\xa1/g,"\xe1").replace(/\xc3\xa9/g,"\xe9").replace(/\xc3\xad/g,"\xed").replace(/\xc3\xb3/g,"\xf3").replace(/\xc3\xba/g,"\xfa").replace(/\xc3\x81/g,"\xc1").replace(/\xc3\x89/g,"\xc9").replace(/\xc3\x8d/g,"\xcd").replace(/\xc3\x93/g,"\xd3").replace(/\xc3\x9a/g,"\xda").replace(/\xc2\xbf/g,"\xbf").replace(/\xc2\xa1/g,"\xa1").replace("\xc2\xae\xef\xb8\x8f","\xae\ufe0f").replace("\xc2","").replace("\xc2","").replace("\xae\xef¸\x8f","\xae\ufe0f"):""}saveTempData(B,U,j="localStorage",N=0){typeof window<"u"&&window[j]&&window[j].setItem(B,JSON.stringify({data:U,time:N,date:Date.now()}))}getTempData(B,U="localStorage",j=!0){if(typeof window<"u"&&window[U])try{const N=window[U].getItem(B);if(N){const R=JSON.parse(N);if(R&&"data"in R&&"time"in R&&"date"in R){if(R.time<=0||R.date+R.time>=Date.now())return R.data;j&&this.removeTempData(B,U)}}}catch{}return null}removeTempData(B,U){typeof window<"u"&&window[U]&&window[U].removeItem(B)}envLinkProp(B,U){const j=B.length;for(let N=0;N<j;N++)if(B[N][U]&&"string"==typeof B[N][U]){let R=B[N][U];R=R.replace(new RegExp("{{environment.domains.w2}}","g"),m.NZ.domains.w2),B[N][U]=R}return B}generateRandomString(B){let j="";for(let N=0;N<B;N++)j+="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".charAt(Math.floor(62*Math.random()));return j}static#e=this.\u0275fac=function(U){return new(U||Y)(T.LFG(Q.r))};static#t=this.\u0275prov=T.Yz7({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})()},553:(Me,ee,p)=>{"use strict";p.d(ee,{NZ:()=>m,XI:()=>V,xC:()=>T});const m={production:!0,env:"production",MAP_APP_ID:"e28ag3OHzi7s1RUXFYGU",MAP_APP_CODE:"McE3Ci_eUofaEiYlmBw_Zg",MAP_GOOGLE:"AIzaSyAm0VFIVE0xfIei_P1Z7XtBQx28_cXFXA0",GPT_ENVIRONMENT:"prod",LOGIN_URL:"https://new.yapo.cl/legacy/login.html",FEATURED_ADS_LIMIT:4,SENTRY:{dsn:"https://536f820ab5e6421ca20ef58bd218d26b@sentry.yapo.cl/11"},recaptcha:{login:"6LdIiAAmAAAAACHTGCYox6TyG2hLhhsFIVHUFCHo",builders:"6Ldy0sIdAAAAAJ2LyXN1EKmLhWwgkPDWoRE_aZ3y"},oauth:{facebookAppId:"795650937186087",googleAppId:"52812877908-f55bqhr2jh87b7u81hfq9cbkqt8ibota.apps.googleusercontent.com"},PUBNUB_PUBK:"pub-c-5cb73048-d75b-43ab-8618-15ed77a06d85",PUBNUB_SUBK:"sub-c-e5f44e36-ac5b-11ec-ab7a-66fb1d4f8b52",domains:{w2:"https://www2.yapo.cl"}},T={ENDPOINT_ADS_SEARCH:"https://public-api.yapo.cl/buyers/search",ENDPOINT_AUTOSUGEST:"https://public-api.yapo.cl/buyers/search/suggest",ENDPOINT_ADVIEW:"https://public-api.yapo.cl/buyers/items",ENDPOINT_ADS_FEATURED:"https://public-api.yapo.cl/buyers/items/featured",ENDPOINT_PROFILE_SELLER:"https://public-api.yapo.cl/buyers/items/seller",ENDPOINT_AD_PHONE:"https://public-api.yapo.cl/buyers/items",ENDPOINT_ADS_PROMOTIONAL:"https://storage.googleapis.com/yapo-static-prd/banners/home-jumbo-slides.json",ENDPOINT_METRICS_HOME:"https://public-api.yapo.cl/buyers/home/metrics",ENDPOINT_ECONOMIC_UF:"https://public-api.yapo.cl/commons/py-ms-economic-indicator/indicators/uf",ENDPOINT_ADS_CONTACT_FORM:"https://www2.yapo.cl/send_ar",ENDPOINT_ADS_REPORT:"https://w.yapo.cl/templates/vi/abuse/abuseform.html",ENDPOINT_WHATSAPP_ENABLED:"https://www.yapo.cl/ad-contact/enabled",ENDPOINT_FAVORITES:"https://www.yapo.cl/bff/api/v1/fav",ENDPOINT_LISTING_FILTER_CAR_MODEL:"https://w.yapo.cl/templates/common/ajax_cars.html",ENDPOINT_USER_GET_INFO:"https://public-api.yapo.cl/sellers/go-ms-sell-account-service/account/info",ENDPOINT_USER_REFRESH:"https://public-api.yapo.cl/sellers/go-ms-sell-account-service/account/refresh",ENDPOINT_USER_LOGOUT:"https://public-api.yapo.cl/sellers/go-ms-sell-account-service/account/logout",ENDPOINT_USER_PROFILE:"/profile/api/v2/user",ENDPOINT_BLOG_POSTS:"https://public-api.yapo.cl/buyers/home/blog/post",ENDPOINT_MOST_QUOTED_PROJECTS:"https://propiedades.yapo.cl/bc/projects/list/mostQuoted",ENDPOINT_UPCOMING_DELIVERIES:"https://propiedades.yapo.cl/bc/projects/list/upcomingDeliveries",ENDPOINT_SUGGESTED_ADS:"https://public-api.yapo.cl/buyers/search/recommendations/suggested-ads",ENDPOINT_SUGGESTED_PREMIUM_ADS:"https://www.yapo.cl/premium-carousel-api/related",ENDPOINT_YAPOLIA_ROUTES:"https://public-api.yapo.cl/buyers/keywords/manager/findByUrl",YAPOLIA_RELATED_SEARCHES:"https://public-api.yapo.cl/buyers/keywords/manager/related-searches",ENDPOINT_TAXONOMY:"https://public-api.yapo.cl/sellers/taxonomy/api/v1",ENDPOINT_LEADS:"https://public-api.yapo.cl/lead-publish/api/v1/leads/publish",ENDPOINT_BUILDERS_AD:"https://public-api.yapo.cl/reb/builder-core/projects/",ENDPOINT_BUILDERS_LEAD:"https://public-api.yapo.cl/reb/lead",ENDPOINT_CREATE_ACCOUNT:"https://public-api.yapo.cl/sellers/account/account/create",RRSS_ACCOUNT_CREATE:"https://public-api.yapo.cl/sellers/go-ms-sell-account-service/account/",ENDPOINT_LOGIN:"https://www2.yapo.cl/login/login_validate",ENDPOINT_PHONE_VALIDATION_SEND_SMS:"https://public-api.yapo.cl/verify-phone-number/send-sms",ENDPOINT_PHONE_VALIDATION_VERIFY_SMS:"https://public-api.yapo.cl/verify-phone-number/validate-sms",CAN_CREATE_ACCOUNT:"https://public-api.yapo.cl/account-validation/api/v1/validate/",RESEND_CREATE_ACCOUNT:"https://public-api.yapo.cl/sellers/account/account/resend-activate-email",ENDPOINT_AUTH_BASIC_DATA:"https://www.yapo.cl/messaging-auth/user/basic-data",ENDPOINT_STORE:"https://public-api.yapo.cl/stores/api/v1/store",JOBS_SEND_POSTULATION:"https://public-api.yapo.cl/job/send-postulation",JOBS_GET_CV:"https://public-api.yapo.cl/job/get-cv",JOBS_VALIDATE_FORM:"https://public-api.yapo.cl/job/validate-form",JOBS_GET_LAST_CV:"https://public-api.yapo.cl/job/get-cv-metadata",STORES_LIST:"https://public-api.yapo.cl/stores/api/v1/store/",ECOMMERCE_CREATE_CART:"https://public-api.yapo.cl/ecommerce/create-cart-from-shopify",ECOMMERCE_ADD_CART:"https://public-api.yapo.cl/ecommerce/add-products-to-cart-from-shopify",ECOMMERCE_UPDATE_CART:"https://public-api.yapo.cl/ecommerce/update-cart-from-shopify",ECOMMERCE_REMOVE_CART:"https://public-api.yapo.cl/ecommerce/remove-products-to-cart-from-shopify",ECOMMERCE_GET_CART:"https://public-api.yapo.cl/ecommerce/get-cart-from-shopify",ECOMMERCE_CHECKOUT_CART:"https://public-api.yapo.cl/ecommerce/create-checkout-url-from-shopify",PROMOTIONAL:"https://storage.googleapis.com/yapo-static-prd/ppages/promotional.json",EXTERNAL_AD:"https://integration.yapo.cl/yapo-api/ad/listid",HOME_VERT_CARS:"https://storage.googleapis.com/yapo-static-prd/banners/cars-jumbo-slides.json",HOME_VERT_INMO:"https://storage.googleapis.com/yapo-static-prd/banners/inmo-jumbo-slides.json",HOME_VERT_JOBS:"https://storage.googleapis.com/yapo-static-prd/banners/jobs-jumbo-slides.json",HOME_VERT_MARKETPLACE:"https://storage.googleapis.com/yapo-static-prd/banners/marketplace-jumbo-slides.json",HIGHLIGHT_ADS:"https://storage.googleapis.com/yapo-static-prd/demos/highlight-ads.json",UNVIEWED_MESSAGES:"https://public-api.yapo.cl/messaging/message/count/unviewed",AMP_ALUCERTO_SUBMIT:"https://landing.yapo.cl/gracias/alucerto-cotizador"},V={CHATS:"https://public-api.yapo.cl/messaging/channel",CHAT_MESSAGES:"https://public-api.yapo.cl/messaging/message",NEW_MESSAGE:"https://public-api.yapo.cl/messaging/message/new",LEADS_LIST:"https://public-api.yapo.cl/lead-public/api/v1/seller/leads/",LEAD:"https://public-api.yapo.cl/lead-public/api/v1/seller/lead/"}},569:(Me,ee,p)=>{"use strict";var m=p(6480),T=p(9980),Q=p(9794),V=p(9038),Y=p(219),F=p(6575);const B=[{path:"",pathMatch:"full",loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(7),p.e(2612),p.e(8016),p.e(7914),p.e(4619),p.e(768),p.e(9050),p.e(5094)]).then(p.bind(p,5094)).then(w=>w.ListingModule)},{matcher:w=>w[0].path.match(/.+\_.+/)?{consumed:[w[0]],posParams:{adTitle:new Q.bq(w[0].path.substring(1),{})}}:null,loadChildren:()=>Promise.all([p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(2612),p.e(6861),p.e(7914),p.e(4619),p.e(2591),p.e(9081)]).then(p.bind(p,4991)).then(w=>w.AdviewModule)},{path:":category",loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(7),p.e(2612),p.e(8016),p.e(7914),p.e(4619),p.e(768),p.e(9050),p.e(5094)]).then(p.bind(p,5094)).then(w=>w.ListingModule)}];let U=(()=>{class w{static#e=this.\u0275fac=function(E){return new(E||w)};static#t=this.\u0275mod=T.oAB({type:w});static#n=this.\u0275inj=T.cJS({imports:[Q.Bz.forChild(B),Q.Bz]})}return w})(),j=(()=>{class w{static#e=this.\u0275fac=function(E){return new(E||w)};static#t=this.\u0275mod=T.oAB({type:w});static#n=this.\u0275inj=T.cJS({imports:[F.ez,U]})}return w})();var N=p(8200);const R=[{path:"",children:[{path:"",pathMatch:"full",loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(8016),p.e(7914),p.e(768),p.e(7290),p.e(6294)]).then(p.bind(p,383)).then(w=>w.HomeModule),data:{preload:!0}},{path:N.$E.login,loadChildren:()=>p.e(7704).then(p.bind(p,7704)).then(w=>w.LoginModule)},{path:`${N.$E.adview}/:listId`,loadChildren:()=>Promise.all([p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(2612),p.e(6861),p.e(7914),p.e(4619),p.e(2591),p.e(9081)]).then(p.bind(p,4991)).then(w=>w.AdviewModule),data:{preload:!0}},{path:N.$E.buildersAdview,loadChildren:()=>Promise.all([p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(2612),p.e(6861),p.e(7914),p.e(4619),p.e(2591),p.e(8880),p.e(4982)]).then(p.bind(p,8880)).then(w=>w.BuildersModule),data:{preload:!0}},{path:N.$E.genericListing,loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(7),p.e(2612),p.e(8016),p.e(7914),p.e(4619),p.e(768),p.e(9050),p.e(5094)]).then(p.bind(p,5094)).then(w=>w.ListingModule),data:{preload:!0}},{path:"p",loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(7),p.e(2612),p.e(8016),p.e(7914),p.e(4619),p.e(768),p.e(9050),p.e(8004)]).then(p.bind(p,8004)).then(w=>w.PModule),data:{consumed:"/p"}},{path:N.$E.yapolia,loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(7),p.e(2612),p.e(8016),p.e(7914),p.e(4619),p.e(768),p.e(9050),p.e(8004)]).then(p.bind(p,8004)).then(w=>w.PModule),data:{consumed:`/${N.$E.yapolia}`}},{path:N.$E.stores,loadChildren:()=>p.e(2914).then(p.bind(p,2914)).then(w=>w.StoresModule)},{path:N.$E.allCategories,loadChildren:()=>Promise.all([p.e(3910),p.e(5920),p.e(4034)]).then(p.bind(p,4034)).then(w=>w.AllCategoriesModule)},{path:N.$E.promotional,loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(7),p.e(2612),p.e(8016),p.e(7914),p.e(4619),p.e(768),p.e(9050),p.e(1352)]).then(p.bind(p,1352)).then(w=>w.PromotionalModule)},{path:N.$E.cart,loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(9674),p.e(6658),p.e(895),p.e(4207),p.e(7290),p.e(4658)]).then(p.bind(p,4658)).then(w=>w.CartModule)},{path:`vehiculos/${N.$E.verticalHome}`,pathMatch:"full",loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(7),p.e(6658),p.e(2106),p.e(702),p.e(944),p.e(2828),p.e(8592),p.e(4960)]).then(p.bind(p,4960)).then(w=>w.HomeCarsModule)},{path:`inmuebles/${N.$E.verticalHome}`,pathMatch:"full",loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(7),p.e(6658),p.e(2106),p.e(702),p.e(944),p.e(2828),p.e(8592),p.e(4575)]).then(p.bind(p,4575)).then(w=>w.HomeInmoModule)},{path:`marketplace/${N.$E.verticalHome}`,pathMatch:"full",loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(7),p.e(6658),p.e(2106),p.e(702),p.e(944),p.e(2828),p.e(8592),p.e(1340)]).then(p.bind(p,1340)).then(w=>w.HomeMarketplaceModule)},{path:`empleos-y-servicios/${N.$E.verticalHome}`,pathMatch:"full",loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(7),p.e(6658),p.e(2106),p.e(702),p.e(944),p.e(2828),p.e(8592),p.e(3669)]).then(p.bind(p,3669)).then(w=>w.HomeJobsModule)},{path:N.$E.user,loadChildren:()=>Promise.all([p.e(3910),p.e(5920),p.e(844)]).then(p.bind(p,844)).then(w=>w.UserModule)},{path:N.$E.externalAdViewer,loadChildren:()=>Promise.all([p.e(3910),p.e(5920),p.e(8592),p.e(6157)]).then(p.bind(p,5221)).then(w=>w.ExternalAdViewerModule)},{path:N.$E.ecommerce,loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(7),p.e(2612),p.e(8016),p.e(7914),p.e(4619),p.e(768),p.e(9050),p.e(2062)]).then(p.bind(p,2062)).then(w=>w.ListingEcommerceModule)},{path:N.$E.landing,loadChildren:()=>Promise.all([p.e(3910),p.e(5920),p.e(2032)]).then(p.bind(p,2032)).then(w=>w.LandingModule)},{path:"page-loader",loadChildren:()=>Promise.all([p.e(3910),p.e(5920),p.e(8592),p.e(842)]).then(p.bind(p,849)).then(w=>w.PageLoaderModule)}]}];V.forEach(w=>{R[0].children.push({path:w.slug,data:{vertical:w.slug},loadChildren:()=>j})}),Y.forEach(w=>{V.forEach(l=>{R[0].children.push({path:`${w.slug}/${l.slug}`,data:{region:w.slug,vertical:l.slug},loadChildren:()=>j})}),R[0].children.push({path:`${w.slug}/${N.$E.genericListing}`,loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(7),p.e(2612),p.e(8016),p.e(7914),p.e(4619),p.e(768),p.e(9050),p.e(2089)]).then(p.bind(p,2089)).then(l=>l.OtherwiseModule)}),R[0].children.push({path:w.slug,pathMatch:"full",data:{region:w.slug,vertical:null},loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(7),p.e(2612),p.e(8016),p.e(7914),p.e(4619),p.e(768),p.e(9050),p.e(5094)]).then(p.bind(p,5094)).then(l=>l.ListingModule)}),R[0].children.push({path:`${w.slug}/**`,loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(7),p.e(2612),p.e(8016),p.e(7914),p.e(4619),p.e(768),p.e(9050),p.e(2089)]).then(p.bind(p,2089)).then(l=>l.OtherwiseModule)})}),R[0].children.push({path:"**",loadChildren:()=>Promise.all([p.e(8849),p.e(3910),p.e(5920),p.e(9906),p.e(8399),p.e(7),p.e(2612),p.e(8016),p.e(7914),p.e(4619),p.e(768),p.e(9050),p.e(2089)]).then(p.bind(p,2089)).then(w=>w.OtherwiseModule)});var P=p(2501);function oe(w){return new T.vHH(3e3,!1)}function Wt(w){switch(w.length){case 0:return new P.ZN;case 1:return w[0];default:return new P.ZE(w)}}function Ur(w,l,d=new Map,E=new Map){const M=[],O=[];let $=-1,G=null;if(l.forEach(ne=>{const de=ne.get("offset"),Ue=de==$,ke=Ue&&G||new Map;ne.forEach((Et,f)=>{let I=f,v=Et;if("offset"!==f)switch(I=w.normalizePropertyName(I,M),v){case P.k1:v=d.get(f);break;case P.l3:v=E.get(f);break;default:v=w.normalizeStyleValue(f,I,v,M)}ke.set(I,v)}),Ue||O.push(ke),G=ke,$=de}),M.length)throw function bn(w){return new T.vHH(3502,!1)}();return O}function An(w,l,d,E){switch(l){case"start":w.onStart(()=>E(d&&gr(d,"start",w)));break;case"done":w.onDone(()=>E(d&&gr(d,"done",w)));break;case"destroy":w.onDestroy(()=>E(d&&gr(d,"destroy",w)))}}function gr(w,l,d){const O=Jr(w.element,w.triggerName,w.fromState,w.toState,l||w.phaseName,d.totalTime??w.totalTime,!!d.disabled),$=w._data;return null!=$&&(O._data=$),O}function Jr(w,l,d,E,M="",O=0,$){return{element:w,triggerName:l,fromState:d,toState:E,phaseName:M,totalTime:O,disabled:!!$}}function mn(w,l,d){let E=w.get(l);return E||w.set(l,E=d),E}function Sn(w){const l=w.indexOf(":");return[w.substring(1,l),w.slice(l+1)]}const Ps=(()=>typeof document>"u"?null:document.documentElement)();function Jt(w){const l=w.parentNode||w.host||null;return l===Ps?null:l}let ft=null,Br=!1;function un(w,l){for(;l;){if(l===w)return!0;l=Jt(l)}return!1}function mr(w,l,d){if(d)return Array.from(w.querySelectorAll(l));const E=w.querySelector(l);return E?[E]:[]}let jn=(()=>{class w{validateStyleProperty(d){return function yt(w){ft||(ft=function Lt(){return typeof document<"u"?document.body:null}()||{},Br=!!ft.style&&"WebkitAppearance"in ft.style);let l=!0;return ft.style&&!function Ct(w){return"ebkit"==w.substring(1,6)}(w)&&(l=w in ft.style,!l&&Br&&(l="Webkit"+w.charAt(0).toUpperCase()+w.slice(1)in ft.style)),l}(d)}matchesElement(d,E){return!1}containsElement(d,E){return un(d,E)}getParentElement(d){return Jt(d)}query(d,E,M){return mr(d,E,M)}computeStyle(d,E,M){return M||""}animate(d,E,M,O,$,G=[],ne){return new P.ZN(M,O)}static#e=this.\u0275fac=function(E){return new(E||w)};static#t=this.\u0275prov=T.Yz7({token:w,factory:w.\u0275fac})}return w})(),Oe=(()=>{class w{static#e=this.NOOP=new jn}return w})();class Mn{}const Tr=1e3,yn="ng-enter",vn="ng-leave",Zn="ng-trigger",Xn=".ng-trigger",Jn="ng-animating",Kt=".ng-animating";function dn(w){if("number"==typeof w)return w;const l=w.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:qr(parseFloat(l[1]),l[2])}function qr(w,l){return"s"===l?w*Tr:w}function Xe(w,l,d){return w.hasOwnProperty("duration")?w:function te(w,l,d){let M,O=0,$="";if("string"==typeof w){const G=w.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===G)return l.push(oe()),{duration:0,delay:0,easing:""};M=qr(parseFloat(G[1]),G[2]);const ne=G[3];null!=ne&&(O=qr(parseFloat(ne),G[4]));const de=G[5];de&&($=de)}else M=w;if(!d){let G=!1,ne=l.length;M<0&&(l.push(function pe(){return new T.vHH(3100,!1)}()),G=!0),O<0&&(l.push(function ye(){return new T.vHH(3101,!1)}()),G=!0),G&&l.splice(ne,0,oe())}return{duration:M,delay:O,easing:$}}(w,l,d)}function re(w,l={}){return Object.keys(w).forEach(d=>{l[d]=w[d]}),l}function L(w){const l=new Map;return Object.keys(w).forEach(d=>{l.set(d,w[d])}),l}function Ne(w,l=new Map,d){if(d)for(let[E,M]of d)l.set(E,M);for(let[E,M]of w)l.set(E,M);return l}function Ve(w,l,d){l.forEach((E,M)=>{const O=Ar(M);d&&!d.has(M)&&d.set(M,w.style[O]),w.style[O]=E})}function nt(w,l){l.forEach((d,E)=>{const M=Ar(E);w.style[M]=""})}function bt(w){return Array.isArray(w)?1==w.length?w[0]:(0,P.vP)(w):w}const qn=new RegExp("{{\\s*(.+?)\\s*}}","g");function qt(w){let l=[];if("string"==typeof w){let d;for(;d=qn.exec(w);)l.push(d[1]);qn.lastIndex=0}return l}function Hr(w,l,d){const E=w.toString(),M=E.replace(qn,(O,$)=>{let G=l[$];return null==G&&(d.push(function fe(w){return new T.vHH(3003,!1)}()),G=""),G.toString()});return M==E?w:M}function gs(w){const l=[];let d=w.next();for(;!d.done;)l.push(d.value),d=w.next();return l}const yr=/-+([a-z0-9])/g;function Ar(w){return w.replace(yr,(...l)=>l[1].toUpperCase())}function hn(w,l,d){switch(l.type){case 7:return w.visitTrigger(l,d);case 0:return w.visitState(l,d);case 1:return w.visitTransition(l,d);case 2:return w.visitSequence(l,d);case 3:return w.visitGroup(l,d);case 4:return w.visitAnimate(l,d);case 5:return w.visitKeyframes(l,d);case 6:return w.visitStyle(l,d);case 8:return w.visitReference(l,d);case 9:return w.visitAnimateChild(l,d);case 10:return w.visitAnimateRef(l,d);case 11:return w.visitQuery(l,d);case 12:return w.visitStagger(l,d);default:throw function be(w){return new T.vHH(3004,!1)}()}}function rn(w,l){return window.getComputedStyle(w)[l]}const Qe=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class hi extends Mn{normalizePropertyName(l,d){return Ar(l)}normalizeStyleValue(l,d,E,M){let O="";const $=E.toString().trim();if(Qe.has(d)&&0!==E&&"0"!==E)if("number"==typeof E)O="px";else{const G=E.match(/^[+-]?[\d\.]+([a-z]*)$/);G&&0==G[1].length&&M.push(function Ke(w,l){return new T.vHH(3005,!1)}())}return $+O}}const Se="*";function ht(w,l){const d=[];return"string"==typeof w?w.split(/\s*,\s*/).forEach(E=>function Ge(w,l,d){if(":"==w[0]){const ne=function Ht(w,l){switch(w){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(d,E)=>parseFloat(E)>parseFloat(d);case":decrement":return(d,E)=>parseFloat(E)<parseFloat(d);default:return l.push(function Ae(w){return new T.vHH(3016,!1)}()),"* => *"}}(w,d);if("function"==typeof ne)return void l.push(ne);w=ne}const E=w.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==E||E.length<4)return d.push(function Ce(w){return new T.vHH(3015,!1)}()),l;const M=E[1],O=E[2],$=E[3];l.push(jt(M,$));"<"==O[0]&&!(M==Se&&$==Se)&&l.push(jt($,M))}(E,d,l)):d.push(w),d}const Rt=new Set(["true","1"]),_t=new Set(["false","0"]);function jt(w,l){const d=Rt.has(w)||_t.has(w),E=Rt.has(l)||_t.has(l);return(M,O)=>{let $=w==Se||w==M,G=l==Se||l==O;return!$&&d&&"boolean"==typeof M&&($=M?Rt.has(w):_t.has(w)),!G&&E&&"boolean"==typeof O&&(G=O?Rt.has(l):_t.has(l)),$&&G}}const sn=new RegExp("s*:selfs*,?","g");function xe(w,l,d,E){return new pn(w).build(l,d,E)}class pn{constructor(l){this._driver=l}build(l,d,E){const M=new ys(d);return this._resetContextStyleTimingState(M),hn(this,bt(l),M)}_resetContextStyleTimingState(l){l.currentQuerySelector="",l.collectedStyles=new Map,l.collectedStyles.set("",new Map),l.currentTime=0}visitTrigger(l,d){let E=d.queryCount=0,M=d.depCount=0;const O=[],$=[];return"@"==l.name.charAt(0)&&d.errors.push(function Ye(){return new T.vHH(3006,!1)}()),l.definitions.forEach(G=>{if(this._resetContextStyleTimingState(d),0==G.type){const ne=G,de=ne.name;de.toString().split(/\s*,\s*/).forEach(Ue=>{ne.name=Ue,O.push(this.visitState(ne,d))}),ne.name=de}else if(1==G.type){const ne=this.visitTransition(G,d);E+=ne.queryCount,M+=ne.depCount,$.push(ne)}else d.errors.push(function et(){return new T.vHH(3007,!1)}())}),{type:7,name:l.name,states:O,transitions:$,queryCount:E,depCount:M,options:null}}visitState(l,d){const E=this.visitStyle(l.styles,d),M=l.options&&l.options.params||null;if(E.containsDynamicStyles){const O=new Set,$=M||{};E.styles.forEach(G=>{G instanceof Map&&G.forEach(ne=>{qt(ne).forEach(de=>{$.hasOwnProperty(de)||O.add(de)})})}),O.size&&(gs(O.values()),d.errors.push(function Ze(w,l){return new T.vHH(3008,!1)}()))}return{type:0,name:l.name,style:E,options:M?{params:M}:null}}visitTransition(l,d){d.queryCount=0,d.depCount=0;const E=hn(this,bt(l.animation),d);return{type:1,matchers:ht(l.expr,d.errors),animation:E,queryCount:d.queryCount,depCount:d.depCount,options:ur(l.options)}}visitSequence(l,d){return{type:2,steps:l.steps.map(E=>hn(this,E,d)),options:ur(l.options)}}visitGroup(l,d){const E=d.currentTime;let M=0;const O=l.steps.map($=>{d.currentTime=E;const G=hn(this,$,d);return M=Math.max(M,d.currentTime),G});return d.currentTime=M,{type:3,steps:O,options:ur(l.options)}}visitAnimate(l,d){const E=function vs(w,l){if(w.hasOwnProperty("duration"))return w;if("number"==typeof w)return dt(Xe(w,l).duration,0,"");const d=w;if(d.split(/\s+/).some(O=>"{"==O.charAt(0)&&"{"==O.charAt(1))){const O=dt(0,0,"");return O.dynamic=!0,O.strValue=d,O}const M=Xe(d,l);return dt(M.duration,M.delay,M.easing)}(l.timings,d.errors);d.currentAnimateTimings=E;let M,O=l.styles?l.styles:(0,P.oB)({});if(5==O.type)M=this.visitKeyframes(O,d);else{let $=l.styles,G=!1;if(!$){G=!0;const de={};E.easing&&(de.easing=E.easing),$=(0,P.oB)(de)}d.currentTime+=E.duration+E.delay;const ne=this.visitStyle($,d);ne.isEmptyStep=G,M=ne}return d.currentAnimateTimings=null,{type:4,timings:E,style:M,options:null}}visitStyle(l,d){const E=this._makeStyleAst(l,d);return this._validateStyleAst(E,d),E}_makeStyleAst(l,d){const E=[],M=Array.isArray(l.styles)?l.styles:[l.styles];for(let G of M)"string"==typeof G?G===P.l3?E.push(G):d.errors.push(new T.vHH(3002,!1)):E.push(L(G));let O=!1,$=null;return E.forEach(G=>{if(G instanceof Map&&(G.has("easing")&&($=G.get("easing"),G.delete("easing")),!O))for(let ne of G.values())if(ne.toString().indexOf("{{")>=0){O=!0;break}}),{type:6,styles:E,easing:$,offset:l.offset,containsDynamicStyles:O,options:null}}_validateStyleAst(l,d){const E=d.currentAnimateTimings;let M=d.currentTime,O=d.currentTime;E&&O>0&&(O-=E.duration+E.delay),l.styles.forEach($=>{"string"!=typeof $&&$.forEach((G,ne)=>{const de=d.collectedStyles.get(d.currentQuerySelector),Ue=de.get(ne);let ke=!0;Ue&&(O!=M&&O>=Ue.startTime&&M<=Ue.endTime&&(d.errors.push(function we(w,l,d,E,M){return new T.vHH(3010,!1)}()),ke=!1),O=Ue.startTime),ke&&de.set(ne,{startTime:O,endTime:M}),d.options&&function fn(w,l,d){const E=l.params||{},M=qt(w);M.length&&M.forEach(O=>{E.hasOwnProperty(O)||d.push(function me(w){return new T.vHH(3001,!1)}())})}(G,d.options,d.errors)})})}visitKeyframes(l,d){const E={type:5,styles:[],options:null};if(!d.currentAnimateTimings)return d.errors.push(function le(){return new T.vHH(3011,!1)}()),E;let O=0;const $=[];let G=!1,ne=!1,de=0;const Ue=l.steps.map(x=>{const q=this._makeStyleAst(x,d);let he=null!=q.offset?q.offset:function Vt(w){if("string"==typeof w)return null;let l=null;if(Array.isArray(w))w.forEach(d=>{if(d instanceof Map&&d.has("offset")){const E=d;l=parseFloat(E.get("offset")),E.delete("offset")}});else if(w instanceof Map&&w.has("offset")){const d=w;l=parseFloat(d.get("offset")),d.delete("offset")}return l}(q.styles),Le=0;return null!=he&&(O++,Le=q.offset=he),ne=ne||Le<0||Le>1,G=G||Le<de,de=Le,$.push(Le),q});ne&&d.errors.push(function Fe(){return new T.vHH(3012,!1)}()),G&&d.errors.push(function At(){return new T.vHH(3200,!1)}());const ke=l.steps.length;let Et=0;O>0&&O<ke?d.errors.push(function qe(){return new T.vHH(3202,!1)}()):0==O&&(Et=1/(ke-1));const f=ke-1,I=d.currentTime,v=d.currentAnimateTimings,b=v.duration;return Ue.forEach((x,q)=>{const he=Et>0?q==f?1:Et*q:$[q],Le=he*b;d.currentTime=I+v.delay+Le,v.duration=Le,this._validateStyleAst(x,d),x.offset=he,E.styles.push(x)}),E}visitReference(l,d){return{type:8,animation:hn(this,bt(l.animation),d),options:ur(l.options)}}visitAnimateChild(l,d){return d.depCount++,{type:9,options:ur(l.options)}}visitAnimateRef(l,d){return{type:10,animation:this.visitReference(l.animation,d),options:ur(l.options)}}visitQuery(l,d){const E=d.currentQuerySelector,M=l.options||{};d.queryCount++,d.currentQuery=l;const[O,$]=function en(w){const l=!!w.split(/\s*,\s*/).find(d=>":self"==d);return l&&(w=w.replace(sn,"")),w=w.replace(/@\*/g,Xn).replace(/@\w+/g,d=>Xn+"-"+d.slice(1)).replace(/:animating/g,Kt),[w,l]}(l.selector);d.currentQuerySelector=E.length?E+" "+O:O,mn(d.collectedStyles,d.currentQuerySelector,new Map);const G=hn(this,bt(l.animation),d);return d.currentQuery=null,d.currentQuerySelector=E,{type:11,selector:O,limit:M.limit||0,optional:!!M.optional,includeSelf:$,animation:G,originalSelector:l.selector,options:ur(l.options)}}visitStagger(l,d){d.currentQuery||d.errors.push(function gn(){return new T.vHH(3013,!1)}());const E="full"===l.timings?{duration:0,delay:0,easing:"full"}:Xe(l.timings,d.errors,!0);return{type:12,animation:hn(this,bt(l.animation),d),timings:E,options:null}}}class ys{constructor(l){this.errors=l,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function ur(w){return w?(w=re(w)).params&&(w.params=function on(w){return w?re(w):null}(w.params)):w={},w}function dt(w,l,d){return{duration:w,delay:l,easing:d}}function Vs(w,l,d,E,M,O,$=null,G=!1){return{type:1,element:w,keyframes:l,preStyleProps:d,postStyleProps:E,duration:M,delay:O,totalTime:M+O,easing:$,subTimeline:G}}class _n{constructor(){this._map=new Map}get(l){return this._map.get(l)||[]}append(l,d){let E=this._map.get(l);E||this._map.set(l,E=[]),E.push(...d)}has(l){return this._map.has(l)}clear(){this._map.clear()}}const Qi=new RegExp(":enter","g"),Ai=new RegExp(":leave","g");function zs(w,l,d,E,M,O=new Map,$=new Map,G,ne,de=[]){return(new Ma).buildKeyframes(w,l,d,E,M,O,$,G,ne,de)}class Ma{buildKeyframes(l,d,E,M,O,$,G,ne,de,Ue=[]){de=de||new _n;const ke=new Es(l,d,de,M,O,Ue,[]);ke.options=ne;const Et=ne.delay?dn(ne.delay):0;ke.currentTimeline.delayNextStep(Et),ke.currentTimeline.setStyles([$],null,ke.errors,ne),hn(this,E,ke);const f=ke.timelines.filter(I=>I.containsAnimation());if(f.length&&G.size){let I;for(let v=f.length-1;v>=0;v--){const b=f[v];if(b.element===d){I=b;break}}I&&!I.allowOnlyTimelineStyles()&&I.setStyles([G],null,ke.errors,ne)}return f.length?f.map(I=>I.buildKeyframes()):[Vs(d,[],[],[],0,Et,"",!1)]}visitTrigger(l,d){}visitState(l,d){}visitTransition(l,d){}visitAnimateChild(l,d){const E=d.subInstructions.get(d.element);if(E){const M=d.createSubContext(l.options),O=d.currentTimeline.currentTime,$=this._visitSubInstructions(E,M,M.options);O!=$&&d.transformIntoNewTimeline($)}d.previousNode=l}visitAnimateRef(l,d){const E=d.createSubContext(l.options);E.transformIntoNewTimeline(),this._applyAnimationRefDelays([l.options,l.animation.options],d,E),this.visitReference(l.animation,E),d.transformIntoNewTimeline(E.currentTimeline.currentTime),d.previousNode=l}_applyAnimationRefDelays(l,d,E){for(const M of l){const O=M?.delay;if(O){const $="number"==typeof O?O:dn(Hr(O,M?.params??{},d.errors));E.delayNextStep($)}}}_visitSubInstructions(l,d,E){let O=d.currentTimeline.currentTime;const $=null!=E.duration?dn(E.duration):null,G=null!=E.delay?dn(E.delay):null;return 0!==$&&l.forEach(ne=>{const de=d.appendInstructionToTimeline(ne,$,G);O=Math.max(O,de.duration+de.delay)}),O}visitReference(l,d){d.updateOptions(l.options,!0),hn(this,l.animation,d),d.previousNode=l}visitSequence(l,d){const E=d.subContextCount;let M=d;const O=l.options;if(O&&(O.params||O.delay)&&(M=d.createSubContext(O),M.transformIntoNewTimeline(),null!=O.delay)){6==M.previousNode.type&&(M.currentTimeline.snapshotCurrentStyles(),M.previousNode=gi);const $=dn(O.delay);M.delayNextStep($)}l.steps.length&&(l.steps.forEach($=>hn(this,$,M)),M.currentTimeline.applyStylesToKeyframe(),M.subContextCount>E&&M.transformIntoNewTimeline()),d.previousNode=l}visitGroup(l,d){const E=[];let M=d.currentTimeline.currentTime;const O=l.options&&l.options.delay?dn(l.options.delay):0;l.steps.forEach($=>{const G=d.createSubContext(l.options);O&&G.delayNextStep(O),hn(this,$,G),M=Math.max(M,G.currentTimeline.currentTime),E.push(G.currentTimeline)}),E.forEach($=>d.currentTimeline.mergeTimelineCollectedStyles($)),d.transformIntoNewTimeline(M),d.previousNode=l}_visitTiming(l,d){if(l.dynamic){const E=l.strValue;return Xe(d.params?Hr(E,d.params,d.errors):E,d.errors)}return{duration:l.duration,delay:l.delay,easing:l.easing}}visitAnimate(l,d){const E=d.currentAnimateTimings=this._visitTiming(l.timings,d),M=d.currentTimeline;E.delay&&(d.incrementTime(E.delay),M.snapshotCurrentStyles());const O=l.style;5==O.type?this.visitKeyframes(O,d):(d.incrementTime(E.duration),this.visitStyle(O,d),M.applyStylesToKeyframe()),d.currentAnimateTimings=null,d.previousNode=l}visitStyle(l,d){const E=d.currentTimeline,M=d.currentAnimateTimings;!M&&E.hasCurrentStyleProperties()&&E.forwardFrame();const O=M&&M.easing||l.easing;l.isEmptyStep?E.applyEmptyStep(O):E.setStyles(l.styles,O,d.errors,d.options),d.previousNode=l}visitKeyframes(l,d){const E=d.currentAnimateTimings,M=d.currentTimeline.duration,O=E.duration,G=d.createSubContext().currentTimeline;G.easing=E.easing,l.styles.forEach(ne=>{G.forwardTime((ne.offset||0)*O),G.setStyles(ne.styles,ne.easing,d.errors,d.options),G.applyStylesToKeyframe()}),d.currentTimeline.mergeTimelineCollectedStyles(G),d.transformIntoNewTimeline(M+O),d.previousNode=l}visitQuery(l,d){const E=d.currentTimeline.currentTime,M=l.options||{},O=M.delay?dn(M.delay):0;O&&(6===d.previousNode.type||0==E&&d.currentTimeline.hasCurrentStyleProperties())&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=gi);let $=E;const G=d.invokeQuery(l.selector,l.originalSelector,l.limit,l.includeSelf,!!M.optional,d.errors);d.currentQueryTotal=G.length;let ne=null;G.forEach((de,Ue)=>{d.currentQueryIndex=Ue;const ke=d.createSubContext(l.options,de);O&&ke.delayNextStep(O),de===d.element&&(ne=ke.currentTimeline),hn(this,l.animation,ke),ke.currentTimeline.applyStylesToKeyframe(),$=Math.max($,ke.currentTimeline.currentTime)}),d.currentQueryIndex=0,d.currentQueryTotal=0,d.transformIntoNewTimeline($),ne&&(d.currentTimeline.mergeTimelineCollectedStyles(ne),d.currentTimeline.snapshotCurrentStyles()),d.previousNode=l}visitStagger(l,d){const E=d.parentContext,M=d.currentTimeline,O=l.timings,$=Math.abs(O.duration),G=$*(d.currentQueryTotal-1);let ne=$*d.currentQueryIndex;switch(O.duration<0?"reverse":O.easing){case"reverse":ne=G-ne;break;case"full":ne=E.currentStaggerTime}const Ue=d.currentTimeline;ne&&Ue.delayNextStep(ne);const ke=Ue.currentTime;hn(this,l.animation,d),d.previousNode=l,E.currentStaggerTime=M.currentTime-ke+(M.startTime-E.currentTimeline.startTime)}}const gi={};class Es{constructor(l,d,E,M,O,$,G,ne){this._driver=l,this.element=d,this.subInstructions=E,this._enterClassName=M,this._leaveClassName=O,this.errors=$,this.timelines=G,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=gi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ne||new _r(this._driver,d,0),G.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(l,d){if(!l)return;const E=l;let M=this.options;null!=E.duration&&(M.duration=dn(E.duration)),null!=E.delay&&(M.delay=dn(E.delay));const O=E.params;if(O){let $=M.params;$||($=this.options.params={}),Object.keys(O).forEach(G=>{(!d||!$.hasOwnProperty(G))&&($[G]=Hr(O[G],$,this.errors))})}}_copyOptions(){const l={};if(this.options){const d=this.options.params;if(d){const E=l.params={};Object.keys(d).forEach(M=>{E[M]=d[M]})}}return l}createSubContext(l=null,d,E){const M=d||this.element,O=new Es(this._driver,M,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(M,E||0));return O.previousNode=this.previousNode,O.currentAnimateTimings=this.currentAnimateTimings,O.options=this._copyOptions(),O.updateOptions(l),O.currentQueryIndex=this.currentQueryIndex,O.currentQueryTotal=this.currentQueryTotal,O.parentContext=this,this.subContextCount++,O}transformIntoNewTimeline(l){return this.previousNode=gi,this.currentTimeline=this.currentTimeline.fork(this.element,l),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(l,d,E){const M={duration:d??l.duration,delay:this.currentTimeline.currentTime+(E??0)+l.delay,easing:""},O=new xs(this._driver,l.element,l.keyframes,l.preStyleProps,l.postStyleProps,M,l.stretchStartingKeyframe);return this.timelines.push(O),M}incrementTime(l){this.currentTimeline.forwardTime(this.currentTimeline.duration+l)}delayNextStep(l){l>0&&this.currentTimeline.delayNextStep(l)}invokeQuery(l,d,E,M,O,$){let G=[];if(M&&G.push(this.element),l.length>0){l=(l=l.replace(Qi,"."+this._enterClassName)).replace(Ai,"."+this._leaveClassName);let de=this._driver.query(this.element,l,1!=E);0!==E&&(de=E<0?de.slice(de.length+E,de.length):de.slice(0,E)),G.push(...de)}return!O&&0==G.length&&$.push(function nn(w){return new T.vHH(3014,!1)}()),G}}class _r{constructor(l,d,E,M){this._driver=l,this.element=d,this.startTime=E,this._elementTimelineStylesLookup=M,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(d),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(d,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(l){const d=1===this._keyframes.size&&this._pendingStyles.size;this.duration||d?(this.forwardTime(this.currentTime+l),d&&this.snapshotCurrentStyles()):this.startTime+=l}fork(l,d){return this.applyStylesToKeyframe(),new _r(this._driver,l,d||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(l){this.applyStylesToKeyframe(),this.duration=l,this._loadKeyframe()}_updateStyle(l,d){this._localTimelineStyles.set(l,d),this._globalTimelineStyles.set(l,d),this._styleSummary.set(l,{time:this.currentTime,value:d})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(l){l&&this._previousKeyframe.set("easing",l);for(let[d,E]of this._globalTimelineStyles)this._backFill.set(d,E||P.l3),this._currentKeyframe.set(d,P.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(l,d,E,M){d&&this._previousKeyframe.set("easing",d);const O=M&&M.params||{},$=function ir(w,l){const d=new Map;let E;return w.forEach(M=>{if("*"===M){E=E||l.keys();for(let O of E)d.set(O,P.l3)}else Ne(M,d)}),d}(l,this._globalTimelineStyles);for(let[G,ne]of $){const de=Hr(ne,O,E);this._pendingStyles.set(G,de),this._localTimelineStyles.has(G)||this._backFill.set(G,this._globalTimelineStyles.get(G)??P.l3),this._updateStyle(G,de)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((l,d)=>{this._currentKeyframe.set(d,l)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((l,d)=>{this._currentKeyframe.has(d)||this._currentKeyframe.set(d,l)}))}snapshotCurrentStyles(){for(let[l,d]of this._localTimelineStyles)this._pendingStyles.set(l,d),this._updateStyle(l,d)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const l=[];for(let d in this._currentKeyframe)l.push(d);return l}mergeTimelineCollectedStyles(l){l._styleSummary.forEach((d,E)=>{const M=this._styleSummary.get(E);(!M||d.time>M.time)&&this._updateStyle(E,d.value)})}buildKeyframes(){this.applyStylesToKeyframe();const l=new Set,d=new Set,E=1===this._keyframes.size&&0===this.duration;let M=[];this._keyframes.forEach((G,ne)=>{const de=Ne(G,new Map,this._backFill);de.forEach((Ue,ke)=>{Ue===P.k1?l.add(ke):Ue===P.l3&&d.add(ke)}),E||de.set("offset",ne/this.duration),M.push(de)});const O=l.size?gs(l.values()):[],$=d.size?gs(d.values()):[];if(E){const G=M[0],ne=new Map(G);G.set("offset",0),ne.set("offset",1),M=[G,ne]}return Vs(this.element,M,O,$,this.duration,this.startTime,this.easing,!1)}}class xs extends _r{constructor(l,d,E,M,O,$,G=!1){super(l,d,$.delay),this.keyframes=E,this.preStyleProps=M,this.postStyleProps=O,this._stretchStartingKeyframe=G,this.timings={duration:$.duration,delay:$.delay,easing:$.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let l=this.keyframes,{delay:d,duration:E,easing:M}=this.timings;if(this._stretchStartingKeyframe&&d){const O=[],$=E+d,G=d/$,ne=Ne(l[0]);ne.set("offset",0),O.push(ne);const de=Ne(l[0]);de.set("offset",es(G)),O.push(de);const Ue=l.length-1;for(let ke=1;ke<=Ue;ke++){let Et=Ne(l[ke]);const f=Et.get("offset");Et.set("offset",es((d+f*E)/$)),O.push(Et)}E=$,d=0,M="",l=O}return Vs(this.element,l,this.preStyleProps,this.postStyleProps,E,d,M,!0)}}function es(w,l=3){const d=Math.pow(10,l-1);return Math.round(w*d)/d}function ts(w,l,d,E,M,O,$,G,ne,de,Ue,ke,Et){return{type:0,element:w,triggerName:l,isRemovalTransition:M,fromState:d,fromStyles:O,toState:E,toStyles:$,timelines:G,queriedElements:ne,preStyleProps:de,postStyleProps:Ue,totalTime:ke,errors:Et}}const Gs={};class Ws{constructor(l,d,E){this._triggerName=l,this.ast=d,this._stateStyles=E}match(l,d,E,M){return function ns(w,l,d,E,M){return w.some(O=>O(l,d,E,M))}(this.ast.matchers,l,d,E,M)}buildStyles(l,d,E){let M=this._stateStyles.get("*");return void 0!==l&&(M=this._stateStyles.get(l?.toString())||M),M?M.buildStyles(d,E):new Map}build(l,d,E,M,O,$,G,ne,de,Ue){const ke=[],Et=this.ast.options&&this.ast.options.params||Gs,I=this.buildStyles(E,G&&G.params||Gs,ke),v=ne&&ne.params||Gs,b=this.buildStyles(M,v,ke),x=new Set,q=new Map,he=new Map,Le="void"===M,Ot={params:vr(v,Et),delay:this.ast.options?.delay},pt=Ue?[]:zs(l,d,this.ast.animation,O,$,I,b,Ot,de,ke);let st=0;if(pt.forEach(kt=>{st=Math.max(kt.duration+kt.delay,st)}),ke.length)return ts(d,this._triggerName,E,M,Le,I,b,[],[],q,he,st,ke);pt.forEach(kt=>{const Mt=kt.element,cn=mn(q,Mt,new Set);kt.preStyleProps.forEach(Vn=>cn.add(Vn));const xn=mn(he,Mt,new Set);kt.postStyleProps.forEach(Vn=>xn.add(Vn)),Mt!==d&&x.add(Mt)});const it=gs(x.values());return ts(d,this._triggerName,E,M,Le,I,b,pt,it,q,he,st)}}function vr(w,l){const d=re(l);for(const E in w)w.hasOwnProperty(E)&&null!=w[E]&&(d[E]=w[E]);return d}class Ks{constructor(l,d,E){this.styles=l,this.defaultParams=d,this.normalizer=E}buildStyles(l,d){const E=new Map,M=re(this.defaultParams);return Object.keys(l).forEach(O=>{const $=l[O];null!==$&&(M[O]=$)}),this.styles.styles.forEach(O=>{"string"!=typeof O&&O.forEach(($,G)=>{$&&($=Hr($,M,d));const ne=this.normalizer.normalizePropertyName(G,d);$=this.normalizer.normalizeStyleValue(G,ne,$,d),E.set(G,$)})}),E}}class Ys{constructor(l,d,E){this.name=l,this.ast=d,this._normalizer=E,this.transitionFactories=[],this.states=new Map,d.states.forEach(M=>{this.states.set(M.name,new Ks(M.style,M.options&&M.options.params||{},E))}),Or(this.states,"true","1"),Or(this.states,"false","0"),d.transitions.forEach(M=>{this.transitionFactories.push(new Ws(l,M,this.states))}),this.fallbackTransition=function It(w,l,d){return new Ws(w,{type:1,animation:{type:2,steps:[],options:null},matchers:[($,G)=>!0],options:null,queryCount:0,depCount:0},l)}(l,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(l,d,E,M){return this.transitionFactories.find($=>$.match(l,d,E,M))||null}matchStyles(l,d,E){return this.fallbackTransition.buildStyles(l,d,E)}}function Or(w,l,d){w.has(l)?w.has(d)||w.set(d,w.get(l)):w.has(d)&&w.set(l,w.get(d))}const rs=new _n;class Fs{constructor(l,d,E){this.bodyNode=l,this._driver=d,this._normalizer=E,this._animations=new Map,this._playersById=new Map,this.players=[]}register(l,d){const E=[],O=xe(this._driver,d,E,[]);if(E.length)throw function Nn(w){return new T.vHH(3503,!1)}();this._animations.set(l,O)}_buildPlayer(l,d,E){const M=l.element,O=Ur(this._normalizer,l.keyframes,d,E);return this._driver.animate(M,O,l.duration,l.delay,l.easing,[],!0)}create(l,d,E={}){const M=[],O=this._animations.get(l);let $;const G=new Map;if(O?($=zs(this._driver,d,O,yn,vn,new Map,new Map,E,rs,M),$.forEach(Ue=>{const ke=mn(G,Ue.element,new Map);Ue.postStyleProps.forEach(Et=>ke.set(Et,null))})):(M.push(function Gt(){return new T.vHH(3300,!1)}()),$=[]),M.length)throw function Fn(w){return new T.vHH(3504,!1)}();G.forEach((Ue,ke)=>{Ue.forEach((Et,f)=>{Ue.set(f,this._driver.computeStyle(ke,f,P.l3))})});const de=Wt($.map(Ue=>{const ke=G.get(Ue.element);return this._buildPlayer(Ue,new Map,ke)}));return this._playersById.set(l,de),de.onDestroy(()=>this.destroy(l)),this.players.push(de),de}destroy(l){const d=this._getPlayer(l);d.destroy(),this._playersById.delete(l);const E=this.players.indexOf(d);E>=0&&this.players.splice(E,1)}_getPlayer(l){const d=this._playersById.get(l);if(!d)throw function Qn(w){return new T.vHH(3301,!1)}();return d}listen(l,d,E,M){const O=Jr(d,"","","");return An(this._getPlayer(l),E,O,M),()=>{}}command(l,d,E,M){if("register"==E)return void this.register(l,M[0]);if("create"==E)return void this.create(l,d,M[0]||{});const O=this._getPlayer(l);switch(E){case"play":O.play();break;case"pause":O.pause();break;case"reset":O.reset();break;case"restart":O.restart();break;case"finish":O.finish();break;case"init":O.init();break;case"setPosition":O.setPosition(parseFloat(M[0]));break;case"destroy":this.destroy(l)}}}const mi="ng-animate-queued",ss="ng-animate-disabled",Dr=[],St={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},yi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},er="__ng_removed";class Zs{get params(){return this.options.params}constructor(l,d=""){this.namespaceId=d;const E=l&&l.hasOwnProperty("value");if(this.value=function Oi(w){return w??null}(E?l.value:l),E){const O=re(l);delete O.value,this.options=O}else this.options={};this.options.params||(this.options.params={})}absorbOptions(l){const d=l.params;if(d){const E=this.options.params;Object.keys(d).forEach(M=>{null==E[M]&&(E[M]=d[M])})}}}const Ds="void",Vr=new Zs(Ds);class vi{constructor(l,d,E){this.id=l,this.hostElement=d,this._engine=E,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+l,Bn(d,this._hostClassName)}listen(l,d,E,M){if(!this._triggers.has(d))throw function Xr(w,l){return new T.vHH(3302,!1)}();if(null==E||0==E.length)throw function Ns(w){return new T.vHH(3303,!1)}();if(!function dr(w){return"start"==w||"done"==w}(E))throw function Sr(w,l){return new T.vHH(3400,!1)}();const O=mn(this._elementListeners,l,[]),$={name:d,phase:E,callback:M};O.push($);const G=mn(this._engine.statesByElement,l,new Map);return G.has(d)||(Bn(l,Zn),Bn(l,Zn+"-"+d),G.set(d,Vr)),()=>{this._engine.afterFlush(()=>{const ne=O.indexOf($);ne>=0&&O.splice(ne,1),this._triggers.has(d)||G.delete(d)})}}register(l,d){return!this._triggers.has(l)&&(this._triggers.set(l,d),!0)}_getTrigger(l){const d=this._triggers.get(l);if(!d)throw function ps(w){return new T.vHH(3401,!1)}();return d}trigger(l,d,E,M=!0){const O=this._getTrigger(d),$=new _i(this.id,d,l);let G=this._engine.statesByElement.get(l);G||(Bn(l,Zn),Bn(l,Zn+"-"+d),this._engine.statesByElement.set(l,G=new Map));let ne=G.get(d);const de=new Zs(E,this.id);if(!(E&&E.hasOwnProperty("value"))&&ne&&de.absorbOptions(ne.options),G.set(d,de),ne||(ne=Vr),de.value!==Ds&&ne.value===de.value){if(!function So(w,l){const d=Object.keys(w),E=Object.keys(l);if(d.length!=E.length)return!1;for(let M=0;M<d.length;M++){const O=d[M];if(!l.hasOwnProperty(O)||w[O]!==l[O])return!1}return!0}(ne.params,de.params)){const v=[],b=O.matchStyles(ne.value,ne.params,v),x=O.matchStyles(de.value,de.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{nt(l,b),Ve(l,x)})}return}const Et=mn(this._engine.playersByElement,l,[]);Et.forEach(v=>{v.namespaceId==this.id&&v.triggerName==d&&v.queued&&v.destroy()});let f=O.matchTransition(ne.value,de.value,l,de.params),I=!1;if(!f){if(!M)return;f=O.fallbackTransition,I=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:d,transition:f,fromState:ne,toState:de,player:$,isFallbackTransition:I}),I||(Bn(l,mi),$.onStart(()=>{Hn(l,mi)})),$.onDone(()=>{let v=this.players.indexOf($);v>=0&&this.players.splice(v,1);const b=this._engine.playersByElement.get(l);if(b){let x=b.indexOf($);x>=0&&b.splice(x,1)}}),this.players.push($),Et.push($),$}deregister(l){this._triggers.delete(l),this._engine.statesByElement.forEach(d=>d.delete(l)),this._elementListeners.forEach((d,E)=>{this._elementListeners.set(E,d.filter(M=>M.name!=l))})}clearElementCache(l){this._engine.statesByElement.delete(l),this._elementListeners.delete(l);const d=this._engine.playersByElement.get(l);d&&(d.forEach(E=>E.destroy()),this._engine.playersByElement.delete(l))}_signalRemovalForInnerTriggers(l,d){const E=this._engine.driver.query(l,Xn,!0);E.forEach(M=>{if(M[er])return;const O=this._engine.fetchNamespacesByElement(M);O.size?O.forEach($=>$.triggerLeaveAnimation(M,d,!1,!0)):this.clearElementCache(M)}),this._engine.afterFlushAnimationsDone(()=>E.forEach(M=>this.clearElementCache(M)))}triggerLeaveAnimation(l,d,E,M){const O=this._engine.statesByElement.get(l),$=new Map;if(O){const G=[];if(O.forEach((ne,de)=>{if($.set(de,ne.value),this._triggers.has(de)){const Ue=this.trigger(l,de,Ds,M);Ue&&G.push(Ue)}}),G.length)return this._engine.markElementAsRemoved(this.id,l,!0,d,$),E&&Wt(G).onDone(()=>this._engine.processLeaveNode(l)),!0}return!1}prepareLeaveAnimationListeners(l){const d=this._elementListeners.get(l),E=this._engine.statesByElement.get(l);if(d&&E){const M=new Set;d.forEach(O=>{const $=O.name;if(M.has($))return;M.add($);const ne=this._triggers.get($).fallbackTransition,de=E.get($)||Vr,Ue=new Zs(Ds),ke=new _i(this.id,$,l);this._engine.totalQueuedPlayers++,this._queue.push({element:l,triggerName:$,transition:ne,fromState:de,toState:Ue,player:ke,isFallbackTransition:!0})})}}removeNode(l,d){const E=this._engine;if(l.childElementCount&&this._signalRemovalForInnerTriggers(l,d),this.triggerLeaveAnimation(l,d,!0))return;let M=!1;if(E.totalAnimations){const O=E.players.length?E.playersByQueriedElement.get(l):[];if(O&&O.length)M=!0;else{let $=l;for(;$=$.parentNode;)if(E.statesByElement.get($)){M=!0;break}}}if(this.prepareLeaveAnimationListeners(l),M)E.markElementAsRemoved(this.id,l,!1,d);else{const O=l[er];(!O||O===St)&&(E.afterFlush(()=>this.clearElementCache(l)),E.destroyInnerAnimations(l),E._onRemovalComplete(l,d))}}insertNode(l,d){Bn(l,this._hostClassName)}drainQueuedTransitions(l){const d=[];return this._queue.forEach(E=>{const M=E.player;if(M.destroyed)return;const O=E.element,$=this._elementListeners.get(O);$&&$.forEach(G=>{if(G.name==E.triggerName){const ne=Jr(O,E.triggerName,E.fromState.value,E.toState.value);ne._data=l,An(E.player,G.phase,ne,G.callback)}}),M.markedForDestroy?this._engine.afterFlush(()=>{M.destroy()}):d.push(E)}),this._queue=[],d.sort((E,M)=>{const O=E.transition.ast.depCount,$=M.transition.ast.depCount;return 0==O||0==$?O-$:this._engine.driver.containsElement(E.element,M.element)?1:-1})}destroy(l){this.players.forEach(d=>d.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,l)}}class Xi{_onRemovalComplete(l,d){this.onRemovalComplete(l,d)}constructor(l,d,E){this.bodyNode=l,this.driver=d,this._normalizer=E,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(M,O)=>{}}get queuedPlayers(){const l=[];return this._namespaceList.forEach(d=>{d.players.forEach(E=>{E.queued&&l.push(E)})}),l}createNamespace(l,d){const E=new vi(l,d,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,d)?this._balanceNamespaceList(E,d):(this.newHostElements.set(d,E),this.collectEnterElement(d)),this._namespaceLookup[l]=E}_balanceNamespaceList(l,d){const E=this._namespaceList,M=this.namespacesByHostElement;if(E.length-1>=0){let $=!1,G=this.driver.getParentElement(d);for(;G;){const ne=M.get(G);if(ne){const de=E.indexOf(ne);E.splice(de+1,0,l),$=!0;break}G=this.driver.getParentElement(G)}$||E.unshift(l)}else E.push(l);return M.set(d,l),l}register(l,d){let E=this._namespaceLookup[l];return E||(E=this.createNamespace(l,d)),E}registerTrigger(l,d,E){let M=this._namespaceLookup[l];M&&M.register(d,E)&&this.totalAnimations++}destroy(l,d){l&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const E=this._fetchNamespace(l);this.namespacesByHostElement.delete(E.hostElement);const M=this._namespaceList.indexOf(E);M>=0&&this._namespaceList.splice(M,1),E.destroy(d),delete this._namespaceLookup[l]}))}_fetchNamespace(l){return this._namespaceLookup[l]}fetchNamespacesByElement(l){const d=new Set,E=this.statesByElement.get(l);if(E)for(let M of E.values())if(M.namespaceId){const O=this._fetchNamespace(M.namespaceId);O&&d.add(O)}return d}trigger(l,d,E,M){if(Ni(d)){const O=this._fetchNamespace(l);if(O)return O.trigger(d,E,M),!0}return!1}insertNode(l,d,E,M){if(!Ni(d))return;const O=d[er];if(O&&O.setForRemoval){O.setForRemoval=!1,O.setForMove=!0;const $=this.collectedLeaveElements.indexOf(d);$>=0&&this.collectedLeaveElements.splice($,1)}if(l){const $=this._fetchNamespace(l);$&&$.insertNode(d,E)}M&&this.collectEnterElement(d)}collectEnterElement(l){this.collectedEnterElements.push(l)}markElementAsDisabled(l,d){d?this.disabledNodes.has(l)||(this.disabledNodes.add(l),Bn(l,ss)):this.disabledNodes.has(l)&&(this.disabledNodes.delete(l),Hn(l,ss))}removeNode(l,d,E){if(Ni(d)){const M=l?this._fetchNamespace(l):null;M?M.removeNode(d,E):this.markElementAsRemoved(l,d,!1,E);const O=this.namespacesByHostElement.get(d);O&&O.id!==l&&O.removeNode(d,E)}else this._onRemovalComplete(d,E)}markElementAsRemoved(l,d,E,M,O){this.collectedLeaveElements.push(d),d[er]={namespaceId:l,setForRemoval:M,hasAnimation:E,removedBeforeQueried:!1,previousTriggersValues:O}}listen(l,d,E,M,O){return Ni(d)?this._fetchNamespace(l).listen(d,E,M,O):()=>{}}_buildInstruction(l,d,E,M,O){return l.transition.build(this.driver,l.element,l.fromState.value,l.toState.value,E,M,l.fromState.options,l.toState.options,d,O)}destroyInnerAnimations(l){let d=this.driver.query(l,Xn,!0);d.forEach(E=>this.destroyActiveAnimationsForElement(E)),0!=this.playersByQueriedElement.size&&(d=this.driver.query(l,Kt,!0),d.forEach(E=>this.finishActiveQueriedAnimationOnElement(E)))}destroyActiveAnimationsForElement(l){const d=this.playersByElement.get(l);d&&d.forEach(E=>{E.queued?E.markedForDestroy=!0:E.destroy()})}finishActiveQueriedAnimationOnElement(l){const d=this.playersByQueriedElement.get(l);d&&d.forEach(E=>E.finish())}whenRenderingDone(){return new Promise(l=>{if(this.players.length)return Wt(this.players).onDone(()=>l());l()})}processLeaveNode(l){const d=l[er];if(d&&d.setForRemoval){if(l[er]=St,d.namespaceId){this.destroyInnerAnimations(l);const E=this._fetchNamespace(d.namespaceId);E&&E.clearElementCache(l)}this._onRemovalComplete(l,d.setForRemoval)}l.classList?.contains(ss)&&this.markElementAsDisabled(l,!1),this.driver.query(l,".ng-animate-disabled",!0).forEach(E=>{this.markElementAsDisabled(E,!1)})}flush(l=-1){let d=[];if(this.newHostElements.size&&(this.newHostElements.forEach((E,M)=>this._balanceNamespaceList(E,M)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let E=0;E<this.collectedEnterElements.length;E++)Bn(this.collectedEnterElements[E],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const E=[];try{d=this._flushAnimations(E,l)}finally{for(let M=0;M<E.length;M++)E[M]()}}else for(let E=0;E<this.collectedLeaveElements.length;E++)this.processLeaveNode(this.collectedLeaveElements[E]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(E=>E()),this._flushFns=[],this._whenQuietFns.length){const E=this._whenQuietFns;this._whenQuietFns=[],d.length?Wt(d).onDone(()=>{E.forEach(M=>M())}):E.forEach(M=>M())}}reportError(l){throw function ot(w){return new T.vHH(3402,!1)}()}_flushAnimations(l,d){const E=new _n,M=[],O=new Map,$=[],G=new Map,ne=new Map,de=new Map,Ue=new Set;this.disabledNodes.forEach(Be=>{Ue.add(Be);const He=this.driver.query(Be,".ng-animate-queued",!0);for(let We=0;We<He.length;We++)Ue.add(He[We])});const ke=this.bodyNode,Et=Array.from(this.statesByElement.keys()),f=ks(Et,this.collectedEnterElements),I=new Map;let v=0;f.forEach((Be,He)=>{const We=yn+v++;I.set(He,We),Be.forEach(Tt=>Bn(Tt,We))});const b=[],x=new Set,q=new Set;for(let Be=0;Be<this.collectedLeaveElements.length;Be++){const He=this.collectedLeaveElements[Be],We=He[er];We&&We.setForRemoval&&(b.push(He),x.add(He),We.hasAnimation?this.driver.query(He,".ng-star-inserted",!0).forEach(Tt=>x.add(Tt)):q.add(He))}const he=new Map,Le=ks(Et,Array.from(x));Le.forEach((Be,He)=>{const We=vn+v++;he.set(He,We),Be.forEach(Tt=>Bn(Tt,We))}),l.push(()=>{f.forEach((Be,He)=>{const We=I.get(He);Be.forEach(Tt=>Hn(Tt,We))}),Le.forEach((Be,He)=>{const We=he.get(He);Be.forEach(Tt=>Hn(Tt,We))}),b.forEach(Be=>{this.processLeaveNode(Be)})});const Ot=[],pt=[];for(let Be=this._namespaceList.length-1;Be>=0;Be--)this._namespaceList[Be].drainQueuedTransitions(d).forEach(We=>{const Tt=We.player,In=We.element;if(Ot.push(Tt),this.collectedEnterElements.length){const $n=In[er];if($n&&$n.setForMove){if($n.previousTriggersValues&&$n.previousTriggersValues.has(We.triggerName)){const zn=$n.previousTriggersValues.get(We.triggerName),hr=this.statesByElement.get(We.element);if(hr&&hr.has(We.triggerName)){const Gn=hr.get(We.triggerName);Gn.value=zn,hr.set(We.triggerName,Gn)}}return void Tt.destroy()}}const Gr=!ke||!this.driver.containsElement(ke,In),fr=he.get(In),Wr=I.get(In),tn=this._buildInstruction(We,E,Wr,fr,Gr);if(tn.errors&&tn.errors.length)return void pt.push(tn);if(Gr)return Tt.onStart(()=>nt(In,tn.fromStyles)),Tt.onDestroy(()=>Ve(In,tn.toStyles)),void M.push(Tt);if(We.isFallbackTransition)return Tt.onStart(()=>nt(In,tn.fromStyles)),Tt.onDestroy(()=>Ve(In,tn.toStyles)),void M.push(Tt);const ti=[];tn.timelines.forEach($n=>{$n.stretchStartingKeyframe=!0,this.disabledNodes.has($n.element)||ti.push($n)}),tn.timelines=ti,E.append(In,tn.timelines),$.push({instruction:tn,player:Tt,element:In}),tn.queriedElements.forEach($n=>mn(G,$n,[]).push(Tt)),tn.preStyleProps.forEach(($n,zn)=>{if($n.size){let hr=ne.get(zn);hr||ne.set(zn,hr=new Set),$n.forEach((Gn,Bt)=>hr.add(Bt))}}),tn.postStyleProps.forEach(($n,zn)=>{let hr=de.get(zn);hr||de.set(zn,hr=new Set),$n.forEach((Gn,Bt)=>hr.add(Bt))})});if(pt.length){const Be=[];pt.forEach(He=>{Be.push(function Rs(w,l){return new T.vHH(3505,!1)}())}),Ot.forEach(He=>He.destroy()),this.reportError(Be)}const st=new Map,it=new Map;$.forEach(Be=>{const He=Be.element;E.has(He)&&(it.set(He,He),this._beforeAnimationBuild(Be.player.namespaceId,Be.instruction,st))}),M.forEach(Be=>{const He=Be.element;this._getPreviousPlayers(He,!1,Be.namespaceId,Be.triggerName,null).forEach(Tt=>{mn(st,He,[]).push(Tt),Tt.destroy()})});const kt=b.filter(Be=>Ri(Be,ne,de)),Mt=new Map;Ei(Mt,this.driver,q,de,P.l3).forEach(Be=>{Ri(Be,ne,de)&&kt.push(Be)});const xn=new Map;f.forEach((Be,He)=>{Ei(xn,this.driver,new Set(Be),ne,P.k1)}),kt.forEach(Be=>{const He=Mt.get(Be),We=xn.get(Be);Mt.set(Be,new Map([...He?.entries()??[],...We?.entries()??[]]))});const Vn=[],us=[],lr={};$.forEach(Be=>{const{element:He,player:We,instruction:Tt}=Be;if(E.has(He)){if(Ue.has(He))return We.onDestroy(()=>Ve(He,Tt.toStyles)),We.disabled=!0,We.overrideTotalTime(Tt.totalTime),void M.push(We);let In=lr;if(it.size>1){let fr=He;const Wr=[];for(;fr=fr.parentNode;){const tn=it.get(fr);if(tn){In=tn;break}Wr.push(fr)}Wr.forEach(tn=>it.set(tn,In))}const Gr=this._buildAnimation(We.namespaceId,Tt,st,O,xn,Mt);if(We.setRealPlayer(Gr),In===lr)Vn.push(We);else{const fr=this.playersByElement.get(In);fr&&fr.length&&(We.parentPlayer=Wt(fr)),M.push(We)}}else nt(He,Tt.fromStyles),We.onDestroy(()=>Ve(He,Tt.toStyles)),us.push(We),Ue.has(He)&&M.push(We)}),us.forEach(Be=>{const He=O.get(Be.element);if(He&&He.length){const We=Wt(He);Be.setRealPlayer(We)}}),M.forEach(Be=>{Be.parentPlayer?Be.syncPlayerEvents(Be.parentPlayer):Be.destroy()});for(let Be=0;Be<b.length;Be++){const He=b[Be],We=He[er];if(Hn(He,vn),We&&We.hasAnimation)continue;let Tt=[];if(G.size){let Gr=G.get(He);Gr&&Gr.length&&Tt.push(...Gr);let fr=this.driver.query(He,Kt,!0);for(let Wr=0;Wr<fr.length;Wr++){let tn=G.get(fr[Wr]);tn&&tn.length&&Tt.push(...tn)}}const In=Tt.filter(Gr=>!Gr.destroyed);In.length?qi(this,He,In):this.processLeaveNode(He)}return b.length=0,Vn.forEach(Be=>{this.players.push(Be),Be.onDone(()=>{Be.destroy();const He=this.players.indexOf(Be);this.players.splice(He,1)}),Be.play()}),Vn}afterFlush(l){this._flushFns.push(l)}afterFlushAnimationsDone(l){this._whenQuietFns.push(l)}_getPreviousPlayers(l,d,E,M,O){let $=[];if(d){const G=this.playersByQueriedElement.get(l);G&&($=G)}else{const G=this.playersByElement.get(l);if(G){const ne=!O||O==Ds;G.forEach(de=>{de.queued||!ne&&de.triggerName!=M||$.push(de)})}}return(E||M)&&($=$.filter(G=>!(E&&E!=G.namespaceId||M&&M!=G.triggerName))),$}_beforeAnimationBuild(l,d,E){const O=d.element,$=d.isRemovalTransition?void 0:l,G=d.isRemovalTransition?void 0:d.triggerName;for(const ne of d.timelines){const de=ne.element,Ue=de!==O,ke=mn(E,de,[]);this._getPreviousPlayers(de,Ue,$,G,d.toState).forEach(f=>{const I=f.getRealPlayer();I.beforeDestroy&&I.beforeDestroy(),f.destroy(),ke.push(f)})}nt(O,d.fromStyles)}_buildAnimation(l,d,E,M,O,$){const G=d.triggerName,ne=d.element,de=[],Ue=new Set,ke=new Set,Et=d.timelines.map(I=>{const v=I.element;Ue.add(v);const b=v[er];if(b&&b.removedBeforeQueried)return new P.ZN(I.duration,I.delay);const x=v!==ne,q=function Cs(w){const l=[];return Io(w,l),l}((E.get(v)||Dr).map(st=>st.getRealPlayer())).filter(st=>!!st.element&&st.element===v),he=O.get(v),Le=$.get(v),Ot=Ur(this._normalizer,I.keyframes,he,Le),pt=this._buildPlayer(I,Ot,q);if(I.subTimeline&&M&&ke.add(v),x){const st=new _i(l,G,v);st.setRealPlayer(pt),de.push(st)}return pt});de.forEach(I=>{mn(this.playersByQueriedElement,I.element,[]).push(I),I.onDone(()=>function wo(w,l,d){let E=w.get(l);if(E){if(E.length){const M=E.indexOf(d);E.splice(M,1)}0==E.length&&w.delete(l)}return E}(this.playersByQueriedElement,I.element,I))}),Ue.forEach(I=>Bn(I,Jn));const f=Wt(Et);return f.onDestroy(()=>{Ue.forEach(I=>Hn(I,Jn)),Ve(ne,d.toStyles)}),ke.forEach(I=>{mn(M,I,[]).push(f)}),f}_buildPlayer(l,d,E){return d.length>0?this.driver.animate(l.element,d,l.duration,l.delay,l.easing,E):new P.ZN(l.duration,l.delay)}}class _i{constructor(l,d,E){this.namespaceId=l,this.triggerName=d,this.element=E,this._player=new P.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(l){this._containsRealPlayer||(this._player=l,this._queuedCallbacks.forEach((d,E)=>{d.forEach(M=>An(l,E,void 0,M))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(l.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(l){this.totalTime=l}syncPlayerEvents(l){const d=this._player;d.triggerCallback&&l.onStart(()=>d.triggerCallback("start")),l.onDone(()=>this.finish()),l.onDestroy(()=>this.destroy())}_queueEvent(l,d){mn(this._queuedCallbacks,l,[]).push(d)}onDone(l){this.queued&&this._queueEvent("done",l),this._player.onDone(l)}onStart(l){this.queued&&this._queueEvent("start",l),this._player.onStart(l)}onDestroy(l){this.queued&&this._queueEvent("destroy",l),this._player.onDestroy(l)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(l){this.queued||this._player.setPosition(l)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(l){const d=this._player;d.triggerCallback&&d.triggerCallback(l)}}function Ni(w){return w&&1===w.nodeType}function Ji(w,l){const d=w.style.display;return w.style.display=l??"none",d}function Ei(w,l,d,E,M){const O=[];d.forEach(ne=>O.push(Ji(ne)));const $=[];E.forEach((ne,de)=>{const Ue=new Map;ne.forEach(ke=>{const Et=l.computeStyle(de,ke,M);Ue.set(ke,Et),(!Et||0==Et.length)&&(de[er]=yi,$.push(de))}),w.set(de,Ue)});let G=0;return d.forEach(ne=>Ji(ne,O[G++])),$}function ks(w,l){const d=new Map;if(w.forEach(G=>d.set(G,[])),0==l.length)return d;const M=new Set(l),O=new Map;function $(G){if(!G)return 1;let ne=O.get(G);if(ne)return ne;const de=G.parentNode;return ne=d.has(de)?de:M.has(de)?1:$(de),O.set(G,ne),ne}return l.forEach(G=>{const ne=$(G);1!==ne&&d.get(ne).push(G)}),d}function Bn(w,l){w.classList?.add(l)}function Hn(w,l){w.classList?.remove(l)}function qi(w,l,d){Wt(d).onDone(()=>w.processLeaveNode(l))}function Io(w,l){for(let d=0;d<w.length;d++){const E=w[d];E instanceof P.ZE?Io(E.players,l):l.push(E)}}function Ri(w,l,d){const E=d.get(w);if(!E)return!1;let M=l.get(w);return M?E.forEach(O=>M.add(O)):l.set(w,E),d.delete(w),!0}class is{constructor(l,d,E){this._driver=d,this._normalizer=E,this._triggerCache={},this.onRemovalComplete=(M,O)=>{},this._transitionEngine=new Xi(l.body,d,E),this._timelineEngine=new Fs(l.body,d,E),this._transitionEngine.onRemovalComplete=(M,O)=>this.onRemovalComplete(M,O)}registerTrigger(l,d,E,M,O){const $=l+"-"+M;let G=this._triggerCache[$];if(!G){const ne=[],Ue=xe(this._driver,O,ne,[]);if(ne.length)throw function Ut(w,l){return new T.vHH(3404,!1)}();G=function wn(w,l,d){return new Ys(w,l,d)}(M,Ue,this._normalizer),this._triggerCache[$]=G}this._transitionEngine.registerTrigger(d,M,G)}register(l,d){this._transitionEngine.register(l,d)}destroy(l,d){this._transitionEngine.destroy(l,d)}onInsert(l,d,E,M){this._transitionEngine.insertNode(l,d,E,M)}onRemove(l,d,E){this._transitionEngine.removeNode(l,d,E)}disableAnimations(l,d){this._transitionEngine.markElementAsDisabled(l,d)}process(l,d,E,M){if("@"==E.charAt(0)){const[O,$]=Sn(E);this._timelineEngine.command(O,d,$,M)}else this._transitionEngine.trigger(l,d,E,M)}listen(l,d,E,M,O){if("@"==E.charAt(0)){const[$,G]=Sn(E);return this._timelineEngine.listen($,d,G,O)}return this._transitionEngine.listen(l,d,E,M,O)}flush(l=-1){this._transitionEngine.flush(l)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(l){this._transitionEngine.afterFlushAnimationsDone(l)}}let Mo=(()=>{class w{static#e=this.initialStylesByElement=new WeakMap;constructor(d,E,M){this._element=d,this._startStyles=E,this._endStyles=M,this._state=0;let O=w.initialStylesByElement.get(d);O||w.initialStylesByElement.set(d,O=new Map),this._initialStyles=O}start(){this._state<1&&(this._startStyles&&Ve(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ve(this._element,this._initialStyles),this._endStyles&&(Ve(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(w.initialStylesByElement.delete(this._element),this._startStyles&&(nt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(nt(this._element,this._endStyles),this._endStyles=null),Ve(this._element,this._initialStyles),this._state=3)}}return w})();function Js(w){let l=null;return w.forEach((d,E)=>{(function os(w){return"display"===w||"position"===w})(E)&&(l=l||new Map,l.set(E,d))}),l}class as{constructor(l,d,E,M){this.element=l,this.keyframes=d,this.options=E,this._specialStyles=M,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=E.duration,this._delay=E.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(l=>l()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:new Map;const d=()=>this._onFinish();this.domPlayer.addEventListener("finish",d),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",d)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(l){const d=[];return l.forEach(E=>{d.push(Object.fromEntries(E))}),d}_triggerWebAnimation(l,d,E){return l.animate(this._convertKeyframesToObject(d),E)}onStart(l){this._originalOnStartFns.push(l),this._onStartFns.push(l)}onDone(l){this._originalOnDoneFns.push(l),this._onDoneFns.push(l)}onDestroy(l){this._onDestroyFns.push(l)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(l=>l()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(l=>l()),this._onDestroyFns=[])}setPosition(l){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=l*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const l=new Map;this.hasStarted()&&this._finalKeyframe.forEach((E,M)=>{"offset"!==M&&l.set(M,this._finished?E:rn(this.element,M))}),this.currentSnapshot=l}triggerCallback(l){const d="start"===l?this._onStartFns:this._onDoneFns;d.forEach(E=>E()),d.length=0}}class Di{validateStyleProperty(l){return!0}validateAnimatableStyleProperty(l){return!0}matchesElement(l,d){return!1}containsElement(l,d){return un(l,d)}getParentElement(l){return Jt(l)}query(l,d,E){return mr(l,d,E)}computeStyle(l,d,E){return window.getComputedStyle(l)[d]}animate(l,d,E,M,O,$=[]){const ne={duration:E,delay:M,fill:0==M?"both":"forwards"};O&&(ne.easing=O);const de=new Map,Ue=$.filter(f=>f instanceof as);(function fi(w,l){return 0===w||0===l})(E,M)&&Ue.forEach(f=>{f.currentSnapshot.forEach((I,v)=>de.set(v,I))});let ke=function K(w){return w.length?w[0]instanceof Map?w:w.map(l=>L(l)):[]}(d).map(f=>Ne(f));ke=function ms(w,l,d){if(d.size&&l.length){let E=l[0],M=[];if(d.forEach((O,$)=>{E.has($)||M.push($),E.set($,O)}),M.length)for(let O=1;O<l.length;O++){let $=l[O];M.forEach(G=>$.set(G,rn(w,G)))}}return l}(l,ke,de);const Et=function Xs(w,l){let d=null,E=null;return Array.isArray(l)&&l.length?(d=Js(l[0]),l.length>1&&(E=Js(l[l.length-1]))):l instanceof Map&&(d=Js(l)),d||E?new Mo(w,d,E):null}(l,ke);return new as(l,ke,ne,Et)}}const Nr="@.disabled";class Tn{constructor(l,d,E,M){this.namespaceId=l,this.delegate=d,this.engine=E,this._onDestroy=M,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(l){this.delegate.destroyNode?.(l)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(l,d){return this.delegate.createElement(l,d)}createComment(l){return this.delegate.createComment(l)}createText(l){return this.delegate.createText(l)}appendChild(l,d){this.delegate.appendChild(l,d),this.engine.onInsert(this.namespaceId,d,l,!1)}insertBefore(l,d,E,M=!0){this.delegate.insertBefore(l,d,E),this.engine.onInsert(this.namespaceId,d,l,M)}removeChild(l,d,E){this.engine.onRemove(this.namespaceId,d,this.delegate)}selectRootElement(l,d){return this.delegate.selectRootElement(l,d)}parentNode(l){return this.delegate.parentNode(l)}nextSibling(l){return this.delegate.nextSibling(l)}setAttribute(l,d,E,M){this.delegate.setAttribute(l,d,E,M)}removeAttribute(l,d,E){this.delegate.removeAttribute(l,d,E)}addClass(l,d){this.delegate.addClass(l,d)}removeClass(l,d){this.delegate.removeClass(l,d)}setStyle(l,d,E,M){this.delegate.setStyle(l,d,E,M)}removeStyle(l,d,E){this.delegate.removeStyle(l,d,E)}setProperty(l,d,E){"@"==d.charAt(0)&&d==Nr?this.disableAnimations(l,!!E):this.delegate.setProperty(l,d,E)}setValue(l,d){this.delegate.setValue(l,d)}listen(l,d,E){return this.delegate.listen(l,d,E)}disableAnimations(l,d){this.engine.disableAnimations(l,d)}}class eo extends Tn{constructor(l,d,E,M,O){super(d,E,M,O),this.factory=l,this.namespaceId=d}setProperty(l,d,E){"@"==d.charAt(0)?"."==d.charAt(1)&&d==Nr?this.disableAnimations(l,E=void 0===E||!!E):this.engine.process(this.namespaceId,l,d.slice(1),E):this.delegate.setProperty(l,d,E)}listen(l,d,E){if("@"==d.charAt(0)){const M=function to(w){switch(w){case"body":return document.body;case"document":return document;case"window":return window;default:return w}}(l);let O=d.slice(1),$="";return"@"!=O.charAt(0)&&([O,$]=function $t(w){const l=w.indexOf(".");return[w.substring(0,l),w.slice(l+1)]}(O)),this.engine.listen(this.namespaceId,M,O,$,G=>{this.factory.scheduleListenerCallback(G._data||-1,E,G)})}return this.delegate.listen(l,d,E)}}class To{constructor(l,d,E){this.delegate=l,this.engine=d,this._zone=E,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,d.onRemovalComplete=(M,O)=>{const $=O?.parentNode(M);$&&O.removeChild($,M)}}createRenderer(l,d){const M=this.delegate.createRenderer(l,d);if(!l||!d?.data?.animation){const de=this._rendererCache;let Ue=de.get(M);return Ue||(Ue=new Tn("",M,this.engine,()=>de.delete(M)),de.set(M,Ue)),Ue}const O=d.id,$=d.id+"-"+this._currentId;this._currentId++,this.engine.register($,l);const G=de=>{Array.isArray(de)?de.forEach(G):this.engine.registerTrigger(O,$,l,de.name,de)};return d.data.animation.forEach(G),new eo(this,$,M,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(l,d,E){if(l>=0&&l<this._microtaskId)return void this._zone.run(()=>d(E));const M=this._animationCallbacksBuffer;0==M.length&&queueMicrotask(()=>{this._zone.run(()=>{M.forEach(O=>{const[$,G]=O;$(G)}),this._animationCallbacksBuffer=[]})}),M.push([d,E])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}const Je=[{provide:Mn,useFactory:function ln(){return new hi}},{provide:is,useClass:(()=>{class w extends is{constructor(d,E,M,O){super(d,E,M)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(E){return new(E||w)(T.LFG(F.K0),T.LFG(Oe),T.LFG(Mn),T.LFG(T.z2F))};static#t=this.\u0275prov=T.Yz7({token:w,factory:w.\u0275fac})}return w})()},{provide:T.FYo,useFactory:function Ie(w,l,d){return new To(w,l,d)},deps:[m.se,is,T.R0b]}],Ft=[{provide:Oe,useFactory:()=>new Di},{provide:T.QbO,useValue:"BrowserAnimations"},...Je];var On=p(553);let bs=(()=>{class w{constructor(d){this.document=d,this.handlers=[]}getRoutePath(d){return`${d.pathFromRoot.map(M=>M.url.join("/")).join("/")}?${new URLSearchParams(d.queryParams).toString()}`}getHandler(d){const E=this.getRoutePath(d);return this.handlers.find(O=>O.path===E)||null}shouldDetach(d){const E=this.getRoutePath(d);return!!(d.data&&d.data.reuseRoute&&"boolean"==typeof d.data.reuseRoute&&E&&-1===E.indexOf(this.document.location.pathname))&&d.data.reuseRoute}store(d,E){const M=this.getRoutePath(d);if(M){this.handlers=[];const O=typeof window<"u"?window.pageYOffset:0;this.handlers.unshift({path:M,handle:E,scroll:O})}}shouldAttach(d){return!!this.getHandler(d)}retrieve(d){const E=this.getHandler(d);return E?(E.scroll>0&&typeof window<"u"&&setTimeout(()=>window.scrollTo({top:E.scroll}),100),E.handle):null}shouldReuseRoute(d,E){return d.routeConfig===E.routeConfig}static#e=this.\u0275fac=function(E){return new(E||w)(T.LFG(F.K0))};static#t=this.\u0275prov=T.Yz7({token:w,factory:w.\u0275fac})}return w})();var at=p(9818),ls=p(7088),cs=p(1884),ws=p(9489),Zt=p(7812),Pr=p(5544),ar=p(5583),$r=p(4801),ei=p(8241),Ci=p(4860),zr=p(7085),js=p(506);let Is=(()=>{class w{preload(d,E){return d&&d.data&&d.data.preload?E():js.E}static#e=this.\u0275fac=function(E){return new(E||w)};static#t=this.\u0275prov=T.Yz7({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();(0,F.qS)(zr.Z,zr.Z[0]);const rt={providers:[(0,Ci.h_)((0,Ci.yn)()),(0,Q.bU)(R,(0,Q.aF)(Is)),(0,m.ly)(),function Rr(){return[...Ft]}(),{provide:T.soG,useValue:N.MV},{provide:"ENVIRONMENT",useValue:On.xC},{provide:Q.wN,useClass:bs},at.N,ls.K,cs._,ws.X,Zt.d,Pr.Y,ar.b,$r.M,ei.y]};var bi=p(4001),no=p(1670);const Pi=["container"];function br(w,l){}let wi=(()=>{class w{constructor(d,E){this.router=d,this.changeDetectorRef=E,this.routeProgress=!1,this.timeToShowProgress=null,this.routerSubscription=null}ngOnInit(){this.routerSubscription=this.router.events.subscribe(d=>this.routerChanage(d))}routerChanage(d){d instanceof Q.OD&&this.setDisplayProgress(!0),(d instanceof Q.m2||d instanceof Q.gk)&&this.setDisplayProgress(!1)}ngOnDestroy(){this.clearTimeout(),this.routerSubscription?.unsubscribe()}clearTimeout(){this.timeToShowProgress&&clearTimeout(this.timeToShowProgress)}setDisplayProgress(d){var E=this;return(0,no.Z)(function*(){if(E.routeProgress=d,E.container&&(E.container.clear(),E.clearTimeout(),d)){const{RouteProgressComponent:M}=yield Promise.all([p.e(3910),p.e(1797)]).then(p.bind(p,1797));E.timeToShowProgress=setTimeout(()=>{E.routeProgress&&(E.container.createComponent(M),E.changeDetectorRef.detectChanges())},N.xc)}E.changeDetectorRef.detectChanges()})()}static#e=this.\u0275fac=function(E){return new(E||w)(T.Y36(Q.F0),T.Y36(T.sBO))};static#t=this.\u0275cmp=T.Xpm({type:w,selectors:[["app-route-progress"]],viewQuery:function(E,M){if(1&E&&T.Gf(Pi,5,T.s_b),2&E){let O;T.iGM(O=T.CRH())&&(M.container=O.first)}},standalone:!0,features:[T.jDz],decls:2,vars:0,consts:[["container",""]],template:function(E,M){1&E&&T.YNc(0,br,0,0,"ng-template",null,0,T.W1O)},dependencies:[F.ez],changeDetection:0})}return w})();(0,m.Cg)((()=>{class w{constructor(d,E,M,O){this.document=E,this.scriptService=M,this.routerHistoryService=O,this.isBrowser=!1,this.isBrowser=(0,F.NF)(d),this.routerHistoryService.startRecording(),(0,F.PM)(d)&&console.log(`page ${this.document.location.href}`)}ngAfterViewInit(){this.isBrowser&&typeof window<"u"&&!(0,bi.Z)(navigator.userAgent)&&this.installGPT()}installServiceWorker(){window.navigator.serviceWorker.register("/service-worker.js")}installGPT(){this.scriptService.loadScript("gpt").subscribe(d=>{d&&(this.installGTM(),this.installServiceWorker())})}installGTM(){!function(d,E,M,O,$){d[O]=d[O]||[],d[O].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});const G=E.getElementsByTagName(M)[0],ne=E.createElement(M);ne.async=!0,ne.src="https://www.googletagmanager.com/gtm.js?id="+$,G.parentNode.insertBefore(ne,G)}(window,document,"script","dataLayer",N.m8)}static#e=this.\u0275fac=function(E){return new(E||w)(T.Y36(T.Lbi),T.Y36(F.K0),T.Y36(Pr.Y),T.Y36(ws.X))};static#t=this.\u0275cmp=T.Xpm({type:w,selectors:[["app-root"]],standalone:!0,features:[T.jDz],decls:2,vars:0,template:function(E,M){1&E&&T._UZ(0,"router-outlet")(1,"app-route-progress")},dependencies:[F.ez,Q.Bz,Q.lC,wi],styles:["@keyframes default-fade-in{0%{opacity:0}to{opacity:1}}img[appIcon]{filter:invert(19%) sepia(12%) saturate(0%) hue-rotate(241deg) brightness(80%) contrast(98%)}.marketplace .text-theme-120{color:#eb8900}.marketplace .icon-theme-120{filter:invert(68%) sepia(45%) saturate(4922%) hue-rotate(3deg) brightness(93%) contrast(106%)}.inmo .text-theme-120{color:#7dbe2d}.inmo .icon-theme-120{filter:invert(69%) sepia(32%) saturate(961%) hue-rotate(43deg) brightness(93%) contrast(83%)}.jobs .text-theme-120{color:#3bb0b0}.jobs .icon-theme-120{filter:invert(63%) sepia(8%) saturate(2628%) hue-rotate(131deg) brightness(93%) contrast(95%)}.cars .text-theme-120{color:#2d5ebe}.cars .icon-theme-120{filter:invert(26%) sepia(90%) saturate(1196%) hue-rotate(201deg) brightness(98%) contrast(90%)}.yapo .text-theme-120{color:#2d81be}.yapo .icon-theme-120{filter:invert(44%) sepia(85%) saturate(486%) hue-rotate(163deg) brightness(86%) contrast(84%)}input::placeholder,textarea::placeholder{color:#000!important;opacity:.5!important}.brid-banner-anyad{background-color:#fff}.brid-close-banner,.brid-any-ad .brid-onad{transform:translateY(-7rem)}.yp-btn{font-size:.875rem;font-weight:400;padding:.5rem 1rem;background-color:#ececf4;border-radius:1000rem;text-decoration:none;color:#292929;display:flex;align-items:center;border:none;cursor:pointer;justify-content:center}.yp-btn *{pointer-events:none}.yp-btn:hover{background-color:#f0f0f0}.yp-btn-secondary{background-color:#fff;border:2px solid #ffb347}.yp-btn-primary{background-color:#ffb347;border:2px solid #ffb347}.yp-btn-primary:hover{background-color:#eb8900;border-color:#eb8900}.yp-btn-primary:disabled,.yp-btn-primary[disabled],.yp-btn-primary.disabled{background-color:#ffd599;border-color:#ffd599;color:#757575}.yp-btn-light{background-color:#ececf4;border:2px solid #ececf4}.yp-btn:disabled,.yp-btn[disabled],.yp-btn.disabled{cursor:default;box-shadow:none;color:#757575}.yp-btn:disabled img[appIcon],.yp-btn[disabled] img[appIcon],.yp-btn.disabled img[appIcon]{filter:invert(52%) sepia(14%) saturate(0%) hue-rotate(206deg) brightness(84%) contrast(83%)}.yp-btn-icon{display:flex;align-items:center;justify-content:center;padding:0;border-radius:1000rem;border:none;width:2rem;min-width:2rem;height:2rem;cursor:pointer;background-color:#fff}.yp-btn-icon:hover{background-color:#f0f0f0}.yp-btn-icon.disabled{cursor:default}.yp-btn-icon.disabled:hover{background-color:#fff}.mat-mdc-select-panel,.mat-mdc-menu-panel.yapo-panel{box-shadow:0 .25rem 1rem #00000029!important;border-radius:.75rem!important;background-color:#fff!important;max-width:100vw!important}.yapo-form-field.mat-mdc-form-field-appearance-outline .mat-mdc-form-field-outline-end{border-radius:0 1rem 1rem 0}.yapo-form-field.mat-mdc-form-field-appearance-outline .mat-mdc-form-field-outline-start{border-radius:1rem 0 0 1rem;width:1rem!important}.yapo-form-field.mat-mdc-form-field-appearance-outline .mat-mdc-form-field-flex{padding:0 1.25rem!important}.yp-link{font-size:.875rem;text-decoration:none;color:#2d81be;cursor:pointer;align-items:center;justify-content:center;border-radius:.5rem;display:inline-flex}.yp-link-btn{border:none;display:flex;align-items:center;justify-content:center}.yp-link .icon{filter:invert(47%) sepia(35%) saturate(976%) hue-rotate(162deg) brightness(89%) contrast(92%)}.yp-link:hover{text-decoration:underline}.yp-link.yp-link-btn:hover{text-decoration:none;background-color:#f0f0f0}.mdc-dialog__surface{border-radius:1rem!important}.grecaptcha-badge{display:none!important}\n"],encapsulation:2})}return w})(),rt).catch(w=>console.error(w))},2454:function(Me,ee,p){var m;Me.exports=(m=m||function(T,Q){var V;if(typeof window<"u"&&window.crypto&&(V=window.crypto),typeof self<"u"&&self.crypto&&(V=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(V=globalThis.crypto),!V&&typeof window<"u"&&window.msCrypto&&(V=window.msCrypto),!V&&typeof global<"u"&&global.crypto&&(V=global.crypto),!V)try{V=p(2480)}catch{}var Y=function(){if(V){if("function"==typeof V.getRandomValues)try{return V.getRandomValues(new Uint32Array(1))[0]}catch{}if("function"==typeof V.randomBytes)try{return V.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},F=Object.create||function(){function fe(){}return function(be){var Ke;return fe.prototype=be,Ke=new fe,fe.prototype=null,Ke}}(),B={},U=B.lib={},j=U.Base={extend:function(fe){var be=F(this);return fe&&be.mixIn(fe),(!be.hasOwnProperty("init")||this.init===be.init)&&(be.init=function(){be.$super.init.apply(this,arguments)}),be.init.prototype=be,be.$super=this,be},create:function(){var fe=this.extend();return fe.init.apply(fe,arguments),fe},init:function(){},mixIn:function(fe){for(var be in fe)fe.hasOwnProperty(be)&&(this[be]=fe[be]);fe.hasOwnProperty("toString")&&(this.toString=fe.toString)},clone:function(){return this.init.prototype.extend(this)}},N=U.WordArray=j.extend({init:function(fe,be){fe=this.words=fe||[],this.sigBytes=null!=be?be:4*fe.length},toString:function(fe){return(fe||P).stringify(this)},concat:function(fe){var be=this.words,Ke=fe.words,Ye=this.sigBytes,et=fe.sigBytes;if(this.clamp(),Ye%4)for(var Ze=0;Ze<et;Ze++)be[Ye+Ze>>>2]|=(Ke[Ze>>>2]>>>24-Ze%4*8&255)<<24-(Ye+Ze)%4*8;else for(var ze=0;ze<et;ze+=4)be[Ye+ze>>>2]=Ke[ze>>>2];return this.sigBytes+=et,this},clamp:function(){var fe=this.words,be=this.sigBytes;fe[be>>>2]&=4294967295<<32-be%4*8,fe.length=T.ceil(be/4)},clone:function(){var fe=j.clone.call(this);return fe.words=this.words.slice(0),fe},random:function(fe){for(var be=[],Ke=0;Ke<fe;Ke+=4)be.push(Y());return new N.init(be,fe)}}),R=B.enc={},P=R.Hex={stringify:function(fe){for(var be=fe.words,Ke=fe.sigBytes,Ye=[],et=0;et<Ke;et++){var Ze=be[et>>>2]>>>24-et%4*8&255;Ye.push((Ze>>>4).toString(16)),Ye.push((15&Ze).toString(16))}return Ye.join("")},parse:function(fe){for(var be=fe.length,Ke=[],Ye=0;Ye<be;Ye+=2)Ke[Ye>>>3]|=parseInt(fe.substr(Ye,2),16)<<24-Ye%8*4;return new N.init(Ke,be/2)}},Z=R.Latin1={stringify:function(fe){for(var be=fe.words,Ke=fe.sigBytes,Ye=[],et=0;et<Ke;et++)Ye.push(String.fromCharCode(be[et>>>2]>>>24-et%4*8&255));return Ye.join("")},parse:function(fe){for(var be=fe.length,Ke=[],Ye=0;Ye<be;Ye++)Ke[Ye>>>2]|=(255&fe.charCodeAt(Ye))<<24-Ye%4*8;return new N.init(Ke,be)}},oe=R.Utf8={stringify:function(fe){try{return decodeURIComponent(escape(Z.stringify(fe)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(fe){return Z.parse(unescape(encodeURIComponent(fe)))}},pe=U.BufferedBlockAlgorithm=j.extend({reset:function(){this._data=new N.init,this._nDataBytes=0},_append:function(fe){"string"==typeof fe&&(fe=oe.parse(fe)),this._data.concat(fe),this._nDataBytes+=fe.sigBytes},_process:function(fe){var be,Ke=this._data,Ye=Ke.words,et=Ke.sigBytes,Ze=this.blockSize,ze=et/(4*Ze),we=(ze=fe?T.ceil(ze):T.max((0|ze)-this._minBufferSize,0))*Ze,le=T.min(4*we,et);if(we){for(var Fe=0;Fe<we;Fe+=Ze)this._doProcessBlock(Ye,Fe);be=Ye.splice(0,we),Ke.sigBytes-=le}return new N.init(be,le)},clone:function(){var fe=j.clone.call(this);return fe._data=this._data.clone(),fe},_minBufferSize:0}),me=(U.Hasher=pe.extend({cfg:j.extend(),init:function(fe){this.cfg=this.cfg.extend(fe),this.reset()},reset:function(){pe.reset.call(this),this._doReset()},update:function(fe){return this._append(fe),this._process(),this},finalize:function(fe){return fe&&this._append(fe),this._doFinalize()},blockSize:16,_createHelper:function(fe){return function(be,Ke){return new fe.init(Ke).finalize(be)}},_createHmacHelper:function(fe){return function(be,Ke){return new me.HMAC.init(fe,Ke).finalize(be)}}}),B.algo={});return B}(Math),m)},8529:function(Me,ee,p){var T,Q,V,Y,B,U,m;Me.exports=(m=p(2454),V=(Q=(T=m).lib).WordArray,B=[],U=T.algo.SHA1=(Y=Q.Hasher).extend({_doReset:function(){this._hash=new V.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(j,N){for(var R=this._hash.words,P=R[0],Z=R[1],oe=R[2],pe=R[3],ye=R[4],me=0;me<80;me++){if(me<16)B[me]=0|j[N+me];else{var fe=B[me-3]^B[me-8]^B[me-14]^B[me-16];B[me]=fe<<1|fe>>>31}var be=(P<<5|P>>>27)+ye+B[me];be+=me<20?1518500249+(Z&oe|~Z&pe):me<40?1859775393+(Z^oe^pe):me<60?(Z&oe|Z&pe|oe&pe)-1894007588:(Z^oe^pe)-899497514,ye=pe,pe=oe,oe=Z<<30|Z>>>2,Z=P,P=be}R[0]=R[0]+P|0,R[1]=R[1]+Z|0,R[2]=R[2]+oe|0,R[3]=R[3]+pe|0,R[4]=R[4]+ye|0},_doFinalize:function(){var j=this._data,N=j.words,R=8*this._nDataBytes,P=8*j.sigBytes;return N[P>>>5]|=128<<24-P%32,N[14+(P+64>>>9<<4)]=Math.floor(R/4294967296),N[15+(P+64>>>9<<4)]=R,j.sigBytes=4*N.length,this._process(),this._hash},clone:function(){var j=Y.clone.call(this);return j._hash=this._hash.clone(),j}}),T.SHA1=Y._createHelper(U),T.HmacSHA1=Y._createHmacHelper(U),m.SHA1)},462:(Me,ee,p)=>{"use strict";p.d(ee,{X:()=>Q});var m=p(2484),T=p(6950);class Q extends m.xQ{constructor(Y){super(),this._value=Y}get value(){return this.getValue()}_subscribe(Y){const F=super._subscribe(Y);return F&&!F.closed&&Y.next(this._value),F}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new T.N;return this._value}next(Y){super.next(this._value=Y)}}},2330:(Me,ee,p)=>{"use strict";p.d(ee,{y:()=>j});var m=p(5142),Q=p(1999),V=p(6195),F=p(5129),B=p(7734),U=p(7329);let j=(()=>{class R{constructor(Z){this._isScalar=!1,Z&&(this._subscribe=Z)}lift(Z){const oe=new R;return oe.source=this,oe.operator=Z,oe}subscribe(Z,oe,pe){const{operator:ye}=this,me=function Y(R,P,Z){if(R){if(R instanceof m.L)return R;if(R[Q.b])return R[Q.b]()}return R||P||Z?new m.L(R,P,Z):new m.L(V.c)}(Z,oe,pe);if(me.add(ye?ye.call(me,this.source):this.source||U.config.useDeprecatedSynchronousErrorHandling&&!me.syncErrorThrowable?this._subscribe(me):this._trySubscribe(me)),U.config.useDeprecatedSynchronousErrorHandling&&me.syncErrorThrowable&&(me.syncErrorThrowable=!1,me.syncErrorThrown))throw me.syncErrorValue;return me}_trySubscribe(Z){try{return this._subscribe(Z)}catch(oe){U.config.useDeprecatedSynchronousErrorHandling&&(Z.syncErrorThrown=!0,Z.syncErrorValue=oe),function T(R){for(;R;){const{closed:P,destination:Z,isStopped:oe}=R;if(P||oe)return!1;R=Z&&Z instanceof m.L?Z:null}return!0}(Z)?Z.error(oe):console.warn(oe)}}forEach(Z,oe){return new(oe=N(oe))((pe,ye)=>{let me;me=this.subscribe(fe=>{try{Z(fe)}catch(be){ye(be),me&&me.unsubscribe()}},ye,pe)})}_subscribe(Z){const{source:oe}=this;return oe&&oe.subscribe(Z)}[F.L](){return this}pipe(...Z){return 0===Z.length?this:(0,B.U)(Z)(this)}toPromise(Z){return new(Z=N(Z))((oe,pe)=>{let ye;this.subscribe(me=>ye=me,me=>pe(me),()=>oe(ye))})}}return R.create=P=>new R(P),R})();function N(R){if(R||(R=U.config.Promise||Promise),!R)throw new Error("no Promise impl found");return R}},6195:(Me,ee,p)=>{"use strict";p.d(ee,{c:()=>Q});var m=p(7329),T=p(8722);const Q={closed:!0,next(V){},error(V){if(m.config.useDeprecatedSynchronousErrorHandling)throw V;(0,T.z)(V)},complete(){}}},2484:(Me,ee,p)=>{"use strict";p.d(ee,{Yc:()=>B,xQ:()=>U});var m=p(2330),T=p(5142),Q=p(4646),V=p(6950),Y=p(1460),F=p(1999);class B extends T.L{constructor(R){super(R),this.destination=R}}let U=(()=>{class N extends m.y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[F.b](){return new B(this)}lift(P){const Z=new j(this,this);return Z.operator=P,Z}next(P){if(this.closed)throw new V.N;if(!this.isStopped){const{observers:Z}=this,oe=Z.length,pe=Z.slice();for(let ye=0;ye<oe;ye++)pe[ye].next(P)}}error(P){if(this.closed)throw new V.N;this.hasError=!0,this.thrownError=P,this.isStopped=!0;const{observers:Z}=this,oe=Z.length,pe=Z.slice();for(let ye=0;ye<oe;ye++)pe[ye].error(P);this.observers.length=0}complete(){if(this.closed)throw new V.N;this.isStopped=!0;const{observers:P}=this,Z=P.length,oe=P.slice();for(let pe=0;pe<Z;pe++)oe[pe].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(P){if(this.closed)throw new V.N;return super._trySubscribe(P)}_subscribe(P){if(this.closed)throw new V.N;return this.hasError?(P.error(this.thrownError),Q.w.EMPTY):this.isStopped?(P.complete(),Q.w.EMPTY):(this.observers.push(P),new Y.W(this,P))}asObservable(){const P=new m.y;return P.source=this,P}}return N.create=(R,P)=>new j(R,P),N})();class j extends U{constructor(R,P){super(),this.destination=R,this.source=P}next(R){const{destination:P}=this;P&&P.next&&P.next(R)}error(R){const{destination:P}=this;P&&P.error&&this.destination.error(R)}complete(){const{destination:R}=this;R&&R.complete&&this.destination.complete()}_subscribe(R){const{source:P}=this;return P?this.source.subscribe(R):Q.w.EMPTY}}},1460:(Me,ee,p)=>{"use strict";p.d(ee,{W:()=>T});var m=p(4646);class T extends m.w{constructor(V,Y){super(),this.subject=V,this.subscriber=Y,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const V=this.subject,Y=V.observers;if(this.subject=null,!Y||0===Y.length||V.isStopped||V.closed)return;const F=Y.indexOf(this.subscriber);-1!==F&&Y.splice(F,1)}}},5142:(Me,ee,p)=>{"use strict";p.d(ee,{L:()=>B});var m=p(5251),T=p(6195),Q=p(4646),V=p(1999),Y=p(7329),F=p(8722);class B extends Q.w{constructor(N,R,P){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=T.c;break;case 1:if(!N){this.destination=T.c;break}if("object"==typeof N){N instanceof B?(this.syncErrorThrowable=N.syncErrorThrowable,this.destination=N,N.add(this)):(this.syncErrorThrowable=!0,this.destination=new U(this,N));break}default:this.syncErrorThrowable=!0,this.destination=new U(this,N,R,P)}}[V.b](){return this}static create(N,R,P){const Z=new B(N,R,P);return Z.syncErrorThrowable=!1,Z}next(N){this.isStopped||this._next(N)}error(N){this.isStopped||(this.isStopped=!0,this._error(N))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(N){this.destination.next(N)}_error(N){this.destination.error(N),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:N}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=N,this}}class U extends B{constructor(N,R,P,Z){super(),this._parentSubscriber=N;let oe,pe=this;(0,m.m)(R)?oe=R:R&&(oe=R.next,P=R.error,Z=R.complete,R!==T.c&&(pe=Object.create(R),(0,m.m)(pe.unsubscribe)&&this.add(pe.unsubscribe.bind(pe)),pe.unsubscribe=this.unsubscribe.bind(this))),this._context=pe,this._next=oe,this._error=P,this._complete=Z}next(N){if(!this.isStopped&&this._next){const{_parentSubscriber:R}=this;Y.config.useDeprecatedSynchronousErrorHandling&&R.syncErrorThrowable?this.__tryOrSetError(R,this._next,N)&&this.unsubscribe():this.__tryOrUnsub(this._next,N)}}error(N){if(!this.isStopped){const{_parentSubscriber:R}=this,{useDeprecatedSynchronousErrorHandling:P}=Y.config;if(this._error)P&&R.syncErrorThrowable?(this.__tryOrSetError(R,this._error,N),this.unsubscribe()):(this.__tryOrUnsub(this._error,N),this.unsubscribe());else if(R.syncErrorThrowable)P?(R.syncErrorValue=N,R.syncErrorThrown=!0):(0,F.z)(N),this.unsubscribe();else{if(this.unsubscribe(),P)throw N;(0,F.z)(N)}}}complete(){if(!this.isStopped){const{_parentSubscriber:N}=this;if(this._complete){const R=()=>this._complete.call(this._context);Y.config.useDeprecatedSynchronousErrorHandling&&N.syncErrorThrowable?(this.__tryOrSetError(N,R),this.unsubscribe()):(this.__tryOrUnsub(R),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(N,R){try{N.call(this._context,R)}catch(P){if(this.unsubscribe(),Y.config.useDeprecatedSynchronousErrorHandling)throw P;(0,F.z)(P)}}__tryOrSetError(N,R,P){if(!Y.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{R.call(this._context,P)}catch(Z){return Y.config.useDeprecatedSynchronousErrorHandling?(N.syncErrorValue=Z,N.syncErrorThrown=!0,!0):((0,F.z)(Z),!0)}return!1}_unsubscribe(){const{_parentSubscriber:N}=this;this._context=null,this._parentSubscriber=null,N.unsubscribe()}}},4646:(Me,ee,p)=>{"use strict";p.d(ee,{w:()=>F});var m=p(7264),T=p(7560),Q=p(5251);const Y=(()=>{function U(j){return Error.call(this),this.message=j?`${j.length} errors occurred during unsubscription:\n${j.map((N,R)=>`${R+1}) ${N.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=j,this}return U.prototype=Object.create(Error.prototype),U})();class F{constructor(j){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,j&&(this._ctorUnsubscribe=!0,this._unsubscribe=j)}unsubscribe(){let j;if(this.closed)return;let{_parentOrParents:N,_ctorUnsubscribe:R,_unsubscribe:P,_subscriptions:Z}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,N instanceof F)N.remove(this);else if(null!==N)for(let oe=0;oe<N.length;++oe)N[oe].remove(this);if((0,Q.m)(P)){R&&(this._unsubscribe=void 0);try{P.call(this)}catch(oe){j=oe instanceof Y?B(oe.errors):[oe]}}if((0,m.k)(Z)){let oe=-1,pe=Z.length;for(;++oe<pe;){const ye=Z[oe];if((0,T.K)(ye))try{ye.unsubscribe()}catch(me){j=j||[],me instanceof Y?j=j.concat(B(me.errors)):j.push(me)}}}if(j)throw new Y(j)}add(j){let N=j;if(!j)return F.EMPTY;switch(typeof j){case"function":N=new F(j);case"object":if(N===this||N.closed||"function"!=typeof N.unsubscribe)return N;if(this.closed)return N.unsubscribe(),N;if(!(N instanceof F)){const Z=N;N=new F,N._subscriptions=[Z]}break;default:throw new Error("unrecognized teardown "+j+" added to Subscription.")}let{_parentOrParents:R}=N;if(null===R)N._parentOrParents=this;else if(R instanceof F){if(R===this)return N;N._parentOrParents=[R,this]}else{if(-1!==R.indexOf(this))return N;R.push(this)}const P=this._subscriptions;return null===P?this._subscriptions=[N]:P.push(N),N}remove(j){const N=this._subscriptions;if(N){const R=N.indexOf(j);-1!==R&&N.splice(R,1)}}}var U;function B(U){return U.reduce((j,N)=>j.concat(N instanceof Y?N.errors:N),[])}F.EMPTY=((U=new F).closed=!0,U)},7329:(Me,ee,p)=>{"use strict";p.d(ee,{config:()=>T});let m=!1;const T={Promise:void 0,set useDeprecatedSynchronousErrorHandling(Q){if(Q){const V=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+V.stack)}else m&&console.log("RxJS: Back to a better error behavior. Thank you. <3");m=Q},get useDeprecatedSynchronousErrorHandling(){return m}}},6241:(Me,ee,p)=>{"use strict";p.d(ee,{Ds:()=>F,IY:()=>V,ft:()=>U});var m=p(5142),T=p(2330),Q=p(8314);class V extends m.L{constructor(N){super(),this.parent=N}_next(N){this.parent.notifyNext(N)}_error(N){this.parent.notifyError(N),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class F extends m.L{notifyNext(N){this.destination.next(N)}notifyError(N){this.destination.error(N)}notifyComplete(){this.destination.complete()}}function U(j,N){if(N.closed)return;if(j instanceof T.y)return j.subscribe(N);let R;try{R=(0,Q.s)(j)(N)}catch(P){N.error(P)}return R}},9148:(Me,ee,p)=>{"use strict";p.d(ee,{N:()=>F,c:()=>Y});var m=p(2484),T=p(2330),Q=p(4646),V=p(6159);class Y extends T.y{constructor(R,P){super(),this.source=R,this.subjectFactory=P,this._refCount=0,this._isComplete=!1}_subscribe(R){return this.getSubject().subscribe(R)}getSubject(){const R=this._subject;return(!R||R.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let R=this._connection;return R||(this._isComplete=!1,R=this._connection=new Q.w,R.add(this.source.subscribe(new B(this.getSubject(),this))),R.closed&&(this._connection=null,R=Q.w.EMPTY)),R}refCount(){return(0,V.x)()(this)}}const F=(()=>{const N=Y.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:N._subscribe},_isComplete:{value:N._isComplete,writable:!0},getSubject:{value:N.getSubject},connect:{value:N.connect},refCount:{value:N.refCount}}})();class B extends m.Yc{constructor(R,P){super(R),this.connectable=P}_error(R){this._unsubscribe(),super._error(R)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const R=this.connectable;if(R){this.connectable=null;const P=R._connection;R._refCount=0,R._subject=null,R._connection=null,P&&P.unsubscribe()}}}},8159:(Me,ee,p)=>{"use strict";p.d(ee,{aj:()=>R});var m=p(9054),T=p(7264),Q=p(5142);class V extends Q.L{notifyNext(pe,ye,me,fe,be){this.destination.next(ye)}notifyError(pe,ye){this.destination.error(pe)}notifyComplete(pe){this.destination.complete()}}class Y extends Q.L{constructor(pe,ye,me){super(),this.parent=pe,this.outerValue=ye,this.outerIndex=me,this.index=0}_next(pe){this.parent.notifyNext(this.outerValue,pe,this.outerIndex,this.index++,this)}_error(pe){this.parent.notifyError(pe,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var F=p(8314),B=p(2330);function U(oe,pe,ye,me,fe=new Y(oe,ye,me)){if(!fe.closed)return pe instanceof B.y?pe.subscribe(fe):(0,F.s)(pe)(fe)}var j=p(1155);const N={};function R(...oe){let pe,ye;return(0,m.K)(oe[oe.length-1])&&(ye=oe.pop()),"function"==typeof oe[oe.length-1]&&(pe=oe.pop()),1===oe.length&&(0,T.k)(oe[0])&&(oe=oe[0]),(0,j.n)(oe,ye).lift(new P(pe))}class P{constructor(pe){this.resultSelector=pe}call(pe,ye){return ye.subscribe(new Z(pe,this.resultSelector))}}class Z extends V{constructor(pe,ye){super(pe),this.resultSelector=ye,this.active=0,this.values=[],this.observables=[]}_next(pe){this.values.push(N),this.observables.push(pe)}_complete(){const pe=this.observables,ye=pe.length;if(0===ye)this.destination.complete();else{this.active=ye,this.toRespond=ye;for(let me=0;me<ye;me++)this.add(U(this,pe[me],void 0,me))}}notifyComplete(pe){0==(this.active-=1)&&this.destination.complete()}notifyNext(pe,ye,me){const fe=this.values,Ke=this.toRespond?fe[me]===N?--this.toRespond:this.toRespond:0;fe[me]=ye,0===Ke&&(this.resultSelector?this._tryResultSelector(fe):this.destination.next(fe.slice()))}_tryResultSelector(pe){let ye;try{ye=this.resultSelector.apply(this,pe)}catch(me){return void this.destination.error(me)}this.destination.next(ye)}}},2413:(Me,ee,p)=>{"use strict";p.d(ee,{z:()=>V});var m=p(9681),T=p(2600);function V(...Y){return function Q(){return(0,T.J)(1)}()((0,m.of)(...Y))}},9531:(Me,ee,p)=>{"use strict";p.d(ee,{P:()=>V});var m=p(2330),T=p(4603),Q=p(506);function V(Y){return new m.y(F=>{let B;try{B=Y()}catch(j){return void F.error(j)}return(B?(0,T.D)(B):(0,Q.c)()).subscribe(F)})}},506:(Me,ee,p)=>{"use strict";p.d(ee,{E:()=>T,c:()=>Q});var m=p(2330);const T=new m.y(Y=>Y.complete());function Q(Y){return Y?function V(Y){return new m.y(F=>Y.schedule(()=>F.complete()))}(Y):T}},4603:(Me,ee,p)=>{"use strict";p.d(ee,{D:()=>pe});var m=p(2330),T=p(8314),Q=p(4646),V=p(5129),B=p(8577),U=p(6603),R=p(8290),P=p(4361);function pe(ye,me){return me?function oe(ye,me){if(null!=ye){if(function N(ye){return ye&&"function"==typeof ye[V.L]}(ye))return function Y(ye,me){return new m.y(fe=>{const be=new Q.w;return be.add(me.schedule(()=>{const Ke=ye[V.L]();be.add(Ke.subscribe({next(Ye){be.add(me.schedule(()=>fe.next(Ye)))},error(Ye){be.add(me.schedule(()=>fe.error(Ye)))},complete(){be.add(me.schedule(()=>fe.complete()))}}))})),be})}(ye,me);if((0,R.t)(ye))return function F(ye,me){return new m.y(fe=>{const be=new Q.w;return be.add(me.schedule(()=>ye.then(Ke=>{be.add(me.schedule(()=>{fe.next(Ke),be.add(me.schedule(()=>fe.complete()))}))},Ke=>{be.add(me.schedule(()=>fe.error(Ke)))}))),be})}(ye,me);if((0,P.z)(ye))return(0,B.r)(ye,me);if(function Z(ye){return ye&&"function"==typeof ye[U.hZ]}(ye)||"string"==typeof ye)return function j(ye,me){if(!ye)throw new Error("Iterable cannot be null");return new m.y(fe=>{const be=new Q.w;let Ke;return be.add(()=>{Ke&&"function"==typeof Ke.return&&Ke.return()}),be.add(me.schedule(()=>{Ke=ye[U.hZ](),be.add(me.schedule(function(){if(fe.closed)return;let Ye,et;try{const Ze=Ke.next();Ye=Ze.value,et=Ze.done}catch(Ze){return void fe.error(Ze)}et?fe.complete():(fe.next(Ye),this.schedule())}))})),be})}(ye,me)}throw new TypeError((null!==ye&&typeof ye||ye)+" is not observable")}(ye,me):ye instanceof m.y?ye:new m.y((0,T.s)(ye))}},1155:(Me,ee,p)=>{"use strict";p.d(ee,{n:()=>V});var m=p(2330),T=p(4491),Q=p(8577);function V(Y,F){return F?(0,Q.r)(Y,F):new m.y((0,T.V)(Y))}},9718:(Me,ee,p)=>{"use strict";p.d(ee,{T:()=>Y});var m=p(2330),T=p(9054),Q=p(2600),V=p(1155);function Y(...F){let B=Number.POSITIVE_INFINITY,U=null,j=F[F.length-1];return(0,T.K)(j)?(U=F.pop(),F.length>1&&"number"==typeof F[F.length-1]&&(B=F.pop())):"number"==typeof j&&(B=F.pop()),null===U&&1===F.length&&F[0]instanceof m.y?F[0]:(0,Q.J)(B)((0,V.n)(F,U))}},9681:(Me,ee,p)=>{"use strict";p.d(ee,{of:()=>V});var m=p(9054),T=p(1155),Q=p(8577);function V(...Y){let F=Y[Y.length-1];return(0,m.K)(F)?(Y.pop(),(0,Q.r)(Y,F)):(0,T.n)(Y)}},3994:(Me,ee,p)=>{"use strict";p.d(ee,{_:()=>T});var m=p(2330);function T(V,Y){return new m.y(Y?F=>Y.schedule(Q,0,{error:V,subscriber:F}):F=>F.error(V))}function Q({error:V,subscriber:Y}){Y.error(V)}},8175:(Me,ee,p)=>{"use strict";p.d(ee,{K:()=>T});var m=p(6241);function T(Y){return function(B){const U=new Q(Y),j=B.lift(U);return U.caught=j}}class Q{constructor(F){this.selector=F}call(F,B){return B.subscribe(new V(F,this.selector,this.caught))}}class V extends m.Ds{constructor(F,B,U){super(F),this.selector=B,this.caught=U}error(F){if(!this.isStopped){let B;try{B=this.selector(F,this.caught)}catch(N){return void super.error(N)}this._unsubscribeAndRecycle();const U=new m.IY(this);this.add(U);const j=(0,m.ft)(B,U);j!==U&&this.add(j)}}}},7293:(Me,ee,p)=>{"use strict";p.d(ee,{b:()=>T});var m=p(7965);function T(Q,V){return(0,m.zg)(Q,V,1)}},2345:(Me,ee,p)=>{"use strict";p.d(ee,{d:()=>T});var m=p(5142);function T(Y=null){return F=>F.lift(new Q(Y))}class Q{constructor(F){this.defaultValue=F}call(F,B){return B.subscribe(new V(F,this.defaultValue))}}class V extends m.L{constructor(F,B){super(F),this.defaultValue=B,this.isEmpty=!0}_next(F){this.isEmpty=!1,this.destination.next(F)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}},5083:(Me,ee,p)=>{"use strict";p.d(ee,{x:()=>T});var m=p(5142);function T(Y,F){return B=>B.lift(new Q(Y,F))}class Q{constructor(F,B){this.compare=F,this.keySelector=B}call(F,B){return B.subscribe(new V(F,this.compare,this.keySelector))}}class V extends m.L{constructor(F,B,U){super(F),this.keySelector=U,this.hasKey=!1,"function"==typeof B&&(this.compare=B)}compare(F,B){return F===B}_next(F){let B;try{const{keySelector:j}=this;B=j?j(F):F}catch(j){return this.destination.error(j)}let U=!1;if(this.hasKey)try{const{compare:j}=this;U=j(this.key,B)}catch(j){return this.destination.error(j)}else this.hasKey=!0;U||(this.key=B,this.destination.next(F))}}},5046:(Me,ee,p)=>{"use strict";p.d(ee,{h:()=>T});var m=p(5142);function T(Y,F){return function(U){return U.lift(new Q(Y,F))}}class Q{constructor(F,B){this.predicate=F,this.thisArg=B}call(F,B){return B.subscribe(new V(F,this.predicate,this.thisArg))}}class V extends m.L{constructor(F,B,U){super(F),this.predicate=B,this.thisArg=U,this.count=0}_next(F){let B;try{B=this.predicate.call(this.thisArg,F,this.count++)}catch(U){return void this.destination.error(U)}B&&this.destination.next(F)}}},786:(Me,ee,p)=>{"use strict";p.d(ee,{x:()=>Q});var m=p(5142),T=p(4646);function Q(F){return B=>B.lift(new V(F))}class V{constructor(B){this.callback=B}call(B,U){return U.subscribe(new Y(B,this.callback))}}class Y extends m.L{constructor(B,U){super(B),this.add(new T.w(U))}}},7627:(Me,ee,p)=>{"use strict";p.d(ee,{P:()=>B});var m=p(1742),T=p(5046),Q=p(6939),V=p(2345),Y=p(1620),F=p(6361);function B(U,j){const N=arguments.length>=2;return R=>R.pipe(U?(0,T.h)((P,Z)=>U(P,Z,R)):F.y,(0,Q.q)(1),N?(0,V.d)(j):(0,Y.T)(()=>new m.K))}},7422:(Me,ee,p)=>{"use strict";p.d(ee,{U:()=>T});var m=p(5142);function T(Y,F){return function(U){if("function"!=typeof Y)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return U.lift(new Q(Y,F))}}class Q{constructor(F,B){this.project=F,this.thisArg=B}call(F,B){return B.subscribe(new V(F,this.project,this.thisArg))}}class V extends m.L{constructor(F,B,U){super(F),this.project=B,this.count=0,this.thisArg=U||this}_next(F){let B;try{B=this.project.call(this.thisArg,F,this.count++)}catch(U){return void this.destination.error(U)}this.destination.next(B)}}},2600:(Me,ee,p)=>{"use strict";p.d(ee,{J:()=>Q});var m=p(7965),T=p(6361);function Q(V=Number.POSITIVE_INFINITY){return(0,m.zg)(T.y,V)}},7965:(Me,ee,p)=>{"use strict";p.d(ee,{zg:()=>V});var m=p(7422),T=p(4603),Q=p(6241);function V(U,j,N=Number.POSITIVE_INFINITY){return"function"==typeof j?R=>R.pipe(V((P,Z)=>(0,T.D)(U(P,Z)).pipe((0,m.U)((oe,pe)=>j(P,oe,Z,pe))),N)):("number"==typeof j&&(N=j),R=>R.lift(new Y(U,N)))}class Y{constructor(j,N=Number.POSITIVE_INFINITY){this.project=j,this.concurrent=N}call(j,N){return N.subscribe(new F(j,this.project,this.concurrent))}}class F extends Q.Ds{constructor(j,N,R=Number.POSITIVE_INFINITY){super(j),this.project=N,this.concurrent=R,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(j){this.active<this.concurrent?this._tryNext(j):this.buffer.push(j)}_tryNext(j){let N;const R=this.index++;try{N=this.project(j,R)}catch(P){return void this.destination.error(P)}this.active++,this._innerSub(N)}_innerSub(j){const N=new Q.IY(this),R=this.destination;R.add(N);const P=(0,Q.ft)(j,N);P!==N&&R.add(P)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(j){this.destination.next(j)}notifyComplete(){const j=this.buffer;this.active--,j.length>0?this._next(j.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},6159:(Me,ee,p)=>{"use strict";p.d(ee,{x:()=>T});var m=p(5142);function T(){return function(F){return F.lift(new Q(F))}}class Q{constructor(F){this.connectable=F}call(F,B){const{connectable:U}=this;U._refCount++;const j=new V(F,U),N=B.subscribe(j);return j.closed||(j.connection=U.connect()),N}}class V extends m.L{constructor(F,B){super(F),this.connectable=B}_unsubscribe(){const{connectable:F}=this;if(!F)return void(this.connection=null);this.connectable=null;const B=F._refCount;if(B<=0)return void(this.connection=null);if(F._refCount=B-1,B>1)return void(this.connection=null);const{connection:U}=this,j=F._connection;this.connection=null,j&&(!U||j===U)&&j.unsubscribe()}}},1062:(Me,ee,p)=>{"use strict";p.d(ee,{O:()=>Q});var m=p(2413),T=p(9054);function Q(...V){const Y=V[V.length-1];return(0,T.K)(Y)?(V.pop(),F=>(0,m.z)(V,F,Y)):F=>(0,m.z)(V,F)}},6520:(Me,ee,p)=>{"use strict";p.d(ee,{w:()=>V});var m=p(7422),T=p(4603),Q=p(6241);function V(B,U){return"function"==typeof U?j=>j.pipe(V((N,R)=>(0,T.D)(B(N,R)).pipe((0,m.U)((P,Z)=>U(N,P,R,Z))))):j=>j.lift(new Y(B))}class Y{constructor(U){this.project=U}call(U,j){return j.subscribe(new F(U,this.project))}}class F extends Q.Ds{constructor(U,j){super(U),this.project=j,this.index=0}_next(U){let j;const N=this.index++;try{j=this.project(U,N)}catch(R){return void this.destination.error(R)}this._innerSub(j)}_innerSub(U){const j=this.innerSubscription;j&&j.unsubscribe();const N=new Q.IY(this),R=this.destination;R.add(N),this.innerSubscription=(0,Q.ft)(U,N),this.innerSubscription!==N&&R.add(this.innerSubscription)}_complete(){const{innerSubscription:U}=this;(!U||U.closed)&&super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(U){this.destination.next(U)}}},6939:(Me,ee,p)=>{"use strict";p.d(ee,{q:()=>V});var m=p(5142),T=p(2081),Q=p(506);function V(B){return U=>0===B?(0,Q.c)():U.lift(new Y(B))}class Y{constructor(U){if(this.total=U,this.total<0)throw new T.W}call(U,j){return j.subscribe(new F(U,this.total))}}class F extends m.L{constructor(U,j){super(U),this.total=j,this.count=0}_next(U){const j=this.total,N=++this.count;N<=j&&(this.destination.next(U),N===j&&(this.destination.complete(),this.unsubscribe()))}}},3303:(Me,ee,p)=>{"use strict";p.d(ee,{R:()=>T});var m=p(6241);function T(Y){return F=>F.lift(new Q(Y))}class Q{constructor(F){this.notifier=F}call(F,B){const U=new V(F),j=(0,m.ft)(this.notifier,new m.IY(U));return j&&!U.seenValue?(U.add(j),B.subscribe(U)):U}}class V extends m.Ds{constructor(F){super(F),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},5746:(Me,ee,p)=>{"use strict";p.d(ee,{b:()=>V});var m=p(5142),T=p(5717),Q=p(5251);function V(B,U,j){return function(R){return R.lift(new Y(B,U,j))}}class Y{constructor(U,j,N){this.nextOrObserver=U,this.error=j,this.complete=N}call(U,j){return j.subscribe(new F(U,this.nextOrObserver,this.error,this.complete))}}class F extends m.L{constructor(U,j,N,R){super(U),this._tapNext=T.Z,this._tapError=T.Z,this._tapComplete=T.Z,this._tapError=N||T.Z,this._tapComplete=R||T.Z,(0,Q.m)(j)?(this._context=this,this._tapNext=j):j&&(this._context=j,this._tapNext=j.next||T.Z,this._tapError=j.error||T.Z,this._tapComplete=j.complete||T.Z)}_next(U){try{this._tapNext.call(this._context,U)}catch(j){return void this.destination.error(j)}this.destination.next(U)}_error(U){try{this._tapError.call(this._context,U)}catch(j){return void this.destination.error(j)}this.destination.error(U)}_complete(){try{this._tapComplete.call(this._context)}catch(U){return void this.destination.error(U)}return this.destination.complete()}}},1620:(Me,ee,p)=>{"use strict";p.d(ee,{T:()=>Q});var m=p(1742),T=p(5142);function Q(B=F){return U=>U.lift(new V(B))}class V{constructor(U){this.errorFactory=U}call(U,j){return j.subscribe(new Y(U,this.errorFactory))}}class Y extends T.L{constructor(U,j){super(U),this.errorFactory=j,this.hasValue=!1}_next(U){this.hasValue=!0,this.destination.next(U)}_complete(){if(this.hasValue)return this.destination.complete();{let U;try{U=this.errorFactory()}catch(j){U=j}this.destination.error(U)}}}function F(){return new m.K}},8577:(Me,ee,p)=>{"use strict";p.d(ee,{r:()=>Q});var m=p(2330),T=p(4646);function Q(V,Y){return new m.y(F=>{const B=new T.w;let U=0;return B.add(Y.schedule(function(){U!==V.length?(F.next(V[U++]),F.closed||B.add(this.schedule())):F.complete()})),B})}},6603:(Me,ee,p)=>{"use strict";p.d(ee,{hZ:()=>T});const T=function m(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},5129:(Me,ee,p)=>{"use strict";p.d(ee,{L:()=>m});const m="function"==typeof Symbol&&Symbol.observable||"@@observable"},1999:(Me,ee,p)=>{"use strict";p.d(ee,{b:()=>m});const m="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},2081:(Me,ee,p)=>{"use strict";p.d(ee,{W:()=>T});const T=(()=>{function Q(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return Q.prototype=Object.create(Error.prototype),Q})()},1742:(Me,ee,p)=>{"use strict";p.d(ee,{K:()=>T});const T=(()=>{function Q(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return Q.prototype=Object.create(Error.prototype),Q})()},6950:(Me,ee,p)=>{"use strict";p.d(ee,{N:()=>T});const T=(()=>{function Q(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return Q.prototype=Object.create(Error.prototype),Q})()},8722:(Me,ee,p)=>{"use strict";function m(T){setTimeout(()=>{throw T},0)}p.d(ee,{z:()=>m})},6361:(Me,ee,p)=>{"use strict";function m(T){return T}p.d(ee,{y:()=>m})},7264:(Me,ee,p)=>{"use strict";p.d(ee,{k:()=>m});const m=Array.isArray||(T=>T&&"number"==typeof T.length)},4361:(Me,ee,p)=>{"use strict";p.d(ee,{z:()=>m});const m=T=>T&&"number"==typeof T.length&&"function"!=typeof T},5251:(Me,ee,p)=>{"use strict";function m(T){return"function"==typeof T}p.d(ee,{m:()=>m})},7560:(Me,ee,p)=>{"use strict";function m(T){return null!==T&&"object"==typeof T}p.d(ee,{K:()=>m})},2450:(Me,ee,p)=>{"use strict";p.d(ee,{b:()=>T});var m=p(2330);function T(Q){return!!Q&&(Q instanceof m.y||"function"==typeof Q.lift&&"function"==typeof Q.subscribe)}},8290:(Me,ee,p)=>{"use strict";function m(T){return!!T&&"function"!=typeof T.subscribe&&"function"==typeof T.then}p.d(ee,{t:()=>m})},9054:(Me,ee,p)=>{"use strict";function m(T){return T&&"function"==typeof T.schedule}p.d(ee,{K:()=>m})},5717:(Me,ee,p)=>{"use strict";function m(){}p.d(ee,{Z:()=>m})},7734:(Me,ee,p)=>{"use strict";p.d(ee,{U:()=>Q,z:()=>T});var m=p(6361);function T(...V){return Q(V)}function Q(V){return 0===V.length?m.y:1===V.length?V[0]:function(F){return V.reduce((B,U)=>U(B),F)}}},8314:(Me,ee,p)=>{"use strict";p.d(ee,{s:()=>R});var m=p(4491),T=p(8722),V=p(6603),F=p(5129),U=p(4361),j=p(8290),N=p(7560);const R=P=>{if(P&&"function"==typeof P[F.L])return(P=>Z=>{const oe=P[F.L]();if("function"!=typeof oe.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return oe.subscribe(Z)})(P);if((0,U.z)(P))return(0,m.V)(P);if((0,j.t)(P))return(P=>Z=>(P.then(oe=>{Z.closed||(Z.next(oe),Z.complete())},oe=>Z.error(oe)).then(null,T.z),Z))(P);if(P&&"function"==typeof P[V.hZ])return(P=>Z=>{const oe=P[V.hZ]();for(;;){let pe;try{pe=oe.next()}catch(ye){return Z.error(ye),Z}if(pe.done){Z.complete();break}if(Z.next(pe.value),Z.closed)break}return"function"==typeof oe.return&&Z.add(()=>{oe.return&&oe.return()}),Z})(P);{const oe=`You provided ${(0,N.K)(P)?"an invalid object":`'${P}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(oe)}}},4491:(Me,ee,p)=>{"use strict";p.d(ee,{V:()=>m});const m=T=>Q=>{for(let V=0,Y=T.length;V<Y&&!Q.closed;V++)Q.next(T[V]);Q.complete()}},2480:()=>{},2501:(Me,ee,p)=>{"use strict";p.d(ee,{F4:()=>U,IO:()=>Z,SB:()=>B,X$:()=>T,ZE:()=>Pt,ZN:()=>Ze,eR:()=>j,jt:()=>Q,k1:()=>ze,l3:()=>m,oB:()=>F,pV:()=>R,ru:()=>V,vP:()=>Y});const m="*";function T(we,le){return{type:7,name:we,definitions:le,options:{}}}function Q(we,le=null){return{type:4,styles:le,timings:we}}function V(we,le=null){return{type:3,steps:we,options:le}}function Y(we,le=null){return{type:2,steps:we,options:le}}function F(we){return{type:6,styles:we,offset:null}}function B(we,le,Fe){return{type:0,name:we,styles:le,options:Fe}}function U(we){return{type:5,steps:we}}function j(we,le,Fe=null){return{type:1,expr:we,animation:le,options:Fe}}function R(we=null){return{type:9,options:we}}function Z(we,le,Fe=null){return{type:11,selector:we,animation:le,options:Fe}}class Ze{constructor(le=0,Fe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=le+Fe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(le=>le()),this._onDoneFns=[])}onStart(le){this._originalOnStartFns.push(le),this._onStartFns.push(le)}onDone(le){this._originalOnDoneFns.push(le),this._onDoneFns.push(le)}onDestroy(le){this._onDestroyFns.push(le)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(le=>le()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(le=>le()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(le){this._position=this.totalTime?le*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(le){const Fe="start"==le?this._onStartFns:this._onDoneFns;Fe.forEach(At=>At()),Fe.length=0}}class Pt{constructor(le){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=le;let Fe=0,At=0,qe=0;const gn=this.players.length;0==gn?queueMicrotask(()=>this._onFinish()):this.players.forEach(nn=>{nn.onDone(()=>{++Fe==gn&&this._onFinish()}),nn.onDestroy(()=>{++At==gn&&this._onDestroy()}),nn.onStart(()=>{++qe==gn&&this._onStart()})}),this.totalTime=this.players.reduce((nn,Ce)=>Math.max(nn,Ce.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(le=>le()),this._onDoneFns=[])}init(){this.players.forEach(le=>le.init())}onStart(le){this._onStartFns.push(le)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(le=>le()),this._onStartFns=[])}onDone(le){this._onDoneFns.push(le)}onDestroy(le){this._onDestroyFns.push(le)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(le=>le.play())}pause(){this.players.forEach(le=>le.pause())}restart(){this.players.forEach(le=>le.restart())}finish(){this._onFinish(),this.players.forEach(le=>le.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(le=>le.destroy()),this._onDestroyFns.forEach(le=>le()),this._onDestroyFns=[])}reset(){this.players.forEach(le=>le.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(le){const Fe=le*this.totalTime;this.players.forEach(At=>{const qe=At.totalTime?Math.min(1,Fe/At.totalTime):1;At.setPosition(qe)})}getPosition(){const le=this.players.reduce((Fe,At)=>null===Fe||At.totalTime>Fe.totalTime?At:Fe,null);return null!=le?le.getPosition():0}beforeDestroy(){this.players.forEach(le=>{le.beforeDestroy&&le.beforeDestroy()})}triggerCallback(le){const Fe="start"==le?this._onStartFns:this._onDoneFns;Fe.forEach(At=>At()),Fe.length=0}}const ze="!"},6575:(Me,ee,p)=>{"use strict";p.d(ee,{Do:()=>ye,EM:()=>Ds,H9:()=>It,HT:()=>V,JF:()=>_i,JJ:()=>wn,K0:()=>F,Mx:()=>z,NF:()=>Dr,O5:()=>_t,PC:()=>ur,PM:()=>St,S$:()=>Z,V_:()=>U,Ye:()=>me,b0:()=>pe,bD:()=>ss,ez:()=>Zi,mk:()=>ve,q:()=>Q,qS:()=>J,sg:()=>Ge,tP:()=>dt,uU:()=>ir,uf:()=>yr,w_:()=>Y});var m=p(9980);let T=null;function Q(){return T}function V(f){T||(T=f)}class Y{}const F=new m.OlP("DocumentToken");let B=(()=>{class f{historyGo(v){throw new Error("Not implemented")}static#e=this.\u0275fac=function(b){return new(b||f)};static#t=this.\u0275prov=m.Yz7({token:f,factory:()=>(0,m.f3M)(j),providedIn:"platform"})}return f})();const U=new m.OlP("Location Initialized");let j=(()=>{class f extends B{constructor(){super(),this._doc=(0,m.f3M)(F),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Q().getBaseHref(this._doc)}onPopState(v){const b=Q().getGlobalEventTarget(this._doc,"window");return b.addEventListener("popstate",v,!1),()=>b.removeEventListener("popstate",v)}onHashChange(v){const b=Q().getGlobalEventTarget(this._doc,"window");return b.addEventListener("hashchange",v,!1),()=>b.removeEventListener("hashchange",v)}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(v){this._location.pathname=v}pushState(v,b,x){this._history.pushState(v,b,x)}replaceState(v,b,x){this._history.replaceState(v,b,x)}forward(){this._history.forward()}back(){this._history.back()}historyGo(v=0){this._history.go(v)}getState(){return this._history.state}static#e=this.\u0275fac=function(b){return new(b||f)};static#t=this.\u0275prov=m.Yz7({token:f,factory:()=>new f,providedIn:"platform"})}return f})();function N(f,I){if(0==f.length)return I;if(0==I.length)return f;let v=0;return f.endsWith("/")&&v++,I.startsWith("/")&&v++,2==v?f+I.substring(1):1==v?f+I:f+"/"+I}function R(f){const I=f.match(/#|\?|$/),v=I&&I.index||f.length;return f.slice(0,v-("/"===f[v-1]?1:0))+f.slice(v)}function P(f){return f&&"?"!==f[0]?"?"+f:f}let Z=(()=>{class f{historyGo(v){throw new Error("Not implemented")}static#e=this.\u0275fac=function(b){return new(b||f)};static#t=this.\u0275prov=m.Yz7({token:f,factory:()=>(0,m.f3M)(pe),providedIn:"root"})}return f})();const oe=new m.OlP("appBaseHref");let pe=(()=>{class f extends Z{constructor(v,b){super(),this._platformLocation=v,this._removeListenerFns=[],this._baseHref=b??this._platformLocation.getBaseHrefFromDOM()??(0,m.f3M)(F).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}prepareExternalUrl(v){return N(this._baseHref,v)}path(v=!1){const b=this._platformLocation.pathname+P(this._platformLocation.search),x=this._platformLocation.hash;return x&&v?`${b}${x}`:b}pushState(v,b,x,q){const he=this.prepareExternalUrl(x+P(q));this._platformLocation.pushState(v,b,he)}replaceState(v,b,x,q){const he=this.prepareExternalUrl(x+P(q));this._platformLocation.replaceState(v,b,he)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(v=0){this._platformLocation.historyGo?.(v)}static#e=this.\u0275fac=function(b){return new(b||f)(m.LFG(B),m.LFG(oe,8))};static#t=this.\u0275prov=m.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})(),ye=(()=>{class f extends Z{constructor(v,b){super(),this._platformLocation=v,this._baseHref="",this._removeListenerFns=[],null!=b&&(this._baseHref=b)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(v){this._removeListenerFns.push(this._platformLocation.onPopState(v),this._platformLocation.onHashChange(v))}getBaseHref(){return this._baseHref}path(v=!1){let b=this._platformLocation.hash;return null==b&&(b="#"),b.length>0?b.substring(1):b}prepareExternalUrl(v){const b=N(this._baseHref,v);return b.length>0?"#"+b:b}pushState(v,b,x,q){let he=this.prepareExternalUrl(x+P(q));0==he.length&&(he=this._platformLocation.pathname),this._platformLocation.pushState(v,b,he)}replaceState(v,b,x,q){let he=this.prepareExternalUrl(x+P(q));0==he.length&&(he=this._platformLocation.pathname),this._platformLocation.replaceState(v,b,he)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(v=0){this._platformLocation.historyGo?.(v)}static#e=this.\u0275fac=function(b){return new(b||f)(m.LFG(B),m.LFG(oe,8))};static#t=this.\u0275prov=m.Yz7({token:f,factory:f.\u0275fac})}return f})(),me=(()=>{class f{constructor(v){this._subject=new m.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=v;const b=this._locationStrategy.getBaseHref();this._basePath=function Ye(f){if(new RegExp("^(https?:)?//").test(f)){const[,v]=f.split(/\/\/[^\/]+/);return v}return f}(R(Ke(b))),this._locationStrategy.onPopState(x=>{this._subject.emit({url:this.path(!0),pop:!0,state:x.state,type:x.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(v=!1){return this.normalize(this._locationStrategy.path(v))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(v,b=""){return this.path()==this.normalize(v+P(b))}normalize(v){return f.stripTrailingSlash(function be(f,I){if(!f||!I.startsWith(f))return I;const v=I.substring(f.length);return""===v||["/",";","?","#"].includes(v[0])?v:I}(this._basePath,Ke(v)))}prepareExternalUrl(v){return v&&"/"!==v[0]&&(v="/"+v),this._locationStrategy.prepareExternalUrl(v)}go(v,b="",x=null){this._locationStrategy.pushState(x,"",v,b),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+P(b)),x)}replaceState(v,b="",x=null){this._locationStrategy.replaceState(x,"",v,b),this._notifyUrlChangeListeners(this.prepareExternalUrl(v+P(b)),x)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(v=0){this._locationStrategy.historyGo?.(v)}onUrlChange(v){return this._urlChangeListeners.push(v),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(b=>{this._notifyUrlChangeListeners(b.url,b.state)})),()=>{const b=this._urlChangeListeners.indexOf(v);this._urlChangeListeners.splice(b,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(v="",b){this._urlChangeListeners.forEach(x=>x(v,b))}subscribe(v,b,x){return this._subject.subscribe({next:v,error:b,complete:x})}static#e=this.normalizeQueryParams=P;static#t=this.joinWithSlash=N;static#n=this.stripTrailingSlash=R;static#r=this.\u0275fac=function(b){return new(b||f)(m.LFG(Z))};static#s=this.\u0275prov=m.Yz7({token:f,factory:()=>function fe(){return new me((0,m.LFG)(Z))}(),providedIn:"root"})}return f})();function Ke(f){return f.replace(/\/index.html$/,"")}const et={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Ze=function(f){return f[f.Decimal=0]="Decimal",f[f.Percent=1]="Percent",f[f.Currency=2]="Currency",f[f.Scientific=3]="Scientific",f}(Ze||{}),ze=function(f){return f[f.Format=0]="Format",f[f.Standalone=1]="Standalone",f}(ze||{}),we=function(f){return f[f.Narrow=0]="Narrow",f[f.Abbreviated=1]="Abbreviated",f[f.Wide=2]="Wide",f[f.Short=3]="Short",f}(we||{}),le=function(f){return f[f.Short=0]="Short",f[f.Medium=1]="Medium",f[f.Long=2]="Long",f[f.Full=3]="Full",f}(le||{}),Fe=function(f){return f[f.Decimal=0]="Decimal",f[f.Group=1]="Group",f[f.List=2]="List",f[f.PercentSign=3]="PercentSign",f[f.PlusSign=4]="PlusSign",f[f.MinusSign=5]="MinusSign",f[f.Exponential=6]="Exponential",f[f.SuperscriptingExponent=7]="SuperscriptingExponent",f[f.PerMille=8]="PerMille",f[f.Infinity=9]="Infinity",f[f.NaN=10]="NaN",f[f.TimeSeparator=11]="TimeSeparator",f[f.CurrencyDecimal=12]="CurrencyDecimal",f[f.CurrencyGroup=13]="CurrencyGroup",f}(Fe||{});function Ut(f,I){return Wt((0,m.cg1)(f)[m.wAp.DateFormat],I)}function bn(f,I){return Wt((0,m.cg1)(f)[m.wAp.TimeFormat],I)}function Nn(f,I){return Wt((0,m.cg1)(f)[m.wAp.DateTimeFormat],I)}function Gt(f,I){const v=(0,m.cg1)(f),b=v[m.wAp.NumberSymbols][I];if(typeof b>"u"){if(I===Fe.CurrencyDecimal)return v[m.wAp.NumberSymbols][Fe.Decimal];if(I===Fe.CurrencyGroup)return v[m.wAp.NumberSymbols][Fe.Group]}return b}function Fn(f,I){return(0,m.cg1)(f)[m.wAp.NumberFormats][I]}function ot(f){if(!f[m.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${f[m.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Wt(f,I){for(let v=I;v>-1;v--)if(typeof f[v]<"u")return f[v];throw new Error("Locale data API: locale data undefined")}function Ur(f){const[I,v]=f.split(":");return{hours:+I,minutes:+v}}const mn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Sn={},Ps=/((?:[^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]*)/;var Jt=function(f){return f[f.Short=0]="Short",f[f.ShortGMT=1]="ShortGMT",f[f.Long=2]="Long",f[f.Extended=3]="Extended",f}(Jt||{}),Ct=function(f){return f[f.FullYear=0]="FullYear",f[f.Month=1]="Month",f[f.Date=2]="Date",f[f.Hours=3]="Hours",f[f.Minutes=4]="Minutes",f[f.Seconds=5]="Seconds",f[f.FractionalSeconds=6]="FractionalSeconds",f[f.Day=7]="Day",f}(Ct||{}),ft=function(f){return f[f.DayPeriods=0]="DayPeriods",f[f.Days=1]="Days",f[f.Months=2]="Months",f[f.Eras=3]="Eras",f}(ft||{});function Br(f,I,v,b){let x=function Xe(f){if(re(f))return f;if("number"==typeof f&&!isNaN(f))return new Date(f);if("string"==typeof f){if(f=f.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(f)){const[x,q=1,he=1]=f.split("-").map(Le=>+Le);return yt(x,q-1,he)}const v=parseFloat(f);if(!isNaN(f-v))return new Date(v);let b;if(b=f.match(mn))return function te(f){const I=new Date(0);let v=0,b=0;const x=f[8]?I.setUTCFullYear:I.setFullYear,q=f[8]?I.setUTCHours:I.setHours;f[9]&&(v=Number(f[9]+f[10]),b=Number(f[9]+f[11])),x.call(I,Number(f[1]),Number(f[2])-1,Number(f[3]));const he=Number(f[4]||0)-v,Le=Number(f[5]||0)-b,Ot=Number(f[6]||0),pt=Math.floor(1e3*parseFloat("0."+(f[7]||0)));return q.call(I,he,Le,Ot,pt),I}(b)}const I=new Date(f);if(!re(I))throw new Error(`Unable to convert "${f}" into a date`);return I}(f);I=Rn(v,I)||I;let Le,he=[];for(;I;){if(Le=Ps.exec(I),!Le){he.push(I);break}{he=he.concat(Le.slice(1));const st=he.pop();if(!st)break;I=st}}let Ot=x.getTimezoneOffset();b&&(Ot=Kt(b,Ot),x=function qr(f,I,v){const b=v?-1:1,x=f.getTimezoneOffset();return function dn(f,I){return(f=new Date(f.getTime())).setMinutes(f.getMinutes()+I),f}(f,b*(Kt(I,x)-x))}(x,b,!0));let pt="";return he.forEach(st=>{const it=function Jn(f){if(Xn[f])return Xn[f];let I;switch(f){case"G":case"GG":case"GGG":I=Oe(ft.Eras,we.Abbreviated);break;case"GGGG":I=Oe(ft.Eras,we.Wide);break;case"GGGGG":I=Oe(ft.Eras,we.Narrow);break;case"y":I=tt(Ct.FullYear,1,0,!1,!0);break;case"yy":I=tt(Ct.FullYear,2,0,!0,!0);break;case"yyy":I=tt(Ct.FullYear,3,0,!1,!0);break;case"yyyy":I=tt(Ct.FullYear,4,0,!1,!0);break;case"Y":I=Zn(1);break;case"YY":I=Zn(2,!0);break;case"YYY":I=Zn(3);break;case"YYYY":I=Zn(4);break;case"M":case"L":I=tt(Ct.Month,1,1);break;case"MM":case"LL":I=tt(Ct.Month,2,1);break;case"MMM":I=Oe(ft.Months,we.Abbreviated);break;case"MMMM":I=Oe(ft.Months,we.Wide);break;case"MMMMM":I=Oe(ft.Months,we.Narrow);break;case"LLL":I=Oe(ft.Months,we.Abbreviated,ze.Standalone);break;case"LLLL":I=Oe(ft.Months,we.Wide,ze.Standalone);break;case"LLLLL":I=Oe(ft.Months,we.Narrow,ze.Standalone);break;case"w":I=vn(1);break;case"ww":I=vn(2);break;case"W":I=vn(1,!0);break;case"d":I=tt(Ct.Date,1);break;case"dd":I=tt(Ct.Date,2);break;case"c":case"cc":I=tt(Ct.Day,1);break;case"ccc":I=Oe(ft.Days,we.Abbreviated,ze.Standalone);break;case"cccc":I=Oe(ft.Days,we.Wide,ze.Standalone);break;case"ccccc":I=Oe(ft.Days,we.Narrow,ze.Standalone);break;case"cccccc":I=Oe(ft.Days,we.Short,ze.Standalone);break;case"E":case"EE":case"EEE":I=Oe(ft.Days,we.Abbreviated);break;case"EEEE":I=Oe(ft.Days,we.Wide);break;case"EEEEE":I=Oe(ft.Days,we.Narrow);break;case"EEEEEE":I=Oe(ft.Days,we.Short);break;case"a":case"aa":case"aaa":I=Oe(ft.DayPeriods,we.Abbreviated);break;case"aaaa":I=Oe(ft.DayPeriods,we.Wide);break;case"aaaaa":I=Oe(ft.DayPeriods,we.Narrow);break;case"b":case"bb":case"bbb":I=Oe(ft.DayPeriods,we.Abbreviated,ze.Standalone,!0);break;case"bbbb":I=Oe(ft.DayPeriods,we.Wide,ze.Standalone,!0);break;case"bbbbb":I=Oe(ft.DayPeriods,we.Narrow,ze.Standalone,!0);break;case"B":case"BB":case"BBB":I=Oe(ft.DayPeriods,we.Abbreviated,ze.Format,!0);break;case"BBBB":I=Oe(ft.DayPeriods,we.Wide,ze.Format,!0);break;case"BBBBB":I=Oe(ft.DayPeriods,we.Narrow,ze.Format,!0);break;case"h":I=tt(Ct.Hours,1,-12);break;case"hh":I=tt(Ct.Hours,2,-12);break;case"H":I=tt(Ct.Hours,1);break;case"HH":I=tt(Ct.Hours,2);break;case"m":I=tt(Ct.Minutes,1);break;case"mm":I=tt(Ct.Minutes,2);break;case"s":I=tt(Ct.Seconds,1);break;case"ss":I=tt(Ct.Seconds,2);break;case"S":I=tt(Ct.FractionalSeconds,1);break;case"SS":I=tt(Ct.FractionalSeconds,2);break;case"SSS":I=tt(Ct.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":I=Mr(Jt.Short);break;case"ZZZZZ":I=Mr(Jt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":I=Mr(Jt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":I=Mr(Jt.Long);break;default:return null}return Xn[f]=I,I}(st);pt+=it?it(x,v,Ot):"''"===st?"'":st.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),pt}function yt(f,I,v){const b=new Date(0);return b.setFullYear(f,I,v),b.setHours(0,0,0),b}function Rn(f,I){const v=function qe(f){return(0,m.cg1)(f)[m.wAp.LocaleId]}(f);if(Sn[v]=Sn[v]||{},Sn[v][I])return Sn[v][I];let b="";switch(I){case"shortDate":b=Ut(f,le.Short);break;case"mediumDate":b=Ut(f,le.Medium);break;case"longDate":b=Ut(f,le.Long);break;case"fullDate":b=Ut(f,le.Full);break;case"shortTime":b=bn(f,le.Short);break;case"mediumTime":b=bn(f,le.Medium);break;case"longTime":b=bn(f,le.Long);break;case"fullTime":b=bn(f,le.Full);break;case"short":const x=Rn(f,"shortTime"),q=Rn(f,"shortDate");b=Lt(Nn(f,le.Short),[x,q]);break;case"medium":const he=Rn(f,"mediumTime"),Le=Rn(f,"mediumDate");b=Lt(Nn(f,le.Medium),[he,Le]);break;case"long":const Ot=Rn(f,"longTime"),pt=Rn(f,"longDate");b=Lt(Nn(f,le.Long),[Ot,pt]);break;case"full":const st=Rn(f,"fullTime"),it=Rn(f,"fullDate");b=Lt(Nn(f,le.Full),[st,it])}return b&&(Sn[v][I]=b),b}function Lt(f,I){return I&&(f=f.replace(/\{([^}]+)}/g,function(v,b){return null!=I&&b in I?I[b]:v})),f}function un(f,I,v="-",b,x){let q="";(f<0||x&&f<=0)&&(x?f=1-f:(f=-f,q=v));let he=String(f);for(;he.length<I;)he="0"+he;return b&&(he=he.slice(he.length-I)),q+he}function tt(f,I,v=0,b=!1,x=!1){return function(q,he){let Le=function jn(f,I){switch(f){case Ct.FullYear:return I.getFullYear();case Ct.Month:return I.getMonth();case Ct.Date:return I.getDate();case Ct.Hours:return I.getHours();case Ct.Minutes:return I.getMinutes();case Ct.Seconds:return I.getSeconds();case Ct.FractionalSeconds:return I.getMilliseconds();case Ct.Day:return I.getDay();default:throw new Error(`Unknown DateType value "${f}".`)}}(f,q);if((v>0||Le>-v)&&(Le+=v),f===Ct.Hours)0===Le&&-12===v&&(Le=12);else if(f===Ct.FractionalSeconds)return function mr(f,I){return un(f,3).substring(0,I)}(Le,I);const Ot=Gt(he,Fe.MinusSign);return un(Le,I,Ot,b,x)}}function Oe(f,I,v=ze.Format,b=!1){return function(x,q){return function Mn(f,I,v,b,x,q){switch(v){case ft.Months:return function Ce(f,I,v){const b=(0,m.cg1)(f),q=Wt([b[m.wAp.MonthsFormat],b[m.wAp.MonthsStandalone]],I);return Wt(q,v)}(I,x,b)[f.getMonth()];case ft.Days:return function nn(f,I,v){const b=(0,m.cg1)(f),q=Wt([b[m.wAp.DaysFormat],b[m.wAp.DaysStandalone]],I);return Wt(q,v)}(I,x,b)[f.getDay()];case ft.DayPeriods:const he=f.getHours(),Le=f.getMinutes();if(q){const pt=function jr(f){const I=(0,m.cg1)(f);return ot(I),(I[m.wAp.ExtraData][2]||[]).map(b=>"string"==typeof b?Ur(b):[Ur(b[0]),Ur(b[1])])}(I),st=function Rs(f,I,v){const b=(0,m.cg1)(f);ot(b);const q=Wt([b[m.wAp.ExtraData][0],b[m.wAp.ExtraData][1]],I)||[];return Wt(q,v)||[]}(I,x,b),it=pt.findIndex(kt=>{if(Array.isArray(kt)){const[Mt,cn]=kt,xn=he>=Mt.hours&&Le>=Mt.minutes,Vn=he<cn.hours||he===cn.hours&&Le<cn.minutes;if(Mt.hours<cn.hours){if(xn&&Vn)return!0}else if(xn||Vn)return!0}else if(kt.hours===he&&kt.minutes===Le)return!0;return!1});if(-1!==it)return st[it]}return function gn(f,I,v){const b=(0,m.cg1)(f),q=Wt([b[m.wAp.DayPeriodsFormat],b[m.wAp.DayPeriodsStandalone]],I);return Wt(q,v)}(I,x,b)[he<12?0:1];case ft.Eras:return function Ae(f,I){return Wt((0,m.cg1)(f)[m.wAp.Eras],I)}(I,b)[f.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${v}`)}}(x,q,f,I,v,b)}}function Mr(f){return function(I,v,b){const x=-1*b,q=Gt(v,Fe.MinusSign),he=x>0?Math.floor(x/60):Math.ceil(x/60);switch(f){case Jt.Short:return(x>=0?"+":"")+un(he,2,q)+un(Math.abs(x%60),2,q);case Jt.ShortGMT:return"GMT"+(x>=0?"+":"")+un(he,1,q);case Jt.Long:return"GMT"+(x>=0?"+":"")+un(he,2,q)+":"+un(Math.abs(x%60),2,q);case Jt.Extended:return 0===b?"Z":(x>=0?"+":"")+un(he,2,q)+":"+un(Math.abs(x%60),2,q);default:throw new Error(`Unknown zone width "${f}"`)}}}const Tr=0,Un=4;function yn(f){return yt(f.getFullYear(),f.getMonth(),f.getDate()+(Un-f.getDay()))}function vn(f,I=!1){return function(v,b){let x;if(I){const q=new Date(v.getFullYear(),v.getMonth(),1).getDay()-1,he=v.getDate();x=1+Math.floor((he+q)/7)}else{const q=yn(v),he=function je(f){const I=yt(f,Tr,1).getDay();return yt(f,0,1+(I<=Un?Un:Un+7)-I)}(q.getFullYear()),Le=q.getTime()-he.getTime();x=1+Math.round(Le/6048e5)}return un(x,f,Gt(b,Fe.MinusSign))}}function Zn(f,I=!1){return function(v,b){return un(yn(v).getFullYear(),f,Gt(b,Fe.MinusSign),I)}}const Xn={};function Kt(f,I){f=f.replace(/:/g,"");const v=Date.parse("Jan 01, 1970 00:00:00 "+f)/6e4;return isNaN(v)?I:v}function re(f){return f instanceof Date&&!isNaN(f.valueOf())}const L=/^(\d+)?\.((\d+)(-(\d+))?)?$/,K=22,ue=".",Ne="0",Ve=";",nt=",",bt="#";function qt(f,I,v,b,x,q,he=!1){let Le="",Ot=!1;if(isFinite(f)){let pt=function fi(f){let b,x,q,he,Le,I=Math.abs(f)+"",v=0;for((x=I.indexOf(ue))>-1&&(I=I.replace(ue,"")),(q=I.search(/e/i))>0?(x<0&&(x=q),x+=+I.slice(q+1),I=I.substring(0,q)):x<0&&(x=I.length),q=0;I.charAt(q)===Ne;q++);if(q===(Le=I.length))b=[0],x=1;else{for(Le--;I.charAt(Le)===Ne;)Le--;for(x-=q,b=[],he=0;q<=Le;q++,he++)b[he]=Number(I.charAt(q))}return x>K&&(b=b.splice(0,K-1),v=x-1,x=1),{digits:b,exponent:v,integerLen:x}}(f);he&&(pt=function di(f){if(0===f.digits[0])return f;const I=f.digits.length-f.integerLen;return f.exponent?f.exponent+=2:(0===I?f.digits.push(0,0):1===I&&f.digits.push(0),f.integerLen+=2),f}(pt));let st=I.minInt,it=I.minFrac,kt=I.maxFrac;if(q){const lr=q.match(L);if(null===lr)throw new Error(`${q} is not a valid digit info`);const Be=lr[1],He=lr[3],We=lr[5];null!=Be&&(st=hn(Be)),null!=He&&(it=hn(He)),null!=We?kt=hn(We):null!=He&&it>kt&&(kt=it)}!function ms(f,I,v){if(I>v)throw new Error(`The minimum number of digits after fraction (${I}) is higher than the maximum (${v}).`);let b=f.digits,x=b.length-f.integerLen;const q=Math.min(Math.max(I,x),v);let he=q+f.integerLen,Le=b[he];if(he>0){b.splice(Math.max(f.integerLen,he));for(let it=he;it<b.length;it++)b[it]=0}else{x=Math.max(0,x),f.integerLen=1,b.length=Math.max(1,he=q+1),b[0]=0;for(let it=1;it<he;it++)b[it]=0}if(Le>=5)if(he-1<0){for(let it=0;it>he;it--)b.unshift(0),f.integerLen++;b.unshift(1),f.integerLen++}else b[he-1]++;for(;x<Math.max(0,q);x++)b.push(0);let Ot=0!==q;const pt=I+f.integerLen,st=b.reduceRight(function(it,kt,Mt,cn){return cn[Mt]=(kt+=it)<10?kt:kt-10,Ot&&(0===cn[Mt]&&Mt>=pt?cn.pop():Ot=!1),kt>=10?1:0},0);st&&(b.unshift(st),f.integerLen++)}(pt,it,kt);let Mt=pt.digits,cn=pt.integerLen;const xn=pt.exponent;let Vn=[];for(Ot=Mt.every(lr=>!lr);cn<st;cn++)Mt.unshift(0);for(;cn<0;cn++)Mt.unshift(0);cn>0?Vn=Mt.splice(cn,Mt.length):(Vn=Mt,Mt=[0]);const us=[];for(Mt.length>=I.lgSize&&us.unshift(Mt.splice(-I.lgSize,Mt.length).join(""));Mt.length>I.gSize;)us.unshift(Mt.splice(-I.gSize,Mt.length).join(""));Mt.length&&us.unshift(Mt.join("")),Le=us.join(Gt(v,b)),Vn.length&&(Le+=Gt(v,x)+Vn.join("")),xn&&(Le+=Gt(v,Fe.Exponential)+"+"+xn)}else Le=Gt(v,Fe.Infinity);return Le=f<0&&!Ot?I.negPre+Le+I.negSuf:I.posPre+Le+I.posSuf,Le}function yr(f,I,v){return qt(f,Ar(Fn(I,Ze.Decimal),Gt(I,Fe.MinusSign)),I,Fe.Group,Fe.Decimal,v)}function Ar(f,I="-"){const v={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},b=f.split(Ve),x=b[0],q=b[1],he=-1!==x.indexOf(ue)?x.split(ue):[x.substring(0,x.lastIndexOf(Ne)+1),x.substring(x.lastIndexOf(Ne)+1)],Le=he[0],Ot=he[1]||"";v.posPre=Le.substring(0,Le.indexOf(bt));for(let st=0;st<Ot.length;st++){const it=Ot.charAt(st);it===Ne?v.minFrac=v.maxFrac=st+1:it===bt?v.maxFrac=st+1:v.posSuf+=it}const pt=Le.split(nt);if(v.gSize=pt[1]?pt[1].length:0,v.lgSize=pt[2]||pt[1]?(pt[2]||pt[1]).length:0,q){const st=x.length-v.posPre.length-v.posSuf.length,it=q.indexOf(bt);v.negPre=q.substring(0,it).replace(/'/g,""),v.negSuf=q.slice(it+st).replace(/'/g,"")}else v.negPre=I+v.posPre,v.negSuf=v.posSuf;return v}function hn(f){const I=parseInt(f);if(isNaN(I))throw new Error("Invalid integer literal when parsing "+f);return I}function J(f,I,v){return(0,m.dwT)(f,I,v)}function z(f,I){I=encodeURIComponent(I);for(const v of f.split(";")){const b=v.indexOf("="),[x,q]=-1==b?[v,""]:[v.slice(0,b),v.slice(b+1)];if(x.trim()===I)return decodeURIComponent(q)}return null}const W=/\s+/,se=[];let ve=(()=>{class f{constructor(v,b,x,q){this._iterableDiffers=v,this._keyValueDiffers=b,this._ngEl=x,this._renderer=q,this.initialClasses=se,this.stateMap=new Map}set klass(v){this.initialClasses=null!=v?v.trim().split(W):se}set ngClass(v){this.rawClass="string"==typeof v?v.trim().split(W):v}ngDoCheck(){for(const b of this.initialClasses)this._updateState(b,!0);const v=this.rawClass;if(Array.isArray(v)||v instanceof Set)for(const b of v)this._updateState(b,!0);else if(null!=v)for(const b of Object.keys(v))this._updateState(b,!!v[b]);this._applyStateDiff()}_updateState(v,b){const x=this.stateMap.get(v);void 0!==x?(x.enabled!==b&&(x.changed=!0,x.enabled=b),x.touched=!0):this.stateMap.set(v,{enabled:b,changed:!0,touched:!0})}_applyStateDiff(){for(const v of this.stateMap){const b=v[0],x=v[1];x.changed?(this._toggleClass(b,x.enabled),x.changed=!1):x.touched||(x.enabled&&this._toggleClass(b,!1),this.stateMap.delete(b)),x.touched=!1}}_toggleClass(v,b){(v=v.trim()).length>0&&v.split(W).forEach(x=>{b?this._renderer.addClass(this._ngEl.nativeElement,x):this._renderer.removeClass(this._ngEl.nativeElement,x)})}static#e=this.\u0275fac=function(b){return new(b||f)(m.Y36(m.ZZ4),m.Y36(m.aQg),m.Y36(m.SBq),m.Y36(m.Qsj))};static#t=this.\u0275dir=m.lG2({type:f,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return f})();class ht{constructor(I,v,b,x){this.$implicit=I,this.ngForOf=v,this.index=b,this.count=x}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Ge=(()=>{class f{set ngForOf(v){this._ngForOf=v,this._ngForOfDirty=!0}set ngForTrackBy(v){this._trackByFn=v}get ngForTrackBy(){return this._trackByFn}constructor(v,b,x){this._viewContainer=v,this._template=b,this._differs=x,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(v){v&&(this._template=v)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const v=this._ngForOf;!this._differ&&v&&(this._differ=this._differs.find(v).create(this.ngForTrackBy))}if(this._differ){const v=this._differ.diff(this._ngForOf);v&&this._applyChanges(v)}}_applyChanges(v){const b=this._viewContainer;v.forEachOperation((x,q,he)=>{if(null==x.previousIndex)b.createEmbeddedView(this._template,new ht(x.item,this._ngForOf,-1,-1),null===he?void 0:he);else if(null==he)b.remove(null===q?void 0:q);else if(null!==q){const Le=b.get(q);b.move(Le,he),Ht(Le,x)}});for(let x=0,q=b.length;x<q;x++){const Le=b.get(x).context;Le.index=x,Le.count=q,Le.ngForOf=this._ngForOf}v.forEachIdentityChange(x=>{Ht(b.get(x.currentIndex),x)})}static ngTemplateContextGuard(v,b){return!0}static#e=this.\u0275fac=function(b){return new(b||f)(m.Y36(m.s_b),m.Y36(m.Rgc),m.Y36(m.ZZ4))};static#t=this.\u0275dir=m.lG2({type:f,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return f})();function Ht(f,I){f.context.$implicit=I.item}let _t=(()=>{class f{constructor(v,b){this._viewContainer=v,this._context=new jt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=b}set ngIf(v){this._context.$implicit=this._context.ngIf=v,this._updateView()}set ngIfThen(v){En("ngIfThen",v),this._thenTemplateRef=v,this._thenViewRef=null,this._updateView()}set ngIfElse(v){En("ngIfElse",v),this._elseTemplateRef=v,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(v,b){return!0}static#e=this.\u0275fac=function(b){return new(b||f)(m.Y36(m.s_b),m.Y36(m.Rgc))};static#t=this.\u0275dir=m.lG2({type:f,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return f})();class jt{constructor(){this.$implicit=null,this.ngIf=null}}function En(f,I){if(I&&!I.createEmbeddedView)throw new Error(`${f} must be a TemplateRef, but received '${(0,m.AaK)(I)}'.`)}let ur=(()=>{class f{constructor(v,b,x){this._ngEl=v,this._differs=b,this._renderer=x,this._ngStyle=null,this._differ=null}set ngStyle(v){this._ngStyle=v,!this._differ&&v&&(this._differ=this._differs.find(v).create())}ngDoCheck(){if(this._differ){const v=this._differ.diff(this._ngStyle);v&&this._applyChanges(v)}}_setStyle(v,b){const[x,q]=v.split("."),he=-1===x.indexOf("-")?void 0:m.JOm.DashCase;null!=b?this._renderer.setStyle(this._ngEl.nativeElement,x,q?`${b}${q}`:b,he):this._renderer.removeStyle(this._ngEl.nativeElement,x,he)}_applyChanges(v){v.forEachRemovedItem(b=>this._setStyle(b.key,null)),v.forEachAddedItem(b=>this._setStyle(b.key,b.currentValue)),v.forEachChangedItem(b=>this._setStyle(b.key,b.currentValue))}static#e=this.\u0275fac=function(b){return new(b||f)(m.Y36(m.SBq),m.Y36(m.aQg),m.Y36(m.Qsj))};static#t=this.\u0275dir=m.lG2({type:f,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return f})(),dt=(()=>{class f{constructor(v){this._viewContainerRef=v,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(v){if(this._shouldRecreateView(v)){const b=this._viewContainerRef;if(this._viewRef&&b.remove(b.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const x=this._createContextForwardProxy();this._viewRef=b.createEmbeddedView(this.ngTemplateOutlet,x,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(v){return!!v.ngTemplateOutlet||!!v.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(v,b,x)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,b,x),get:(v,b,x)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,b,x)}})}static#e=this.\u0275fac=function(b){return new(b||f)(m.Y36(m.s_b))};static#t=this.\u0275dir=m.lG2({type:f,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[m.TTD]})}return f})();function _n(f,I){return new m.vHH(2100,!1)}const xs=new m.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),es=new m.OlP("DATE_PIPE_DEFAULT_OPTIONS");let ir=(()=>{class f{constructor(v,b,x){this.locale=v,this.defaultTimezone=b,this.defaultOptions=x}transform(v,b,x,q){if(null==v||""===v||v!=v)return null;try{return Br(v,b??this.defaultOptions?.dateFormat??"mediumDate",q||this.locale,x??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(he){throw _n()}}static#e=this.\u0275fac=function(b){return new(b||f)(m.Y36(m.soG,16),m.Y36(xs,24),m.Y36(es,24))};static#t=this.\u0275pipe=m.Yjl({name:"date",type:f,pure:!0,standalone:!0})}return f})(),wn=(()=>{class f{constructor(v){this._locale=v}transform(v,b,x){if(!Or(v))return null;x=x||this._locale;try{return yr(rs(v),x,b)}catch(q){throw _n()}}static#e=this.\u0275fac=function(b){return new(b||f)(m.Y36(m.soG,16))};static#t=this.\u0275pipe=m.Yjl({name:"number",type:f,pure:!0,standalone:!0})}return f})(),It=(()=>{class f{constructor(v,b="USD"){this._locale=v,this._defaultCurrencyCode=b}transform(v,b=this._defaultCurrencyCode,x="symbol",q,he){if(!Or(v))return null;he=he||this._locale,"boolean"==typeof x&&(x=x?"symbol":"code");let Le=b||this._defaultCurrencyCode;"code"!==x&&(Le="symbol"===x||"symbol-narrow"===x?function An(f,I,v="en"){const b=function Sr(f){return(0,m.cg1)(f)[m.wAp.Currencies]}(v)[f]||et[f]||[],x=b[1];return"narrow"===I&&"string"==typeof x?x:b[0]||f}(Le,"symbol"===x?"wide":"narrow",he):x);try{return function Hr(f,I,v,b,x){const he=Ar(Fn(I,Ze.Currency),Gt(I,Fe.MinusSign));return he.minFrac=function Jr(f){let I;const v=et[f];return v&&(I=v[2]),"number"==typeof I?I:2}(b),he.maxFrac=he.minFrac,qt(f,he,I,Fe.CurrencyGroup,Fe.CurrencyDecimal,x).replace("\xa4",v).replace("\xa4","").trim()}(rs(v),he,Le,b,q)}catch(Ot){throw _n()}}static#e=this.\u0275fac=function(b){return new(b||f)(m.Y36(m.soG,16),m.Y36(m.EJc,16))};static#t=this.\u0275pipe=m.Yjl({name:"currency",type:f,pure:!0,standalone:!0})}return f})();function Or(f){return!(null==f||""===f||f!=f)}function rs(f){if("string"==typeof f&&!isNaN(Number(f)-parseFloat(f)))return Number(f);if("number"!=typeof f)throw new Error(`${f} is not a number`);return f}let Zi=(()=>{class f{static#e=this.\u0275fac=function(b){return new(b||f)};static#t=this.\u0275mod=m.oAB({type:f});static#n=this.\u0275inj=m.cJS({})}return f})();const ss="browser",Er="server";function Dr(f){return f===ss}function St(f){return f===Er}let Ds=(()=>{class f{static#e=this.\u0275prov=(0,m.Yz7)({token:f,providedIn:"root",factory:()=>new Vr((0,m.LFG)(F),window)})}return f})();class Vr{constructor(I,v){this.document=I,this.window=v,this.offset=()=>[0,0]}setOffset(I){this.offset=Array.isArray(I)?()=>I:I}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(I){this.supportsScrolling()&&this.window.scrollTo(I[0],I[1])}scrollToAnchor(I){if(!this.supportsScrolling())return;const v=function vi(f,I){const v=f.getElementById(I)||f.getElementsByName(I)[0];if(v)return v;if("function"==typeof f.createTreeWalker&&f.body&&"function"==typeof f.body.attachShadow){const b=f.createTreeWalker(f.body,NodeFilter.SHOW_ELEMENT);let x=b.currentNode;for(;x;){const q=x.shadowRoot;if(q){const he=q.getElementById(I)||q.querySelector(`[name="${I}"]`);if(he)return he}x=b.nextNode()}}return null}(this.document,I);v&&(this.scrollToElement(v),v.focus())}setHistoryScrollRestoration(I){this.supportsScrolling()&&(this.window.history.scrollRestoration=I)}scrollToElement(I){const v=I.getBoundingClientRect(),b=v.left+this.window.pageXOffset,x=v.top+this.window.pageYOffset,q=this.offset();this.window.scrollTo(b-q[0],x-q[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class _i{}},4860:(Me,ee,p)=>{"use strict";p.d(ee,{JF:()=>nt,LE:()=>Ze,TP:()=>Rs,WM:()=>pe,dh:()=>Qe,eN:()=>bn,h_:()=>dn,yn:()=>Ne});var m=p(1670),T=p(9980),Q=p(9681),V=p(2330),Y=p(4603),F=p(7293),B=p(5046),U=p(7422),j=p(786),N=p(6520),R=p(5746),P=p(6575);class Z{}class oe{}class pe{constructor(z){this.normalizedNames=new Map,this.lazyUpdate=null,z?"string"==typeof z?this.lazyInit=()=>{this.headers=new Map,z.split("\n").forEach(W=>{const se=W.indexOf(":");if(se>0){const ve=W.slice(0,se),_e=ve.toLowerCase(),Se=W.slice(se+1).trim();this.maybeSetNormalizedName(ve,_e),this.headers.has(_e)?this.headers.get(_e).push(Se):this.headers.set(_e,[Se])}})}:typeof Headers<"u"&&z instanceof Headers?(this.headers=new Map,z.forEach((W,se)=>{this.setHeaderEntries(se,W)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(z).forEach(([W,se])=>{this.setHeaderEntries(W,se)})}:this.headers=new Map}has(z){return this.init(),this.headers.has(z.toLowerCase())}get(z){this.init();const W=this.headers.get(z.toLowerCase());return W&&W.length>0?W[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(z){return this.init(),this.headers.get(z.toLowerCase())||null}append(z,W){return this.clone({name:z,value:W,op:"a"})}set(z,W){return this.clone({name:z,value:W,op:"s"})}delete(z,W){return this.clone({name:z,value:W,op:"d"})}maybeSetNormalizedName(z,W){this.normalizedNames.has(W)||this.normalizedNames.set(W,z)}init(){this.lazyInit&&(this.lazyInit instanceof pe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(z=>this.applyUpdate(z)),this.lazyUpdate=null))}copyFrom(z){z.init(),Array.from(z.headers.keys()).forEach(W=>{this.headers.set(W,z.headers.get(W)),this.normalizedNames.set(W,z.normalizedNames.get(W))})}clone(z){const W=new pe;return W.lazyInit=this.lazyInit&&this.lazyInit instanceof pe?this.lazyInit:this,W.lazyUpdate=(this.lazyUpdate||[]).concat([z]),W}applyUpdate(z){const W=z.name.toLowerCase();switch(z.op){case"a":case"s":let se=z.value;if("string"==typeof se&&(se=[se]),0===se.length)return;this.maybeSetNormalizedName(z.name,W);const ve=("a"===z.op?this.headers.get(W):void 0)||[];ve.push(...se),this.headers.set(W,ve);break;case"d":const _e=z.value;if(_e){let Se=this.headers.get(W);if(!Se)return;Se=Se.filter(ht=>-1===_e.indexOf(ht)),0===Se.length?(this.headers.delete(W),this.normalizedNames.delete(W)):this.headers.set(W,Se)}else this.headers.delete(W),this.normalizedNames.delete(W)}}setHeaderEntries(z,W){const se=(Array.isArray(W)?W:[W]).map(_e=>_e.toString()),ve=z.toLowerCase();this.headers.set(ve,se),this.maybeSetNormalizedName(z,ve)}forEach(z){this.init(),Array.from(this.normalizedNames.keys()).forEach(W=>z(this.normalizedNames.get(W),this.headers.get(W)))}}class me{encodeKey(z){return Ye(z)}encodeValue(z){return Ye(z)}decodeKey(z){return decodeURIComponent(z)}decodeValue(z){return decodeURIComponent(z)}}const be=/%(\d[a-f0-9])/gi,Ke={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ye(J){return encodeURIComponent(J).replace(be,(z,W)=>Ke[W]??z)}function et(J){return`${J}`}class Ze{constructor(z={}){if(this.updates=null,this.cloneFrom=null,this.encoder=z.encoder||new me,z.fromString){if(z.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function fe(J,z){const W=new Map;return J.length>0&&J.replace(/^\?/,"").split("&").forEach(ve=>{const _e=ve.indexOf("="),[Se,ht]=-1==_e?[z.decodeKey(ve),""]:[z.decodeKey(ve.slice(0,_e)),z.decodeValue(ve.slice(_e+1))],Ge=W.get(Se)||[];Ge.push(ht),W.set(Se,Ge)}),W}(z.fromString,this.encoder)}else z.fromObject?(this.map=new Map,Object.keys(z.fromObject).forEach(W=>{const se=z.fromObject[W],ve=Array.isArray(se)?se.map(et):[et(se)];this.map.set(W,ve)})):this.map=null}has(z){return this.init(),this.map.has(z)}get(z){this.init();const W=this.map.get(z);return W?W[0]:null}getAll(z){return this.init(),this.map.get(z)||null}keys(){return this.init(),Array.from(this.map.keys())}append(z,W){return this.clone({param:z,value:W,op:"a"})}appendAll(z){const W=[];return Object.keys(z).forEach(se=>{const ve=z[se];Array.isArray(ve)?ve.forEach(_e=>{W.push({param:se,value:_e,op:"a"})}):W.push({param:se,value:ve,op:"a"})}),this.clone(W)}set(z,W){return this.clone({param:z,value:W,op:"s"})}delete(z,W){return this.clone({param:z,value:W,op:"d"})}toString(){return this.init(),this.keys().map(z=>{const W=this.encoder.encodeKey(z);return this.map.get(z).map(se=>W+"="+this.encoder.encodeValue(se)).join("&")}).filter(z=>""!==z).join("&")}clone(z){const W=new Ze({encoder:this.encoder});return W.cloneFrom=this.cloneFrom||this,W.updates=(this.updates||[]).concat(z),W}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(z=>this.map.set(z,this.cloneFrom.map.get(z))),this.updates.forEach(z=>{switch(z.op){case"a":case"s":const W=("a"===z.op?this.map.get(z.param):void 0)||[];W.push(et(z.value)),this.map.set(z.param,W);break;case"d":if(void 0===z.value){this.map.delete(z.param);break}{let se=this.map.get(z.param)||[];const ve=se.indexOf(et(z.value));-1!==ve&&se.splice(ve,1),se.length>0?this.map.set(z.param,se):this.map.delete(z.param)}}}),this.cloneFrom=this.updates=null)}}class ze{constructor(){this.map=new Map}set(z,W){return this.map.set(z,W),this}get(z){return this.map.has(z)||this.map.set(z,z.defaultValue()),this.map.get(z)}delete(z){return this.map.delete(z),this}has(z){return this.map.has(z)}keys(){return this.map.keys()}}function le(J){return typeof ArrayBuffer<"u"&&J instanceof ArrayBuffer}function Fe(J){return typeof Blob<"u"&&J instanceof Blob}function At(J){return typeof FormData<"u"&&J instanceof FormData}class gn{constructor(z,W,se,ve){let _e;if(this.url=W,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=z.toUpperCase(),function we(J){switch(J){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ve?(this.body=void 0!==se?se:null,_e=ve):_e=se,_e&&(this.reportProgress=!!_e.reportProgress,this.withCredentials=!!_e.withCredentials,_e.responseType&&(this.responseType=_e.responseType),_e.headers&&(this.headers=_e.headers),_e.context&&(this.context=_e.context),_e.params&&(this.params=_e.params),this.transferCache=_e.transferCache),this.headers||(this.headers=new pe),this.context||(this.context=new ze),this.params){const Se=this.params.toString();if(0===Se.length)this.urlWithParams=W;else{const ht=W.indexOf("?");this.urlWithParams=W+(-1===ht?"?":ht<W.length-1?"&":"")+Se}}else this.params=new Ze,this.urlWithParams=W}serializeBody(){return null===this.body?null:le(this.body)||Fe(this.body)||At(this.body)||function qe(J){return typeof URLSearchParams<"u"&&J instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ze?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||At(this.body)?null:Fe(this.body)?this.body.type||null:le(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ze?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(z={}){const W=z.method||this.method,se=z.url||this.url,ve=z.responseType||this.responseType,_e=void 0!==z.body?z.body:this.body,Se=void 0!==z.withCredentials?z.withCredentials:this.withCredentials,ht=void 0!==z.reportProgress?z.reportProgress:this.reportProgress;let Ge=z.headers||this.headers,Ht=z.params||this.params;const Rt=z.context??this.context;return void 0!==z.setHeaders&&(Ge=Object.keys(z.setHeaders).reduce((_t,jt)=>_t.set(jt,z.setHeaders[jt]),Ge)),z.setParams&&(Ht=Object.keys(z.setParams).reduce((_t,jt)=>_t.set(jt,z.setParams[jt]),Ht)),new gn(W,se,_e,{params:Ht,headers:Ge,context:Rt,reportProgress:ht,responseType:ve,withCredentials:Se})}}var nn=function(J){return J[J.Sent=0]="Sent",J[J.UploadProgress=1]="UploadProgress",J[J.ResponseHeader=2]="ResponseHeader",J[J.DownloadProgress=3]="DownloadProgress",J[J.Response=4]="Response",J[J.User=5]="User",J}(nn||{});class Ce{constructor(z,W=200,se="OK"){this.headers=z.headers||new pe,this.status=void 0!==z.status?z.status:W,this.statusText=z.statusText||se,this.url=z.url||null,this.ok=this.status>=200&&this.status<300}}class Ae extends Ce{constructor(z={}){super(z),this.type=nn.ResponseHeader}clone(z={}){return new Ae({headers:z.headers||this.headers,status:void 0!==z.status?z.status:this.status,statusText:z.statusText||this.statusText,url:z.url||this.url||void 0})}}class Te extends Ce{constructor(z={}){super(z),this.type=nn.Response,this.body=void 0!==z.body?z.body:null}clone(z={}){return new Te({body:void 0!==z.body?z.body:this.body,headers:z.headers||this.headers,status:void 0!==z.status?z.status:this.status,statusText:z.statusText||this.statusText,url:z.url||this.url||void 0})}}class ut extends Ce{constructor(z){super(z,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${z.url||"(unknown url)"}`:`Http failure response for ${z.url||"(unknown url)"}: ${z.status} ${z.statusText}`,this.error=z.error||null}}function Ut(J,z){return{body:z,headers:J.headers,context:J.context,observe:J.observe,params:J.params,reportProgress:J.reportProgress,responseType:J.responseType,withCredentials:J.withCredentials,transferCache:J.transferCache}}let bn=(()=>{class J{constructor(W){this.handler=W}request(W,se,ve={}){let _e;if(W instanceof gn)_e=W;else{let Ge,Ht;Ge=ve.headers instanceof pe?ve.headers:new pe(ve.headers),ve.params&&(Ht=ve.params instanceof Ze?ve.params:new Ze({fromObject:ve.params})),_e=new gn(W,se,void 0!==ve.body?ve.body:null,{headers:Ge,context:ve.context,params:Ht,reportProgress:ve.reportProgress,responseType:ve.responseType||"json",withCredentials:ve.withCredentials,transferCache:ve.transferCache})}const Se=(0,Q.of)(_e).pipe((0,F.b)(Ge=>this.handler.handle(Ge)));if(W instanceof gn||"events"===ve.observe)return Se;const ht=Se.pipe((0,B.h)(Ge=>Ge instanceof Te));switch(ve.observe||"body"){case"body":switch(_e.responseType){case"arraybuffer":return ht.pipe((0,U.U)(Ge=>{if(null!==Ge.body&&!(Ge.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Ge.body}));case"blob":return ht.pipe((0,U.U)(Ge=>{if(null!==Ge.body&&!(Ge.body instanceof Blob))throw new Error("Response is not a Blob.");return Ge.body}));case"text":return ht.pipe((0,U.U)(Ge=>{if(null!==Ge.body&&"string"!=typeof Ge.body)throw new Error("Response is not a string.");return Ge.body}));default:return ht.pipe((0,U.U)(Ge=>Ge.body))}case"response":return ht;default:throw new Error(`Unreachable: unhandled observe type ${ve.observe}}`)}}delete(W,se={}){return this.request("DELETE",W,se)}get(W,se={}){return this.request("GET",W,se)}head(W,se={}){return this.request("HEAD",W,se)}jsonp(W,se){return this.request("JSONP",W,{params:(new Ze).append(se,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(W,se={}){return this.request("OPTIONS",W,se)}patch(W,se,ve={}){return this.request("PATCH",W,Ut(ve,se))}post(W,se,ve={}){return this.request("POST",W,Ut(ve,se))}put(W,se,ve={}){return this.request("PUT",W,Ut(ve,se))}static#e=this.\u0275fac=function(se){return new(se||J)(T.LFG(Z))};static#t=this.\u0275prov=T.Yz7({token:J,factory:J.\u0275fac})}return J})();const Nn=/^\)\]\}',?\n/;function Fn(J){if(J.url)return J.url;const z="X-Request-URL".toLocaleLowerCase();return J.headers.get(z)}let Qn=(()=>{class J{constructor(){this.fetchImpl=(0,T.f3M)(Xr,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,T.f3M)(T.R0b)}handle(W){return new V.y(se=>{const ve=new AbortController;return this.doRequest(W,ve.signal,se).then(Ns,_e=>se.error(new ut({error:_e}))),()=>ve.abort()})}doRequest(W,se,ve){var _e=this;return(0,m.Z)(function*(){const Se=_e.createRequestInit(W);let ht;try{const sn=_e.fetchImpl(W.urlWithParams,{signal:se,...Se});(function Sr(J){J.then(Ns,Ns)})(sn),ve.next({type:nn.Sent}),ht=yield sn}catch(sn){return void ve.error(new ut({error:sn,status:sn.status??0,statusText:sn.statusText,url:W.urlWithParams,headers:sn.headers}))}const Ge=new pe(ht.headers),Ht=ht.statusText,Rt=Fn(ht)??W.urlWithParams;let _t=ht.status,jt=null;if(W.reportProgress&&ve.next(new Ae({headers:Ge,status:_t,statusText:Ht,url:Rt})),ht.body){const sn=ht.headers.get("content-length"),xe=[],gt=ht.body.getReader();let en,on,pn=0;const ys=typeof Zone<"u"&&Zone.current;yield _e.ngZone.runOutsideAngular((0,m.Z)(function*(){for(;;){const{done:vs,value:ur}=yield gt.read();if(vs)break;if(xe.push(ur),pn+=ur.length,W.reportProgress){on="text"===W.responseType?(on??"")+(en??=new TextDecoder).decode(ur,{stream:!0}):void 0;const dt=()=>ve.next({type:nn.DownloadProgress,total:sn?+sn:void 0,loaded:pn,partialText:on});ys?ys.run(dt):dt()}}}));const Vt=_e.concatChunks(xe,pn);try{jt=_e.parseBody(W,Vt)}catch(vs){return void ve.error(new ut({error:vs,headers:new pe(ht.headers),status:ht.status,statusText:ht.statusText,url:Fn(ht)??W.urlWithParams}))}}0===_t&&(_t=jt?200:0),_t>=200&&_t<300?(ve.next(new Te({body:jt,headers:Ge,status:_t,statusText:Ht,url:Rt})),ve.complete()):ve.error(new ut({error:jt,headers:Ge,status:_t,statusText:Ht,url:Rt}))})()}parseBody(W,se){switch(W.responseType){case"json":const ve=(new TextDecoder).decode(se).replace(Nn,"");return""===ve?null:JSON.parse(ve);case"text":return(new TextDecoder).decode(se);case"blob":return new Blob([se]);case"arraybuffer":return se.buffer}}createRequestInit(W){const se={},ve=W.withCredentials?"include":void 0;if(W.headers.forEach((_e,Se)=>se[_e]=Se.join(",")),se.Accept??="application/json, text/plain, */*",!se["Content-Type"]){const _e=W.detectContentTypeHeader();null!==_e&&(se["Content-Type"]=_e)}return{body:W.serializeBody(),method:W.method,headers:se,credentials:ve}}concatChunks(W,se){const ve=new Uint8Array(se);let _e=0;for(const Se of W)ve.set(Se,_e),_e+=Se.length;return ve}static#e=this.\u0275fac=function(se){return new(se||J)};static#t=this.\u0275prov=T.Yz7({token:J,factory:J.\u0275fac})}return J})();class Xr{}function Ns(){}function ps(J,z){return z(J)}function ot(J,z){return(W,se)=>z.intercept(W,{handle:ve=>J(ve,se)})}const Rs=new T.OlP(""),kn=new T.OlP(""),Wt=new T.OlP(""),Ur=new T.OlP("");function An(){let J=null;return(z,W)=>{null===J&&(J=((0,T.f3M)(Rs,{optional:!0})??[]).reduceRight(ot,ps));const se=(0,T.f3M)(T.HDt),ve=se.add();return J(z,W).pipe((0,j.x)(()=>se.remove(ve)))}}let mn=(()=>{class J extends Z{constructor(W,se){super(),this.backend=W,this.injector=se,this.chain=null,this.pendingTasks=(0,T.f3M)(T.HDt);const ve=(0,T.f3M)(Ur,{optional:!0});this.backend=ve??W}handle(W){if(null===this.chain){const ve=Array.from(new Set([...this.injector.get(kn),...this.injector.get(Wt,[])]));this.chain=ve.reduceRight((_e,Se)=>function jr(J,z,W){return(se,ve)=>W.runInContext(()=>z(se,_e=>J(_e,ve)))}(_e,Se,this.injector),ps)}const se=this.pendingTasks.add();return this.chain(W,ve=>this.backend.handle(ve)).pipe((0,j.x)(()=>this.pendingTasks.remove(se)))}static#e=this.\u0275fac=function(se){return new(se||J)(T.LFG(oe),T.LFG(T.lqb))};static#t=this.\u0275prov=T.Yz7({token:J,factory:J.\u0275fac})}return J})();const tt=/^\)\]\}',?\n/;let Oe=(()=>{class J{constructor(W){this.xhrFactory=W}handle(W){if("JSONP"===W.method)throw new T.vHH(-2800,!1);const se=this.xhrFactory;return(se.\u0275loadImpl?(0,Y.D)(se.\u0275loadImpl()):(0,Q.of)(null)).pipe((0,N.w)(()=>new V.y(_e=>{const Se=se.build();if(Se.open(W.method,W.urlWithParams),W.withCredentials&&(Se.withCredentials=!0),W.headers.forEach((xe,gt)=>Se.setRequestHeader(xe,gt.join(","))),W.headers.has("Accept")||Se.setRequestHeader("Accept","application/json, text/plain, */*"),!W.headers.has("Content-Type")){const xe=W.detectContentTypeHeader();null!==xe&&Se.setRequestHeader("Content-Type",xe)}if(W.responseType){const xe=W.responseType.toLowerCase();Se.responseType="json"!==xe?xe:"text"}const ht=W.serializeBody();let Ge=null;const Ht=()=>{if(null!==Ge)return Ge;const xe=Se.statusText||"OK",gt=new pe(Se.getAllResponseHeaders()),pn=function jn(J){return"responseURL"in J&&J.responseURL?J.responseURL:/^X-Request-URL:/m.test(J.getAllResponseHeaders())?J.getResponseHeader("X-Request-URL"):null}(Se)||W.url;return Ge=new Ae({headers:gt,status:Se.status,statusText:xe,url:pn}),Ge},Rt=()=>{let{headers:xe,status:gt,statusText:pn,url:en}=Ht(),on=null;204!==gt&&(on=typeof Se.response>"u"?Se.responseText:Se.response),0===gt&&(gt=on?200:0);let ys=gt>=200&><300;if("json"===W.responseType&&"string"==typeof on){const Vt=on;on=on.replace(tt,"");try{on=""!==on?JSON.parse(on):null}catch(vs){on=Vt,ys&&(ys=!1,on={error:vs,text:on})}}ys?(_e.next(new Te({body:on,headers:xe,status:gt,statusText:pn,url:en||void 0})),_e.complete()):_e.error(new ut({error:on,headers:xe,status:gt,statusText:pn,url:en||void 0}))},_t=xe=>{const{url:gt}=Ht(),pn=new ut({error:xe,status:Se.status||0,statusText:Se.statusText||"Unknown Error",url:gt||void 0});_e.error(pn)};let jt=!1;const En=xe=>{jt||(_e.next(Ht()),jt=!0);let gt={type:nn.DownloadProgress,loaded:xe.loaded};xe.lengthComputable&&(gt.total=xe.total),"text"===W.responseType&&Se.responseText&&(gt.partialText=Se.responseText),_e.next(gt)},sn=xe=>{let gt={type:nn.UploadProgress,loaded:xe.loaded};xe.lengthComputable&&(gt.total=xe.total),_e.next(gt)};return Se.addEventListener("load",Rt),Se.addEventListener("error",_t),Se.addEventListener("timeout",_t),Se.addEventListener("abort",_t),W.reportProgress&&(Se.addEventListener("progress",En),null!==ht&&Se.upload&&Se.upload.addEventListener("progress",sn)),Se.send(ht),_e.next({type:nn.Sent}),()=>{Se.removeEventListener("error",_t),Se.removeEventListener("abort",_t),Se.removeEventListener("load",Rt),Se.removeEventListener("timeout",_t),W.reportProgress&&(Se.removeEventListener("progress",En),null!==ht&&Se.upload&&Se.upload.removeEventListener("progress",sn)),Se.readyState!==Se.DONE&&Se.abort()}})))}static#e=this.\u0275fac=function(se){return new(se||J)(T.LFG(P.JF))};static#t=this.\u0275prov=T.Yz7({token:J,factory:J.\u0275fac})}return J})();const Mn=new T.OlP("XSRF_ENABLED"),Tr=new T.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),je=new T.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class yn{}let vn=(()=>{class J{constructor(W,se,ve){this.doc=W,this.platform=se,this.cookieName=ve,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const W=this.doc.cookie||"";return W!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,P.Mx)(W,this.cookieName),this.lastCookieString=W),this.lastToken}static#e=this.\u0275fac=function(se){return new(se||J)(T.LFG(P.K0),T.LFG(T.Lbi),T.LFG(Tr))};static#t=this.\u0275prov=T.Yz7({token:J,factory:J.\u0275fac})}return J})();function Zn(J,z){const W=J.url.toLowerCase();if(!(0,T.f3M)(Mn)||"GET"===J.method||"HEAD"===J.method||W.startsWith("http://")||W.startsWith("https://"))return z(J);const se=(0,T.f3M)(yn).getToken(),ve=(0,T.f3M)(je);return null!=se&&!J.headers.has(ve)&&(J=J.clone({headers:J.headers.set(ve,se)})),z(J)}var Jn=function(J){return J[J.Interceptors=0]="Interceptors",J[J.LegacyInterceptors=1]="LegacyInterceptors",J[J.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",J[J.NoXsrfProtection=3]="NoXsrfProtection",J[J.JsonpSupport=4]="JsonpSupport",J[J.RequestsMadeViaParent=5]="RequestsMadeViaParent",J[J.Fetch=6]="Fetch",J}(Jn||{});function Kt(J,z){return{\u0275kind:J,\u0275providers:z}}function dn(...J){const z=[bn,Oe,mn,{provide:Z,useExisting:mn},{provide:oe,useExisting:Oe},{provide:kn,useValue:Zn,multi:!0},{provide:Mn,useValue:!0},{provide:yn,useClass:vn}];for(const W of J)z.push(...W.\u0275providers);return(0,T.MR2)(z)}const Xe=new T.OlP("LEGACY_INTERCEPTOR_FN");function te(){return Kt(Jn.LegacyInterceptors,[{provide:Xe,useFactory:An},{provide:kn,useExisting:Xe,multi:!0}])}function Ne(){return Kt(Jn.Fetch,[Qn,{provide:oe,useExisting:Qn},{provide:Ur,useExisting:Qn}])}let nt=(()=>{class J{static#e=this.\u0275fac=function(se){return new(se||J)};static#t=this.\u0275mod=T.oAB({type:J});static#n=this.\u0275inj=T.cJS({providers:[dn(te())]})}return J})();const fn="b",qn="h",qt="s",Hr="st",gs="u",yr="rt",Ar=new T.OlP(""),di=["GET","HEAD"];function fi(J,z){const{isCacheActive:W,...se}=(0,T.f3M)(Ar),{transferCache:ve,method:_e}=J;if(!W||"POST"===_e&&!se.includePostRequests&&!ve||"POST"!==_e&&!di.includes(_e)||!1===ve||!1===se.filter?.(J))return z(J);const Se=(0,T.f3M)(T.kie),ht=function hn(J){const{params:z,method:W,responseType:se,url:ve}=J,_e=z.keys().sort().map(Ge=>`${Ge}=${z.getAll(Ge)}`).join("&"),ht=function rn(J){let z=0;for(const W of J)z=Math.imul(31,z)+W.charCodeAt(0)<<0;return z+=2147483648,z.toString()}(W+"."+se+"."+ve+"?"+_e);return(0,T.Cb6)(ht)}(J),Ge=Se.get(ht,null);let Ht=se.includeHeaders;if("object"==typeof ve&&ve.includeHeaders&&(Ht=ve.includeHeaders),Ge){const{[fn]:Rt,[yr]:_t,[qn]:jt,[qt]:En,[Hr]:sn,[gs]:xe}=Ge;let gt=Rt;switch(_t){case"arraybuffer":gt=(new TextEncoder).encode(Rt).buffer;break;case"blob":gt=new Blob([Rt])}let pn=new pe(jt);return(0,Q.of)(new Te({body:gt,headers:pn,status:En,statusText:sn,url:xe}))}return z(J).pipe((0,R.b)(Rt=>{Rt instanceof Te&&Se.set(ht,{[fn]:Rt.body,[qn]:ms(Rt.headers,Ht),[qt]:Rt.status,[Hr]:Rt.statusText,[gs]:Rt.url||"",[yr]:J.responseType})}))}function ms(J,z){if(!z)return{};const W={};for(const se of z){const ve=J.getAll(se);null!==ve&&(W[se]=ve)}return W}function Qe(J){return[{provide:Ar,useFactory:()=>((0,T.kO0)("NgHttpTransferCache"),{isCacheActive:!0,...J})},{provide:Wt,useValue:fi,multi:!0,deps:[T.kie,Ar]},{provide:T.tb,multi:!0,useFactory:()=>{const z=(0,T.f3M)(T.z2F),W=(0,T.f3M)(Ar);return()=>{(0,T.SAR)(z).then(()=>{W.isCacheActive=!1})}}}]}},7085:(Me,ee,p)=>{"use strict";p.d(ee,{Z:()=>Q});const m=void 0,Q=["es-CL",[["a.\xa0m.","p.\xa0m."],m,m],m,[["d","l","m","m","j","v","s"],["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["do","lu","ma","mi","ju","vi","s\xe1"]],[["D","L","M","M","J","V","S"],["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene","feb","mar","abr","may","jun","jul","ago","sept","oct","nov","dic"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene.","feb.","mar.","abr.","may.","jun.","jul.","ago.","sept.","oct.","nov.","dic."],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],[["a. C.","d. C."],m,["antes de Cristo","despu\xe9s de Cristo"]],1,[6,0],["dd-MM-yy","dd-MM-y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}","{1} {0}","{1}, {0}",m],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","\xa4#,##0.00;\xa4-#,##0.00","#E0"],"CLP","$","Peso chileno",{AUD:[m,"$"],BRL:[m,"R$"],BYN:[m,"\u0440."],CAD:[m,"$"],CLP:["$"],CNY:[m,"\xa5"],ESP:["\u20a7"],EUR:[m,"\u20ac"],FKP:[m,"FK\xa3"],GBP:[m,"\xa3"],HKD:[m,"$"],ILS:[m,"\u20aa"],INR:[m,"\u20b9"],JPY:[m,"\xa5"],KRW:[m,"\u20a9"],MXN:[m,"$"],NZD:[m,"$"],PHP:[m,"\u20b1"],RON:[m,"L"],SSP:[m,"SD\xa3"],SYP:[m,"S\xa3"],TWD:[m,"NT$"],USD:["US$","$"],VEF:[m,"BsF"],VND:[m,"\u20ab"],XAF:[],XCD:[m,"$"],XOF:[]},"ltr",function T(V){const Y=V,F=Math.floor(Math.abs(V)),B=V.toString().replace(/^[^.]*\.?/,"").length,U=parseInt(V.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return 1===Y?1:0===U&&0!==F&&F%1e6==0&&0===B||!(U>=0&&U<=5)?4:5}]},9980:(Me,ee,p)=>{"use strict";p.d(ee,{QbO:()=>_0,tb:()=>th,AFp:()=>np,ip1:()=>xE,z2F:()=>Ia,Ojb:()=>O0,sBO:()=>Bg,Sil:()=>JT,_Vd:()=>qa,EJc:()=>WT,Xts:()=>$o,SBq:()=>el,lqb:()=>ii,qLn:()=>zi,vpe:()=>ai,tBr:()=>Bh,XFs:()=>xe,OlP:()=>dt,zs3:()=>As,ZZ4:()=>Id,aQg:()=>Sd,soG:()=>tu,YKP:()=>kv,h0i:()=>Do,R0b:()=>Wn,FiY:()=>zl,Lbi:()=>$u,g9A:()=>rp,n_E:()=>Jc,Qsj:()=>rb,FYo:()=>rg,JOm:()=>rc,q3G:()=>po,tp0:()=>Gl,Rgc:()=>wl,dDg:()=>wA,eoX:()=>zE,kie:()=>Za,GfV:()=>sg,s_b:()=>xc,ifc:()=>or,T8G:()=>Qg,VuI:()=>o_,MMx:()=>Uv,Lck:()=>YM,Gpc:()=>jn,f3M:()=>It,$WT:()=>Nr,MR2:()=>Pu,Cb6:()=>VC,Cb_:()=>a_,qFp:()=>c_,r_H:()=>E0,rg0:()=>lb,c2e:()=>LE,zSh:()=>Fu,HDt:()=>kE,wAp:()=>Da,vHH:()=>je,lri:()=>VE,rWj:()=>$E,JZr:()=>Un,EiD:()=>Qp,mCW:()=>fc,qzn:()=>Yo,JVY:()=>wC,pB0:()=>TC,eBb:()=>SC,L6k:()=>IC,LAX:()=>MC,cg1:()=>If,kuF:()=>yn,kL8:()=>Oy,dqk:()=>Vt,iPO:()=>_A,Z0I:()=>ht,eJc:()=>Bi,QGY:()=>Tf,F4k:()=>rv,kO0:()=>Gi,dwT:()=>LS,RDi:()=>T0,AaK:()=>Lt,WxS:()=>mr,z3N:()=>Ii,SAR:()=>nD,EGt:()=>s_,qOj:()=>Vd,Xq5:()=>sm,TTD:()=>Tt,_Bn:()=>Fv,jDz:()=>Bv,xp6:()=>Eg,uIk:()=>$d,Tol:()=>Cm,Gre:()=>Am,MT6:()=>_m,IyS:()=>Om,ekj:()=>Zd,um2:()=>Qm,Suo:()=>hE,EqZ:()=>my,FN0:()=>vy,II9:()=>Ey,UpJ:()=>Dy,cPc:()=>yy,Xpm:()=>is,lG2:()=>as,Yz7:()=>se,cJS:()=>_e,oAB:()=>Js,Yjl:()=>Di,Y36:()=>Jo,_UZ:()=>Df,GkF:()=>Cf,BQk:()=>$c,ynx:()=>Vc,qZA:()=>Hc,TgZ:()=>Bc,EpF:()=>_y,n5z:()=>xh,Ikx:()=>bf,LFG:()=>wn,$8M:()=>Mu,$Z:()=>Cg,NdJ:()=>Af,CRH:()=>pE,kcU:()=>Dh,O4$:()=>Eh,oxw:()=>av,ALo:()=>sE,lcZ:()=>iE,xi3:()=>oE,Dn7:()=>aE,gM2:()=>lE,Hsn:()=>cv,F$t:()=>lv,Q6J:()=>Kd,s9C:()=>Of,MGl:()=>Yc,hYB:()=>Nf,DdM:()=>Qv,VKq:()=>Zv,WLB:()=>Xv,kEZ:()=>Jv,iGM:()=>dE,MAs:()=>yv,wJu:()=>qm,SjG:()=>Jm,x6l:()=>Xm,ikw:()=>Zm,KtG:()=>Rl,evT:()=>ip,Jf7:()=>sp,CHM:()=>Nl,oJD:()=>Zp,uOi:()=>dd,LSH:()=>ud,P3R:()=>Xp,B6R:()=>Hv,Udp:()=>Qd,WFA:()=>_f,d8E:()=>wf,YNc:()=>fa,W1O:()=>vE,_uU:()=>Tv,Oqu:()=>Rf,hij:()=>Qc,AsE:()=>Pf,lnq:()=>xf,Gf:()=>fE});let T=null,V=1;function F(e){const t=T;return T=e,t}function Z(e){if((!Ze(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==V)){if(!e.producerMustRecompute(e)&&!be(e))return e.dirty=!1,void(e.lastCleanEpoch=V);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=V}}function be(e){Pt(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Z(n),r!==n.version))return!0}return!1}function et(e,t){if(function ze(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),Pt(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)et(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],s=e.liveConsumerNode[t];Pt(s),s.producerIndexOfThis[r]=t}}function Ze(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Pt(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let nn=null;var jr=p(2484),Rs=p(4646),kn=p(2330),Wt=p(9718),Ur=p(462),An=p(9681),gr=p(9148);class mn{constructor(t,n){this.subjectFactory=t,this.selector=n}call(t,n){const{selector:r}=this,s=this.subjectFactory(),i=r(s).subscribe(t);return i.add(n.subscribe(s)),i}}var Sn=p(6159);function Ps(){return new jr.xQ}function Jt(){return e=>(0,Sn.x)()(function Jr(e,t){return function(r){let s;if(s="function"==typeof e?e:function(){return e},"function"==typeof t)return r.lift(new mn(s,t));const i=Object.create(r,gr.N);return i.source=r,i.subjectFactory=s,i}}(Ps)(e))}var Ct=p(6520),ft=p(5083),Br=p(7627);function yt(e){for(let t in e)if(e[t]===yt)return t;throw Error("Could not find renamed property on target object.")}function Rn(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Lt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Lt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function un(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}function mr(e,t=100){if(!e||t<1||e.length<=t)return e;if(1==t)return e.substring(0,1)+"...";const n=Math.round(t/2);return e.substring(0,n)+"..."+e.substring(e.length-n)}const tt=yt({__forward_ref__:yt});function jn(e){return e.__forward_ref__=jn,e.toString=function(){return Lt(this())},e}function Oe(e){return Mn(e)?e():e}function Mn(e){return"function"==typeof e&&e.hasOwnProperty(tt)&&e.__forward_ref__===jn}function Mr(e){return e&&!!e.\u0275providers}const Un="https://g.co/ng/security#xss";class je extends Error{constructor(t,n){super(yn(t,n)),this.code=t}}function yn(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}const vn=yt({\u0275cmp:yt}),Zn=yt({\u0275dir:yt}),Xn=yt({\u0275pipe:yt}),Jn=yt({\u0275mod:yt}),Kt=yt({\u0275fac:yt}),dn=yt({__NG_ELEMENT_ID__:yt}),qr=yt({__NG_ENV_ID__:yt});function Xe(e){return"string"==typeof e?e:null==e?"":String(e)}function Ve(e,t){throw new je(-201,!1)}function Qe(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function se(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function _e(e){return{providers:e.providers||[],imports:e.imports||[]}}function Se(e){return Ge(e,_t)||Ge(e,En)}function ht(e){return null!==Se(e)}function Ge(e,t){return e.hasOwnProperty(t)?e[t]:null}function Rt(e){return e&&(e.hasOwnProperty(jt)||e.hasOwnProperty(sn))?e[jt]:null}const _t=yt({\u0275prov:yt}),jt=yt({\u0275inj:yt}),En=yt({ngInjectableDef:yt}),sn=yt({ngInjectorDef:yt});var xe=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(xe||{});let gt;function pn(){return gt}function en(e){const t=gt;return gt=e,t}function on(e,t,n){const r=Se(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&xe.Optional?null:void 0!==t?t:void Ve(Lt(e))}const Vt=globalThis;class dt{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=se({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const _r={},xs="__NG_DI_FLAG__",es="ngTempTokenPath",ts=/\n/gm,Ws="__source";let Ls;function vr(e){const t=Ls;return Ls=e,t}function Ks(e,t=xe.Default){if(void 0===Ls)throw new je(-203,!1);return null===Ls?on(e,void 0,t):Ls.get(e,t&xe.Optional?null:void 0,t)}function wn(e,t=xe.Default){return(pn()||Ks)(Oe(e),t)}function It(e,t=xe.Default){return wn(e,Or(t))}function Or(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function rs(e){const t=[];for(let n=0;n<e.length;n++){const r=Oe(e[n]);if(Array.isArray(r)){if(0===r.length)throw new je(900,!1);let s,i=xe.Default;for(let o=0;o<r.length;o++){const a=r[o],h=mi(a);"number"==typeof h?-1===h?s=a.token:i|=h:s=a}t.push(wn(s,i))}else t.push(wn(r))}return t}function Fs(e,t){return e[xs]=t,e.prototype[xs]=t,e}function mi(e){return e[xs]}function Er(e){return{toString:e}.toString()}var Qs=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Qs||{}),or=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(or||{});const Dr={},St=[];function yi(e,t,n){let r=e.length;for(;;){const s=e.indexOf(t,n);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const i=t.length;if(s+i===r||e.charCodeAt(s+i)<=32)return s}n=s+1}}function er(e,t,n){let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const i=n[r++],o=n[r++],a=n[r++];e.setAttribute(t,o,a,i)}else{const i=s,o=n[++r];Ds(i)?e.setProperty(t,i,o):e.setAttribute(t,i,o),r++}}return r}function Zs(e){return 3===e||4===e||6===e}function Ds(e){return 64===e.charCodeAt(0)}function Vr(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const s=t[r];"number"==typeof s?n=s:0===n||vi(e,n,s,null,-1===n||2===n?t[++r]:null)}}return e}function vi(e,t,n,r,s){let i=0,o=e.length;if(-1===t)o=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){o=-1;break}if(a>t){o=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==s&&(e[i+1]=s));if(r===e[i+1])return void(e[i+2]=s)}i++,null!==r&&i++,null!==s&&i++}-1!==o&&(e.splice(o,0,t),i=o+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==s&&e.splice(i++,0,s)}const Xi="ng-template";function _i(e,t,n){let r=0,s=!0;for(;r<e.length;){let i=e[r++];if("string"==typeof i&&s){const o=e[r++];if(n&&"class"===i&&-1!==yi(o.toLowerCase(),t,0))return!0}else{if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}"number"==typeof i&&(s=!1)}}return!1}function wo(e){return 4===e.type&&e.value!==Xi}function Oi(e,t,n){return t===(4!==e.type||n?e.value:Xi)}function Ni(e,t,n){let r=4;const s=e.attrs||[],i=function Bn(e){for(let t=0;t<e.length;t++)if(Zs(e[t]))return t;return e.length}(s);let o=!1;for(let a=0;a<t.length;a++){const h=t[a];if("number"!=typeof h){if(!o)if(4&r){if(r=2|1&r,""!==h&&!Oi(e,h,n)||""===h&&1===t.length){if(dr(r))return!1;o=!0}}else{const D=8&r?h:t[++a];if(8&r&&null!==e.attrs){if(!_i(e.attrs,D,n)){if(dr(r))return!1;o=!0}continue}const _=Ji(8&r?"class":h,s,wo(e),n);if(-1===_){if(dr(r))return!1;o=!0;continue}if(""!==D){let H;H=_>i?"":s[_+1].toLowerCase();const X=8&r?H:null;if(X&&-1!==yi(X,D,0)||2&r&&D!==H){if(dr(r))return!1;o=!0}}}}else{if(!o&&!dr(r)&&!dr(h))return!1;if(o&&dr(h))continue;o=!1,r=h|1&r}}return dr(r)||o}function dr(e){return 0==(1&e)}function Ji(e,t,n,r){if(null===t)return-1;let s=0;if(r||!n){let i=!1;for(;s<t.length;){const o=t[s];if(o===e)return s;if(3===o||6===o)i=!0;else{if(1===o||2===o){let a=t[++s];for(;"string"==typeof a;)a=t[++s];continue}if(4===o)break;if(0===o){s+=4;continue}}s+=i?1:2}return-1}return function Hn(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Ei(e,t,n=!1){for(let r=0;r<t.length;r++)if(Ni(e,t[r],n))return!0;return!1}function qi(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let s=0;s<e.length;s++)if(e[s]!==r[s])continue e;return!0}}return!1}function Cs(e,t){return e?":not("+t.trim()+")":t}function Io(e){let t=e[0],n=1,r=2,s="",i=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&r){const a=e[++n];s+="["+o+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?s+="."+o:4&r&&(s+=" "+o);else""!==s&&!dr(o)&&(t+=Cs(i,s),s=""),r=o,i=i||!dr(r);n++}return""!==s&&(t+=Cs(i,s)),t}function is(e){return Er(()=>{const t=eo(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Qs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||or.Emulated,styles:e.styles||St,_:null,schemas:e.schemas||null,tView:null,id:""};to(n);const r=e.dependencies;return n.directiveDefs=$t(r,!1),n.pipeDefs=$t(r,!0),n.id=function Ta(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,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].join("|");for(const s of n)t=Math.imul(31,t)+s.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function Xs(e){return vt(e)||an(e)}function Mo(e){return null!==e}function Js(e){return Er(()=>({type:e.type,bootstrap:e.bootstrap||St,declarations:e.declarations||St,imports:e.imports||St,exports:e.exports||St,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function os(e,t){if(null==e)return Dr;const n={};for(const r in e)if(e.hasOwnProperty(r)){let s=e[r],i=s;Array.isArray(s)&&(i=s[1],s=s[0]),n[s]=r,t&&(t[s]=i)}return n}function as(e){return Er(()=>{const t=eo(e);return to(t),t})}function Di(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function vt(e){return e[vn]||null}function an(e){return e[Zn]||null}function Yt(e){return e[Xn]||null}function Nr(e){const t=vt(e)||an(e)||Yt(e);return null!==t&&t.standalone}function Tn(e,t){const n=e[Jn]||null;if(!n&&!0===t)throw new Error(`Type ${Lt(e)} does not have '\u0275mod' property.`);return n}function eo(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,inputTransforms:null,inputConfig:e.inputs||Dr,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||St,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:os(e.inputs,t),outputs:os(e.outputs),debugInfo:null}}function to(e){e.features?.forEach(t=>t(e))}function $t(e,t){if(!e)return null;const n=t?Yt:Xs;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(Mo)}const ln=0,Ie=1,Je=2,Ft=3,Cr=4,Pn=5,Rr=6,qs=7,Qt=8,On=9,bs=10,at=11,ls=12,cs=13,ws=14,Zt=15,Pr=16,ar=17,$r=18,ei=19,Ci=20,zr=21,js=22,Is=23,rt=25,bi=1,no=2,Pi=6,br=7,xr=9,w=10,l=11;function d(e){return Array.isArray(e)&&"object"==typeof e[bi]}function E(e){return Array.isArray(e)&&!0===e[bi]}function M(e){return 0!=(4&e.flags)}function O(e){return e.componentOffset>-1}function $(e){return 1==(1&e.flags)}function G(e){return!!e.template}function ne(e){return 0!=(512&e[Je])}function ke(e){return 256==(256&e[Je])}function He(e,t){return e.hasOwnProperty(Kt)?e[Kt]:null}class We{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Tt(){return In}function In(e){return e.type.prototype.ngOnChanges&&(e.setInput=fr),Gr}function Gr(){const e=tn(this),t=e?.current;if(t){const n=e.previous;if(n===Dr)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fr(e,t,n,r){const s=this.declaredInputs[n],i=tn(e)||function ti(e,t){return e[Wr]=t}(e,{previous:Dr,current:null}),o=i.current||(i.current={}),a=i.previous,h=a[s];o[s]=new We(h&&h.currentValue,t,a===Dr),e[r]=t}Tt.ngInherit=!0;const Wr="__ngSimpleChanges__";function tn(e){return e[Wr]||null}const zn=function(e,t,n){},hr="svg";function Bt(e){for(;Array.isArray(e);)e=e[ln];return e}function ni(e,t){return Bt(t[e])}function pr(e,t){return Bt(t[e.index])}function Li(e,t){return e.data[t]}function ro(e,t){return e[t]}function Kr(e,t){const n=t[e];return d(n)?n:n[ln]}function so(e){return 128==(128&e[Je])}function Ss(e,t){return null==t?null:e[t]}function _a(e){e[ar]=0}function Ms(e){1024&e[Je]||(e[Je]|=1024,so(e)&&Oa(e))}function _l(e,t){for(;e>0;)t=t[ws],e--;return t}function hu(e){9216&e[Je]&&Oa(e)}function Oa(e){let t=e[Ft];for(;null!==t&&!(E(t)&&t[Pi]||d(t)&&8192&t[Je]);){if(E(t))t[Pi]=!0;else if(t[Je]|=8192,!so(t))break;t=t[Ft]}}function Na(e,t){if(256==(256&e[Je]))throw new je(911,!1);null===e[zr]&&(e[zr]=[]),e[zr].push(t)}function Ao(e,t){if(null===e[zr])return;const n=e[zr].indexOf(t);-1!==n&&e[zr].splice(n,1)}const lt={lFrame:ki(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Ra(){return lt.bindingsEnabled}function io(){return null!==lt.skipHydrationRootTNode}function ge(){return lt.lFrame.lView}function Nt(){return lt.lFrame.tView}function Nl(e){return lt.lFrame.contextLView=e,e[Qt]}function Rl(e){return lt.lFrame.contextLView=null,e}function Xt(){let e=Pl();for(;null!==e&&64===e.type;)e=e.parent;return e}function Pl(){return lt.lFrame.currentTNode}function Ts(e,t){const n=lt.lFrame;n.currentTNode=e,n.isParent=t}function Oo(){return lt.lFrame.isParent}function Pa(){lt.lFrame.isParent=!1}function wr(){const e=lt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ri(){return lt.lFrame.bindingIndex}function c(){return lt.lFrame.bindingIndex++}function g(e){const t=lt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function C(e,t){const n=lt.lFrame;n.bindingIndex=n.bindingRootIndex=e,k(t)}function k(e){lt.lFrame.currentDirectiveIndex=e}function ae(e){const t=lt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function ie(){return lt.lFrame.currentQueryIndex}function Re(e){lt.lFrame.currentQueryIndex=e}function Dt(e){const t=e[Ie];return 2===t.type?t.declTNode:1===t.type?e[Pn]:null}function wt(e,t,n){if(n&xe.SkipSelf){let s=t,i=e;for(;!(s=s.parent,null!==s||n&xe.Host||(s=Dt(i),null===s||(i=i[ws],10&s.type))););if(null===s)return!1;t=s,e=i}const r=lt.lFrame=Fi();return r.currentTNode=t,r.lView=e,!0}function Dn(e){const t=Fi(),n=e[Ie];lt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Fi(){const e=lt.lFrame,t=null===e?null:e.child;return null===t?ki(e):t}function ki(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function ji(){const e=lt.lFrame;return lt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const No=ji;function Us(){const e=ji();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Lr(){return lt.lFrame.selectedIndex}function ao(e){lt.lFrame.selectedIndex=e}function Cn(){const e=lt.lFrame;return Li(e.tView,e.selectedIndex)}function Eh(){lt.lFrame.currentNamespace=hr}function Dh(){!function AD(){lt.lFrame.currentNamespace=null}()}function Ch(){return lt.lFrame.currentNamespace}let bh=!0;function xl(){return bh}function Ui(e){bh=e}function Ll(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:o,ngAfterContentChecked:a,ngAfterViewInit:h,ngAfterViewChecked:D,ngOnDestroy:S}=i;o&&(e.contentHooks??=[]).push(-n,o),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),h&&(e.viewHooks??=[]).push(-n,h),D&&((e.viewHooks??=[]).push(n,D),(e.viewCheckHooks??=[]).push(n,D)),null!=S&&(e.destroyHooks??=[]).push(n,S)}}function Fl(e,t,n){wh(e,t,3,n)}function kl(e,t,n,r){(3&e[Je])===n&&wh(e,t,n,r)}function Eu(e,t){let n=e[Je];(3&n)===t&&(n&=16383,n+=1,e[Je]=n)}function wh(e,t,n,r){const i=r??-1,o=t.length-1;let a=0;for(let h=void 0!==r?65535&e[ar]:0;h<o;h++)if("number"==typeof t[h+1]){if(a=t[h],null!=r&&a>=r)break}else t[h]<0&&(e[ar]+=65536),(a<i||-1==i)&&(OD(e,n,t,h),e[ar]=(4294901760&e[ar])+h+2),h++}function Ih(e,t){zn(4,e,t);const n=F(null);try{t.call(e)}finally{F(n),zn(5,e,t)}}function OD(e,t,n,r){const s=n[r]<0,i=n[r+1],a=e[s?-n[r]:n[r]];s?e[Je]>>14<e[ar]>>16&&(3&e[Je])===t&&(e[Je]+=16384,Ih(a,i)):Ih(a,i)}const Ro=-1;class xa{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Cu(e){return e!==Ro}function La(e){return 32767&e}function Fa(e,t){let n=function LD(e){return e>>16}(e),r=t;for(;n>0;)r=r[ws],n--;return r}let bu=!0;function jl(e){const t=bu;return bu=e,t}const Sh=255,Mh=5;let FD=0;const si={};function Ul(e,t){const n=Th(e,t);if(-1!==n)return n;const r=t[Ie];r.firstCreatePass&&(e.injectorIndex=t.length,wu(r.data,e),wu(t,null),wu(r.blueprint,null));const s=Bl(e,t),i=e.injectorIndex;if(Cu(s)){const o=La(s),a=Fa(s,t),h=a[Ie].data;for(let D=0;D<8;D++)t[i+D]=a[o+D]|h[o+D]}return t[i+8]=s,i}function wu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Th(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Bl(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,s=t;for(;null!==s;){if(r=Lh(s),null===r)return Ro;if(n++,s=s[ws],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ro}function Iu(e,t,n){!function kD(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(dn)&&(r=n[dn]),null==r&&(r=n[dn]=FD++);const s=r&Sh;t.data[e+(s>>Mh)]|=1<<s}(e,t,n)}function Ah(e,t,n){if(n&xe.Optional||void 0!==e)return e;Ve()}function _h(e,t,n,r){if(n&xe.Optional&&void 0===r&&(r=null),!(n&(xe.Self|xe.Host))){const s=e[On],i=en(void 0);try{return s?s.get(t,r,n&xe.Optional):on(t,r,n&xe.Optional)}finally{en(i)}}return Ah(r,0,n)}function Oh(e,t,n,r=xe.Default,s){if(null!==e){if(2048&t[Je]&&!(r&xe.Self)){const o=function VD(e,t,n,r,s){let i=e,o=t;for(;null!==i&&null!==o&&2048&o[Je]&&!(512&o[Je]);){const a=Nh(i,o,n,r|xe.Self,si);if(a!==si)return a;let h=i.parent;if(!h){const D=o[Ci];if(D){const S=D.get(n,si,r);if(S!==si)return S}h=Lh(o),o=o[ws]}i=h}return s}(e,t,n,r,si);if(o!==si)return o}const i=Nh(e,t,n,r,si);if(i!==si)return i}return _h(t,n,r,s)}function Nh(e,t,n,r,s){const i=function BD(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(dn)?e[dn]:void 0;return"number"==typeof t?t>=0?t&Sh:HD:t}(n);if("function"==typeof i){if(!wt(t,e,r))return r&xe.Host?Ah(s,0,r):_h(t,n,r,s);try{let o;if(o=i(r),null!=o||r&xe.Optional)return o;Ve()}finally{No()}}else if("number"==typeof i){let o=null,a=Th(e,t),h=Ro,D=r&xe.Host?t[Zt][Pn]:null;for((-1===a||r&xe.SkipSelf)&&(h=-1===a?Bl(e,t):t[a+8],h!==Ro&&Ph(r,!1)?(o=t[Ie],a=La(h),t=Fa(h,t)):a=-1);-1!==a;){const S=t[Ie];if(Rh(i,a,S.data)){const _=UD(a,t,n,o,r,D);if(_!==si)return _}h=t[a+8],h!==Ro&&Ph(r,t[Ie].data[a+8]===D)&&Rh(i,a,t)?(o=S,a=La(h),t=Fa(h,t)):a=-1}}return s}function UD(e,t,n,r,s,i){const o=t[Ie],a=o.data[e+8],S=Hl(a,o,n,null==r?O(a)&&bu:r!=o&&0!=(3&a.type),s&xe.Host&&i===a);return null!==S?lo(t,o,S,a):si}function Hl(e,t,n,r,s){const i=e.providerIndexes,o=t.data,a=1048575&i,h=e.directiveStart,S=i>>20,H=s?a+S:e.directiveEnd;for(let X=r?a:a+S;X<H;X++){const ce=o[X];if(X<h&&n===ce||X>=h&&ce.type===n)return X}if(s){const X=o[h];if(X&&G(X)&&X.type===n)return h}return null}function lo(e,t,n,r){let s=e[n];const i=t.data;if(function ND(e){return e instanceof xa}(s)){const o=s;o.resolving&&function K(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new je(-200,`Circular dependency in DI detected for ${e}${n}`)}(function te(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Xe(e)}(i[n]));const a=jl(o.canSeeViewProviders);o.resolving=!0;const D=o.injectImpl?en(o.injectImpl):null;wt(e,r,xe.Default);try{s=e[n]=o.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function _D(e,t,n){const{ngOnChanges:r,ngOnInit:s,ngDoCheck:i}=t.type.prototype;if(r){const o=In(t);(n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o)}s&&(n.preOrderHooks??=[]).push(0-e,s),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==D&&en(D),jl(a),o.resolving=!1,No()}}return s}function Rh(e,t,n){return!!(n[t+(e>>Mh)]&1<<e)}function Ph(e,t){return!(e&xe.Self||e&xe.Host&&t)}class tr{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Oh(this._tNode,this._lView,t,Or(r),n)}}function HD(){return new tr(Xt(),ge())}function xh(e){return Er(()=>{const t=e.prototype.constructor,n=t[Kt]||Su(t),r=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==r;){const i=s[Kt]||Su(s);if(i&&i!==n)return i;s=Object.getPrototypeOf(s)}return i=>new i})}function Su(e){return Mn(e)?()=>{const t=Su(Oe(e));return t&&t()}:He(e)}function Lh(e){const t=e[Ie],n=t.type;return 2===n?t.declTNode:1===n?e[Pn]:null}function Mu(e){return function jD(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let s=0;for(;s<r;){const i=n[s];if(Zs(i))break;if(0===i)s+=2;else if("number"==typeof i)for(s++;s<r&&"string"==typeof n[s];)s++;else{if(i===t)return n[s+1];s+=2}}}return null}(Xt(),e)}const Fo="__parameters__";function jo(e,t,n){return Er(()=>{const r=function Tu(e){return function(...n){if(e){const r=e(...n);for(const s in r)this[s]=r[s]}}}(t);function s(...i){if(this instanceof s)return r.apply(this,i),this;const o=new s(...i);return a.annotation=o,a;function a(h,D,S){const _=h.hasOwnProperty(Fo)?h[Fo]:Object.defineProperty(h,Fo,{value:[]})[Fo];for(;_.length<=S;)_.push(null);return(_[S]=_[S]||[]).push(o),h}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}function Bo(e,t){e.forEach(n=>Array.isArray(n)?Bo(n,t):t(n))}function kh(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Vl(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ja(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function ds(e,t,n){let r=Ho(e,t);return r>=0?e[1|r]=n:(r=~r,function jh(e,t,n,r){let s=e.length;if(s==t)e.push(n,r);else if(1===s)e.push(r,e[0]),e[0]=n;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function _u(e,t){const n=Ho(e,t);if(n>=0)return e[1|n]}function Ho(e,t){return function Uh(e,t,n){let r=0,s=e.length>>n;for(;s!==r;){const i=r+(s-r>>1),o=e[i<<n];if(t===o)return i<<n;o>t?s=i:r=i+1}return~(s<<n)}(e,t,1)}const Bh=Fs(jo("Inject",e=>({token:e})),-1),zl=Fs(jo("Optional"),8),Gl=Fs(jo("SkipSelf"),4),$o=new dt("ENVIRONMENT_INITIALIZER"),zh=new dt("INJECTOR",-1),Ru=new dt("INJECTOR_DEF_TYPES");class Kl{get(t,n=_r){if(n===_r){const r=new Error(`NullInjectorError: No provider for ${Lt(t)}!`);throw r.name="NullInjectorError",r}return n}}function Pu(e){return{\u0275providers:e}}function u0(...e){return{\u0275providers:Gh(0,e),\u0275fromNgModule:!0}}function Gh(e,...t){const n=[],r=new Set;let s;const i=o=>{n.push(o)};return Bo(t,o=>{const a=o;Yl(a,i,[],r)&&(s||=[],s.push(a))}),void 0!==s&&Wh(s,i),n}function Wh(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:s}=e[n];xu(s,i=>{t(i,r)})}}function Yl(e,t,n,r){if(!(e=Oe(e)))return!1;let s=null,i=Rt(e);const o=!i&&vt(e);if(i||o){if(o&&!o.standalone)return!1;s=e}else{const h=e.ngModule;if(i=Rt(h),!i)return!1;s=h}const a=r.has(s);if(o){if(a)return!1;if(r.add(s),o.dependencies){const h="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const D of h)Yl(D,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let D;r.add(s);try{Bo(i.imports,S=>{Yl(S,t,n,r)&&(D||=[],D.push(S))})}finally{}void 0!==D&&Wh(D,t)}if(!a){const D=He(s)||(()=>new s);t({provide:s,useFactory:D,deps:St},s),t({provide:Ru,useValue:s,multi:!0},s),t({provide:$o,useValue:()=>wn(s),multi:!0},s)}const h=i.providers;if(null!=h&&!a){const D=e;xu(h,S=>{t(S,D)})}}}return s!==e&&void 0!==e.providers}function xu(e,t){for(let n of e)Mr(n)&&(n=n.\u0275providers),Array.isArray(n)?xu(n,t):t(n)}const d0=yt({provide:String,useValue:yt});function Lu(e){return null!==e&&"object"==typeof e&&d0 in e}function co(e){return"function"==typeof e}const Fu=new dt("Set Injector scope."),Ql={},h0={};let ku;function Zl(){return void 0===ku&&(ku=new Kl),ku}class ii{}class uo extends ii{get destroyed(){return this._destroyed}constructor(t,n,r,s){super(),this.parent=n,this.source=r,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Uu(t,o=>this.processProvider(o)),this.records.set(zh,zo(void 0,this)),s.has("environment")&&this.records.set(ii,zo(void 0,this));const i=this.records.get(Fu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ru,St,xe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=vr(this),r=en(void 0);try{return t()}finally{vr(n),en(r)}}get(t,n=_r,r=xe.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(qr))return t[qr](this);r=Or(r);const i=vr(this),o=en(void 0);try{if(!(r&xe.SkipSelf)){let h=this.records.get(t);if(void 0===h){const D=function v0(e){return"function"==typeof e||"object"==typeof e&&e instanceof dt}(t)&&Se(t);h=D&&this.injectableDefInScope(D)?zo(ju(t),Ql):null,this.records.set(t,h)}if(null!=h)return this.hydrate(t,h)}return(r&xe.Self?Zl():this.parent).get(t,n=r&xe.Optional&&n===_r?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[es]=a[es]||[]).unshift(Lt(t)),i)throw a;return function Zi(e,t,n,r){const s=e[es];throw t[Ws]&&s.unshift(t[Ws]),e.message=function ss(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let s=Lt(t);if(Array.isArray(t))s=t.map(Lt).join(" -> ");else if("object"==typeof t){let i=[];for(let o in t)if(t.hasOwnProperty(o)){let a=t[o];i.push(o+":"+("string"==typeof a?JSON.stringify(a):Lt(a)))}s=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(ts,"\n ")}`}("\n"+e.message,s,n,r),e.ngTokenPath=s,e[es]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{en(o),vr(i)}}resolveInjectorInitializers(){const t=vr(this),n=en(void 0);try{const s=this.get($o,St,xe.Self);for(const i of s)i()}finally{vr(t),en(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Lt(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new je(205,!1)}processProvider(t){let n=co(t=Oe(t))?t:Oe(t&&t.provide);const r=function g0(e){return Lu(e)?zo(void 0,e.useValue):zo(Qh(e),Ql)}(t);if(co(t)||!0!==t.multi)this.records.get(n);else{let s=this.records.get(n);s||(s=zo(void 0,Ql,!0),s.factory=()=>rs(s.multi),this.records.set(n,s)),n=t,s.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Ql&&(n.value=h0,n.value=n.factory()),"object"==typeof n.value&&n.value&&function y0(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Oe(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function ju(e){const t=Se(e),n=null!==t?t.factory:He(e);if(null!==n)return n;if(e instanceof dt)throw new je(204,!1);if(e instanceof Function)return function p0(e){const t=e.length;if(t>0)throw ja(t,"?"),new je(204,!1);const n=function Ht(e){return e&&(e[_t]||e[En])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new je(204,!1)}function Qh(e,t,n){let r;if(co(e)){const s=Oe(e);return He(s)||ju(s)}if(Lu(e))r=()=>Oe(e.useValue);else if(function Yh(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...rs(e.deps||[]));else if(function Kh(e){return!(!e||!e.useExisting)}(e))r=()=>wn(Oe(e.useExisting));else{const s=Oe(e&&(e.useClass||e.provide));if(!function m0(e){return!!e.deps}(e))return He(s)||ju(s);r=()=>new s(...rs(e.deps))}return r}function zo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Uu(e,t){for(const n of e)Array.isArray(n)?Uu(n,t):n&&Mr(n)?Uu(n.\u0275providers,t):t(n)}function E0(e,t){e instanceof uo&&e.assertNotDestroyed();const r=vr(e),s=en(void 0);try{return t()}finally{vr(r),en(s)}}function qh(e,t=null,n=null,r){const s=ep(e,t,n,r);return s.resolveInjectorInitializers(),s}function ep(e,t=null,n=null,r,s=new Set){const i=[n||St,u0(e)];return r=r||("object"==typeof e?void 0:Lt(e)),new uo(i,t||Zl(),r||null,s)}let Vu,As=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=_r;static#t=this.NULL=new Kl;static create(n,r){if(Array.isArray(n))return qh({name:""},r,n,"");{const s=n.name??"";return qh({name:s},n.parent,n.providers,s)}}static#n=this.\u0275prov=se({token:e,providedIn:"any",factory:()=>wn(zh)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();function Bi(e){return!!Tn(e)}function T0(e){Vu=e}function Hi(){if(void 0!==Vu)return Vu;if(typeof document<"u")return document;throw new je(210,!1)}const np=new dt("AppId",{providedIn:"root",factory:()=>A0}),A0="ng",rp=new dt("Platform Initializer"),$u=new dt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),_0=new dt("AnimationModuleType"),O0=new dt("CSP nonce",{providedIn:"root",factory:()=>Hi().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function sp(e){return e.ownerDocument.defaultView}function ip(e){return e.ownerDocument}function fs(e){return e instanceof Function?e():e}function Vi(e){return"browser"===(e??It(As)).get($u)}function Ku(e){Qe("Must never be called in production mode");const n=function ql(e){Qe("Must never be called in production mode");const n=e[Zt][Qt];return n&&n.constructor?vt(n.constructor):null}(e)?.type?.name;return n?` (used in the '${n}' component template)`:""}const Va="ngSkipHydration",k0="ngskiphydration";function hp(e){const t=e.mergedAttrs;if(null===t)return!1;for(let n=0;n<t.length;n+=2){const r=t[n];if("number"==typeof r)return!1;if("string"==typeof r&&r.toLowerCase()===k0)return!0}return!1}function pp(e){return e.hasAttribute(Va)}function tc(e){return 128==(128&e.flags)}var rc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(rc||{});const j0=/^>|^->|<!--|-->|--!>|<!-$/g,U0=/(<|>)/g,B0="\u200b$1\u200b";const Yu=new Map;let H0=0;const Zu="__ngContext__";function Ir(e,t){d(t)?(e[Zu]=t[ei],function $0(e){Yu.set(e[ei],e)}(t)):e[Zu]=t}let Xu;function Ju(e,t){return Xu(e,t)}function za(e){const t=e[Ft];return E(t)?t[Ft]:t}function wp(e){return Sp(e[ls])}function Ip(e){return Sp(e[Cr])}function Sp(e){for(;null!==e&&!E(e);)e=e[Cr];return e}function Wo(e,t,n,r,s){if(null!=r){let i,o=!1;E(r)?i=r:d(r)&&(o=!0,r=r[ln]);const a=Bt(r);0===e&&null!==n?null==s?_p(t,n,a):fo(t,n,a,s||null,!0):1===e&&null!==n?fo(t,n,a,s||null,!0):2===e?cc(t,a,o):3===e&&t.destroyNode(a),null!=i&&function dC(e,t,n,r,s){const i=n[br];i!==Bt(n)&&Wo(t,e,r,i,s);for(let a=l;a<n.length;a++){const h=n[a];Ka(h[Ie],h,e,t,r,i)}}(t,e,i,n,s)}}function sc(e,t){return e.createText(t)}function qu(e,t){return e.createComment(function gp(e){return e.replace(j0,t=>t.replace(U0,B0))}(t))}function ic(e,t,n){return e.createElement(t,n)}function Tp(e,t){const n=e[xr],r=n.indexOf(t);n.splice(r,1)}function Ga(e,t){if(e.length<=l)return;const n=l+t,r=e[n];if(r){const s=r[Pr];null!==s&&s!==e&&Tp(s,r),t>0&&(e[n-1][Cr]=r[Cr]);const i=Vl(e,l+t);!function eC(e,t){Ka(e,t,t[at],2,null,null),t[ln]=null,t[Pn]=null}(r[Ie],r);const o=i[$r];null!==o&&o.detachView(i[Ie]),r[Ft]=null,r[Cr]=null,r[Je]&=-129}return r}function oc(e,t){if(!(256&t[Je])){const n=t[at];t[Is]&&function Ke(e){if(Pt(e),Ze(e))for(let t=0;t<e.producerNode.length;t++)et(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}(t[Is]),n.destroyNode&&Ka(e,t,n,3,null,null),function rC(e){let t=e[ls];if(!t)return ed(e[Ie],e);for(;t;){let n=null;if(d(t))n=t[ls];else{const r=t[l];r&&(n=r)}if(!n){for(;t&&!t[Cr]&&t!==e;)d(t)&&ed(t[Ie],t),t=t[Ft];null===t&&(t=e),d(t)&&ed(t[Ie],t),n=t&&t[Cr]}t=n}}(t)}}function ed(e,t){if(!(256&t[Je])){t[Je]&=-129,t[Je]|=256,function aC(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const s=t[n[r]];if(!(s instanceof xa)){const i=n[r+1];if(Array.isArray(i))for(let o=0;o<i.length;o+=2){const a=s[i[o]],h=i[o+1];zn(4,a,h);try{h.call(a)}finally{zn(5,a,h)}}else{zn(4,s,i);try{i.call(s)}finally{zn(5,s,i)}}}}}(e,t),function oC(e,t){const n=e.cleanup,r=t[qs];if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const o=n[i+3];o>=0?r[o]():r[-o].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[qs]=null);const s=t[zr];if(null!==s){t[zr]=null;for(let i=0;i<s.length;i++)(0,s[i])()}}(e,t),1===t[Ie].type&&t[at].destroy();const n=t[Pr];if(null!==n&&E(t[Ft])){n!==t[Ft]&&Tp(n,t);const r=t[$r];null!==r&&r.detachView(e)}!function z0(e){Yu.delete(e[ei])}(t)}}function td(e,t,n){return function Ap(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[ln];{const{componentOffset:s}=r;if(s>-1){const{encapsulation:i}=e.data[r.directiveStart+s];if(i===or.None||i===or.Emulated)return null}return pr(r,n)}}(e,t.parent,n)}function fo(e,t,n,r,s){e.insertBefore(t,n,r,s)}function _p(e,t,n){e.appendChild(t,n)}function Op(e,t,n,r,s){null!==r?fo(e,t,n,r,s):_p(e,t,n)}function ac(e,t){return e.parentNode(t)}function Np(e,t,n){return Pp(e,t,n)}let nd,uc,dc,Pp=function Rp(e,t,n){return 40&e.type?pr(e,n):null};function lc(e,t,n,r){const s=td(e,r,t),i=t[at],a=Np(r.parent||t[Pn],r,t);if(null!=s)if(Array.isArray(n))for(let h=0;h<n.length;h++)Op(i,s,n[h],a,!1);else Op(i,s,n,a,!1);void 0!==nd&&nd(i,r,t,n,s)}function Wa(e,t){if(null!==t){const n=t.type;if(3&n)return pr(t,e);if(4&n)return rd(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Wa(e,r);{const s=e[t.index];return E(s)?rd(-1,s):Bt(s)}}if(32&n)return Ju(t,e)()||Bt(e[t.index]);{const r=Lp(e,t);return null!==r?Array.isArray(r)?r[0]:Wa(za(e[Zt]),r):Wa(e,t.next)}}return null}function Lp(e,t){return null!==t?e[Zt][Pn].projection[t.projection]:null}function rd(e,t){const n=l+e+1;if(n<t.length){const r=t[n],s=r[Ie].firstChild;if(null!==s)return Wa(r,s)}return t[br]}function cc(e,t,n){const r=ac(e,t);r&&function lC(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}function Fp(e){e.textContent=""}function sd(e,t,n,r,s,i,o){for(;null!=n;){const a=r[n.index],h=n.type;if(o&&0===t&&(a&&Ir(Bt(a),r),n.flags|=2),32!=(32&n.flags))if(8&h)sd(e,t,n.child,r,s,i,!1),Wo(t,e,s,a,i);else if(32&h){const D=Ju(n,r);let S;for(;S=D();)Wo(t,e,s,S,i);Wo(t,e,s,a,i)}else 16&h?kp(e,t,r,n,s,i):Wo(t,e,s,a,i);n=o?n.projectionNext:n.next}}function Ka(e,t,n,r,s,i){sd(n,r,e.firstChild,t,s,i,!1)}function kp(e,t,n,r,s,i){const o=n[Zt],h=o[Pn].projection[r.projection];if(Array.isArray(h))for(let D=0;D<h.length;D++)Wo(t,e,s,h[D],i);else{let D=h;const S=o[Ft];tc(r)&&(D.flags|=128),sd(e,t,D,S,s,i,!0)}}function jp(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Up(e,t,n){const{mergedAttrs:r,classes:s,styles:i}=n;null!==r&&er(e,t,r),null!==s&&jp(e,t,s),null!==i&&function hC(e,t,n){e.setAttribute(t,"style",n)}(e,t,i)}function Ko(e){return function id(){if(void 0===uc&&(uc=null,Vt.trustedTypes))try{uc=Vt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return uc}()?.createHTML(e)||e}function od(){if(void 0===dc&&(dc=null,Vt.trustedTypes))try{dc=Vt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return dc}function Bp(e){return od()?.createHTML(e)||e}function Vp(e){return od()?.createScriptURL(e)||e}class ho{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Un})`}}class yC extends ho{getTypeName(){return"HTML"}}class vC extends ho{getTypeName(){return"Style"}}class EC extends ho{getTypeName(){return"Script"}}class DC extends ho{getTypeName(){return"URL"}}class CC extends ho{getTypeName(){return"ResourceURL"}}function Ii(e){return e instanceof ho?e.changingThisBreaksApplicationSecurity:e}function Yo(e,t){const n=function bC(e){return e instanceof ho&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Un})`)}return n===t}function wC(e){return new yC(e)}function IC(e){return new vC(e)}function SC(e){return new EC(e)}function MC(e){return new DC(e)}function TC(e){return new CC(e)}class AC{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ko(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class _C{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Ko(t),n}}const NC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fc(e){return(e=String(e)).match(NC)?e:"unsafe:"+e}function Si(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ya(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const zp=Si("area,br,col,hr,img,wbr"),Gp=Si("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wp=Si("rp,rt"),ad=Ya(zp,Ya(Gp,Si("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")),Ya(Wp,Si("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")),Ya(Wp,Gp)),ld=Si("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Kp=Ya(ld,Si("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,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"),Si("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")),RC=Si("script,style,template");class PC{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let s=this.checkClobberedElement(n,n.nextSibling);if(s){n=s;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!ad.hasOwnProperty(n))return this.sanitizedSomething=!0,!RC.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let s=0;s<r.length;s++){const i=r.item(s),o=i.name,a=o.toLowerCase();if(!Kp.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let h=i.value;ld[a]&&(h=fc(h)),this.buf.push(" ",o,'="',Yp(h),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();ad.hasOwnProperty(n)&&!zp.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Yp(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const xC=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,LC=/([^\#-~ |!])/g;function Yp(e){return e.replace(/&/g,"&").replace(xC,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(LC,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let hc;function Qp(e,t){let n=null;try{hc=hc||function $p(e){const t=new _C(e);return function OC(){try{return!!(new window.DOMParser).parseFromString(Ko(""),"text/html")}catch{return!1}}()?new AC(t):t}(e);let r=t?String(t):"";n=hc.getInertBodyElement(r);let s=5,i=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=i,i=n.innerHTML,n=hc.getInertBodyElement(r)}while(r!==i);return Ko((new PC).sanitizeChildren(cd(n)||n))}finally{if(n){const r=cd(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function cd(e){return"content"in e&&function FC(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var po=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}(po||{});function Zp(e){const t=Qa();return t?Bp(t.sanitize(po.HTML,e)||""):Yo(e,"HTML")?Bp(Ii(e)):Qp(Hi(),Xe(e))}function ud(e){const t=Qa();return t?t.sanitize(po.URL,e)||"":Yo(e,"URL")?Ii(e):fc(Xe(e))}function dd(e){const t=Qa();if(t)return Vp(t.sanitize(po.RESOURCE_URL,e)||"");if(Yo(e,"ResourceURL"))return Vp(Ii(e));throw new je(904,!1)}function Xp(e,t,n){return function HC(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?dd:ud}(t,n)(e)}function Qa(){const e=ge();return e&&e[bs].sanitizer}function VC(e){return e}function $C(){const e=new Za;return"browser"===It($u)&&(e.store=function zC(e,t){const n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}(Hi(),It(np))),e}let Za=(()=>{class e{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=se({token:e,providedIn:"root",factory:$C});get(n,r){return void 0!==this.store[n]?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();const fd="h",hd="b";var Qo=function(e){return e.FirstChild="f",e.NextSibling="n",e}(Qo||{});const pd="e",gd="t",Xa="c",pc="x",Zo="r",md="i",yd="n",gc="d",vd="__nghData__",Ja="ngh",GC="nghm";let Jp=(e,t,n)=>null;function WC(e,t,n=!1){let r=e.getAttribute(Ja);if(null==r)return null;const[s,i]=r.split("|");if(r=n?i:s,!r)return null;const o=n?s:i?`|${i}`:"";let a={};if(""!==r){const D=t.get(Za,null,{optional:!0});null!==D&&(a=D.get(vd,[])[Number(r)])}const h={data:a,firstChild:e.firstChild??null};return n&&(h.firstChild=e,mc(h,0,e.nextSibling)),o?e.setAttribute(Ja,o):e.removeAttribute(Ja),h}function Ed(e,t,n=!1){return Jp(e,t,n)}function qp(e){let t=e._lView;return 2===t[Ie].type?null:(ne(t)&&(t=t[rt]),t)}function mc(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Dd(e,t){return e.segmentHeads?.[t]??null}function eg(e,t){return e.data[Xa]?.[t]??null}function Cd(e,t){const n=eg(e,t)??[];let r=0;for(let s of n)r+=s[Zo]*(s[pc]??1);return r}function yc(e,t){if(typeof e.disconnectedNodes>"u"){const n=e.data[gc];e.disconnectedNodes=n?new Set(n):null}return!!e.disconnectedNodes?.has(t)}class JC{}class tg{}class eb{resolveComponentFactory(t){throw function qC(e){const t=Error(`No component factory found for ${Lt(e)}.`);return t.ngComponent=e,t}(t)}}let qa=(()=>{class e{static#e=this.NULL=new eb}return e})();function tb(){return Xo(Xt(),ge())}function Xo(e,t){return new el(pr(e,t))}let el=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=tb}return e})();function nb(e){return e instanceof el?e.nativeElement:e}class rg{}let rb=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function sb(){const e=ge(),n=Kr(Xt().index,e);return(d(n)?n:e)[at]}()}return e})(),ib=(()=>{class e{static#e=this.\u0275prov=se({token:e,providedIn:"root",factory:()=>null})}return e})();class sg{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ob=new sg("17.0.2"),bd={};function lb(e){const t=F(null);try{return e()}finally{F(t)}}function vc(e){return!!wd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function wd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class ig{constructor(){}supports(t){return vc(t)}create(t){return new fb(t)}}const db=(e,t)=>t;class fb{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||db}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,s=0,i=null;for(;n||r;){const o=!r||n&&n.currentIndex<ag(r,s,i)?n:r,a=ag(o,s,i),h=o.currentIndex;if(o===r)s--,r=r._nextRemoved;else if(n=n._next,null==o.previousIndex)s++;else{i||(i=[]);const D=a-s,S=h-s;if(D!=S){for(let H=0;H<D;H++){const X=H<i.length?i[H]:i[H]=0,ce=X+H;S<=ce&&ce<D&&(i[H]=X+1)}i[o.previousIndex]=S-D}}a!==h&&t(o,a,h)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!vc(t))throw new je(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let s,i,o,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],o=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,i,o,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,o,a),r=!0),n=n._next}else s=0,function ub(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{o=this._trackByFn(s,a),null!==n&&Object.is(n.trackById,o)?(r&&(n=this._verifyReinsertion(n,a,o,s)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,o,s),r=!0),n=n._next,s++}),this.length=s;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,s){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,s)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,s))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,s)):t=this._addAfter(new hb(n,r),i,s),t}_verifyReinsertion(t,n,r,s){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,s):t.currentIndex!=s&&(t.currentIndex=s,this._addToMoves(t,s)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const s=t._prevRemoved,i=t._nextRemoved;return null===s?this._removalsHead=i:s._nextRemoved=i,null===i?this._removalsTail=s:i._prevRemoved=s,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const s=null===n?this._itHead:n._next;return t._next=s,t._prev=n,null===s?this._itTail=t:s._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new og),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new og),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class hb{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class pb{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class og{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new pb,this.map.set(n,r)),r.add(t)}get(t,n){const s=this.map.get(t);return s?s.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ag(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class lg{constructor(){}supports(t){return t instanceof Map||wd(t)}create(){return new gb}}class gb{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||wd(t)))throw new je(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,s)=>{if(n&&n.key===s)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(s,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const s=this._records.get(t);this._maybeAddToChanges(s,n);const i=s._prev,o=s._next;return i&&(i._next=o),o&&(o._prev=i),s._next=null,s._prev=null,s}const r=new mb(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class mb{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function cg(){return new Id([new ig])}let Id=(()=>{class e{static#e=this.\u0275prov=se({token:e,providedIn:"root",factory:cg});constructor(n){this.factories=n}static create(n,r){if(null!=r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||cg()),deps:[[e,new Gl,new zl]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(null!=r)return r;throw new je(901,!1)}}return e})();function ug(){return new Sd([new lg])}let Sd=(()=>{class e{static#e=this.\u0275prov=se({token:e,providedIn:"root",factory:ug});constructor(n){this.factories=n}static create(n,r){if(r){const s=r.factories.slice();n=n.concat(s)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||ug()),deps:[[e,new Gl,new zl]]}}find(n){const r=this.factories.find(s=>s.supports(n));if(r)return r;throw new je(901,!1)}}return e})();function tl(e,t,n,r,s=!1){for(;null!==n;){const i=t[n.index];null!==i&&r.push(Bt(i)),E(i)&&dg(i,r);const o=n.type;if(8&o)tl(e,t,n.child,r);else if(32&o){const a=Ju(n,t);let h;for(;h=a();)r.push(h)}else if(16&o){const a=Lp(t,n);if(Array.isArray(a))r.push(...a);else{const h=za(t[Zt]);tl(h[Ie],h,a,r,!0)}}n=s?n.projectionNext:n.next}return r}function dg(e,t){for(let n=l;n<e.length;n++){const r=e[n],s=r[Ie].firstChild;null!==s&&tl(r[Ie],r,s,t)}e[br]!==e[ln]&&t.push(e[br])}let fg=[];const Cb={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Oa(e.lView)},consumerOnSignalRead(){this.lView[Is]=this}};function Md(e){return e.ngOriginalError}class zi{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Md(t);for(;n&&Md(n);)n=Md(n);return n||null}}const Ec=new dt(""),gg=new dt("",{providedIn:"root",factory:()=>!1}),mt={};function Eg(e){Dg(Nt(),ge(),Lr()+e,!1)}function Dg(e,t,n,r){if(!r)if(3==(3&t[Je])){const i=e.preOrderCheckHooks;null!==i&&Fl(t,i,n)}else{const i=e.preOrderHooks;null!==i&&kl(t,i,0,n)}ao(n)}function Jo(e,t=xe.Default){const n=ge();return null===n?wn(e,t):Oh(Xt(),n,Oe(e),t)}function Cg(){throw new Error("invalid")}function Dc(e,t,n,r,s,i,o,a,h,D,S){const _=t.blueprint.slice();return _[ln]=s,_[Je]=140|r,(null!==D||e&&2048&e[Je])&&(_[Je]|=2048),_a(_),_[Ft]=_[ws]=e,_[Qt]=n,_[bs]=o||e&&e[bs],_[at]=a||e&&e[at],_[On]=h||e&&e[On]||null,_[Pn]=i,_[ei]=function V0(){return H0++}(),_[Rr]=S,_[Ci]=D,_[Zt]=2==t.type?e[Zt]:_,_}function qo(e,t,n,r,s){let i=e.data[t];if(null===i)i=function Td(e,t,n,r,s){const i=Pl(),o=Oo(),h=e.data[t]=function xb(e,t,n,r,s,i){let o=t?t.injectorIndex:-1,a=0;return io()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:s,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs: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,o?i:i&&i.parent,n,t,r,s);return null===e.firstChild&&(e.firstChild=h),null!==i&&(o?null==i.child&&null!==h.parent&&(i.child=h):null===i.next&&(i.next=h,h.prev=i)),h}(e,t,n,r,s),function u(){return lt.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=s;const o=function oo(){const e=lt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===o?-1:o.injectorIndex}return Ts(i,!0),i}function nl(e,t,n,r){if(0===n)return-1;const s=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return s}function bg(e,t,n,r,s){const i=Lr(),o=2&r;try{ao(-1),o&&t.length>rt&&Dg(e,t,rt,!1),zn(o?2:0,s),n(r,s)}finally{ao(i),zn(o?3:1,s)}}function Ad(e,t,n){if(M(t)){const r=F(null);try{const i=t.directiveEnd;for(let o=t.directiveStart;o<i;o++){const a=e.data[o];a.contentQueries&&a.contentQueries(1,n[o],o)}}finally{F(r)}}}function _d(e,t,n){Ra()&&(function Hb(e,t,n,r){const s=n.directiveStart,i=n.directiveEnd;O(n)&&function Yb(e,t,n){const r=pr(t,e),s=wg(n);let o=16;n.signals?o=4096:n.onPush&&(o=64);const a=Cc(e,Dc(e,s,null,o,r,t,null,e[bs].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=a}(t,n,e.data[s+n.componentOffset]),e.firstCreatePass||Ul(n,t),Ir(r,t);const o=n.initialInputs;for(let a=s;a<i;a++){const h=e.data[a],D=lo(t,e,a,n);Ir(D,t),null!==o&&Qb(0,a-s,D,h,0,o),G(h)&&(Kr(n.index,t)[Qt]=lo(t,e,a,n))}}(e,t,n,pr(n,t)),64==(64&n.flags)&&Ag(e,t,n))}function Od(e,t,n=pr){const r=t.localNames;if(null!==r){let s=t.index+1;for(let i=0;i<r.length;i+=2){const o=r[i+1],a=-1===o?n(t,e):e[o];e[s++]=a}}}function wg(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Nd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Nd(e,t,n,r,s,i,o,a,h,D,S){const _=rt+r,H=_+s,X=function Ab(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:mt);return n}(_,H),ce="function"==typeof D?D():D;return X[Ie]={type:e,blueprint:X,template:n,queries:null,viewQuery:a,declTNode:t,data:X.slice().fill(null,_),bindingStartIndex:_,expandoStartIndex:H,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 i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:h,consts:ce,incompleteFirstPass:!1,ssrId:S}}let Ig=e=>null;function Nb(e){pp(e)?Fp(e):function QC(e){const t=Hi(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){const o=function YC(e){return e.textContent?.replace(/\s/gm,"")}(i);return"ngetn"===o||"ngtns"===o?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let r;const s=[];for(;r=n.nextNode();)s.push(r);for(const i of s)"ngetn"===i.textContent?i.replaceWith(t.createTextNode("")):i.remove()}(e)}function Sg(e,t,n,r){for(let s in e)if(e.hasOwnProperty(s)){n=null===n?{}:n;const i=e[s];null===r?Mg(n,t,s,i):r.hasOwnProperty(s)&&Mg(n,t,r[s],i)}return n}function Mg(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function hs(e,t,n,r,s,i,o,a){const h=pr(t,n);let S,D=t.inputs;!a&&null!=D&&(S=D[r])?(Fd(e,n,S,r,s),O(t)&&function kb(e,t){const n=Kr(t,e);16&n[Je]||(n[Je]|=64)}(n,t.index)):3&t.type&&(r=function Fb(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),s=null!=o?o(s,t.value||"",r):s,i.setProperty(h,r,s))}function Rd(e,t,n,r){if(Ra()){const s=null===r?null:{"":-1},i=function $b(e,t){const n=e.directiveRegistry;let r=null,s=null;if(n)for(let i=0;i<n.length;i++){const o=n[i];if(Ei(t,o.selectors,!1))if(r||(r=[]),G(o))if(null!==o.findHostDirectiveDefs){const a=[];s=s||new Map,o.findHostDirectiveDefs(o,a,s),r.unshift(...a,o),Pd(e,t,a.length)}else r.unshift(o),Pd(e,t,0);else s=s||new Map,o.findHostDirectiveDefs?.(o,r,s),r.push(o)}return null===r?null:[r,s]}(e,n);let o,a;null===i?o=a=null:[o,a]=i,null!==o&&Tg(e,t,n,o,s,a),s&&function zb(e,t,n){if(t){const r=e.localNames=[];for(let s=0;s<t.length;s+=2){const i=n[t[s+1]];if(null==i)throw new je(-301,!1);r.push(t[s],i)}}}(n,r,s)}n.mergedAttrs=Vr(n.mergedAttrs,n.attrs)}function Tg(e,t,n,r,s,i){for(let D=0;D<r.length;D++)Iu(Ul(n,t),e,r[D].type);!function Wb(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let D=0;D<r.length;D++){const S=r[D];S.providersResolver&&S.providersResolver(S)}let o=!1,a=!1,h=nl(e,t,r.length,null);for(let D=0;D<r.length;D++){const S=r[D];n.mergedAttrs=Vr(n.mergedAttrs,S.hostAttrs),Kb(e,n,t,h,S),Gb(h,S,s),null!==S.contentQueries&&(n.flags|=4),(null!==S.hostBindings||null!==S.hostAttrs||0!==S.hostVars)&&(n.flags|=64);const _=S.type.prototype;!o&&(_.ngOnChanges||_.ngOnInit||_.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),o=!0),!a&&(_.ngOnChanges||_.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),h++}!function Lb(e,t,n){const s=t.directiveEnd,i=e.data,o=t.attrs,a=[];let h=null,D=null;for(let S=t.directiveStart;S<s;S++){const _=i[S],H=n?n.get(_):null,ce=H?H.outputs:null;h=Sg(_.inputs,S,h,H?H.inputs:null),D=Sg(_.outputs,S,D,ce);const De=null===h||null===o||wo(t)?null:Zb(h,S,o);a.push(De)}null!==h&&(h.hasOwnProperty("class")&&(t.flags|=8),h.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=h,t.outputs=D}(e,n,i)}function Ag(e,t,n){const r=n.directiveStart,s=n.directiveEnd,i=n.index,o=function A(){return lt.lFrame.currentDirectiveIndex}();try{ao(i);for(let a=r;a<s;a++){const h=e.data[a],D=t[a];k(a),(null!==h.hostBindings||0!==h.hostVars||null!==h.hostAttrs)&&Vb(h,D)}}finally{ao(-1),k(o)}}function Vb(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Pd(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Gb(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;G(t)&&(n[""]=e)}}function Kb(e,t,n,r,s){e.data[r]=s;const i=s.factory||(s.factory=He(s.type)),o=new xa(i,G(s),Jo);e.blueprint[r]=o,n[r]=o,function Ub(e,t,n,r,s){const i=s.hostBindings;if(i){let o=e.hostBindingOpCodes;null===o&&(o=e.hostBindingOpCodes=[]);const a=~t.index;(function Bb(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(o)!=a&&o.push(a),o.push(n,r,i)}}(e,t,r,nl(e,n,s.hostVars,mt),s)}function oi(e,t,n,r,s,i){const o=pr(e,t);!function xd(e,t,n,r,s,i,o){if(null==i)e.removeAttribute(t,s,n);else{const a=null==o?Xe(i):o(i,r||"",s);e.setAttribute(t,s,a,n)}}(t[at],o,i,e.value,n,r,s)}function Qb(e,t,n,r,s,i){const o=i[t];if(null!==o)for(let a=0;a<o.length;)_g(r,n,o[a++],o[a++],o[a++])}function _g(e,t,n,r,s){const i=F(null);try{const o=e.inputTransforms;null!==o&&o.hasOwnProperty(r)&&(s=o[r].call(t,s)),null!==e.setInput?e.setInput(t,s,n,r):t[r]=s}finally{F(i)}}function Zb(e,t,n){let r=null,s=0;for(;s<n.length;){const i=n[s];if(0!==i)if(5!==i){if("number"==typeof i)break;if(e.hasOwnProperty(i)){null===r&&(r=[]);const o=e[i];for(let a=0;a<o.length;a+=2)if(o[a]===t){r.push(i,o[a+1],n[s+1]);break}}s+=2}else s+=2;else s+=4}return r}function Og(e,t,n,r){return[e,!0,!1,t,null,r,!1,n,null,null,null]}function Ng(e,t){const n=e.contentQueries;if(null!==n){const r=F(null);try{for(let s=0;s<n.length;s+=2){const o=n[s+1];if(-1!==o){const a=e.data[o];Re(n[s]),a.contentQueries(2,t[o],o)}}}finally{F(r)}}}function Cc(e,t){return e[ls]?e[cs][Cr]=t:e[ls]=t,e[cs]=t,t}function Ld(e,t,n){Re(0);const r=F(null);try{t(e,n)}finally{F(r)}}function Rg(e){return e[qs]||(e[qs]=[])}function Pg(e){return e.cleanup||(e.cleanup=[])}function xg(e,t,n){return(null===e||G(e))&&(n=function Aa(e){for(;Array.isArray(e);){if("object"==typeof e[bi])return e;e=e[ln]}return null}(n[t.index])),n[at]}function bc(e,t){const n=e[On],r=n?n.get(zi,null):null;r&&r.handleError(t)}function Fd(e,t,n,r,s){for(let i=0;i<n.length;){const o=n[i++],a=n[i++];_g(e.data[o],t[o],r,a,s)}}function Mi(e,t,n){const r=ni(t,e);!function Mp(e,t,n){e.setValue(t,n)}(e[at],r,n)}function Lg(e,t,n,r){const s=t[Je];if(256==(256&s))return;t[bs].inlineEffectRunner?.flush(),Dn(t);let o=null,a=null;(function ew(e){return 2!==e.type})(e)&&(a=function vb(e){return e[Is]??function Eb(e){const t=fg.pop()??Object.create(Cb);return t.lView=e,t}(e)}(t),o=function me(e){return e&&(e.nextProducerIndex=0),F(e)}(a));try{_a(t),function vu(e){return lt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&bg(e,t,n,2,r);const h=3==(3&s);if(h){const _=e.preOrderCheckHooks;null!==_&&Fl(t,_,null)}else{const _=e.preOrderHooks;null!==_&&kl(t,_,0,null),Eu(t,0)}if(function tw(e){for(let t=wp(e);null!==t;t=Ip(t)){if(!t[no])continue;const n=t[xr];for(let r=0;r<n.length;r++){Ms(n[r])}}}(t),Fg(t,0),null!==e.contentQueries&&Ng(e,t),h){const _=e.contentCheckHooks;null!==_&&Fl(t,_)}else{const _=e.contentHooks;null!==_&&kl(t,_,1),Eu(t,1)}!function Tb(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const s=n[r];if(s<0)ao(~s);else{const i=s,o=n[++r],a=n[++r];C(o,i),a(2,t[i])}}}finally{ao(-1)}}(e,t);const D=e.components;null!==D&&Ug(t,D,0);const S=e.viewQuery;if(null!==S&&Ld(2,S,r),h){const _=e.viewCheckHooks;null!==_&&Fl(t,_)}else{const _=e.viewHooks;null!==_&&kl(t,_,2),Eu(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[js]){for(const _ of t[js])_();t[js]=null}t[Je]&=-73}catch(h){throw Oa(t),h}finally{null!==a&&(function fe(e,t){if(F(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(Ze(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)et(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,o),function Db(e){e.lView[Is]!==e&&(e.lView=null,fg.push(e))}(a)),Us()}}function Fg(e,t){for(let n=wp(e);null!==n;n=Ip(n)){n[Pi]=!1;for(let r=l;r<n.length;r++)kg(n[r],t)}}function nw(e,t,n){kg(Kr(t,e),n)}function kg(e,t){so(e)&&jg(e,t)}function jg(e,t){const r=e[Ie],s=e[Je],i=e[Is];let o=!!(0===t&&16&s);if(o||=!!(64&s&&0===t),o||=!!(1024&s),o||=!(!i?.dirty||!be(i)),i&&(i.dirty=!1),e[Je]&=-9217,o)Lg(r,e,r.template,e[Qt]);else if(8192&s){Fg(e,1);const a=r.components;null!==a&&Ug(e,a,1)}}function Ug(e,t,n){for(let r=0;r<t.length;r++)nw(e,t[r],n)}function rl(e){for(;e;){e[Je]|=64;const t=za(e);if(ne(e)&&!t)return e;e=t}return null}class sl{get rootNodes(){const t=this._lView,n=t[Ie];return tl(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Qt]}set context(t){this._lView[Qt]=t}get destroyed(){return 256==(256&this._lView[Je])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Ft];if(E(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Ga(t,r),Vl(n,r))}this._attachedToViewContainer=!1}oc(this._lView[Ie],this._lView)}onDestroy(t){Na(this._lView,t)}markForCheck(){rl(this._cdRefInjectingView||this._lView)}detach(){this._lView[Je]&=-129}reattach(){hu(this._lView),this._lView[Je]|=128}detectChanges(){!function kd(e,t,n,r=!0){const s=t[bs],i=s.rendererFactory,o=s.afterRenderEventManager;i.begin?.(),o?.begin();try{Lg(e,t,e.template,n),function Jb(e){let t=0;for(;9216&e[Je]||e[Is]?.dirty;){if(100===t)throw new je(103,!1);t++,jg(e,1)}}(t)}catch(h){throw r&&bc(t,h),h}finally{i.end?.(),s.inlineEffectRunner?.flush(),o?.end()}}(this._lView[Ie],this._lView,this.context,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new je(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function nC(e,t){Ka(e,t,t[at],2,null,null)}(this._lView[Ie],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new je(902,!1);this._appRef=t}}let Bg=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=rw}return e})();function rw(e){return function sw(e,t,n){if(O(e)&&!n){const r=Kr(e.index,t);return new sl(r,r)}return 47&e.type?new sl(t[Zt],t):null}(Xt(),ge(),16==(16&e))}let wc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=lw;static#t=this.__NG_ENV_ID__=n=>n}return e})();class aw extends wc{constructor(t){super(),this._lView=t}onDestroy(t){return Na(this._lView,t),()=>Ao(this._lView,t)}}function lw(){return new aw(ge())}const Hg=new Set;function Gi(e){Hg.has(e)||(Hg.add(e),performance?.mark?.("mark_use_counter",{detail:{feature:e}}))}function jd(e){return t=>{setTimeout(e,void 0,t)}}const ai=class gw extends jr.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let s=t,i=n||(()=>null),o=r;if(t&&"object"==typeof t){const h=t;s=h.next?.bind(h),i=h.error?.bind(h),o=h.complete?.bind(h)}this.__isAsync&&(i=jd(i),s&&(s=jd(s)),o&&(o=jd(o)));const a=super.subscribe({next:s,error:i,complete:o});return t instanceof Rs.w&&t.add(a),a}};function Vg(...e){}class Wn{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ai(!1),this.onMicrotaskEmpty=new ai(!1),this.onStable=new ai(!1),this.onError=new ai(!1),typeof Zone>"u")throw new je(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!r&&n,s.shouldCoalesceRunChangeDetection=r,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function mw(){const e="function"==typeof Vt.requestAnimationFrame;let t=Vt[e?"requestAnimationFrame":"setTimeout"],n=Vt[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const s=n[Zone.__symbol__("OriginalDelegate")];s&&(n=s)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Ew(e){const t=()=>{!function vw(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Vt,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Bd(e),e.isCheckStableRunning=!0,Ud(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Bd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,s,i,o,a)=>{if(function Cw(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(s,i,o,a);try{return $g(e),n.invokeTask(s,i,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),zg(e)}},onInvoke:(n,r,s,i,o,a,h)=>{try{return $g(e),n.invoke(s,i,o,a,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),zg(e)}},onHasTask:(n,r,s,i)=>{n.hasTask(s,i),r===s&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Bd(e),Ud(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,s,i)=>(n.handleError(s,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Wn.isInAngularZone())throw new je(909,!1)}static assertNotInAngularZone(){if(Wn.isInAngularZone())throw new je(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,s){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+s,t,yw,Vg,Vg);try{return i.runTask(o,n,r)}finally{i.cancelTask(o)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const yw={};function Ud(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 Bd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function $g(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function zg(e){e._nesting--,Ud(e)}const Gg=new dt("",{providedIn:"root",factory:Wg});function Wg(){const e=It(Wn);let t=!0;const n=new kn.y(s=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{s.next(t),s.complete()})}),r=new kn.y(s=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{Wn.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,s.next(!0))})})});const o=e.onUnstable.subscribe(()=>{Wn.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{s.next(!1)}))});return()=>{i.unsubscribe(),o.unsubscribe()}});return(0,Wt.T)(n,r.pipe(Jt()))}var go=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(go||{});const Kg={destroy(){}};function Yg(e,t){const n=t?.injector??It(As);Vi(n)&&n.get(Ic).internalCallbacks.push(e)}function Qg(e,t){!t&&function Bu(e){if(!pn()&&!function ns(){return Ls}())throw new je(-203,!1)}();const n=t?.injector??It(As);if(!Vi(n))return Kg;Gi("NgAfterNextRender");const r=n.get(Ic),s=r.handler??=new Xg,i=t?.phase??go.MixedReadWrite,o=()=>{s.unregister(h),a()},a=n.get(wc).onDestroy(o),h=new Zg(n,i,()=>{o(),e()});return s.register(h),{destroy:o}}class Zg{constructor(t,n,r){this.phase=n,this.callbackFn=r,this.zone=t.get(Wn),this.errorHandler=t.get(zi,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class Xg{constructor(){this.executingCallbacks=!1,this.buckets={[go.EarlyRead]:new Set,[go.Write]:new Set,[go.MixedReadWrite]:new Set,[go.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new je(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.buckets[t.phase]).add(t)}unregister(t){this.buckets[t.phase].delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of Object.values(this.buckets))for(const n of t)n.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.buckets[t.phase].add(t);this.deferredCallbacks.clear()}destroy(){for(const t of Object.values(this.buckets))t.clear();this.deferredCallbacks.clear()}}let Ic=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const n of this.internalCallbacks)n();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=se({token:e,providedIn:"root",factory:()=>new e})}return e})();function ww(e,t){const n=Kr(t,e),r=n[Ie];!function Iw(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const s=n[ln];null!==s&&null===n[Rr]&&(n[Rr]=Ed(s,n[On])),Hd(r,n,n[Qt])}function Hd(e,t,n){Dn(t);try{const r=e.viewQuery;null!==r&&Ld(1,r,n);const s=e.template;null!==s&&bg(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ng(e,t),e.staticViewQueries&&Ld(2,e.viewQuery,n);const i=e.components;null!==i&&function Sw(e,t){for(let n=0;n<t.length;n++)ww(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[Je]&=-5,Us()}}function Sc(e,t,n){let r=n?e.styles:null,s=n?e.classes:null,i=0;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?i=a:1==i?s=un(s,a):2==i&&(r=un(r,a+": "+t[++o]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=s:e.classesWithoutHost=s}class Jg extends qa{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=vt(t);return new il(n,this.ngModule)}}function qg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Tw{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Or(r);const s=this.injector.get(t,bd,r);return s!==bd||n===bd?s:this.parentInjector.get(t,n,r)}}class il extends tg{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=qg(t.inputs);if(null!==n)for(const s of r)n.hasOwnProperty(s.propName)&&(s.transform=n[s.propName]);return r}get outputs(){return qg(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function So(e){return e.map(Io).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,s){let i=(s=s||this.ngModule)instanceof ii?s:s?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const o=i?new Tw(t,i):t,a=o.get(rg,null);if(null===a)throw new je(407,!1);const S={rendererFactory:a,sanitizer:o.get(ib,null),inlineEffectRunner:null,afterRenderEventManager:o.get(Ic,null)},_=a.createRenderer(null,this.componentDef),H=this.componentDef.selectors[0][0]||"div",X=r?function _b(e,t,n,r){const i=r.get(gg,!1)||n===or.ShadowDom,o=e.selectRootElement(t,i);return function Ob(e){Ig(e)}(o),o}(_,r,this.componentDef.encapsulation,o):ic(_,H,function Mw(e){const t=e.toLowerCase();return"svg"===t?hr:"math"===t?"math":null}(H)),Pe=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let $e=null;null!==X&&($e=Ed(X,o,!0));const Ee=Nd(0,null,null,1,0,null,null,null,null,null,null),ct=Dc(null,Ee,null,Pe,null,null,S,_,o,null,$e);let xt,zt;Dn(ct);try{const cr=this.componentDef;let bo,fh=null;cr.findHostDirectiveDefs?(bo=[],fh=new Map,cr.findHostDirectiveDefs(cr,bo,fh),bo.push(cr)):bo=[cr];const u_=function _w(e,t){const n=e[Ie],r=rt;return e[r]=t,qo(n,r,2,"#host",null)}(ct,X),d_=function Ow(e,t,n,r,s,i,o){const a=s[Ie];!function Nw(e,t,n,r){for(const s of e)t.mergedAttrs=Vr(t.mergedAttrs,s.hostAttrs);null!==t.mergedAttrs&&(Sc(t,t.mergedAttrs,!0),null!==n&&Up(r,n,t))}(r,e,t,o);let h=null;null!==t&&(h=Ed(t,s[On]));const D=i.rendererFactory.createRenderer(t,n);let S=16;n.signals?S=4096:n.onPush&&(S=64);const _=Dc(s,wg(n),null,S,s[e.index],e,i,D,null,null,h);return a.firstCreatePass&&Pd(a,e,r.length-1),Cc(s,_),s[e.index]=_}(u_,X,cr,bo,ct,S,_);zt=Li(Ee,rt),X&&function Pw(e,t,n,r){if(r)er(e,n,["ng-version",ob.full]);else{const{attrs:s,classes:i}=function Ri(e){const t=[],n=[];let r=1,s=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===s?""!==i&&t.push(i,e[++r]):8===s&&n.push(i);else{if(!dr(s))break;s=i}r++}return{attrs:t,classes:n}}(t.selectors[0]);s&&er(e,n,s),i&&i.length>0&&jp(e,n,i.join(" "))}}(_,cr,X,r),void 0!==n&&function xw(e,t,n){const r=e.projection=[];for(let s=0;s<t.length;s++){const i=n[s];r.push(null!=i?Array.from(i):null)}}(zt,this.ngContentSelectors,n),xt=function Rw(e,t,n,r,s,i){const o=Xt(),a=s[Ie],h=pr(o,s);Tg(a,s,o,n,null,r);for(let S=0;S<n.length;S++)Ir(lo(s,a,o.directiveStart+S,o),s);Ag(a,s,o),h&&Ir(h,s);const D=lo(s,a,o.directiveStart+o.componentOffset,o);if(e[Qt]=s[Qt]=D,null!==i)for(const S of i)S(D,t);return Ad(a,o,e),D}(d_,cr,bo,fh,ct,[Lw]),Hd(Ee,ct,null)}finally{Us()}return new Aw(this.componentType,xt,Xo(zt,ct),ct,zt)}}class Aw extends JC{constructor(t,n,r,s,i){super(),this.location=r,this._rootLView=s,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new sl(s,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let s;if(null!==r&&(s=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const i=this._rootLView;Fd(i[Ie],i,s,t,n),this.previousInputValues.set(t,n),rl(Kr(this._tNode.index,i))}}get injector(){return new tr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Lw(){const e=Xt();Ll(ge()[Ie],e)}function Vd(e){let t=function em(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let s;if(G(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new je(903,!1);s=t.\u0275dir}if(s){if(n){r.push(s);const o=e;o.inputs=Mc(e.inputs),o.inputTransforms=Mc(e.inputTransforms),o.declaredInputs=Mc(e.declaredInputs),o.outputs=Mc(e.outputs);const a=s.hostBindings;a&&Uw(e,a);const h=s.viewQuery,D=s.contentQueries;if(h&&kw(e,h),D&&jw(e,D),Rn(e.inputs,s.inputs),Rn(e.declaredInputs,s.declaredInputs),Rn(e.outputs,s.outputs),null!==s.inputTransforms&&(null===o.inputTransforms&&(o.inputTransforms={}),Rn(o.inputTransforms,s.inputTransforms)),G(s)&&s.data.animation){const S=e.data;S.animation=(S.animation||[]).concat(s.data.animation)}}const i=s.features;if(i)for(let o=0;o<i.length;o++){const a=i[o];a&&a.ngInherit&&a(e),a===Vd&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Fw(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const s=e[r];s.hostVars=t+=s.hostVars,s.hostAttrs=Vr(s.hostAttrs,n=Vr(n,s.hostAttrs))}}(r)}function Mc(e){return e===Dr?{}:e===St?[]:e}function kw(e,t){const n=e.viewQuery;e.viewQuery=n?(r,s)=>{t(r,s),n(r,s)}:t}function jw(e,t){const n=e.contentQueries;e.contentQueries=n?(r,s,i)=>{t(r,s,i),n(r,s,i)}:t}function Uw(e,t){const n=e.hostBindings;e.hostBindings=n?(r,s)=>{t(r,s),n(r,s)}:t}function sm(e){const t=e.inputConfig,n={};for(const r in t)if(t.hasOwnProperty(r)){const s=t[r];Array.isArray(s)&&s[2]&&(n[r]=s[2])}e.inputTransforms=n}function li(e,t,n){return e[t]=n}function Kn(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function mo(e,t,n,r){const s=Kn(e,t,n);return Kn(e,t+1,r)||s}function Tc(e,t,n,r,s){const i=mo(e,t,n,r);return Kn(e,t+2,s)||i}function $d(e,t,n,r){const s=ge();return Kn(s,c(),t)&&(Nt(),oi(Cn(),s,e,t,n,r)),$d}function ta(e,t,n,r){return Kn(e,c(),n)?t+Xe(n)+r:mt}function na(e,t,n,r,s,i){const a=mo(e,ri(),n,s);return g(2),a?t+Xe(n)+r+Xe(s)+i:mt}function ra(e,t,n,r,s,i,o,a){const D=Tc(e,ri(),n,s,o);return g(3),D?t+Xe(n)+r+Xe(s)+i+Xe(o)+a:mt}function Ac(e,t){return e<<17|t<<2}function Wi(e){return e>>17&32767}function zd(e){return 2|e}function yo(e){return(131068&e)>>2}function Gd(e,t){return-131069&e|t<<2}function Wd(e){return 1|e}function pm(e,t,n,r,s){const i=e[n+1],o=null===t;let a=r?Wi(i):yo(i),h=!1;for(;0!==a&&(!1===h||o);){const S=e[a+1];Zw(e[a],t)&&(h=!0,e[a+1]=r?Wd(S):zd(S)),a=r?Wi(S):yo(S)}h&&(e[n+1]=r?zd(i):Wd(i))}function Zw(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Ho(e,t)>=0}const rr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gm(e){return e.substring(rr.key,rr.keyEnd)}function mm(e,t){const n=rr.textEnd;return n===t?-1:(t=rr.keyEnd=function eI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,rr.key=t,n),ca(e,t,n))}function ca(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Kd(e,t,n){const r=ge();return Kn(r,c(),t)&&hs(Nt(),Cn(),r,e,t,r[at],n,!1),Kd}function Yd(e,t,n,r,s){const o=s?"class":"style";Fd(e,n,t.inputs[o],o,r)}function Qd(e,t,n){return Bs(e,t,n,!1),Qd}function Zd(e,t){return Bs(e,t,null,!0),Zd}function Cm(e){Hs(cI,ui,e,!0)}function ui(e,t){for(let n=function Jw(e){return function vm(e){rr.key=0,rr.keyEnd=0,rr.value=0,rr.valueEnd=0,rr.textEnd=e.length}(e),mm(e,ca(e,0,rr.textEnd))}(t);n>=0;n=mm(t,n))ds(e,gm(t),!0)}function Bs(e,t,n,r){const s=ge(),i=Nt(),o=g(2);i.firstUpdatePass&&wm(i,e,o,r),t!==mt&&Kn(s,o,t)&&Sm(i,i.data[Lr()],s,s[at],e,s[o+1]=function dI(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Lt(Ii(e)))),e}(t,n),r,o)}function Hs(e,t,n,r){const s=Nt(),i=g(2);s.firstUpdatePass&&wm(s,null,i,r);const o=ge();if(n!==mt&&Kn(o,i,n)){const a=s.data[Lr()];if(Tm(a,r)&&!bm(s,i)){let h=r?a.classesWithoutHost:a.stylesWithoutHost;null!==h&&(n=un(h,n||"")),Yd(s,a,o,n,r)}else!function uI(e,t,n,r,s,i,o,a){s===mt&&(s=St);let h=0,D=0,S=0<s.length?s[0]:null,_=0<i.length?i[0]:null;for(;null!==S||null!==_;){const H=h<s.length?s[h+1]:void 0,X=D<i.length?i[D+1]:void 0;let De,ce=null;S===_?(h+=2,D+=2,H!==X&&(ce=_,De=X)):null===_||null!==S&&S<_?(h+=2,ce=S):(D+=2,ce=_,De=X),null!==ce&&Sm(e,t,n,r,ce,De,o,a),S=h<s.length?s[h]:null,_=D<i.length?i[D]:null}}(s,a,o,o[at],o[i+1],o[i+1]=function lI(e,t,n){if(null==n||""===n)return St;const r=[],s=Ii(n);if(Array.isArray(s))for(let i=0;i<s.length;i++)e(r,s[i],!0);else if("object"==typeof s)for(const i in s)s.hasOwnProperty(i)&&e(r,i,s[i]);else"string"==typeof s&&t(r,s);return r}(e,t,n),r,i)}}function bm(e,t){return t>=e.expandoStartIndex}function wm(e,t,n,r){const s=e.data;if(null===s[n+1]){const i=s[Lr()],o=bm(e,n);Tm(i,r)&&null===t&&!o&&(t=!1),t=function sI(e,t,n,r){const s=ae(e);let i=r?t.residualClasses:t.residualStyles;if(null===s)0===(r?t.classBindings:t.styleBindings)&&(n=al(n=Xd(null,e,t,n,r),t.attrs,r),i=null);else{const o=t.directiveStylingLast;if(-1===o||e[o]!==s)if(n=Xd(s,e,t,n,r),null===i){let h=function iI(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==yo(r))return e[Wi(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=Xd(null,e,t,h[1],r),h=al(h,t.attrs,r),function oI(e,t,n,r){e[Wi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else i=function aI(e,t,n){let r;const s=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<s;i++)r=al(r,e[i].hostAttrs,n);return al(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(s,i,t,r),function Yw(e,t,n,r,s,i){let o=i?t.classBindings:t.styleBindings,a=Wi(o),h=yo(o);e[r]=n;let S,D=!1;if(Array.isArray(n)?(S=n[1],(null===S||Ho(n,S)>0)&&(D=!0)):S=n,s)if(0!==h){const H=Wi(e[a+1]);e[r+1]=Ac(H,a),0!==H&&(e[H+1]=Gd(e[H+1],r)),e[a+1]=function Ww(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Ac(a,0),0!==a&&(e[a+1]=Gd(e[a+1],r)),a=r;else e[r+1]=Ac(h,0),0===a?a=r:e[h+1]=Gd(e[h+1],r),h=r;D&&(e[r+1]=zd(e[r+1])),pm(e,S,r,!0),pm(e,S,r,!1),function Qw(e,t,n,r,s){const i=s?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Ho(i,t)>=0&&(n[r+1]=Wd(n[r+1]))}(t,S,e,r,i),o=Ac(a,h),i?t.classBindings=o:t.styleBindings=o}(s,i,t,n,o,r)}}function Xd(e,t,n,r,s){let i=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(i=t[a],r=al(r,i.hostAttrs,s),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function al(e,t,n){const r=n?1:2;let s=-1;if(null!==t)for(let i=0;i<t.length;i++){const o=t[i];"number"==typeof o?s=o:s===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ds(e,o,!!n||t[++i]))}return void 0===e?null:e}function cI(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&ds(e,r,n)}function Sm(e,t,n,r,s,i,o,a){if(!(3&t.type))return;const h=e.data,D=h[a+1],S=function Kw(e){return 1==(1&e)}(D)?Mm(h,t,n,s,yo(D),o):void 0;_c(S)||(_c(i)||function Gw(e){return 2==(2&e)}(D)&&(i=Mm(h,null,n,s,a,o)),function fC(e,t,n,r,s){if(t)s?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:rc.DashCase;null==s?e.removeStyle(n,r,i):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),i|=rc.Important),e.setStyle(n,r,s,i))}}(r,o,ni(Lr(),n),s,i))}function Mm(e,t,n,r,s,i){const o=null===t;let a;for(;s>0;){const h=e[s],D=Array.isArray(h),S=D?h[1]:h,_=null===S;let H=n[s+1];H===mt&&(H=_?St:void 0);let X=_?_u(H,r):S===r?H:void 0;if(D&&!_c(X)&&(X=_u(h,r)),_c(X)&&(a=X,o))return a;const ce=e[s+1];s=o?Wi(ce):yo(ce)}if(null!==t){let h=i?t.residualClasses:t.residualStyles;null!=h&&(a=_u(h,r))}return a}function _c(e){return void 0!==e}function Tm(e,t){return 0!=(e.flags&(t?8:16))}function Am(e,t,n){Hs(ds,ui,ta(ge(),e,t,n),!0)}function _m(e,t,n,r,s){Hs(ds,ui,na(ge(),e,t,n,r,s),!0)}function Om(e,t,n,r,s,i,o){Hs(ds,ui,ra(ge(),e,t,n,r,s,i,o),!0)}function Pm(e){const t=e[w]??[],r=e[Ft][at];for(const s of t)TI(s,r);e[w]=St}function TI(e,t){let n=0,r=e.firstChild;if(r){const s=e.data[Zo];for(;n<s;){const i=r.nextSibling;cc(t,r,!1),r=i,n++}}}function xm(e){Pm(e);for(let t=l;t<e.length;t++)Nc(e[t])}function Nc(e){const t=e[Ie];for(let n=rt;n<t.bindingStartIndex;n++)E(e[n])?xm(e[n]):d(e[n])&&Nc(e[n])}const _I=new RegExp(`^(\\d+)*(${hd}|${fd})*(.*)`);function tf(e){return e.index-rt}function Rc(e,t,n,r){let s=null;const i=tf(r),o=e.data[yd];if(o?.[i])s=function xI(e,t){const[n,...r]=function NI(e){const t=e.match(_I),[n,r,s,i]=t,o=r?parseInt(r,10):s,a=[];for(const[h,D,S]of i.matchAll(/(f|n)(\d*)/g)){const _=parseInt(S,10)||1;a.push(D,_)}return[o,...a]}(e);let s;return s=n===fd?t[Zt][ln]:n===hd?function op(e){return e.ownerDocument.body}(t[Zt][ln]):Bt(t[Number(n)+rt]),function PI(e,t){let n=e;for(let r=0;r<t.length;r+=2){const s=t[r],i=t[r+1];for(let o=0;o<i;o++)switch(s){case Qo.FirstChild:n=n.firstChild;break;case Qo.NextSibling:n=n.nextSibling}}return n}(s,r)}(o[i],n);else if(t.firstChild===r)s=e.firstChild;else{const a=null===r.prev,h=r.prev??r.parent;if(function RI(e){return!e.prev&&8===e.parent?.type}(r))s=Dd(e,tf(r.parent));else{let D=pr(h,n);if(a)s=D.firstChild;else{const S=tf(h),_=Dd(e,S);s=2===h.type&&_?Pc(Cd(e,S)+1,_):D.nextSibling}}}return s}function Pc(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}let Fm=(e,t)=>null;function jI(e,t){const n=e[w];return t&&null!==n&&0!==n.length?n[0].data[md]===t?n.shift():(Pm(e),null):null}function ua(e,t){return Fm(e,t)}class BI{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),s=Math.max(t,n),i=this.detach(s);if(s-r>1){const o=this.detach(r);this.attach(r,i),this.attach(s,o)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}}function rf(e,t,n,r,s){return e===n&&Object.is(t,r)?1:Object.is(s(e,t),s(n,r))?-1:0}function sf(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function km(e,t,n,r,s){if(sf(e,t,r,n(r,s)))e.updateValue(r,s);else{const i=e.create(r,s);e.attach(r,i)}}function jm(e,t,n,r){const s=new Set;for(let i=t;i<=n;i++)s.add(r(i,e.at(i)));return s}class Um{constructor(){this.map=new Map}has(t){const n=this.map.get(t);return void 0!==n&&n.length>0}delete(t){const n=this.map.get(t);return void 0!==n&&(n.shift(),!0)}get(t){const n=this.map.get(t);return void 0!==n&&n.length>0?n[0]:void 0}set(t,n){this.map.has(t)?this.map.get(t)?.push(n):this.map.set(t,[n])}forEach(t){for(const[n,r]of this.map)for(const s of r)t(s,n)}}function dl(e,t,n,r){const s=t.tView,a=Dc(e,s,n,4096&e[Je]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);a[Pr]=e[t.index];const D=e[$r];return null!==D&&(a[$r]=D.createEmbeddedView(s)),Hd(s,a,n),a}function Bm(e,t){const n=l+t;if(n<e.length)return e[n]}function da(e,t){return!t||tc(e)}function fl(e,t,n,r=!0){const s=t[Ie];if(function sC(e,t,n,r){const s=l+r,i=n.length;r>0&&(n[s-1][Cr]=t),r<i-l?(t[Cr]=n[s],kh(n,l+r,t)):(n.push(t),t[Cr]=null),t[Ft]=n;const o=t[Pr];null!==o&&n!==o&&function iC(e,t){const n=e[xr];t[Zt]!==t[Ft][Ft][Zt]&&(e[no]=!0),null===n?e[xr]=[t]:n.push(t)}(o,t);const a=t[$r];null!==a&&a.insertView(e),hu(t),t[Je]|=128}(s,t,e,n),r){const i=rd(n,e),o=t[at],a=ac(o,e[br]);null!==a&&function tC(e,t,n,r,s,i){r[ln]=s,r[Pn]=t,Ka(e,r,n,1,s,i)}(s,e[Pn],o,t,a,i)}}function af(e,t){const n=Ga(e,t);return void 0!==n&&oc(n[Ie],n),n}let xc=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=VI}return e})();function VI(){return $m(Xt(),ge())}const $I=xc,Hm=class extends $I{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Xo(this._hostTNode,this._hostLView)}get injector(){return new tr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Bl(this._hostTNode,this._hostLView);if(Cu(t)){const n=Fa(t,this._hostLView),r=La(t);return new tr(n[Ie].data[r+8],n)}return new tr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Vm(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-l}createEmbeddedView(t,n,r){let s,i;"number"==typeof r?s=r:null!=r&&(s=r.index,i=r.injector);const o=ua(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,o);return this.insertImpl(a,s,da(this._hostTNode,o)),a}createComponent(t,n,r,s,i){const o=t&&!function ka(e){return"function"==typeof e}(t);let a;if(o)a=n;else{const ce=n||{};a=ce.index,r=ce.injector,s=ce.projectableNodes,i=ce.environmentInjector||ce.ngModuleRef}const h=o?t:new il(vt(t)),D=r||this.parentInjector;if(!i&&null==h.ngModule){const De=(o?D:this.parentInjector).get(ii,null);De&&(i=De)}const S=vt(h.componentType??{}),_=ua(this._lContainer,S?.id??null),X=h.create(D,s,_?.firstChild??null,i);return this.insertImpl(X.hostView,a,da(this._hostTNode,_)),X}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const s=t._lView;if(function Al(e){return E(e[Ft])}(s)){const a=this.indexOf(t);if(-1!==a)this.detach(a);else{const h=s[Ft],D=new Hm(h,h[Pn],h[Ft]);D.detach(D.indexOf(t))}}const i=this._adjustIndex(n),o=this._lContainer;return fl(o,s,i,r),t.attachToViewContainerRef(),kh(lf(o),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Vm(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Ga(this._lContainer,n);r&&(Vl(lf(this._lContainer),n),oc(r[Ie],r))}detach(t){const n=this._adjustIndex(t,-1),r=Ga(this._lContainer,n);return r&&null!=Vl(lf(this._lContainer),n)?new sl(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Vm(e){return e[8]}function lf(e){return e[8]||(e[8]=[])}function $m(e,t){let n;const r=t[e.index];return E(r)?n=r:(n=Og(r,t,null,e),t[e.index]=n,Cc(t,n)),zm(n,t,e,r),new Hm(n,e,t)}let zm=Wm,cf=(e,t,n)=>!1;function Gm(e,t,n){return cf(e,t,n)}function Wm(e,t,n,r){if(e[br])return;let s;s=8&n.type?Bt(r):function zI(e,t){const n=e[at],r=n.createComment(""),s=pr(t,e);return fo(n,ac(n,s),r,function cC(e,t){return e.nextSibling(t)}(n,s),!1),r}(t,n),e[br]=s}function GI(e,t,n){if(e[br]&&e[w])return!0;const r=n[Rr],s=t.index-rt;if(!r||function nc(e){if(tc(e))return!0;let t=e.parent;for(;t;){if(tc(e)||hp(t))return!0;t=t.parent}return!1}(t)||yc(r,s))return!1;const o=Dd(r,s),a=r.data[Xa]?.[s],[h,D]=function kI(e,t){const n=[];for(const r of t)for(let s=0;s<(r[pc]??1);s++){const i={data:r,firstChild:null};r[Zo]>0&&(i.firstChild=e,e=Pc(r[Zo],e)),n.push(i)}return[e,n]}(o,a);return e[br]=h,e[w]=D,!0}function WI(e,t,n,r){cf(e,n,t)||Wm(e,t,n,r)}function fa(e,t,n,r,s,i,o,a){const h=ge(),D=Nt(),S=e+rt,_=D.firstCreatePass?function YI(e,t,n,r,s,i,o,a,h){const D=t.consts,S=qo(t,e,4,o||null,Ss(D,a));Rd(t,n,S,Ss(D,h)),Ll(t,S);const _=S.tView=Nd(2,S,r,s,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,D,null);return null!==t.queries&&(t.queries.template(t,S),_.queries=t.queries.embeddedTView(S)),S}(S,D,h,t,n,r,s,i,o):D.data[S];Ts(_,!1);const H=Km(D,h,_,e);xl()&&lc(D,h,H,_),Ir(H,h);const X=Og(H,h,H,_);return h[S]=X,Cc(h,X),Gm(X,_,h),$(_)&&_d(D,h,_),null!=o&&Od(h,_,a),fa}let Km=Ym;function Ym(e,t,n,r){return Ui(!0),t[at].createComment("")}function QI(e,t,n,r){const s=t[Rr],i=!s||io()||yc(s,r);if(Ui(i),i)return Ym(0,t);const o=s.data[gd]?.[r]??null;null!==o&&null!==n.tView&&null===n.tView.ssrId&&(n.tView.ssrId=o);const a=Rc(s,e,t,n);return mc(s,r,a),Pc(Cd(s,r),a)}function Qm(e,t,n){Gi("NgControlFlow");const r=ge(),s=c(),i=uf(r,rt+e);if(Kn(r,s,t)){const a=F(null);try{if(af(i,0),-1!==t){const h=df(r[Ie],t),D=ua(i,h.tView.ssrId);fl(i,dl(r,h,n,{dehydratedView:D}),0,da(h,D))}}finally{F(a)}}else{const a=Bm(i,0);void 0!==a&&(a[Qt]=n)}}class XI{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-l}}function Zm(e){return e}function Xm(e,t){return t}class JI{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}}function Jm(e,t,n,r,s,i,o,a,h,D,S){Gi("NgControlFlow");const _=void 0!==h,H=ge(),X=a?o.bind(H[Zt][Qt]):o,ce=new JI(_,X);H[rt+e]=ce,fa(e+1,t,n,r,s,i),_&&fa(e+2,h,D,S)}class qI extends BI{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-l}at(t){return this.getLView(t)[Qt].$implicit}attach(t,n){const r=n[Rr];this.needsIndexUpdate||=t!==this.length,fl(this.lContainer,n,t,da(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,function eS(e,t){return Ga(e,t)}(this.lContainer,t)}create(t,n){const r=ua(this.lContainer,this.templateTNode.tView.ssrId);return dl(this.hostLView,this.templateTNode,new XI(this.lContainer,n,t),{dehydratedView:r})}destroy(t){oc(t[Ie],t)}updateValue(t,n){this.getLView(t)[Qt].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Qt].$index=t}getLView(t){return function tS(e,t){return Bm(e,t)}(this.lContainer,t)}}function qm(e,t){const n=F(null);try{const r=ge(),s=r[Ie],i=r[rt+e];if(void 0===i.liveCollection){const a=e+1,h=uf(r,rt+a),D=df(s,a);i.liveCollection=new qI(h,r,D)}else i.liveCollection.reset();const o=i.liveCollection;if(function HI(e,t,n){let r,s,i=0,o=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=o&&i<=a;){const h=e.at(i),D=t[i],S=rf(i,h,i,D,n);if(0!==S){S<0&&e.updateValue(i,D),i++;continue}const _=e.at(o),H=t[a],X=rf(o,_,a,H,n);if(0!==X){X<0&&e.updateValue(o,H),o--,a--;continue}const ce=n(i,h),De=n(o,_),Pe=n(i,D);if(Object.is(Pe,De)){const $e=n(a,H);Object.is($e,ce)?(e.swap(i,o),e.updateValue(o,H),a--,o--):e.move(o,i),e.updateValue(i,D),i++}else if(r??=new Um,s??=jm(e,i,o,n),sf(e,r,i,Pe))e.updateValue(i,D),i++,o++;else if(s.has(Pe))r.set(ce,e.detach(i)),o--;else{const $e=e.create(i,t[i]);e.attach(i,$e),i++,o++}}for(;i<=a;)km(e,r,n,i,t[i]),i++}else if(null!=t){const a=t[Symbol.iterator]();let h=a.next();for(;!h.done&&i<=o;){const D=e.at(i),S=h.value,_=rf(i,D,i,S,n);if(0!==_)_<0&&e.updateValue(i,S),i++,h=a.next();else{r??=new Um,s??=jm(e,i,o,n);const H=n(i,S);if(sf(e,r,i,H))e.updateValue(i,S),i++,o++,h=a.next();else if(s.has(H)){const X=n(i,D);r.set(X,e.detach(i)),o--}else e.attach(i,e.create(i,S)),i++,o++,h=a.next()}}for(;!h.done;)km(e,r,n,e.length,h.value),h=a.next()}for(;i<=o;)e.destroy(e.detach(o--));r?.forEach(a=>{e.destroy(a)})}(o,t,i.trackByFn),o.updateIndexes(),i.hasEmptyBlock){const a=c(),h=0===o.length;if(Kn(r,a,h)){const D=e+2,S=uf(r,rt+D);if(h){const _=df(s,D),H=ua(S,_.tView.ssrId);fl(S,dl(r,_,void 0,{dehydratedView:H}),0,da(_,H))}else af(S,0)}}}finally{F(n)}}function uf(e,t){return e[t]}function df(e,t){return Li(e,t+rt)}var Ln=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}(Ln||{});const ey=0,nS=1;var Yn=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(Yn||{}),hl=function(e){return e[e.Initial=-1]="Initial",e}(hl||{});const ha=0,Lc=1,ty=4,ny=5;var ry=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(ry||{});function kc(e,t,n){const r=1===e?ny:ty;null===t[r]&&(t[r]=[]),t[r].push(n)}function ff(e,t){const n=1===e?ny:ty,r=t[n];if(null!==r){for(const s of r)s();t[n]=null}}function sy(e){ff(1,e),ff(0,e)}function jc(e){return e+1}function vo(e,t){return e[jc(t.index)]}function Os(e,t){const n=jc(t.index);return e.data[n]}function hf(e,t){return t===Yn.Placeholder?e.placeholderBlockConfig?.[ey]??null:t===Yn.Loading?e.loadingBlockConfig?.[ey]??null:null}function oy(e,t){if(!e||0===e.length)return t;const n=new Set(e);for(const r of t)n.add(r);return e.length===n.size?e:Array.from(n)}const Uc={passive:!0,capture:!0},gf=new WeakMap,ay=["click","keydown"];class yf{constructor(){this.callbacks=new Set,this.listener=()=>{for(const t of this.callbacks)t()}}}function cy(e,t){let n=gf.get(e);if(!n){n=new yf,gf.set(e,n);for(const r of ay)e.addEventListener(r,n.listener,Uc)}return n.callbacks.add(t),()=>{const{callbacks:r,listener:s}=n;if(r.delete(t),0===r.size){gf.delete(e);for(const i of ay)e.removeEventListener(i,s,Uc)}}}function fy(e,t){const r=t[On].get(fS);return r.add(e),()=>r.remove(e)}let fS=(()=>{class e{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=It(Wn),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(n){(this.executingCallbacks?this.deferred:this.current).add(n),null===this.idleId&&this.scheduleIdleCallback()}remove(n){const{current:r,deferred:s}=this;r.delete(n),s.delete(n),0===r.size&&0===s.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const n=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const r of this.current)r();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const r of this.deferred)this.current.add(r);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(n))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=se({token:e,providedIn:"root",factory:()=>new e})}return e})();const pS=new dt("");let vf=null;function my(e,t,n,r,s,i,o,a,h){const D=ge(),S=Nt(),_=e+rt;if(fa(e,null,0,0),S.firstCreatePass){Gi("NgDefer");const Pe={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:s??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:Ln.NOT_STARTED,loadingPromise:null};h?.(S,Pe,a,o),function sS(e,t,n){const r=jc(t);e.data[r]=n}(S,_,Pe)}const H=Xt();Gm(D[_],H,D);const ce=[null,hl.Initial,null,null,null,null];!function rS(e,t,n){e[jc(t)]=n}(D,_,ce);const De=()=>sy(ce);kc(0,ce,()=>Ao(D,De)),Na(D,De)}function yy(e){const t=ge();if(Kn(t,c(),e)){const r=F(null);try{const s=!!e,i=Cn(),a=vo(t,i)[Lc];!1===s&&a===hl.Initial?ya(t,i):!0===s&&(a===hl.Initial||a===Yn.Placeholder)&&va(t,i)}finally{F(r)}}}function vy(){!function Cy(e){const t=ge(),n=Xt();ya(t,n);const r=e(()=>va(t,n),t);kc(0,vo(t,n),r)}(fy)}function Ey(){const e=ge(),t=Xt();null===Os(e[Ie],t).loadingTmplIndex&&ya(e,t),va(e,t)}function Dy(e,t){const n=ge(),r=Xt();ya(n,r),function ma(e,t,n,r,s,i,o){const a=e[On];Yg(function h(){if(ke(e))return;const D=vo(e,t),S=D[Lc];if(S!==hl.Initial&&S!==Yn.Placeholder)return;const _=function lS(e,t,n){return null==n?e:n>=0?_l(n,e):e[t.index][l]??null}(e,t,r);if(!_)return void Yg(h,{injector:a});if(ke(_))return;const H=function cS(e,t){return ni(rt+t,e)}(_,n),X=s(H,()=>{e!==_&&Ao(_,X),i()},a);e!==_&&Na(_,X),kc(o,D,X)},{injector:a})}(n,r,e,t,cy,()=>va(n,r),0)}function Ki(e,t,n,r=!1){const s=n[Ft],i=s[Ie];if(ke(s))return;const o=vo(s,t);if(Sy(o[Lc],e)&&Sy(o[ha]??-1,e)){const h=Os(i,t),S=r||null===function iy(e){return e.loadingBlockConfig?.[nS]??null}(h)&&null===hf(h,Yn.Loading)&&!hf(h,Yn.Placeholder)?wy:vf;try{S(e,o,n,t,s)}catch(_){bc(s,_)}}}function wy(e,t,n,r,s){const i=function iS(e,t,n){const s=Os(t[Ie],n);switch(e){case Yn.Complete:return s.primaryTmplIndex;case Yn.Loading:return s.loadingTmplIndex;case Yn.Error:return s.errorTmplIndex;case Yn.Placeholder:return s.placeholderTmplIndex;default:return null}}(e,s,r);if(null!==i){t[Lc]=e;const h=Li(s[Ie],i+rt),D=0;af(n,D);const S=ua(n,h.tView.ssrId),_=dl(s,h,null,{dehydratedView:S});fl(n,_,D,da(h,S)),rl(_)}}function Sy(e,t){return e<t}function ya(e,t){Ki(Yn.Placeholder,t,e[t.index])}function My(e,t,n){e.loadingPromise.then(()=>{e.loadingState===Ln.COMPLETE?Ki(Yn.Complete,t,n):e.loadingState===Ln.FAILED&&Ki(Yn.Error,t,n)})}function va(e,t){const n=e[Ie],r=e[t.index];if(!function gy(e){return e.get(pS,null,{optional:!0})?.behavior!==ry.Manual&&Vi(e)}(e[On]))return;const i=vo(e,t),o=Os(n,t);switch(sy(i),o.loadingState){case Ln.NOT_STARTED:Ki(Yn.Loading,t,r),function Ef(e,t,n){const s=t[Ie];if(e.loadingState!==Ln.NOT_STARTED)return;const i=vo(t,n),o=function oS(e,t){return Li(e,t.primaryTmplIndex+rt)}(s,e);e.loadingState=Ln.IN_PROGRESS,ff(1,i);let a=e.dependencyResolverFn;e.loadingPromise=a?Promise.allSettled(a()).then(h=>{let D=!1;const S=[],_=[];for(const H of h){if("fulfilled"!==H.status){D=!0;break}{const X=H.value,ce=vt(X)||an(X);if(ce)S.push(ce);else{const De=Yt(X);De&&_.push(De)}}}if(e.loadingPromise=null,D){if(e.loadingState=Ln.FAILED,null===e.errorTmplIndex){Ku(t);const X=new je(750,!1);bc(t,X)}}else{e.loadingState=Ln.COMPLETE;const H=o.tView;S.length>0&&(H.directiveRegistry=oy(H.directiveRegistry,S)),_.length>0&&(H.pipeRegistry=oy(H.pipeRegistry,_))}}):Promise.resolve().then(()=>{e.loadingState=Ln.COMPLETE})}(o,e,t),o.loadingState===Ln.IN_PROGRESS&&My(o,t,r);break;case Ln.IN_PROGRESS:Ki(Yn.Loading,t,r),My(o,t,r);break;case Ln.COMPLETE:Ki(Yn.Complete,t,r);break;case Ln.FAILED:Ki(Yn.Error,t,r)}}function Bc(e,t,n,r){const s=ge(),i=Nt(),o=rt+e,a=s[at],h=i.firstCreatePass?function TS(e,t,n,r,s,i){const o=t.consts,h=qo(t,e,2,r,Ss(o,s));return Rd(t,n,h,Ss(o,i)),null!==h.attrs&&Sc(h,h.attrs,!1),null!==h.mergedAttrs&&Sc(h,h.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,h),h}(o,i,s,t,n,r):i.data[o],D=Ty(i,s,h,a,t,e);s[o]=D;const S=$(h);return Ts(h,!0),Up(a,D,h),32!=(32&h.flags)&&xl()&&lc(i,s,D,h),0===function pu(){return lt.lFrame.elementDepthCount}()&&Ir(D,s),function ph(){lt.lFrame.elementDepthCount++}(),S&&(_d(i,s,h),Ad(i,h,s)),null!==r&&Od(s,h),Bc}function Hc(){let e=Xt();Oo()?Pa():(e=e.parent,Ts(e,!1));const t=e;(function gh(e){return lt.skipHydrationRootTNode===e})(t)&&function yh(){lt.skipHydrationRootTNode=null}(),function Ol(){lt.lFrame.elementDepthCount--}();const n=Nt();return n.firstCreatePass&&(Ll(n,e),M(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function PD(e){return 0!=(8&e.flags)}(t)&&Yd(n,t,ge(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function xD(e){return 0!=(16&e.flags)}(t)&&Yd(n,t,ge(),t.stylesWithoutHost,!1),Hc}function Df(e,t,n,r){return Bc(e,t,n,r),Hc(),Df}let Ty=(e,t,n,r,s,i)=>(Ui(!0),ic(r,s,Ch()));function AS(e,t,n,r,s,i){const o=t[Rr],a=!o||io()||yc(o,i);if(Ui(a),a)return ic(r,s,Ch());const h=Rc(o,e,t,n);return eg(o,i)&&mc(o,i,h.nextSibling),o&&(hp(n)||pp(h))&&O(n)&&(function gu(e){lt.skipHydrationRootTNode=e}(n),Fp(h)),h}function Vc(e,t,n){const r=ge(),s=Nt(),i=e+rt,o=s.firstCreatePass?function OS(e,t,n,r,s){const i=t.consts,o=Ss(i,r),a=qo(t,e,8,"ng-container",o);return null!==o&&Sc(a,o,!0),Rd(t,n,a,Ss(i,s)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,s,r,t,n):s.data[i];Ts(o,!0);const a=Ay(s,r,o,e);return r[i]=a,xl()&&lc(s,r,a,o),Ir(a,r),$(o)&&(_d(s,r,o),Ad(s,o,r)),null!=n&&Od(r,o),Vc}function $c(){let e=Xt();const t=Nt();return Oo()?Pa():(e=e.parent,Ts(e,!1)),t.firstCreatePass&&(Ll(t,e),M(e)&&t.queries.elementEnd(e)),$c}function Cf(e,t,n){return Vc(e,t,n),$c(),Cf}let Ay=(e,t,n,r)=>(Ui(!0),qu(t[at],""));function NS(e,t,n,r){let s;const i=t[Rr],o=!i||io();if(Ui(o),o)return qu(t[at],"");const a=Rc(i,e,t,n),h=function XC(e,t){const n=e.data;let r=n[pd]?.[t]??null;return null===r&&n[Xa]?.[t]&&(r=Cd(e,t)),r}(i,r);return mc(i,r,a),s=Pc(h,a),s}function _y(){return ge()}function bf(e,t,n){const r=ge();return Kn(r,c(),t)&&hs(Nt(),Cn(),r,e,t,r[at],n,!0),bf}function wf(e,t,n){const r=ge();if(Kn(r,c(),t)){const i=Nt(),o=Cn();hs(i,o,r,e,t,xg(ae(i.data),o,r),n,!0)}return wf}const Eo=void 0;var xS=["en",[["a","p"],["AM","PM"],Eo],[["AM","PM"],Eo,Eo],[["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"]],Eo,[["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"]],Eo,[["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}",Eo,"{1} 'at' {0}",Eo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function PS(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Ea={};function LS(e,t,n){"string"!=typeof t&&(n=t,t=e[Da.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Ea[t]=e,n&&(Ea[t][Da.ExtraData]=n)}function If(e){const t=function FS(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ny(t);if(n)return n;const r=t.split("-")[0];if(n=Ny(r),n)return n;if("en"===r)return xS;throw new je(701,!1)}function Oy(e){return If(e)[Da.PluralCase]}function Ny(e){return e in Ea||(Ea[e]=Vt.ng&&Vt.ng.common&&Vt.ng.common.locales&&Vt.ng.common.locales[e]),Ea[e]}var Da=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}(Da||{});const Ca="en-US";let Ry=Ca;function Py(e){(function rn(e,t){null==e&&Qe(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Ry=e.toLowerCase().replace(/_/g,"-"))}function Tf(e){return!!e&&"function"==typeof e.then}function rv(e){return!!e&&"function"==typeof e.subscribe}function Af(e,t,n,r){const s=ge(),i=Nt(),o=Xt();return sv(i,s,s[at],o,e,t,r),Af}function _f(e,t){const n=Xt(),r=ge(),s=Nt();return sv(s,r,xg(ae(s.data),n,r),n,e,t),_f}function sv(e,t,n,r,s,i,o){const a=$(r),D=e.firstCreatePass&&Pg(e),S=t[Qt],_=Rg(t);let H=!0;if(3&r.type||o){const De=pr(r,t),Pe=o?o(De):De,$e=_.length,Ee=o?xt=>o(Bt(xt[r.index])):r.index;let ct=null;if(!o&&a&&(ct=function OM(e,t,n,r){const s=e.cleanup;if(null!=s)for(let i=0;i<s.length-1;i+=2){const o=s[i];if(o===n&&s[i+1]===r){const a=t[qs],h=s[i+2];return a.length>h?a[h]:null}"string"==typeof o&&(i+=2)}return null}(e,t,s,r.index)),null!==ct)(ct.__ngLastListenerFn__||ct).__ngNextListenerFn__=i,ct.__ngLastListenerFn__=i,H=!1;else{i=ov(r,t,S,i,!1);const xt=n.listen(Pe,s,i);_.push(i,xt),D&&D.push(s,Ee,$e,$e+1)}}else i=ov(r,t,S,i,!1);const X=r.outputs;let ce;if(H&&null!==X&&(ce=X[s])){const De=ce.length;if(De)for(let Pe=0;Pe<De;Pe+=2){const zt=t[ce[Pe]][ce[Pe+1]].subscribe(i),cr=_.length;_.push(i,zt),D&&D.push(s,r.index,cr,-(cr+1))}}}function iv(e,t,n,r){try{return zn(6,t,n),!1!==n(r)}catch(s){return bc(e,s),!1}finally{zn(7,t,n)}}function ov(e,t,n,r,s){return function i(o){if(o===Function)return r;rl(e.componentOffset>-1?Kr(e.index,t):t);let h=iv(t,n,r,o),D=i.__ngNextListenerFn__;for(;D;)h=iv(t,n,D,o)&&h,D=D.__ngNextListenerFn__;return s&&!1===h&&o.preventDefault(),h}}function av(e=1){return function MD(e){return(lt.lFrame.contextLView=_l(e,lt.lFrame.contextLView))[Qt]}(e)}function NM(e,t){let n=null;const r=function ks(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let s=0;s<t.length;s++){const i=t[s];if("*"!==i){if(null===r?Ei(e,i,!0):qi(r,i))return s}else n=s}return n}function lv(e){const t=ge()[Zt][Pn];if(!t.projection){const r=t.projection=ja(e?e.length:1,null),s=r.slice();let i=t.child;for(;null!==i;){const o=e?NM(i,e):0;null!==o&&(s[o]?s[o].projectionNext=i:r[o]=i,s[o]=i),i=i.next}}}function cv(e,t=0,n){const r=ge(),s=Nt(),i=qo(s,rt+e,16,null,n||null);null===i.projection&&(i.projection=t),Pa(),(!r[Rr]||io())&&32!=(32&i.flags)&&function uC(e,t,n){kp(t[at],0,t,n,td(e,n,t),Np(n.parent||t[Pn],n,t))}(s,r,i)}function Of(e,t,n){return Yc(e,"",t,"",n),Of}function Yc(e,t,n,r,s){const i=ge(),o=ta(i,t,n,r);return o!==mt&&hs(Nt(),Cn(),i,e,o,i[at],s,!1),Yc}function Nf(e,t,n,r,s,i,o){const a=ge(),h=na(a,t,n,r,s,i);return h!==mt&&hs(Nt(),Cn(),a,e,h,a[at],o,!1),Nf}function yv(e){return ro(function vh(){return lt.lFrame.contextLView}(),rt+e)}function Tv(e,t=""){const n=ge(),r=Nt(),s=e+rt,i=r.firstCreatePass?qo(r,s,1,t,null):r.data[s],o=Av(r,n,i,t,e);n[s]=o,xl()&&lc(r,n,o,i),Ts(i,!1)}let Av=(e,t,n,r,s)=>(Ui(!0),sc(t[at],r));function VM(e,t,n,r,s){const i=t[Rr],o=!i||io()||yc(i,s);return Ui(o),o?sc(t[at],r):Rc(i,e,t,n)}function Rf(e){return Qc("",e,""),Rf}function Qc(e,t,n){const r=ge(),s=ta(r,e,t,n);return s!==mt&&Mi(r,Lr(),s),Qc}function Pf(e,t,n,r,s){const i=ge(),o=na(i,e,t,n,r,s);return o!==mt&&Mi(i,Lr(),o),Pf}function xf(e,t,n,r,s,i,o){const a=ge(),h=ra(a,e,t,n,r,s,i,o);return h!==mt&&Mi(a,Lr(),h),xf}function Lf(e,t,n,r,s){if(e=Oe(e),Array.isArray(e))for(let i=0;i<e.length;i++)Lf(e[i],t,n,r,s);else{const i=Nt(),o=ge(),a=Xt();let h=co(e)?e:Oe(e.provide);const D=Qh(e),S=1048575&a.providerIndexes,_=a.directiveStart,H=a.providerIndexes>>20;if(co(e)||!e.multi){const X=new xa(D,s,Jo),ce=kf(h,t,s?S:S+H,_);-1===ce?(Iu(Ul(a,o),i,h),Ff(i,e,t.length),t.push(h),a.directiveStart++,a.directiveEnd++,s&&(a.providerIndexes+=1048576),n.push(X),o.push(X)):(n[ce]=X,o[ce]=X)}else{const X=kf(h,t,S+H,_),ce=kf(h,t,S,S+H),Pe=ce>=0&&n[ce];if(s&&!Pe||!s&&!(X>=0&&n[X])){Iu(Ul(a,o),i,h);const $e=function KM(e,t,n,r,s){const i=new xa(e,n,Jo);return i.multi=[],i.index=t,i.componentProviders=0,Lv(i,s,r&&!n),i}(s?WM:GM,n.length,s,r,D);!s&&Pe&&(n[ce].providerFactory=$e),Ff(i,e,t.length,0),t.push(h),a.directiveStart++,a.directiveEnd++,s&&(a.providerIndexes+=1048576),n.push($e),o.push($e)}else Ff(i,e,X>-1?X:ce,Lv(n[s?ce:X],D,!s&&r));!s&&r&&Pe&&n[ce].componentProviders++}}}function Ff(e,t,n,r){const s=co(t),i=function f0(e){return!!e.useClass}(t);if(s||i){const h=(i?Oe(t.useClass):t).prototype.ngOnDestroy;if(h){const D=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const S=D.indexOf(n);-1===S?D.push(n,[r,h]):D[S+1].push(r,h)}else D.push(n,h)}}}function Lv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function kf(e,t,n,r){for(let s=n;s<r;s++)if(t[s]===e)return s;return-1}function GM(e,t,n,r){return jf(this.multi,[])}function WM(e,t,n,r){const s=this.multi;let i;if(this.providerFactory){const o=this.providerFactory.componentProviders,a=lo(n,n[Ie],this.providerFactory.index,r);i=a.slice(0,o),jf(s,i);for(let h=o;h<a.length;h++)i.push(a[h])}else i=[],jf(s,i);return i}function jf(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Fv(e,t=[]){return n=>{n.providersResolver=(r,s)=>function zM(e,t,n){const r=Nt();if(r.firstCreatePass){const s=G(e);Lf(n,r.data,r.blueprint,s,!0),Lf(t,r.data,r.blueprint,s,!1)}}(r,s?s(e):e,t)}}class Do{}class kv{}function YM(e,t){return new Uf(e,t??null,[])}class Uf extends Do{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Jg(this);const s=Tn(t);this._bootstrapComponents=fs(s.bootstrap),this._r3Injector=ep(t,n,[{provide:Do,useValue:this},{provide:qa,useValue:this.componentFactoryResolver},...r],Lt(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Bf extends kv{constructor(t){super(),this.moduleType=t}create(t){return new Uf(this.moduleType,t,[])}}class jv extends Do{constructor(t){super(),this.componentFactoryResolver=new Jg(this),this.instance=null;const n=new uo([...t.providers,{provide:Do,useValue:this},{provide:qa,useValue:this.componentFactoryResolver}],t.parent||Zl(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Uv(e,t,n=null){return new jv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let ZM=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Gh(0,n.type),s=r.length>0?Uv([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=se({token:e,providedIn:"environment",factory:()=>new e(wn(ii))})}return e})();function Bv(e){Gi("NgStandalone"),e.getStandaloneInjector=t=>t.get(ZM).getOrCreateStandaloneInjector(e)}function Hv(e,t,n){const r=e.\u0275cmp;r.directiveDefs=$t(t,!1),r.pipeDefs=$t(n,!0)}function Qv(e,t,n){const r=wr()+e,s=ge();return s[r]===mt?li(s,r,n?t.call(n):t()):function ol(e,t){return e[t]}(s,r)}function Zv(e,t,n,r){return qv(ge(),wr(),e,t,n,r)}function Xv(e,t,n,r,s){return eE(ge(),wr(),e,t,n,r,s)}function Jv(e,t,n,r,s,i){return tE(ge(),wr(),e,t,n,r,s,i)}function Cl(e,t){const n=e[t];return n===mt?void 0:n}function qv(e,t,n,r,s,i){const o=t+n;return Kn(e,o,s)?li(e,o+1,i?r.call(i,s):r(s)):Cl(e,o+1)}function eE(e,t,n,r,s,i,o){const a=t+n;return mo(e,a,s,i)?li(e,a+2,o?r.call(o,s,i):r(s,i)):Cl(e,a+2)}function tE(e,t,n,r,s,i,o,a){const h=t+n;return Tc(e,h,s,i,o)?li(e,h+3,a?r.call(a,s,i,o):r(s,i,o)):Cl(e,h+3)}function nE(e,t,n,r,s,i,o,a,h){const D=t+n;return function _s(e,t,n,r,s,i){const o=mo(e,t,n,r);return mo(e,t+2,s,i)||o}(e,D,s,i,o,a)?li(e,D+4,h?r.call(h,s,i,o,a):r(s,i,o,a)):Cl(e,D+4)}function sE(e,t){const n=Nt();let r;const s=e+rt;n.firstCreatePass?(r=function fT(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[s]=r,r.onDestroy&&(n.destroyHooks??=[]).push(s,r.onDestroy)):r=n.data[s];const i=r.factory||(r.factory=He(r.type)),a=en(Jo);try{const h=jl(!1),D=i();return jl(h),function RM(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,ge(),s,D),D}finally{en(a)}}function iE(e,t,n){const r=e+rt,s=ge(),i=ro(s,r);return bl(s,r)?qv(s,wr(),t,i.transform,n,i):i.transform(n)}function oE(e,t,n,r){const s=e+rt,i=ge(),o=ro(i,s);return bl(i,s)?eE(i,wr(),t,o.transform,n,r,o):o.transform(n,r)}function aE(e,t,n,r,s){const i=e+rt,o=ge(),a=ro(o,i);return bl(o,i)?tE(o,wr(),t,a.transform,n,r,s,a):a.transform(n,r,s)}function lE(e,t,n,r,s,i){const o=e+rt,a=ge(),h=ro(a,o);return bl(a,o)?nE(a,wr(),t,h.transform,n,r,s,i,h):h.transform(n,r,s,i)}function bl(e,t){return e[Ie].data[t].pure}function pT(){return this._results[Symbol.iterator]()}class Jc{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new ai)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Jc.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=pT)}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,n){return this._results.reduce(t,n)}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,n){this.dirty=!1;const r=function Yr(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function KD(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let s=e[r],i=t[r];if(n&&(s=n(s),i=n(i)),i!==s)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let wl=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=yT}return e})();const gT=wl,mT=class extends gT{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const s=dl(this._declarationLView,this._declarationTContainer,t,{injector:n,dehydratedView:r});return new sl(s)}};function yT(){return qc(Xt(),ge())}function qc(e,t){return 4&e.type?new mT(t,e,Xo(e,t)):null}class Vf{constructor(t){this.queryList=t,this.matches=null}clone(){return new Vf(this.queryList)}setDirty(){this.queryList.setDirty()}}class $f{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,s=[];for(let i=0;i<r;i++){const o=n.getByIndex(i);s.push(this.queries[o.indexInDeclarationView].clone())}return new $f(s)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==yE(t,n).matches&&this.queries[n].setDirty()}}class cE{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class zf{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const s=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,s);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new zf(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Gf{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Gf(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let s=0;s<r.length;s++){const i=r[s];this.matchTNodeWithReadOption(t,n,vT(n,i)),this.matchTNodeWithReadOption(t,n,Hl(n,t,i,!1,!1))}else r===wl?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Hl(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const s=this.metadata.read;if(null!==s)if(s===el||s===xc||s===wl&&4&n.type)this.addMatch(n.index,-2);else{const i=Hl(n,t,s,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function vT(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function DT(e,t,n,r){return-1===n?function ET(e,t){return 11&e.type?Xo(e,t):4&e.type?qc(e,t):null}(t,e):-2===n?function CT(e,t,n){return n===el?Xo(t,e):n===wl?qc(t,e):n===xc?$m(t,e):void 0}(e,t,r):lo(e,e[Ie],n,t)}function uE(e,t,n,r){const s=t[$r].queries[r];if(null===s.matches){const i=e.data,o=n.matches,a=[];for(let h=0;h<o.length;h+=2){const D=o[h];a.push(D<0?null:DT(t,i[D],o[h+1],n.metadata.read))}s.matches=a}return s.matches}function Wf(e,t,n,r){const s=e.queries.getByIndex(n),i=s.matches;if(null!==i){const o=uE(e,t,s,n);for(let a=0;a<i.length;a+=2){const h=i[a];if(h>0)r.push(o[a/2]);else{const D=i[a+1],S=t[-h];for(let _=l;_<S.length;_++){const H=S[_];H[Pr]===H[Ft]&&Wf(H[Ie],H,D,r)}if(null!==S[xr]){const _=S[xr];for(let H=0;H<_.length;H++){const X=_[H];Wf(X[Ie],X,D,r)}}}}}return r}function dE(e){const t=ge(),n=Nt(),r=ie();Re(r+1);const s=yE(n,r);if(e.dirty&&function fu(e){return 4==(4&e[Je])}(t)===(2==(2&s.metadata.flags))){if(null===s.matches)e.reset([]);else{const i=s.crossesNgTemplate?Wf(n,t,r,[]):uE(n,t,s,r);e.reset(i,nb),e.notifyOnChanges()}return!0}return!1}function fE(e,t,n){const r=Nt();r.firstCreatePass&&(mE(r,new cE(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),gE(r,ge(),t)}function hE(e,t,n,r){const s=Nt();if(s.firstCreatePass){const i=Xt();mE(s,new cE(t,n,r),i.index),function wT(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(s,e),2==(2&n)&&(s.staticContentQueries=!0)}gE(s,ge(),n)}function pE(){return function bT(e,t){return e[$r].queries[t].queryList}(ge(),ie())}function gE(e,t,n){const r=new Jc(4==(4&n));(function Pb(e,t,n,r){const s=Rg(t);s.push(n),e.firstCreatePass&&Pg(e).push(r,s.length-1)})(e,t,r,r.destroy),null===t[$r]&&(t[$r]=new $f),t[$r].queries.push(new Vf(r))}function mE(e,t,n){null===e.queries&&(e.queries=new zf),e.queries.track(new Gf(t,n))}function yE(e,t){return e.queries.getByIndex(t)}function vE(e,t){return qc(e,t)}const xE=new dt("Application Initializer");let Xf=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=It(xE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const s of this.appInits){const i=s();if(Tf(i))n.push(i);else if(rv(i)){const o=new Promise((a,h)=>{i.subscribe({complete:a,error:h})});n.push(o)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(s=>{this.reject(s)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),LE=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const tu=new dt("LocaleId",{providedIn:"root",factory:()=>It(tu,xe.Optional|xe.SkipSelf)||function GT(){return typeof $localize<"u"&&$localize.locale||Ca}()}),WT=new dt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let kE=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ur.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();class XT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let JT=(()=>{class e{compileModuleSync(n){return new Bf(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=fs(Tn(n).declarations).reduce((o,a)=>{const h=vt(a);return h&&o.push(new il(h)),o},[]);return new XT(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const VE=new dt(""),$E=new dt("");let qf,wA=(()=>{class e{constructor(n,r,s){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,qf||(function IA(e){qf=e}(s),s.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Wn.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,s){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(o=>o.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:s})}whenStable(n,r,s){if(s&&!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(n,r,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,s){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(wn(Wn),wn(zE),wn($E))};static#t=this.\u0275prov=se({token:e,factory:e.\u0275fac})}return e})(),zE=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return qf?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Yi=null;const eh=new dt("PlatformDestroyListeners"),th=new dt("appBootstrapListener");function _A(e){try{const{rootComponent:t,appProviders:n,platformProviders:r}=e,s=function AA(e=[]){if(Yi)return Yi;const t=function YE(e=[],t){return As.create({name:t,providers:[{provide:Fu,useValue:"platform"},{provide:eh,useValue:new Set([()=>Yi=null])},...e]})}(e);return Yi=t,function WE(){!function Ae(e){nn=e}(()=>{throw new je(600,!1)})}(),function KE(e){e.get(rp,null)?.forEach(n=>n())}(t),t}(r),i=[xA(),...n||[]],a=new jv({providers:i,parent:s,debugName:"",runEnvironmentInitializers:!1}).injector,h=a.get(Wn);return h.run(()=>{a.resolveInjectorInitializers();const D=a.get(zi,null);let S;h.runOutsideAngular(()=>{S=h.onError.subscribe({next:X=>{D.handleError(X)}})});const _=()=>a.destroy(),H=s.get(eh);return H.add(_),a.onDestroy(()=>{S.unsubscribe(),H.delete(_)}),function XE(e,t,n){try{const r=n();return Tf(r)?r.catch(s=>{throw t.runOutsideAngular(()=>e.handleError(s)),s}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(D,h,()=>{const X=a.get(Xf);return X.runInitializers(),X.donePromise.then(()=>{Py(a.get(tu,Ca)||Ca);const De=a.get(Ia);return void 0!==t&&De.bootstrap(t),De})})})}catch(t){return Promise.reject(t)}}let Ia=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=It(eD),this.zoneIsStable=It(Gg),this.componentTypes=[],this.components=[],this.isStable=It(kE).hasPendingTasks.pipe((0,Ct.w)(n=>n?(0,An.of)(!1):this.zoneIsStable),(0,ft.x)(),Jt()),this._injector=It(ii)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const s=n instanceof tg;if(!this._injector.get(Xf).done)throw!s&&Nr(n),new je(405,!1);let o;o=s?n:this._injector.get(qa).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const a=function MA(e){return e.isBoundToModule}(o)?void 0:this._injector.get(Do),D=o.create(As.NULL,[],r||o.selector,a),S=D.location.nativeElement,_=D.injector.get(VE,null);return _?.registerApplication(S),D.onDestroy(()=>{this.detachView(D.hostView),ru(this.components,D),_?.unregisterApplication(S)}),this._loadComponent(D),D}tick(){if(this._runningTick)throw new je(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ru(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(th,[]);[...this._bootstrapListeners,...r].forEach(s=>s(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ru(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new je(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ru(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const eD=new dt("",{providedIn:"root",factory:()=>It(zi).handleError.bind(void 0)});function RA(){const e=It(Wn),t=It(zi);return n=>e.runOutsideAngular(()=>t.handleError(n))}let su,PA=(()=>{class e{constructor(){this.zone=It(Wn),this.applicationRef=It(Ia)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=se({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tD(e){return[{provide:Wn,useFactory:e},{provide:$o,multi:!0,useFactory:()=>{const t=It(PA,{optional:!0});return()=>t.initialize()}},{provide:eD,useFactory:RA},{provide:Gg,useFactory:Wg}]}function xA(e){return Pu([[],tD(()=>new Wn(function ZE(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}(e)))])}function nD(e){su??=new WeakMap;const t=su.get(e);if(t)return t;const n=e.isStable.pipe((0,Br.P)(r=>r)).toPromise().then(()=>{});return su.set(e,n),e.onDestroy(()=>su?.delete(e)),n}let ID=!1;function s_(){return Pu([{provide:Ec,useFactory:()=>{let e=!0;return Vi()&&(e=!!It(Za,{optional:!0})?.get(vd,null)),e&&Gi("NgHydration"),e}},{provide:$o,useValue:()=>{Vi()&&It(Ec)&&(function i_(){const e=Hi();let t;for(const n of e.body.childNodes)if(n.nodeType===Node.COMMENT_NODE&&n.textContent?.trim()===GC){t=n;break}if(!t)throw new je(-507,!1)}(),function n_(){ID||(ID=!0,function KC(){Jp=WC}(),function _S(){Ty=AS}(),function $M(){Av=VM}(),function RS(){Ay=NS}(),function ZI(){Km=QI}(),function KI(){zm=WI,cf=GI}(),function UI(){Fm=jI}(),function Rb(){Ig=Nb}())}())},multi:!0},{provide:gg,useFactory:()=>Vi()&&It(Ec)},{provide:th,useFactory:()=>{if(Vi()&&It(Ec)){const e=It(Ia);return It(As),()=>{(function r_(e,t){return nD(e)})(e).then(()=>{Wn.assertInAngularZone(),function AI(e){const t=e._views;for(const n of t){const r=qp(n);null!==r&&null!==r[ln]&&(d(r)?Nc(r):(Nc(r[ln]),xm(r)))}}(e)})}}return()=>{}},multi:!0}])}function o_(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function a_(e,t=NaN){return isNaN(parseFloat(e))||isNaN(Number(e))?t:Number(e)}function c_(e){const t=vt(e);if(!t)return null;const n=new il(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},6480:(Me,ee,p)=>{"use strict";p.d(ee,{Cg:()=>Gt,Dx:()=>Sn,H7:()=>Un,h_:()=>gr,ly:()=>Kt,se:()=>le});var m=p(9980),T=p(6575),Q=p(4860);class V extends T.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Y extends V{static makeCurrent(){(0,T.HT)(new Y)}onAndCancel(re,L,K){return re.addEventListener(L,K),()=>{re.removeEventListener(L,K)}}dispatchEvent(re,L){re.dispatchEvent(L)}remove(re){re.parentNode&&re.parentNode.removeChild(re)}createElement(re,L){return(L=L||this.getDefaultDocument()).createElement(re)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(re){return re.nodeType===Node.ELEMENT_NODE}isShadowRoot(re){return re instanceof DocumentFragment}getGlobalEventTarget(re,L){return"window"===L?window:"document"===L?re:"body"===L?re.body:null}getBaseHref(re){const L=function B(){return F=F||document.querySelector("base"),F?F.getAttribute("href"):null}();return null==L?null:function j(te){U=U||document.createElement("a"),U.setAttribute("href",te);const re=U.pathname;return"/"===re.charAt(0)?re:`/${re}`}(L)}resetBaseElement(){F=null}getUserAgent(){return window.navigator.userAgent}getCookie(re){return(0,T.Mx)(document.cookie,re)}}let U,F=null,R=(()=>{class te{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(K){return new(K||te)};static#t=this.\u0275prov=m.Yz7({token:te,factory:te.\u0275fac})}return te})();const P=new m.OlP("EventManagerPlugins");let Z=(()=>{class te{constructor(L,K){this._zone=K,this._eventNameToPlugin=new Map,L.forEach(ue=>{ue.manager=this}),this._plugins=L.slice().reverse()}addEventListener(L,K,ue){return this._findPluginFor(K).addEventListener(L,K,ue)}getZone(){return this._zone}_findPluginFor(L){let K=this._eventNameToPlugin.get(L);if(K)return K;if(K=this._plugins.find(Ne=>Ne.supports(L)),!K)throw new m.vHH(5101,!1);return this._eventNameToPlugin.set(L,K),K}static#e=this.\u0275fac=function(K){return new(K||te)(m.LFG(P),m.LFG(m.R0b))};static#t=this.\u0275prov=m.Yz7({token:te,factory:te.\u0275fac})}return te})();class oe{constructor(re){this._doc=re}}const pe="ng-app-id";let ye=(()=>{class te{constructor(L,K,ue,Ne={}){this.doc=L,this.appId=K,this.nonce=ue,this.platformId=Ne,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,T.PM)(Ne),this.resetHostNodes()}addStyles(L){for(const K of L)1===this.changeUsageCount(K,1)&&this.onStyleAdded(K)}removeStyles(L){for(const K of L)this.changeUsageCount(K,-1)<=0&&this.onStyleRemoved(K)}ngOnDestroy(){const L=this.styleNodesInDOM;L&&(L.forEach(K=>K.remove()),L.clear());for(const K of this.getAllStyles())this.onStyleRemoved(K);this.resetHostNodes()}addHost(L){this.hostNodes.add(L);for(const K of this.getAllStyles())this.addStyleToHost(L,K)}removeHost(L){this.hostNodes.delete(L)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(L){for(const K of this.hostNodes)this.addStyleToHost(K,L)}onStyleRemoved(L){const K=this.styleRef;K.get(L)?.elements?.forEach(ue=>ue.remove()),K.delete(L)}collectServerRenderedStyles(){const L=this.doc.head?.querySelectorAll(`style[${pe}="${this.appId}"]`);if(L?.length){const K=new Map;return L.forEach(ue=>{null!=ue.textContent&&K.set(ue.textContent,ue)}),K}return null}changeUsageCount(L,K){const ue=this.styleRef;if(ue.has(L)){const Ne=ue.get(L);return Ne.usage+=K,Ne.usage}return ue.set(L,{usage:K,elements:[]}),K}getStyleElement(L,K){const ue=this.styleNodesInDOM,Ne=ue?.get(K);if(Ne?.parentNode===L)return ue.delete(K),Ne.removeAttribute(pe),Ne;{const Ve=this.doc.createElement("style");return this.nonce&&Ve.setAttribute("nonce",this.nonce),Ve.textContent=K,this.platformIsServer&&Ve.setAttribute(pe,this.appId),L.appendChild(Ve),Ve}}addStyleToHost(L,K){const ue=this.getStyleElement(L,K),Ne=this.styleRef,Ve=Ne.get(K)?.elements;Ve?Ve.push(ue):Ne.set(K,{elements:[ue],usage:1})}resetHostNodes(){const L=this.hostNodes;L.clear(),L.add(this.doc.head)}static#e=this.\u0275fac=function(K){return new(K||te)(m.LFG(T.K0),m.LFG(m.AFp),m.LFG(m.Ojb,8),m.LFG(m.Lbi))};static#t=this.\u0275prov=m.Yz7({token:te,factory:te.\u0275fac})}return te})();const me={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/MathML/"},fe=/%COMP%/g,Ze=new m.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function we(te,re){return re.map(L=>L.replace(fe,te))}let le=(()=>{class te{constructor(L,K,ue,Ne,Ve,nt,bt,fn=null){this.eventManager=L,this.sharedStylesHost=K,this.appId=ue,this.removeStylesOnCompDestroy=Ne,this.doc=Ve,this.platformId=nt,this.ngZone=bt,this.nonce=fn,this.rendererByCompId=new Map,this.platformIsServer=(0,T.PM)(nt),this.defaultRenderer=new Fe(L,Ve,bt,this.platformIsServer)}createRenderer(L,K){if(!L||!K)return this.defaultRenderer;this.platformIsServer&&K.encapsulation===m.ifc.ShadowDom&&(K={...K,encapsulation:m.ifc.Emulated});const ue=this.getOrCreateRenderer(L,K);return ue instanceof Ae?ue.applyToHost(L):ue instanceof Ce&&ue.applyStyles(),ue}getOrCreateRenderer(L,K){const ue=this.rendererByCompId;let Ne=ue.get(K.id);if(!Ne){const Ve=this.doc,nt=this.ngZone,bt=this.eventManager,fn=this.sharedStylesHost,qn=this.removeStylesOnCompDestroy,qt=this.platformIsServer;switch(K.encapsulation){case m.ifc.Emulated:Ne=new Ae(bt,fn,K,this.appId,qn,Ve,nt,qt);break;case m.ifc.ShadowDom:return new nn(bt,fn,L,K,Ve,nt,this.nonce,qt);default:Ne=new Ce(bt,fn,K,qn,Ve,nt,qt)}ue.set(K.id,Ne)}return Ne}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(K){return new(K||te)(m.LFG(Z),m.LFG(ye),m.LFG(m.AFp),m.LFG(Ze),m.LFG(T.K0),m.LFG(m.Lbi),m.LFG(m.R0b),m.LFG(m.Ojb))};static#t=this.\u0275prov=m.Yz7({token:te,factory:te.\u0275fac})}return te})();class Fe{constructor(re,L,K,ue){this.eventManager=re,this.doc=L,this.ngZone=K,this.platformIsServer=ue,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(re,L){return L?this.doc.createElementNS(me[L]||L,re):this.doc.createElement(re)}createComment(re){return this.doc.createComment(re)}createText(re){return this.doc.createTextNode(re)}appendChild(re,L){(gn(re)?re.content:re).appendChild(L)}insertBefore(re,L,K){re&&(gn(re)?re.content:re).insertBefore(L,K)}removeChild(re,L){re&&re.removeChild(L)}selectRootElement(re,L){let K="string"==typeof re?this.doc.querySelector(re):re;if(!K)throw new m.vHH(-5104,!1);return L||(K.textContent=""),K}parentNode(re){return re.parentNode}nextSibling(re){return re.nextSibling}setAttribute(re,L,K,ue){if(ue){L=ue+":"+L;const Ne=me[ue];Ne?re.setAttributeNS(Ne,L,K):re.setAttribute(L,K)}else re.setAttribute(L,K)}removeAttribute(re,L,K){if(K){const ue=me[K];ue?re.removeAttributeNS(ue,L):re.removeAttribute(`${K}:${L}`)}else re.removeAttribute(L)}addClass(re,L){re.classList.add(L)}removeClass(re,L){re.classList.remove(L)}setStyle(re,L,K,ue){ue&(m.JOm.DashCase|m.JOm.Important)?re.style.setProperty(L,K,ue&m.JOm.Important?"important":""):re.style[L]=K}removeStyle(re,L,K){K&m.JOm.DashCase?re.style.removeProperty(L):re.style[L]=""}setProperty(re,L,K){re[L]=K}setValue(re,L){re.nodeValue=L}listen(re,L,K){if("string"==typeof re&&!(re=(0,T.q)().getGlobalEventTarget(this.doc,re)))throw new Error(`Unsupported event target ${re} for event ${L}`);return this.eventManager.addEventListener(re,L,this.decoratePreventDefault(K))}decoratePreventDefault(re){return L=>{if("__ngUnwrap__"===L)return re;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>re(L)):re(L))&&L.preventDefault()}}}function gn(te){return"TEMPLATE"===te.tagName&&void 0!==te.content}class nn extends Fe{constructor(re,L,K,ue,Ne,Ve,nt,bt){super(re,Ne,Ve,bt),this.sharedStylesHost=L,this.hostEl=K,this.shadowRoot=K.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const fn=we(ue.id,ue.styles);for(const qn of fn){const qt=document.createElement("style");nt&&qt.setAttribute("nonce",nt),qt.textContent=qn,this.shadowRoot.appendChild(qt)}}nodeOrShadowRoot(re){return re===this.hostEl?this.shadowRoot:re}appendChild(re,L){return super.appendChild(this.nodeOrShadowRoot(re),L)}insertBefore(re,L,K){return super.insertBefore(this.nodeOrShadowRoot(re),L,K)}removeChild(re,L){return super.removeChild(this.nodeOrShadowRoot(re),L)}parentNode(re){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(re)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ce extends Fe{constructor(re,L,K,ue,Ne,Ve,nt,bt){super(re,Ne,Ve,nt),this.sharedStylesHost=L,this.removeStylesOnCompDestroy=ue,this.styles=bt?we(bt,K.styles):K.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ae extends Ce{constructor(re,L,K,ue,Ne,Ve,nt,bt){const fn=ue+"-"+K.id;super(re,L,K,Ne,Ve,nt,bt,fn),this.contentAttr=function Pt(te){return"_ngcontent-%COMP%".replace(fe,te)}(fn),this.hostAttr=function ze(te){return"_nghost-%COMP%".replace(fe,te)}(fn)}applyToHost(re){this.applyStyles(),this.setAttribute(re,this.hostAttr,"")}createElement(re,L){const K=super.createElement(re,L);return super.setAttribute(K,this.contentAttr,""),K}}let Te=(()=>{class te extends oe{constructor(L){super(L)}supports(L){return!0}addEventListener(L,K,ue){return L.addEventListener(K,ue,!1),()=>this.removeEventListener(L,K,ue)}removeEventListener(L,K,ue){return L.removeEventListener(K,ue)}static#e=this.\u0275fac=function(K){return new(K||te)(m.LFG(T.K0))};static#t=this.\u0275prov=m.Yz7({token:te,factory:te.\u0275fac})}return te})();const ut=["alt","control","meta","shift"],Ut={"\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"},bn={alt:te=>te.altKey,control:te=>te.ctrlKey,meta:te=>te.metaKey,shift:te=>te.shiftKey};let Nn=(()=>{class te extends oe{constructor(L){super(L)}supports(L){return null!=te.parseEventName(L)}addEventListener(L,K,ue){const Ne=te.parseEventName(K),Ve=te.eventCallback(Ne.fullKey,ue,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,T.q)().onAndCancel(L,Ne.domEventName,Ve))}static parseEventName(L){const K=L.toLowerCase().split("."),ue=K.shift();if(0===K.length||"keydown"!==ue&&"keyup"!==ue)return null;const Ne=te._normalizeKey(K.pop());let Ve="",nt=K.indexOf("code");if(nt>-1&&(K.splice(nt,1),Ve="code."),ut.forEach(fn=>{const qn=K.indexOf(fn);qn>-1&&(K.splice(qn,1),Ve+=fn+".")}),Ve+=Ne,0!=K.length||0===Ne.length)return null;const bt={};return bt.domEventName=ue,bt.fullKey=Ve,bt}static matchEventFullKeyCode(L,K){let ue=Ut[L.key]||L.key,Ne="";return K.indexOf("code.")>-1&&(ue=L.code,Ne="code."),!(null==ue||!ue)&&(ue=ue.toLowerCase()," "===ue?ue="space":"."===ue&&(ue="dot"),ut.forEach(Ve=>{Ve!==ue&&(0,bn[Ve])(L)&&(Ne+=Ve+".")}),Ne+=ue,Ne===K)}static eventCallback(L,K,ue){return Ne=>{te.matchEventFullKeyCode(Ne,L)&&ue.runGuarded(()=>K(Ne))}}static _normalizeKey(L){return"esc"===L?"escape":L}static#e=this.\u0275fac=function(K){return new(K||te)(m.LFG(T.K0))};static#t=this.\u0275prov=m.Yz7({token:te,factory:te.\u0275fac})}return te})();function Gt(te,re){return(0,m.iPO)({rootComponent:te,...Qn(re)})}function Qn(te){return{appProviders:[...Wt,...te?.providers??[]],platformProviders:ot}}const ot=[{provide:m.Lbi,useValue:T.bD},{provide:m.g9A,useValue:function Ns(){Y.makeCurrent()},multi:!0},{provide:T.K0,useFactory:function ps(){return(0,m.RDi)(document),document},deps:[]}],Wt=[{provide:m.zSh,useValue:"root"},{provide:m.qLn,useFactory:function Sr(){return new m.qLn},deps:[]},{provide:P,useClass:Te,multi:!0,deps:[T.K0,m.R0b,m.Lbi]},{provide:P,useClass:Nn,multi:!0,deps:[T.K0]},le,ye,Z,{provide:m.FYo,useExisting:le},{provide:T.JF,useClass:R,deps:[]},[]];let gr=(()=>{class te{constructor(L){this._doc=L,this._dom=(0,T.q)()}addTag(L,K=!1){return L?this._getOrCreateElement(L,K):null}addTags(L,K=!1){return L?L.reduce((ue,Ne)=>(Ne&&ue.push(this._getOrCreateElement(Ne,K)),ue),[]):[]}getTag(L){return L&&this._doc.querySelector(`meta[${L}]`)||null}getTags(L){if(!L)return[];const K=this._doc.querySelectorAll(`meta[${L}]`);return K?[].slice.call(K):[]}updateTag(L,K){if(!L)return null;K=K||this._parseSelector(L);const ue=this.getTag(K);return ue?this._setMetaElementAttributes(L,ue):this._getOrCreateElement(L,!0)}removeTag(L){this.removeTagElement(this.getTag(L))}removeTagElement(L){L&&this._dom.remove(L)}_getOrCreateElement(L,K=!1){if(!K){const Ve=this._parseSelector(L),nt=this.getTags(Ve).filter(bt=>this._containsAttributes(L,bt))[0];if(void 0!==nt)return nt}const ue=this._dom.createElement("meta");return this._setMetaElementAttributes(L,ue),this._doc.getElementsByTagName("head")[0].appendChild(ue),ue}_setMetaElementAttributes(L,K){return Object.keys(L).forEach(ue=>K.setAttribute(this._getMetaKeyMap(ue),L[ue])),K}_parseSelector(L){const K=L.name?"name":"property";return`${K}="${L[K]}"`}_containsAttributes(L,K){return Object.keys(L).every(ue=>K.getAttribute(this._getMetaKeyMap(ue))===L[ue])}_getMetaKeyMap(L){return Jr[L]||L}static#e=this.\u0275fac=function(K){return new(K||te)(m.LFG(T.K0))};static#t=this.\u0275prov=m.Yz7({token:te,factory:function(K){let ue=null;return ue=K?new K:function An(){return new gr((0,m.LFG)(T.K0))}(),ue},providedIn:"root"})}return te})();const Jr={httpEquiv:"http-equiv"};let Sn=(()=>{class te{constructor(L){this._doc=L}getTitle(){return this._doc.title}setTitle(L){this._doc.title=L||""}static#e=this.\u0275fac=function(K){return new(K||te)(m.LFG(T.K0))};static#t=this.\u0275prov=m.Yz7({token:te,factory:function(K){let ue=null;return ue=K?new K:function mn(){return new Sn((0,m.LFG)(T.K0))}(),ue},providedIn:"root"})}return te})();typeof window<"u"&&window;let Un=(()=>{class te{static#e=this.\u0275fac=function(K){return new(K||te)};static#t=this.\u0275prov=m.Yz7({token:te,factory:function(K){let ue=null;return ue=K?new(K||te):m.LFG(yn),ue},providedIn:"root"})}return te})(),yn=(()=>{class te extends Un{constructor(L){super(),this._doc=L}sanitize(L,K){if(null==K)return null;switch(L){case m.q3G.NONE:return K;case m.q3G.HTML:return(0,m.qzn)(K,"HTML")?(0,m.z3N)(K):(0,m.EiD)(this._doc,String(K)).toString();case m.q3G.STYLE:return(0,m.qzn)(K,"Style")?(0,m.z3N)(K):K;case m.q3G.SCRIPT:if((0,m.qzn)(K,"Script"))return(0,m.z3N)(K);throw new m.vHH(5200,!1);case m.q3G.URL:return(0,m.qzn)(K,"URL")?(0,m.z3N)(K):(0,m.mCW)(String(K));case m.q3G.RESOURCE_URL:if((0,m.qzn)(K,"ResourceURL"))return(0,m.z3N)(K);throw new m.vHH(5201,!1);default:throw new m.vHH(5202,!1)}}bypassSecurityTrustHtml(L){return(0,m.JVY)(L)}bypassSecurityTrustStyle(L){return(0,m.L6k)(L)}bypassSecurityTrustScript(L){return(0,m.eBb)(L)}bypassSecurityTrustUrl(L){return(0,m.LAX)(L)}bypassSecurityTrustResourceUrl(L){return(0,m.pB0)(L)}static#e=this.\u0275fac=function(K){return new(K||te)(m.LFG(T.K0))};static#t=this.\u0275prov=m.Yz7({token:te,factory:function(K){let ue=null;return ue=K?new K:function je(te){return new yn(te.get(T.K0))}(m.LFG(m.zs3)),ue},providedIn:"root"})}return te})();function Kt(...te){const re=[],L=new Set,K=L.has(1);for(const{\u0275providers:ue,\u0275kind:Ne}of te)L.add(Ne),ue.length&&re.push(ue);return(0,m.MR2)([[],(0,m.EGt)(),L.has(0)||K?[]:(0,Q.dh)({}),re])}},9794:(Me,ee,p)=>{"use strict";p.d(ee,{gz:()=>ns,gk:()=>gt,m2:()=>xe,OD:()=>sn,wN:()=>In,F0:()=>Gn,rH:()=>ni,Bz:()=>Nl,lC:()=>mi,bq:()=>jn,bU:()=>Ss,aF:()=>Ra});var m=p(9980),T=p(2450),Q=p(4603),V=p(9681),Y=p(462),F=p(8159),B=p(1742),U=p(2413),j=p(9531),N=p(7734),R=p(3994),P=p(506),Z=p(9148),oe=p(2484),pe=p(4646),ye=p(6575),me=p(7422),fe=p(6520),be=p(6939),Ke=p(1062),Ye=p(5046),et=p(7965),Ze=p(7627),Pt=p(7293),ze=p(5746),we=p(8175),le=p(5142);class At{constructor(g,u,y=!1){this.accumulator=g,this.seed=u,this.hasSeed=y}call(g,u){return u.subscribe(new qe(g,this.accumulator,this.seed,this.hasSeed))}}class qe extends le.L{constructor(g,u,y,C){super(g),this.accumulator=u,this._seed=y,this.hasSeed=C,this.index=0}get seed(){return this._seed}set seed(g){this.hasSeed=!0,this._seed=g}_next(g){if(this.hasSeed)return this._tryNext(g);this.seed=g,this.destination.next(g)}_tryNext(g){const u=this.index++;let y;try{y=this.accumulator(this.seed,g,u)}catch(C){this.destination.error(C)}this.seed=y,this.destination.next(y)}}var gn=p(2345),nn=p(2081);function Ce(c){return function(u){return 0===c?(0,P.c)():u.lift(new Ae(c))}}class Ae{constructor(g){if(this.total=g,this.total<0)throw new nn.W}call(g,u){return u.subscribe(new Te(g,this.total))}}class Te extends le.L{constructor(g,u){super(g),this.total=u,this.ring=new Array,this.count=0}_next(g){const u=this.ring,y=this.total,C=this.count++;u.length<y?u.push(g):u[C%y]=g}_complete(){const g=this.destination;let u=this.count;if(u>0){const y=this.count>=this.total?this.total:this.count,C=this.ring;for(let A=0;A<y;A++){const k=u++%y;g.next(C[k])}}g.complete()}}var ut=p(1620),Ut=p(6361);class Gt{constructor(g){this.value=g}call(g,u){return u.subscribe(new Fn(g,this.value))}}class Fn extends le.L{constructor(g,u){super(g),this.value=u}_next(g){this.destination.next(this.value)}}var Qn=p(786),Xr=p(6159),Ns=p(3303),Sr=p(2600),ps=p(6480);const ot="primary",jr=Symbol("RouteTitle");class Rs{constructor(g){this.params=g||{}}has(g){return Object.prototype.hasOwnProperty.call(this.params,g)}get(g){if(this.has(g)){const u=this.params[g];return Array.isArray(u)?u[0]:u}return null}getAll(g){if(this.has(g)){const u=this.params[g];return Array.isArray(u)?u:[u]}return[]}get keys(){return Object.keys(this.params)}}function kn(c){return new Rs(c)}function Wt(c,g,u){const y=u.path.split("/");if(y.length>c.length||"full"===u.pathMatch&&(g.hasChildren()||y.length<c.length))return null;const C={};for(let A=0;A<y.length;A++){const k=y[A],ae=c[A];if(k.startsWith(":"))C[k.substring(1)]=ae;else if(k!==ae.path)return null}return{consumed:c.slice(0,y.length),posParams:C}}function An(c,g){const u=c?gr(c):void 0,y=g?gr(g):void 0;if(!u||!y||u.length!=y.length)return!1;let C;for(let A=0;A<u.length;A++)if(C=u[A],!Jr(c[C],g[C]))return!1;return!0}function gr(c){return[...Object.keys(c),...Object.getOwnPropertySymbols(c)]}function Jr(c,g){if(Array.isArray(c)&&Array.isArray(g)){if(c.length!==g.length)return!1;const u=[...c].sort(),y=[...g].sort();return u.every((C,A)=>y[A]===C)}return c===g}function mn(c){return c.length>0?c[c.length-1]:null}function Sn(c){return(0,T.b)(c)?c:(0,m.QGY)(c)?(0,Q.D)(Promise.resolve(c)):(0,V.of)(c)}const Ps={exact:function Br(c,g,u){if(!Mn(c.segments,g.segments)||!un(c.segments,g.segments,u)||c.numberOfChildren!==g.numberOfChildren)return!1;for(const y in g.children)if(!c.children[y]||!Br(c.children[y],g.children[y],u))return!1;return!0},subset:Rn},Jt={exact:function ft(c,g){return An(c,g)},subset:function yt(c,g){return Object.keys(g).length<=Object.keys(c).length&&Object.keys(g).every(u=>Jr(c[u],g[u]))},ignored:()=>!0};function Ct(c,g,u){return Ps[u.paths](c.root,g.root,u.matrixParams)&&Jt[u.queryParams](c.queryParams,g.queryParams)&&!("exact"===u.fragment&&c.fragment!==g.fragment)}function Rn(c,g,u){return Lt(c,g,g.segments,u)}function Lt(c,g,u,y){if(c.segments.length>u.length){const C=c.segments.slice(0,u.length);return!(!Mn(C,u)||g.hasChildren()||!un(C,u,y))}if(c.segments.length===u.length){if(!Mn(c.segments,u)||!un(c.segments,u,y))return!1;for(const C in g.children)if(!c.children[C]||!Rn(c.children[C],g.children[C],y))return!1;return!0}{const C=u.slice(0,c.segments.length),A=u.slice(c.segments.length);return!!(Mn(c.segments,C)&&un(c.segments,C,y)&&c.children[ot])&&Lt(c.children[ot],g,A,y)}}function un(c,g,u){return g.every((y,C)=>Jt[u](c[C].parameters,y.parameters))}class mr{constructor(g=new tt([],{}),u={},y=null){this.root=g,this.queryParams=u,this.fragment=y}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=kn(this.queryParams)),this._queryParamMap}toString(){return je.serialize(this)}}class tt{constructor(g,u){this.segments=g,this.children=u,this.parent=null,Object.values(u).forEach(y=>y.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return yn(this)}}class jn{constructor(g,u){this.path=g,this.parameters=u}get parameterMap(){return this._parameterMap||(this._parameterMap=kn(this.parameters)),this._parameterMap}toString(){return Xe(this)}}function Mn(c,g){return c.length===g.length&&c.every((u,y)=>u.path===g[y].path)}let Tr=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=m.Yz7({token:c,factory:()=>new Un,providedIn:"root"})}return c})();class Un{parse(g){const u=new qn(g);return new mr(u.parseRootSegment(),u.parseQueryParams(),u.parseFragment())}serialize(g){const u=`/${vn(g.root,!0)}`,y=function re(c){const g=Object.keys(c).map(u=>{const y=c[u];return Array.isArray(y)?y.map(C=>`${Xn(u)}=${Xn(C)}`).join("&"):`${Xn(u)}=${Xn(y)}`}).filter(u=>!!u);return g.length?`?${g.join("&")}`:""}(g.queryParams);return`${u}${y}${"string"==typeof g.fragment?`#${function Jn(c){return encodeURI(c)}(g.fragment)}`:""}`}}const je=new Un;function yn(c){return c.segments.map(g=>Xe(g)).join("/")}function vn(c,g){if(!c.hasChildren())return yn(c);if(g){const u=c.children[ot]?vn(c.children[ot],!1):"",y=[];return Object.entries(c.children).forEach(([C,A])=>{C!==ot&&y.push(`${C}:${vn(A,!1)}`)}),y.length>0?`${u}(${y.join("//")})`:u}{const u=function Mr(c,g){let u=[];return Object.entries(c.children).forEach(([y,C])=>{y===ot&&(u=u.concat(g(C,y)))}),Object.entries(c.children).forEach(([y,C])=>{y!==ot&&(u=u.concat(g(C,y)))}),u}(c,(y,C)=>C===ot?[vn(c.children[ot],!1)]:[`${C}:${vn(y,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[ot]?`${yn(c)}/${u[0]}`:`${yn(c)}/(${u.join("//")})`}}function Zn(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Xn(c){return Zn(c).replace(/%3B/gi,";")}function Kt(c){return Zn(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function dn(c){return decodeURIComponent(c)}function qr(c){return dn(c.replace(/\+/g,"%20"))}function Xe(c){return`${Kt(c.path)}${function te(c){return Object.keys(c).map(g=>`;${Kt(g)}=${Kt(c[g])}`).join("")}(c.parameters)}`}const L=/^[^\/()?;#]+/;function K(c){const g=c.match(L);return g?g[0]:""}const ue=/^[^\/()?;=#]+/,Ve=/^[^=?&#]+/,bt=/^[^&#]+/;class qn{constructor(g){this.url=g,this.remaining=g}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new tt([],{}):new tt([],this.parseChildren())}parseQueryParams(){const g={};if(this.consumeOptional("?"))do{this.parseQueryParam(g)}while(this.consumeOptional("&"));return g}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const g=[];for(this.peekStartsWith("(")||g.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),g.push(this.parseSegment());let u={};this.peekStartsWith("/(")&&(this.capture("/"),u=this.parseParens(!0));let y={};return this.peekStartsWith("(")&&(y=this.parseParens(!1)),(g.length>0||Object.keys(u).length>0)&&(y[ot]=new tt(g,u)),y}parseSegment(){const g=K(this.remaining);if(""===g&&this.peekStartsWith(";"))throw new m.vHH(4009,!1);return this.capture(g),new jn(dn(g),this.parseMatrixParams())}parseMatrixParams(){const g={};for(;this.consumeOptional(";");)this.parseParam(g);return g}parseParam(g){const u=function Ne(c){const g=c.match(ue);return g?g[0]:""}(this.remaining);if(!u)return;this.capture(u);let y="";if(this.consumeOptional("=")){const C=K(this.remaining);C&&(y=C,this.capture(y))}g[dn(u)]=dn(y)}parseQueryParam(g){const u=function nt(c){const g=c.match(Ve);return g?g[0]:""}(this.remaining);if(!u)return;this.capture(u);let y="";if(this.consumeOptional("=")){const k=function fn(c){const g=c.match(bt);return g?g[0]:""}(this.remaining);k&&(y=k,this.capture(y))}const C=qr(u),A=qr(y);if(g.hasOwnProperty(C)){let k=g[C];Array.isArray(k)||(k=[k],g[C]=k),k.push(A)}else g[C]=A}parseParens(g){const u={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const y=K(this.remaining),C=this.remaining[y.length];if("/"!==C&&")"!==C&&";"!==C)throw new m.vHH(4010,!1);let A;y.indexOf(":")>-1?(A=y.slice(0,y.indexOf(":")),this.capture(A),this.capture(":")):g&&(A=ot);const k=this.parseChildren();u[A]=1===Object.keys(k).length?k[ot]:new tt([],k),this.consumeOptional("//")}return u}peekStartsWith(g){return this.remaining.startsWith(g)}consumeOptional(g){return!!this.peekStartsWith(g)&&(this.remaining=this.remaining.substring(g.length),!0)}capture(g){if(!this.consumeOptional(g))throw new m.vHH(4011,!1)}}function qt(c){return c.segments.length>0?new tt([],{[ot]:c}):c}function Hr(c){const g={};for(const y of Object.keys(c.children)){const A=Hr(c.children[y]);if(y===ot&&0===A.segments.length&&A.hasChildren())for(const[k,ae]of Object.entries(A.children))g[k]=ae;else(A.segments.length>0||A.hasChildren())&&(g[y]=A)}return function gs(c){if(1===c.numberOfChildren&&c.children[ot]){const g=c.children[ot];return new tt(c.segments.concat(g.segments),g.children)}return c}(new tt(c.segments,g))}function yr(c){return c instanceof mr}function di(c){let g;const C=qt(function u(A){const k={};for(const ie of A.children){const Re=u(ie);k[ie.outlet]=Re}const ae=new tt(A.url,k);return A===c&&(g=ae),ae}(c.root));return g??C}function fi(c,g,u,y){let C=c;for(;C.parent;)C=C.parent;if(0===g.length)return rn(C,C,C,u,y);const A=function J(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new hi(!0,0,c);let g=0,u=!1;const y=c.reduce((C,A,k)=>{if("object"==typeof A&&null!=A){if(A.outlets){const ae={};return Object.entries(A.outlets).forEach(([ie,Re])=>{ae[ie]="string"==typeof Re?Re.split("/"):Re}),[...C,{outlets:ae}]}if(A.segmentPath)return[...C,A.segmentPath]}return"string"!=typeof A?[...C,A]:0===k?(A.split("/").forEach((ae,ie)=>{0==ie&&"."===ae||(0==ie&&""===ae?u=!0:".."===ae?g++:""!=ae&&C.push(ae))}),C):[...C,A]},[]);return new hi(u,g,y)}(g);if(A.toRoot())return rn(C,C,new tt([],{}),u,y);const k=function W(c,g,u){if(c.isAbsolute)return new z(g,!0,0);if(!u)return new z(g,!1,NaN);if(null===u.parent)return new z(u,!0,0);const y=ms(c.commands[0])?0:1;return function se(c,g,u){let y=c,C=g,A=u;for(;A>C;){if(A-=C,y=y.parent,!y)throw new m.vHH(4005,!1);C=y.segments.length}return new z(y,!1,C-A)}(u,u.segments.length-1+y,c.numberOfDoubleDots)}(A,C,c),ae=k.processChildren?Se(k.segmentGroup,k.index,A.commands):_e(k.segmentGroup,k.index,A.commands);return rn(C,k.segmentGroup,ae,u,y)}function ms(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function hn(c){return"object"==typeof c&&null!=c&&c.outlets}function rn(c,g,u,y,C){let k,A={};y&&Object.entries(y).forEach(([ie,Re])=>{A[ie]=Array.isArray(Re)?Re.map(Dt=>`${Dt}`):`${Re}`}),k=c===g?u:Qe(c,g,u);const ae=qt(Hr(k));return new mr(ae,A,C)}function Qe(c,g,u){const y={};return Object.entries(c.children).forEach(([C,A])=>{y[C]=A===g?u:Qe(A,g,u)}),new tt(c.segments,y)}class hi{constructor(g,u,y){if(this.isAbsolute=g,this.numberOfDoubleDots=u,this.commands=y,g&&y.length>0&&ms(y[0]))throw new m.vHH(4003,!1);const C=y.find(hn);if(C&&C!==mn(y))throw new m.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class z{constructor(g,u,y){this.segmentGroup=g,this.processChildren=u,this.index=y}}function _e(c,g,u){if(c||(c=new tt([],{})),0===c.segments.length&&c.hasChildren())return Se(c,g,u);const y=function ht(c,g,u){let y=0,C=g;const A={match:!1,pathIndex:0,commandIndex:0};for(;C<c.segments.length;){if(y>=u.length)return A;const k=c.segments[C],ae=u[y];if(hn(ae))break;const ie=`${ae}`,Re=y<u.length-1?u[y+1]:null;if(C>0&&void 0===ie)break;if(ie&&Re&&"object"==typeof Re&&void 0===Re.outlets){if(!_t(ie,Re,k))return A;y+=2}else{if(!_t(ie,{},k))return A;y++}C++}return{match:!0,pathIndex:C,commandIndex:y}}(c,g,u),C=u.slice(y.commandIndex);if(y.match&&y.pathIndex<c.segments.length){const A=new tt(c.segments.slice(0,y.pathIndex),{});return A.children[ot]=new tt(c.segments.slice(y.pathIndex),c.children),Se(A,0,C)}return y.match&&0===C.length?new tt(c.segments,{}):y.match&&!c.hasChildren()?Ge(c,g,u):y.match?Se(c,0,C):Ge(c,g,u)}function Se(c,g,u){if(0===u.length)return new tt(c.segments,{});{const y=function ve(c){return hn(c[0])?c[0].outlets:{[ot]:c}}(u),C={};if(Object.keys(y).some(A=>A!==ot)&&c.children[ot]&&1===c.numberOfChildren&&0===c.children[ot].segments.length){const A=Se(c.children[ot],g,u);return new tt(c.segments,A.children)}return Object.entries(y).forEach(([A,k])=>{"string"==typeof k&&(k=[k]),null!==k&&(C[A]=_e(c.children[A],g,k))}),Object.entries(c.children).forEach(([A,k])=>{void 0===y[A]&&(C[A]=k)}),new tt(c.segments,C)}}function Ge(c,g,u){const y=c.segments.slice(0,g);let C=0;for(;C<u.length;){const A=u[C];if(hn(A)){const ie=Ht(A.outlets);return new tt(y,ie)}if(0===C&&ms(u[0])){y.push(new jn(c.segments[g].path,Rt(u[0]))),C++;continue}const k=hn(A)?A.outlets[ot]:`${A}`,ae=C<u.length-1?u[C+1]:null;k&&ae&&ms(ae)?(y.push(new jn(k,Rt(ae))),C+=2):(y.push(new jn(k,{})),C++)}return new tt(y,{})}function Ht(c){const g={};return Object.entries(c).forEach(([u,y])=>{"string"==typeof y&&(y=[y]),null!==y&&(g[u]=Ge(new tt([],{}),0,y))}),g}function Rt(c){const g={};return Object.entries(c).forEach(([u,y])=>g[u]=`${y}`),g}function _t(c,g,u){return c==u.path&&An(g,u.parameters)}const jt="imperative";class En{constructor(g,u){this.id=g,this.url=u}}class sn extends En{constructor(g,u,y="imperative",C=null){super(g,u),this.type=0,this.navigationTrigger=y,this.restoredState=C}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class xe extends En{constructor(g,u,y){super(g,u),this.urlAfterRedirects=y,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class gt extends En{constructor(g,u,y,C){super(g,u),this.reason=y,this.code=C,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class pn extends En{constructor(g,u,y,C){super(g,u),this.reason=y,this.code=C,this.type=16}}class en extends En{constructor(g,u,y,C){super(g,u),this.error=y,this.target=C,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class on extends En{constructor(g,u,y,C){super(g,u),this.urlAfterRedirects=y,this.state=C,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ys extends En{constructor(g,u,y,C){super(g,u),this.urlAfterRedirects=y,this.state=C,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vt extends En{constructor(g,u,y,C,A){super(g,u),this.urlAfterRedirects=y,this.state=C,this.shouldActivate=A,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class vs extends En{constructor(g,u,y,C){super(g,u),this.urlAfterRedirects=y,this.state=C,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ur extends En{constructor(g,u,y,C){super(g,u),this.urlAfterRedirects=y,this.state=C,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dt{constructor(g){this.route=g,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Vs{constructor(g){this.route=g,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class _n{constructor(g){this.snapshot=g,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ti{constructor(g){this.snapshot=g,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pi{constructor(g){this.snapshot=g,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qi{constructor(g){this.snapshot=g,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class $s{constructor(g,u,y){this.routerEvent=g,this.position=u,this.anchor=y,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ai{}class zs{constructor(g){this.url=g}}class gi{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Es,this.attachRef=null}}let Es=(()=>{class c{constructor(){this.contexts=new Map}onChildOutletCreated(u,y){const C=this.getOrCreateContext(u);C.outlet=y,this.contexts.set(u,C)}onChildOutletDestroyed(u){const y=this.getContext(u);y&&(y.outlet=null,y.attachRef=null)}onOutletDeactivated(){const u=this.contexts;return this.contexts=new Map,u}onOutletReAttached(u){this.contexts=u}getOrCreateContext(u){let y=this.getContext(u);return y||(y=new gi,this.contexts.set(u,y)),y}getContext(u){return this.contexts.get(u)||null}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=m.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();class _r{constructor(g){this._root=g}get root(){return this._root.value}parent(g){const u=this.pathFromRoot(g);return u.length>1?u[u.length-2]:null}children(g){const u=xs(g,this._root);return u?u.children.map(y=>y.value):[]}firstChild(g){const u=xs(g,this._root);return u&&u.children.length>0?u.children[0].value:null}siblings(g){const u=es(g,this._root);return u.length<2?[]:u[u.length-2].children.map(C=>C.value).filter(C=>C!==g)}pathFromRoot(g){return es(g,this._root).map(u=>u.value)}}function xs(c,g){if(c===g.value)return g;for(const u of g.children){const y=xs(c,u);if(y)return y}return null}function es(c,g){if(c===g.value)return[g];for(const u of g.children){const y=es(c,u);if(y.length)return y.unshift(g),y}return[]}class ir{constructor(g,u){this.value=g,this.children=u}toString(){return`TreeNode(${this.value})`}}function ts(c){const g={};return c&&c.children.forEach(u=>g[u.value.outlet]=u),g}class Gs extends _r{constructor(g,u){super(g),this.snapshot=u,Ys(this,g)}toString(){return this.snapshot.toString()}}function Ws(c,g){const u=function Ls(c,g){const k=new Ks([],{},{},"",{},ot,g,null,{});return new wn("",new ir(k,[]))}(0,g),y=new Y.X([new jn("",{})]),C=new Y.X({}),A=new Y.X({}),k=new Y.X({}),ae=new Y.X(""),ie=new ns(y,C,k,ae,A,ot,g,u.root);return ie.snapshot=u.root,new Gs(new ir(ie,[]),u)}class ns{constructor(g,u,y,C,A,k,ae,ie){this.urlSubject=g,this.paramsSubject=u,this.queryParamsSubject=y,this.fragmentSubject=C,this.dataSubject=A,this.outlet=k,this.component=ae,this._futureSnapshot=ie,this.title=this.dataSubject?.pipe((0,me.U)(Re=>Re[jr]))??(0,V.of)(void 0),this.url=g,this.params=u,this.queryParams=y,this.fragment=C,this.data=A}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._paramMap=this.params.pipe((0,me.U)(g=>kn(g)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,me.U)(g=>kn(g)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function vr(c,g,u="emptyOnly"){let y;const{routeConfig:C}=c;return y=null===g||"always"!==u&&""!==C?.path&&(g.component||g.routeConfig?.loadComponent)?{params:c.params,data:c.data,resolve:{...c.data,...c._resolvedData??{}}}:{params:{...g.params,...c.params},data:{...g.data,...c.data},resolve:{...c.data,...g.data,...C?.data,...c._resolvedData}},C&&Fs(C)&&(y.resolve[jr]=C.title),y}class Ks{get title(){return this.data?.[jr]}constructor(g,u,y,C,A,k,ae,ie,Re){this.url=g,this.params=u,this.queryParams=y,this.fragment=C,this.data=A,this.outlet=k,this.component=ae,this.routeConfig=ie,this._resolve=Re}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._paramMap=kn(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=kn(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(y=>y.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class wn extends _r{constructor(g,u){super(u),this.url=g,Ys(this,u)}toString(){return It(this._root)}}function Ys(c,g){g.value._routerState=c,g.children.forEach(u=>Ys(c,u))}function It(c){const g=c.children.length>0?` { ${c.children.map(It).join(", ")} } `:"";return`${c.value}${g}`}function Or(c){if(c.snapshot){const g=c.snapshot,u=c._futureSnapshot;c.snapshot=u,An(g.queryParams,u.queryParams)||c.queryParamsSubject.next(u.queryParams),g.fragment!==u.fragment&&c.fragmentSubject.next(u.fragment),An(g.params,u.params)||c.paramsSubject.next(u.params),function Ur(c,g){if(c.length!==g.length)return!1;for(let u=0;u<c.length;++u)if(!An(c[u],g[u]))return!1;return!0}(g.url,u.url)||c.urlSubject.next(u.url),An(g.data,u.data)||c.dataSubject.next(u.data)}else c.snapshot=c._futureSnapshot,c.dataSubject.next(c._futureSnapshot.data)}function rs(c,g){const u=An(c.params,g.params)&&function Oe(c,g){return Mn(c,g)&&c.every((u,y)=>An(u.parameters,g[y].parameters))}(c.url,g.url);return u&&!(!c.parent!=!g.parent)&&(!c.parent||rs(c.parent,g.parent))}function Fs(c){return"string"==typeof c.title||null===c.title}let mi=(()=>{class c{constructor(){this.activated=null,this._activatedRoute=null,this.name=ot,this.activateEvents=new m.vpe,this.deactivateEvents=new m.vpe,this.attachEvents=new m.vpe,this.detachEvents=new m.vpe,this.parentContexts=(0,m.f3M)(Es),this.location=(0,m.f3M)(m.s_b),this.changeDetector=(0,m.f3M)(m.sBO),this.environmentInjector=(0,m.f3M)(m.lqb),this.inputBinder=(0,m.f3M)(ss,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(u){if(u.name){const{firstChange:y,previousValue:C}=u.name;if(y)return;this.isTrackedInParentContexts(C)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(C)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(u){return this.parentContexts.getContext(u)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const u=this.parentContexts.getContext(this.name);u?.route&&(u.attachRef?this.attach(u.attachRef,u.route):this.activateWith(u.route,u.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new m.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new m.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new m.vHH(4012,!1);this.location.detach();const u=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(u.instance),u}attach(u,y){this.activated=u,this._activatedRoute=y,this.location.insert(u.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(u.instance)}deactivate(){if(this.activated){const u=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(u)}}activateWith(u,y){if(this.isActivated)throw new m.vHH(4013,!1);this._activatedRoute=u;const C=this.location,k=u.snapshot.component,ae=this.parentContexts.getOrCreateContext(this.name).children,ie=new Zi(u,ae,C.injector);this.activated=C.createComponent(k,{index:C.length,injector:ie,environmentInjector:y??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275dir=m.lG2({type:c,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[m.TTD]})}return c})();class Zi{constructor(g,u,y){this.route=g,this.childContexts=u,this.parent=y}get(g,u){return g===ns?this.route:g===Es?this.childContexts:this.parent.get(g,u)}}const ss=new m.OlP("");let Er=(()=>{class c{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(u){this.unsubscribeFromRouteData(u),this.subscribeToRouteData(u)}unsubscribeFromRouteData(u){this.outletDataSubscriptions.get(u)?.unsubscribe(),this.outletDataSubscriptions.delete(u)}subscribeToRouteData(u){const{activatedRoute:y}=u,C=(0,F.aj)([y.queryParams,y.params,y.data]).pipe((0,fe.w)(([A,k,ae],ie)=>(ae={...A,...k,...ae},0===ie?(0,V.of)(ae):Promise.resolve(ae)))).subscribe(A=>{if(!u.isActivated||!u.activatedComponentRef||u.activatedRoute!==y||null===y.component)return void this.unsubscribeFromRouteData(u);const k=(0,m.qFp)(y.component);if(k)for(const{templateName:ae}of k.inputs)u.activatedComponentRef.setInput(ae,A[ae]);else this.unsubscribeFromRouteData(u)});this.outletDataSubscriptions.set(u,C)}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=m.Yz7({token:c,factory:c.\u0275fac})}return c})();function or(c,g,u){if(u&&c.shouldReuseRoute(g.value,u.value.snapshot)){const y=u.value;y._futureSnapshot=g.value;const C=function Dr(c,g,u){return g.children.map(y=>{for(const C of u.children)if(c.shouldReuseRoute(y.value,C.value.snapshot))return or(c,y,C);return or(c,y)})}(c,g,u);return new ir(y,C)}{if(c.shouldAttach(g.value)){const A=c.retrieve(g.value);if(null!==A){const k=A.route;return k.value._futureSnapshot=g.value,k.children=g.children.map(ae=>or(c,ae)),k}}const y=function St(c){return new ns(new Y.X(c.url),new Y.X(c.params),new Y.X(c.queryParams),new Y.X(c.fragment),new Y.X(c.data),c.outlet,c.component,c)}(g.value),C=g.children.map(A=>or(c,A));return new ir(y,C)}}const yi="ngNavigationCancelingError";function er(c,g){const{redirectTo:u,navigationBehaviorOptions:y}=yr(g)?{redirectTo:g,navigationBehaviorOptions:void 0}:g,C=Zs(!1,0,g);return C.url=u,C.navigationBehaviorOptions=y,C}function Zs(c,g,u){const y=new Error("NavigationCancelingError: "+(c||""));return y[yi]=!0,y.cancellationCode=g,u&&(y.url=u),y}function Vr(c){return c&&c[yi]}let vi=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275cmp=m.Xpm({type:c,selectors:[["ng-component"]],standalone:!0,features:[m.jDz],decls:1,vars:0,template:function(y,C){1&y&&m._UZ(0,"router-outlet")},dependencies:[mi],encapsulation:2})}return c})();function Bn(c){const g=c.children&&c.children.map(Bn),u=g?{...c,children:g}:{...c};return!u.component&&!u.loadComponent&&(g||u.loadChildren)&&u.outlet&&u.outlet!==ot&&(u.component=vi),u}function Hn(c){return c.outlet||ot}function Cs(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let g=c.parent;g;g=g.parent){const u=g.routeConfig;if(u?._loadedInjector)return u._loadedInjector;if(u?._injector)return u._injector}return null}class Ri{constructor(g,u,y,C,A){this.routeReuseStrategy=g,this.futureState=u,this.currState=y,this.forwardEvent=C,this.inputBindingEnabled=A}activate(g){const u=this.futureState._root,y=this.currState?this.currState._root:null;this.deactivateChildRoutes(u,y,g),Or(this.futureState.root),this.activateChildRoutes(u,y,g)}deactivateChildRoutes(g,u,y){const C=ts(u);g.children.forEach(A=>{const k=A.value.outlet;this.deactivateRoutes(A,C[k],y),delete C[k]}),Object.values(C).forEach(A=>{this.deactivateRouteAndItsChildren(A,y)})}deactivateRoutes(g,u,y){const C=g.value,A=u?u.value:null;if(C===A)if(C.component){const k=y.getContext(C.outlet);k&&this.deactivateChildRoutes(g,u,k.children)}else this.deactivateChildRoutes(g,u,y);else A&&this.deactivateRouteAndItsChildren(u,y)}deactivateRouteAndItsChildren(g,u){g.value.component&&this.routeReuseStrategy.shouldDetach(g.value.snapshot)?this.detachAndStoreRouteSubtree(g,u):this.deactivateRouteAndOutlet(g,u)}detachAndStoreRouteSubtree(g,u){const y=u.getContext(g.value.outlet),C=y&&g.value.component?y.children:u,A=ts(g);for(const k of Object.keys(A))this.deactivateRouteAndItsChildren(A[k],C);if(y&&y.outlet){const k=y.outlet.detach(),ae=y.children.onOutletDeactivated();this.routeReuseStrategy.store(g.value.snapshot,{componentRef:k,route:g,contexts:ae})}}deactivateRouteAndOutlet(g,u){const y=u.getContext(g.value.outlet),C=y&&g.value.component?y.children:u,A=ts(g);for(const k of Object.keys(A))this.deactivateRouteAndItsChildren(A[k],C);y&&(y.outlet&&(y.outlet.deactivate(),y.children.onOutletDeactivated()),y.attachRef=null,y.route=null)}activateChildRoutes(g,u,y){const C=ts(u);g.children.forEach(A=>{this.activateRoutes(A,C[A.value.outlet],y),this.forwardEvent(new Qi(A.value.snapshot))}),g.children.length&&this.forwardEvent(new Ti(g.value.snapshot))}activateRoutes(g,u,y){const C=g.value,A=u?u.value:null;if(Or(C),C===A)if(C.component){const k=y.getOrCreateContext(C.outlet);this.activateChildRoutes(g,u,k.children)}else this.activateChildRoutes(g,u,y);else if(C.component){const k=y.getOrCreateContext(C.outlet);if(this.routeReuseStrategy.shouldAttach(C.snapshot)){const ae=this.routeReuseStrategy.retrieve(C.snapshot);this.routeReuseStrategy.store(C.snapshot,null),k.children.onOutletReAttached(ae.contexts),k.attachRef=ae.componentRef,k.route=ae.route.value,k.outlet&&k.outlet.attach(ae.componentRef,ae.route.value),Or(ae.route.value),this.activateChildRoutes(g,null,k.children)}else{const ae=Cs(C.snapshot);k.attachRef=null,k.route=C,k.injector=ae,k.outlet&&k.outlet.activateWith(C,k.injector),this.activateChildRoutes(g,null,k.children)}}else this.activateChildRoutes(g,null,y)}}class is{constructor(g){this.path=g,this.route=this.path[this.path.length-1]}}class Xs{constructor(g,u){this.component=g,this.route=u}}function Mo(c,g,u){const y=c._root;return as(y,g?g._root:null,u,[y.value])}function os(c,g){const u=Symbol(),y=g.get(c,u);return y===u?"function"!=typeof c||(0,m.Z0I)(c)?g.get(c):c:y}function as(c,g,u,y,C={canDeactivateChecks:[],canActivateChecks:[]}){const A=ts(g);return c.children.forEach(k=>{(function Di(c,g,u,y,C={canDeactivateChecks:[],canActivateChecks:[]}){const A=c.value,k=g?g.value:null,ae=u?u.getContext(c.value.outlet):null;if(k&&A.routeConfig===k.routeConfig){const ie=function vt(c,g,u){if("function"==typeof u)return u(c,g);switch(u){case"pathParamsChange":return!Mn(c.url,g.url);case"pathParamsOrQueryParamsChange":return!Mn(c.url,g.url)||!An(c.queryParams,g.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!rs(c,g)||!An(c.queryParams,g.queryParams);default:return!rs(c,g)}}(k,A,A.routeConfig.runGuardsAndResolvers);ie?C.canActivateChecks.push(new is(y)):(A.data=k.data,A._resolvedData=k._resolvedData),as(c,g,A.component?ae?ae.children:null:u,y,C),ie&&ae&&ae.outlet&&ae.outlet.isActivated&&C.canDeactivateChecks.push(new Xs(ae.outlet.component,k))}else k&&an(g,ae,C),C.canActivateChecks.push(new is(y)),as(c,null,A.component?ae?ae.children:null:u,y,C)})(k,A[k.value.outlet],u,y.concat([k.value]),C),delete A[k.value.outlet]}),Object.entries(A).forEach(([k,ae])=>an(ae,u.getContext(k),C)),C}function an(c,g,u){const y=ts(c),C=c.value;Object.entries(y).forEach(([A,k])=>{an(k,C.component?g?g.children.getContext(A):null:g,u)}),u.canDeactivateChecks.push(new Xs(C.component&&g&&g.outlet&&g.outlet.isActivated?g.outlet.component:null,C))}function Yt(c){return"function"==typeof c}function Ie(c){return c instanceof B.K||"EmptyError"===c?.name}const Je=Symbol("INITIAL_VALUE");function Ft(){return(0,fe.w)(c=>(0,F.aj)(c.map(g=>g.pipe((0,be.q)(1),(0,Ke.O)(Je)))).pipe((0,me.U)(g=>{for(const u of g)if(!0!==u){if(u===Je)return Je;if(!1===u||u instanceof mr)return u}return!0}),(0,Ye.h)(g=>g!==Je),(0,be.q)(1)))}function cs(c){return(0,N.z)((0,ze.b)(g=>{if(yr(g))throw er(0,g)}),(0,me.U)(g=>!0===g))}class Zt{constructor(g){this.segmentGroup=g||null}}class Pr extends Error{constructor(g){super(),this.urlTree=g}}function ar(c){return(0,R._)(new Zt(c))}class zr{constructor(g,u){this.urlSerializer=g,this.urlTree=u}noMatchError(g){return new m.vHH(4002,!1)}lineralizeSegments(g,u){let y=[],C=u.root;for(;;){if(y=y.concat(C.segments),0===C.numberOfChildren)return(0,V.of)(y);if(C.numberOfChildren>1||!C.children[ot])return(0,R._)(new m.vHH(4e3,!1));C=C.children[ot]}}applyRedirectCommands(g,u,y){const C=this.applyRedirectCreateUrlTree(u,this.urlSerializer.parse(u),g,y);if(u.startsWith("/"))throw new Pr(C);return C}applyRedirectCreateUrlTree(g,u,y,C){const A=this.createSegmentGroup(g,u.root,y,C);return new mr(A,this.createQueryParams(u.queryParams,this.urlTree.queryParams),u.fragment)}createQueryParams(g,u){const y={};return Object.entries(g).forEach(([C,A])=>{if("string"==typeof A&&A.startsWith(":")){const ae=A.substring(1);y[C]=u[ae]}else y[C]=A}),y}createSegmentGroup(g,u,y,C){const A=this.createSegments(g,u.segments,y,C);let k={};return Object.entries(u.children).forEach(([ae,ie])=>{k[ae]=this.createSegmentGroup(g,ie,y,C)}),new tt(A,k)}createSegments(g,u,y,C){return u.map(A=>A.path.startsWith(":")?this.findPosParam(g,A,C):this.findOrReturn(A,y))}findPosParam(g,u,y){const C=y[u.path.substring(1)];if(!C)throw new m.vHH(4001,!1);return C}findOrReturn(g,u){let y=0;for(const C of u){if(C.path===g.path)return u.splice(y),C;y++}return g}}const js={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Is(c,g,u,y,C){const A=rt(c,g,u);return A.matched?(y=function Xi(c,g){return c.providers&&!c._injector&&(c._injector=(0,m.MMx)(c.providers,g,`Route: ${c.path}`)),c._injector??g}(g,y),function ws(c,g,u,y){const C=g.canMatch;if(!C||0===C.length)return(0,V.of)(!0);const A=C.map(k=>{const ae=os(k,c);return Sn(function To(c){return c&&Yt(c.canMatch)}(ae)?ae.canMatch(g,u):c.runInContext(()=>ae(g,u)))});return(0,V.of)(A).pipe(Ft(),cs())}(y,g,u).pipe((0,me.U)(k=>!0===k?A:{...js}))):(0,V.of)(A)}function rt(c,g,u){if(""===g.path)return"full"===g.pathMatch&&(c.hasChildren()||u.length>0)?{...js}:{matched:!0,consumedSegments:[],remainingSegments:u,parameters:{},positionalParamSegments:{}};const C=(g.matcher||Wt)(u,c,g);if(!C)return{...js};const A={};Object.entries(C.posParams??{}).forEach(([ae,ie])=>{A[ae]=ie.path});const k=C.consumed.length>0?{...A,...C.consumed[C.consumed.length-1].parameters}:A;return{matched:!0,consumedSegments:C.consumed,remainingSegments:u.slice(C.consumed.length),parameters:k,positionalParamSegments:C.posParams??{}}}function bi(c,g,u,y){return u.length>0&&function br(c,g,u){return u.some(y=>xr(c,g,y)&&Hn(y)!==ot)}(c,u,y)?{segmentGroup:new tt(g,Pi(y,new tt(u,c.children))),slicedSegments:[]}:0===u.length&&function wi(c,g,u){return u.some(y=>xr(c,g,y))}(c,u,y)?{segmentGroup:new tt(c.segments,no(c,0,u,y,c.children)),slicedSegments:u}:{segmentGroup:new tt(c.segments,c.children),slicedSegments:u}}function no(c,g,u,y,C){const A={};for(const k of y)if(xr(c,u,k)&&!C[Hn(k)]){const ae=new tt([],{});A[Hn(k)]=ae}return{...C,...A}}function Pi(c,g){const u={};u[ot]=g;for(const y of c)if(""===y.path&&Hn(y)!==ot){const C=new tt([],{});u[Hn(y)]=C}return u}function xr(c,g,u){return(!(c.hasChildren()||g.length>0)||"full"!==u.pathMatch)&&""===u.path}class d{}class O{constructor(g,u,y,C,A,k,ae){this.injector=g,this.configLoader=u,this.rootComponentType=y,this.config=C,this.urlTree=A,this.paramsInheritanceStrategy=k,this.urlSerializer=ae,this.applyRedirects=new zr(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(g){return new m.vHH(4002,!1)}recognize(){const g=bi(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(g).pipe((0,me.U)(u=>{const y=new Ks([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ot,this.rootComponentType,null,{}),C=new ir(y,u),A=new wn("",C),k=function Ar(c,g,u=null,y=null){return fi(di(c),g,u,y)}(y,[],this.urlTree.queryParams,this.urlTree.fragment);return k.queryParams=this.urlTree.queryParams,A.url=this.urlSerializer.serialize(k),this.inheritParamsAndData(A._root,null),{state:A,tree:k}}))}match(g){return this.processSegmentGroup(this.injector,this.config,g,ot).pipe((0,we.K)(y=>{if(y instanceof Pr)return this.urlTree=y.urlTree,this.match(y.urlTree.root);throw y instanceof Zt?this.noMatchError(y):y}))}inheritParamsAndData(g,u){const y=g.value,C=vr(y,u,this.paramsInheritanceStrategy);y.params=Object.freeze(C.params),y.data=Object.freeze(C.data),g.children.forEach(A=>this.inheritParamsAndData(A,y))}processSegmentGroup(g,u,y,C){return 0===y.segments.length&&y.hasChildren()?this.processChildren(g,u,y):this.processSegment(g,u,y,y.segments,C,!0).pipe((0,me.U)(A=>A instanceof ir?[A]:[]))}processChildren(g,u,y){const C=[];for(const A of Object.keys(y.children))"primary"===A?C.unshift(A):C.push(A);return(0,Q.D)(C).pipe((0,Pt.b)(A=>{const k=y.children[A],ae=function qi(c,g){const u=c.filter(y=>Hn(y)===g);return u.push(...c.filter(y=>Hn(y)!==g)),u}(u,A);return this.processSegmentGroup(g,ae,k,A)}),function Fe(c,g){let u=!1;return arguments.length>=2&&(u=!0),function(C){return C.lift(new At(c,g,u))}}((A,k)=>(A.push(...k),A)),(0,gn.d)(null),function bn(c,g){const u=arguments.length>=2;return y=>y.pipe(c?(0,Ye.h)((C,A)=>c(C,A,y)):Ut.y,Ce(1),u?(0,gn.d)(g):(0,ut.T)(()=>new B.K))}(),(0,et.zg)(A=>{if(null===A)return ar(y);const k=ne(A);return function $(c){c.sort((g,u)=>g.value.outlet===ot?-1:u.value.outlet===ot?1:g.value.outlet.localeCompare(u.value.outlet))}(k),(0,V.of)(k)}))}processSegment(g,u,y,C,A,k){return(0,Q.D)(u).pipe((0,Pt.b)(ae=>this.processSegmentAgainstRoute(ae._injector??g,u,ae,y,C,A,k).pipe((0,we.K)(ie=>{if(ie instanceof Zt)return(0,V.of)(null);throw ie}))),(0,Ze.P)(ae=>!!ae),(0,we.K)(ae=>{if(Ie(ae))return function l(c,g,u){return 0===g.length&&!c.children[u]}(y,C,A)?(0,V.of)(new d):ar(y);throw ae}))}processSegmentAgainstRoute(g,u,y,C,A,k,ae){return function w(c,g,u,y){return!!(Hn(c)===y||y!==ot&&xr(g,u,c))&&("**"===c.path||rt(g,c,u).matched)}(y,C,A,k)?void 0===y.redirectTo?this.matchSegmentAgainstRoute(g,C,y,A,k):this.allowRedirects&&ae?this.expandSegmentAgainstRouteUsingRedirect(g,C,u,y,A,k):ar(C):ar(C)}expandSegmentAgainstRouteUsingRedirect(g,u,y,C,A,k){const{matched:ae,consumedSegments:ie,positionalParamSegments:Re,remainingSegments:Dt}="**"===C.path?Et(A):rt(u,C,A);if(!ae)return ar(u);C.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const wt=this.applyRedirects.applyRedirectCommands(ie,C.redirectTo,Re);return this.applyRedirects.lineralizeSegments(C,wt).pipe((0,et.zg)(Dn=>this.processSegment(g,y,u,Dn.concat(Dt),k,!1)))}matchSegmentAgainstRoute(g,u,y,C,A){let k;return"**"===y.path?(k=(0,V.of)(Et(C)),u.children={}):k=Is(u,y,C,g),k.pipe((0,fe.w)(ae=>ae.matched?this.getChildConfig(g=y._injector??g,y,C).pipe((0,fe.w)(({routes:ie})=>{const Re=y._loadedInjector??g,{consumedSegments:Dt,remainingSegments:wt,parameters:Dn}=ae,Fi=new Ks(Dt,Dn,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Ue(c){return c.data||{}}(y),Hn(y),y.component??y._loadedComponent??null,y,function ke(c){return c.resolve||{}}(y)),{segmentGroup:ki,slicedSegments:ji}=bi(u,Dt,wt,ie);if(0===ji.length&&ki.hasChildren())return this.processChildren(Re,ie,ki).pipe((0,me.U)(Us=>null===Us?null:new ir(Fi,Us)));if(0===ie.length&&0===ji.length)return(0,V.of)(new ir(Fi,[]));const No=Hn(y)===A;return this.processSegment(Re,ie,ki,ji,No?ot:A,!0).pipe((0,me.U)(Us=>new ir(Fi,Us instanceof ir?[Us]:[])))})):ar(u)))}getChildConfig(g,u,y){return u.children?(0,V.of)({routes:u.children,injector:g}):u.loadChildren?void 0!==u._loadedRoutes?(0,V.of)({routes:u._loadedRoutes,injector:u._loadedInjector}):function ls(c,g,u,y){const C=g.canLoad;if(void 0===C||0===C.length)return(0,V.of)(!0);const A=C.map(k=>{const ae=os(k,c);return Sn(function Tn(c){return c&&Yt(c.canLoad)}(ae)?ae.canLoad(g,u):c.runInContext(()=>ae(g,u)))});return(0,V.of)(A).pipe(Ft(),cs())}(g,u,y).pipe((0,et.zg)(C=>C?this.configLoader.loadChildren(g,u).pipe((0,ze.b)(A=>{u._loadedRoutes=A.routes,u._loadedInjector=A.injector})):function Ci(c){return(0,R._)(Zs(!1,3))}())):(0,V.of)({routes:[],injector:g})}}function G(c){const g=c.value.routeConfig;return g&&""===g.path}function ne(c){const g=[],u=new Set;for(const y of c){if(!G(y)){g.push(y);continue}const C=g.find(A=>y.value.routeConfig===A.value.routeConfig);void 0!==C?(C.children.push(...y.children),u.add(C)):g.push(y)}for(const y of u){const C=ne(y.children);g.push(new ir(y.value,C))}return g.filter(y=>!u.has(y))}function Et(c){return{matched:!0,parameters:c.length>0?mn(c).parameters:{},consumedSegments:c,remainingSegments:[],positionalParamSegments:{}}}function I(c,g){return(0,et.zg)(u=>{const{targetSnapshot:y,guards:{canActivateChecks:C}}=u;if(!C.length)return(0,V.of)(u);const A=C.map(Re=>Re.route),k=new Set(A),ae=v(A[0].parent).slice(1);let ie=0;return(0,Q.D)(ae).pipe((0,Pt.b)(Re=>k.has(Re)?function b(c,g,u,y){const C=c.routeConfig,A=c._resolve;return void 0!==C?.title&&!Fs(C)&&(A[jr]=C.title),function x(c,g,u,y){const C=gr(c);if(0===C.length)return(0,V.of)({});const A={};return(0,Q.D)(C).pipe((0,et.zg)(k=>function q(c,g,u,y){const C=Cs(g)??y,A=os(c,C);return Sn(A.resolve?A.resolve(g,u):C.runInContext(()=>A(g,u)))}(c[k],g,u,y).pipe((0,Ze.P)(),(0,ze.b)(ae=>{A[k]=ae}))),Ce(1),function Nn(c){return g=>g.lift(new Gt(c))}(A),(0,we.K)(k=>Ie(k)?P.E:(0,R._)(k)))}(A,c,g,y).pipe((0,me.U)(k=>(c._resolvedData=k,c.data=vr(c,c.parent,u).resolve,null)))}(Re,y,c,g):(Re.data=vr(Re,Re.parent,c).resolve,(0,V.of)(void 0))),(0,ze.b)(()=>ie++),Ce(1),(0,et.zg)(Re=>ie===ae.length?(0,V.of)(u):P.E))})}function v(c){const g=c.children.map(u=>v(u)).flat();return[c,...g]}function he(c){return(0,fe.w)(g=>{const u=c(g);return u?(0,Q.D)(u).pipe((0,me.U)(()=>g)):(0,V.of)(g)})}let Le=(()=>{class c{buildTitle(u){let y,C=u.root;for(;void 0!==C;)y=this.getResolvedTitleForRoute(C)??y,C=C.children.find(A=>A.outlet===ot);return y}getResolvedTitleForRoute(u){return u.data[jr]}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=m.Yz7({token:c,factory:()=>(0,m.f3M)(Ot),providedIn:"root"})}return c})(),Ot=(()=>{class c extends Le{constructor(u){super(),this.title=u}updateTitle(u){const y=this.buildTitle(u);void 0!==y&&this.title.setTitle(y)}static#e=this.\u0275fac=function(y){return new(y||c)(m.LFG(ps.Dx))};static#t=this.\u0275prov=m.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const pt=new m.OlP("",{providedIn:"root",factory:()=>({})}),st=new m.OlP("ROUTES");let it=(()=>{class c{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,m.f3M)(m.Sil)}loadComponent(u){if(this.componentLoaders.get(u))return this.componentLoaders.get(u);if(u._loadedComponent)return(0,V.of)(u._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(u);const y=Sn(u.loadComponent()).pipe((0,me.U)(cn),(0,ze.b)(A=>{this.onLoadEndListener&&this.onLoadEndListener(u),u._loadedComponent=A}),(0,Qn.x)(()=>{this.componentLoaders.delete(u)})),C=new Z.c(y,()=>new oe.xQ).pipe((0,Xr.x)());return this.componentLoaders.set(u,C),C}loadChildren(u,y){if(this.childrenLoaders.get(y))return this.childrenLoaders.get(y);if(y._loadedRoutes)return(0,V.of)({routes:y._loadedRoutes,injector:y._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(y);const A=function kt(c,g,u,y){return Sn(c.loadChildren()).pipe((0,me.U)(cn),(0,et.zg)(C=>C instanceof m.YKP||Array.isArray(C)?(0,V.of)(C):(0,Q.D)(g.compileModuleAsync(C))),(0,me.U)(C=>{y&&y(c);let A,k,ae=!1;return Array.isArray(C)?(k=C,!0):(A=C.create(u).injector,k=A.get(st,[],{optional:!0,self:!0}).flat()),{routes:k.map(Bn),injector:A}}))}(y,this.compiler,u,this.onLoadEndListener).pipe((0,Qn.x)(()=>{this.childrenLoaders.delete(y)})),k=new Z.c(A,()=>new oe.xQ).pipe((0,Xr.x)());return this.childrenLoaders.set(y,k),k}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=m.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function cn(c){return function Mt(c){return c&&"object"==typeof c&&"default"in c}(c)?c.default:c}let xn=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=m.Yz7({token:c,factory:()=>(0,m.f3M)(Vn),providedIn:"root"})}return c})(),Vn=(()=>{class c{shouldProcessUrl(u){return!0}extract(u){return u}merge(u,y){return u}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=m.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const us=new m.OlP(""),lr=new m.OlP("");function Be(c,g,u){const y=c.get(lr),C=c.get(ye.K0);return c.get(m.R0b).runOutsideAngular(()=>{if(!C.startViewTransition||y.skipNextTransition)return y.skipNextTransition=!1,Promise.resolve();let A;const k=new Promise(Re=>{A=Re}),ae=C.startViewTransition(()=>(A(),function He(c){return new Promise(g=>{(0,m.T8G)(g,{injector:c})})}(c))),{onViewTransitionCreated:ie}=y;return ie&&(0,m.r_H)(c,()=>ie({transition:ae,from:g,to:u})),k})}let We=(()=>{class c{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new oe.xQ,this.transitionAbortSubject=new oe.xQ,this.configLoader=(0,m.f3M)(it),this.environmentInjector=(0,m.f3M)(m.lqb),this.urlSerializer=(0,m.f3M)(Tr),this.rootContexts=(0,m.f3M)(Es),this.location=(0,m.f3M)(ye.Ye),this.inputBindingEnabled=null!==(0,m.f3M)(ss,{optional:!0}),this.titleStrategy=(0,m.f3M)(Le),this.options=(0,m.f3M)(pt,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,m.f3M)(xn),this.createViewTransition=(0,m.f3M)(us,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,V.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=C=>this.events.next(new Vs(C)),this.configLoader.onLoadStartListener=C=>this.events.next(new dt(C))}complete(){this.transitions?.complete()}handleNavigationRequest(u){const y=++this.navigationId;this.transitions?.next({...this.transitions.value,...u,id:y})}setupNavigations(u,y,C){return this.transitions=new Y.X({id:0,currentUrlTree:y,currentRawUrl:y,extractedUrl:this.urlHandlingStrategy.extract(y),urlAfterRedirects:this.urlHandlingStrategy.extract(y),rawUrl:y,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:jt,restoredState:null,currentSnapshot:C.snapshot,targetSnapshot:null,currentRouterState:C,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,Ye.h)(A=>0!==A.id),(0,me.U)(A=>({...A,extractedUrl:this.urlHandlingStrategy.extract(A.rawUrl)})),(0,fe.w)(A=>{this.currentTransition=A;let k=!1,ae=!1;return(0,V.of)(A).pipe((0,ze.b)(ie=>{this.currentNavigation={id:ie.id,initialUrl:ie.rawUrl,extractedUrl:ie.extractedUrl,trigger:ie.source,extras:ie.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,fe.w)(ie=>{const Re=!u.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Re&&"reload"!==(ie.extras.onSameUrlNavigation??u.onSameUrlNavigation)){const wt="";return this.events.next(new pn(ie.id,this.urlSerializer.serialize(ie.rawUrl),wt,0)),ie.resolve(null),P.E}if(this.urlHandlingStrategy.shouldProcessUrl(ie.rawUrl))return(0,V.of)(ie).pipe((0,fe.w)(wt=>{const Dn=this.transitions?.getValue();return this.events.next(new sn(wt.id,this.urlSerializer.serialize(wt.extractedUrl),wt.source,wt.restoredState)),Dn!==this.transitions?.getValue()?P.E:Promise.resolve(wt)}),function f(c,g,u,y,C,A){return(0,et.zg)(k=>function E(c,g,u,y,C,A,k="emptyOnly"){return new O(c,g,u,y,C,k,A).recognize()}(c,g,u,y,k.extractedUrl,C,A).pipe((0,me.U)(({state:ae,tree:ie})=>({...k,targetSnapshot:ae,urlAfterRedirects:ie}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,u.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,ze.b)(wt=>{A.targetSnapshot=wt.targetSnapshot,A.urlAfterRedirects=wt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:wt.urlAfterRedirects};const Dn=new on(wt.id,this.urlSerializer.serialize(wt.extractedUrl),this.urlSerializer.serialize(wt.urlAfterRedirects),wt.targetSnapshot);this.events.next(Dn)}));if(Re&&this.urlHandlingStrategy.shouldProcessUrl(ie.currentRawUrl)){const{id:wt,extractedUrl:Dn,source:Fi,restoredState:ki,extras:ji}=ie,No=new sn(wt,this.urlSerializer.serialize(Dn),Fi,ki);this.events.next(No);const Us=Ws(0,this.rootComponentType).snapshot;return this.currentTransition=A={...ie,targetSnapshot:Us,urlAfterRedirects:Dn,extras:{...ji,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Dn,(0,V.of)(A)}{const wt="";return this.events.next(new pn(ie.id,this.urlSerializer.serialize(ie.extractedUrl),wt,1)),ie.resolve(null),P.E}}),(0,ze.b)(ie=>{const Re=new ys(ie.id,this.urlSerializer.serialize(ie.extractedUrl),this.urlSerializer.serialize(ie.urlAfterRedirects),ie.targetSnapshot);this.events.next(Re)}),(0,me.U)(ie=>(this.currentTransition=A={...ie,guards:Mo(ie.targetSnapshot,ie.currentSnapshot,this.rootContexts)},A)),function Cr(c,g){return(0,et.zg)(u=>{const{targetSnapshot:y,currentSnapshot:C,guards:{canActivateChecks:A,canDeactivateChecks:k}}=u;return 0===k.length&&0===A.length?(0,V.of)({...u,guardsResult:!0}):function Pn(c,g,u,y){return(0,Q.D)(c).pipe((0,et.zg)(C=>function at(c,g,u,y,C){const A=g&&g.routeConfig?g.routeConfig.canDeactivate:null;if(!A||0===A.length)return(0,V.of)(!0);const k=A.map(ae=>{const ie=Cs(g)??C,Re=os(ae,ie);return Sn(function $t(c){return c&&Yt(c.canDeactivate)}(Re)?Re.canDeactivate(c,g,u,y):ie.runInContext(()=>Re(c,g,u,y))).pipe((0,Ze.P)())});return(0,V.of)(k).pipe(Ft())}(C.component,C.route,u,g,y)),(0,Ze.P)(C=>!0!==C,!0))}(k,y,C,c).pipe((0,et.zg)(ae=>ae&&function Nr(c){return"boolean"==typeof c}(ae)?function Rr(c,g,u,y){return(0,Q.D)(g).pipe((0,Pt.b)(C=>(0,U.z)(function Qt(c,g){return null!==c&&g&&g(new _n(c)),(0,V.of)(!0)}(C.route.parent,y),function qs(c,g){return null!==c&&g&&g(new pi(c)),(0,V.of)(!0)}(C.route,y),function bs(c,g,u){const y=g[g.length-1],A=g.slice(0,g.length-1).reverse().map(k=>function Js(c){const g=c.routeConfig?c.routeConfig.canActivateChild:null;return g&&0!==g.length?{node:c,guards:g}:null}(k)).filter(k=>null!==k).map(k=>(0,j.P)(()=>{const ae=k.guards.map(ie=>{const Re=Cs(k.node)??u,Dt=os(ie,Re);return Sn(function to(c){return c&&Yt(c.canActivateChild)}(Dt)?Dt.canActivateChild(y,c):Re.runInContext(()=>Dt(y,c))).pipe((0,Ze.P)())});return(0,V.of)(ae).pipe(Ft())}));return(0,V.of)(A).pipe(Ft())}(c,C.path,u),function On(c,g,u){const y=g.routeConfig?g.routeConfig.canActivate:null;if(!y||0===y.length)return(0,V.of)(!0);const C=y.map(A=>(0,j.P)(()=>{const k=Cs(g)??u,ae=os(A,k);return Sn(function eo(c){return c&&Yt(c.canActivate)}(ae)?ae.canActivate(g,c):k.runInContext(()=>ae(g,c))).pipe((0,Ze.P)())}));return(0,V.of)(C).pipe(Ft())}(c,C.route,u))),(0,Ze.P)(C=>!0!==C,!0))}(y,A,c,g):(0,V.of)(ae)),(0,me.U)(ae=>({...u,guardsResult:ae})))})}(this.environmentInjector,ie=>this.events.next(ie)),(0,ze.b)(ie=>{if(A.guardsResult=ie.guardsResult,yr(ie.guardsResult))throw er(0,ie.guardsResult);const Re=new Vt(ie.id,this.urlSerializer.serialize(ie.extractedUrl),this.urlSerializer.serialize(ie.urlAfterRedirects),ie.targetSnapshot,!!ie.guardsResult);this.events.next(Re)}),(0,Ye.h)(ie=>!!ie.guardsResult||(this.cancelNavigationTransition(ie,"",3),!1)),he(ie=>{if(ie.guards.canActivateChecks.length)return(0,V.of)(ie).pipe((0,ze.b)(Re=>{const Dt=new vs(Re.id,this.urlSerializer.serialize(Re.extractedUrl),this.urlSerializer.serialize(Re.urlAfterRedirects),Re.targetSnapshot);this.events.next(Dt)}),(0,fe.w)(Re=>{let Dt=!1;return(0,V.of)(Re).pipe(I(this.paramsInheritanceStrategy,this.environmentInjector),(0,ze.b)({next:()=>Dt=!0,complete:()=>{Dt||this.cancelNavigationTransition(Re,"",2)}}))}),(0,ze.b)(Re=>{const Dt=new ur(Re.id,this.urlSerializer.serialize(Re.extractedUrl),this.urlSerializer.serialize(Re.urlAfterRedirects),Re.targetSnapshot);this.events.next(Dt)}))}),he(ie=>{const Re=Dt=>{const wt=[];Dt.routeConfig?.loadComponent&&!Dt.routeConfig._loadedComponent&&wt.push(this.configLoader.loadComponent(Dt.routeConfig).pipe((0,ze.b)(Dn=>{Dt.component=Dn}),(0,me.U)(()=>{})));for(const Dn of Dt.children)wt.push(...Re(Dn));return wt};return(0,F.aj)(Re(ie.targetSnapshot.root)).pipe((0,gn.d)(),(0,be.q)(1))}),he(()=>this.afterPreactivation()),(0,fe.w)(()=>{const{currentSnapshot:ie,targetSnapshot:Re}=A,Dt=this.createViewTransition?.(this.environmentInjector,ie.root,Re.root);return Dt?(0,Q.D)(Dt).pipe((0,me.U)(()=>A)):(0,V.of)(A)}),(0,me.U)(ie=>{const Re=function Qs(c,g,u){const y=or(c,g._root,u?u._root:void 0);return new Gs(y,g)}(u.routeReuseStrategy,ie.targetSnapshot,ie.currentRouterState);return this.currentTransition=A={...ie,targetRouterState:Re},this.currentNavigation.targetRouterState=Re,A}),(0,ze.b)(()=>{this.events.next(new Ai)}),((c,g,u,y)=>(0,me.U)(C=>(new Ri(g,C.targetRouterState,C.currentRouterState,u,y).activate(c),C)))(this.rootContexts,u.routeReuseStrategy,ie=>this.events.next(ie),this.inputBindingEnabled),(0,be.q)(1),(0,ze.b)({next:ie=>{k=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new xe(ie.id,this.urlSerializer.serialize(ie.extractedUrl),this.urlSerializer.serialize(ie.urlAfterRedirects))),this.titleStrategy?.updateTitle(ie.targetRouterState.snapshot),ie.resolve(!0)},complete:()=>{k=!0}}),(0,Ns.R)(this.transitionAbortSubject.pipe((0,ze.b)(ie=>{throw ie}))),(0,Qn.x)(()=>{k||ae||this.cancelNavigationTransition(A,"",1),this.currentNavigation?.id===A.id&&(this.currentNavigation=null)}),(0,we.K)(ie=>{if(ae=!0,Vr(ie))this.events.next(new gt(A.id,this.urlSerializer.serialize(A.extractedUrl),ie.message,ie.cancellationCode)),function Ds(c){return Vr(c)&&yr(c.url)}(ie)?this.events.next(new zs(ie.url)):A.resolve(!1);else{this.events.next(new en(A.id,this.urlSerializer.serialize(A.extractedUrl),ie,A.targetSnapshot??void 0));try{A.resolve(u.errorHandler(ie))}catch(Re){A.reject(Re)}}return P.E}))}))}cancelNavigationTransition(u,y,C){const A=new gt(u.id,this.urlSerializer.serialize(u.extractedUrl),y,C);this.events.next(A),u.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=m.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();function Tt(c){return c!==jt}let In=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=m.Yz7({token:c,factory:()=>(0,m.f3M)(fr),providedIn:"root"})}return c})();class Gr{shouldDetach(g){return!1}store(g,u){}shouldAttach(g){return!1}retrieve(g){return null}shouldReuseRoute(g,u){return g.routeConfig===u.routeConfig}}let fr=(()=>{class c extends Gr{static#e=this.\u0275fac=(()=>{let u;return function(C){return(u||(u=m.n5z(c)))(C||c)}})();static#t=this.\u0275prov=m.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),Wr=(()=>{class c{static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=m.Yz7({token:c,factory:()=>(0,m.f3M)(tn),providedIn:"root"})}return c})(),tn=(()=>{class c extends Wr{constructor(){super(...arguments),this.location=(0,m.f3M)(ye.Ye),this.urlSerializer=(0,m.f3M)(Tr),this.options=(0,m.f3M)(pt,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,m.f3M)(xn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new mr,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Ws(0,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(u){return this.location.subscribe(y=>{"popstate"===y.type&&u(y.url,y.state)})}handleRouterEvent(u,y){if(u instanceof sn)this.stateMemento=this.createStateMemento();else if(u instanceof pn)this.rawUrlTree=y.initialUrl;else if(u instanceof on){if("eager"===this.urlUpdateStrategy&&!y.extras.skipLocationChange){const C=this.urlHandlingStrategy.merge(y.finalUrl,y.initialUrl);this.setBrowserUrl(C,y)}}else u instanceof Ai?(this.currentUrlTree=y.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(y.finalUrl,y.initialUrl),this.routerState=y.targetRouterState,"deferred"===this.urlUpdateStrategy&&(y.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,y))):u instanceof gt&&(3===u.code||2===u.code)?this.restoreHistory(y):u instanceof en?this.restoreHistory(y,!0):u instanceof xe&&(this.lastSuccessfulId=u.id,this.currentPageId=this.browserPageId)}setBrowserUrl(u,y){const C=this.urlSerializer.serialize(u);if(this.location.isCurrentPathEqualTo(C)||y.extras.replaceUrl){const k={...y.extras.state,...this.generateNgRouterState(y.id,this.browserPageId)};this.location.replaceState(C,"",k)}else{const A={...y.extras.state,...this.generateNgRouterState(y.id,this.browserPageId+1)};this.location.go(C,"",A)}}restoreHistory(u,y=!1){if("computed"===this.canceledNavigationResolution){const A=this.currentPageId-this.browserPageId;0!==A?this.location.historyGo(A):this.currentUrlTree===u.finalUrl&&0===A&&(this.resetState(u),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(y&&this.resetState(u),this.resetUrlToCurrentUrlTree())}resetState(u){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,u.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(u,y){return"computed"===this.canceledNavigationResolution?{navigationId:u,\u0275routerPageId:y}:{navigationId:u}}static#e=this.\u0275fac=(()=>{let u;return function(C){return(u||(u=m.n5z(c)))(C||c)}})();static#t=this.\u0275prov=m.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var ti=function(c){return c[c.COMPLETE=0]="COMPLETE",c[c.FAILED=1]="FAILED",c[c.REDIRECTING=2]="REDIRECTING",c}(ti||{});function xi(c,g){c.events.pipe((0,Ye.h)(u=>u instanceof xe||u instanceof gt||u instanceof en||u instanceof pn),(0,me.U)(u=>u instanceof xe||u instanceof pn?ti.COMPLETE:u instanceof gt&&(0===u.code||1===u.code)?ti.REDIRECTING:ti.FAILED),(0,Ye.h)(u=>u!==ti.REDIRECTING),(0,be.q)(1)).subscribe(()=>{g()})}function $n(c){throw c}const zn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},hr={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Gn=(()=>{class c{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,m.f3M)(m.c2e),this.stateManager=(0,m.f3M)(Wr),this.options=(0,m.f3M)(pt,{optional:!0})||{},this.pendingTasks=(0,m.f3M)(m.HDt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,m.f3M)(We),this.urlSerializer=(0,m.f3M)(Tr),this.location=(0,m.f3M)(ye.Ye),this.urlHandlingStrategy=(0,m.f3M)(xn),this._events=new oe.xQ,this.errorHandler=this.options.errorHandler||$n,this.navigated=!1,this.routeReuseStrategy=(0,m.f3M)(In),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,m.f3M)(st,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,m.f3M)(ss,{optional:!0}),this.eventsSubscription=new pe.w,this.isNgZoneEnabled=(0,m.f3M)(m.R0b)instanceof m.R0b&&m.R0b.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:u=>{this.console.warn(u)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const u=this.navigationTransitions.events.subscribe(y=>{try{const C=this.navigationTransitions.currentTransition,A=this.navigationTransitions.currentNavigation;if(null!==C&&null!==A)if(this.stateManager.handleRouterEvent(y,A),y instanceof gt&&0!==y.code&&1!==y.code)this.navigated=!0;else if(y instanceof xe)this.navigated=!0;else if(y instanceof zs){const k=this.urlHandlingStrategy.merge(y.url,C.currentRawUrl),ae={skipLocationChange:C.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Tt(C.source)};this.scheduleNavigation(k,jt,null,ae,{resolve:C.resolve,reject:C.reject,promise:C.promise})}(function Aa(c){return!(c instanceof Ai||c instanceof zs)})(y)&&this._events.next(y)}catch(C){this.navigationTransitions.transitionAbortSubject.next(C)}});this.eventsSubscription.add(u)}resetRootComponentType(u){this.routerState.root.component=u,this.navigationTransitions.rootComponentType=u}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),jt,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((u,y)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(u,"popstate",y)},0)}))}navigateToSyncWithBrowser(u,y,C){const A={replaceUrl:!0},k=C?.navigationId?C:null;if(C){const ie={...C};delete ie.navigationId,delete ie.\u0275routerPageId,0!==Object.keys(ie).length&&(A.state=ie)}const ae=this.parseUrl(u);this.scheduleNavigation(ae,y,k,A)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(u){this.config=u.map(Bn),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(u,y={}){const{relativeTo:C,queryParams:A,fragment:k,queryParamsHandling:ae,preserveFragment:ie}=y,Re=ie?this.currentUrlTree.fragment:k;let wt,Dt=null;switch(ae){case"merge":Dt={...this.currentUrlTree.queryParams,...A};break;case"preserve":Dt=this.currentUrlTree.queryParams;break;default:Dt=A||null}null!==Dt&&(Dt=this.removeEmptyProps(Dt));try{wt=di(C?C.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof u[0]||!u[0].startsWith("/"))&&(u=[]),wt=this.currentUrlTree.root}return fi(wt,u,Dt,Re??null)}navigateByUrl(u,y={skipLocationChange:!1}){const C=yr(u)?u:this.parseUrl(u),A=this.urlHandlingStrategy.merge(C,this.rawUrlTree);return this.scheduleNavigation(A,jt,null,y)}navigate(u,y={skipLocationChange:!1}){return function Bt(c){for(let g=0;g<c.length;g++)if(null==c[g])throw new m.vHH(4008,!1)}(u),this.navigateByUrl(this.createUrlTree(u,y),y)}serializeUrl(u){return this.urlSerializer.serialize(u)}parseUrl(u){try{return this.urlSerializer.parse(u)}catch{return this.urlSerializer.parse("/")}}isActive(u,y){let C;if(C=!0===y?{...zn}:!1===y?{...hr}:y,yr(u))return Ct(this.currentUrlTree,u,C);const A=this.parseUrl(u);return Ct(this.currentUrlTree,A,C)}removeEmptyProps(u){return Object.keys(u).reduce((y,C)=>{const A=u[C];return null!=A&&(y[C]=A),y},{})}scheduleNavigation(u,y,C,A,k){if(this.disposed)return Promise.resolve(!1);let ae,ie,Re;k?(ae=k.resolve,ie=k.reject,Re=k.promise):Re=new Promise((wt,Dn)=>{ae=wt,ie=Dn});const Dt=this.pendingTasks.add();return xi(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Dt))}),this.navigationTransitions.handleNavigationRequest({source:y,restoredState:C,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:u,extras:A,resolve:ae,reject:ie,promise:Re,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Re.catch(wt=>Promise.reject(wt))}static#e=this.\u0275fac=function(y){return new(y||c)};static#t=this.\u0275prov=m.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})(),ni=(()=>{class c{constructor(u,y,C,A,k,ae){this.router=u,this.route=y,this.tabIndexAttribute=C,this.renderer=A,this.el=k,this.locationStrategy=ae,this.href=null,this.commands=null,this.onChanges=new oe.xQ,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const ie=k.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===ie||"area"===ie,this.isAnchorElement?this.subscription=u.events.subscribe(Re=>{Re instanceof xe&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(u){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",u)}ngOnChanges(u){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(u){null!=u?(this.commands=Array.isArray(u)?u:[u],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(u,y,C,A,k){return!!(null===this.urlTree||this.isAnchorElement&&(0!==u||y||C||A||k||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const u=null===this.href?null:(0,m.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",u)}applyAttributeValue(u,y){const C=this.renderer,A=this.el.nativeElement;null!==y?C.setAttribute(A,u,y):C.removeAttribute(A,u)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(y){return new(y||c)(m.Y36(Gn),m.Y36(ns),m.$8M("tabindex"),m.Y36(m.Qsj),m.Y36(m.SBq),m.Y36(ye.S$))};static#t=this.\u0275dir=m.lG2({type:c,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(y,C){1&y&&m.NdJ("click",function(k){return C.onClick(k.button,k.ctrlKey,k.shiftKey,k.altKey,k.metaKey)}),2&y&&m.uIk("target",C.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",m.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",m.VuI],replaceUrl:["replaceUrl","replaceUrl",m.VuI],routerLink:"routerLink"},standalone:!0,features:[m.Xq5,m.TTD]})}return c})();class Li{}let fu=(()=>{class c{constructor(u,y,C,A,k){this.router=u,this.injector=C,this.preloadingStrategy=A,this.loader=k}setUpPreloading(){this.subscription=this.router.events.pipe((0,Ye.h)(u=>u instanceof xe),(0,Pt.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(u,y){const C=[];for(const A of y){A.providers&&!A._injector&&(A._injector=(0,m.MMx)(A.providers,u,`Route: ${A.path}`));const k=A._injector??u,ae=A._loadedInjector??k;(A.loadChildren&&!A._loadedRoutes&&void 0===A.canLoad||A.loadComponent&&!A._loadedComponent)&&C.push(this.preloadConfig(k,A)),(A.children||A._loadedRoutes)&&C.push(this.processRoutes(ae,A.children??A._loadedRoutes))}return(0,Q.D)(C).pipe((0,Sr.J)())}preloadConfig(u,y){return this.preloadingStrategy.preload(y,()=>{let C;C=y.loadChildren&&void 0===y.canLoad?this.loader.loadChildren(u,y):(0,V.of)(null);const A=C.pipe((0,et.zg)(k=>null===k?(0,V.of)(void 0):(y._loadedRoutes=k.routes,y._loadedInjector=k.injector,this.processRoutes(k.injector??u,k.routes))));if(y.loadComponent&&!y._loadedComponent){const k=this.loader.loadComponent(y);return(0,Q.D)([A,k]).pipe((0,Sr.J)())}return A})}static#e=this.\u0275fac=function(y){return new(y||c)(m.LFG(Gn),m.LFG(m.Sil),m.LFG(m.lqb),m.LFG(Li),m.LFG(it))};static#t=this.\u0275prov=m.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();const so=new m.OlP("");let Al=(()=>{class c{constructor(u,y,C,A,k={}){this.urlSerializer=u,this.transitions=y,this.viewportScroller=C,this.zone=A,this.options=k,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},k.scrollPositionRestoration=k.scrollPositionRestoration||"disabled",k.anchorScrolling=k.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(u=>{u instanceof sn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=u.navigationTrigger,this.restoredId=u.restoredState?u.restoredState.navigationId:0):u instanceof xe?(this.lastId=u.id,this.scheduleScrollEvent(u,this.urlSerializer.parse(u.urlAfterRedirects).fragment)):u instanceof pn&&0===u.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(u,this.urlSerializer.parse(u.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(u=>{u instanceof $s&&(u.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(u.position):u.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(u.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(u,y){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new $s(u,"popstate"===this.lastSource?this.store[this.restoredId]:null,y))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(y){m.$Z()};static#t=this.\u0275prov=m.Yz7({token:c,factory:c.\u0275fac})}return c})();function Ss(c,...g){return(0,m.MR2)([{provide:st,multi:!0,useValue:c},[],{provide:ns,useFactory:_a,deps:[Gn]},{provide:m.tb,multi:!0,useFactory:Ao},g.map(u=>u.\u0275providers)])}function _a(c){return c.routerState.root}function Ms(c,g){return{\u0275kind:c,\u0275providers:g}}function Ao(){const c=(0,m.f3M)(m.zs3);return g=>{const u=c.get(m.z2F);if(g!==u.components[0])return;const y=c.get(Gn),C=c.get(lt);1===c.get(_o)&&y.initialNavigation(),c.get(Ol,null,m.XFs.Optional)?.setUpPreloading(),c.get(so,null,m.XFs.Optional)?.init(),y.resetRootComponentType(u.componentTypes[0]),C.closed||(C.next(),C.complete(),C.unsubscribe())}}const lt=new m.OlP("",{factory:()=>new oe.xQ}),_o=new m.OlP("",{providedIn:"root",factory:()=>1}),Ol=new m.OlP("");function Ra(c){return Ms(0,[{provide:Ol,useExisting:fu},{provide:Li,useExisting:c}])}function mu(c){return Ms(9,[{provide:us,useValue:Be},{provide:lr,useValue:{skipNextTransition:!!c?.skipInitialTransition,...c}}])}const ge=new m.OlP("ROUTER_FORROOT_GUARD"),Nt=[ye.Ye,{provide:Tr,useClass:Un},Gn,Es,{provide:ns,useFactory:_a,deps:[Gn]},it,[]];let Nl=(()=>{class c{constructor(u){}static forRoot(u,y){return{ngModule:c,providers:[Nt,[],{provide:st,multi:!0,useValue:u},{provide:ge,useFactory:oo,deps:[[Gn,new m.FiY,new m.tp0]]},{provide:pt,useValue:y||{}},y?.useHash?{provide:ye.S$,useClass:ye.Do}:{provide:ye.S$,useClass:ye.b0},{provide:so,useFactory:()=>{const c=(0,m.f3M)(ye.EM),g=(0,m.f3M)(m.R0b),u=(0,m.f3M)(pt),y=(0,m.f3M)(We),C=(0,m.f3M)(Tr);return u.scrollOffset&&c.setOffset(u.scrollOffset),new Al(C,y,c,g,u)}},y?.preloadingStrategy?Ra(y.preloadingStrategy).\u0275providers:[],y?.initialNavigation?Ts(y):[],y?.bindToComponentInputs?Ms(8,[Er,{provide:ss,useExisting:Er}]).\u0275providers:[],y?.enableViewTransitions?mu().\u0275providers:[],[{provide:Oo,useFactory:Ao},{provide:m.tb,multi:!0,useExisting:Oo}]]}}static forChild(u){return{ngModule:c,providers:[{provide:st,multi:!0,useValue:u}]}}static#e=this.\u0275fac=function(y){return new(y||c)(m.LFG(ge,8))};static#t=this.\u0275mod=m.oAB({type:c});static#n=this.\u0275inj=m.cJS({})}return c})();function oo(c){return"guarded"}function Ts(c){return["disabled"===c.initialNavigation?Ms(3,[{provide:m.ip1,multi:!0,useFactory:()=>{const g=(0,m.f3M)(Gn);return()=>{g.setUpLocationChangeListener()}}},{provide:_o,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?Ms(2,[{provide:_o,useValue:0},{provide:m.ip1,multi:!0,deps:[m.zs3],useFactory:g=>{const u=g.get(ye.V_,Promise.resolve());return()=>u.then(()=>new Promise(y=>{const C=g.get(Gn),A=g.get(lt);xi(C,()=>{y(!0)}),g.get(We).afterPreactivation=()=>(y(!0),A.closed?(0,V.of)(void 0):A),C.initialNavigation()}))}}]).\u0275providers:[]]}const Oo=new m.OlP("")},4001:(Me,ee,p)=>{"use strict";function Q(Ce,Ae){for(var Te=0;Te<Ae.length;Te++){var ut=Ae[Te];ut.enumerable=ut.enumerable||!1,ut.configurable=!0,"value"in ut&&(ut.writable=!0),Object.defineProperty(Ce,P(ut.key),ut)}}function Y(Ce,Ae,Te){return(Ae=P(Ae))in Ce?Object.defineProperty(Ce,Ae,{value:Te,enumerable:!0,configurable:!0,writable:!0}):Ce[Ae]=Te,Ce}function F(Ce,Ae){return function B(Ce){if(Array.isArray(Ce))return Ce}(Ce)||function m(Ce,Ae){var Te=null==Ce?null:typeof Symbol<"u"&&Ce[Symbol.iterator]||Ce["@@iterator"];if(null!=Te){var ut,Ut,bn,Nn,Gt=[],Fn=!0,Qn=!1;try{if(bn=(Te=Te.call(Ce)).next,0===Ae){if(Object(Te)!==Te)return;Fn=!1}else for(;!(Fn=(ut=bn.call(Te)).done)&&(Gt.push(ut.value),Gt.length!==Ae);Fn=!0);}catch(Xr){Qn=!0,Ut=Xr}finally{try{if(!Fn&&null!=Te.return&&(Nn=Te.return(),Object(Nn)!==Nn))return}finally{if(Qn)throw Ut}}return Gt}}(Ce,Ae)||function U(Ce,Ae){if(Ce){if("string"==typeof Ce)return j(Ce,Ae);var Te=Object.prototype.toString.call(Ce).slice(8,-1);if("Object"===Te&&Ce.constructor&&(Te=Ce.constructor.name),"Map"===Te||"Set"===Te)return Array.from(Ce);if("Arguments"===Te||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Te))return j(Ce,Ae)}}(Ce,Ae)||function N(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(Ce,Ae){(null==Ae||Ae>Ce.length)&&(Ae=Ce.length);for(var Te=0,ut=new Array(Ae);Te<Ae;Te++)ut[Te]=Ce[Te];return ut}function P(Ce){var Ae=function R(Ce,Ae){if("object"!=typeof Ce||null===Ce)return Ce;var Te=Ce[Symbol.toPrimitive];if(void 0!==Te){var ut=Te.call(Ce,Ae||"default");if("object"!=typeof ut)return ut;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===Ae?String:Number)(Ce)}(Ce,"string");return"symbol"==typeof Ae?Ae:String(Ae)}function Z(Ce,Ae){return function ye(Ce,Ae){return Ae.get?Ae.get.call(Ce):Ae.value}(Ce,pe(Ce,Ae,"get"))}function oe(Ce,Ae,Te){return function me(Ce,Ae,Te){if(Ae.set)Ae.set.call(Ce,Te);else{if(!Ae.writable)throw new TypeError("attempted to set read only private field");Ae.value=Te}}(Ce,pe(Ce,Ae,"set"),Te),Te}function pe(Ce,Ae,Te){if(!Ae.has(Ce))throw new TypeError("attempted to "+Te+" private field on non-instance");return Ae.get(Ce)}function fe(Ce,Ae,Te){if(!Ae.has(Ce))throw new TypeError("attempted to get private field on non-instance");return Te}function be(Ce,Ae){if(Ae.has(Ce))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ke(Ce,Ae,Te){be(Ce,Ae),Ae.set(Ce,Te)}function Ye(Ce,Ae){be(Ce,Ae),Ae.add(Ce)}p.d(ee,{Z:()=>nn});var et=[" daum[ /]"," deusu/"," yadirectfetcher","(?:^| )site","(?:^|[^g])news","@[a-z]","\\(at\\)[a-z]","\\(github\\.com/","\\[at\\][a-z]","^12345","^<","^[\\w \\.\\-\\(\\)]+(/v?\\d+(\\.\\d+)?(\\.\\d{1,10})?)?$","^[^ ]{50,}$","^active","^ad muncher","^amaya","^anglesharp/","^anonymous","^avsdevicesdk/","^axios/","^bidtellect/","^biglotron","^btwebclient/","^castro","^clamav[ /]","^client/","^cobweb/","^coccoc","^custom","^ddg[_-]android","^discourse","^dispatch/\\d","^downcast/","^duckduckgo","^facebook","^fdm[ /]\\d","^getright/","^gozilla/","^hatena","^hobbit","^hotzonu","^hwcdn/","^jeode/","^jetty/","^jigsaw","^linkdex","^lwp[-: ]","^metauri","^microsoft bits","^movabletype","^mozilla/\\d\\.\\d \\(compatible;?\\)$","^mozilla/\\d\\.\\d \\w*$","^navermailapp","^netsurf","^offline explorer","^php","^postman","^postrank","^python","^read","^reed","^restsharp/","^snapchat","^space bison","^svn","^swcd ","^taringa","^test certificate info","^thumbor/","^tumblr/","^user-agent:mozilla","^valid","^venus/fedoraplanet","^w3c","^webbandit/","^webcopier","^wget","^whatsapp","^xenu link sleuth","^yahoo","^yandex","^zdm/\\d","^zoom marketplace/","^{{.*}}$","adbeat\\.com","appinsights","archive","ask jeeves/teoma","bit\\.ly/","bluecoat drtr","bot","browsex","burpcollaborator","capture","catch","check","chrome-lighthouse","chromeframe","cloud","crawl","cryptoapi","dareboost","datanyze","dataprovider","dejaclick","dmbrowser","download","evc-batch/","feed","firephp","freesafeip","gomezagent","google","headlesschrome/","http","httrack","hubspot marketing grader","hydra","ibisbrowser","images","inspect","iplabel","ips-agent","java","library","mail\\.ru/","manager","monitor","morningscore/","neustar wpm","nutch","offbyone","optimize","pageburst","pagespeed","perl","phantom","pingdom","powermarks","preview","proxy","ptst[ /]\\d","reader","rexx;","rigor","rss","scan","scrape","search","serp ?reputation ?management","server","sogou","sparkler/","speedcurve","spider","splash","statuscake","stumbleupon\\.com","supercleaner","synapse","synthetic","torrent","tracemyfile","transcoder","trendsmapresolver","twingly recon","url","virtuoso","wappalyzer","webglance","webkit2png","websitemetadataretriever","whatcms/","wordpress","zgrab"];!function Ze(Ce){try{new RegExp("(?<! cu)bot").test("dangerbot")}catch{return Ce}[["bot","(?<! cu)bot"],["google","(?<! (?:channel/|google/))google(?!(app|/google| pixel))"],["http","(?<!(?:lib))http"],["java","java(?!;)"],["search","(?<! ya(?:yandex)?)search"]].forEach(function(Ae){var Te=F(Ae,2),Ut=Te[1],bn=Ce.lastIndexOf(Te[0]);~bn&&Ce.splice(bn,1,Ut)})}(et);var ze=new WeakMap,we=new WeakMap,le=new WeakSet,Fe=new WeakSet;function qe(){oe(this,we,new RegExp(Z(this,ze).join("|"),"i"))}function gn(Ce){return Z(this,ze).indexOf(Ce.toLowerCase())}var nn=new(function(){function Ce(Ae){var Te=this;return function T(Ce,Ae){if(!(Ce instanceof Ae))throw new TypeError("Cannot call a class as a function")}(this,Ce),Ye(this,Fe),Ye(this,le),Ke(this,ze,{writable:!0,value:void 0}),Ke(this,we,{writable:!0,value:void 0}),oe(this,ze,Ae||et.slice()),fe(this,le,qe).call(this),Object.defineProperties(function(bn){return Te.test(bn)},Object.entries(Object.getOwnPropertyDescriptors(Ce.prototype)).reduce(function(Ut,bn){var Nn=F(bn,2),Gt=Nn[0],Fn=Nn[1];return"function"==typeof Fn.value&&Object.assign(Ut,Y({},Gt,{value:Te[Gt].bind(Te)})),"function"==typeof Fn.get&&Object.assign(Ut,Y({},Gt,{get:function(){return Te[Gt]}})),Ut},{}))}return function V(Ce,Ae,Te){Ae&&Q(Ce.prototype,Ae),Te&&Q(Ce,Te),Object.defineProperty(Ce,"prototype",{writable:!1})}(Ce,[{key:"pattern",get:function(){return new RegExp(Z(this,we))}},{key:"test",value:function(Te){return!!Te&&Z(this,we).test(Te)}},{key:"find",value:function(){var ut=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").match(Z(this,we));return ut&&ut[0]}},{key:"matches",value:function(){var Te=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Z(this,ze).filter(function(ut){return new RegExp(ut,"i").test(Te)})}},{key:"clear",value:function(){this.exclude(this.matches(arguments.length>0&&void 0!==arguments[0]?arguments[0]:""))}},{key:"extend",value:function(){var Te=this,ut=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];[].push.apply(Z(this,ze),ut.filter(function(Ut){return-1===fe(Te,Fe,gn).call(Te,Ut)}).map(function(Ut){return Ut.toLowerCase()})),fe(this,le,qe).call(this)}},{key:"exclude",value:function(){for(var Te=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],ut=Te.length;ut--;){var Ut=fe(this,Fe,gn).call(this,Te[ut]);Ut>-1&&Z(this,ze).splice(Ut,1)}fe(this,le,qe).call(this)}},{key:"spawn",value:function(Te){return new Ce(Te||Z(this,ze))}}]),Ce}())},1670:(Me,ee,p)=>{"use strict";function m(Q,V,Y,F,B,U,j){try{var N=Q[U](j),R=N.value}catch(P){return void Y(P)}N.done?V(R):Promise.resolve(R).then(F,B)}function T(Q){return function(){var V=this,Y=arguments;return new Promise(function(F,B){var U=Q.apply(V,Y);function j(R){m(U,F,B,j,N,"next",R)}function N(R){m(U,F,B,j,N,"throw",R)}j(void 0)})}}p.d(ee,{Z:()=>T})},219:Me=>{"use strict";Me.exports=JSON.parse('[{"id":15,"slug":"region-metropolitana","label":"Regi\xf3n Metropolitana","short":"Regi\xf3n Metropolitana"},{"id":1,"slug":"arica-parinacota","label":"XV Arica & Parinacota","short":"Arica & Parinacota"},{"id":2,"slug":"tarapaca","label":"I Tarapac\xe1","short":"Tarapac\xe1"},{"id":3,"slug":"antofagasta","label":"II Antofagasta","short":"Antofagasta"},{"id":4,"slug":"atacama","label":"III Atacama","short":"Atacama"},{"id":5,"slug":"coquimbo","label":"IV Coquimbo","short":"Coquimbo"},{"id":6,"slug":"valparaiso","label":"V Valpara\xedso","short":"Valpara\xedso"},{"id":7,"slug":"ohiggins","label":"VI O\'Higgins","short":"O\'Higgins"},{"id":8,"slug":"maule","label":"VII Maule","short":"Maule"},{"id":16,"slug":"nuble","label":"XVI \xd1uble","short":"\xd1uble"},{"id":9,"slug":"biobio","label":"VIII Biob\xedo","short":"Biob\xedo"},{"id":10,"slug":"araucania","label":"IX Araucan\xeda","short":"Araucan\xeda"},{"id":11,"slug":"los-rios","label":"XIV Los R\xedos","short":"Los R\xedos"},{"id":12,"slug":"los-lagos","label":"X Los Lagos","short":"Los Lagos"},{"id":13,"slug":"aysen","label":"XI Ays\xe9n","short":"Ays\xe9n"},{"id":14,"slug":"magallanes-antartica","label":"XII Magallanes & Ant\xe1rtica","short":"Magallanes & Ant\xe1rtica"}]')},9038:Me=>{"use strict";Me.exports=JSON.parse('[{"slug":"inmuebles","label":"Inmuebles","icon":"house-line","img":"https://storage.googleapis.com/common-library/buyers/assets/vertical-real-estate.png","alt":"Ingresar a inmuebles","theme":"inmo","categories":[1000]},{"slug":"vehiculos","label":"Veh\xedculos","icon":"car","img":"https://storage.googleapis.com/common-library/buyers/assets/vertical-cars.png","alt":"Ingresar a veh\xedculos","theme":"cars","categories":[2000]},{"slug":"marketplace","label":"Marketplace","icon":"storefront","img":"https://storage.googleapis.com/common-library/buyers/assets/vertical-jobs.png","alt":"Ingresar a marketplace","theme":"marketplace","categories":[5000,4000,9000,6000,3000,8000]},{"slug":"empleos-y-servicios","label":"Empleos y Servicios","icon":"briefcase","img":"https://storage.googleapis.com/common-library/buyers/assets/vertical-marketplace.png","alt":"Ingresar a Empleos y Servicios","theme":"jobs","categories":[7000]}]')}},Me=>{Me(Me.s=569)}]);
|