PageSourceSearch

https://webtic.it/app/chunk-YGEGK4WF.js

js webtic.it collected 2026-09-24 10:14:46 UTC 169,278 bytes, 2 lines download raw bytes

1import{$a as es,A as Nn,Aa as wt,B as Ke,Ba as zo,Bb as is,C as mt,Ca as Ho,D as Fn,Da as Vo,Db as os,E as Kt,Ea as Go,F as ze,Fa as Wo,Fb as ss,G as Yr,Ga as qo,Gb as as,H as No,Ha as Yo,I as Fo,Ia as it,J as vt,K as le,L as xn,M as re,Ma as Zo,N as U,O as Je,P as _,Pa as Ct,Q as Qe,Qa as Xo,R as xo,Ra as $n,S as B,Sa as ei,T as A,Ta as ti,U as g,Ua as Ko,V as Jt,Va as tn,W as ko,Wa as we,X as me,Xa as Jo,Y as se,Ya as ni,Za as Qo,_a as zn,a as v,ab as ot,ac as us,b as Q,ba as et,bb as St,c as pu,ca as X,cb as ts,d as gu,da as yt,dc as W,e as $e,ea as Uo,eb as ri,ec as ie,f as To,fa as tt,fb as ii,fc as Vn,g as Mo,ga as nt,gb as oi,gc as cs,h as Yt,ha as Zr,hb as si,i as Oe,ia as Qt,ib as Hn,ic as ls,j as pe,jb as ns,k as ge,ka as G,l as ne,la as Xr,m as I,mc as Et,n as Io,na as Dt,nc as ds,o as Wr,oa as kn,oc as nn,p as Po,pa as Kr,pc as hs,q as Zt,qa as en,qc as bt,ra as jo,s as V,sa as Jr,t as qr,ta as Bo,tb as rs,u as _e,ua as Un,v as Xt,va as jn,w as Oo,wa as $o,x as Ln,xa as Qr,y as Lo,ya as Bn,z as ce,za as rt}from"./chunk-GIY6OMVM.js";var Za=pu(()=>{"use strict";var Ya;(function(r){(function(n){var e=typeof globalThis=="object"?globalThis:typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:a(),t=i(r);typeof e.Reflect<"u"&&(t=i(e.Reflect,t)),n(t,e),typeof e.Reflect>"u"&&(e.Reflect=r);function i(u,c){return function(f,p){Object.defineProperty(u,f,{configurable:!0,writable:!0,value:p}),c&&c(f,p)}}function o(){try{return Function("return this;")()}catch{}}function s(){try{return(0,eval)("(function() { return this; })()")}catch{}}function a(){return o()||s()}})(function(n,e){var t=Object.prototype.hasOwnProperty,i=typeof Symbol=="function",o=i&&typeof Symbol.toPrimitive<"u"?Symbol.toPrimitive:"@@toPrimitive",s=i&&typeof Symbol.iterator<"u"?Symbol.iterator:"@@iterator",a=typeof Object.create=="function",u={__proto__:[]}instanceof Array,c=!a&&!u,f={create:a?function(){return Gr(Object.create(null))}:u?function(){return Gr({__proto__:null})}:function(){return Gr({})},has:c?function(l,d){return t.call(l,d)}:function(l,d){return d in l},get:c?function(l,d){return t.call(l,d)?l[d]:void 0}:function(l,d){return l[d]}},p=Object.getPrototypeOf(Function),b=typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:cu(),T=typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:lu(),F=typeof WeakMap=="function"?WeakMap:du(),R=i?Symbol.for("@reflect-metadata:registry"):void 0,O=su(),x=au(O);function w(l,d,h,m){if(M(h)){if(!wo(l))throw new TypeError;if(!Co(d))throw new TypeError;return Ja(l,d)}else{if(!wo(l))throw new TypeError;if(!q(d))throw new TypeError;if(!q(m)&&!M(m)&&!pt(m))throw new TypeError;return pt(m)&&(m=void 0),h=Re(h),Qa(l,d,h,m)}}n("decorate",w);function L(l,d){function h(m,E){if(!q(m))throw new TypeError;if(!M(E)&&!iu(E))throw new TypeError;go(l,d,m,E)}return h}n("metadata",L);function z(l,d,h,m){if(!q(h))throw new TypeError;return M(m)||(m=Re(m)),go(l,d,h,m)}n("defineMetadata",z);function ue(l,d,h){if(!q(d))throw new TypeError;return M(h)||(h=Re(h)),ho(l,d,h)}n("hasMetadata",ue);function be(l,d,h){if(!q(d))throw new TypeError;return M(h)||(h=Re(h)),zr(l,d,h)}n("hasOwnMetadata",be);function ye(l,d,h){if(!q(d))throw new TypeError;return M(h)||(h=Re(h)),fo(l,d,h)}n("getMetadata",ye);function Xe(l,d,h){if(!q(d))throw new TypeError;return M(h)||(h=Re(h)),po(l,d,h)}n("getOwnMetadata",Xe);function Wt(l,d){if(!q(l))throw new TypeError;return M(d)||(d=Re(d)),mo(l,d)}n("getMetadataKeys",Wt);function On(l,d){if(!q(l))throw new TypeError;return M(d)||(d=Re(d)),vo(l,d)}n("getOwnMetadataKeys",On);function Ka(l,d,h){if(!q(d))throw new TypeError;if(M(h)||(h=Re(h)),!q(d))throw new TypeError;M(h)||(h=Re(h));var m=qt(d,h,!1);return M(m)?!1:m.OrdinaryDeleteMetadata(l,d,h)}n("deleteMetadata",Ka);function Ja(l,d){for(var h=l.length-1;h>=0;--h){var m=l[h],E=m(d);if(!M(E)&&!pt(E)){if(!Co(E))throw new TypeError;d=E}}return d}function Qa(l,d,h,m){for(var E=l.length-1;E>=0;--E){var Y=l[E],K=Y(d,h,m);if(!M(K)&&!pt(K)){if(!q(K))throw new TypeError;m=K}}return m}function ho(l,d,h){var m=zr(l,d,h);if(m)return!0;var E=Vr(d);return pt(E)?!1:ho(l,E,h)}function zr(l,d,h){var m=qt(d,h,!1);return M(m)?!1:Do(m.OrdinaryHasOwnMetadata(l,d,h))}function fo(l,d,h){var m=zr(l,d,h);if(m)return po(l,d,h);var E=Vr(d);if(!pt(E))return fo(l,E,h)}function po(l,d,h){var m=qt(d,h,!1);if(!M(m))return m.OrdinaryGetOwnMetadata(l,d,h)}function go(l,d,h,m){var E=qt(h,m,!0);E.OrdinaryDefineOwnMetadata(l,d,h,m)}function mo(l,d){var h=vo(l,d),m=Vr(l);
1if(m===null)return h;var E=mo(m,d);if(E.length<=0)return h;if(h.length<=0)return E;for(var Y=new T,K=[],k=0,y=h;k<y.length;k++){var D=y[k],C=Y.has(D);C||(Y.add(D),K.push(D))}for(var S=0,j=E;S<j.length;S++){var D=j[S],C=Y.has(D);C||(Y.add(D),K.push(D))}return K}function vo(l,d){var h=qt(l,d,!1);return h?h.OrdinaryOwnMetadataKeys(l,d):[]}function yo(l){if(l===null)return 1;switch(typeof l){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return l===null?1:6;default:return 6}}function M(l){return l===void 0}function pt(l){return l===null}function eu(l){return typeof l=="symbol"}function q(l){return typeof l=="object"?l!==null:typeof l=="function"}function tu(l,d){switch(yo(l)){case 0:return l;case 1:return l;case 2:return l;case 3:return l;case 4:return l;case 5:return l}var h=d===3?"string":d===5?"number":"default",m=So(l,o);if(m!==void 0){var E=m.call(l,h);if(q(E))throw new TypeError;return E}return nu(l,h==="default"?"number":h)}function nu(l,d){if(d==="string"){var h=l.toString;if(gt(h)){var m=h.call(l);if(!q(m))return m}var E=l.valueOf;if(gt(E)){var m=E.call(l);if(!q(m))return m}}else{var E=l.valueOf;if(gt(E)){var m=E.call(l);if(!q(m))return m}var Y=l.toString;if(gt(Y)){var m=Y.call(l);
1if(!q(m))return m}}throw new TypeError}function Do(l){return!!l}function ru(l){return""+l}function Re(l){var d=tu(l,3);return eu(d)?d:ru(d)}function wo(l){return Array.isArray?Array.isArray(l):l instanceof Object?l instanceof Array:Object.prototype.toString.call(l)==="[object Array]"}function gt(l){return typeof l=="function"}function Co(l){return typeof l=="function"}function iu(l){switch(yo(l)){case 3:return!0;case 4:return!0;default:return!1}}function Hr(l,d){return l===d||l!==l&&d!==d}function So(l,d){var h=l[d];if(h!=null){if(!gt(h))throw new TypeError;return h}}function Eo(l){var d=So(l,s);if(!gt(d))throw new TypeError;var h=d.call(l);if(!q(h))throw new TypeError;return h}function bo(l){return l.value}function Ro(l){var d=l.next();return d.done?!1:d}function _o(l){var d=l.return;d&&d.call(l)}function Vr(l){var d=Object.getPrototypeOf(l);if(typeof l!="function"||l===p||d!==p)return d;var h=l.prototype,m=h&&Object.getPrototypeOf(h);if(m==null||m===Object.prototype)return d;var E=m.constructor;return typeof E!="function"||E===l?d:E}function ou(){var l;!M(R)&&typeof e.Reflect<"u"&&!(R in e.Reflect)&&typeof e.Reflect.defineMetadata=="function"&&(l=uu(e.Reflect));var d,h,m,E=new F,Y={registerProvider:K,getProvider:y,setProvider:C};return Y;function K(S){if(!Object.isExtensible(Y))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case l===S:break;case M(d):d=S;break;case d===S:break;case M(h):h=S;break;case h===S:break;default:m===void 0&&(m=new T),m.add(S);break}}function k(S,j){if(!M(d)){if(d.isProviderFor(S,j))return d;if(!M(h)){if(h.isProviderFor(S,j))return d;if(!M(m))for(var H=Eo(m);;){var Z=Ro(H);if(!Z)return;var De=bo(Z);if(De.isProviderFor(S,j))return _o(H),De}}}if(!M(l)&&l.isProviderFor(S,j))return l}function y(S,j){var H=E.get(S),Z;return M(H)||(Z=H.get(j)),M(Z)&&(Z=k(S,j),M(Z)||(M(H)&&(H=new b,E.set(S,H)),H.set(j,Z))),Z}function D(S){if(M(S))throw new TypeError;return d===S||h===S||!M(m)&&m.has(S)}function C(S,j,H){if(!D(H))throw new Error("Metadata provider not registered.");var Z=y(S,j);if(Z!==H){if(!M(Z))return!1;var De=E.get(S);M(De)&&(De=new b,E.set(S,De)),De.set(j,H)}return!0}}function su(){var l;return!M(R)&&q(e.Reflect)&&Object.isExtensible(e.Reflect)&&(l=e.Reflect[R]),M(l)&&(l=ou()),!M(R)&&q(e.Reflect)&&Object.isExtensible(e.Reflect)&&Object.defineProperty(e.Reflect,R,{enumerable:!1,configurable:!1,writable:!1,value:l}),l}function au(l){var d=new F,h={isProviderFor:function(D,C){var S=d.get(D);return M(S)?!1:S.has(C)},OrdinaryDefineOwnMetadata:K,OrdinaryHasOwnMetadata:E,OrdinaryGetOwnMetadata:Y,OrdinaryOwnMetadataKeys:k,OrdinaryDeleteMetadata:y};return O.registerProvider(h),h;function m(D,C,S){var j=d.get(D),H=!1;if(M(j)){if(!S)return;j=new b,d.set(D,j),H=!0}var Z=j.get(C);if(M(Z)){if(!S)return;if(Z=new b,j.set(C,Z),!l.setProvider(D,C,h))throw j.delete(C),H&&d.delete(D),new Error("Wrong provider for target.")}return Z}function E(D,C,S){var j=m(C,S,!1);return M(j)?!1:Do(j.has(D))}function Y(D,C,S){var j=m(C,S,!1);if(!M(j))return j.get(D)}function K(D,C,S,j){var H=m(S,j,!0);H.set(D,C)}function k(D,C){var S=[],j=m(D,C,!1);if(M(j))return S;for(var H=j.keys(),Z=Eo(H),De=0;;){var Ao=Ro(Z);if(!Ao)return S.length=De,S;var hu=bo(Ao);try{S[De]=hu}catch(fu){try{_o(Z)}finally{throw fu}}De++}}function y(D,C,S){var j=m(C,S,!1);if(M(j)||!j.delete(D))return!1;if(j.size===0){var H=d.get(C);M(H)||(H.delete(S),H.size===0&&d.delete(H))}return!0}}function uu(l){var d=l.defineMetadata,h=l.hasOwnMetadata,m=l.getOwnMetadata,E=l.getOwnMetadataKeys,Y=l.deleteMetadata,K=new F,k={isProviderFor:function(y,D){var C=K.get(y);return!M(C)&&C.has(D)?!0:E(y,D).length?(M(C)&&(C=new T,K.set(y,C)),C.add(D),!0):!1},OrdinaryDefineOwnMetadata:d,OrdinaryHasOwnMetadata:h,OrdinaryGetOwnMetadata:m,OrdinaryOwnMetadataKeys:E,OrdinaryDeleteMetadata:Y};return k}function qt(l,d,h){var m=O.getProvider(l,d);if(!M(m))return m;if(h){if(O.setProvider(l,d,x))return x;throw new Error("Illegal state.")}}function cu(){var l={},d=[],h=(function(){function k(y,D,C){this._index=0,this._keys=y,this._values=D,this._selector=C}return k.prototype["@@iterator"]=function(){return this},k.prototype[s]=function(){return this},k.prototype.next=function(){var y=this._index;if(y>=0&&y<this._keys.length){var D=this._selector(this._keys[y],this._values[y]);return y+1>=this._keys.length?(this._index=-1,this._keys=d,this._values=d):this._index++,{value:D,done:!1}}return{value:void 0,done:!0}},k.prototype.throw=function(y){throw this._index>=0&&(this._index=-1,this._keys=d,this._values=d),y},k.prototype.return=function(y){return this._index>=0&&(this._index=-1,this._keys=d,this._values=d),{value:y,done:!0}},k})(),m=(function(){function k(){this._keys=[],this._values=[],this._cacheKey=l,this._cacheIndex=-2}return Object.defineProperty(k.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),k.prototype.has=function(y){return this._find(y,!1)>=0},k.prototype.get=function(y){var D=this._find(y,!1);return D>=0?this._values[D]:void 0},k.prototype.set=function(y,D){var C=this._find(y,!0);return this._values[C]=D,this},k.prototype.delete=function(y){var D=this._find(y,!1);if(D>=0){for(var C=this._keys.length,S=D+1;S<C;S++)this._keys[S-1]=this._keys[S],this._values[S-1]=this._values[S];return this._keys.length--,this._values.length--,Hr(y,this._cacheKey)&&(this._cacheKey=l,this._cacheIndex=-2),!0}return!1},k.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=l,this._cacheIndex=-2},k.prototype.keys=function(){return new h(this._keys,this._values,E)},k.prototype.values=function(){return new h(this._keys,this._values,Y)},k.prototype.entries=function(){return new h(this._keys,this._values,K)},k.prototype["@@iterator"]=function(){return this.entries()},k.prototype[s]=function(){return this.entries()},k.prototype._find=function(y,D){if(!Hr(this._cacheKey,y)){this._cacheIndex=-1;for(var C=0;C<this._keys.length;C++)if(Hr(this._keys[C],y)){this._cacheIndex=C;break}}return this._cacheIndex<0&&D&&(this._cacheIndex=this._keys.length,this._keys.push(y),this._values.push(void 0)),this._cacheIndex},k})();return m;function E(k,y){return k}function Y(k,y){return y}function K(k,y){return[k,y]}}function lu(){var l=(function(){function d(){this._map=new b}return Object.defineProperty(d.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),d.prototype.has=function(h){return this._map.has(h)},d.prototype.add=function(h){return this._map.set(h,h),this},d.prototype.delete=function(h){return this._map.delete(h)},d.prototype.clear=function(){this._map.clear()},d.prototype.keys=function(){return this._map.keys()},d.prototype.values=function(){return this._map.keys()},d.prototype.entries=function(){return this._map.entries()},d.prototype["@@iterator"]=function(){return this.keys()},d.prototype[s]=function(){return this.keys()},d})();return l}function du(){var l=16,d=f.create(),h=m();return(function(){function y(){this._key=m()}return y.prototype.has=function(D){var C=E(D,!1);return C!==void 0?f.has(C,this._key):!1},y.prototype.get=function(D){var C=E(D,!1);return C!==void 0?f.get(C,this._key):void 0},y.prototype.set=function(D,C){var S=E(D,!0);return S[this._key]=C,this},y.prototype.delete=function(D){var C=E(D,!1);return C!==void 0?delete C[this._key]:!1},y.prototype.clear=function(){this._key=m()},y})();function m(){var y;do y="@@WeakMap@@"+k();while(f.has(d,y));return d[y]=!0,y}function E(y,D){if(!t.call(y,h)){if(!D)return;Object.defineProperty(y,h,{value:f.create()})}return y[h]}function Y(y,D){for(var C=0;C<D;++C)y[C]=Math.random()*255|0;return y}function K(y){if(typeof Uint8Array=="function"){var D=new Uint8Array(y);return typeof crypto<"u"?crypto.getRandomValues(D):typeof msCrypto<"u"?msCrypto.getRandomValues(D):Y(D,y),D}return Y(new Array(y),y)}function k(){var y=K(l);y[6]=y[6]&79|64,y[8]=y[8]&191|128;for(var D="",C=0;C<l;++C){var S=y[C];(C===4||C===6||C===8)&&(D+="-"),S<16&&(D+="0"),D+=S.toString(16).toLowerCase()}return D}}function Gr(l){return l.__=void 0,delete l.__,l}})})(Ya||(Ya={}))});var fs=null;function Le(){return fs}function ai(r){fs??=r}var rn=class{},Fe=(()=>{class r{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:()=>g(ps),providedIn:"platform"})}return r})(),ui=new B(""),ps=(()=>{class r extends Fe{_location;_history;_doc=g(X);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Le().getBaseHref(this._doc)}onPopState(e){let t=Le().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){let t=Le().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,t,i){this._history.pushState(e,t,i)}replaceState(e,t,i){this._history.replaceState(e,t,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:()=>new r,providedIn:"platform"})}return r})();function Gn(r,n){return r?n?r.endsWith("/")?n.startsWith("/")?r+n.slice(1):r+n:n.startsWith("/")?r+n:`${r}/${n}`:r:n}function gs(r){let n=r.search(/#|\?|$/);return r[n-1]==="/"?r.slice(0,n-1)+r.slice(n):r}function Ce(r){return r&&r[0]!=="?"?`?${r}`:r}var Se=(()=>{class r{historyGo(e){throw new Error("")}static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:()=>g(qn),providedIn:"root"})}return r})(),Wn=new B(""),qn=(()=>{class r extends Se{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??g(X).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.on
vendor: 5,819 bytes, line 1
1HashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Gn(this._baseHref,e)}path(e=!1){let t=this._platformLocation.pathname+Ce(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${t}${i}`:t}pushState(e,t,i,o){let s=this.prepareExternalUrl(i+Ce(o));this._platformLocation.pushState(e,t,s)}replaceState(e,t,i,o){let s=this.prepareExternalUrl(i+Ce(o));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(t){return new(t||r)(A(Fe),A(Wn,8))};static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var He=(()=>{class r{_subject=new Oe;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let t=this._locationStrategy.getBaseHref();this._basePath=yu(gs(ms(t))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+Ce(t))}normalize(e){return r.stripTrailingSlash(vu(this._basePath,ms(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",i=null){this._locationStrategy.pushState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ce(t)),i)}replaceState(e,t="",i=null){this._locationStrategy.replaceState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Ce(t)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}),()=>{let t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(i=>i(e,t))}subscribe(e,t,i){return this._subject.subscribe({next:e,error:t??void 0,complete:i??void 0})}static normalizeQueryParams=Ce;static joinWithSlash=Gn;static stripTrailingSlash=gs;static \u0275fac=function(t){return new(t||r)(A(Se))};static \u0275prov=_({token:r,factory:()=>mu(),providedIn:"root"})}return r})();function mu(){return new He(A(Se))}function vu(r,n){if(!r||!n.startsWith(r))return n;let e=n.substring(r.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function ms(r){return r.replace(/\/index\.html$/,"")}function yu(r){if(new RegExp("^(https?:)?//").test(r)){let[,e]=r.split(/\/\/[^\/]+/);return e}return r}var ci=(()=>{class r extends Se{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,t!=null&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash??"#";return t.length>0?t.substring(1):t}prepareExternalUrl(e){let t=Gn(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,i,o){let s=this.prepareExternalUrl(i+Ce(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,t,s)}replaceState(e,t,i,o){let s=this.prepareExternalUrl(i+Ce(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(t){return new(t||r)(A(Fe),A(Wn,8))};static \u0275prov=_({token:r,factory:r.\u0275fac})}return r})();function Du(r,n){return new U(2100,!1)}var wu=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u
10EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,Cu=(()=>{class r{transform(e){return e==null?null:(Su(r,e),e.replace(wu,t=>t[0].toUpperCase()+t.slice(1).toLowerCase()))}static \u0275fac=function(t){return new(t||r)};static \u0275pipe=ts({name:"titlecase",type:r,pure:!0})}return r})();
1function Su(r,n){if(typeof n!="string")throw Du(r,n)}var vs=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275mod=ot({type:r});static \u0275inj=Qe({})}return r})();function on(r,n){n=encodeURIComponent(n);for(let e of r.split(";")){let t=e.indexOf("="),[i,o]=t==-1?[e,""]:[e.slice(0,t),e.slice(t+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}var st=class{};var di="browser";function ff(r){return r===di}var hi=(()=>{class r{static \u0275prov=_({token:r,providedIn:"root",factory:()=>new li(g(X),window)})}return r})(),li=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,e){this.window.scrollTo(Q(v({},e),{left:n[0],top:n[1]}))}scrollToAnchor(n,e){let t=_u(this.document,n);t&&(this.scrollToElement(t,e),t.focus({preventScroll:!0}))}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch{console.warn(Je(2400,!1))}}scrollToElement(n,e){let t=n.getBoundingClientRect(),i=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(Q(v({},e),{left:i-s[0],top:o-s[1]}))}};function _u(r,n){let e=r.getElementById(n)||r.getElementsByName(n)[0];if(e)return e;if(typeof r.createTreeWalker=="function"&&r.body&&typeof r.body.attachShadow=="function"){let t=r.createTreeWalker(r.body,NodeFilter.SHOW_ELEMENT),i=t.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}i=t.nextNode()}}return null}var sn=class{_doc;constructor(n){this._doc=n}manager},Yn=(()=>{class r extends sn{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,i,o){return e.addEventListener(t,i,o),()=>this.removeEventListener(e,t,i,o)}removeEventListener(e,t,i,o){return e.removeEventListener(t,i,o)}static \u0275fac=function(t){return new(t||r)(A(X))};static \u0275prov=_({token:r,factory:r.\u0275fac})}return r})(),Kn=new B(""),mi=(()=>{class r{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof Yn));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof Yn);o&&this._plugins.push(o)}addEventListener(e,t,i,o){return this._findPluginFor(t).addEventListener(e,t,i,o)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(o=>o.supports(e)),!t)throw new U(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||r)(A(Kn),A(nt))};static \u0275prov=_({token:r,factory:r.\u0275fac})}return r})(),fi="ng-app-id";function ys(r){for(let n of r)n.remove()}function Ds(r,n){let e=n.createElement("style");return e.textContent=r,e}function Tu(r,n,e,t){let i=r.head?.querySelectorAll(`style[${fi}="${n}"],link[${fi}="${n}"]`);if(i)for(let o of i)o.removeAttribute(fi),o instanceof HTMLLinkElement?t.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function gi(r,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",r),e}var vi=(()=>{class r{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,t,i,o={}){this.doc=e,this.appId=t,this.nonce=i,Tu(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(let i of e)this.addUsage(i,this.inline,Ds);t?.forEach(i=>this.addUsage(i,this.external,gi))}removeStyles(e,t){for(let i of e)this.removeUsage(i,this.inline);t?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,t,i){let o=t.get(e);o?o.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,t){let i=t.get(e);i&&(i.usage--,i.usage<=0&&(ys(i.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])ys(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:i}]of this.inline)i.push(this.addElement(e,Ds(t,this.doc)));for(let[t,{elements:i}
vendor: 13,508 bytes, lines 1-2
1]of this.external)i.push(this.addElement(e,gi(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),e.appendChild(t)}static \u0275fac=function(t){return new(t||r)(A(X),A(Jr),A(jn,8),A(Un))};static \u0275prov=_({token:r,factory:r.\u0275fac})}return r})(),pi={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},yi=/%COMP%/g;var Cs="%COMP%",Mu=`_nghost-${Cs}`,Iu=`_ngcontent-${Cs}`,Pu=!0,Ou=new B("",{factory:()=>Pu});function Lu(r){return Iu.replace(yi,r)}function Nu(r){return Mu.replace(yi,r)}function Ss(r,n){return n.map(e=>e.replace(yi,r))}var Di=(()=>{class r{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,t,i,o,s,a,u=null,c=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=u,this.tracingService=c,this.defaultRenderer=new an(e,s,a,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,t);return i instanceof Xn?i.applyToHost(e):i instanceof un&&i.applyStyles(),i}getOrCreateRenderer(e,t){let i=this.rendererByCompId,o=i.get(t.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,p=this.tracingService;switch(t.encapsulation){case Bn.Emulated:o=new Xn(u,c,t,this.appId,f,s,a,p);break;case Bn.ShadowDom:return new Zn(u,e,t,s,a,this.nonce,p,c);case Bn.ExperimentalIsolatedShadowDom:return new Zn(u,e,t,s,a,this.nonce,p);default:o=new un(u,c,t,f,s,a,p);break}i.set(t.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(t){return new(t||r)(A(mi),A(vi),A(Jr),A(Ou),A(X),A(nt),A(jn),A($n,8))};static \u0275prov=_({token:r,factory:r.\u0275fac})}return r})(),an=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,t,i){this.eventManager=n,this.doc=e,this.ngZone=t,this.tracingService=i}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(pi[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(ws(n)?n.content:n).appendChild(e)}insertBefore(n,e,t){n&&(ws(n)?n.content:n).insertBefore(e,t)}removeChild(n,e){e.remove()}selectRootElement(n,e){let t=typeof n=="string"?this.doc.querySelector(n):n;if(!t)throw new U(-5104,!1);return e||(t.textContent=""),t}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,t,i){if(i){e=i+":"+e;let o=pi[i];o?n.setAttributeNS(o,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)}removeAttribute(n,e,t){if(t){let i=pi[t];i?n.removeAttributeNS(i,e):n.removeAttribute(`${t}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,t,i){i&(Ct.DashCase|Ct.Important)?n.style.setProperty(e,t,i&Ct.Important?"important":""):n.style[e]=t}removeStyle(n,e,t){t&Ct.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,t){n!=null&&(n[e]=t)}setValue(n,e){n.nodeValue=e}listen(n,e,t,i){if(typeof n=="string"&&(n=Le().getGlobalEventTarget(this.doc,n),!n))throw new U(5102,!1);let o=this.decoratePreventDefault(t);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,i)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function ws(r){return r.tagName==="TEMPLATE"&&r.content!==void 0}var Zn=class extends an{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,t,i,o,s,a,u){super(n,i,o,a),this.hostEl=e,this.sharedStylesHost=u,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let c=t.styles;c=Ss(t.id,c);for(let p of c){let b=document.createElement("style");s&&b.setAttribute("nonce",s),b.textContent=p,this.shadowRoot.appendChild(b)}let f=t.getExternalStyles?.();if(f)for(let p of f){let b=gi(p,i);s&&b.setAttribute("nonce",s),this.shadowRoot.appendChild(b)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,t){return super.insertBefore(this.nodeOrShadowRoot(n),e,t)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},un=class extends an{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,t,i,o,s,a,u){super(n,o,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let c=t.styles;this.styles=u?Ss(u,c):c,this.styleUrls=t.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Xo.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Xn=class extends un{contentAttr;hostAttr;constructor(n,e,t,i,o,s,a,u){let c=i+"-"+t.id;super(n,e,t,o,s,a,u,c),this.contentAttr=Lu(c),this.hostAttr=Nu(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let t=super.createElement(n,e);return super.setAttribute(t,this.contentAttr,""),t}};var Jn=class r extends rn{supportsDOMEvents=!0;static makeCurrent(){ai(new r)}onAndCancel(n,e,t,i){return n.addEventListener(e,t,i),()=>{n.removeEventListener(e,t,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=xu();return e==null?null:ku(e)}resetBaseElement(){cn=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return on(document.cookie,n)}},cn=null;function xu(){return cn=cn||document.head.querySelector("base"),cn?cn.getAttribute("href"):null}function ku(r){return new URL(r,document.baseURI).pathname}var Uu=(()=>{class r{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:r.\u0275fac})}return r})(),Es=["alt","control","meta","shift"],ju={"\b":"Backspace","	":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Bu={alt:r=>r.altKey,control:r=>r.ctrlKey,meta:r=>r.metaKey,shift:r=>r.shiftKey},bs=(()=>{class r extends sn{constructor(e){super(e)}supports(e){return r.parseEventName(e)!=null}addEventListener(e,t,i,o){let s=r.parseEventName(t),a=r.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Le().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let t=e.toLowerCase().split("."),i=t.shift();if(t.length===0||!(i==="keydown"||i==="keyup"))return null;let o=r._normalizeKey(t.pop()),s="",a=t.indexOf("code");if(a>-1&&(t.splice(a,1),s="code."),Es.forEach(c=>{let f=t.indexOf(c);f>-1&&(t.splice(f,1),s+=c+".")}),s+=o,t.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(e,t){let i=ju[e.key]||e.key,o="";return t.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Es.forEach(s=>{if(s!==i){let a=Bu[s];a(e)&&(o+=s+".")}}),o+=i,o===t)}static eventCallback(e,t,i){return o=>{r.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>t(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||r)(A(X))};static \u0275prov=_({token:r,factory:r.\u0275fac})}return r})();async function $u(r,n,e){let t=v({rootComponent:r},zu(n,e));return ds(t)}function zu(r,n){return{platformRef:n?.platformRef,appProviders:[...qu,...r?.providers??[]],platformProviders:Wu}}function Hu(){Jn.makeCurrent()}function Vu(){return new Zr}function Gu(){return jo(document),document}var Wu=[{provide:Un,useValue:di},{provide:Bo,useValue:Hu,multi:!0},{provide:X,useFactory:Gu}];var qu=[{provide:ko,useValue:"root"},{provide:Zr,useFactory:Vu},{provide:Kn,useClass:Yn,multi:!0},{provide:Kn,useClass:bs,multi:!0},Di,vi,mi,{provide:Ko,useExisting:Di},{provide:st,useClass:Uu},[]];var Te=class r{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
2`).forEach(e=>{let t=e.indexOf(":");if(t>0){let i=e.slice(0,t),o=e.slice(t+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,t)=>{this.addHeaderEntry(t,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,t])=>{this.setHeaderEntries(e,t)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof r?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new r;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof r?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let t=n.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=(n.op==="a"?this.headers.get(e):void 0)||[];i.push(...t),this.headers.set(e,i);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let t=n.toLowerCase();this.maybeSetNormalizedName(n,t),this.headers.has(t)?this.headers.get(t).push(e):this.headers.set(t,[e])}setHeaderEntries(n,e){let t=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,t),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var tr=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},nr=class{encodeKey(n){return Rs(n)}encodeValue(n){return Rs(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function Yu(r,n){let e=new Map;return r.length>0&&r.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],u=e.get(s)||[];u.push(a),e.set(s,u)}),e}var Zu=/%(\d[a-f0-9])/gi,Xu={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Rs(r){return encodeURIComponent(r).replace(Zu,(n,e)=>Xu[e]??n)}function Qn(r){return`${r}`}var xe=class r{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new nr,n.fromString){if(n.fromObject)throw new U(2805,!1);this.map=Yu(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let t=n.fromObject[e],i=Array.isArray(t)?t.map(Qn):[Qn(t)];this.map.set(e,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(t=>{let i=n[t];Array.isArray(i)?i.forEach(o=>{e.push({param:t,value:o,op:"a"})}):e.push({param:t,value:i,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new r({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEac
2h(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(Qn(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let t=this.map.get(n.param)||[],i=t.indexOf(Qn(n.value));i!==-1&&t.splice(i,1),t.length>0?this.map.set(n.param,t):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function Ku(r){switch(r){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function _s(r){return typeof ArrayBuffer<"u"&&r instanceof ArrayBuffer}function As(r){return typeof Blob<"u"&&r instanceof Blob}function Ts(r){return typeof FormData<"u"&&r instanceof FormData}function Ju(r){return typeof URLSearchParams<"u"&&r instanceof URLSearchParams}var ln="Content-Type",rr="Accept",Is="text/plain",Ps="application/json",Os=`${Ps}, ${Is}, */*`,Rt=class r{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,t,i){this.url=e,this.method=n.toUpperCase();let o;if(Ku(this.method)||i?(this.body=t!==void 0?t:null,o=i):o=t,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new U(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new Te,this.context??=new tr,!this.params)this.params=new xe,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),u=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+u+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||_s(this.body)||As(this.body)||Ts(this.body)||Ju(this.body)?this.body:this.body instanceof xe?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Ts(this.body)?null:As(this.body)?this.body.type||null:_s(this.body)?null:typeof this.body=="string"?Is:this.body instanceof xe?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Ps:null}clone(n={}){let e=n.method||this.method,t=n.url||this.url,i=n.responseType||this.responseType,o=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,u=n.mode||this.mode,c=n.redirect||this.redirect,f=n.credentials||this.credentials,p=n.referrer??this.referrer,b=n.integrity||this.integrity,T=n.referrerPolicy||this.referrerPolicy,F=n.transferCache??this.transferCache,R=n.timeout??this.timeout,O=n.body!==void 0?n.body:this.body,x=n.withCredentials??this.withCredentials,w=n.reportProgress??this.reportProgress,L=n.headers||this.headers,z=n.params||this.params,ue=n.context??this.context;return n.setHeaders!==void 0&&(L=Object.keys(n.setHeaders).reduce((be,ye)=>be.set(ye,n.setHeaders[ye]),L)),n.setParams&&(z=Object.keys(n.setParams).reduce((be,ye)=>be.set(ye,n.setParams[ye]),z)),new r(e,t,O,{params:z,headers:L,context:ue,reportProgress:w,responseType:i,withCredentials:x,transferCache:F,keepalive:o,cache:a,priority:s,timeout:R,mode:u,redirect:c,credentials:f,referrer:p,integrity:b,referrerPolicy:T})}},ke=(function(r){return r[r.Sent=0]="Sent",r[r.UploadProgress=1]="UploadProgress",r[r.ResponseHeader=2]="ResponseHeader",r[r.DownloadProgress=3]="DownloadProgress",r[r.Response=4]="Response",r[r.User=5]="User",r})(ke||{}),_t=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,t="OK"){this.headers=n.headers||new Te,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||t,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},dn=class r extends _t{constructor(n={}){super(n)}type=ke.ResponseHeader;clone(n={}){return new r({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},At=class r extends _t{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=ke.Response;clone(n={}){return new r({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},Ae=class extends _t{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},Ls=200,Qu=204;var ec=/^\)\]\}',?\n/,Ns=new B(""),er=(()=>{class r{fetchImpl=g(Ci,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=g(nt);destroyRef=g(yt);handle(e){return new Yt(t=>{let i=new AbortController;this.doRequest(e,i.signal,t).then(Si,s=>t.error(new Ae({error:s})));let o;return e.timeout&&(o=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{i.signal.aborted||i.abort(new DOMException("signal timed out","TimeoutError"))},e.timeout))),()=>{o!==void 0&&clearTimeout(o),i.abort()}})}async doRequest(e,t,i){let o=this.createRequestInit(e),s;try{let R=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,v({signal:t},o)));tc(R),i.next({type:ke.Sent}),s=await R}catch(R){i.error(new Ae({error:R,status:R.status??0,statusText:R.statusText,url:e.urlWithParams,headers:R.headers}));return}let a=new Te(s.headers),u=s.statusText,c=s.url||e.urlWithParams,f=s.status,p=null;if(e.reportProgress&&i.next(new dn({headers:a,status:f,statusText:u,url:c})),s.body){let R=s.headers.get("content-length"),O=[],x=s.body.getReader(),w=0,L,z,ue=typeof Zone<"u"&&Zone.current,be=!1;if(await this.ngZone.runOutsideAngular(async()=>{for(;;){if(this.destroyRef.destroyed){await x.cancel(),be=!0;break}let{done:Xe,value:Wt}=await x.read();if(Xe)break;if(O.push(Wt),w+=Wt.length,e.reportProgress){z=e.responseType==="text"?(z??"")+(L??=new TextDecoder).decode(Wt,{stream:!0}):void 0;let On=()=>i.next({type:ke.DownloadProgress,total:R?+R:void 0,loaded:w,partialText:z});ue?ue.run(On):On()}}}),be){i.complete();return}let ye=this.concatChunks(O,w);try{let Xe=s.headers.get(ln)??"";p=this.parseBody(e,ye,Xe,f)}catch(Xe){i.error(new Ae({error:Xe,headers:new Te(s.headers),status:s.status,statusText:s.statusText,url:s.url||e.urlWithParams}));return}}f===0&&(f=p?Ls:0);let b=f>=200&&f<300,T=s.redirected,F=s.type;b?(i.next(new At({body:p,headers:a,status:f,statusText:u,url:c,redirected:T,responseType:F})),i.complete()):i.error(new Ae({error:p,headers:a,status:f,statusText:u,url:c,redirected:T,responseType:F}))}parseBody(e,t,i,o){switch(e.responseType){case"json":let s=new TextDecoder().decode(t).replace(ec,"");if(s==="")return null;try{return JSON.parse(s)}catch(a){if(o<200||o>=300)return s;throw a}case"text":return new TextDecoder().decode(t);case"blob":return new Blob([t],{type:i});case"arraybuffer":return t.buffer}}createRequestInit(e){let t={},i;if(i=e.credentials,e.withCredentials&&(i="include"),e.headers.forEac
2h((o,s)=>t[o]=s.join(",")),e.headers.has(rr)||(t[rr]=Os),!e.headers.has(ln)){let o=e.detectContentTypeHeader();o!==null&&(t[ln]=o)}return{body:e.serializeBody(),method:e.method,headers:t,credentials:i,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,t){let i=new Uint8Array(t),o=0;for(let s of e)i.set(s,o),o+=s.length;return i}static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:r.\u0275fac})}return r})(),Ci=class{};function Si(){}function tc(r){r.then(Si,Si)}var nc=/^\)\]\}',?\n/;var Ei=(()=>{class r{xhrFactory;tracingService=g($n,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new U(-2800,!1);let t=this.xhrFactory;return I(null).pipe(le(()=>new Yt(o=>{let s=t.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((O,x)=>s.setRequestHeader(O,x.join(","))),e.headers.has(rr)||s.setRequestHeader(rr,Os),!e.headers.has(ln)){let O=e.detectContentTypeHeader();O!==null&&s.setRequestHeader(ln,O)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let O=e.responseType.toLowerCase();s.responseType=O!=="json"?O:"text"}let a=e.serializeBody(),u=null,c=()=>{if(u!==null)return u;let O=s.statusText||"OK",x=new Te(s.getAllResponseHeaders()),w=s.responseURL||e.url;return u=new dn({headers:x,status:s.status,statusText:O,url:w}),u},f=this.maybePropagateTrace(()=>{let{headers:O,status:x,statusText:w,url:L}=c(),z=null;x!==Qu&&(z=typeof s.response>"u"?s.responseText:s.response),x===0&&(x=z?Ls:0);let ue=x>=200&&x<300;if(e.responseType==="json"&&typeof z=="string"){let be=z;z=z.replace(nc,"");try{z=z!==""?JSON.parse(z):null}catch(ye){z=be,ue&&(ue=!1,z={error:ye,text:z})}}ue?(o.next(new At({body:z,headers:O,status:x,statusText:w,url:L||void 0})),o.complete()):o.error(new Ae({error:z,headers:O,status:x,statusText:w,url:L||void 0}))}),p=this.maybePropagateTrace(O=>{let{url:x}=c(),w=new Ae({error:O,status:s.status||0,statusText:s.statusText||"Unknown Error",url:x||void 0});o.error(w)}),b=p;e.timeout&&(b=this.maybePropagateTrace(O=>{let{url:x}=c(),w=new Ae({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:x||void 0});o.error(w)}));let T=!1,F=this.maybePropagateTrace(O=>{T||(o.next(c()),T=!0);let x={type:ke.DownloadProgress,loaded:O.loaded};O.lengthComputable&&(x.total=O.total),e.responseType==="text"&&s.responseText&&(x.partialText=s.responseText),o.next(x)}),R=this.maybePropagateTrace(O=>{let x={type:ke.UploadProgress,loaded:O.loaded};O.lengthComputable&&(x.total=O.total),o.next(x)});return s.addEventListener("load",f),s.addEventListener("error",p),s.addEventListener("timeout",b),s.addEventListener("abort",p),e.reportProgress&&(s.addEventListener("progress",F),a!==null&&s.upload&&s.upload.addEventListener("progress",R)),s.send(a),o.next({type:ke.Sent}),()=>{s.removeEventListener("error",p),s.removeEventListener("abort",p),s.removeEventListener("load",f),s.removeEventListener("timeout",b),e.reportProgress&&(s.removeEventListener("progress",F),a!==null&&s.upload&&s.upload.removeEventListener("progress",R)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(t){return new(t||r)(A(st))};static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function Fs(r,n){return n(r)}function rc(r,n){return(e,t)=>n.intercept(e,{handle:i=>r(i,t)})}function ic(r,n,e){return(t,i)=>se(e,()=>n(t,o=>r(o,i)))}var xs=new B(""),or=new B("",{factory:()=>[]}),ks=new B(""),bi=new B("",{factory:()=>!0});function oc(){let r=null;return(n,e)=>{r===null&&(r=(g(xs,{optional:!0})??[]).reduceRight(rc,Fs));let t=g(Xr);if(g(bi)){let o=t.add();return r(n,e).pipe(Kt(o))}else return r(n,e)}}var sr=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:function(t){let i=null;return t?i=new(t||r):i=A(Ei),i},providedIn:"root"})}return r})();var ir=(()=>{class r{backend;injector;chain=null;pendingTasks=g(Xr);contributeToStability=g(bi);constructor(e,t){this.backend=e,this.injector=t}handle(e){if(this.chain===null){let t=Array.from(new Set([...this.injector.get(or),...this.injector.get(ks,[])]));this.chain=t.reduceRight((i,o)=>ic(i,o,this.injector),Fs)}if(this.contributeToStability){let t=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(Kt(t))}else return this.chain(e,t=>this.backend.handle(t))}static \u0275fac=function(t){return new(t||r)(A(sr),A(me))};static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Ri=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:function(t){let i=null;return t?i=new(t||r):i=A(ir),i},providedIn:"root"})}return r})();function wi(r,n){return{body:n,headers:r.headers,context:r.context,observe:r.observe,params:r.params,reportProgress:r.reportProgress,responseType:r.responseType,withCredentials:r.withCredentials,credentials:r.credentials,transferCache:r.transferCache,timeout:r.timeout,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,integrity:r.integrity,referrer:r.referrer,referrerPolicy:r.referrerPolicy}}var ar=(()=>{class r{handler;constructor(e){this.handler=e}request(e,t,i={}){let o;if(e instanceof Rt)o=e;else{let u;i.headers instanceof Te?u=i.headers:u=new Te(i.headers);let c;i.params&&(i.params instanceof xe?c=i.params:c=new xe({fromObject:i.params})),o=new Rt(e,t,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout})}let s=I(o).pipe(Ke(u=>this.handler.handle(u)));if(e instanceof Rt||i.observe==="events")return s;let a=s.pipe(ce(u=>u instanceof At));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(V(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new U(2806,!1);return u.body}));case"blob":return a.pipe(V(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new U(2807,!1);return u.body}));case"text":return a.pipe(V(u=>{if(u.body!==null&&typeof u.body!="string")throw new U(2808,!1);return u.body}));default:return a.pipe(V(u=>u.body))}case"response":return a;default:throw new U(2809,!1)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:new xe().append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,i={}){return this.request("PATCH",e,wi(i,t))}post(e,t,i={}){return this.request("POST",e,wi(i,t))}put(e,t,i={}){return this.request("PUT",e,wi(i,t))}static \u0275fac=function(t){return new(t||r)(A(Ri))};static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var sc=new B("",{factory:()=>!0}),ac="XSRF-TOKEN",uc=new B("",{factory:()=>ac}),cc="X-XSRF-TOKEN",lc=new B("",{factory:()=>cc}),dc=(()=>
2{class r{cookieName=g(uc);doc=g(X);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=on(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Us=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:function(t){let i=null;return t?i=new(t||r):i=A(dc),i},providedIn:"root"})}return r})();function hc(r,n){if(!g(sc)||r.method==="GET"||r.method==="HEAD")return n(r);try{let i=g(Fe).href,{origin:o}=new URL(i),{origin:s}=new URL(r.url,o);if(o!==s)return n(r)}catch{return n(r)}let e=g(Us).getToken(),t=g(lc);return e!=null&&!r.headers.has(t)&&(r=r.clone({headers:r.headers.set(t,e)})),n(r)}var hn=(function(r){return r[r.Interceptors=0]="Interceptors",r[r.LegacyInterceptors=1]="LegacyInterceptors",r[r.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",r[r.NoXsrfProtection=3]="NoXsrfProtection",r[r.JsonpSupport=4]="JsonpSupport",r[r.RequestsMadeViaParent=5]="RequestsMadeViaParent",r[r.Fetch=6]="Fetch",r})(hn||{});function _i(r,n){return{\u0275kind:r,\u0275providers:n}}function fc(...r){let n=[ar,ir,{provide:Ri,useExisting:ir},{provide:sr,useFactory:()=>g(Ns,{optional:!0})??g(Ei)},{provide:or,useValue:hc,multi:!0}];for(let e of r)n.push(...e.\u0275providers);return Jt(n)}function pc(r){return _i(hn.Interceptors,r.map(n=>({provide:or,useValue:n,multi:!0})))}var Ms=new B("");function gc(){return _i(hn.LegacyInterceptors,[{provide:Ms,useFactory:oc},{provide:or,useExisting:Ms,multi:!0}])}function mc(){return _i(hn.Fetch,[er,{provide:Ns,useExisting:er},{provide:sr,useExisting:er}])}var js=(()=>{class r{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||r)(A(X))};static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var yc=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:function(t){let i=null;return t?i=new(t||r):i=A(Dc),i},providedIn:"root"})}return r})(),Dc=(()=>{class r extends yc{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case it.NONE:return t;case it.HTML:return wt(t,"HTML")?rt(t):Yo(this._doc,String(t)).toString();case it.STYLE:return wt(t,"Style")?rt(t):t;case it.SCRIPT:if(wt(t,"Script"))return rt(t);throw new U(5200,!1);case it.URL:return wt(t,"URL")?rt(t):qo(String(t));case it.RESOURCE_URL:if(wt(t,"ResourceURL"))return rt(t);throw new U(5201,!1);default:throw new U(5202,!1)}}bypassSecurityTrustHtml(e){return zo(e)}bypassSecurityTrustStyle(e){return Ho(e)}bypassSecurityTrustScript(e){return Vo(e)}bypassSecurityTrustUrl(e){return Go(e)}bypassSecurityTrustResourceUrl(e){return Wo(e)}static \u0275fac=function(t){return new(t||r)(A(X))};static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var P="primary",Rn=Symbol("RouteTitle"),Pi=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function ut(r){return new Pi(r)}function Ai(r,n,e){for(let t=0;t<r.length;t++){let i=r[t],o=n[t];if(i[0]===":")e[i.substring(1)]=o;else if(i!==o.path)return!1}return!0}function Ws(r,n,e){let t=e.path.split("/"),i=t.indexOf("**");if(i===-1){if(t.length>r.length||e.pathMatch==="full"&&(n.hasChildren()||t.length<r.length))return null;let u={},c=r.slice(0,t.length);return Ai(t,c,u)?{consumed:c,posParams:u}:null}if(i!==t.lastIndexOf("**"))return null;let o=t.slice(0,i),s=t.slice(i+1);if(o.length+s.length>r.length||e.pathMatch==="full"&&n.hasChildren()&&e.path!=="**")return null;let a={};return!Ai(o,r.slice(0,o.length),a)||!Ai(s,r.slice(r.length-s.length),a)?null:{consumed:r,posParams:a}}function fr(r){return new Promise((n,e)=>{r.pipe(ze()).subscribe({next:t=>n(t),error:t=>e(t)})})}function Cc(r,n){if(r.length!==n.length)return!1;for(let e=0;e<r.length;++e)if(!Me(r[e],n[e]))return!1;return!0}function Me(r,n){let e=r?Oi(r):void 0,t=n?Oi(n):void 0;if(!e||!t||e.length!=t.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!qs(r[i],n[i]))return!1;return!0}function Oi(r){return[...Object.keys(r),...Object.getOwnPropertySymbols(r)]}function qs(r,n){if(Array.isArray(r)&&Array.isArray(n)){if(r.length!==n.length)return!1;let e=[...r].sort(),t=[...n].sort();return e.every((i,o)=>t[o]===i)}else return r===n}function Sc(r){return r.length>0?r[r.length-1]:null}function lt(r){return Wr(r)?r:ii(r)?ne(Promise.resolve(r)):I(r)}function Ys(r){return Wr(r)?fr(r):Promise.resolve(r)}var Ec={exact:Xs,subset:Ks},Zs={exact:bc,subset:Rc,ignored:()=>!0},Wi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},vn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function qi(r,n,e){let t=r instanceof ae?r:n.parseUrl(r);return ie(()=>Li(n.lastSuccessfulNavigation()?.finalUrl??new ae,t,v(v({},vn),e)))}function Li(r,n,e){return Ec[e.paths](r.root,n.root,e.matrixParams)&&Zs[e.queryParams](r.queryParams,n.queryParams)&&!(e.fragment==="exact"&&r.fragment!==n.fragment)}function bc(r,n){return Me(r,n)}function Xs(r,n,e){if(!at(r.segments,n.segments)||!lr(r.segments,n.segments,e)||r.numberOfChildren!==n.numberOfChildren)return!1;for(let t in n.children)if(!r.children[t]||!Xs(r.children[t],n.children[t],e))return!1;return!0}function Rc(r,n){return Object.keys(n).length<=Object.keys(r).length&&Object.keys(n).every(e=>qs(r[e],n[e]))}function Ks(r,n,e){return Js(r,n,n.segments,e)}function Js(r,n,e,t){if(r.segments.length>e.length){let i=r.segments.slice(0,e.length);
2return!(!at(i,e)||n.hasChildren()||!lr(i,e,t))}else if(r.segments.length===e.length){if(!at(r.segments,e)||!lr(r.segments,e,t))return!1;for(let i in n.children)if(!r.children[i]||!Ks(r.children[i],n.children[i],t))return!1;return!0}else{let i=e.slice(0,r.segments.length),o=e.slice(r.segments.length);return!at(r.segments,i)||!lr(r.segments,i,t)||!r.children[P]?!1:Js(r.children[P],n,o,t)}}function lr(r,n,e){return n.every((t,i)=>Zs[e](r[i].parameters,t.parameters))}var ae=class{root;queryParams;fragment;_queryParamMap;constructor(n=new $([],{}),e={},t=null){this.root=n,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap??=ut(this.queryParams),this._queryParamMap}toString(){return Tc.serialize(this)}},$=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dr(this)}},Ve=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=ut(this.parameters),this._parameterMap}toString(){return ea(this)}};function _c(r,n){return at(r,n)&&r.every((e,t)=>Me(e.parameters,n[t].parameters))}function at(r,n){return r.length!==n.length?!1:r.every((e,t)=>e.path===n[t].path)}function Ac(r,n){let e=[];return Object.entries(r.children).forEach(([t,i])=>{t===P&&(e=e.concat(n(i,t)))}),Object.entries(r.children).forEach(([t,i])=>{t!==P&&(e=e.concat(n(i,t)))}),e}var qe=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:()=>new je,providedIn:"root"})}return r})(),je=class{parse(n){let e=new Fi(n);return new ae(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${fn(n.root,!0)}`,t=Pc(n.queryParams),i=typeof n.fragment=="string"?`#${Mc(n.fragment)}`:"";return`${e}${t}${i}`}},Tc=new je;function dr(r){return r.segments.map(n=>ea(n)).join("/")}function fn(r,n){if(!r.hasChildren())return dr(r);if(n){let e=r.children[P]?fn(r.children[P],!1):"",t=[];return Object.entries(r.children).forEach(([i,o])=>{i!==P&&t.push(`${i}:${fn(o,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}else{let e=Ac(r,(t,i)=>i===P?[fn(r.children[P],!1)]:[`${i}:${fn(t,!1)}`]);return Object.keys(r.children).length===1&&r.children[P]!=null?`${dr(r)}/${e[0]}`:`${dr(r)}/(${e.join("//")})`}}function Qs(r){return encodeURIComponent(r).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ur(r){return Qs(r).replace(/%3B/gi,";")}function Mc(r){return encodeURI(r)}function Ni(r){return Qs(r).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function hr(r){return decodeURIComponent(r)}function Bs(r){return hr(r.replace(/\+/g,"%20"))}function ea(r){return`${Ni(r.path)}${Ic(r.parameters)}`}function Ic(r){return Object.entries(r).map(([n,e])=>`;${Ni(n)}=${Ni(e)}`).join("")}function Pc(r){let n=Object.entries(r).map(([e,t])=>Array.isArray(t)?t.map(i=>`${ur(e)}=${ur(i)}`).join("&"):`${ur(e)}=${ur(t)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var Oc=/^[^\/()?;#]+/;function Ti(r){let n=r.match(Oc);return n?n[0]:""}var Lc=/^[^\/()?;=#]+/;function Nc(r){let n=r.match(Lc);return n?n[0]:""}var Fc=/^[^=?&#]+/;function xc(r){let n=r.match(Fc);return n?n[0]:""}var kc=/^[^&#]+/;function Uc(r){let n=r.match(kc);return n?n[0]:""}var Fi=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new $([],{}):new $([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new U(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0,n));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1,n)),(e.length>0||Object.keys(t).length>0)&&(i[P]=new $(e,t)),i}parseSegment(){let n=Ti(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new U(4009,!1);return this.capture(n),new Ve(hr(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=Nc(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let i=Ti(this.remaining);i&&(t=i,this.capture(t))}
2n[hr(e)]=hr(t)}parseQueryParam(n){let e=xc(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){let s=Uc(this.remaining);s&&(t=s,this.capture(t))}let i=Bs(e),o=Bs(t);if(n.hasOwnProperty(i)){let s=n[i];Array.isArray(s)||(s=[s],n[i]=s),s.push(o)}else n[i]=o}parseParens(n,e){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=Ti(this.remaining),o=this.remaining[i.length];if(o!=="/"&&o!==")"&&o!==";")throw new U(4010,!1);let s;i.indexOf(":")>-1?(s=i.slice(0,i.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=P);let a=this.parseChildren(e+1);t[s??P]=Object.keys(a).length===1&&a[P]?a[P]:new $([],a),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new U(4011,!1)}};function ta(r){return r.segments.length>0?new $([],{[P]:r}):r}function na(r){let n={};for(let[t,i]of Object.entries(r.children)){let o=na(i);if(t===P&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))n[s]=a;else(o.segments.length>0||o.hasChildren())&&(n[t]=o)}let e=new $(r.segments,n);return jc(e)}function jc(r){if(r.numberOfChildren===1&&r.children[P]){let n=r.children[P];return new $(r.segments.concat(n.segments),n.children)}return r}function Ge(r){return r instanceof ae}function ra(r,n,e=null,t=null,i=new je){let o=ia(r);return oa(o,n,e,t,i)}function ia(r){let n;function e(o){let s={};for(let u of o.children){let c=e(u);s[u.outlet]=c}let a=new $(o.url,s);return o===r&&(n=a),a}let t=e(r.root),i=ta(t);return n??i}function oa(r,n,e,t,i){let o=r;for(;o.parent;)o=o.parent;if(n.length===0)return Mi(o,o,o,e,t,i);let s=Bc(n);if(s.toRoot())return Mi(o,o,new $([],{}),e,t,i);let a=$c(s,o,r),u=a.processChildren?gn(a.segmentGroup,a.index,s.commands):aa(a.segmentGroup,a.index,s.commands);return Mi(o,a.segmentGroup,u,e,t,i)}function pr(r){return typeof r=="object"&&r!=null&&!r.outlets&&!r.segmentPath}function yn(r){return typeof r=="object"&&r!=null&&r.outlets}function $s(r,n,e){r||="\u0275";let t=new ae;return t.queryParams={[r]:n},e.parse(e.serialize(t)).queryParams[r]}function Mi(r,n,e,t,i,o){let s={};for(let[c,f]of Object.entries(t??{}))s[c]=Array.isArray(f)?f.map(p=>$s(c,p,o)):$s(c,f,o);let a;r===n?a=e:a=sa(r,n,e);let u=ta(na(a));return new ae(u,s,i)}function sa(r,n,e){let t={};return Object.entries(r.children).forEach(([i,o])=>{o===n?t[i]=e:t[i]=sa(o,n,e)}),new $(r.segments,t)}var gr=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,t){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=t,n&&t.length>0&&pr(t[0]))throw new U(4003,!1);let i=t.find(yn);if(i&&i!==Sc(t))throw new U(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Bc(r){if(typeof r[0]=="string"&&r.length===1&&r[0]==="/")return new gr(!0,0,r);let n=0,e=!1,t=r.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?e=!0:a===".."?n++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new gr(e,n,t)}var Mt=class{segmentGroup;processChildren;index;constructor(n,e,t){this.segmentGroup=n,this.processChildren=e,this.index=t}};function $c(r,n,e){if(r.isAbsolute)return new Mt(n,!0,0);if(!e)return new Mt(n,!1,NaN);if(e.parent===null)return new Mt(e,!0,0);let t=pr(r.commands[0])?0:1,i=e.segments.length-1+t;return zc(e,i,r.numberOfDoubleDots)}function zc(r,n,e){let t=r,i=n,o=e;for(;o>i;){if(o-=i,t=t.parent,!t)throw new U(4005,!1);i=t.segments.length}return new Mt(t,!1,i-o)}function Hc(r){return yn(r[0])?r[0].outlets:{[P]:r}}function aa(r,n,e){if(r??=new $([],{}),r.segments.length===0&&r.hasChildren())return gn(r,n,e);let t=Vc(r,n,e),i=e.slice(t.commandIndex);if(t.match&&t.pathIndex<r.segments.length){let o=new $(r.segments.slice(0,t.pathIndex),{});return o.children[P]=new $(r.segments.slice(t.pathIndex),r.children),gn(o,0,i)}else return t.match&&i.length===0?new $(r.segments,{}):t.match&&!r.hasChildren()?xi(r,n,e):t.match?gn(r,0,i):xi(r,n,e)}function gn(r,n,e){if(e.length===0)return new $(r.segments,{});{let t=Hc(e),i={};if(Object.keys(t).some(o=>o!==P)&&r.children[P]&&r.numberOfChildren===1&&r.children[P].segments.length===0){let o=gn(r.children[P],n,e);return new $(r.segments,o.children)}return Object.entries(t).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=aa(r.children[o],n,s))}
2),Object.entries(r.children).forEach(([o,s])=>{t[o]===void 0&&(i[o]=s)}),new $(r.segments,i)}}function Vc(r,n,e){let t=0,i=n,o={match:!1,pathIndex:0,commandIndex:0};for(;i<r.segments.length;){if(t>=e.length)return o;let s=r.segments[i],a=e[t];if(yn(a))break;let u=`${a}`,c=t<e.length-1?e[t+1]:null;if(i>0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!Hs(u,c,s))return o;t+=2}else{if(!Hs(u,{},s))return o;t++}i++}return{match:!0,pathIndex:i,commandIndex:t}}function xi(r,n,e){let t=r.segments.slice(0,n),i=0;for(;i<e.length;){let o=e[i];if(yn(o)){let u=Gc(o.outlets);return new $(t,u)}if(i===0&&pr(e[0])){let u=r.segments[n];t.push(new Ve(u.path,zs(e[0]))),i++;continue}let s=yn(o)?o.outlets[P]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&pr(a)?(t.push(new Ve(s,zs(a))),i+=2):(t.push(new Ve(s,{})),i++)}return new $(t,{})}function Gc(r){let n={};return Object.entries(r).forEach(([e,t])=>{typeof t=="string"&&(t=[t]),t!==null&&(n[e]=xi(new $([],{}),0,t))}),n}function zs(r){let n={};return Object.entries(r).forEach(([e,t])=>n[e]=`${t}`),n}function Hs(r,n,e){return r==e.path&&Me(n,e.parameters)}var It="imperative",J=(function(r){return r[r.NavigationStart=0]="NavigationStart",r[r.NavigationEnd=1]="NavigationEnd",r[r.NavigationCancel=2]="NavigationCancel",r[r.NavigationError=3]="NavigationError",r[r.RoutesRecognized=4]="RoutesRecognized",r[r.ResolveStart=5]="ResolveStart",r[r.ResolveEnd=6]="ResolveEnd",r[r.GuardsCheckStart=7]="GuardsCheckStart",r[r.GuardsCheckEnd=8]="GuardsCheckEnd",r[r.RouteConfigLoadStart=9]="RouteConfigLoadStart",r[r.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",r[r.ChildActivationStart=11]="ChildActivationStart",r[r.ChildActivationEnd=12]="ChildActivationEnd",r[r.ActivationStart=13]="ActivationStart",r[r.ActivationEnd=14]="ActivationEnd",r[r.Scroll=15]="Scroll",r[r.NavigationSkipped=16]="NavigationSkipped",r})(J||{}),he=class{id;url;constructor(n,e){this.id=n,this.url=e}},We=class extends he{type=J.NavigationStart;navigationTrigger;restoredState;constructor(n,e,t="imperative",i=null){super(n,e),this.navigationTrigger=t,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ee=class extends he{urlAfterRedirects;type=J.NavigationEnd;constructor(n,e,t){super(n,e),this.urlAfterRedirects=t}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},oe=(function(r){return r[r.Redirect=0]="Redirect",r[r.SupersededByNewNavigation=1]="SupersededByNewNavigation",r[r.NoDataFromResolver=2]="NoDataFromResolver",r[r.GuardRejected=3]="GuardRejected",r[r.Aborted=4]="Aborted",r})(oe||{}),Ot=(function(r){return r[r.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",r[r.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",r})(Ot||{}),ve=class extends he{reason;code;type=J.NavigationCancel;constructor(n,e,t,i){super(n,e),this.reason=t,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function ua(r){return r instanceof ve&&(r.code===oe.Redirect||r.code===oe.SupersededByNewNavigation)}var Ie=class extends he{reason;code;type=J.NavigationSkipped;constructor(n,e,t,i){super(n,e),this.reason=t,this.code=i}},ct=class extends he{error;target;type=J.NavigationError;constructor(n,e,t,i){super(n,e),this.error=t,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Dn=class extends he{urlAfterRedirects;state;type=J.RoutesRecognized;constructor(n,e,t,i){super(n,e),this.urlAfterRedirects=t,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},mr=class extends he{urlAfterRedirects;state;type=J.GuardsCheckStart;constructor(n,e,t,i){super(n,e),this.urlAfterRedirects=t,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vr=class extends he{urlAfterRedirects;state;shouldActivate;type=J.GuardsCheckEnd;constructor(n,e,t,i,o){super(n,e),this.urlAfterRedirects=t,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},yr=class extends he{urlAfterRedirects;state;type=J.ResolveStart;constructor(n,e,t,i){super(n,e),this.urlAfterRedirects=t,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Dr=class extends he{urlAfterRedirects;state;type=J.ResolveEnd;constructor(n,e,t,i){super(n,e),this.urlAfterRedirects=t,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wr=class{route;type=J.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Cr=class{route;type=J.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Sr=class{snapshot;type=J.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Er=class{snapshot;type=J.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},br=class{snapshot;type=J.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Rr=class{snapshot;type=J.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Lt=class{routerEvent;position;anchor;scrollBehavior;type=J.Scroll;constructor(n,e,t,i){this.routerEvent=n,this.position=e,this.anchor=t,this.scrollBehavior=i}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Nt=class{},wn=class{},Ft=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function Wc(r){return!(r instanceof Nt)&&!(r instanceof Ft)&&!(r instanceof wn)}var _r=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new dt(this.rootInjector)}},dt=(()=>{class r{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,t){let i=this.getOrCreateContext(e);i.outlet=t,this.contexts.set(e,i)}onChildOutletDestroyed(e){let t=this.getContext(e);t&&(t.outlet=null,t.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new _r(this.rootInjector),this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(t){return new(t||r)(A(me))};static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Ar=class{_root;constructor(n){this._root=n}get root(){return this._root.value}
2parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=ki(n,this._root);return e?e.children.map(t=>t.value):[]}firstChild(n){let e=ki(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=Ui(n,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==n)}pathFromRoot(n){return Ui(n,this._root).map(e=>e.value)}};function ki(r,n){if(r===n.value)return n;for(let e of n.children){let t=ki(r,e);if(t)return t}return null}function Ui(r,n){if(r===n.value)return[n];for(let e of n.children){let t=Ui(r,e);if(t.length)return t.unshift(n),t}return[]}var de=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function Tt(r){let n={};return r&&r.children.forEach(e=>n[e.value.outlet]=e),n}var Cn=class extends Ar{snapshot;constructor(n,e){super(n),this.snapshot=e,Zi(this,n)}toString(){return this.snapshot.toString()}};function ca(r,n){let e=qc(r,n),t=new pe([new Ve("",{})]),i=new pe({}),o=new pe({}),s=new pe({}),a=new pe(""),u=new Pe(t,i,s,a,o,P,r,e.root);return u.snapshot=e.root,new Cn(new de(u,[]),e)}function qc(r,n){let e={},t={},i={},s=new xt([],e,i,"",t,P,r,null,{},n);return new Sn("",new de(s,[]))}var Pe=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,t,i,o,s,a,u){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=t,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(V(c=>c[Rn]))??I(void 0),this.url=n,this.params=e,this.queryParams=t,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(V(n=>ut(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(V(n=>ut(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Yi(r,n,e="emptyOnly"){let t,{routeConfig:i}=r;return n!==null&&(e==="always"||i?.path===""||!n.component&&!n.routeConfig?.loadComponent)?t={params:v(v({},n.params),r.params),data:v(v({},n.data),r.data),resolve:v(v(v(v({},r.data),n.data),i?.data),r._resolvedData)}:t={params:v({},r.params),data:v({},r.data),resolve:v(v({},r.data),r._resolvedData??{})},i&&da(i)&&(t.resolve[Rn]=i.title),t}var xt=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[Rn]}constructor(n,e,t,i,o,s,a,u,c,f){this.url=n,this.params=e,this.queryParams=t,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c,this._environmentInjector=f}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??=ut(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ut(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(t=>t.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Sn=class extends Ar{url;constructor(n,e){super(e),this.url=n,Zi(this,e)}toString(){return la(this._root)}};function Zi(r,n){n.value._routerState=r,n.children.forEach(e=>Zi(r,e))}function la(r){let n=r.children.length>0?` { ${r.children.map(la).join(", ")} } `:"";return`${r.value}${n}`}function Ii(r){if(r.snapshot){let n=r.snapshot,e=r._futureSnapshot;r.snapshot=e,Me(n.queryParams,e.queryParams)||r.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&r.fragmentSubject.next(e.fragment),Me(n.params,e.params)||r.paramsSubject.next(e.params),Cc(n.url,e.url)||r.urlSubject.next(e.url),Me(n.data,e.data)||r.dataSubject.next(e.data)}else r.snapshot=r._futureSnapshot,r.dataSubject.next(r._futureSnapshot.data)}function ji(r,n){let e=Me(r.params,n.params)&&_c(r.url,n.url),t=!r.parent!=!n.parent;return e&&!t&&(!r.parent||ji(r.parent,n.parent))}function da(r){return typeof r.title=="string"||r.title===null}var ha=new B(""),Xi=(()=>{class r{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=P;activateEvents=new tt;deactivateEvents=new tt;attachEvents=new tt;detachEvents=new tt;routerOutletData=ls();parentContexts=g(dt);location=g(ni);changeDetector=g(Et);inputBinder=g(_n,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:t,previousValue:i}=e.name;if(t)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new U(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new U(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new U(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new U(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new Bi(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:u,environmentInjector:t}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(t){return new(t||r)};static \u0275dir=St({type:r,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Dt]})}return r})(),Bi=class{route;childContexts;parent;outletData;constructor(n,e,t,i){this.route=n,this.childContexts=e,this.parent=t,this.outletData=i}get(n,e){return n===Pe?this.route:n===dt?this.childContexts:n===ha?this.outletData:this.parent.get(n,e)}},_n=new B(""),Ki=(()=>{class r{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:t}=e,i=qr([t.queryParams,t.params,t.data]).pipe(le(([o,s,a],u)=>(a=v(v(v({},o),s),a),u===0?I(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==t||t.component===null){this.unsubscribeFromRouteData(e);return}let s=hs(t.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:r.\u0275fac})}return r})(),Ji=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275cmp=es({type:r,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(t,i){t&1&&rs(0,"router-outlet")},dependencies:[Xi],encapsulation:2})}return r})();function Qi(r){let n=r.children&&r.children.map(Qi),e=n?Q(v({},r),{children:n}):v({},r);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==P&&(e.component=Ji),e}function Yc(r,n,e){let t=En(r,n._root,e?e._root:void 0);return new Cn(t,n)}function En(r,n,e){if(e&&r.shouldReuseRoute(n.value,e.value.snapshot)){let t=e.value;t._futureSnapshot=n.value;let i=Zc(r,n,e);return new de(t,i)}else{if(r.shouldAttach(n.value)){let o=r.retrieve(n.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>En(r,a)),s}}let t=Xc(n.value),i=n.children.map(o=>En(r,o));return new de(t,i)}}function Zc(r,n,e){return n.children.map(t=>{for(let i of e.children)if(r.shouldReuseRoute(t.value,i.value.snapshot))return En(r,t,i);return En(r,t)})}function Xc(r){return new Pe(new pe(r.url),new pe(r.params),new pe(r.queryParams),new pe(r.fragment),new pe(r.data),r.outlet,r.component,r)}var kt=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},fa="ngNavigationCancelingError";function Tr(r,n){let{redirectTo:e,navigationBehaviorOptions:t}=Ge(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,i=pa(!1,oe.Redirect);return i.url=e,i.navigationBehaviorOptions=t,i}function pa(r,n){let e=new Error(`NavigationCancelingError: ${r||""}`);return e[fa]=!0,e.cancellationCode=n,e}function Kc(r){return ga(r)&&Ge(r.url)}function ga(r){return!!r&&r[fa]}var $i=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,t,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=t,this.forwardEvent=i,this.inputBindingEnabled=o}activate(n){let e=this.futureState._root,t=this.currState?this.currState._root:null;
2this.deactivateChildRoutes(e,t,n),Ii(this.futureState.root),this.activateChildRoutes(e,t,n)}deactivateChildRoutes(n,e,t){let i=Tt(e);n.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],t),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(n,e,t){let i=n.value,o=e?e.value:null;if(i===o)if(i.component){let s=t.getContext(i.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,t);else o&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let t=e.getContext(n.value.outlet),i=t&&n.value.component?t.children:e,o=Tt(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(t&&t.outlet){let s=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let t=e.getContext(n.value.outlet),i=t&&n.value.component?t.children:e,o=Tt(n);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(n,e,t){let i=Tt(e);n.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],t),this.forwardEvent(new Rr(o.value.snapshot))}),n.children.length&&this.forwardEvent(new Er(n.value.snapshot))}activateRoutes(n,e,t){let i=n.value,o=e?e.value:null;if(Ii(i),i===o)if(i.component){let s=t.getOrCreateContext(i.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,t);else if(i.component){let s=t.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Ii(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,t)}},Mr=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Pt=class{component;route;constructor(n,e){this.component=n,this.route=e}};function Jc(r,n,e){let t=r._root,i=n?n._root:null;return pn(t,i,e,[t.value])}function Qc(r){let n=r.routeConfig?r.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:r,guards:n}}function jt(r,n){let e=Symbol(),t=n.get(r,e);return t===e?typeof r=="function"&&!xo(r)?r:n.get(r):t}function pn(r,n,e,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=Tt(n);return r.children.forEach(s=>{el(s,o[s.value.outlet],e,t.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>mn(a,e.getContext(s),i)),i}function el(r,n,e,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=r.value,s=n?n.value:null,a=e?e.getContext(r.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let u=tl(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new Mr(t)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?pn(r,n,a?a.children:null,t,i):pn(r,n,e,t,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Pt(a.outlet.component,s))}else s&&mn(n,a,i),i.canActivateChecks.push(new Mr(t)),o.component?pn(r,null,a?a.children:null,t,i):pn(r,null,e,t,i);return i}function tl(r,n,e){if(typeof e=="function")return se(n._environmentInjector,()=>e(r,n));switch(e){case"pathParamsChange":return!at(r.url,n.url);case"pathParamsOrQueryParamsChange":return!at(r.url,n.url)||!Me(r.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ji(r,n)||!Me(r.queryParams,n.queryParams);default:return!ji(r,n)}}function mn(r,n,e){let t=Tt(r),i=r.value;Object.entries(t).forEach(([o,s])=>{i.component?n?mn(s,n.children.getContext(o),e):mn(s,null,e):mn(s,n,e)}),i.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Pt(n.outlet.component,i)):e.canDeactivateChecks.push(new Pt(null,i)):e.canDeactivateChecks.push(new Pt(null,i))}function An(r){return typeof r=="function"}function nl(r){return typeof r=="boolean"}function rl(r){return r&&An(r.canLoad)}function il(r){return r&&An(r.canActivate)}function ol(r){return r&&An(r.canActivateChild)}function sl(r){return r&&An(r.canDeactivate)}function al(r){return r&&An(r.canMatch)}function ma(r){return r instanceof Po||r?.name==="EmptyError"}var cr=Symbol("INITIAL_VALUE");function Ut(){return le(r=>qr(r.map(n=>n.pipe(mt(1),vt(cr)))).pipe(V(n=>{for(let e of n)if(e!==!0){if(e===cr)return cr;if(e===!1||ul(e))return e}return!0}),ce(n=>n!==cr),mt(1)))}function ul(r){return Ge(r)||r instanceof kt}function va(r){return r.aborted?I(void 0).pipe(mt(1)):new Yt(n=>{let e=()=>{n.next(),n.complete()};return r.addEventListener("abort",e),()=>r.removeEventListener("abort",e)})}function ya(r){return xn(va(r))}function cl(r){return _e(n=>{let{targetSnapshot:e,currentSnapshot:t,guards:{canActivateChecks:i,canDeactivateChecks:o}}=n;return o.length===0&&i.length===0?I(Q(v({},n),{guardsResult:!0})):ll(o,e,t).pipe(_e(s=>s&&nl(s)?dl(e,i,r):I(s)),V(s=>Q(v({},n),{guardsResult:s})))})}function ll(r,n,e){return ne(r).pipe(_e(t=>ml(t.component,t.route,e,n)),ze(t=>t!==!0,!0))}function dl(r,n,e){return ne(n).pipe(Ke(t=>Oo(fl(t.route.parent,e),hl(t.route,e),gl(r,t.path),pl(r,t.route))),ze(t=>t!==!0,!0))}function hl(r,n){return r!==null&&n&&n(new br(r)),I(!0)}
2function fl(r,n){return r!==null&&n&&n(new Sr(r)),I(!0)}function pl(r,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return I(!0);let t=e.map(i=>Ln(()=>{let o=n._environmentInjector,s=jt(i,o),a=il(s)?s.canActivate(n,r):se(o,()=>s(n,r));return lt(a).pipe(ze())}));return I(t).pipe(Ut())}function gl(r,n){let e=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(o=>Qc(o)).filter(o=>o!==null).map(o=>Ln(()=>{let s=o.guards.map(a=>{let u=o.node._environmentInjector,c=jt(a,u),f=ol(c)?c.canActivateChild(e,r):se(u,()=>c(e,r));return lt(f).pipe(ze())});return I(s).pipe(Ut())}));return I(i).pipe(Ut())}function ml(r,n,e,t){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return I(!0);let o=i.map(s=>{let a=n._environmentInjector,u=jt(s,a),c=sl(u)?u.canDeactivate(r,n,e,t):se(a,()=>u(r,n,e,t));return lt(c).pipe(ze())});return I(o).pipe(Ut())}function vl(r,n,e,t,i){let o=n.canLoad;if(o===void 0||o.length===0)return I(!0);let s=o.map(a=>{let u=jt(a,r),c=rl(u)?u.canLoad(n,e):se(r,()=>u(n,e)),f=lt(c);return i?f.pipe(ya(i)):f});return I(s).pipe(Ut(),Da(t))}function Da(r){return Mo(re(n=>{if(typeof n!="boolean")throw Tr(r,n)}),V(n=>n===!0))}function yl(r,n,e,t,i,o){let s=n.canMatch;if(!s||s.length===0)return I(!0);let a=s.map(u=>{let c=jt(u,r),f=al(c)?c.canMatch(n,e,i):se(r,()=>c(n,e,i));return lt(f).pipe(ya(o))});return I(a).pipe(Ut(),Da(t))}var Ue=class r extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,r.prototype)}},bn=class r extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,r.prototype)}};function Dl(r){throw new U(4e3,!1)}function wl(r){throw pa(!1,oe.GuardRejected)}var zi=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}async lineralizeSegments(n,e){let t=[],i=e.root;for(;;){if(t=t.concat(i.segments),i.numberOfChildren===0)return t;if(i.numberOfChildren>1||!i.children[P])throw Dl(`${n.redirectTo}`);i=i.children[P]}}async applyRedirectCommands(n,e,t,i,o){let s=await Cl(e,i,o);if(s instanceof ae)throw new bn(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,t);if(s[0]==="/")throw new bn(a);return a}applyRedirectCreateUrlTree(n,e,t,i){let o=this.createSegmentGroup(n,e.root,t,i);return new ae(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let t={};return Object.entries(n).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);t[i]=e[a]}else t[i]=o}),t}createSegmentGroup(n,e,t,i){let o=this.createSegments(n,e.segments,t,i),s={};return Object.entries(e.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(n,u,t,i)}),new $(o,s)}createSegments(n,e,t,i){return e.map(o=>o.path[0]===":"?this.findPosParam(n,o,i):this.findOrReturn(o,t))}findPosParam(n,e,t){let i=t[e.path.substring(1)];if(!i)throw new U(4001,!1);return i}findOrReturn(n,e){let t=0;for(let i of e){if(i.path===n.path)return e.splice(t),i;t++}return n}};function Cl(r,n,e){if(typeof r=="string")return Promise.resolve(r);let t=r;return fr(lt(se(e,()=>t(n))))}function Sl(r,n){return r.providers&&!r._injector&&(r._injector=zn(r.providers,n,`Route: ${r.path}`)),r._injector??n}function Ee(r){return r.outlet||P}function El(r,n){let e=r.filter(t=>Ee(t)===n);return e.push(...r.filter(t=>Ee(t)!==n)),e}var Hi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function wa(r){return{routeConfig:r.routeConfig,url:r.url,params:r.params,queryParams:r.queryParams,fragment:r.fragment,data:r.data,outlet:r.outlet,title:r.title,paramMap:r.paramMap,queryParamMap:r.queryParamMap}}function bl(r,n,e,t,i,o,s){let a=Ca(r,n,e);if(!a.matched)return I(a);let u=wa(o(a));return t=Sl(n,t),yl(t,n,e,i,u,s).pipe(V(c=>c===!0?a:v({},Hi)))}function Ca(r,n,e){if(n.path==="")return n.pathMatch==="full"&&(r.hasChildren()||e.length>0)?v({},Hi):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(n.matcher||Ws)(e,r,n);if(!i)return v({},Hi);let o={};Object.entries(i.posParams??{}
2).forEach(([a,u])=>{o[a]=u.path});let s=i.consumed.length>0?v(v({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function Vs(r,n,e,t,i){return e.length>0&&Al(r,e,t,i)?{segmentGroup:new $(n,_l(t,new $(e,r.children))),slicedSegments:[]}:e.length===0&&Tl(r,e,t)?{segmentGroup:new $(r.segments,Rl(r,e,t,r.children)),slicedSegments:e}:{segmentGroup:new $(r.segments,r.children),slicedSegments:e}}function Rl(r,n,e,t){let i={};for(let o of e)if(Pr(r,n,o)&&!t[Ee(o)]){let s=new $([],{});i[Ee(o)]=s}return v(v({},t),i)}function _l(r,n){let e={};e[P]=n;for(let t of r)if(t.path===""&&Ee(t)!==P){let i=new $([],{});e[Ee(t)]=i}return e}function Al(r,n,e,t){return e.some(i=>!Pr(r,n,i)||!(Ee(i)!==P)?!1:!(t!==void 0&&Ee(i)===t))}function Tl(r,n,e){return e.some(t=>Pr(r,n,t))}function Pr(r,n,e){return(r.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Ml(r,n,e){return n.length===0&&!r.children[e]}var Vi=class{};async function Il(r,n,e,t,i,o,s="emptyOnly",a){return new Gi(r,n,e,t,i,s,o,a).recognize()}var Pl=31,Gi=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,t,i,o,s,a,u){this.injector=n,this.configLoader=e,this.rootComponentType=t,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=u,this.applyRedirects=new zi(this.urlSerializer,this.urlTree)}noMatchError(n){return new U(4002,`'${n.segmentGroup}'`)}async recognize(){let n=Vs(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:t}=await this.match(n),i=new de(t,e),o=new Sn("",i),s=ra(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}async match(n){let e=new xt([],Object.freeze({}),Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),P,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,n,P,e),rootSnapshot:e}}catch(t){if(t instanceof bn)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Ue?this.noMatchError(t):t}}async processSegmentGroup(n,e,t,i,o){if(t.segments.length===0&&t.hasChildren())return this.processChildren(n,e,t,o);let s=await this.processSegment(n,e,t,t.segments,i,!0,o);return s instanceof de?[s]:[]}async processChildren(n,e,t,i){let o=[];for(let u of Object.keys(t.children))u==="primary"?o.unshift(u):o.push(u);let s=[];for(let u of o){let c=t.children[u],f=El(e,u),p=await this.processSegmentGroup(n,f,c,u,i);s.push(...p)}let a=Sa(s);return Ol(a),a}async processSegment(n,e,t,i,o,s,a){for(let u of e)try{return await this.processSegmentAgainstRoute(u._injector??n,e,u,t,i,o,s,a)}catch(c){if(c instanceof Ue||ma(c))continue;throw c}if(Ml(t,i,o))return new Vi;throw new Ue(t)}async processSegmentAgainstRoute(n,e,t,i,o,s,a,u){if(Ee(t)!==s&&(s===P||!Pr(i,o,t)))throw new Ue(i);if(t.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,i,t,o,s,u);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(n,i,e,t,o,s,u);throw new Ue(i)}async expandSegmentAgainstRouteUsingRedirect(n,e,t,i,o,s,a){let{matched:u,parameters:c,consumedSegments:f,positionalParamSegments:p,remainingSegments:b}=Ca(e,i,o);if(!u)throw new Ue(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Pl&&(this.allowRedirects=!1));let T=this.createSnapshot(n,i,o,c,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let F=await this.applyRedirects.applyRedirectCommands(f,i.redirectTo,p,wa(T),n),R=await this.applyRedirects.lineralizeSegments(i,F);return this.processSegment(n,t,e,R.concat(b),s,!1,a)}createSnapshot(n,e,t,i,o){let s=new xt(t,i,Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,Nl(e),Ee(e),e.component??e._loadedComponent??null,e,Fl(e),n),a=Yi(s,o,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}
2async matchSegmentAgainstRoute(n,e,t,i,o,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=L=>this.createSnapshot(n,t,L.consumedSegments,L.parameters,s),u=await fr(bl(e,t,i,n,this.urlSerializer,a,this.abortSignal));if(t.path==="**"&&(e.children={}),!u?.matched)throw new Ue(e);n=t._injector??n;let{routes:c}=await this.getChildConfig(n,t,i),f=t._loadedInjector??n,{parameters:p,consumedSegments:b,remainingSegments:T}=u,F=this.createSnapshot(n,t,b,p,s),{segmentGroup:R,slicedSegments:O}=Vs(e,b,T,c,o);if(O.length===0&&R.hasChildren()){let L=await this.processChildren(f,c,R,F);return new de(F,L)}if(c.length===0&&O.length===0)return new de(F,[]);let x=Ee(t)===o,w=await this.processSegment(f,c,R,O,x?P:o,!0,F);return new de(F,w instanceof de?[w]:[])}async getChildConfig(n,e,t){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let o=e._loadedNgModuleFactory;return o&&!e._loadedInjector&&(e._loadedInjector=o.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await fr(vl(n,e,t,this.urlSerializer,this.abortSignal))){let o=await this.configLoader.loadChildren(n,e);return e._loadedRoutes=o.routes,e._loadedInjector=o.injector,e._loadedNgModuleFactory=o.factory,o}throw wl(e)}return{routes:[],injector:n}}};function Ol(r){r.sort((n,e)=>n.value.outlet===P?-1:e.value.outlet===P?1:n.value.outlet.localeCompare(e.value.outlet))}function Ll(r){let n=r.value.routeConfig;return n&&n.path===""}function Sa(r){let n=[],e=new Set;for(let t of r){if(!Ll(t)){n.push(t);continue}let i=n.find(o=>t.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...t.children),e.add(i)):n.push(t)}for(let t of e){let i=Sa(t.children);n.push(new de(t.value,i))}return n.filter(t=>!e.has(t))}function Nl(r){return r.data||{}}function Fl(r){return r.resolve||{}}function xl(r,n,e,t,i,o,s){return _e(async a=>{let{state:u,tree:c}=await Il(r,n,e,t,a.extractedUrl,i,o,s);return Q(v({},a),{targetSnapshot:u,urlAfterRedirects:c})})}function kl(r){return _e(n=>{let{targetSnapshot:e,guards:{canActivateChecks:t}}=n;if(!t.length)return I(n);let i=new Set(t.map(a=>a.route)),o=new Set;for(let a of i)if(!o.has(a))for(let u of Ea(a))o.add(u);let s=0;return ne(o).pipe(Ke(a=>i.has(a)?Ul(a,e,r):(a.data=Yi(a,a.parent,r).resolve,I(void 0))),re(()=>s++),Yr(1),_e(a=>s===o.size?I(n):ge))})}function Ea(r){let n=r.children.map(e=>Ea(e)).flat();return[r,...n]}function Ul(r,n,e){let t=r.routeConfig,i=r._resolve;return t?.title!==void 0&&!da(t)&&(i[Rn]=t.title),Ln(()=>(r.data=Yi(r,r.parent,e).resolve,jl(i,r,n).pipe(V(o=>(r._resolvedData=o,r.data=v(v({},r.data),o),null)))))}function jl(r,n,e){let t=Oi(r);if(t.length===0)return I({});let i={};return ne(t).pipe(_e(o=>Bl(r[o],n,e).pipe(ze(),re(s=>{if(s instanceof kt)throw Tr(new je,s);i[o]=s}))),Yr(1),V(()=>i),Nn(o=>ma(o)?ge:Io(o)))}function Bl(r,n,e){let t=n._environmentInjector,i=jt(r,t),o=i.resolve?i.resolve(n,e):se(t,()=>i(n,e));return lt(o)}function Gs(r){return le(n=>{let e=r(n);return e?ne(e).pipe(V(()=>n)):I(n)})}var eo=(()=>{class r{buildTitle(e){let t,i=e.root;for(;i!==void 0;)t=this.getResolvedTitleForRoute(i)??t,i=i.children.find(o=>o.outlet===P);return t}getResolvedTitleForRoute(e){return e.data[Rn]}static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:()=>g(ba),providedIn:"root"})}return r})(),ba=(()=>{class r extends eo{title;constructor(e){super(),this.title=e}updateTitle(e){let t=this.buildTitle(e);t!==void 0&&this.title.setTitle(t)}static \u0275fac=function(t){return new(t||r)(A(js))};static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Ye=new B("",{factory:()=>({})}),ht=new B(""),Or=(()=>{class r{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=g(us);async loadComponent(e,t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return Promise.resolve(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let i=(async()=>{try{let o=await Ys(se(e,()=>t.loadComponent())),s=await Aa(_a(o));return this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s,s}finally{this.componentLoaders.delete(t)}})();return this.componentLoaders.set(t,i),i}loadChildren(e,t){if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return Promise.resolve({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);let i=(async()=>{try{let o=await Ra(t,this.compiler,e,this.onLoadEndListener);return t._loadedRoutes=o.routes,t._loadedInjector=o.injector,t._loadedNgModuleFactory=o.factory,o}finally{this.childrenLoaders.delete(t)}})();return this.childrenLoaders.set(t,i),i}static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();async function Ra(r,n,e,t){let i=await Ys(se(e,()=>r.loadChildren())),o=await Aa(_a(i)),s;o instanceof Qo||Array.isArray(o)?s=o:s=await n.compileModuleAsync(o),t&&t(r);let a,u,c=!1,f;return Array.isArray(s)?(u=s,c=!0):(a=s.create(e).injector,f=s,u=a.get(ht,[],{optional:!0,self:!0}).flat()),{routes:u.map(Qi),injector:a,factory:f}}function $l(r){return r&&typeof r=="object"&&"default"in r}
2function _a(r){return $l(r)?r.default:r}async function Aa(r){return r}var Lr=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:()=>g(zl),providedIn:"root"})}return r})(),zl=(()=>{class r{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),to=new B(""),no=new B("");function Ta(r,n,e){let t=r.get(no),i=r.get(X);if(!i.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),Hl(r)));a.updateCallbackDone.catch(c=>{}),a.ready.catch(c=>{}),a.finished.catch(c=>{});let{onViewTransitionCreated:u}=t;return u&&se(r,()=>u({transition:a,from:n,to:e})),s}function Hl(r){return new Promise(n=>{ti({read:()=>setTimeout(n)},{injector:r})})}var Vl=()=>{},ro=new B(""),Nr=(()=>{class r{currentNavigation=G(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=G(null);events=new Oe;transitionAbortWithErrorSubject=new Oe;configLoader=g(Or);environmentInjector=g(me);destroyRef=g(yt);urlSerializer=g(qe);rootContexts=g(dt);location=g(He);inputBindingEnabled=g(_n,{optional:!0})!==null;titleStrategy=g(eo);options=g(Ye,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=g(Lr);createViewTransition=g(to,{optional:!0});navigationErrorHandler=g(ro,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>I(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new wr(i)),t=i=>this.events.next(new Cr(i));this.configLoader.onLoadEndListener=t,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let t=++this.navigationId;W(()=>{this.transitions?.next(Q(v({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:t,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new pe(null),this.transitions.pipe(ce(t=>t!==null),le(t=>{let i=!1,o=new AbortController,s=()=>!i&&this.currentTransition?.id===t.id;return I(t).pipe(le(a=>{if(this.navigationId>t.id)return this.cancelNavigationTransition(t,"",oe.SupersededByNewNavigation),ge;this.currentTransition=t;let u=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:u?Q(v({},u),{previousNavigation:null}):null,abort:()=>o.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let c=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),f=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!c&&f!=="reload")return this.events.next(new Ie(a.id,this.urlSerializer.serialize(a.rawUrl),"",Ot.IgnoredSameUrlNavigation)),a.resolve(!1),ge;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return I(a).pipe(le(p=>(this.events.next(new We(p.id,this.urlSerializer.serialize(p.extractedUrl),p.source,p.restoredState)),p.id!==this.navigationId?ge:Promise.resolve(p))),xl(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,o.signal),re(p=>{t.targetSnapshot=p.targetSnapshot,t.urlAfterRedirects=p.urlAfterRedirects,this.currentNavigation.update(b=>(b.finalUrl=p.urlAfterRedirects,b)),this.events.next(new wn)}),le(p=>ne(t.routesRecognizeHandler.deferredHandle??I(void 0)).pipe(V(()=>p))),re(()=>{let p=new Dn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(p)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:p,extractedUrl:b,source:T,restoredState:F,extras:R}=a,O=new We(p,this.urlSerializer.serialize(b),T,F);this.events.next(O);let x=ca(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=t=Q(v({},a),{targetSnapshot:x,urlAfterRedirects:b,extras:Q(v({},R),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(w=>(w.finalUrl=b,w)),I(t)}else return this.events.next(new Ie(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Ot.IgnoredByUrlHandlingStrategy)),a.resolve(!1),ge}),V(a=>{let u=new mr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(u),this.currentTransition=t=Q(v({},a),{guards:Jc(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),t}),cl(a=>this.events.next(a)),le(a=>{if(t.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Tr(this.urlSerializer,a.guardsResult);let u=new vr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(u),!s())return ge;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",oe.GuardRejected),ge;if(a.guards.canActivateChecks.length===0)return I(a);let c=new yr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(c),!s())return ge;let f=!1;return I(a).pipe(kl(this.paramsInheritanceStrategy),re({next:()=>{f=!0;let p=new Dr(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(p)},complete:()=>
2{f||this.cancelNavigationTransition(a,"",oe.NoDataFromResolver)}}))}),Gs(a=>{let u=f=>{let p=[];if(f.routeConfig?._loadedComponent)f.component=f.routeConfig?._loadedComponent;else if(f.routeConfig?.loadComponent){let b=f._environmentInjector;p.push(this.configLoader.loadComponent(b,f.routeConfig).then(T=>{f.component=T}))}for(let b of f.children)p.push(...u(b));return p},c=u(a.targetSnapshot.root);return c.length===0?I(a):ne(Promise.all(c).then(()=>a))}),Gs(()=>this.afterPreactivation()),le(()=>{let{currentSnapshot:a,targetSnapshot:u}=t,c=this.createViewTransition?.(this.environmentInjector,a.root,u.root);return c?ne(c).pipe(V(()=>t)):I(t)}),mt(1),le(a=>{let u=Yc(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=t=a=Q(v({},a),{targetRouterState:u}),this.currentNavigation.update(f=>(f.targetRouterState=u,f)),this.events.next(new Nt);let c=t.beforeActivateHandler.deferredHandle;return c?ne(c.then(()=>a)):I(a)}),re(a=>{new $i(e.routeReuseStrategy,t.targetRouterState,t.currentRouterState,u=>this.events.next(u),this.inputBindingEnabled).activate(this.rootContexts),s()&&(i=!0,this.currentNavigation.update(u=>(u.abort=Vl,u)),this.lastSuccessfulNavigation.set(W(this.currentNavigation)),this.events.next(new ee(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),xn(va(o.signal).pipe(ce(()=>!i&&!t.targetRouterState),re(()=>{this.cancelNavigationTransition(t,o.signal.reason+"",oe.Aborted)}))),re({complete:()=>{i=!0}}),xn(this.transitionAbortWithErrorSubject.pipe(re(a=>{throw a}))),Kt(()=>{o.abort(),i||this.cancelNavigationTransition(t,"",oe.SupersededByNewNavigation),this.currentTransition?.id===t.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),Nn(a=>{if(i=!0,this.destroyed)return t.resolve(!1),ge;if(ga(a))this.events.next(new ve(t.id,this.urlSerializer.serialize(t.extractedUrl),a.message,a.cancellationCode)),Kc(a)?this.events.next(new Ft(a.url,a.navigationBehaviorOptions)):t.resolve(!1);else{let u=new ct(t.id,this.urlSerializer.serialize(t.extractedUrl),a,t.targetSnapshot??void 0);try{let c=se(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(c instanceof kt){let{message:f,cancellationCode:p}=Tr(this.urlSerializer,c);this.events.next(new ve(t.id,this.urlSerializer.serialize(t.extractedUrl),f,p)),this.events.next(new Ft(c.redirectTo,c.navigationBehaviorOptions))}else throw this.events.next(u),a}catch(c){this.options.resolveNavigationPromiseOnError?t.resolve(!1):t.reject(c)}}return ge}))}))}cancelNavigationTransition(e,t,i){let o=new ve(e.id,this.urlSerializer.serialize(e.extractedUrl),t,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),t=W(this.currentNavigation),i=t?.targetBrowserUrl??t?.extractedUrl;return e.toString()!==i?.toString()&&!t?.extras.skipLocationChange}static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function Gl(r){return r!==It}var Ma=new B("");var Ia=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:()=>g(Wl),providedIn:"root"})}return r})(),Ir=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}},Wl=(()=>{class r extends Ir{static \u0275fac=(()=>{let e;return function(i){return(e||(e=kn(r)))(i||r)}})();static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Fr=(()=>{class r{urlSerializer=g(qe);options=g(Ye,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=g(He);urlHandlingStrategy=g(Lr);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new ae;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:t,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,t):t,s=i??o;return s instanceof ae?this.urlSerializer.serialize(s):s}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:t,initialUrl:i}){t&&e?(this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(t,i),this.routerState=e):this.rawUrlTree=i}routerState=ca(null,g(me));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:()=>g(ql),providedIn:"root"})}return r})(),ql=(()=>{class r extends Fr{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(t=>{t.type==="popstate"&&setTimeout(()=>{e(t.url,t.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(e,t){e instanceof We?this.updateStateMemento():e instanceof Ie?this.commitTransition(t):e instanceof Dn?this.urlUpdateStrategy==="eager"&&(t.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof Nt?(this.commitTransition(t),this.urlUpdateStrategy==="deferred"&&!t.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(t),t)):e instanceof ve&&!ua(e)?this.restoreHistory(t):e instanceof ct?this.restoreHistory(t,!0):e instanceof ee&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,t){let{extras:i,id:o}=t,{replaceUrl:s,state:a}=i;if(this.location.isCurrentPathEqualTo(e)||s){let u=this.browserPageId,c=v(v({},a),this.generateNgRouterState(o,u,t));this.location.replaceState(e,"",c)}else{let u=v(v({},a),this.generateNgRouterState(o,this.browserPageId+1,t));this.location.go(e,"",u)}}restoreHistory(e,t=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(t&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,t,i){return this.canceledNavigationResolution==="computed"?v({navigationId:e,\u0275routerPageId:t},this.routerUrlState(i)):v({navigationId:e},this.routerUrlState(i))}static \u0275fac=(()=>{let e;return function(i){return(e||(e=kn(r)))(i||r)}})();static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function xr(r,n){r.events.pipe(ce(e=>e instanceof ee||e instanceof ve||e instanceof ct||e instanceof Ie),V(e=>e instanceof ee||e instanceof Ie?0:(e instanceof ve?e.code===oe.Redirect||e.code===oe.SupersededByNewNavigation:!1)?2:1),ce(e=>e!==2),mt(1)).subscribe(()=>{n()})}var fe=(()=>{class r{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=g(ri);stateManager=g(Fr);options=g(Ye,{optional:!0})||{};pendingTasks=g(Uo);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=g(Nr);
2urlSerializer=g(qe);location=g(He);urlHandlingStrategy=g(Lr);injector=g(me);_events=new Oe;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=g(Ia);injectorCleanup=g(Ma,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=g(ht,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!g(_n,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new To;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(t=>{try{let i=this.navigationTransitions.currentTransition,o=W(this.navigationTransitions.currentNavigation);if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(t,o),t instanceof ve&&t.code!==oe.Redirect&&t.code!==oe.SupersededByNewNavigation)this.navigated=!0;else if(t instanceof ee)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(t instanceof Ft){let s=t.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(t.url,i.currentRawUrl),u=v({scroll:i.extras.scroll,browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Gl(i.source)},s);this.scheduleNavigation(a,It,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Wc(t)&&this._events.next(t)}catch(i){this.navigationTransitions.transitionAbortWithErrorSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),It,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,t,i,o)=>{this.navigateToSyncWithBrowser(e,i,t,o)})}navigateToSyncWithBrowser(e,t,i,o){let s=i?.navigationId?i:null,a=i?.\u0275routerUrl??e;if(i?.\u0275routerUrl&&(o=Q(v({},o),{browserUrl:e})),i){let c=v({},i);delete c.navigationId,delete c.\u0275routerPageId,delete c.\u0275routerUrl,Object.keys(c).length!==0&&(o.state=c)}let u=this.parseUrl(a);this.scheduleNavigation(u,t,s,o).catch(c=>{this.disposed||this.injector.get(Qt)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return W(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Qi),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,t={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:u}=t,c=u?this.currentUrlTree.fragment:s,f=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":f=v(v({},this.currentUrlTree.queryParams),o);break;case"preserve":f=this.currentUrlTree.queryParams;break;default:f=o||null}f!==null&&(f=this.removeEmptyProps(f));let p;try{let b=i?i.snapshot:this.routerState.snapshot.root;p=ia(b)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),p=this.currentUrlTree.root}return oa(p,e,f,c??null,this.urlSerializer)}navigateByUrl(e,t={skipLocationChange:!1}){let i=Ge(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,It,null,t)}navigate(e,t={skipLocationChange:!1}){return Yl(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(Je(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,t){let i;if(t===!0?i=v({},Wi):t===!1?i=v({},vn):i=v(v({},vn),t),Ge(e))return Li(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Li(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((t,[i,o])=>(o!=null&&(t[i]=o),t),{})}
2scheduleNavigation(e,t,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,u,c;s?(a=s.resolve,u=s.reject,c=s.promise):c=new Promise((p,b)=>{a=p,u=b});let f=this.pendingTasks.add();return xr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(f))}),this.navigationTransitions.handleNavigationRequest({source:t,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(Promise.reject.bind(Promise))}static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function Yl(r){for(let n=0;n<r.length;n++)if(r[n]==null)throw new U(4008,!1)}var Zl=(()=>{class r{router=g(fe);stateManager=g(Fr);fragment=G("");queryParams=G({});path=G("");serializer=g(qe);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof ee&&this.updateState()})}updateState(){let{fragment:e,root:t,queryParams:i}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(i),this.path.set(this.serializer.serialize(new ae(t)))}static \u0275fac=function(t){return new(t||r)};static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),kr=(()=>{class r{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=g(new cs("href"),{optional:!0});reactiveHref=Vn(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return W(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return W(this._target)}_target=G(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return W(this._queryParams)}_queryParams=G(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return W(this._fragment)}_fragment=G(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return W(this._queryParamsHandling)}_queryParamsHandling=G(void 0);set state(e){this._state.set(e)}get state(){return W(this._state)}_state=G(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return W(this._info)}_info=G(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return W(this._relativeTo)}_relativeTo=G(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return W(this._preserveFragment)}_preserveFragment=G(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return W(this._skipLocationChange)}_skipLocationChange=G(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return W(this._replaceUrl)}_replaceUrl=G(!1);isAnchorElement;onChanges=new Oe;applicationErrorHandler=g(Qt);options=g(Ye,{optional:!0});reactiveRouterState=g(Zl);constructor(e,t,i,o,s,a){this.router=e,this.route=t,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a;let u=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area"||!!(typeof customElements=="object"&&customElements.get(u)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=G(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(Ge(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,t,i,o,s){let a=this._urlTree();if(a===null||this.isAnchorElement&&(e!==0||t||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,u)?.catch(c=>{this.applicationErrorHandler(c)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,t){let i=this.renderer,o=this.el.nativeElement;t!==null?i.setAttribute(o,e,t):i.removeAttribute(o,e)}_urlTree=ie(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=i=>i==="preserve"||i==="merge";(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let t=this.routerLinkInput();return t===null||!this.router.createUrlTree?null:Ge(t)?t:this.router.createUrlTree(t,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,t)=>this.computeHref(e)===this.computeHref(t)});get urlTree(){return W(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(t){return new(t||r)(we(fe),we(Pe),Kr("tabindex"),we(tn),we(en),we(Se))};static \u0275dir=St({type:r,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(t,i){t&1&&is("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),t&2&&ns("href",i.reactiveHref(),Zo)("target",i._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",nn],skipLocationChange:[2,"skipLocationChange","skipLocationChange",nn],replaceUrl:[2,"replaceUrl","replaceUrl",nn],routerLink:"routerLink"},features:[Dt]})}return r})(),Xl=(()=>{class r{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new tt;link=g(kr,{optional:!0});constructor(e,t,i,o){this.router=e,this.element=t,this.renderer=i,this.cdr=o,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof ee&&this.update()})}ngAfterContentInit(){I(this.links.changes,I(null)).pipe(Xt()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=ne(e).pipe(Xt()).subscribe(t=>{this._isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(e){let t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();
2this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let t=Kl(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?v({},Wi):v({},vn);return i=>{let o=i.urlTree;return o?W(qi(o,e,t)):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(t){return new(t||r)(we(fe),we(en),we(tn),we(Et))};static \u0275dir=St({type:r,selectors:[["","routerLinkActive",""]],contentQueries:function(t,i,o){if(t&1&&os(o,kr,5),t&2){let s;ss(s=as())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Dt]})}return r})();function Kl(r){let n=r;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var Tn=class{};var Pa=(()=>{class r{router;injector;preloadingStrategy;loader;subscription;constructor(e,t,i,o){this.router=e,this.injector=t,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(ce(e=>e instanceof ee),Ke(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,t){let i=[];for(let o of t){o.providers&&!o._injector&&(o._injector=zn(o.providers,e,""));let s=o._injector??e;o._loadedNgModuleFactory&&!o._loadedInjector&&(o._loadedInjector=o._loadedNgModuleFactory.create(s).injector);let a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return ne(i).pipe(Xt())}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>{if(e.destroyed)return I(null);let i;t.loadChildren&&t.canLoad===void 0?i=ne(this.loader.loadChildren(e,t)):i=I(null);let o=i.pipe(_e(s=>s===null?I(void 0):(t._loadedRoutes=s.routes,t._loadedInjector=s.injector,t._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??e,s.routes))));if(t.loadComponent&&!t._loadedComponent){let s=this.loader.loadComponent(e,t);return ne([o,s]).pipe(Xt())}else return o})}static \u0275fac=function(t){return new(t||r)(A(fe),A(me),A(Tn),A(Or))};static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),oo=new B(""),Oa=(()=>{class r{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=It;restoredId=0;store={};isHydrating=g($o,{optional:!0})??!1;urlSerializer=g(qe);zone=g(nt);viewportScroller=g(hi);transitions=g(Nr);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&g(Hn).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof We?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ee?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Ie&&e.code===Ot.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof Lt)||e.scrollBehavior==="manual")return;let t={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],t):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,t):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,t){if(this.isHydrating)return;let i=W(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(async()=>{await new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new Lt(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,t,i))})})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(t){Jo()};static \u0275prov=_({token:r,factory:r.\u0275fac})}return r})();function Jl(r,...n){return Jt([{provide:ht,multi:!0,useValue:r},[],{provide:Pe,useFactory:La},{provide:si,multi:!0,useFactory:Na},n.map(e=>e.\u0275providers)])}function La(){return g(fe).routerState.root}function Bt(r,n){return{\u0275kind:r,\u0275providers:n}}function Ql(r={}){return Bt(4,[{provide:oo,useFactory:()=>new Oa(r)}])}function Na(){let r=g(et);return n=>{let e=r.get(Hn);if(n!==e.components[0])return;let t=r.get(fe),i=r.get(Fa);r.get(so)===1&&t.initialNavigation(),r.get(Ua,null,{optional:!0})?.setUpPreloading(),r.get(oo,null,{optional:!0})?.init(),t.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Fa=new B("",{factory:()=>new Oe}),so=new B("",{factory:()=>1});function xa(){let r=[{provide:Qr,useValue:!0},{provide:so,useValue:0},oi(()=>{let n=g(et);return n.get(ui,Promise.resolve()).then(()=>new Promise(t=>{let i=n.get(fe),o=n.get(Fa);xr(i,()=>{t(!0)}),n.get(Nr).afterPreactivation=()=>(t(!0),o.closed?I(void 0):o),i.initialNavigation()}))})];return Bt(2,r)}function ka(){let r=[oi(()=>{g(fe).setUpLocationChangeListener()}),{provide:so,useValue:2}];return Bt(3,r)}var Ua=new B("");function ja(r){return Bt(0,[{provide:Ua,useExisting:Pa},{provide:Tn,useExisting:r}])}function Ba(){return Bt(8,[Ki,{provide:_n,useExisting:Ki}])}function $a(r){ei("NgRouterViewTransitions");let n=[{provide:to,useValue:Ta},{provide:no,useValue:v({skipNextTransition:!!r?.skipInitialTransition},r)}];return Bt(9,n)}var za=[He,{provide:qe,useClass:je},fe,dt,{provide:Pe,useFactory:La},Or,[]],ed=(()=>
2{class r{constructor(){}static forRoot(e,t){return{ngModule:r,providers:[za,[],{provide:ht,multi:!0,useValue:e},[],t?.errorHandler?{provide:ro,useValue:t.errorHandler}:[],{provide:Ye,useValue:t||{}},t?.useHash?nd():rd(),td(),t?.preloadingStrategy?ja(t.preloadingStrategy).\u0275providers:[],t?.initialNavigation?id(t):[],t?.bindToComponentInputs?Ba().\u0275providers:[],t?.enableViewTransitions?$a().\u0275providers:[],od()]}}static forChild(e){return{ngModule:r,providers:[{provide:ht,multi:!0,useValue:e}]}}static \u0275fac=function(t){return new(t||r)};static \u0275mod=ot({type:r});static \u0275inj=Qe({})}return r})();function td(){return{provide:oo,useFactory:()=>{let r=g(hi),n=g(Ye);return n.scrollOffset&&r.setOffset(n.scrollOffset),new Oa(n)}}}function nd(){return{provide:Se,useClass:ci}}function rd(){return{provide:Se,useClass:qn}}function id(r){return[r.initialNavigation==="disabled"?ka().\u0275providers:[],r.initialNavigation==="enabledBlocking"?xa().\u0275providers:[]]}var io=new B("");function od(){return[{provide:io,useFactory:Na},{provide:si,multi:!0,useExisting:io}]}var Mn="https://restapi.webtic.it",$t={NowPlayingSlide:"https://image.tmdb.org/t/p/w1280",images:"https://secure.webtic.it/",apis:{WebticPortalData:`${Mn}/WebticPortal/WebticPortalData`,NowPlaying:"https://api.themoviedb.org/3/movie/now_playing?api_key=549d9cee00ec185e5af7b4b4815a65ba&page=1",oldWebtic:`${Mn}/Webtic/CallOldWebtic`,newsletter:`${Mn}/WebticPortal/CineverseFeed`,isrtLog:`${Mn}/Webtic/IsrtLog`,replLog:`${Mn}/Webtic/ReplLog`}};function $g(r){return JSON.stringify({body:r.body,method:r.method,responseType:r.responseType,urlWithParams:r.urlWithParams})}function Ha(r,n){if(r.params&&r.params[n])return r.params[n];for(let e of r.children){let t=Ha(e,n);if(t!==null)return t}return null}function In(r,n){let e=()=>{let t=r.routerState.snapshot.root;return Ha(t,n)};return r.events.pipe(ce(t=>t instanceof ee),V(()=>e()),vt(e()),Fn())}function zg(r,n){let e=()=>r.routerState.snapshot.root.queryParamMap.get(n);return r.events.pipe(ce(t=>t instanceof ee),V(()=>e()),vt(e()),Fn())}function Ur(r){let n=()=>r.url;return r.events.pipe(ce(e=>e instanceof ee),V(()=>n()),Fn())}function Hg(r){return Ur(r).pipe(vt(void 0),No(),V(([n,e])=>n))}function Vg(r){return Ur(r).pipe(Fo((n,e)=>[...n,e],[]))}function Gg(r){let n,e=r.snapshot.fragment;if(e){let i=document.getElementById(e);i&&(n=()=>i.scrollIntoView({behavior:"auto",block:"start"}))}n??=()=>window.scrollTo(0,0);let t=setInterval(()=>n(),100);setTimeout(()=>clearInterval(t),500)}function sd(){return navigator.userAgent.includes("WebticApp/1.0 (iOS)")}function ad(){return navigator.userAgent.includes("WebticApp/1.0 (Android)")}function Va(){return sd()||ad()}var Ga=(R=>(R.Main="main",R.Home="home",R.AllProvinces="all-provinces",R.AllLocals="all-locals",R.AboutUs="about-us",R.Title="title",R.Preview="preview",R.Provinces="provinces",R.Locals="locals",R.LocalsTitles="local-titles",R.Shopping="shopping",R.Shop="shop",R.RemoveUser="remove-user",R.ResetPwd="reset-pwd",R.ActivateUser="activate-user",R))(Ga||{});var N=(function(r){return r[r.PLAIN_TO_CLASS=0]="PLAIN_TO_CLASS",r[r.CLASS_TO_PLAIN=1]="CLASS_TO_PLAIN",r[r.CLASS_TO_CLASS=2]="CLASS_TO_CLASS",r})(N||{});var jr=class{constructor(){this._typeMetadatas=new Map,this._transformMetadatas=new Map,this._exposeMetadatas=new Map,this._excludeMetadatas=new Map,this._ancestorsMap=new Map}addTypeMetadata(n){this._typeMetadatas.has(n.target)||this._typeMetadatas.set(n.target,new Map),this._typeMetadatas.get(n.target).set(n.propertyName,n)}addTransformMetadata(n){this._transformMetadatas.has(n.target)||this._transformMetadatas.set(n.target,new Map),this._transformMetadatas.get(n.target).has(n.propertyName)||this._transformMetadatas.get(n.target).set(n.propertyName,[]),this._transformMetadatas.get(n.target).get(n.propertyName).push(n)}addExposeMetadata(n){this._exposeMetadatas.has(n.target)||this._exposeMetadatas.set(n.target,new Map),this._exposeMetadatas.get(n.target).set(n.propertyName,n)}addExcludeMetadata(n){this._excludeMetadatas.has(n.target)||this._excludeMetadatas.set(n.target,new Map),this._excludeMetadatas.get(n.target).set(n.propertyName,n)}findTransformMetadatas(n,e,t){return this.findMetadatas(this._transformMetadatas,n,e).filter(i=>!i.options||i.options.toClassOnly===!0&&i.options.toPlainOnly===!0?!0:i.options.toClassOnly===!0?t===N.CLASS_TO_CLASS||t===N.PLAIN_TO_CLASS:i.options.toPlainOnly===!0?t===N.CLASS_TO_PLAIN:!0)}findExcludeMetadata(n,e){return this.findMetadata(this._excludeMetadatas,n,e)}findExposeMetadata(n,e){return this.findMetadata(this._exposeMetadatas,n,e)}findExposeMetadataByCustomName(n,e){return this.getExposedMetadatas(n).find(t=>t.options&&t.options.name===e)}findTypeMetadata(n,e){return this.findMetadata(this._typeMetadatas,n,e)}getStrategy(n){let e=this._excludeMetadatas.get(n),t=e&&e.get(void 0),i=this._exposeMetadatas.get(n),o=i&&i.get(void 0);return t&&o||!t&&!o?"none":t?"excludeAll":"exposeAll"}getExposedMetadatas(n){return this.getMetadata(this._exposeMetadatas,n)}getExcludedMetadatas(n){return this.getMetadata(this._excludeMetadatas,n)}getExposedProperties(n,e){return this.getExposedMetadatas(n).filter(t=>!t.options||t.options.toClassOnly===!0&&t.options.toPlainOnly===!0?!0:t.options.toClassOnly===!0?e===N.CLASS_TO_CLASS||e===N.PLAIN_TO_CLASS:t.options.toPlainOnly===!0?e===N.CLASS_TO_PLAIN:!0).map(t=>t.propertyName)}getExcludedProperties(n,e){return this.getExcludedMetadatas(n).filter(t=>!t.options||t.options.toClassOnly===!0&&t.options.toPlainOnly===!0?!0:t.options.toClassOnly===!0?e===N.CLASS_TO_CLASS||e===N.PLAIN_TO_CLASS:t.options.toPlainOnly===!0?e===N.CLASS_TO_PLAIN:!0).map(t=>t.propertyName)}clear(){this._typeMetadatas.clear(),this._exposeMetadatas.clear(),this._excludeMetadatas.clear(),this._ancestorsMap.clear()}getMetadata(n,e){let t=n.get(e),i;t&&(i=Array.from(t.values()).filter(s=>s.propertyName!==void 0));let o=[];for(let s of this.getAncestors(e)){let a=n.get(s);if(a){let u=Array.from(a.values()).filter(c=>c.propertyName!==void 0);o.push(...u)}}return o.concat(i||[])}findMetadata(n,e,t){let i=n.get(e);if(i){let o=i.get(t);if(o)return o}for(let o of this.getAncestors(e)){let s=n.get(o);if(s){let a=s.get(t);if(a)return a}}}findMetadatas(n,e,t){let i=n.get(e),o;i&&(o=i.get(t));let s=[];for(let a of this.getAncestors(e)){let u=n.get(a);u&&u.has(t)&&s.push(...u.get(t))}return s.slice().reverse().concat((o||[]).slice().reverse())}getAncestors(n){if(!n)return[];if(!this._ancestorsMap.has(n)){let e=[];for(let t=Object.getPrototypeOf(n.prototype.constructor);typeof t.prototype<"u";t=Object.getPrototypeOf(t.prototype.constructor))e.push(t);this._ancestorsMap.set(n,e)}return this._ancestorsMap.get(n)}};var te=new jr;function Wa(){if(typeof globalThis<"u")return globalThis;if(typeof global<"u")return global;if(typeof window<"u")return window;if(typeof self<"u")return self}function qa(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}function ud(r){let n=new r;return!(n instanceof Set)&&!("push"in n)?[]:n}var Be=class{constructor(n,e){this.transformationType=n,this.options=e,this.recursionStack=new Set}transform(n,e,t,i,o,s=0){if(Array.isArray(e)||e instanceof Set){let a=i&&this.transformationType===N.PLAIN_TO_CLASS?ud(i):[];return e.forEach((u,c)=>{let f=n?n[c]:void 0;if(!this.options.enableCircularCheck||!this.isCircular(u)){let p;if(typeof t!="function"&&t&&t.options&&t.options.discriminator&&t.options.discriminator.property&&t.options.discriminator.subTypes){if(this.transformationType===N.PLAIN_TO_CLASS){p=t.options.discriminator.subTypes.find(R=>R.name===u[t.options.discriminator.property]);let T={newObject:a,object:u,property:void 0},F=t.typeFunction(T);p===void 0?p=F:p=p.value,t.options.keepDiscriminatorProperty||delete u[t.options.discriminator.property]}this.transformationType===N.CLASS_TO_CLASS&&(p=u.constructor),this.transformationType===N.CLASS_TO_PLAIN&&(u[t.options.discriminator.property]=t.options.discriminator.subTypes.find(T=>T.value===u.constructor).name)}else p=t;let b=this.transform(f,u,p,void 0,u instanceof Map,s+1);a instanceof Set?a.add(b):a.push(b)}else this.transformationType===N.CLASS_TO_CLASS&&(a instanceof Set?a.add(u):a.push(u))}),a}else{if(t===String&&!o)return e==null?e:String(e);if(t===Number&&!o)return e==null?e:Number(e);
2if(t===Boolean&&!o)return e==null?e:!!e;if((t===Date||e instanceof Date)&&!o)return e instanceof Date?new Date(e.valueOf()):e==null?e:new Date(e);if(Wa().Buffer&&(t===Buffer||e instanceof Buffer)&&!o)return e==null?e:Buffer.from(e);if(qa(e)&&!o)return new Promise((a,u)=>{e.then(c=>a(this.transform(void 0,c,t,void 0,void 0,s+1)),u)});if(!o&&e!==null&&typeof e=="object"&&typeof e.then=="function")return e;if(typeof e=="object"&&e!==null){!t&&e.constructor!==Object&&(!Array.isArray(e)&&e.constructor===Array||(t=e.constructor)),!t&&n&&(t=n.constructor),this.options.enableCircularCheck&&this.recursionStack.add(e);let a=this.getKeys(t,e,o),u=n||{};!n&&(this.transformationType===N.PLAIN_TO_CLASS||this.transformationType===N.CLASS_TO_CLASS)&&(o?u=new Map:t?u=new t:u={});for(let c of a){if(c==="__proto__"||c==="constructor")continue;let f=c,p=c,b=c;if(!this.options.ignoreDecorators&&t){if(this.transformationType===N.PLAIN_TO_CLASS){let w=te.findExposeMetadataByCustomName(t,c);w&&(b=w.propertyName,p=w.propertyName)}else if(this.transformationType===N.CLASS_TO_PLAIN||this.transformationType===N.CLASS_TO_CLASS){let w=te.findExposeMetadata(t,c);w&&w.options&&w.options.name&&(p=w.options.name)}}let T;this.transformationType===N.PLAIN_TO_CLASS?T=e[f]:e instanceof Map?T=e.get(f):e[f]instanceof Function?T=e[f]():T=e[f];let F,R=T instanceof Map;if(t&&o)F=t;else if(t){let w=te.findTypeMetadata(t,b);if(w){let L={newObject:u,object:e,property:b},z=w.typeFunction?w.typeFunction(L):w.reflectedType;w.options&&w.options.discriminator&&w.options.discriminator.property&&w.options.discriminator.subTypes?e[f]instanceof Array?F=w:(this.transformationType===N.PLAIN_TO_CLASS&&(F=w.options.discriminator.subTypes.find(ue=>{if(T&&T instanceof Object&&w.options.discriminator.property in T)return ue.name===T[w.options.discriminator.property]}),F===void 0?F=z:F=F.value,w.options.keepDiscriminatorProperty||T&&T instanceof Object&&w.options.discriminator.property in T&&delete T[w.options.discriminator.property]),this.transformationType===N.CLASS_TO_CLASS&&(F=T.constructor),this.transformationType===N.CLASS_TO_PLAIN&&T&&(T[w.options.discriminator.property]=w.options.discriminator.subTypes.find(ue=>ue.value===T.constructor).name)):F=z,R=R||w.reflectedType===Map}else if(this.options.targetMaps)this.options.targetMaps.filter(L=>L.target===t&&!!L.properties[b]).forEach(L=>F=L.properties[b]);else if(this.options.enableImplicitConversion&&this.transformationType===N.PLAIN_TO_CLASS){let L=Reflect.getMetadata("design:type",t.prototype,b);L&&(F=L)}}let O=Array.isArray(e[f])?this.getReflectedType(t,b):void 0,x=n?n[f]:void 0;if(u.constructor.prototype){let w=Object.getOwnPropertyDescriptor(u.constructor.prototype,p);if((this.transformationType===N.PLAIN_TO_CLASS||this.transformationType===N.CLASS_TO_CLASS)&&(w&&!w.set||u[p]instanceof Function))continue}if(!this.options.enableCircularCheck||!this.isCircular(T)){let w=this.transformationType===N.PLAIN_TO_CLASS?p:c,L;this.transformationType===N.CLASS_TO_PLAIN?(L=e[w],L=this.applyCustomTransformations(L,t,w,e,this.transformationType),L=e[w]===L?T:L,L=this.transform(x,L,F,O,R,s+1)):T===void 0&&this.options.exposeDefaultValues?L=u[p]:(L=this.transform(x,T,F,O,R,s+1),L=this.applyCustomTransformations(L,t,w,e,this.transformationType)),(L!==void 0||this.options.exposeUnsetFields)&&(u instanceof Map?u.set(p,L):u[p]=L)}else if(this.transformationType===N.CLASS_TO_CLASS){let w=T;w=this.applyCustomTransformations(w,t,c,e,this.transformationType),(w!==void 0||this.options.exposeUnsetFields)&&(u instanceof Map?u.set(p,w):u[p]=w)}}return this.options.enableCircularCheck&&this.recursionStack.delete(e),u}else return e}}applyCustomTransformations(n,e,t,i,o){let s=te.findTransformMetadatas(e,t,this.transformationType);return this.options.version!==void 0&&(s=s.filter(a=>a.options?this.checkVersion(a.options.since,a.options.until):!0)),this.options.groups&&this.options.groups.length?s=s.filter(a=>a.options?this.checkGroups(a.options.groups):!0):s=s.filter(a=>!a.options||!a.options.groups||!a.options.groups.length),s.forEach(a=>{n=a.transformFn({value:n,key:t,obj:i,type:o,options:this.options})}),n}isCircular(n){return this.recursionStack.has(n)}getReflectedType(n,e){if(!n)return;let t=te.findTypeMetadata(n,e);return t?t.reflectedType:void 0}getKeys(n,e,t){let i=te.getStrategy(n);i==="none"&&(i=this.options.strategy||"exposeAll");let o=[];if((i==="exposeAll"||t)&&(e instanceof Map?o=Array.from(e.keys()):o=Object.keys(e)),t)return o;if(this.options.ignoreDecorators&&this.options.excludeExtraneousValues&&n){let s=te.getExposedProperties(n,this.transformationType),a=te.getExcludedProperties(n,this.transformationType);o=[...s,...a]}if(!this.options.ignoreDecorators&&n){let s=te.getExposedProperties(n,this.transformationType);this.transformationType===N.PLAIN_TO_CLASS&&(s=s.map(u=>{let c=te.findExposeMetadata(n,u);return c&&c.options&&c.options.name?c.options.name:u})),this.options.excludeExtraneousValues?o=s:o=o.concat(s);let a=te.getExcludedProperties(n,this.transformationType);a.length>0&&(o=o.filter(u=>!a.includes(u))),this.options.version!==void 0&&(o=o.filter(u=>{let c=te.findExposeMetadata(n,u);return!c||!c.options?!0:this.checkVersion(c.options.since,c.options.until)})),this.options.groups&&this.options.groups.length?o=o.filter(u=>{let c=te.findExposeMetadata(n,u);return!c||!c.options?!0:this.checkGroups(c.options.groups)}):o=o.filter(u=>{let c=te.findExposeMetadata(n,u);return!c||!c.options||!c.options.groups||!c.options.groups.length})}return this.options.excludePrefixes&&this.options.excludePrefixes.length&&(o=o.filter(s=>this.options.excludePrefixes.every(a=>s.substr(0,a.length)!==a))),o=o.filter((s,a,u)=>u.indexOf(s)===a),o}checkVersion(n,e){let t=!0;return t&&n&&(t=this.options.version>=n),t&&e&&(t=this.options.version<e),t}checkGroups(n){return n?this.options.groups.some(e=>n.includes(e)):!0}};var ft={enableCircularCheck:!1,enableImplicitConversion:!1,excludeExtraneousValues:!1,excludePrefixes:void 0,exposeDefaultValues:!1,exposeUnsetFields:!0,groups:void 0,ignoreDecorators:!1,strategy:void 0,targetMaps:void 0,version:void 0};var Br=class{instanceToPlain(n,e){return new Be(N.CLASS_TO_PLAIN,v(v({},ft),e)).transform(void 0,n,void 0,void 0,void 0,void 0)}classToPlainFromExist(n,e,t){return new Be(N.CLASS_TO_PLAIN,v(v({},ft),t)).transform(e,n,void 0,void 0,void 0,void 0)}plainToInstance(n,e,t){return new Be(N.PLAIN_TO_CLASS,v(v({},ft),t)).transform(void 0,e,n,void 0,void 0,void 0)}plainToClassFromExist(n,e,t){return new Be(N.PLAIN_TO_CLASS,v(v({},ft),t)).transform(n,e,void 0,void 0,void 0,void 0)}instanceToInstance(n,e){return new Be(N.CLASS_TO_CLASS,v(v({},ft),e)).transform(void 0,n,void 0,void 0,void 0,void 0)}classToClassFromExist(n,e,t){return new Be(N.CLASS_TO_CLASS,v(v({},ft),t)).transform(e,n,void 0,void 0,void 0,void 0)}serialize(n,e){return JSON.stringify(this.instanceToPlain(n,e))}deserialize(n,e,t){let i=JSON.parse(e);return this.plainToInstance(n,i,t)}deserializeArray(n,e,t){let i=JSON.parse(e);return this.plainToInstance(n,i,t)}};function Ze(r,n={}){return function(e,t){let i=Reflect.getMetadata("design:type",e,t);te.addTypeMetadata({target:e.constructor,propertyName:t,reflectedType:i,typeFunction:r,options:n})}}var cd=new Br;function Pn(r,n,e){return cd.plainToInstance(r,n,e)}var Cm=gu(Za());var zt=class{MasterEventId;MasterCode;Title;Description;PictureTimeStamp;Director;Gender;RentalId;EventType;ClassType;Duration;DurationMinutes;DurationFormatted;Year;Rates;SeoLabel;Picture;PictureLarge;Trailer;Actors;Author;Troupe;Orchestra;SearchableString;Provinces;Statistics;
2searchCardClick(n,e){e.setGoBackToSearch(),n.navigate(["title",this.MasterEventId,"preview"])}};$e([Ze(()=>Vt)],zt.prototype,"Provinces",2),$e([Ze(()=>uo)],zt.prototype,"Statistics",2);var Vt=class{ProvinceId;Province;SeoLabel;Locals};$e([Ze(()=>Gt)],Vt.prototype,"Locals",2);var Gt=class{LocalId;MultiTitles;Description;ProvinceId;Province;Town;IsOnline;Lat;Lng;SeoLabel;LogoPath;SearchableString;LocalUrl;LocalsTitles;searchCardClick(n,e){this.LocalUrl||e.setGoBackToSearch(),n.navigate(["shopping","loadLocal",this.ProvinceId,this.LocalId])}isWithinDistanceKm(n,e){if(!e||!Number.isFinite(n))return!0;let t=e.coords.latitude,i=e.coords.longitude,o=this.Lat??0,s=this.Lng??0,a=6371,u=(o-t)*Math.PI/180,c=(s-i)*Math.PI/180,f=Math.sin(u/2)*Math.sin(u/2)+Math.cos(t*Math.PI/180)*Math.cos(o*Math.PI/180)*Math.sin(c/2)*Math.sin(c/2),p=2*Math.atan2(Math.sqrt(f),Math.sqrt(1-f));return a*p<=n}};$e([Ze(()=>ao)],Gt.prototype,"LocalsTitles",2);var ao=class{MasterEventId;ProvinceId;LocalId;EventId;EventType;Title;Screens;ShoppingUrl},uo=class{ProvincesCount;LocalsCount;ScreensCount},Ht=class{EventId;Title;OriginalTitle;Description;Actors;Type;Is3D;Director;Duration;Picture;PictureLarge;Year;Category;MovieId;TitleId;Properties;IsStreaming;EventProperties;Days};$e([Ze(()=>co)],Ht.prototype,"EventProperties",2),$e([Ze(()=>$r)],Ht.prototype,"Days",2);var co=class{EventProperty;EventPropertyCategory},$r=class{GroupedByScreen;Day;Performances};$e([Ze(()=>lo)],$r.prototype,"Performances",2);var lo=class{PerformanceId;Time;Screen;ScreenId;StartTime;EndTime;Duration};var Xa=class r{http=g(ar);router=g(fe);WebticPortalDataResponse=G(void 0);url=bt(Ur(this.router));MasterEventIdPathParam=bt(In(this.router,"MasterEventId"));ProvinceIdPathParam=bt(In(this.router,"ProvinceId"));LocalIdPathParam=bt(In(this.router,"LocalId"));EventIdPathParam=bt(In(this.router,"EventId"));position=G(void 0);NowPlayingResponse=G(void 0);SchedulingResponse=G(void 0);newsletterWidget=G(void 0);searchInput=Vn(()=>(this.url(),""));searchWords=ie(()=>{let n=this.searchInput().toLocaleLowerCase().trim();return n?n.split(/\W+/).filter(e=>!!e):[]});WebticLocalsList=ie(()=>Object.values(this.WebticPortalDataResponse()?.Data?.WebticLocals??{}).map(n=>{let e=Pn(Gt,n);return e.SearchableString=[e.Description,e.Province,e.Town].filter(t=>!!t).join("&").toLocaleLowerCase(),e}).sort((n,e)=>n.Description.toLocaleLowerCase().localeCompare(e.Description.toLocaleLowerCase())));WebticProvincesList=ie(()=>Object.values(this.WebticPortalDataResponse()?.Data?.WebticProvinces??{}).map(n=>Pn(Vt,n)).sort((n,e)=>n.Province.toLocaleLowerCase().localeCompare(e.Province.toLocaleLowerCase())));WebticTitlesList=ie(()=>Object.values(this.WebticPortalDataResponse()?.Data?.WebticTitles??{}).map(n=>{let e=Pn(zt,n);if(e.PictureLarge=e.Picture?.replace("jpg-m","jpg-l"),e.Duration){let t=new Date(e.Duration);e.DurationMinutes=t.getMinutes()+60*t.getHours(),e.DurationFormatted=`${t.getHours()}h ${t.getMinutes()}'`}for(let t of e.Provinces??[]){t.ProvinceId&&(t.Province=this.WebticPortalDataResponse()?.Data?.WebticProvinces[t.ProvinceId].Province);for(let i of t.Locals??[])if(i.LocalId){let o=this.WebticPortalDataResponse()?.Data?.WebticLocals[i.LocalId.toString()];i.Description=o.Description,i.Town=o.Town,i.IsOnline=o.IsOnline,i.Lat=o.Lat,i.Lng=o.Lng}t.Locals?.sort((i,o)=>i.Description.toLocaleLowerCase().localeCompare(o.Description.toLocaleLowerCase()))}return e.Provinces?.sort((t,i)=>t.Province.toLocaleLowerCase().localeCompare(i.Province.toLocaleLowerCase())),e.SearchableString=[e.Title,e.Director,e.Gender,e.Year,e.Actors,e.Author,e.Troupe,e.Orchestra].filter(t=>!!t).join("&").toLocaleLowerCase(),e}).sort((n,e)=>(e.Rates??0)-(n.Rates??0)));WebticClassTypes=ie(()=>Array.from(new Set(this.WebticTitlesList().map(n=>n.ClassType))));activeTitle=ie(()=>{if(this.MasterEventIdPathParam())return this.WebticTitlesList().find(n=>this.MasterEventIdPathParam()===n.MasterEventId)});activeProvince=ie(()=>{if(this.ProvinceIdPathParam())return this.activeTitle()?.Provinces?.find(n=>this.ProvinceIdPathParam()===n.ProvinceId)});activeLocal=ie(()=>{if(this.LocalIdPathParam())return this.activeProvince()?.Locals?.find(n=>this.LocalIdPathParam()===n.LocalId?.toString())});activeEvent=ie(()=>{if(this.EventIdPathParam())return this.activeLocal()?.LocalsTitles?.find(n=>this.EventIdPathParam()===n.EventId?.toString())});scheduling=ie(()=>this.SchedulingResponse()?.DS?.Scheduling?.Events.map(n=>{let e=Pn(Ht,n);return e.Picture=`${$t.images}/${e.Picture}`,e.PictureLarge=e.Picture.replace("jpg-m","jpg-l"),e}));searchResult=ie(()=>{let n=this.searchWords();if(n.length<=0)return[];let e=this.WebticTitlesList(),t=this.WebticLocalsList().filter(i=>i.IsOnline);return[...e,...t].filter(i=>n.every(o=>i.SearchableString?.includes(o)))});init(){return Lo([this.WebticPortalData(),this.NowPlaying()])}WebticPortalData(){let n={headers:{"K-Disabled":"1","Client-Cache":"60000"}};this.WebticPortalDataResponse.set(void 0);let e=this.http.post($t.apis.WebticPortalData,{},n).pipe(re(t=>this.WebticPortalDataResponse.set(t)));return Zt(e)}NowPlaying(){let n={headers:{"Disable-Session":"1"}};this.NowPlayingResponse.set(void 0);let e=this.http.get($t.apis.NowPlaying,n).pipe(re(t=>this.NowPlayingResponse.set(t)));return Zt(e)}getScheduling(n,e="1"){let t={OldWebticRequest:{meta:{QueryParams:{wtid:"getFullScheduling",localid:n,trackid:33}}}},i={headers:{"Client-Cache":"60000","Disable-Error-Alert":e}};this.SchedulingResponse.set(void 0);let o=this.http.post($t.apis.oldWebtic,t,i).pipe(re(s=>this.SchedulingResponse.set(s)));return Zt(o)}async calculateGeolocationPosition(){let n=null;for(let e=0;e<3&&(n=await this._calculateGeolocationPosition(),!n);e++);return n}_calculateGeolocationPosition(){let n=this.position();if(n)return Promise.resolve(n);let e=window;return Va()?new Promise(t=>{e.WebticApp.requestLocation().then(i=>{if(!i){t(null);return}let o={coords:{latitude:i.lat,longitude:i.lng,accuracy:i.accuracy},timestamp:i.timestamp};this.position.set(o),t(o)})}):new Promise(t=>{navigator.geolocation.getCurrentPosition(i=>{this.position.set(i),t(i)},i=>t(null))})}getNewsletterWidget(){let n={headers:{"Disable-Session":"1","K-Disabled":"1","Disable-Error-Alert":"1","Client-Cache":"300000"}};this.newsletterWidget.set(void 0);let e=this.http.post($t.apis.newsletter,{},n).pipe(re(t=>this.newsletterWidget.set(t.Data?.SharedResult)));return Zt(e)}static \u0275fac=function(e){return new(e||r)};static \u0275prov=_({token:r,factory:r.\u0275fac,providedIn:"root"})};export{Cu as a,vs as b,ff as c,$u as d,ke as e,ar as f,fc as g,pc as h,gc as i,mc as j,yc as k,Pe as l,Xi as m,fe as n,kr as o,Xl as p,Jl as q,Ql as r,Ba as s,$a as t,ed as u,Mn as v,$t as w,$g as x,Ha as y,In as z,zg as A,Ur as B,Hg as C,Vg as D,Gg as E,sd as F,Va as G,Ga as H,Xa as I};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.