HOME


Mini Shell 1.0
La Pieza.DO | Todo lo que buscas!

Bienvenido de nuevo!

Acceso Cuenta Delivery
DIR: /var/www/lapieza.do/
Upload File :
Current File : /var/www/lapieza.do/main.270f07660c8d9e11.js
(self.webpackChunkapp_lapieza=self.webpackChunkapp_lapieza||[]).push([[792],{99:(_t,Ne,M)=>{"use strict";M.d(Ne,{$:()=>jr,J:()=>ar,M:()=>vt,R:()=>pi,S:()=>Wr,W:()=>Wn,X:()=>Wi,Y:()=>Cs,Z:()=>sa,_:()=>zs,a0:()=>Ki,a1:()=>La,a2:()=>Ei,a3:()=>Go,a4:()=>F,g:()=>Bn,i:()=>li,j:()=>$n,k:()=>Nn,t:()=>la,u:()=>yo,v:()=>$s,w:()=>mr,x:()=>Ie,Qb:()=>Br});var I=M(460),x=M(2300),z=M(8457),s=M(4402),X=M(6648),u=M(7673),y=M(4412),j=M(4572),L=M(9350),B=M(8793),ie=M(9030),De=M(1203),Pe=M(8810),le=M(983),Oe=M(1985),at=M(8359),wt=M(9974),st=M(4360);function nt(){return(0,wt.N)((m,C)=>{let v=null;m._refCount++;const b=(0,st._)(C,void 0,void 0,void 0,()=>{if(!m||m._refCount<=0||0<--m._refCount)return void(v=null);const N=m._connection,Y=v;v=null,N&&(!Y||N===Y)&&N.unsubscribe(),C.unsubscribe()});m.subscribe(b),b.closed||(v=m.connect())})}class ze extends Oe.c{constructor(C,v){super(),this.source=C,this.subjectFactory=v,this._subject=null,this._refCount=0,this._connection=null,(0,wt.S)(C)&&(this.lift=C.lift)}_subscribe(C){return this.getSubject().subscribe(C)}getSubject(){const C=this._subject;return(!C||C.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:C}=this;this._subject=this._connection=null,C?.unsubscribe()}connect(){let C=this._connection;if(!C){C=this._connection=new at.yU;const v=this.getSubject();C.add(this.source.subscribe((0,st._)(v,void 0,()=>{this._teardown(),v.complete()},b=>{this._teardown(),v.error(b)},()=>this._teardown()))),C.closed&&(this._connection=null,C=at.yU.EMPTY)}return C}refCount(){return nt()(this)}}var Qe=M(1413),he=M(6354),it=M(5558),D=M(6697),$e=M(9172),We=M(5964),$t=M(1397);function nn(m){return(0,wt.N)((C,v)=>{let b=!1;C.subscribe((0,st._)(v,N=>{b=!0,v.next(N)},()=>{b||v.next(m),v.complete()}))})}function Kn(m=rn){return(0,wt.N)((C,v)=>{let b=!1;C.subscribe((0,st._)(v,N=>{b=!0,v.next(N)},()=>b?v.complete():v.error(m())))})}function rn(){return new L.G}var In=M(3669);function Hn(m,C){const v=arguments.length>=2;return b=>b.pipe(m?(0,We.p)((N,Y)=>m(N,Y,b)):In.D,(0,D.s)(1),v?nn(C):Kn(()=>new L.G))}var Ln=M(274),ln=M(8141),or=M(9437);function _e(m){return m<=0?()=>le.w:(0,wt.N)((C,v)=>{let b=[];C.subscribe((0,st._)(v,N=>{b.push(N),m<b.length&&b.shift()},()=>{for(const N of b)v.next(N);v.complete()},void 0,()=>{b=null}))})}var ue=M(980),ve=M(6977),ne=M(1230);const Z="primary",ke=Symbol("RouteTitle");class ot{params;constructor(C){this.params=C||{}}has(C){return Object.prototype.hasOwnProperty.call(this.params,C)}get(C){if(this.has(C)){const v=this.params[C];return Array.isArray(v)?v[0]:v}return null}getAll(C){if(this.has(C)){const v=this.params[C];return Array.isArray(v)?v:[v]}return[]}get keys(){return Object.keys(this.params)}}function an(m){return new ot(m)}function Dt(m,C,v){const b=v.path.split("/");if(b.length>m.length||"full"===v.pathMatch&&(C.hasChildren()||b.length<m.length))return null;const N={};for(let Y=0;Y<b.length;Y++){const W=b[Y],Ce=m[Y];if(":"===W[0])N[W.substring(1)]=Ce;else if(W!==Ce.path)return null}return{consumed:m.slice(0,b.length),posParams:N}}function At(m,C){const v=m?xe(m):void 0,b=C?xe(C):void 0;if(!v||!b||v.length!=b.length)return!1;let N;for(let Y=0;Y<v.length;Y++)if(N=v[Y],!dt(m[N],C[N]))return!1;return!0}function xe(m){return[...Object.keys(m),...Object.getOwnPropertySymbols(m)]}function dt(m,C){if(Array.isArray(m)&&Array.isArray(C)){if(m.length!==C.length)return!1;const v=[...m].sort(),b=[...C].sort();return v.every((N,Y)=>b[Y]===N)}return m===C}function oe(m){return m.length>0?m[m.length-1]:null}function Se(m){return(0,s.A)(m)?m:(0,z.jNT)(m)?(0,X.H)(Promise.resolve(m)):(0,u.of)(m)}const rt={exact:function Xe(m,C,v){if(!tr(m.segments,C.segments)||!tt(m.segments,C.segments,v)||m.numberOfChildren!==C.numberOfChildren)return!1;for(const b in C.children)if(!m.children[b]||!Xe(m.children[b],C.children[b],v))return!1;return!0},subset:Ve},ut={exact:function qn(m,C){return At(m,C)},subset:function Ct(m,C){return Object.keys(C).length<=Object.keys(m).length&&Object.keys(C).every(v=>dt(m[v],C[v]))},ignored:()=>!0};function kt(m,C,v){return rt[v.paths](m.root,C.root,v.matrixParams)&&ut[v.queryParams](m.queryParams,C.queryParams)&&!("exact"===v.fragment&&m.fragment!==C.fragment)}function Ve(m,C,v){return ct(m,C,C.segments,v)}function ct(m,C,v,b){if(m.segments.length>v.length){const N=m.segments.slice(0,v.length);return!(!tr(N,v)||C.hasChildren()||!tt(N,v,b))}if(m.segments.length===v.length){if(!tr(m.segments,v)||!tt(m.segments,v,b))return!1;for(const N in C.children)if(!m.children[N]||!Ve(m.children[N],C.children[N],b))return!1;return!0}{const N=v.slice(0,m.segments.length),Y=v.slice(m.segments.length);return!!(tr(m.segments,N)&&tt(m.segments,N,b)&&m.children[Z])&&ct(m.children[Z],C,Y,b)}}function tt(m,C,v){return C.every((b,N)=>ut[v](m[N].parameters,b.parameters))}class Kt{root;queryParams;fragment;_queryParamMap;constructor(C=new jt([],{}),v={},b=null){this.root=C,this.queryParams=v,this.fragment=b}get queryParamMap(){return this._queryParamMap??=an(this.queryParams),this._queryParamMap}toString(){return Rr.serialize(this)}}class jt{segments;children;parent=null;constructor(C,v){this.segments=C,this.children=v,Object.values(v).forEach(b=>b.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return jn(this)}}class Rn{path;parameters;_parameterMap;constructor(C,v){this.path=C,this.parameters=v}get parameterMap(){return this._parameterMap??=an(this.parameters),this._parameterMap}toString(){return ki(this)}}function tr(m,C){return m.length===C.length&&m.every((v,b)=>v.path===C[b].path)}let vt=(()=>{class m{static \u0275fac=function(b){return new(b||m)};static \u0275prov=z.jDH({token:m,factory:()=>new ar,providedIn:"root"})}return m})();class ar{parse(C){const v=new Ti(C);return new Kt(v.parseRootSegment(),v.parseQueryParams(),v.parseFragment())}serialize(C){const v=`/${Pr(C.root,!0)}`,b=function Fr(m){const C=Object.entries(m).map(([v,b])=>Array.isArray(b)?b.map(N=>`${Ni(v)}=${Ni(N)}`).join("&"):`${Ni(v)}=${Ni(b)}`).filter(v=>v);return C.length?`?${C.join("&")}`:""}(C.queryParams);return`${v}${b}${"string"==typeof C.fragment?`#${function bi(m){return encodeURI(m)}(C.fragment)}`:""}`}}const Rr=new ar;function jn(m){return m.segments.map(C=>ki(C)).join("/")}function Pr(m,C){if(!m.hasChildren())return jn(m);if(C){const v=m.children[Z]?Pr(m.children[Z],!1):"",b=[];return Object.entries(m.children).forEach(([N,Y])=>{N!==Z&&b.push(`${N}:${Pr(Y,!1)}`)}),b.length>0?`${v}(${b.join("//")})`:v}{const v=function yr(m,C){let v=[];return Object.entries(m.children).forEach(([b,N])=>{b===Z&&(v=v.concat(C(N,b)))}),Object.entries(m.children).forEach(([b,N])=>{b!==Z&&(v=v.concat(C(N,b)))}),v}(m,(b,N)=>N===Z?[Pr(m.children[Z],!1)]:[`${N}:${Pr(b,!1)}`]);return 1===Object.keys(m.children).length&&null!=m.children[Z]?`${jn(m)}/${v[0]}`:`${jn(m)}/(${v.join("//")})`}}function Nt(m){return encodeURIComponent(m).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ni(m){return Nt(m).replace(/%3B/gi,";")}function Hi(m){return Nt(m).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function oi(m){return decodeURIComponent(m)}function si(m){return oi(m.replace(/\+/g,"%20"))}function ki(m){return`${Hi(m.path)}${function Mo(m){return Object.entries(m).map(([C,v])=>`;${Hi(C)}=${Hi(v)}`).join("")}(m.parameters)}`}const Er=/^[^\/()?;#]+/;function ai(m){const C=m.match(Er);return C?C[0]:""}const uo=/^[^\/()?;=#]+/,to=/^[^=?&#]+/,Dr=/^[^&#]+/;class Ti{url;remaining;constructor(C){this.url=C,this.remaining=C}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new jt([],{}):new jt([],this.parseChildren())}parseQueryParams(){const C={};if(this.consumeOptional("?"))do{this.parseQueryParam(C)}while(this.consumeOptional("&"));return C}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const C=[];for(this.peekStartsWith("(")||C.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),C.push(this.parseSegment());let v={};this.peekStartsWith("/(")&&(this.capture("/"),v=this.parseParens(!0));let b={};return this.peekStartsWith("(")&&(b=this.parseParens(!1)),(C.length>0||Object.keys(v).length>0)&&(b[Z]=new jt(C,v)),b}parseSegment(){const C=ai(this.remaining);if(""===C&&this.peekStartsWith(";"))throw new z.wOt(4009,!1);return this.capture(C),new Rn(oi(C),this.parseMatrixParams())}parseMatrixParams(){const C={};for(;this.consumeOptional(";");)this.parseParam(C);return C}parseParam(C){const v=function fo(m){const C=m.match(uo);return C?C[0]:""}(this.remaining);if(!v)return;this.capture(v);let b="";if(this.consumeOptional("=")){const N=ai(this.remaining);N&&(b=N,this.capture(b))}C[oi(v)]=oi(b)}parseQueryParam(C){const v=function Lr(m){const C=m.match(to);return C?C[0]:""}(this.remaining);if(!v)return;this.capture(v);let b="";if(this.consumeOptional("=")){const W=function Hr(m){const C=m.match(Dr);return C?C[0]:""}(this.remaining);W&&(b=W,this.capture(b))}const N=si(v),Y=si(b);if(C.hasOwnProperty(N)){let W=C[N];Array.isArray(W)||(W=[W],C[N]=W),W.push(Y)}else C[N]=Y}parseParens(C){const v={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const b=ai(this.remaining),N=this.remaining[b.length];if("/"!==N&&")"!==N&&";"!==N)throw new z.wOt(4010,!1);let Y;b.indexOf(":")>-1?(Y=b.slice(0,b.indexOf(":")),this.capture(Y),this.capture(":")):C&&(Y=Z);const W=this.parseChildren();v[Y]=1===Object.keys(W).length?W[Z]:new jt([],W),this.consumeOptional("//")}return v}peekStartsWith(C){return this.remaining.startsWith(C)}consumeOptional(C){return!!this.peekStartsWith(C)&&(this.remaining=this.remaining.substring(C.length),!0)}capture(C){if(!this.consumeOptional(C))throw new z.wOt(4011,!1)}}function ho(m){return m.segments.length>0?new jt([],{[Z]:m}):m}function zi(m){const C={};for(const[b,N]of Object.entries(m.children)){const Y=zi(N);if(b===Z&&0===Y.segments.length&&Y.hasChildren())for(const[W,Ce]of Object.entries(Y.children))C[W]=Ce;else(Y.segments.length>0||Y.hasChildren())&&(C[b]=Y)}return function po(m){if(1===m.numberOfChildren&&m.children[Z]){const C=m.children[Z];return new jt(m.segments.concat(C.segments),C.children)}return m}(new jt(m.segments,C))}function Wi(m){return m instanceof Kt}function Yo(m){let C;const N=ho(function v(Y){const W={};for(const qe of Y.children){const bt=v(qe);W[qe.outlet]=bt}const Ce=new jt(Y.url,W);return Y===m&&(C=Ce),Ce}(m.root));return C??N}function xi(m,C,v,b){let N=m;for(;N.parent;)N=N.parent;if(0===C.length)return Jr(N,N,N,v,b);const Y=function fe(m){if("string"==typeof m[0]&&1===m.length&&"/"===m[0])return new K(!0,0,m);let C=0,v=!1;const b=m.reduce((N,Y,W)=>{if("object"==typeof Y&&null!=Y){if(Y.outlets){const Ce={};return Object.entries(Y.outlets).forEach(([qe,bt])=>{Ce[qe]="string"==typeof bt?bt.split("/"):bt}),[...N,{outlets:Ce}]}if(Y.segmentPath)return[...N,Y.segmentPath]}return"string"!=typeof Y?[...N,Y]:0===W?(Y.split("/").forEach((Ce,qe)=>{0==qe&&"."===Ce||(0==qe&&""===Ce?v=!0:".."===Ce?C++:""!=Ce&&N.push(Ce))}),N):[...N,Y]},[]);return new K(v,C,b)}(C);if(Y.toRoot())return Jr(N,N,new jt([],{}),v,b);const W=function Ke(m,C,v){if(m.isAbsolute)return new de(C,!0,0);if(!v)return new de(C,!1,NaN);if(null===v.parent)return new de(v,!0,0);const b=_i(m.commands[0])?0:1;return function ht(m,C,v){let b=m,N=C,Y=v;for(;Y>N;){if(Y-=N,b=b.parent,!b)throw new z.wOt(4005,!1);N=b.segments.length}return new de(b,!1,N-Y)}(v,v.segments.length-1+b,m.numberOfDoubleDots)}(Y,N,m),Ce=W.processChildren?sn(W.segmentGroup,W.index,Y.commands):It(W.segmentGroup,W.index,Y.commands);return Jr(N,W.segmentGroup,Ce,v,b)}function _i(m){return"object"==typeof m&&null!=m&&!m.outlets&&!m.segmentPath}function Vr(m){return"object"==typeof m&&null!=m&&m.outlets}function Jr(m,C,v,b,N){let W,Y={};b&&Object.entries(b).forEach(([qe,bt])=>{Y[qe]=Array.isArray(bt)?bt.map(Sn=>`${Sn}`):`${bt}`}),W=m===C?v:go(m,C,v);const Ce=ho(zi(W));return new Kt(Ce,Y,N)}function go(m,C,v){const b={};return Object.entries(m.children).forEach(([N,Y])=>{b[N]=Y===C?v:go(Y,C,v)}),new jt(m.segments,b)}class K{isAbsolute;numberOfDoubleDots;commands;constructor(C,v,b){if(this.isAbsolute=C,this.numberOfDoubleDots=v,this.commands=b,C&&b.length>0&&_i(b[0]))throw new z.wOt(4003,!1);const N=b.find(Vr);if(N&&N!==oe(b))throw new z.wOt(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class de{segmentGroup;processChildren;index;constructor(C,v,b){this.segmentGroup=C,this.processChildren=v,this.index=b}}function It(m,C,v){if(m??=new jt([],{}),0===m.segments.length&&m.hasChildren())return sn(m,C,v);const b=function Qt(m,C,v){let b=0,N=C;const Y={match:!1,pathIndex:0,commandIndex:0};for(;N<m.segments.length;){if(b>=v.length)return Y;const W=m.segments[N],Ce=v[b];if(Vr(Ce))break;const qe=`${Ce}`,bt=b<v.length-1?v[b+1]:null;if(N>0&&void 0===qe)break;if(qe&&bt&&"object"==typeof bt&&void 0===bt.outlets){if(!gr(qe,bt,W))return Y;b+=2}else{if(!gr(qe,{},W))return Y;b++}N++}return{match:!0,pathIndex:N,commandIndex:b}}(m,C,v),N=v.slice(b.commandIndex);if(b.match&&b.pathIndex<m.segments.length){const Y=new jt(m.segments.slice(0,b.pathIndex),{});return Y.children[Z]=new jt(m.segments.slice(b.pathIndex),m.children),sn(Y,0,N)}return b.match&&0===N.length?new jt(m.segments,{}):b.match&&!m.hasChildren()?Yn(m,C,v):b.match?sn(m,0,N):Yn(m,C,v)}function sn(m,C,v){if(0===v.length)return new jt(m.segments,{});{const b=function Ye(m){return Vr(m[0])?m[0].outlets:{[Z]:m}}(v),N={};if(Object.keys(b).some(Y=>Y!==Z)&&m.children[Z]&&1===m.numberOfChildren&&0===m.children[Z].segments.length){const Y=sn(m.children[Z],C,v);return new jt(m.segments,Y.children)}return Object.entries(b).forEach(([Y,W])=>{"string"==typeof W&&(W=[W]),null!==W&&(N[Y]=It(m.children[Y],C,W))}),Object.entries(m.children).forEach(([Y,W])=>{void 0===b[Y]&&(N[Y]=W)}),new jt(m.segments,N)}}function Yn(m,C,v){const b=m.segments.slice(0,C);let N=0;for(;N<v.length;){const Y=v[N];if(Vr(Y)){const qe=Cr(Y.outlets);return new jt(b,qe)}if(0===N&&_i(v[0])){b.push(new Rn(m.segments[C].path,lr(v[0]))),N++;continue}const W=Vr(Y)?Y.outlets[Z]:`${Y}`,Ce=N<v.length-1?v[N+1]:null;W&&Ce&&_i(Ce)?(b.push(new Rn(W,lr(Ce))),N+=2):(b.push(new Rn(W,{})),N++)}return new jt(b,{})}function Cr(m){const C={};return Object.entries(m).forEach(([v,b])=>{"string"==typeof b&&(b=[b]),null!==b&&(C[v]=Yn(new jt([],{}),0,b))}),C}function lr(m){const C={};return Object.entries(m).forEach(([v,b])=>C[v]=`${b}`),C}function gr(m,C,v){return m==v.path&&At(C,v.parameters)}const On="imperative";var Wt=function(m){return m[m.NavigationStart=0]="NavigationStart",m[m.NavigationEnd=1]="NavigationEnd",m[m.NavigationCancel=2]="NavigationCancel",m[m.NavigationError=3]="NavigationError",m[m.RoutesRecognized=4]="RoutesRecognized",m[m.ResolveStart=5]="ResolveStart",m[m.ResolveEnd=6]="ResolveEnd",m[m.GuardsCheckStart=7]="GuardsCheckStart",m[m.GuardsCheckEnd=8]="GuardsCheckEnd",m[m.RouteConfigLoadStart=9]="RouteConfigLoadStart",m[m.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",m[m.ChildActivationStart=11]="ChildActivationStart",m[m.ChildActivationEnd=12]="ChildActivationEnd",m[m.ActivationStart=13]="ActivationStart",m[m.ActivationEnd=14]="ActivationEnd",m[m.Scroll=15]="Scroll",m[m.NavigationSkipped=16]="NavigationSkipped",m}(Wt||{});class gn{id;url;constructor(C,v){this.id=C,this.url=v}}class Nn extends gn{type=Wt.NavigationStart;navigationTrigger;restoredState;constructor(C,v,b="imperative",N=null){super(C,v),this.navigationTrigger=b,this.restoredState=N}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Bn extends gn{urlAfterRedirects;type=Wt.NavigationEnd;constructor(C,v,b){super(C,v),this.urlAfterRedirects=b}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Un=function(m){return m[m.Redirect=0]="Redirect",m[m.SupersededByNewNavigation=1]="SupersededByNewNavigation",m[m.NoDataFromResolver=2]="NoDataFromResolver",m[m.GuardRejected=3]="GuardRejected",m}(Un||{}),$n=function(m){return m[m.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",m[m.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",m}($n||{});class Or extends gn{reason;code;type=Wt.NavigationCancel;constructor(C,v,b,N){super(C,v),this.reason=b,this.code=N}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class li extends gn{reason;code;type=Wt.NavigationSkipped;constructor(C,v,b,N){super(C,v),this.reason=b,this.code=N}}class zr extends gn{error;target;type=Wt.NavigationError;constructor(C,v,b,N){super(C,v),this.error=b,this.target=N}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class di extends gn{urlAfterRedirects;state;type=Wt.RoutesRecognized;constructor(C,v,b,N){super(C,v),this.urlAfterRedirects=b,this.state=N}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class nr extends gn{urlAfterRedirects;state;type=Wt.GuardsCheckStart;constructor(C,v,b,N){super(C,v),this.urlAfterRedirects=b,this.state=N}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Lo extends gn{urlAfterRedirects;state;shouldActivate;type=Wt.GuardsCheckEnd;constructor(C,v,b,N,Y){super(C,v),this.urlAfterRedirects=b,this.state=N,this.shouldActivate=Y}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class jo extends gn{urlAfterRedirects;state;type=Wt.ResolveStart;constructor(C,v,b,N){super(C,v),this.urlAfterRedirects=b,this.state=N}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Bo extends gn{urlAfterRedirects;state;type=Wt.ResolveEnd;constructor(C,v,b,N){super(C,v),this.urlAfterRedirects=b,this.state=N}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ei{route;type=Wt.RouteConfigLoadStart;constructor(C){this.route=C}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Gi{route;type=Wt.RouteConfigLoadEnd;constructor(C){this.route=C}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Gr{snapshot;type=Wt.ChildActivationStart;constructor(C){this.snapshot=C}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fi{snapshot;type=Wt.ChildActivationEnd;constructor(C){this.snapshot=C}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ao{snapshot;type=Wt.ActivationStart;constructor(C){this.snapshot=C}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Si{snapshot;type=Wt.ActivationEnd;constructor(C){this.snapshot=C}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wr{routerEvent;position;anchor;type=Wt.Scroll;constructor(C,v,b){this.routerEvent=C,this.position=v,this.anchor=b}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class A{}class te{url;navigationBehaviorOptions;constructor(C,v){this.url=C,this.navigationBehaviorOptions=v}}function F(m){switch(m.type){case Wt.ActivationEnd:return`ActivationEnd(path: '${m.snapshot.routeConfig?.path||""}')`;case Wt.ActivationStart:return`ActivationStart(path: '${m.snapshot.routeConfig?.path||""}')`;case Wt.ChildActivationEnd:return`ChildActivationEnd(path: '${m.snapshot.routeConfig?.path||""}')`;case Wt.ChildActivationStart:return`ChildActivationStart(path: '${m.snapshot.routeConfig?.path||""}')`;case Wt.GuardsCheckEnd:return`GuardsCheckEnd(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}', state: ${m.state}, shouldActivate: ${m.shouldActivate})`;case Wt.GuardsCheckStart:return`GuardsCheckStart(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}', state: ${m.state})`;case Wt.NavigationCancel:return`NavigationCancel(id: ${m.id}, url: '${m.url}')`;case Wt.NavigationSkipped:return`NavigationSkipped(id: ${m.id}, url: '${m.url}')`;case Wt.NavigationEnd:return`NavigationEnd(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}')`;case Wt.NavigationError:return`NavigationError(id: ${m.id}, url: '${m.url}', error: ${m.error})`;case Wt.NavigationStart:return`NavigationStart(id: ${m.id}, url: '${m.url}')`;case Wt.ResolveEnd:return`ResolveEnd(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}', state: ${m.state})`;case Wt.ResolveStart:return`ResolveStart(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}', state: ${m.state})`;case Wt.RouteConfigLoadEnd:return`RouteConfigLoadEnd(path: ${m.route.path})`;case Wt.RouteConfigLoadStart:return`RouteConfigLoadStart(path: ${m.route.path})`;case Wt.RoutesRecognized:return`RoutesRecognized(id: ${m.id}, url: '${m.url}', urlAfterRedirects: '${m.urlAfterRedirects}', state: ${m.state})`;case Wt.Scroll:return`Scroll(anchor: '${m.anchor}', position: '${m.position?`${m.position[0]}, ${m.position[1]}`:null}')`}}function Cn(m){return m.outlet||Z}function Mn(m){if(!m)return null;if(m.routeConfig?._injector)return m.routeConfig._injector;for(let C=m.parent;C;C=C.parent){const v=C.routeConfig;if(v?._loadedInjector)return v._loadedInjector;if(v?._injector)return v._injector}return null}class dn{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Mn(this.route?.snapshot)??this.rootInjector}constructor(C){this.rootInjector=C,this.children=new mr(this.rootInjector)}}let mr=(()=>{class m{rootInjector;contexts=new Map;constructor(v){this.rootInjector=v}onChildOutletCreated(v,b){const N=this.getOrCreateContext(v);N.outlet=b,this.contexts.set(v,N)}onChildOutletDestroyed(v){const b=this.getContext(v);b&&(b.outlet=null,b.attachRef=null)}onOutletDeactivated(){const v=this.contexts;return this.contexts=new Map,v}onOutletReAttached(v){this.contexts=v}getOrCreateContext(v){let b=this.getContext(v);return b||(b=new dn(this.rootInjector),this.contexts.set(v,b)),b}getContext(v){return this.contexts.get(v)||null}static \u0275fac=function(b){return new(b||m)(z.KVO(z.uvJ))};static \u0275prov=z.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})();class zn{_root;constructor(C){this._root=C}get root(){return this._root.value}parent(C){const v=this.pathFromRoot(C);return v.length>1?v[v.length-2]:null}children(C){const v=rr(C,this._root);return v?v.children.map(b=>b.value):[]}firstChild(C){const v=rr(C,this._root);return v&&v.children.length>0?v.children[0].value:null}siblings(C){const v=Kr(C,this._root);return v.length<2?[]:v[v.length-2].children.map(N=>N.value).filter(N=>N!==C)}pathFromRoot(C){return Kr(C,this._root).map(v=>v.value)}}function rr(m,C){if(m===C.value)return C;for(const v of C.children){const b=rr(m,v);if(b)return b}return null}function Kr(m,C){if(m===C.value)return[C];for(const v of C.children){const b=Kr(m,v);if(b.length)return b.unshift(C),b}return[]}class ir{value;children;constructor(C,v){this.value=C,this.children=v}toString(){return`TreeNode(${this.value})`}}function Gn(m){const C={};return m&&m.children.forEach(v=>C[v.value.outlet]=v),C}class G extends zn{snapshot;constructor(C,v){super(C),this.snapshot=v,Xt(this,C)}toString(){return this.snapshot.toString()}}function Te(m){const C=function ae(m){const Y=new Mt([],{},{},"",{},Z,m,null,{});return new Vt("",new ir(Y,[]))}(m),v=new y.t([new Rn("",{})]),b=new y.t({}),N=new y.t({}),Y=new y.t({}),W=new y.t(""),Ce=new Ie(v,b,Y,W,N,Z,m,C.root);return Ce.snapshot=C.root,new G(new ir(Ce,[]),C)}class Ie{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(C,v,b,N,Y,W,Ce,qe){this.urlSubject=C,this.paramsSubject=v,this.queryParamsSubject=b,this.fragmentSubject=N,this.dataSubject=Y,this.outlet=W,this.component=Ce,this._futureSnapshot=qe,this.title=this.dataSubject?.pipe((0,he.T)(bt=>bt[ke]))??(0,u.of)(void 0),this.url=C,this.params=v,this.queryParams=b,this.fragment=N,this.data=Y}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe((0,he.T)(C=>an(C))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,he.T)(C=>an(C))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function lt(m,C,v="emptyOnly"){let b;const{routeConfig:N}=m;return b=null===C||"always"!==v&&""!==N?.path&&(C.component||C.routeConfig?.loadComponent)?{params:{...m.params},data:{...m.data},resolve:{...m.data,...m._resolvedData??{}}}:{params:{...C.params,...m.params},data:{...C.data,...m.data},resolve:{...m.data,...C.data,...N?.data,...m._resolvedData}},N&&mo(N)&&(b.resolve[ke]=N.title),b}class Mt{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[ke]}constructor(C,v,b,N,Y,W,Ce,qe,bt){this.url=C,this.params=v,this.queryParams=b,this.fragment=N,this.data=Y,this.outlet=W,this.component=Ce,this.routeConfig=qe,this._resolve=bt}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??=an(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=an(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(b=>b.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Vt extends zn{url;constructor(C,v){super(v),this.url=C,Xt(this,v)}toString(){return hi(this._root)}}function Xt(m,C){C.value._routerState=m,C.children.forEach(v=>Xt(m,v))}function hi(m){const C=m.children.length>0?` { ${m.children.map(hi).join(", ")} } `:"";return`${m.value}${C}`}function dr(m){if(m.snapshot){const C=m.snapshot,v=m._futureSnapshot;m.snapshot=v,At(C.queryParams,v.queryParams)||m.queryParamsSubject.next(v.queryParams),C.fragment!==v.fragment&&m.fragmentSubject.next(v.fragment),At(C.params,v.params)||m.paramsSubject.next(v.params),function pn(m,C){if(m.length!==C.length)return!1;for(let v=0;v<m.length;++v)if(!At(m[v],C[v]))return!1;return!0}(C.url,v.url)||m.urlSubject.next(v.url),At(C.data,v.data)||m.dataSubject.next(v.data)}else m.snapshot=m._futureSnapshot,m.dataSubject.next(m._futureSnapshot.data)}function Ro(m,C){const v=At(m.params,C.params)&&function er(m,C){return tr(m,C)&&m.every((v,b)=>At(v.parameters,C[b].parameters))}(m.url,C.url);return v&&!(!m.parent!=!C.parent)&&(!m.parent||Ro(m.parent,C.parent))}function mo(m){return"string"==typeof m.title||null===m.title}const Pi=new z.nKC("");let pi=(()=>{class m{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Z;activateEvents=new z.bkB;deactivateEvents=new z.bkB;attachEvents=new z.bkB;detachEvents=new z.bkB;routerOutletData=(0,z.hFB)(void 0);parentContexts=(0,z.WQX)(mr);location=(0,z.WQX)(z.c1b);changeDetector=(0,z.WQX)(z.gRc);inputBinder=(0,z.WQX)(Ki,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(v){if(v.name){const{firstChange:b,previousValue:N}=v.name;if(b)return;this.isTrackedInParentContexts(N)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(N)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(v){return this.parentContexts.getContext(v)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const v=this.parentContexts.getContext(this.name);v?.route&&(v.attachRef?this.attach(v.attachRef,v.route):this.activateWith(v.route,v.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new z.wOt(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new z.wOt(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new z.wOt(4012,!1);this.location.detach();const v=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(v.instance),v}attach(v,b){this.activated=v,this._activatedRoute=b,this.location.insert(v.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(v.instance)}deactivate(){if(this.activated){const v=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(v)}}activateWith(v,b){if(this.isActivated)throw new z.wOt(4013,!1);this._activatedRoute=v;const N=this.location,W=v.snapshot.component,Ce=this.parentContexts.getOrCreateContext(this.name).children,qe=new qt(v,Ce,N.injector,this.routerOutletData);this.activated=N.createComponent(W,{index:N.length,injector:qe,environmentInjector:b}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(b){return new(b||m)};static \u0275dir=z.FsC({type:m,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[z.OA$]})}return m})();class qt{route;childContexts;parent;outletData;constructor(C,v,b,N){this.route=C,this.childContexts=v,this.parent=b,this.outletData=N}get(C,v){return C===Ie?this.route:C===mr?this.childContexts:C===Pi?this.outletData:this.parent.get(C,v)}}const Ki=new z.nKC("");let jr=(()=>{class m{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(v){this.unsubscribeFromRouteData(v),this.subscribeToRouteData(v)}unsubscribeFromRouteData(v){this.outletDataSubscriptions.get(v)?.unsubscribe(),this.outletDataSubscriptions.delete(v)}subscribeToRouteData(v){const{activatedRoute:b}=v,N=(0,j.z)([b.queryParams,b.params,b.data]).pipe((0,it.n)(([Y,W,Ce],qe)=>(Ce={...Y,...W,...Ce},0===qe?(0,u.of)(Ce):Promise.resolve(Ce)))).subscribe(Y=>{if(!v.isActivated||!v.activatedComponentRef||v.activatedRoute!==b||null===b.component)return void this.unsubscribeFromRouteData(v);const W=(0,z.HJs)(b.component);if(W)for(const{templateName:Ce}of W.inputs)v.activatedComponentRef.setInput(Ce,Y[Ce]);else this.unsubscribeFromRouteData(v)});this.outletDataSubscriptions.set(v,N)}static \u0275fac=function(b){return new(b||m)};static \u0275prov=z.jDH({token:m,factory:m.\u0275fac})}return m})();function h(m,C,v){if(v&&m.shouldReuseRoute(C.value,v.value.snapshot)){const b=v.value;b._futureSnapshot=C.value;const N=function E(m,C,v){return C.children.map(b=>{for(const N of v.children)if(m.shouldReuseRoute(b.value,N.value.snapshot))return h(m,b,N);return h(m,b)})}(m,C,v);return new ir(b,N)}{if(m.shouldAttach(C.value)){const Y=m.retrieve(C.value);if(null!==Y){const W=Y.route;return W.value._futureSnapshot=C.value,W.children=C.children.map(Ce=>h(m,Ce)),W}}const b=function T(m){return new Ie(new y.t(m.url),new y.t(m.params),new y.t(m.queryParams),new y.t(m.fragment),new y.t(m.data),m.outlet,m.component,m)}(C.value),N=C.children.map(Y=>h(m,Y));return new ir(b,N)}}class O{redirectTo;navigationBehaviorOptions;constructor(C,v){this.redirectTo=C,this.navigationBehaviorOptions=v}}const k="ngNavigationCancelingError";function U(m,C){const{redirectTo:v,navigationBehaviorOptions:b}=Wi(C)?{redirectTo:C,navigationBehaviorOptions:void 0}:C,N=ce(!1,Un.Redirect);return N.url=v,N.navigationBehaviorOptions=b,N}function ce(m,C){const v=new Error(`NavigationCancelingError: ${m||""}`);return v[k]=!0,v.cancellationCode=C,v}function Ee(m){return!!m&&m[k]}class pe{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(C,v,b,N,Y){this.routeReuseStrategy=C,this.futureState=v,this.currState=b,this.forwardEvent=N,this.inputBindingEnabled=Y}activate(C){const v=this.futureState._root,b=this.currState?this.currState._root:null;this.deactivateChildRoutes(v,b,C),dr(this.futureState.root),this.activateChildRoutes(v,b,C)}deactivateChildRoutes(C,v,b){const N=Gn(v);C.children.forEach(Y=>{const W=Y.value.outlet;this.deactivateRoutes(Y,N[W],b),delete N[W]}),Object.values(N).forEach(Y=>{this.deactivateRouteAndItsChildren(Y,b)})}deactivateRoutes(C,v,b){const N=C.value,Y=v?v.value:null;if(N===Y)if(N.component){const W=b.getContext(N.outlet);W&&this.deactivateChildRoutes(C,v,W.children)}else this.deactivateChildRoutes(C,v,b);else Y&&this.deactivateRouteAndItsChildren(v,b)}deactivateRouteAndItsChildren(C,v){C.value.component&&this.routeReuseStrategy.shouldDetach(C.value.snapshot)?this.detachAndStoreRouteSubtree(C,v):this.deactivateRouteAndOutlet(C,v)}detachAndStoreRouteSubtree(C,v){const b=v.getContext(C.value.outlet),N=b&&C.value.component?b.children:v,Y=Gn(C);for(const W of Object.values(Y))this.deactivateRouteAndItsChildren(W,N);if(b&&b.outlet){const W=b.outlet.detach(),Ce=b.children.onOutletDeactivated();this.routeReuseStrategy.store(C.value.snapshot,{componentRef:W,route:C,contexts:Ce})}}deactivateRouteAndOutlet(C,v){const b=v.getContext(C.value.outlet),N=b&&C.value.component?b.children:v,Y=Gn(C);for(const W of Object.values(Y))this.deactivateRouteAndItsChildren(W,N);b&&(b.outlet&&(b.outlet.deactivate(),b.children.onOutletDeactivated()),b.attachRef=null,b.route=null)}activateChildRoutes(C,v,b){const N=Gn(v);C.children.forEach(Y=>{this.activateRoutes(Y,N[Y.value.outlet],b),this.forwardEvent(new Si(Y.value.snapshot))}),C.children.length&&this.forwardEvent(new fi(C.value.snapshot))}activateRoutes(C,v,b){const N=C.value,Y=v?v.value:null;if(dr(N),N===Y)if(N.component){const W=b.getOrCreateContext(N.outlet);this.activateChildRoutes(C,v,W.children)}else this.activateChildRoutes(C,v,b);else if(N.component){const W=b.getOrCreateContext(N.outlet);if(this.routeReuseStrategy.shouldAttach(N.snapshot)){const Ce=this.routeReuseStrategy.retrieve(N.snapshot);this.routeReuseStrategy.store(N.snapshot,null),W.children.onOutletReAttached(Ce.contexts),W.attachRef=Ce.componentRef,W.route=Ce.route.value,W.outlet&&W.outlet.attach(Ce.componentRef,Ce.route.value),dr(Ce.route.value),this.activateChildRoutes(C,null,W.children)}else W.attachRef=null,W.route=N,W.outlet&&W.outlet.activateWith(N,W.injector),this.activateChildRoutes(C,null,W.children)}else this.activateChildRoutes(C,null,b)}}class pt{path;route;constructor(C){this.path=C,this.route=this.path[this.path.length-1]}}class en{component;route;constructor(C,v){this.component=C,this.route=v}}function An(m,C,v){const b=m._root;return Zt(b,C?C._root:null,v,[b.value])}function Ir(m,C){const v=Symbol(),b=C.get(m,v);return b===v?"function"!=typeof m||(0,z.LfX)(m)?C.get(m):m:b}function Zt(m,C,v,b,N={canDeactivateChecks:[],canActivateChecks:[]}){const Y=Gn(C);return m.children.forEach(W=>{(function no(m,C,v,b,N={canDeactivateChecks:[],canActivateChecks:[]}){const Y=m.value,W=C?C.value:null,Ce=v?v.getContext(m.value.outlet):null;if(W&&Y.routeConfig===W.routeConfig){const qe=function gi(m,C,v){if("function"==typeof v)return v(m,C);switch(v){case"pathParamsChange":return!tr(m.url,C.url);case"pathParamsOrQueryParamsChange":return!tr(m.url,C.url)||!At(m.queryParams,C.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Ro(m,C)||!At(m.queryParams,C.queryParams);default:return!Ro(m,C)}}(W,Y,Y.routeConfig.runGuardsAndResolvers);qe?N.canActivateChecks.push(new pt(b)):(Y.data=W.data,Y._resolvedData=W._resolvedData),Zt(m,C,Y.component?Ce?Ce.children:null:v,b,N),qe&&Ce&&Ce.outlet&&Ce.outlet.isActivated&&N.canDeactivateChecks.push(new en(Ce.outlet.component,W))}else W&&cn(C,Ce,N),N.canActivateChecks.push(new pt(b)),Zt(m,null,Y.component?Ce?Ce.children:null:v,b,N)})(W,Y[W.value.outlet],v,b.concat([W.value]),N),delete Y[W.value.outlet]}),Object.entries(Y).forEach(([W,Ce])=>cn(Ce,v.getContext(W),N)),N}function cn(m,C,v){const b=Gn(m),N=m.value;Object.entries(b).forEach(([Y,W])=>{cn(W,N.component?C?C.children.getContext(Y):null:C,v)}),v.canDeactivateChecks.push(new en(N.component&&C&&C.outlet&&C.outlet.isActivated?C.outlet.component:null,N))}function Fi(m){return"function"==typeof m}function Ii(m){return m instanceof L.G||"EmptyError"===m?.name}const Lt=Symbol("INITIAL_VALUE");function Qr(){return(0,it.n)(m=>(0,j.z)(m.map(C=>C.pipe((0,D.s)(1),(0,$e.Z)(Lt)))).pipe((0,he.T)(C=>{for(const v of C)if(!0!==v){if(v===Lt)return Lt;if(!1===v||ci(v))return v}return!0}),(0,We.p)(C=>C!==Lt),(0,D.s)(1)))}function ci(m){return Wi(m)||m instanceof O}function Xi(m){return(0,De.F)((0,ln.M)(C=>{if("boolean"!=typeof C)throw U(0,C)}),(0,he.T)(C=>!0===C))}class Oo{segmentGroup;constructor(C){this.segmentGroup=C||null}}class Ho extends Error{urlTree;constructor(C){super(),this.urlTree=C}}function vi(m){return(0,Pe.$)(new Oo(m))}class cs{urlSerializer;urlTree;constructor(C,v){this.urlSerializer=C,this.urlTree=v}lineralizeSegments(C,v){let b=[],N=v.root;for(;;){if(b=b.concat(N.segments),0===N.numberOfChildren)return(0,u.of)(b);if(N.numberOfChildren>1||!N.children[Z])return(0,Pe.$)(new z.wOt(4e3,!1));N=N.children[Z]}}applyRedirectCommands(C,v,b,N,Y){if("string"!=typeof v){const Ce=v,{queryParams:qe,fragment:bt,routeConfig:Sn,url:Mr,outlet:Bi,params:Zi,data:ti,title:Eo}=N,Di=(0,z.N4e)(Y,()=>Ce({params:Zi,data:ti,queryParams:qe,fragment:bt,routeConfig:Sn,url:Mr,outlet:Bi,title:Eo}));if(Di instanceof Kt)throw new Ho(Di);v=Di}const W=this.applyRedirectCreateUrlTree(v,this.urlSerializer.parse(v),C,b);if("/"===v[0])throw new Ho(W);return W}applyRedirectCreateUrlTree(C,v,b,N){const Y=this.createSegmentGroup(C,v.root,b,N);return new Kt(Y,this.createQueryParams(v.queryParams,this.urlTree.queryParams),v.fragment)}createQueryParams(C,v){const b={};return Object.entries(C).forEach(([N,Y])=>{if("string"==typeof Y&&":"===Y[0]){const Ce=Y.substring(1);b[N]=v[Ce]}else b[N]=Y}),b}createSegmentGroup(C,v,b,N){const Y=this.createSegments(C,v.segments,b,N);let W={};return Object.entries(v.children).forEach(([Ce,qe])=>{W[Ce]=this.createSegmentGroup(C,qe,b,N)}),new jt(Y,W)}createSegments(C,v,b,N){return v.map(Y=>":"===Y.path[0]?this.findPosParam(C,Y,N):this.findOrReturn(Y,b))}findPosParam(C,v,b){const N=b[v.path.substring(1)];if(!N)throw new z.wOt(4001,!1);return N}findOrReturn(C,v){let b=0;for(const N of v){if(N.path===C.path)return v.splice(b),N;b++}return C}}const Jt={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function un(m,C,v,b,N){const Y=zo(m,C,v);return Y.matched?(b=function H(m,C){return m.providers&&!m._injector&&(m._injector=(0,z.Ol2)(m.providers,C,`Route: ${m.path}`)),m._injector??C}(C,b),function Vo(m,C,v,b){const N=C.canMatch;if(!N||0===N.length)return(0,u.of)(!0);const Y=N.map(W=>{const Ce=Ir(W,m);return Se(function $o(m){return m&&Fi(m.canMatch)}(Ce)?Ce.canMatch(C,v):(0,z.N4e)(m,()=>Ce(C,v)))});return(0,u.of)(Y).pipe(Qr(),Xi())}(b,C,v).pipe((0,he.T)(W=>!0===W?Y:{...Jt}))):(0,u.of)(Y)}function zo(m,C,v){if("**"===C.path)return function No(m){return{matched:!0,parameters:m.length>0?oe(m).parameters:{},consumedSegments:m,remainingSegments:[],positionalParamSegments:{}}}(v);if(""===C.path)return"full"===C.pathMatch&&(m.hasChildren()||v.length>0)?{...Jt}:{matched:!0,consumedSegments:[],remainingSegments:v,parameters:{},positionalParamSegments:{}};const N=(C.matcher||Dt)(v,m,C);if(!N)return{...Jt};const Y={};Object.entries(N.posParams??{}).forEach(([Ce,qe])=>{Y[Ce]=qe.path});const W=N.consumed.length>0?{...Y,...N.consumed[N.consumed.length-1].parameters}:Y;return{matched:!0,consumedSegments:N.consumed,remainingSegments:v.slice(N.consumed.length),parameters:W,positionalParamSegments:N.posParams??{}}}function Zo(m,C,v,b){return v.length>0&&function ko(m,C,v){return v.some(b=>vo(m,C,b)&&Cn(b)!==Z)}(m,v,b)?{segmentGroup:new jt(C,Ds(b,new jt(v,m.children))),slicedSegments:[]}:0===v.length&&function _n(m,C,v){return v.some(b=>vo(m,C,b))}(m,v,b)?{segmentGroup:new jt(m.segments,Es(m,v,b,m.children)),slicedSegments:v}:{segmentGroup:new jt(m.segments,m.children),slicedSegments:v}}function Es(m,C,v,b){const N={};for(const Y of v)if(vo(m,C,Y)&&!b[Cn(Y)]){const W=new jt([],{});N[Cn(Y)]=W}return{...b,...N}}function Ds(m,C){const v={};v[Z]=C;for(const b of m)if(""===b.path&&Cn(b)!==Z){const N=new jt([],{});v[Cn(b)]=N}return v}function vo(m,C,v){return(!(m.hasChildren()||C.length>0)||"full"!==v.pathMatch)&&""===v.path}class Q{}class Fe{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(C,v,b,N,Y,W,Ce){this.injector=C,this.configLoader=v,this.rootComponentType=b,this.config=N,this.urlTree=Y,this.paramsInheritanceStrategy=W,this.urlSerializer=Ce,this.applyRedirects=new cs(this.urlSerializer,this.urlTree)}noMatchError(C){return new z.wOt(4002,`'${C.segmentGroup}'`)}recognize(){const C=Zo(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(C).pipe((0,he.T)(({children:v,rootSnapshot:b})=>{const N=new ir(b,v),Y=new Vt("",N),W=function qo(m,C,v=null,b=null){return xi(Yo(m),C,v,b)}(b,[],this.urlTree.queryParams,this.urlTree.fragment);return W.queryParams=this.urlTree.queryParams,Y.url=this.urlSerializer.serialize(W),{state:Y,tree:W}}))}match(C){const v=new Mt([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Object.freeze({}),Z,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,C,Z,v).pipe((0,he.T)(b=>({children:b,rootSnapshot:v})),(0,or.W)(b=>{if(b instanceof Ho)return this.urlTree=b.urlTree,this.match(b.urlTree.root);throw b instanceof Oo?this.noMatchError(b):b}))}processSegmentGroup(C,v,b,N,Y){return 0===b.segments.length&&b.hasChildren()?this.processChildren(C,v,b,Y):this.processSegment(C,v,b,b.segments,N,!0,Y).pipe((0,he.T)(W=>W instanceof ir?[W]:[]))}processChildren(C,v,b,N){const Y=[];for(const W of Object.keys(b.children))"primary"===W?Y.unshift(W):Y.push(W);return(0,X.H)(Y).pipe((0,Ln.H)(W=>{const Ce=b.children[W],qe=function yn(m,C){const v=m.filter(b=>Cn(b)===C);return v.push(...m.filter(b=>Cn(b)!==C)),v}(v,W);return this.processSegmentGroup(C,qe,Ce,W,N)}),function vr(m,C){return(0,wt.N)(function sr(m,C,v,b,N){return(Y,W)=>{let Ce=v,qe=C,bt=0;Y.subscribe((0,st._)(W,Sn=>{const Mr=bt++;qe=Ce?m(qe,Sn,Mr):(Ce=!0,Sn),b&&W.next(qe)},N&&(()=>{Ce&&W.next(qe),W.complete()})))}}(m,C,arguments.length>=2,!0))}((W,Ce)=>(W.push(...Ce),W)),nn(null),function Me(m,C){const v=arguments.length>=2;return b=>b.pipe(m?(0,We.p)((N,Y)=>m(N,Y,b)):In.D,_e(1),v?nn(C):Kn(()=>new L.G))}(),(0,$t.Z)(W=>{if(null===W)return vi(b);const Ce=Rt(W);return function Ue(m){m.sort((C,v)=>C.value.outlet===Z?-1:v.value.outlet===Z?1:C.value.outlet.localeCompare(v.value.outlet))}(Ce),(0,u.of)(Ce)}))}processSegment(C,v,b,N,Y,W,Ce){return(0,X.H)(v).pipe((0,Ln.H)(qe=>this.processSegmentAgainstRoute(qe._injector??C,v,qe,b,N,Y,W,Ce).pipe((0,or.W)(bt=>{if(bt instanceof Oo)return(0,u.of)(null);throw bt}))),Hn(qe=>!!qe),(0,or.W)(qe=>{if(Ii(qe))return function Wo(m,C,v){return 0===C.length&&!m.children[v]}(b,N,Y)?(0,u.of)(new Q):vi(b);throw qe}))}processSegmentAgainstRoute(C,v,b,N,Y,W,Ce,qe){return Cn(b)===W||W!==Z&&vo(N,Y,b)?void 0===b.redirectTo?this.matchSegmentAgainstRoute(C,N,b,Y,W,qe):this.allowRedirects&&Ce?this.expandSegmentAgainstRouteUsingRedirect(C,N,v,b,Y,W,qe):vi(N):vi(N)}expandSegmentAgainstRouteUsingRedirect(C,v,b,N,Y,W,Ce){const{matched:qe,parameters:bt,consumedSegments:Sn,positionalParamSegments:Mr,remainingSegments:Bi}=zo(v,N,Y);if(!qe)return vi(v);"string"==typeof N.redirectTo&&"/"===N.redirectTo[0]&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const Zi=new Mt(Y,bt,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ot(N),Cn(N),N.component??N._loadedComponent??null,N,wn(N)),ti=lt(Zi,Ce,this.paramsInheritanceStrategy);Zi.params=Object.freeze(ti.params),Zi.data=Object.freeze(ti.data);const Eo=this.applyRedirects.applyRedirectCommands(Sn,N.redirectTo,Mr,Zi,C);return this.applyRedirects.lineralizeSegments(N,Eo).pipe((0,$t.Z)(Di=>this.processSegment(C,b,v,Di.concat(Bi),W,!1,Ce)))}matchSegmentAgainstRoute(C,v,b,N,Y,W){const Ce=un(v,b,N,C);return"**"===b.path&&(v.children={}),Ce.pipe((0,it.n)(qe=>qe.matched?this.getChildConfig(C=b._injector??C,b,N).pipe((0,it.n)(({routes:bt})=>{const Sn=b._loadedInjector??C,{parameters:Mr,consumedSegments:Bi,remainingSegments:Zi}=qe,ti=new Mt(Bi,Mr,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ot(b),Cn(b),b.component??b._loadedComponent??null,b,wn(b)),Eo=lt(ti,W,this.paramsInheritanceStrategy);ti.params=Object.freeze(Eo.params),ti.data=Object.freeze(Eo.data);const{segmentGroup:Di,slicedSegments:ua}=Zo(v,Bi,Zi,bt);if(0===ua.length&&Di.hasChildren())return this.processChildren(Sn,bt,Di,ti).pipe((0,he.T)(Jo=>new ir(ti,Jo)));if(0===bt.length&&0===ua.length)return(0,u.of)(new ir(ti,[]));const da=Cn(b)===Y;return this.processSegment(Sn,bt,Di,ua,da?Z:Y,!0,ti).pipe((0,he.T)(Jo=>new ir(ti,Jo instanceof ir?[Jo]:[])))})):vi(v)))}getChildConfig(C,v,b){return v.children?(0,u.of)({routes:v.children,injector:C}):v.loadChildren?void 0!==v._loadedRoutes?(0,u.of)({routes:v._loadedRoutes,injector:v._loadedInjector}):function Qi(m,C,v,b){const N=C.canLoad;if(void 0===N||0===N.length)return(0,u.of)(!0);const Y=N.map(W=>{const Ce=Ir(W,m);return Se(function fr(m){return m&&Fi(m.canLoad)}(Ce)?Ce.canLoad(C,v):(0,z.N4e)(m,()=>Ce(C,v)))});return(0,u.of)(Y).pipe(Qr(),Xi())}(C,v,b).pipe((0,$t.Z)(N=>N?this.configLoader.loadChildren(C,v).pipe((0,ln.M)(Y=>{v._loadedRoutes=Y.routes,v._loadedInjector=Y.injector})):function Ai(){return(0,Pe.$)(ce(!1,Un.GuardRejected))}())):(0,u.of)({routes:[],injector:C})}}function Et(m){const C=m.value.routeConfig;return C&&""===C.path}function Rt(m){const C=[],v=new Set;for(const b of m){if(!Et(b)){C.push(b);continue}const N=C.find(Y=>b.value.routeConfig===Y.value.routeConfig);void 0!==N?(N.children.push(...b.children),v.add(N)):C.push(b)}for(const b of v){const N=Rt(b.children);C.push(new ir(b.value,N))}return C.filter(b=>!v.has(b))}function Ot(m){return m.data||{}}function wn(m){return m.resolve||{}}function bn(m){const C=m.children.map(v=>bn(v)).flat();return[m,...C]}function wr(m){return(0,it.n)(C=>{const v=m(C);return v?(0,X.H)(v).pipe((0,he.T)(()=>C)):(0,u.of)(C)})}let Xr=(()=>{class m{buildTitle(v){let b,N=v.root;for(;void 0!==N;)b=this.getResolvedTitleForRoute(N)??b,N=N.children.find(Y=>Y.outlet===Z);return b}getResolvedTitleForRoute(v){return v.data[ke]}static \u0275fac=function(b){return new(b||m)};static \u0275prov=z.jDH({token:m,factory:()=>(0,z.WQX)(yi),providedIn:"root"})}return m})(),yi=(()=>{class m extends Xr{title;constructor(v){super(),this.title=v}updateTitle(v){const b=this.buildTitle(v);void 0!==b&&this.title.setTitle(b)}static \u0275fac=function(b){return new(b||m)(z.KVO(ne.hE))};static \u0275prov=z.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})();const yo=new z.nKC("",{providedIn:"root",factory:()=>({})});let Br=(()=>{class m{static \u0275fac=function(b){return new(b||m)};static \u0275cmp=z.VBU({type:m,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(b,N){1&b&&z.nrm(0,"router-outlet")},dependencies:[pi],encapsulation:2})}return m})();function Us(m){const C=m.children&&m.children.map(Us),v=C?{...m,children:C}:{...m};return!v.component&&!v.loadComponent&&(C||v.loadChildren)&&v.outlet&&v.outlet!==Z&&(v.component=Br),v}const $s=new z.nKC("");let Cs=(()=>{class m{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=(0,z.WQX)(z.Ql9);loadComponent(v){if(this.componentLoaders.get(v))return this.componentLoaders.get(v);if(v._loadedComponent)return(0,u.of)(v._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(v);const b=Se(v.loadComponent()).pipe((0,he.T)(Fa),(0,ln.M)(Y=>{this.onLoadEndListener&&this.onLoadEndListener(v),v._loadedComponent=Y}),(0,ue.j)(()=>{this.componentLoaders.delete(v)})),N=new ze(b,()=>new Qe.B).pipe(nt());return this.componentLoaders.set(v,N),N}loadChildren(v,b){if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,u.of)({routes:b._loadedRoutes,injector:b._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(b);const Y=function xl(m,C,v,b){return Se(m.loadChildren()).pipe((0,he.T)(Fa),(0,$t.Z)(N=>N instanceof z.Co$||Array.isArray(N)?(0,u.of)(N):(0,X.H)(C.compileModuleAsync(N))),(0,he.T)(N=>{b&&b(m);let Y,W,Ce=!1;return Array.isArray(N)?(W=N,!0):(Y=N.create(v).injector,W=Y.get($s,[],{optional:!0,self:!0}).flat()),{routes:W.map(Us),injector:Y}}))}(b,this.compiler,v,this.onLoadEndListener).pipe((0,ue.j)(()=>{this.childrenLoaders.delete(b)})),W=new ze(Y,()=>new Qe.B).pipe(nt());return this.childrenLoaders.set(b,W),W}static \u0275fac=function(b){return new(b||m)};static \u0275prov=z.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})();function Fa(m){return function Vs(m){return m&&"object"==typeof m&&"default"in m}(m)?m.default:m}let xo=(()=>{class m{static \u0275fac=function(b){return new(b||m)};static \u0275prov=z.jDH({token:m,factory:()=>(0,z.WQX)(Pl),providedIn:"root"})}return m})(),Pl=(()=>{class m{shouldProcessUrl(v){return!0}extract(v){return v}merge(v,b){return v}static \u0275fac=function(b){return new(b||m)};static \u0275prov=z.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})();const Ei=new z.nKC(""),Go=new z.nKC("");function La(m,C,v){const b=m.get(Go),N=m.get(I.D);return m.get(z.SKi).runOutsideAngular(()=>{if(!N.startViewTransition||b.skipNextTransition)return b.skipNextTransition=!1,new Promise(bt=>setTimeout(bt));let Y;const W=new Promise(bt=>{Y=bt}),Ce=N.startViewTransition(()=>(Y(),function Hs(m){return new Promise(C=>{(0,z.mal)({read:()=>setTimeout(C)},{injector:m})})}(m))),{onViewTransitionCreated:qe}=b;return qe&&(0,z.N4e)(m,()=>qe({transition:Ce,from:C,to:v})),W})}const zs=new z.nKC("");let sa=(()=>{class m{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new Qe.B;transitionAbortSubject=new Qe.B;configLoader=(0,z.WQX)(Cs);environmentInjector=(0,z.WQX)(z.uvJ);destroyRef=(0,z.WQX)(z.abz);urlSerializer=(0,z.WQX)(vt);rootContexts=(0,z.WQX)(mr);location=(0,z.WQX)(x.L);inputBindingEnabled=null!==(0,z.WQX)(Ki,{optional:!0});titleStrategy=(0,z.WQX)(Xr);options=(0,z.WQX)(yo,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=(0,z.WQX)(xo);createViewTransition=(0,z.WQX)(Ei,{optional:!0});navigationErrorHandler=(0,z.WQX)(zs,{optional:!0});navigationId=0;get hasRequestedNavigation(){return 0!==this.navigationId}transitions;afterPreactivation=()=>(0,u.of)(void 0);rootComponentType=null;destroyed=!1;constructor(){this.configLoader.onLoadEndListener=N=>this.events.next(new Gi(N)),this.configLoader.onLoadStartListener=N=>this.events.next(new ei(N)),this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(v){const b=++this.navigationId;this.transitions?.next({...v,extractedUrl:this.urlHandlingStrategy.extract(v.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:b})}setupNavigations(v){return this.transitions=new y.t(null),this.transitions.pipe((0,We.p)(b=>null!==b),(0,it.n)(b=>{let N=!1,Y=!1;return(0,u.of)(b).pipe((0,it.n)(W=>{if(this.navigationId>b.id)return this.cancelNavigationTransition(b,"",Un.SupersededByNewNavigation),le.w;this.currentTransition=b,this.currentNavigation={id:W.id,initialUrl:W.rawUrl,extractedUrl:W.extractedUrl,targetBrowserUrl:"string"==typeof W.extras.browserUrl?this.urlSerializer.parse(W.extras.browserUrl):W.extras.browserUrl,trigger:W.source,extras:W.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null};const Ce=!v.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Ce&&"reload"!==(W.extras.onSameUrlNavigation??v.onSameUrlNavigation)){const bt="";return this.events.next(new li(W.id,this.urlSerializer.serialize(W.rawUrl),bt,$n.IgnoredSameUrlNavigation)),W.resolve(!1),le.w}if(this.urlHandlingStrategy.shouldProcessUrl(W.rawUrl))return(0,u.of)(W).pipe((0,it.n)(bt=>(this.events.next(new Nn(bt.id,this.urlSerializer.serialize(bt.extractedUrl),bt.source,bt.restoredState)),bt.id!==this.navigationId?le.w:Promise.resolve(bt))),function on(m,C,v,b,N,Y){return(0,$t.Z)(W=>function ge(m,C,v,b,N,Y,W="emptyOnly"){return new Fe(m,C,v,b,N,W,Y).recognize()}(m,C,v,b,W.extractedUrl,N,Y).pipe((0,he.T)(({state:Ce,tree:qe})=>({...W,targetSnapshot:Ce,urlAfterRedirects:qe}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,v.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,ln.M)(bt=>{b.targetSnapshot=bt.targetSnapshot,b.urlAfterRedirects=bt.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:bt.urlAfterRedirects};const Sn=new di(bt.id,this.urlSerializer.serialize(bt.extractedUrl),this.urlSerializer.serialize(bt.urlAfterRedirects),bt.targetSnapshot);this.events.next(Sn)}));if(Ce&&this.urlHandlingStrategy.shouldProcessUrl(W.currentRawUrl)){const{id:bt,extractedUrl:Sn,source:Mr,restoredState:Bi,extras:Zi}=W,ti=new Nn(bt,this.urlSerializer.serialize(Sn),Mr,Bi);this.events.next(ti);const Eo=Te(this.rootComponentType).snapshot;return this.currentTransition=b={...W,targetSnapshot:Eo,urlAfterRedirects:Sn,extras:{...Zi,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=Sn,(0,u.of)(b)}{const bt="";return this.events.next(new li(W.id,this.urlSerializer.serialize(W.extractedUrl),bt,$n.IgnoredByUrlHandlingStrategy)),W.resolve(!1),le.w}}),(0,ln.M)(W=>{const Ce=new nr(W.id,this.urlSerializer.serialize(W.extractedUrl),this.urlSerializer.serialize(W.urlAfterRedirects),W.targetSnapshot);this.events.next(Ce)}),(0,he.T)(W=>(this.currentTransition=b={...W,guards:An(W.targetSnapshot,W.currentSnapshot,this.rootContexts)},b)),function as(m,C){return(0,$t.Z)(v=>{const{targetSnapshot:b,currentSnapshot:N,guards:{canActivateChecks:Y,canDeactivateChecks:W}}=v;return 0===W.length&&0===Y.length?(0,u.of)({...v,guardsResult:!0}):function Mi(m,C,v,b){return(0,X.H)(m).pipe((0,$t.Z)(N=>function ys(m,C,v,b,N){const Y=C&&C.routeConfig?C.routeConfig.canDeactivate:null;if(!Y||0===Y.length)return(0,u.of)(!0);const W=Y.map(Ce=>{const qe=Mn(C)??N,bt=Ir(Ce,qe);return Se(function mi(m){return m&&Fi(m.canDeactivate)}(bt)?bt.canDeactivate(m,C,v,b):(0,z.N4e)(qe,()=>bt(m,C,v,b))).pipe(Hn())});return(0,u.of)(W).pipe(Qr())}(N.component,N.route,v,C,b)),Hn(N=>!0!==N,!0))}(W,b,N,m).pipe((0,$t.Z)(Ce=>Ce&&function Tn(m){return"boolean"==typeof m}(Ce)?function ro(m,C,v,b){return(0,X.H)(C).pipe((0,Ln.H)(N=>(0,B.x)(function xa(m,C){return null!==m&&C&&C(new Gr(m)),(0,u.of)(!0)}(N.route.parent,b),function ls(m,C){return null!==m&&C&&C(new Ao(m)),(0,u.of)(!0)}(N.route,b),function Qn(m,C,v){const b=C[C.length-1],Y=C.slice(0,C.length-1).reverse().map(W=>function En(m){const C=m.routeConfig?m.routeConfig.canActivateChild:null;return C&&0!==C.length?{node:m,guards:C}:null}(W)).filter(W=>null!==W).map(W=>(0,ie.v)(()=>{const Ce=W.guards.map(qe=>{const bt=Mn(W.node)??v,Sn=Ir(qe,bt);return Se(function Uo(m){return m&&Fi(m.canActivateChild)}(Sn)?Sn.canActivateChild(b,m):(0,z.N4e)(bt,()=>Sn(b,m))).pipe(Hn())});return(0,u.of)(Ce).pipe(Qr())}));return(0,u.of)(Y).pipe(Qr())}(m,N.path,v),function Pa(m,C,v){const b=C.routeConfig?C.routeConfig.canActivate:null;if(!b||0===b.length)return(0,u.of)(!0);const N=b.map(Y=>(0,ie.v)(()=>{const W=Mn(C)??v,Ce=Ir(Y,W);return Se(function Li(m){return m&&Fi(m.canActivate)}(Ce)?Ce.canActivate(C,m):(0,z.N4e)(W,()=>Ce(C,m))).pipe(Hn())}));return(0,u.of)(N).pipe(Qr())}(m,N.route,v))),Hn(N=>!0!==N,!0))}(b,Y,m,C):(0,u.of)(Ce)),(0,he.T)(Ce=>({...v,guardsResult:Ce})))})}(this.environmentInjector,W=>this.events.next(W)),(0,ln.M)(W=>{if(b.guardsResult=W.guardsResult,W.guardsResult&&"boolean"!=typeof W.guardsResult)throw U(0,W.guardsResult);const Ce=new Lo(W.id,this.urlSerializer.serialize(W.extractedUrl),this.urlSerializer.serialize(W.urlAfterRedirects),W.targetSnapshot,!!W.guardsResult);this.events.next(Ce)}),(0,We.p)(W=>!!W.guardsResult||(this.cancelNavigationTransition(W,"",Un.GuardRejected),!1)),wr(W=>{if(0!==W.guards.canActivateChecks.length)return(0,u.of)(W).pipe((0,ln.M)(Ce=>{const qe=new jo(Ce.id,this.urlSerializer.serialize(Ce.extractedUrl),this.urlSerializer.serialize(Ce.urlAfterRedirects),Ce.targetSnapshot);this.events.next(qe)}),(0,it.n)(Ce=>{let qe=!1;return(0,u.of)(Ce).pipe(function tn(m,C){return(0,$t.Z)(v=>{const{targetSnapshot:b,guards:{canActivateChecks:N}}=v;if(!N.length)return(0,u.of)(v);const Y=new Set(N.map(qe=>qe.route)),W=new Set;for(const qe of Y)if(!W.has(qe))for(const bt of bn(qe))W.add(bt);let Ce=0;return(0,X.H)(W).pipe((0,Ln.H)(qe=>Y.has(qe)?function xt(m,C,v,b){const N=m.routeConfig,Y=m._resolve;return void 0!==N?.title&&!mo(N)&&(Y[ke]=N.title),function Xn(m,C,v,b){const N=xe(m);if(0===N.length)return(0,u.of)({});const Y={};return(0,X.H)(N).pipe((0,$t.Z)(W=>function St(m,C,v,b){const N=Mn(C)??b,Y=Ir(m,N);return Se(Y.resolve?Y.resolve(C,v):(0,z.N4e)(N,()=>Y(C,v)))}(m[W],C,v,b).pipe(Hn(),(0,ln.M)(Ce=>{if(Ce instanceof O)throw U(new ar,Ce);Y[W]=Ce}))),_e(1),(0,he.T)(()=>Y),(0,or.W)(W=>Ii(W)?le.w:(0,Pe.$)(W)))}(Y,m,C,b).pipe((0,he.T)(W=>(m._resolvedData=W,m.data=lt(m,m.parent,v).resolve,null)))}(qe,b,m,C):(qe.data=lt(qe,qe.parent,m).resolve,(0,u.of)(void 0))),(0,ln.M)(()=>Ce++),_e(1),(0,$t.Z)(qe=>Ce===W.size?(0,u.of)(v):le.w))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,ln.M)({next:()=>qe=!0,complete:()=>{qe||this.cancelNavigationTransition(Ce,"",Un.NoDataFromResolver)}}))}),(0,ln.M)(Ce=>{const qe=new Bo(Ce.id,this.urlSerializer.serialize(Ce.extractedUrl),this.urlSerializer.serialize(Ce.urlAfterRedirects),Ce.targetSnapshot);this.events.next(qe)}))}),wr(W=>{const Ce=qe=>{const bt=[];qe.routeConfig?.loadComponent&&!qe.routeConfig._loadedComponent&&bt.push(this.configLoader.loadComponent(qe.routeConfig).pipe((0,ln.M)(Sn=>{qe.component=Sn}),(0,he.T)(()=>{})));for(const Sn of qe.children)bt.push(...Ce(Sn));return bt};return(0,j.z)(Ce(W.targetSnapshot.root)).pipe(nn(null),(0,D.s)(1))}),wr(()=>this.afterPreactivation()),(0,it.n)(()=>{const{currentSnapshot:W,targetSnapshot:Ce}=b,qe=this.createViewTransition?.(this.environmentInjector,W.root,Ce.root);return qe?(0,X.H)(qe).pipe((0,he.T)(()=>b)):(0,u.of)(b)}),(0,he.T)(W=>{const Ce=function l(m,C,v){const b=h(m,C._root,v?v._root:void 0);return new G(b,C)}(v.routeReuseStrategy,W.targetSnapshot,W.currentRouterState);return this.currentTransition=b={...W,targetRouterState:Ce},this.currentNavigation.targetRouterState=Ce,b}),(0,ln.M)(()=>{this.events.next(new A)}),((m,C,v,b)=>(0,he.T)(N=>(new pe(C,N.targetRouterState,N.currentRouterState,v,b).activate(m),N)))(this.rootContexts,v.routeReuseStrategy,W=>this.events.next(W),this.inputBindingEnabled),(0,D.s)(1),(0,ln.M)({next:W=>{N=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Bn(W.id,this.urlSerializer.serialize(W.extractedUrl),this.urlSerializer.serialize(W.urlAfterRedirects))),this.titleStrategy?.updateTitle(W.targetRouterState.snapshot),W.resolve(!0)},complete:()=>{N=!0}}),(0,ve.Q)(this.transitionAbortSubject.pipe((0,ln.M)(W=>{throw W}))),(0,ue.j)(()=>{!N&&!Y&&this.cancelNavigationTransition(b,"",Un.SupersededByNewNavigation),this.currentTransition?.id===b.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,or.W)(W=>{if(this.destroyed)return b.resolve(!1),le.w;if(Y=!0,Ee(W))this.events.next(new Or(b.id,this.urlSerializer.serialize(b.extractedUrl),W.message,W.cancellationCode)),function re(m){return Ee(m)&&Wi(m.url)}(W)?this.events.next(new te(W.url,W.navigationBehaviorOptions)):b.resolve(!1);else{const Ce=new zr(b.id,this.urlSerializer.serialize(b.extractedUrl),W,b.targetSnapshot??void 0);try{const qe=(0,z.N4e)(this.environmentInjector,()=>this.navigationErrorHandler?.(Ce));if(!(qe instanceof O))throw this.events.next(Ce),W;{const{message:bt,cancellationCode:Sn}=U(0,qe);this.events.next(new Or(b.id,this.urlSerializer.serialize(b.extractedUrl),bt,Sn)),this.events.next(new te(qe.redirectTo,qe.navigationBehaviorOptions))}}catch(qe){this.options.resolveNavigationPromiseOnError?b.resolve(!1):b.reject(qe)}}return le.w}))}))}cancelNavigationTransition(v,b,N){const Y=new Or(v.id,this.urlSerializer.serialize(v.extractedUrl),b,N);this.events.next(Y),v.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){const v=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),b=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return v.toString()!==b?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(b){return new(b||m)};static \u0275prov=z.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})();function Fl(m){return m!==On}let qi=(()=>{class m{static \u0275fac=function(b){return new(b||m)};static \u0275prov=z.jDH({token:m,factory:()=>(0,z.WQX)(ws),providedIn:"root"})}return m})();class aa{shouldDetach(C){return!1}store(C,v){}shouldAttach(C){return!1}retrieve(C){return null}shouldReuseRoute(C,v){return C.routeConfig===v.routeConfig}}let ws=(()=>{class m extends aa{static \u0275fac=(()=>{let v;return function(N){return(v||(v=z.xGo(m)))(N||m)}})();static \u0275prov=z.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})(),ja=(()=>{class m{urlSerializer=(0,z.WQX)(vt);options=(0,z.WQX)(yo,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=(0,z.WQX)(x.L);urlHandlingStrategy=(0,z.WQX)(xo);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Kt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:v,initialUrl:b,targetBrowserUrl:N}){const Y=void 0!==v?this.urlHandlingStrategy.merge(v,b):b,W=N??Y;return W instanceof Kt?this.urlSerializer.serialize(W):W}commitTransition({targetRouterState:v,finalUrl:b,initialUrl:N}){b&&v?(this.currentUrlTree=b,this.rawUrlTree=this.urlHandlingStrategy.merge(b,N),this.routerState=v):this.rawUrlTree=N}routerState=Te(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:v}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,v??this.rawUrlTree)}static \u0275fac=function(b){return new(b||m)};static \u0275prov=z.jDH({token:m,factory:()=>(0,z.WQX)(io),providedIn:"root"})}return m})(),io=(()=>{class m extends ja{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(v){return this.location.subscribe(b=>{"popstate"===b.type&&setTimeout(()=>{v(b.url,b.state,"popstate")})})}handleRouterEvent(v,b){v instanceof Nn?this.updateStateMemento():v instanceof li?this.commitTransition(b):v instanceof di?"eager"===this.urlUpdateStrategy&&(b.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(b),b)):v instanceof A?(this.commitTransition(b),"deferred"===this.urlUpdateStrategy&&!b.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(b),b)):v instanceof Or&&(v.code===Un.GuardRejected||v.code===Un.NoDataFromResolver)?this.restoreHistory(b):v instanceof zr?this.restoreHistory(b,!0):v instanceof Bn&&(this.lastSuccessfulId=v.id,this.currentPageId=this.browserPageId)}setBrowserUrl(v,{extras:b,id:N}){const{replaceUrl:Y,state:W}=b;if(this.location.isCurrentPathEqualTo(v)||Y){const Ce=this.browserPageId,qe={...W,...this.generateNgRouterState(N,Ce)};this.location.replaceState(v,"",qe)}else{const Ce={...W,...this.generateNgRouterState(N,this.browserPageId+1)};this.location.go(v,"",Ce)}}restoreHistory(v,b=!1){if("computed"===this.canceledNavigationResolution){const Y=this.currentPageId-this.browserPageId;0!==Y?this.location.historyGo(Y):this.getCurrentUrlTree()===v.finalUrl&&0===Y&&(this.resetInternalState(v),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(b&&this.resetInternalState(v),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(v,b){return"computed"===this.canceledNavigationResolution?{navigationId:v,\u0275routerPageId:b}:{navigationId:v}}static \u0275fac=(()=>{let v;return function(N){return(v||(v=z.xGo(m)))(N||m)}})();static \u0275prov=z.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})();function Wn(m,C){m.events.pipe((0,We.p)(v=>v instanceof Bn||v instanceof Or||v instanceof zr||v instanceof li),(0,he.T)(v=>v instanceof Bn||v instanceof li?0:v instanceof Or&&(v.code===Un.Redirect||v.code===Un.SupersededByNewNavigation)?2:1),(0,We.p)(v=>2!==v),(0,D.s)(1)).subscribe(()=>{C()})}const Yi={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ba={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let la=(()=>{class m{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=(0,z.WQX)(z.H3F);stateManager=(0,z.WQX)(ja);options=(0,z.WQX)(yo,{optional:!0})||{};pendingTasks=(0,z.WQX)(z.Ua0);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=(0,z.WQX)(sa);urlSerializer=(0,z.WQX)(vt);location=(0,z.WQX)(x.L);urlHandlingStrategy=(0,z.WQX)(xo);_events=new Qe.B;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=(0,z.WQX)(qi);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=(0,z.WQX)($s,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!(0,z.WQX)(Ki,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:v=>{this.console.warn(v)}}),this.subscribeToNavigationEvents()}eventsSubscription=new at.yU;subscribeToNavigationEvents(){const v=this.navigationTransitions.events.subscribe(b=>{try{const N=this.navigationTransitions.currentTransition,Y=this.navigationTransitions.currentNavigation;if(null!==N&&null!==Y)if(this.stateManager.handleRouterEvent(b,Y),b instanceof Or&&b.code!==Un.Redirect&&b.code!==Un.SupersededByNewNavigation)this.navigated=!0;else if(b instanceof Bn)this.navigated=!0;else if(b instanceof te){const W=b.navigationBehaviorOptions,Ce=this.urlHandlingStrategy.merge(b.url,N.currentRawUrl),qe={browserUrl:N.extras.browserUrl,info:N.extras.info,skipLocationChange:N.extras.skipLocationChange,replaceUrl:N.extras.replaceUrl||"eager"===this.urlUpdateStrategy||Fl(N.source),...W};this.scheduleNavigation(Ce,On,null,qe,{resolve:N.resolve,reject:N.reject,promise:N.promise})}(function Zn(m){return!(m instanceof A||m instanceof te)})(b)&&this._events.next(b)}catch(N){this.navigationTransitions.transitionAbortSubject.next(N)}});this.eventsSubscription.add(v)}resetRootComponentType(v){this.routerState.root.component=v,this.navigationTransitions.rootComponentType=v}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),On,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((v,b,N)=>{this.navigateToSyncWithBrowser(v,N,b)})}navigateToSyncWithBrowser(v,b,N){const Y={replaceUrl:!0},W=N?.navigationId?N:null;if(N){const qe={...N};delete qe.navigationId,delete qe.\u0275routerPageId,0!==Object.keys(qe).length&&(Y.state=qe)}const Ce=this.parseUrl(v);this.scheduleNavigation(Ce,b,W,Y)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(v){this.config=v.map(Us),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(v,b={}){const{relativeTo:N,queryParams:Y,fragment:W,queryParamsHandling:Ce,preserveFragment:qe}=b,bt=qe?this.currentUrlTree.fragment:W;let Mr,Sn=null;switch(Ce??this.options.defaultQueryParamsHandling){case"merge":Sn={...this.currentUrlTree.queryParams,...Y};break;case"preserve":Sn=this.currentUrlTree.queryParams;break;default:Sn=Y||null}null!==Sn&&(Sn=this.removeEmptyProps(Sn));try{Mr=Yo(N?N.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof v[0]||"/"!==v[0][0])&&(v=[]),Mr=this.currentUrlTree.root}return xi(Mr,v,Sn,bt??null)}navigateByUrl(v,b={skipLocationChange:!1}){const N=Wi(v)?v:this.parseUrl(v),Y=this.urlHandlingStrategy.merge(N,this.rawUrlTree);return this.scheduleNavigation(Y,On,null,b)}navigate(v,b={skipLocationChange:!1}){return function ca(m){for(let C=0;C<m.length;C++)if(null==m[C])throw new z.wOt(4008,!1)}(v),this.navigateByUrl(this.createUrlTree(v,b),b)}serializeUrl(v){return this.urlSerializer.serialize(v)}parseUrl(v){try{return this.urlSerializer.parse(v)}catch{return this.urlSerializer.parse("/")}}isActive(v,b){let N;if(N=!0===b?{...Yi}:!1===b?{...Ba}:b,Wi(v))return kt(this.currentUrlTree,v,N);const Y=this.parseUrl(v);return kt(this.currentUrlTree,Y,N)}removeEmptyProps(v){return Object.entries(v).reduce((b,[N,Y])=>(null!=Y&&(b[N]=Y),b),{})}scheduleNavigation(v,b,N,Y,W){if(this.disposed)return Promise.resolve(!1);let Ce,qe,bt;W?(Ce=W.resolve,qe=W.reject,bt=W.promise):bt=new Promise((Mr,Bi)=>{Ce=Mr,qe=Bi});const Sn=this.pendingTasks.add();return Wn(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Sn))}),this.navigationTransitions.handleNavigationRequest({source:b,restoredState:N,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:v,extras:Y,resolve:Ce,reject:qe,promise:bt,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),bt.catch(Mr=>Promise.reject(Mr))}static \u0275fac=function(b){return new(b||m)};static \u0275prov=z.jDH({token:m,factory:m.\u0275fac,providedIn:"root"})}return m})()},274:(_t,Ne,M)=>{"use strict";M.d(Ne,{H:()=>z});var I=M(1397),x=M(8071);function z(s,X){return(0,x.T)(X)?(0,I.Z)(s,X,1):(0,I.Z)(s,1)}},460:(_t,Ne,M)=>{"use strict";M.d(Ne,{D:()=>x});const x=new(M(8457).nKC)("")},467:(_t,Ne,M)=>{"use strict";function I(z,s,X,u,y,j,L){try{var B=z[j](L),ie=B.value}catch(De){return void X(De)}B.done?s(ie):Promise.resolve(ie).then(u,y)}function x(z){return function(){var s=this,X=arguments;return new Promise(function(u,y){var j=z.apply(s,X);function L(ie){I(j,u,y,L,B,"next",ie)}function B(ie){I(j,u,y,L,B,"throw",ie)}L(void 0)})}}M.d(Ne,{A:()=>x})},591:(_t,Ne,M)=>{"use strict";function I(x){return new TypeError(`You provided ${null!==x&&"object"==typeof x?"an invalid object":`'${x}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}M.d(Ne,{L:()=>I})},980:(_t,Ne,M)=>{"use strict";M.d(Ne,{j:()=>x});var I=M(9974);function x(z){return(0,I.N)((s,X)=>{try{s.subscribe(X)}finally{X.add(z)}})}},983:(_t,Ne,M)=>{"use strict";M.d(Ne,{w:()=>x});const x=new(M(1985).c)(X=>X.complete())},1026:(_t,Ne,M)=>{"use strict";M.d(Ne,{$:()=>I});const I={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},1203:(_t,Ne,M)=>{"use strict";M.d(Ne,{F:()=>x,m:()=>z});var I=M(3669);function x(...s){return z(s)}function z(s){return 0===s.length?I.D:1===s.length?s[0]:function(u){return s.reduce((y,j)=>j(y),u)}}},1230:(_t,Ne,M)=>{"use strict";M.d(Ne,{up:()=>an,hE:()=>In,$x:()=>kt,gT:()=>Se});var I=M(460),x=M(8457),z=M(8041),s=M(7673),X=M(8141);const B=new x.nKC(""),ie="b",De="h",Pe="s",le="st",Oe="u",at="rt",wt=new x.nKC(""),st=["GET","HEAD"];function nt(Xe,Ct){const{isCacheActive:Ve,...ct}=(0,x.WQX)(wt),{transferCache:tt,method:Kt}=Xe;if(!Ve||!1===tt||"POST"===Kt&&!ct.includePostRequests&&!tt||"POST"!==Kt&&!st.includes(Kt)||!ct.includeRequestsWithAuthHeaders&&function ze(Xe){return Xe.headers.has("authorization")||Xe.headers.has("proxy-authorization")}(Xe)||!1===ct.filter?.(Xe))return Ct(Xe);const jt=(0,x.WQX)(x.pJN);if((0,x.WQX)(B,{optional:!0}))throw new x.wOt(2803,!1);const tr=function it(Xe,Ct){const{params:Ve,method:ct,responseType:tt}=Xe,Kt=he(Ve);let jt=Xe.serializeBody();jt instanceof URLSearchParams?jt=he(jt):"string"!=typeof jt&&(jt="");const er=function D(Xe){let Ct=0;for(const Ve of Xe)Ct=Math.imul(31,Ct)+Ve.charCodeAt(0)|0;return Ct+=2147483648,Ct.toString()}([ct,tt,Ct,jt,Kt].join("|"));return(0,x.zw6)(er)}(Xe,Xe.url),yr=jt.get(tr,null);let vt=ct.includeHeaders;if("object"==typeof tt&&tt.includeHeaders&&(vt=tt.includeHeaders),yr){const{[ie]:ar,[at]:Rr,[De]:jn,[Pe]:Pr,[le]:Nt,[Oe]:Ni}=yr;let bi=ar;switch(Rr){case"arraybuffer":bi=(new TextEncoder).encode(ar).buffer;break;case"blob":bi=new Blob([ar])}let Hi=new z.b(jn);return(0,s.of)(new z.f({body:bi,headers:Hi,status:Pr,statusText:Nt,url:Ni}))}return Ct(Xe).pipe((0,X.M)(ar=>{}))}function he(Xe){return[...Xe.keys()].sort().map(Ct=>`${Ct}=${Xe.getAll(Ct)}`).join("&")}function $e(Xe){return[{provide:wt,useFactory:()=>((0,x.ngT)("NgHttpTransferCache"),{isCacheActive:!0,...Xe})},{provide:z.e,useValue:nt,multi:!0},{provide:x.iLQ,multi:!0,useFactory:()=>{const Ct=(0,x.WQX)(x.o8S),Ve=(0,x.WQX)(wt);return()=>{Ct.whenStable().then(()=>{Ve.isCacheActive=!1})}}}]}let In=(()=>{class Xe{_doc;constructor(Ve){this._doc=Ve}getTitle(){return this._doc.title}setTitle(Ve){this._doc.title=Ve||""}static \u0275fac=function(ct){return new(ct||Xe)(x.KVO(I.D))};static \u0275prov=x.jDH({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})(),an=(()=>{class Xe{static \u0275fac=function(ct){return new(ct||Xe)};static \u0275prov=x.jDH({token:Xe,factory:function(ct){let tt=null;return tt=ct?new(ct||Xe):x.KVO(Dt),tt},providedIn:"root"})}return Xe})(),Dt=(()=>{class Xe extends an{_doc;constructor(Ve){super(),this._doc=Ve}sanitize(Ve,ct){if(null==ct)return null;switch(Ve){case x.WPN.NONE:return ct;case x.WPN.HTML:return(0,x.ZF7)(ct,"HTML")?(0,x.rcV)(ct):(0,x.h9k)(this._doc,String(ct)).toString();case x.WPN.STYLE:return(0,x.ZF7)(ct,"Style")?(0,x.rcV)(ct):ct;case x.WPN.SCRIPT:if((0,x.ZF7)(ct,"Script"))return(0,x.rcV)(ct);throw new x.wOt(5200,!1);case x.WPN.URL:return(0,x.ZF7)(ct,"URL")?(0,x.rcV)(ct):(0,x.$MX)(String(ct));case x.WPN.RESOURCE_URL:if((0,x.ZF7)(ct,"ResourceURL"))return(0,x.rcV)(ct);throw new x.wOt(5201,!1);default:throw new x.wOt(5202,!1)}}bypassSecurityTrustHtml(Ve){return(0,x.Kcf)(Ve)}bypassSecurityTrustStyle(Ve){return(0,x.cWb)(Ve)}bypassSecurityTrustScript(Ve){return(0,x.UyX)(Ve)}bypassSecurityTrustUrl(Ve){return(0,x.osQ)(Ve)}bypassSecurityTrustResourceUrl(Ve){return(0,x.e5t)(Ve)}static \u0275fac=function(ct){return new(ct||Xe)(x.KVO(I.D))};static \u0275prov=x.jDH({token:Xe,factory:Xe.\u0275fac,providedIn:"root"})}return Xe})();var pn=function(Xe){return Xe[Xe.NoHttpTransferCache=0]="NoHttpTransferCache",Xe[Xe.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",Xe[Xe.I18nSupport=2]="I18nSupport",Xe[Xe.EventReplay=3]="EventReplay",Xe[Xe.IncrementalHydration=4]="IncrementalHydration",Xe}(pn||{});function Se(){return function At(Xe,Ct=[],Ve={}){return{\u0275kind:Xe,\u0275providers:Ct}}(pn.EventReplay,(0,x.XA_)())}function kt(...Xe){const Ct=[],Ve=new Set;for(const{\u0275providers:tt,\u0275kind:Kt}of Xe)Ve.add(Kt),tt.length&&Ct.push(tt);const ct=Ve.has(pn.HttpTransferCacheOptions);return(0,x.EmA)([[],(0,x.M8M)(),Ve.has(pn.NoHttpTransferCache)||ct?[]:$e({}),Ct])}},1310:(_t,Ne,M)=>{var I,x,z;!function(){"use strict";x=[M(1653)],I=function(s){var X=window.Slick||{};(X=function(){var u=0;return function y(j,L){var ie,B=this;B.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:s(j),appendDots:s(j),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(De,Pe){return s('<button type="button" />').text(Pe+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},B.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},s.extend(B,B.initials),B.activeBreakpoint=null,B.animType=null,B.animProp=null,B.breakpoints=[],B.breakpointSettings=[],B.cssTransitions=!1,B.focussed=!1,B.interrupted=!1,B.hidden="hidden",B.paused=!0,B.positionProp=null,B.respondTo=null,B.rowCount=1,B.shouldClick=!0,B.$slider=s(j),B.$slidesCache=null,B.transformType=null,B.transitionType=null,B.visibilityChange="visibilitychange",B.windowWidth=0,B.windowTimer=null,ie=s(j).data("slick")||{},B.options=s.extend({},B.defaults,L,ie),B.currentSlide=B.options.initialSlide,B.originalSettings=B.options,typeof document.mozHidden<"u"?(B.hidden="mozHidden",B.visibilityChange="mozvisibilitychange"):typeof document.webkitHidden<"u"&&(B.hidden="webkitHidden",B.visibilityChange="webkitvisibilitychange"),B.autoPlay=s.proxy(B.autoPlay,B),B.autoPlayClear=s.proxy(B.autoPlayClear,B),B.autoPlayIterator=s.proxy(B.autoPlayIterator,B),B.changeSlide=s.proxy(B.changeSlide,B),B.clickHandler=s.proxy(B.clickHandler,B),B.selectHandler=s.proxy(B.selectHandler,B),B.setPosition=s.proxy(B.setPosition,B),B.swipeHandler=s.proxy(B.swipeHandler,B),B.dragHandler=s.proxy(B.dragHandler,B),B.keyHandler=s.proxy(B.keyHandler,B),B.instanceUid=u++,B.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,B.registerBreakpoints(),B.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},X.prototype.addSlide=X.prototype.slickAdd=function(u,y,j){var L=this;if("boolean"==typeof y)j=y,y=null;else if(y<0||y>=L.slideCount)return!1;L.unload(),"number"==typeof y?0===y&&0===L.$slides.length?s(u).appendTo(L.$slideTrack):j?s(u).insertBefore(L.$slides.eq(y)):s(u).insertAfter(L.$slides.eq(y)):!0===j?s(u).prependTo(L.$slideTrack):s(u).appendTo(L.$slideTrack),L.$slides=L.$slideTrack.children(this.options.slide),L.$slideTrack.children(this.options.slide).detach(),L.$slideTrack.append(L.$slides),L.$slides.each(function(B,ie){s(ie).attr("data-slick-index",B)}),L.$slidesCache=L.$slides,L.reinit()},X.prototype.animateHeight=function(){var u=this;if(1===u.options.slidesToShow&&!0===u.options.adaptiveHeight&&!1===u.options.vertical){var y=u.$slides.eq(u.currentSlide).outerHeight(!0);u.$list.animate({height:y},u.options.speed)}},X.prototype.animateSlide=function(u,y){var j={},L=this;L.animateHeight(),!0===L.options.rtl&&!1===L.options.vertical&&(u=-u),!1===L.transformsEnabled?L.$slideTrack.animate(!1===L.options.vertical?{left:u}:{top:u},L.options.speed,L.options.easing,y):!1===L.cssTransitions?(!0===L.options.rtl&&(L.currentLeft=-L.currentLeft),s({animStart:L.currentLeft}).animate({animStart:u},{duration:L.options.speed,easing:L.options.easing,step:function(B){B=Math.ceil(B),!1===L.options.vertical?(j[L.animType]="translate("+B+"px, 0px)",L.$slideTrack.css(j)):(j[L.animType]="translate(0px,"+B+"px)",L.$slideTrack.css(j))},complete:function(){y&&y.call()}})):(L.applyTransition(),u=Math.ceil(u),j[L.animType]=!1===L.options.vertical?"translate3d("+u+"px, 0px, 0px)":"translate3d(0px,"+u+"px, 0px)",L.$slideTrack.css(j),y&&setTimeout(function(){L.disableTransition(),y.call()},L.options.speed))},X.prototype.getNavTarget=function(){var y=this.options.asNavFor;return y&&null!==y&&(y=s(y).not(this.$slider)),y},X.prototype.asNavFor=function(u){var j=this.getNavTarget();null!==j&&"object"==typeof j&&j.each(function(){var L=s(this).slick("getSlick");L.unslicked||L.slideHandler(u,!0)})},X.prototype.applyTransition=function(u){var y=this,j={};j[y.transitionType]=!1===y.options.fade?y.transformType+" "+y.options.speed+"ms "+y.options.cssEase:"opacity "+y.options.speed+"ms "+y.options.cssEase,!1===y.options.fade?y.$slideTrack.css(j):y.$slides.eq(u).css(j)},X.prototype.autoPlay=function(){var u=this;u.autoPlayClear(),u.slideCount>u.options.slidesToShow&&(u.autoPlayTimer=setInterval(u.autoPlayIterator,u.options.autoplaySpeed))},X.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},X.prototype.autoPlayIterator=function(){var u=this,y=u.currentSlide+u.options.slidesToScroll;!u.paused&&!u.interrupted&&!u.focussed&&(!1===u.options.infinite&&(1===u.direction&&u.currentSlide+1===u.slideCount-1?u.direction=0:0===u.direction&&(y=u.currentSlide-u.options.slidesToScroll,u.currentSlide-1==0&&(u.direction=1))),u.slideHandler(y))},X.prototype.buildArrows=function(){var u=this;!0===u.options.arrows&&(u.$prevArrow=s(u.options.prevArrow).addClass("slick-arrow"),u.$nextArrow=s(u.options.nextArrow).addClass("slick-arrow"),u.slideCount>u.options.slidesToShow?(u.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),u.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),u.htmlExpr.test(u.options.prevArrow)&&u.$prevArrow.prependTo(u.options.appendArrows),u.htmlExpr.test(u.options.nextArrow)&&u.$nextArrow.appendTo(u.options.appendArrows),!0!==u.options.infinite&&u.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):u.$prevArrow.add(u.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},X.prototype.buildDots=function(){var y,j,u=this;if(!0===u.options.dots&&u.slideCount>u.options.slidesToShow){for(u.$slider.addClass("slick-dotted"),j=s("<ul />").addClass(u.options.dotsClass),y=0;y<=u.getDotCount();y+=1)j.append(s("<li />").append(u.options.customPaging.call(this,u,y)));u.$dots=j.appendTo(u.options.appendDots),u.$dots.find("li").first().addClass("slick-active")}},X.prototype.buildOut=function(){var u=this;u.$slides=u.$slider.children(u.options.slide+":not(.slick-cloned)").addClass("slick-slide"),u.slideCount=u.$slides.length,u.$slides.each(function(y,j){s(j).attr("data-slick-index",y).data("originalStyling",s(j).attr("style")||"")}),u.$slider.addClass("slick-slider"),u.$slideTrack=0===u.slideCount?s('<div class="slick-track"/>').appendTo(u.$slider):u.$slides.wrapAll('<div class="slick-track"/>').parent(),u.$list=u.$slideTrack.wrap('<div class="slick-list"/>').parent(),u.$slideTrack.css("opacity",0),(!0===u.options.centerMode||!0===u.options.swipeToSlide)&&(u.options.slidesToScroll=1),s("img[data-lazy]",u.$slider).not("[src]").addClass("slick-loading"),u.setupInfinite(),u.buildArrows(),u.buildDots(),u.updateDots(),u.setSlideClasses("number"==typeof u.currentSlide?u.currentSlide:0),!0===u.options.draggable&&u.$list.addClass("draggable")},X.prototype.buildRows=function(){var y,j,L,B,ie,De,Pe,u=this;if(B=document.createDocumentFragment(),De=u.$slider.children(),u.options.rows>0){for(Pe=u.options.slidesPerRow*u.options.rows,ie=Math.ceil(De.length/Pe),y=0;y<ie;y++){var le=document.createElement("div");for(j=0;j<u.options.rows;j++){var Oe=document.createElement("div");for(L=0;L<u.options.slidesPerRow;L++){var at=y*Pe+(j*u.options.slidesPerRow+L);De.get(at)&&Oe.appendChild(De.get(at))}le.appendChild(Oe)}B.appendChild(le)}u.$slider.empty().append(B),u.$slider.children().children().children().css({width:100/u.options.slidesPerRow+"%",display:"inline-block"})}},X.prototype.checkResponsive=function(u,y){var L,B,ie,j=this,De=!1,Pe=j.$slider.width(),le=window.innerWidth||s(window).width();if("window"===j.respondTo?ie=le:"slider"===j.respondTo?ie=Pe:"min"===j.respondTo&&(ie=Math.min(le,Pe)),j.options.responsive&&j.options.responsive.length&&null!==j.options.responsive){for(L in B=null,j.breakpoints)j.breakpoints.hasOwnProperty(L)&&(!1===j.originalSettings.mobileFirst?ie<j.breakpoints[L]&&(B=j.breakpoints[L]):ie>j.breakpoints[L]&&(B=j.breakpoints[L]));null!==B?null!==j.activeBreakpoint?(B!==j.activeBreakpoint||y)&&(j.activeBreakpoint=B,"unslick"===j.breakpointSettings[B]?j.unslick(B):(j.options=s.extend({},j.originalSettings,j.breakpointSettings[B]),!0===u&&(j.currentSlide=j.options.initialSlide),j.refresh(u)),De=B):(j.activeBreakpoint=B,"unslick"===j.breakpointSettings[B]?j.unslick(B):(j.options=s.extend({},j.originalSettings,j.breakpointSettings[B]),!0===u&&(j.currentSlide=j.options.initialSlide),j.refresh(u)),De=B):null!==j.activeBreakpoint&&(j.activeBreakpoint=null,j.options=j.originalSettings,!0===u&&(j.currentSlide=j.options.initialSlide),j.refresh(u),De=B),!u&&!1!==De&&j.$slider.trigger("breakpoint",[j,De])}},X.prototype.changeSlide=function(u,y){var B,ie,j=this,L=s(u.currentTarget);switch(L.is("a")&&u.preventDefault(),L.is("li")||(L=L.closest("li")),B=j.slideCount%j.options.slidesToScroll!=0?0:(j.slideCount-j.currentSlide)%j.options.slidesToScroll,u.data.message){case"previous":ie=0===B?j.options.slidesToScroll:j.options.slidesToShow-B,j.slideCount>j.options.slidesToShow&&j.slideHandler(j.currentSlide-ie,!1,y);break;case"next":ie=0===B?j.options.slidesToScroll:B,j.slideCount>j.options.slidesToShow&&j.slideHandler(j.currentSlide+ie,!1,y);break;case"index":var Pe=0===u.data.index?0:u.data.index||L.index()*j.options.slidesToScroll;j.slideHandler(j.checkNavigable(Pe),!1,y),L.children().trigger("focus");break;default:return}},X.prototype.checkNavigable=function(u){var j,L;if(L=0,u>(j=this.getNavigableIndexes())[j.length-1])u=j[j.length-1];else for(var B in j){if(u<j[B]){u=L;break}L=j[B]}return u},X.prototype.cleanUpEvents=function(){var u=this;u.options.dots&&null!==u.$dots&&(s("li",u.$dots).off("click.slick",u.changeSlide).off("mouseenter.slick",s.proxy(u.interrupt,u,!0)).off("mouseleave.slick",s.proxy(u.interrupt,u,!1)),!0===u.options.accessibility&&u.$dots.off("keydown.slick",u.keyHandler)),u.$slider.off("focus.slick blur.slick"),!0===u.options.arrows&&u.slideCount>u.options.slidesToShow&&(u.$prevArrow&&u.$prevArrow.off("click.slick",u.changeSlide),u.$nextArrow&&u.$nextArrow.off("click.slick",u.changeSlide),!0===u.options.accessibility&&(u.$prevArrow&&u.$prevArrow.off("keydown.slick",u.keyHandler),u.$nextArrow&&u.$nextArrow.off("keydown.slick",u.keyHandler))),u.$list.off("touchstart.slick mousedown.slick",u.swipeHandler),u.$list.off("touchmove.slick mousemove.slick",u.swipeHandler),u.$list.off("touchend.slick mouseup.slick",u.swipeHandler),u.$list.off("touchcancel.slick mouseleave.slick",u.swipeHandler),u.$list.off("click.slick",u.clickHandler),s(document).off(u.visibilityChange,u.visibility),u.cleanUpSlideEvents(),!0===u.options.accessibility&&u.$list.off("keydown.slick",u.keyHandler),!0===u.options.focusOnSelect&&s(u.$slideTrack).children().off("click.slick",u.selectHandler),s(window).off("orientationchange.slick.slick-"+u.instanceUid,u.orientationChange),s(window).off("resize.slick.slick-"+u.instanceUid,u.resize),s("[draggable!=true]",u.$slideTrack).off("dragstart",u.preventDefault),s(window).off("load.slick.slick-"+u.instanceUid,u.setPosition)},X.prototype.cleanUpSlideEvents=function(){var u=this;u.$list.off("mouseenter.slick",s.proxy(u.interrupt,u,!0)),u.$list.off("mouseleave.slick",s.proxy(u.interrupt,u,!1))},X.prototype.cleanUpRows=function(){var y,u=this;u.options.rows>0&&((y=u.$slides.children().children()).removeAttr("style"),u.$slider.empty().append(y))},X.prototype.clickHandler=function(u){!1===this.shouldClick&&(u.stopImmediatePropagation(),u.stopPropagation(),u.preventDefault())},X.prototype.destroy=function(u){var y=this;y.autoPlayClear(),y.touchObject={},y.cleanUpEvents(),s(".slick-cloned",y.$slider).detach(),y.$dots&&y.$dots.remove(),y.$prevArrow&&y.$prevArrow.length&&(y.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),y.htmlExpr.test(y.options.prevArrow)&&y.$prevArrow.remove()),y.$nextArrow&&y.$nextArrow.length&&(y.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),y.htmlExpr.test(y.options.nextArrow)&&y.$nextArrow.remove()),y.$slides&&(y.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){s(this).attr("style",s(this).data("originalStyling"))}),y.$slideTrack.children(this.options.slide).detach(),y.$slideTrack.detach(),y.$list.detach(),y.$slider.append(y.$slides)),y.cleanUpRows(),y.$slider.removeClass("slick-slider"),y.$slider.removeClass("slick-initialized"),y.$slider.removeClass("slick-dotted"),y.unslicked=!0,u||y.$slider.trigger("destroy",[y])},X.prototype.disableTransition=function(u){var y=this,j={};j[y.transitionType]="",!1===y.options.fade?y.$slideTrack.css(j):y.$slides.eq(u).css(j)},X.prototype.fadeSlide=function(u,y){var j=this;!1===j.cssTransitions?(j.$slides.eq(u).css({zIndex:j.options.zIndex}),j.$slides.eq(u).animate({opacity:1},j.options.speed,j.options.easing,y)):(j.applyTransition(u),j.$slides.eq(u).css({opacity:1,zIndex:j.options.zIndex}),y&&setTimeout(function(){j.disableTransition(u),y.call()},j.options.speed))},X.prototype.fadeSlideOut=function(u){var y=this;!1===y.cssTransitions?y.$slides.eq(u).animate({opacity:0,zIndex:y.options.zIndex-2},y.options.speed,y.options.easing):(y.applyTransition(u),y.$slides.eq(u).css({opacity:0,zIndex:y.options.zIndex-2}))},X.prototype.filterSlides=X.prototype.slickFilter=function(u){var y=this;null!==u&&(y.$slidesCache=y.$slides,y.unload(),y.$slideTrack.children(this.options.slide).detach(),y.$slidesCache.filter(u).appendTo(y.$slideTrack),y.reinit())},X.prototype.focusHandler=function(){var u=this;u.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(y){y.stopImmediatePropagation();var j=s(this);setTimeout(function(){u.options.pauseOnFocus&&(u.focussed=j.is(":focus"),u.autoPlay())},0)})},X.prototype.getCurrent=X.prototype.slickCurrentSlide=function(){return this.currentSlide},X.prototype.getDotCount=function(){var u=this,y=0,j=0,L=0;if(!0===u.options.infinite)if(u.slideCount<=u.options.slidesToShow)++L;else for(;y<u.slideCount;)++L,y=j+u.options.slidesToScroll,j+=u.options.slidesToScroll<=u.options.slidesToShow?u.options.slidesToScroll:u.options.slidesToShow;else if(!0===u.options.centerMode)L=u.slideCount;else if(u.options.asNavFor)for(;y<u.slideCount;)++L,y=j+u.options.slidesToScroll,j+=u.options.slidesToScroll<=u.options.slidesToShow?u.options.slidesToScroll:u.options.slidesToShow;else L=1+Math.ceil((u.slideCount-u.options.slidesToShow)/u.options.slidesToScroll);return L-1},X.prototype.getLeft=function(u){var j,L,ie,De,y=this,B=0;return y.slideOffset=0,L=y.$slides.first().outerHeight(!0),!0===y.options.infinite?(y.slideCount>y.options.slidesToShow&&(y.slideOffset=y.slideWidth*y.options.slidesToShow*-1,De=-1,!0===y.options.vertical&&!0===y.options.centerMode&&(2===y.options.slidesToShow?De=-1.5:1===y.options.slidesToShow&&(De=-2)),B=L*y.options.slidesToShow*De),y.slideCount%y.options.slidesToScroll!=0&&u+y.options.slidesToScroll>y.slideCount&&y.slideCount>y.options.slidesToShow&&(u>y.slideCount?(y.slideOffset=(y.options.slidesToShow-(u-y.slideCount))*y.slideWidth*-1,B=(y.options.slidesToShow-(u-y.slideCount))*L*-1):(y.slideOffset=y.slideCount%y.options.slidesToScroll*y.slideWidth*-1,B=y.slideCount%y.options.slidesToScroll*L*-1))):u+y.options.slidesToShow>y.slideCount&&(y.slideOffset=(u+y.options.slidesToShow-y.slideCount)*y.slideWidth,B=(u+y.options.slidesToShow-y.slideCount)*L),y.slideCount<=y.options.slidesToShow&&(y.slideOffset=0,B=0),!0===y.options.centerMode&&y.slideCount<=y.options.slidesToShow?y.slideOffset=y.slideWidth*Math.floor(y.options.slidesToShow)/2-y.slideWidth*y.slideCount/2:!0===y.options.centerMode&&!0===y.options.infinite?y.slideOffset+=y.slideWidth*Math.floor(y.options.slidesToShow/2)-y.slideWidth:!0===y.options.centerMode&&(y.slideOffset=0,y.slideOffset+=y.slideWidth*Math.floor(y.options.slidesToShow/2)),j=!1===y.options.vertical?u*y.slideWidth*-1+y.slideOffset:u*L*-1+B,!0===y.options.variableWidth&&(ie=y.slideCount<=y.options.slidesToShow||!1===y.options.infinite?y.$slideTrack.children(".slick-slide").eq(u):y.$slideTrack.children(".slick-slide").eq(u+y.options.slidesToShow),j=!0===y.options.rtl?ie[0]?-1*(y.$slideTrack.width()-ie[0].offsetLeft-ie.width()):0:ie[0]?-1*ie[0].offsetLeft:0,!0===y.options.centerMode&&(ie=y.slideCount<=y.options.slidesToShow||!1===y.options.infinite?y.$slideTrack.children(".slick-slide").eq(u):y.$slideTrack.children(".slick-slide").eq(u+y.options.slidesToShow+1),j=!0===y.options.rtl?ie[0]?-1*(y.$slideTrack.width()-ie[0].offsetLeft-ie.width()):0:ie[0]?-1*ie[0].offsetLeft:0,j+=(y.$list.width()-ie.outerWidth())/2)),j},X.prototype.getOption=X.prototype.slickGetOption=function(u){return this.options[u]},X.prototype.getNavigableIndexes=function(){var B,u=this,y=0,j=0,L=[];for(!1===u.options.infinite?B=u.slideCount:(y=-1*u.options.slidesToScroll,j=-1*u.options.slidesToScroll,B=2*u.slideCount);y<B;)L.push(y),y=j+u.options.slidesToScroll,j+=u.options.slidesToScroll<=u.options.slidesToShow?u.options.slidesToScroll:u.options.slidesToShow;return L},X.prototype.getSlick=function(){return this},X.prototype.getSlideCount=function(){var j,L,u=this;return L=!0===u.options.centerMode?u.slideWidth*Math.floor(u.options.slidesToShow/2):0,!0===u.options.swipeToSlide?(u.$slideTrack.find(".slick-slide").each(function(B,ie){if(ie.offsetLeft-L+s(ie).outerWidth()/2>-1*u.swipeLeft)return j=ie,!1}),Math.abs(s(j).attr("data-slick-index")-u.currentSlide)||1):u.options.slidesToScroll},X.prototype.goTo=X.prototype.slickGoTo=function(u,y){this.changeSlide({data:{message:"index",index:parseInt(u)}},y)},X.prototype.init=function(u){var y=this;s(y.$slider).hasClass("slick-initialized")||(s(y.$slider).addClass("slick-initialized"),y.buildRows(),y.buildOut(),y.setProps(),y.startLoad(),y.loadSlider(),y.initializeEvents(),y.updateArrows(),y.updateDots(),y.checkResponsive(!0),y.focusHandler()),u&&y.$slider.trigger("init",[y]),!0===y.options.accessibility&&y.initADA(),y.options.autoplay&&(y.paused=!1,y.autoPlay())},X.prototype.initADA=function(){var u=this,y=Math.ceil(u.slideCount/u.options.slidesToShow),j=u.getNavigableIndexes().filter(function(ie){return ie>=0&&ie<u.slideCount});u.$slides.add(u.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==u.$dots&&(u.$slides.not(u.$slideTrack.find(".slick-cloned")).each(function(ie){var De=j.indexOf(ie);if(s(this).attr({role:"tabpanel",id:"slick-slide"+u.instanceUid+ie,tabindex:-1}),-1!==De){var Pe="slick-slide-control"+u.instanceUid+De;s("#"+Pe).length&&s(this).attr({"aria-describedby":Pe})}}),u.$dots.attr("role","tablist").find("li").each(function(ie){var De=j[ie];s(this).attr({role:"presentation"}),s(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+u.instanceUid+ie,"aria-controls":"slick-slide"+u.instanceUid+De,"aria-label":ie+1+" of "+y,"aria-selected":null,tabindex:"-1"})}).eq(u.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var L=u.currentSlide,B=L+u.options.slidesToShow;L<B;L++)u.options.focusOnChange?u.$slides.eq(L).attr({tabindex:"0"}):u.$slides.eq(L).removeAttr("tabindex");u.activateADA()},X.prototype.initArrowEvents=function(){var u=this;!0===u.options.arrows&&u.slideCount>u.options.slidesToShow&&(u.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},u.changeSlide),u.$nextArrow.off("click.slick").on("click.slick",{message:"next"},u.changeSlide),!0===u.options.accessibility&&(u.$prevArrow.on("keydown.slick",u.keyHandler),u.$nextArrow.on("keydown.slick",u.keyHandler)))},X.prototype.initDotEvents=function(){var u=this;!0===u.options.dots&&u.slideCount>u.options.slidesToShow&&(s("li",u.$dots).on("click.slick",{message:"index"},u.changeSlide),!0===u.options.accessibility&&u.$dots.on("keydown.slick",u.keyHandler)),!0===u.options.dots&&!0===u.options.pauseOnDotsHover&&u.slideCount>u.options.slidesToShow&&s("li",u.$dots).on("mouseenter.slick",s.proxy(u.interrupt,u,!0)).on("mouseleave.slick",s.proxy(u.interrupt,u,!1))},X.prototype.initSlideEvents=function(){var u=this;u.options.pauseOnHover&&(u.$list.on("mouseenter.slick",s.proxy(u.interrupt,u,!0)),u.$list.on("mouseleave.slick",s.proxy(u.interrupt,u,!1)))},X.prototype.initializeEvents=function(){var u=this;u.initArrowEvents(),u.initDotEvents(),u.initSlideEvents(),u.$list.on("touchstart.slick mousedown.slick",{action:"start"},u.swipeHandler),u.$list.on("touchmove.slick mousemove.slick",{action:"move"},u.swipeHandler),u.$list.on("touchend.slick mouseup.slick",{action:"end"},u.swipeHandler),u.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},u.swipeHandler),u.$list.on("click.slick",u.clickHandler),s(document).on(u.visibilityChange,s.proxy(u.visibility,u)),!0===u.options.accessibility&&u.$list.on("keydown.slick",u.keyHandler),!0===u.options.focusOnSelect&&s(u.$slideTrack).children().on("click.slick",u.selectHandler),s(window).on("orientationchange.slick.slick-"+u.instanceUid,s.proxy(u.orientationChange,u)),s(window).on("resize.slick.slick-"+u.instanceUid,s.proxy(u.resize,u)),s("[draggable!=true]",u.$slideTrack).on("dragstart",u.preventDefault),s(window).on("load.slick.slick-"+u.instanceUid,u.setPosition),s(u.setPosition)},X.prototype.initUI=function(){var u=this;!0===u.options.arrows&&u.slideCount>u.options.slidesToShow&&(u.$prevArrow.show(),u.$nextArrow.show()),!0===u.options.dots&&u.slideCount>u.options.slidesToShow&&u.$dots.show()},X.prototype.keyHandler=function(u){var y=this;u.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===u.keyCode&&!0===y.options.accessibility?y.changeSlide({data:{message:!0===y.options.rtl?"next":"previous"}}):39===u.keyCode&&!0===y.options.accessibility&&y.changeSlide({data:{message:!0===y.options.rtl?"previous":"next"}}))},X.prototype.lazyLoad=function(){var y,L,B,u=this;function ie(at){s("img[data-lazy]",at).each(function(){var wt=s(this),st=s(this).attr("data-lazy"),nt=s(this).attr("data-srcset"),ze=s(this).attr("data-sizes")||u.$slider.attr("data-sizes"),Qe=document.createElement("img");Qe.onload=function(){wt.animate({opacity:0},100,function(){nt&&(wt.attr("srcset",nt),ze&&wt.attr("sizes",ze)),wt.attr("src",st).animate({opacity:1},200,function(){wt.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),u.$slider.trigger("lazyLoaded",[u,wt,st])})},Qe.onerror=function(){wt.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),u.$slider.trigger("lazyLoadError",[u,wt,st])},Qe.src=st})}if(!0===u.options.centerMode?!0===u.options.infinite?B=(L=u.currentSlide+(u.options.slidesToShow/2+1))+u.options.slidesToShow+2:(L=Math.max(0,u.currentSlide-(u.options.slidesToShow/2+1)),B=u.options.slidesToShow/2+1+2+u.currentSlide):(L=u.options.infinite?u.options.slidesToShow+u.currentSlide:u.currentSlide,B=Math.ceil(L+u.options.slidesToShow),!0===u.options.fade&&(L>0&&L--,B<=u.slideCount&&B++)),y=u.$slider.find(".slick-slide").slice(L,B),"anticipated"===u.options.lazyLoad)for(var De=L-1,Pe=B,le=u.$slider.find(".slick-slide"),Oe=0;Oe<u.options.slidesToScroll;Oe++)De<0&&(De=u.slideCount-1),y=(y=y.add(le.eq(De))).add(le.eq(Pe)),De--,Pe++;ie(y),u.slideCount<=u.options.slidesToShow?ie(u.$slider.find(".slick-slide")):u.currentSlide>=u.slideCount-u.options.slidesToShow?ie(u.$slider.find(".slick-cloned").slice(0,u.options.slidesToShow)):0===u.currentSlide&&ie(u.$slider.find(".slick-cloned").slice(-1*u.options.slidesToShow))},X.prototype.loadSlider=function(){var u=this;u.setPosition(),u.$slideTrack.css({opacity:1}),u.$slider.removeClass("slick-loading"),u.initUI(),"progressive"===u.options.lazyLoad&&u.progressiveLazyLoad()},X.prototype.next=X.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},X.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},X.prototype.pause=X.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},X.prototype.play=X.prototype.slickPlay=function(){var u=this;u.autoPlay(),u.options.autoplay=!0,u.paused=!1,u.focussed=!1,u.interrupted=!1},X.prototype.postSlide=function(u){var y=this;!y.unslicked&&(y.$slider.trigger("afterChange",[y,u]),y.animating=!1,y.slideCount>y.options.slidesToShow&&y.setPosition(),y.swipeLeft=null,y.options.autoplay&&y.autoPlay(),!0===y.options.accessibility&&(y.initADA(),y.options.focusOnChange))&&s(y.$slides.get(y.currentSlide)).attr("tabindex",0).focus()},X.prototype.prev=X.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},X.prototype.preventDefault=function(u){u.preventDefault()},X.prototype.progressiveLazyLoad=function(u){u=u||1;var L,B,ie,De,Pe,y=this,j=s("img[data-lazy]",y.$slider);j.length?(L=j.first(),B=L.attr("data-lazy"),ie=L.attr("data-srcset"),De=L.attr("data-sizes")||y.$slider.attr("data-sizes"),(Pe=document.createElement("img")).onload=function(){ie&&(L.attr("srcset",ie),De&&L.attr("sizes",De)),L.attr("src",B).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===y.options.adaptiveHeight&&y.setPosition(),y.$slider.trigger("lazyLoaded",[y,L,B]),y.progressiveLazyLoad()},Pe.onerror=function(){u<3?setTimeout(function(){y.progressiveLazyLoad(u+1)},500):(L.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),y.$slider.trigger("lazyLoadError",[y,L,B]),y.progressiveLazyLoad())},Pe.src=B):y.$slider.trigger("allImagesLoaded",[y])},X.prototype.refresh=function(u){var j,L,y=this;L=y.slideCount-y.options.slidesToShow,!y.options.infinite&&y.currentSlide>L&&(y.currentSlide=L),y.slideCount<=y.options.slidesToShow&&(y.currentSlide=0),j=y.currentSlide,y.destroy(!0),s.extend(y,y.initials,{currentSlide:j}),y.init(),u||y.changeSlide({data:{message:"index",index:j}},!1)},X.prototype.registerBreakpoints=function(){var y,j,L,u=this,B=u.options.responsive||null;if("array"===s.type(B)&&B.length){for(y in u.respondTo=u.options.respondTo||"window",B)if(L=u.breakpoints.length-1,B.hasOwnProperty(y)){for(j=B[y].breakpoint;L>=0;)u.breakpoints[L]&&u.breakpoints[L]===j&&u.breakpoints.splice(L,1),L--;u.breakpoints.push(j),u.breakpointSettings[j]=B[y].settings}u.breakpoints.sort(function(ie,De){return u.options.mobileFirst?ie-De:De-ie})}},X.prototype.reinit=function(){var u=this;u.$slides=u.$slideTrack.children(u.options.slide).addClass("slick-slide"),u.slideCount=u.$slides.length,u.currentSlide>=u.slideCount&&0!==u.currentSlide&&(u.currentSlide=u.currentSlide-u.options.slidesToScroll),u.slideCount<=u.options.slidesToShow&&(u.currentSlide=0),u.registerBreakpoints(),u.setProps(),u.setupInfinite(),u.buildArrows(),u.updateArrows(),u.initArrowEvents(),u.buildDots(),u.updateDots(),u.initDotEvents(),u.cleanUpSlideEvents(),u.initSlideEvents(),u.checkResponsive(!1,!0),!0===u.options.focusOnSelect&&s(u.$slideTrack).children().on("click.slick",u.selectHandler),u.setSlideClasses("number"==typeof u.currentSlide?u.currentSlide:0),u.setPosition(),u.focusHandler(),u.paused=!u.options.autoplay,u.autoPlay(),u.$slider.trigger("reInit",[u])},X.prototype.resize=function(){var u=this;s(window).width()!==u.windowWidth&&(clearTimeout(u.windowDelay),u.windowDelay=window.setTimeout(function(){u.windowWidth=s(window).width(),u.checkResponsive(),u.unslicked||u.setPosition()},50))},X.prototype.removeSlide=X.prototype.slickRemove=function(u,y,j){var L=this;if(u="boolean"==typeof u?!0===(y=u)?0:L.slideCount-1:!0===y?--u:u,L.slideCount<1||u<0||u>L.slideCount-1)return!1;L.unload(),!0===j?L.$slideTrack.children().remove():L.$slideTrack.children(this.options.slide).eq(u).remove(),L.$slides=L.$slideTrack.children(this.options.slide),L.$slideTrack.children(this.options.slide).detach(),L.$slideTrack.append(L.$slides),L.$slidesCache=L.$slides,L.reinit()},X.prototype.setCSS=function(u){var L,B,y=this,j={};!0===y.options.rtl&&(u=-u),L="left"==y.positionProp?Math.ceil(u)+"px":"0px",B="top"==y.positionProp?Math.ceil(u)+"px":"0px",j[y.positionProp]=u,!1===y.transformsEnabled?y.$slideTrack.css(j):(j={},!1===y.cssTransitions?(j[y.animType]="translate("+L+", "+B+")",y.$slideTrack.css(j)):(j[y.animType]="translate3d("+L+", "+B+", 0px)",y.$slideTrack.css(j)))},X.prototype.setDimensions=function(){var u=this;!1===u.options.vertical?!0===u.options.centerMode&&u.$list.css({padding:"0px "+u.options.centerPadding}):(u.$list.height(u.$slides.first().outerHeight(!0)*u.options.slidesToShow),!0===u.options.centerMode&&u.$list.css({padding:u.options.centerPadding+" 0px"})),u.listWidth=u.$list.width(),u.listHeight=u.$list.height(),!1===u.options.vertical&&!1===u.options.variableWidth?(u.slideWidth=Math.ceil(u.listWidth/u.options.slidesToShow),u.$slideTrack.width(Math.ceil(u.slideWidth*u.$slideTrack.children(".slick-slide").length))):!0===u.options.variableWidth?u.$slideTrack.width(5e3*u.slideCount):(u.slideWidth=Math.ceil(u.listWidth),u.$slideTrack.height(Math.ceil(u.$slides.first().outerHeight(!0)*u.$slideTrack.children(".slick-slide").length)));var y=u.$slides.first().outerWidth(!0)-u.$slides.first().width();!1===u.options.variableWidth&&u.$slideTrack.children(".slick-slide").width(u.slideWidth-y)},X.prototype.setFade=function(){var y,u=this;u.$slides.each(function(j,L){y=u.slideWidth*j*-1,!0===u.options.rtl?s(L).css({position:"relative",right:y,top:0,zIndex:u.options.zIndex-2,opacity:0}):s(L).css({position:"relative",left:y,top:0,zIndex:u.options.zIndex-2,opacity:0})}),u.$slides.eq(u.currentSlide).css({zIndex:u.options.zIndex-1,opacity:1})},X.prototype.setHeight=function(){var u=this;if(1===u.options.slidesToShow&&!0===u.options.adaptiveHeight&&!1===u.options.vertical){var y=u.$slides.eq(u.currentSlide).outerHeight(!0);u.$list.css("height",y)}},X.prototype.setOption=X.prototype.slickSetOption=function(){var y,j,L,B,De,u=this,ie=!1;if("object"===s.type(arguments[0])?(L=arguments[0],ie=arguments[1],De="multiple"):"string"===s.type(arguments[0])&&(L=arguments[0],B=arguments[1],ie=arguments[2],"responsive"===arguments[0]&&"array"===s.type(arguments[1])?De="responsive":typeof arguments[1]<"u"&&(De="single")),"single"===De)u.options[L]=B;else if("multiple"===De)s.each(L,function(Pe,le){u.options[Pe]=le});else if("responsive"===De)for(j in B)if("array"!==s.type(u.options.responsive))u.options.responsive=[B[j]];else{for(y=u.options.responsive.length-1;y>=0;)u.options.responsive[y].breakpoint===B[j].breakpoint&&u.options.responsive.splice(y,1),y--;u.options.responsive.push(B[j])}ie&&(u.unload(),u.reinit())},X.prototype.setPosition=function(){var u=this;u.setDimensions(),u.setHeight(),!1===u.options.fade?u.setCSS(u.getLeft(u.currentSlide)):u.setFade(),u.$slider.trigger("setPosition",[u])},X.prototype.setProps=function(){var u=this,y=document.body.style;u.positionProp=!0===u.options.vertical?"top":"left","top"===u.positionProp?u.$slider.addClass("slick-vertical"):u.$slider.removeClass("slick-vertical"),(void 0!==y.WebkitTransition||void 0!==y.MozTransition||void 0!==y.msTransition)&&!0===u.options.useCSS&&(u.cssTransitions=!0),u.options.fade&&("number"==typeof u.options.zIndex?u.options.zIndex<3&&(u.options.zIndex=3):u.options.zIndex=u.defaults.zIndex),void 0!==y.OTransform&&(u.animType="OTransform",u.transformType="-o-transform",u.transitionType="OTransition",void 0===y.perspectiveProperty&&void 0===y.webkitPerspective&&(u.animType=!1)),void 0!==y.MozTransform&&(u.animType="MozTransform",u.transformType="-moz-transform",u.transitionType="MozTransition",void 0===y.perspectiveProperty&&void 0===y.MozPerspective&&(u.animType=!1)),void 0!==y.webkitTransform&&(u.animType="webkitTransform",u.transformType="-webkit-transform",u.transitionType="webkitTransition",void 0===y.perspectiveProperty&&void 0===y.webkitPerspective&&(u.animType=!1)),void 0!==y.msTransform&&(u.animType="msTransform",u.transformType="-ms-transform",u.transitionType="msTransition",void 0===y.msTransform&&(u.animType=!1)),void 0!==y.transform&&!1!==u.animType&&(u.animType="transform",u.transformType="transform",u.transitionType="transition"),u.transformsEnabled=u.options.useTransform&&null!==u.animType&&!1!==u.animType},X.prototype.setSlideClasses=function(u){var j,L,B,ie,y=this;if(L=y.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),y.$slides.eq(u).addClass("slick-current"),!0===y.options.centerMode){var De=y.options.slidesToShow%2==0?1:0;j=Math.floor(y.options.slidesToShow/2),!0===y.options.infinite&&(u>=j&&u<=y.slideCount-1-j?y.$slides.slice(u-j+De,u+j+1).addClass("slick-active").attr("aria-hidden","false"):L.slice((B=y.options.slidesToShow+u)-j+1+De,B+j+2).addClass("slick-active").attr("aria-hidden","false"),0===u?L.eq(L.length-1-y.options.slidesToShow).addClass("slick-center"):u===y.slideCount-1&&L.eq(y.options.slidesToShow).addClass("slick-center")),y.$slides.eq(u).addClass("slick-center")}else u>=0&&u<=y.slideCount-y.options.slidesToShow?y.$slides.slice(u,u+y.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):L.length<=y.options.slidesToShow?L.addClass("slick-active").attr("aria-hidden","false"):(ie=y.slideCount%y.options.slidesToShow,B=!0===y.options.infinite?y.options.slidesToShow+u:u,y.options.slidesToShow==y.options.slidesToScroll&&y.slideCount-u<y.options.slidesToShow?L.slice(B-(y.options.slidesToShow-ie),B+ie).addClass("slick-active").attr("aria-hidden","false"):L.slice(B,B+y.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));("ondemand"===y.options.lazyLoad||"anticipated"===y.options.lazyLoad)&&y.lazyLoad()},X.prototype.setupInfinite=function(){var y,j,L,u=this;if(!0===u.options.fade&&(u.options.centerMode=!1),!0===u.options.infinite&&!1===u.options.fade&&(j=null,u.slideCount>u.options.slidesToShow)){for(L=!0===u.options.centerMode?u.options.slidesToShow+1:u.options.slidesToShow,y=u.slideCount;y>u.slideCount-L;y-=1)s(u.$slides[j=y-1]).clone(!0).attr("id","").attr("data-slick-index",j-u.slideCount).prependTo(u.$slideTrack).addClass("slick-cloned");for(y=0;y<L+u.slideCount;y+=1)s(u.$slides[j=y]).clone(!0).attr("id","").attr("data-slick-index",j+u.slideCount).appendTo(u.$slideTrack).addClass("slick-cloned");u.$slideTrack.find(".slick-cloned").find("[id]").each(function(){s(this).attr("id","")})}},X.prototype.interrupt=function(u){u||this.autoPlay(),this.interrupted=u},X.prototype.selectHandler=function(u){var y=this,j=s(u.target).is(".slick-slide")?s(u.target):s(u.target).parents(".slick-slide"),L=parseInt(j.attr("data-slick-index"));L||(L=0),y.slideCount<=y.options.slidesToShow?y.slideHandler(L,!1,!0):y.slideHandler(L)},X.prototype.slideHandler=function(u,y,j){var L,B,ie,De,Oe,Pe=null,le=this;if(y=y||!1,!(!0===le.animating&&!0===le.options.waitForAnimate||!0===le.options.fade&&le.currentSlide===u)){if(!1===y&&le.asNavFor(u),Pe=le.getLeft(L=u),De=le.getLeft(le.currentSlide),le.currentLeft=null===le.swipeLeft?De:le.swipeLeft,!1===le.options.infinite&&!1===le.options.centerMode&&(u<0||u>le.getDotCount()*le.options.slidesToScroll))return void(!1===le.options.fade&&(L=le.currentSlide,!0!==j&&le.slideCount>le.options.slidesToShow?le.animateSlide(De,function(){le.postSlide(L)}):le.postSlide(L)));if(!1===le.options.infinite&&!0===le.options.centerMode&&(u<0||u>le.slideCount-le.options.slidesToScroll))return void(!1===le.options.fade&&(L=le.currentSlide,!0!==j&&le.slideCount>le.options.slidesToShow?le.animateSlide(De,function(){le.postSlide(L)}):le.postSlide(L)));if(le.options.autoplay&&clearInterval(le.autoPlayTimer),B=L<0?le.slideCount%le.options.slidesToScroll!=0?le.slideCount-le.slideCount%le.options.slidesToScroll:le.slideCount+L:L>=le.slideCount?le.slideCount%le.options.slidesToScroll!=0?0:L-le.slideCount:L,le.animating=!0,le.$slider.trigger("beforeChange",[le,le.currentSlide,B]),ie=le.currentSlide,le.currentSlide=B,le.setSlideClasses(le.currentSlide),le.options.asNavFor&&(Oe=(Oe=le.getNavTarget()).slick("getSlick")).slideCount<=Oe.options.slidesToShow&&Oe.setSlideClasses(le.currentSlide),le.updateDots(),le.updateArrows(),!0===le.options.fade)return!0!==j?(le.fadeSlideOut(ie),le.fadeSlide(B,function(){le.postSlide(B)})):le.postSlide(B),void le.animateHeight();!0!==j&&le.slideCount>le.options.slidesToShow?le.animateSlide(Pe,function(){le.postSlide(B)}):le.postSlide(B)}},X.prototype.startLoad=function(){var u=this;!0===u.options.arrows&&u.slideCount>u.options.slidesToShow&&(u.$prevArrow.hide(),u.$nextArrow.hide()),!0===u.options.dots&&u.slideCount>u.options.slidesToShow&&u.$dots.hide(),u.$slider.addClass("slick-loading")},X.prototype.swipeDirection=function(){var j,L,B=this;return j=Math.atan2(B.touchObject.startY-B.touchObject.curY,B.touchObject.startX-B.touchObject.curX),(L=Math.round(180*j/Math.PI))<0&&(L=360-Math.abs(L)),L<=45&&L>=0||L<=360&&L>=315?!1===B.options.rtl?"left":"right":L>=135&&L<=225?!1===B.options.rtl?"right":"left":!0===B.options.verticalSwiping?L>=35&&L<=135?"down":"up":"vertical"},X.prototype.swipeEnd=function(u){var j,L,y=this;if(y.dragging=!1,y.swiping=!1,y.scrolling)return y.scrolling=!1,!1;if(y.interrupted=!1,y.shouldClick=!(y.touchObject.swipeLength>10),void 0===y.touchObject.curX)return!1;if(!0===y.touchObject.edgeHit&&y.$slider.trigger("edge",[y,y.swipeDirection()]),y.touchObject.swipeLength>=y.touchObject.minSwipe){switch(L=y.swipeDirection()){case"left":case"down":j=y.options.swipeToSlide?y.checkNavigable(y.currentSlide+y.getSlideCount()):y.currentSlide+y.getSlideCount(),y.currentDirection=0;break;case"right":case"up":j=y.options.swipeToSlide?y.checkNavigable(y.currentSlide-y.getSlideCount()):y.currentSlide-y.getSlideCount(),y.currentDirection=1}"vertical"!=L&&(y.slideHandler(j),y.touchObject={},y.$slider.trigger("swipe",[y,L]))}else y.touchObject.startX!==y.touchObject.curX&&(y.slideHandler(y.currentSlide),y.touchObject={})},X.prototype.swipeHandler=function(u){var y=this;if(!(!1===y.options.swipe||"ontouchend"in document&&!1===y.options.swipe||!1===y.options.draggable&&-1!==u.type.indexOf("mouse")))switch(y.touchObject.fingerCount=u.originalEvent&&void 0!==u.originalEvent.touches?u.originalEvent.touches.length:1,y.touchObject.minSwipe=y.listWidth/y.options.touchThreshold,!0===y.options.verticalSwiping&&(y.touchObject.minSwipe=y.listHeight/y.options.touchThreshold),u.data.action){case"start":y.swipeStart(u);break;case"move":y.swipeMove(u);break;case"end":y.swipeEnd(u)}},X.prototype.swipeMove=function(u){var L,B,ie,De,Pe,le,y=this;return Pe=void 0!==u.originalEvent?u.originalEvent.touches:null,!(!y.dragging||y.scrolling||Pe&&1!==Pe.length)&&(L=y.getLeft(y.currentSlide),y.touchObject.curX=void 0!==Pe?Pe[0].pageX:u.clientX,y.touchObject.curY=void 0!==Pe?Pe[0].pageY:u.clientY,y.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(y.touchObject.curX-y.touchObject.startX,2))),le=Math.round(Math.sqrt(Math.pow(y.touchObject.curY-y.touchObject.startY,2))),!y.options.verticalSwiping&&!y.swiping&&le>4?(y.scrolling=!0,!1):(!0===y.options.verticalSwiping&&(y.touchObject.swipeLength=le),B=y.swipeDirection(),void 0!==u.originalEvent&&y.touchObject.swipeLength>4&&(y.swiping=!0,u.preventDefault()),De=(!1===y.options.rtl?1:-1)*(y.touchObject.curX>y.touchObject.startX?1:-1),!0===y.options.verticalSwiping&&(De=y.touchObject.curY>y.touchObject.startY?1:-1),ie=y.touchObject.swipeLength,y.touchObject.edgeHit=!1,!1===y.options.infinite&&(0===y.currentSlide&&"right"===B||y.currentSlide>=y.getDotCount()&&"left"===B)&&(ie=y.touchObject.swipeLength*y.options.edgeFriction,y.touchObject.edgeHit=!0),y.swipeLeft=!1===y.options.vertical?L+ie*De:L+ie*(y.$list.height()/y.listWidth)*De,!0===y.options.verticalSwiping&&(y.swipeLeft=L+ie*De),!0!==y.options.fade&&!1!==y.options.touchMove&&(!0===y.animating?(y.swipeLeft=null,!1):void y.setCSS(y.swipeLeft))))},X.prototype.swipeStart=function(u){var j,y=this;if(y.interrupted=!0,1!==y.touchObject.fingerCount||y.slideCount<=y.options.slidesToShow)return y.touchObject={},!1;void 0!==u.originalEvent&&void 0!==u.originalEvent.touches&&(j=u.originalEvent.touches[0]),y.touchObject.startX=y.touchObject.curX=void 0!==j?j.pageX:u.clientX,y.touchObject.startY=y.touchObject.curY=void 0!==j?j.pageY:u.clientY,y.dragging=!0},X.prototype.unfilterSlides=X.prototype.slickUnfilter=function(){var u=this;null!==u.$slidesCache&&(u.unload(),u.$slideTrack.children(this.options.slide).detach(),u.$slidesCache.appendTo(u.$slideTrack),u.reinit())},X.prototype.unload=function(){var u=this;s(".slick-cloned",u.$slider).remove(),u.$dots&&u.$dots.remove(),u.$prevArrow&&u.htmlExpr.test(u.options.prevArrow)&&u.$prevArrow.remove(),u.$nextArrow&&u.htmlExpr.test(u.options.nextArrow)&&u.$nextArrow.remove(),u.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},X.prototype.unslick=function(u){var y=this;y.$slider.trigger("unslick",[y,u]),y.destroy()},X.prototype.updateArrows=function(){var u=this;Math.floor(u.options.slidesToShow/2),!0===u.options.arrows&&u.slideCount>u.options.slidesToShow&&!u.options.infinite&&(u.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),u.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===u.currentSlide?(u.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),u.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(u.currentSlide>=u.slideCount-u.options.slidesToShow&&!1===u.options.centerMode||u.currentSlide>=u.slideCount-1&&!0===u.options.centerMode)&&(u.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),u.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},X.prototype.updateDots=function(){var u=this;null!==u.$dots&&(u.$dots.find("li").removeClass("slick-active").end(),u.$dots.find("li").eq(Math.floor(u.currentSlide/u.options.slidesToScroll)).addClass("slick-active"))},X.prototype.visibility=function(){var u=this;u.options.autoplay&&(u.interrupted=!!document[u.hidden])},s.fn.slick=function(){var B,ie,u=this,y=arguments[0],j=Array.prototype.slice.call(arguments,1),L=u.length;for(B=0;B<L;B++)if("object"==typeof y||typeof y>"u"?u[B].slick=new X(u[B],y):ie=u[B].slick[y].apply(u[B].slick,j),typeof ie<"u")return ie;return u}},void 0!==(z=I.apply(Ne,x))&&(_t.exports=z)}()},1397:(_t,Ne,M)=>{"use strict";M.d(Ne,{Z:()=>j});var I=M(6354),x=M(8750),z=M(9974),s=M(5225),X=M(4360),y=M(8071);function j(L,B,ie=1/0){return(0,y.T)(B)?j((De,Pe)=>(0,I.T)((le,Oe)=>B(De,le,Pe,Oe))((0,x.Tg)(L(De,Pe))),ie):("number"==typeof B&&(ie=B),(0,z.N)((De,Pe)=>function u(L,B,ie,De,Pe,le,Oe,at){const wt=[];let st=0,nt=0,ze=!1;const Qe=()=>{ze&&!wt.length&&!st&&B.complete()},he=D=>st<De?it(D):wt.push(D),it=D=>{le&&B.next(D),st++;let $e=!1;(0,x.Tg)(ie(D,nt++)).subscribe((0,X._)(B,We=>{Pe?.(We),le?he(We):B.next(We)},()=>{$e=!0},void 0,()=>{if($e)try{for(st--;wt.length&&st<De;){const We=wt.shift();Oe?(0,s.N)(B,Oe,()=>it(We)):it(We)}Qe()}catch(We){B.error(We)}}))};return L.subscribe((0,X._)(B,he,()=>{ze=!0,Qe()})),()=>{at?.()}}(De,Pe,L,ie)))}},1413:(_t,Ne,M)=>{"use strict";M.d(Ne,{B:()=>y});var I=M(1985),x=M(8359);const s=(0,M(1853).L)(L=>function(){L(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var X=M(7908),u=M(9786);let y=(()=>{class L extends I.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(ie){const De=new j(this,this);return De.operator=ie,De}_throwIfClosed(){if(this.closed)throw new s}next(ie){(0,u.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const De of this.currentObservers)De.next(ie)}})}error(ie){(0,u.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=ie;const{observers:De}=this;for(;De.length;)De.shift().error(ie)}})}complete(){(0,u.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:ie}=this;for(;ie.length;)ie.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var ie;return(null===(ie=this.observers)||void 0===ie?void 0:ie.length)>0}_trySubscribe(ie){return this._throwIfClosed(),super._trySubscribe(ie)}_subscribe(ie){return this._throwIfClosed(),this._checkFinalizedStatuses(ie),this._innerSubscribe(ie)}_innerSubscribe(ie){const{hasError:De,isStopped:Pe,observers:le}=this;return De||Pe?x.Kn:(this.currentObservers=null,le.push(ie),new x.yU(()=>{this.currentObservers=null,(0,X.o)(le,ie)}))}_checkFinalizedStatuses(ie){const{hasError:De,thrownError:Pe,isStopped:le}=this;De?ie.error(Pe):le&&ie.complete()}asObservable(){const ie=new I.c;return ie.source=this,ie}}return L.create=(B,ie)=>new j(B,ie),L})();class j extends y{constructor(B,ie){super(),this.destination=B,this.source=ie}next(B){var ie,De;null===(De=null===(ie=this.destination)||void 0===ie?void 0:ie.next)||void 0===De||De.call(ie,B)}error(B){var ie,De;null===(De=null===(ie=this.destination)||void 0===ie?void 0:ie.error)||void 0===De||De.call(ie,B)}complete(){var B,ie;null===(ie=null===(B=this.destination)||void 0===B?void 0:B.complete)||void 0===ie||ie.call(B)}_subscribe(B){var ie,De;return null!==(De=null===(ie=this.source)||void 0===ie?void 0:ie.subscribe(B))&&void 0!==De?De:x.Kn}}},1635:(_t,Ne,M)=>{"use strict";function De(_e,Me,ue,ve){return new(ue||(ue=Promise))(function(Z,ke){function ot(pn){try{Dt(ve.next(pn))}catch(At){ke(At)}}function an(pn){try{Dt(ve.throw(pn))}catch(At){ke(At)}}function Dt(pn){pn.done?Z(pn.value):function ne(Z){return Z instanceof ue?Z:new ue(function(ke){ke(Z)})}(pn.value).then(ot,an)}Dt((ve=ve.apply(_e,Me||[])).next())})}function Qe(_e){return this instanceof Qe?(this.v=_e,this):new Qe(_e)}function he(_e,Me,ue){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ne,ve=ue.apply(_e,Me||[]),Z=[];return ne=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),ot("next"),ot("throw"),ot("return",function ke(dt){return function(oe){return Promise.resolve(oe).then(dt,At)}}),ne[Symbol.asyncIterator]=function(){return this},ne;function ot(dt,oe){ve[dt]&&(ne[dt]=function(Se){return new Promise(function(rt,ut){Z.push([dt,Se,rt,ut])>1||an(dt,Se)})},oe&&(ne[dt]=oe(ne[dt])))}function an(dt,oe){try{!function Dt(dt){dt.value instanceof Qe?Promise.resolve(dt.value.v).then(pn,At):xe(Z[0][2],dt)}(ve[dt](oe))}catch(Se){xe(Z[0][3],Se)}}function pn(dt){an("next",dt)}function At(dt){an("throw",dt)}function xe(dt,oe){dt(oe),Z.shift(),Z.length&&an(Z[0][0],Z[0][1])}}function D(_e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ue,Me=_e[Symbol.asyncIterator];return Me?Me.call(_e):(_e=function at(_e){var Me="function"==typeof Symbol&&Symbol.iterator,ue=Me&&_e[Me],ve=0;if(ue)return ue.call(_e);if(_e&&"number"==typeof _e.length)return{next:function(){return _e&&ve>=_e.length&&(_e=void 0),{value:_e&&_e[ve++],done:!_e}}};throw new TypeError(Me?"Object is not iterable.":"Symbol.iterator is not defined.")}(_e),ue={},ve("next"),ve("throw"),ve("return"),ue[Symbol.asyncIterator]=function(){return this},ue);function ve(Z){ue[Z]=_e[Z]&&function(ke){return new Promise(function(ot,an){!function ne(Z,ke,ot,an){Promise.resolve(an).then(function(Dt){Z({value:Dt,done:ot})},ke)}(ot,an,(ke=_e[Z](ke)).done,ke.value)})}}}M.d(Ne,{AQ:()=>he,N3:()=>Qe,sH:()=>De,xN:()=>D}),"function"==typeof SuppressedError&&SuppressedError},1653:function(_t,Ne){var I;!function(x,z){"use strict";"object"==typeof _t.exports?_t.exports=x.document?z(x,!0):function(s){if(!s.document)throw new Error("jQuery requires a window with a document");return z(s)}:z(x)}(typeof window<"u"?window:this,function(x,z){"use strict";var s=[],X=Object.getPrototypeOf,u=s.slice,y=s.flat?function(l){return s.flat.call(l)}:function(l){return s.concat.apply([],l)},j=s.push,L=s.indexOf,B={},ie=B.toString,De=B.hasOwnProperty,Pe=De.toString,le=Pe.call(Object),Oe={},at=function(h){return"function"==typeof h&&"number"!=typeof h.nodeType&&"function"!=typeof h.item},wt=function(h){return null!=h&&h===h.window},st=x.document,nt={type:!0,src:!0,nonce:!0,noModule:!0};function ze(l,h,E){var T,O,k=(E=E||st).createElement("script");if(k.text=l,h)for(T in nt)(O=h[T]||h.getAttribute&&h.getAttribute(T))&&k.setAttribute(T,O);E.head.appendChild(k).parentNode.removeChild(k)}function Qe(l){return null==l?l+"":"object"==typeof l||"function"==typeof l?B[ie.call(l)]||"object":typeof l}var it=/HTML$/i,D=function(l,h){return new D.fn.init(l,h)};function $e(l){var h=!!l&&"length"in l&&l.length,E=Qe(l);return!at(l)&&!wt(l)&&("array"===E||0===h||"number"==typeof h&&h>0&&h-1 in l)}function We(l,h){return l.nodeName&&l.nodeName.toLowerCase()===h.toLowerCase()}D.fn=D.prototype={jquery:"3.7.1",constructor:D,length:0,toArray:function(){return u.call(this)},get:function(l){return null==l?u.call(this):l<0?this[l+this.length]:this[l]},pushStack:function(l){var h=D.merge(this.constructor(),l);return h.prevObject=this,h},each:function(l){return D.each(this,l)},map:function(l){return this.pushStack(D.map(this,function(h,E){return l.call(h,E,h)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(D.grep(this,function(l,h){return(h+1)%2}))},odd:function(){return this.pushStack(D.grep(this,function(l,h){return h%2}))},eq:function(l){var h=this.length,E=+l+(l<0?h:0);return this.pushStack(E>=0&&E<h?[this[E]]:[])},end:function(){return this.prevObject||this.constructor()},push:j,sort:s.sort,splice:s.splice},D.extend=D.fn.extend=function(){var l,h,E,T,O,k,U=arguments[0]||{},ce=1,re=arguments.length,Ee=!1;for("boolean"==typeof U&&(Ee=U,U=arguments[ce]||{},ce++),"object"!=typeof U&&!at(U)&&(U={}),ce===re&&(U=this,ce--);ce<re;ce++)if(null!=(l=arguments[ce]))for(h in l)T=l[h],"__proto__"!==h&&U!==T&&(Ee&&T&&(D.isPlainObject(T)||(O=Array.isArray(T)))?(E=U[h],k=O&&!Array.isArray(E)?[]:O||D.isPlainObject(E)?E:{},O=!1,U[h]=D.extend(Ee,k,T)):void 0!==T&&(U[h]=T));return U},D.extend({expando:"jQuery"+("3.7.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(l){throw new Error(l)},noop:function(){},isPlainObject:function(l){var h,E;return!(!l||"[object Object]"!==ie.call(l)||(h=X(l))&&("function"!=typeof(E=De.call(h,"constructor")&&h.constructor)||Pe.call(E)!==le))},isEmptyObject:function(l){var h;for(h in l)return!1;return!0},globalEval:function(l,h,E){ze(l,{nonce:h&&h.nonce},E)},each:function(l,h){var E,T=0;if($e(l))for(E=l.length;T<E&&!1!==h.call(l[T],T,l[T]);T++);else for(T in l)if(!1===h.call(l[T],T,l[T]))break;return l},text:function(l){var h,E="",T=0,O=l.nodeType;if(!O)for(;h=l[T++];)E+=D.text(h);return 1===O||11===O?l.textContent:9===O?l.documentElement.textContent:3===O||4===O?l.nodeValue:E},makeArray:function(l,h){var E=h||[];return null!=l&&($e(Object(l))?D.merge(E,"string"==typeof l?[l]:l):j.call(E,l)),E},inArray:function(l,h,E){return null==h?-1:L.call(h,l,E)},isXMLDoc:function(l){var E=l&&(l.ownerDocument||l).documentElement;return!it.test(l&&l.namespaceURI||E&&E.nodeName||"HTML")},merge:function(l,h){for(var E=+h.length,T=0,O=l.length;T<E;T++)l[O++]=h[T];return l.length=O,l},grep:function(l,h,E){for(var O=[],k=0,U=l.length,ce=!E;k<U;k++)!h(l[k],k)!==ce&&O.push(l[k]);return O},map:function(l,h,E){var T,O,k=0,U=[];if($e(l))for(T=l.length;k<T;k++)null!=(O=h(l[k],k,E))&&U.push(O);else for(k in l)null!=(O=h(l[k],k,E))&&U.push(O);return y(U)},guid:1,support:Oe}),"function"==typeof Symbol&&(D.fn[Symbol.iterator]=s[Symbol.iterator]),D.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(l,h){B["[object "+h+"]"]=h.toLowerCase()});var $t=s.pop,nn=s.sort,Kn=s.splice,rn="[\\x20\\t\\r\\n\\f]",In=new RegExp("^"+rn+"+|((?:^|[^\\\\])(?:\\\\.)*)"+rn+"+$","g");D.contains=function(l,h){var E=h&&h.parentNode;return l===E||!(!E||1!==E.nodeType||!(l.contains?l.contains(E):l.compareDocumentPosition&&16&l.compareDocumentPosition(E)))};var Hn=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function Ln(l,h){return h?"\0"===l?"\ufffd":l.slice(0,-1)+"\\"+l.charCodeAt(l.length-1).toString(16)+" ":"\\"+l}D.escapeSelector=function(l){return(l+"").replace(Hn,Ln)};var ln=st,or=j;!function(){var l,h,E,T,O,U,ce,re,Ee,He,k=or,Ge=D.expando,pe=0,pt=0,en=ys(),An=ys(),En=ys(),Ir=ys(),Zt=function(Q,ge){return Q===ge&&(O=!0),0},no="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",gi="(?:\\\\[\\da-fA-F]{1,6}"+rn+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",cn="\\["+rn+"*("+gi+")(?:"+rn+"*([*^$|!~]?=)"+rn+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+gi+"))|)"+rn+"*\\]",Fi=":("+gi+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+cn+")*)|.*)\\)|)",Tn=new RegExp(rn+"+","g"),fr=new RegExp("^"+rn+"*,"+rn+"*"),Li=new RegExp("^"+rn+"*([>+~]|"+rn+")"+rn+"*"),Uo=new RegExp(rn+"|>"),mi=new RegExp(Fi),$o=new RegExp("^"+gi+"$"),Ii={ID:new RegExp("^#("+gi+")"),CLASS:new RegExp("^\\.("+gi+")"),TAG:new RegExp("^("+gi+"|[*])"),ATTR:new RegExp("^"+cn),PSEUDO:new RegExp("^"+Fi),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+rn+"*(even|odd|(([+-]|)(\\d*)n|)"+rn+"*(?:([+-]|)"+rn+"*(\\d+)|))"+rn+"*\\)|)","i"),bool:new RegExp("^(?:"+no+")$","i"),needsContext:new RegExp("^"+rn+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+rn+"*((?:-\\d)?\\d*)"+rn+"*\\)|)(?=[^-]|$)","i")},Lt=/^(?:input|select|textarea|button)$/i,Qr=/^h\d$/i,ci=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,as=/[+~]/,Mi=new RegExp("\\\\[\\da-fA-F]{1,6}"+rn+"?|\\\\([^\\r\\n\\f])","g"),ro=function(Q,ge){var Ae="0x"+Q.slice(1)-65536;return ge||(Ae<0?String.fromCharCode(Ae+65536):String.fromCharCode(Ae>>10|55296,1023&Ae|56320))},ls=function(){Ai()},xa=zo(function(Q){return!0===Q.disabled&&We(Q,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(s=u.call(ln.childNodes),ln.childNodes)}catch{k={apply:function(ge,Ae){or.apply(ge,u.call(Ae))},call:function(ge){or.apply(ge,u.call(arguments,1))}}}function Qn(Q,ge,Ae,Fe){var Ue,Et,Rt,Bt,Ot,wn,on,tn=ge&&ge.ownerDocument,bn=ge?ge.nodeType:9;if(Ae=Ae||[],"string"!=typeof Q||!Q||1!==bn&&9!==bn&&11!==bn)return Ae;if(!Fe&&(Ai(ge),ge=ge||U,re)){if(11!==bn&&(Ot=ci.exec(Q)))if(Ue=Ot[1]){if(9===bn){if(!(Rt=ge.getElementById(Ue)))return Ae;if(Rt.id===Ue)return k.call(Ae,Rt),Ae}else if(tn&&(Rt=tn.getElementById(Ue))&&Qn.contains(ge,Rt)&&Rt.id===Ue)return k.call(Ae,Rt),Ae}else{if(Ot[2])return k.apply(Ae,ge.getElementsByTagName(Q)),Ae;if((Ue=Ot[3])&&ge.getElementsByClassName)return k.apply(Ae,ge.getElementsByClassName(Ue)),Ae}if(!(Ir[Q+" "]||Ee&&Ee.test(Q))){if(on=Q,tn=ge,1===bn&&(Uo.test(Q)||Li.test(Q))){for(((tn=as.test(Q)&&ji(ge.parentNode)||ge)!=ge||!Oe.scope)&&((Bt=ge.getAttribute("id"))?Bt=D.escapeSelector(Bt):ge.setAttribute("id",Bt=Ge)),Et=(wn=Jt(Q)).length;Et--;)wn[Et]=(Bt?"#"+Bt:":scope")+" "+un(wn[Et]);on=wn.join(",")}try{return k.apply(Ae,tn.querySelectorAll(on)),Ae}catch{Ir(Q,!0)}finally{Bt===Ge&&ge.removeAttribute("id")}}}return Wo(Q.replace(In,"$1"),ge,Ae,Fe)}function ys(){var Q=[];return function ge(Ae,Fe){return Q.push(Ae+" ")>h.cacheLength&&delete ge[Q.shift()],ge[Ae+" "]=Fe}}function Qi(Q){return Q[Ge]=!0,Q}function Xi(Q){var ge=U.createElement("fieldset");try{return!!Q(ge)}catch{return!1}finally{ge.parentNode&&ge.parentNode.removeChild(ge),ge=null}}function Vo(Q){return function(ge){return We(ge,"input")&&ge.type===Q}}function Oo(Q){return function(ge){return(We(ge,"input")||We(ge,"button"))&&ge.type===Q}}function Ho(Q){return function(ge){return"form"in ge?ge.parentNode&&!1===ge.disabled?"label"in ge?"label"in ge.parentNode?ge.parentNode.disabled===Q:ge.disabled===Q:ge.isDisabled===Q||ge.isDisabled!==!Q&&xa(ge)===Q:ge.disabled===Q:"label"in ge&&ge.disabled===Q}}function vi(Q){return Qi(function(ge){return ge=+ge,Qi(function(Ae,Fe){for(var Ue,Et=Q([],Ae.length,ge),Rt=Et.length;Rt--;)Ae[Ue=Et[Rt]]&&(Ae[Ue]=!(Fe[Ue]=Ae[Ue]))})})}function ji(Q){return Q&&typeof Q.getElementsByTagName<"u"&&Q}function Ai(Q){var ge,Ae=Q?Q.ownerDocument||Q:ln;return Ae==U||9!==Ae.nodeType||!Ae.documentElement||(ce=(U=Ae).documentElement,re=!D.isXMLDoc(U),He=ce.matches||ce.webkitMatchesSelector||ce.msMatchesSelector,ce.msMatchesSelector&&ln!=U&&(ge=U.defaultView)&&ge.top!==ge&&ge.addEventListener("unload",ls),Oe.getById=Xi(function(Fe){return ce.appendChild(Fe).id=D.expando,!U.getElementsByName||!U.getElementsByName(D.expando).length}),Oe.disconnectedMatch=Xi(function(Fe){return He.call(Fe,"*")}),Oe.scope=Xi(function(){return U.querySelectorAll(":scope")}),Oe.cssHas=Xi(function(){try{return U.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),Oe.getById?(h.filter.ID=function(Fe){var Ue=Fe.replace(Mi,ro);return function(Et){return Et.getAttribute("id")===Ue}},h.find.ID=function(Fe,Ue){if(typeof Ue.getElementById<"u"&&re){var Et=Ue.getElementById(Fe);return Et?[Et]:[]}}):(h.filter.ID=function(Fe){var Ue=Fe.replace(Mi,ro);return function(Et){var Rt=typeof Et.getAttributeNode<"u"&&Et.getAttributeNode("id");return Rt&&Rt.value===Ue}},h.find.ID=function(Fe,Ue){if(typeof Ue.getElementById<"u"&&re){var Et,Rt,Bt,Ot=Ue.getElementById(Fe);if(Ot){if((Et=Ot.getAttributeNode("id"))&&Et.value===Fe)return[Ot];for(Bt=Ue.getElementsByName(Fe),Rt=0;Ot=Bt[Rt++];)if((Et=Ot.getAttributeNode("id"))&&Et.value===Fe)return[Ot]}return[]}}),h.find.TAG=function(Fe,Ue){return typeof Ue.getElementsByTagName<"u"?Ue.getElementsByTagName(Fe):Ue.querySelectorAll(Fe)},h.find.CLASS=function(Fe,Ue){if(typeof Ue.getElementsByClassName<"u"&&re)return Ue.getElementsByClassName(Fe)},Ee=[],Xi(function(Fe){var Ue;ce.appendChild(Fe).innerHTML="<a id='"+Ge+"' href='' disabled='disabled'></a><select id='"+Ge+"-\r\\' disabled='disabled'><option selected=''></option></select>",Fe.querySelectorAll("[selected]").length||Ee.push("\\["+rn+"*(?:value|"+no+")"),Fe.querySelectorAll("[id~="+Ge+"-]").length||Ee.push("~="),Fe.querySelectorAll("a#"+Ge+"+*").length||Ee.push(".#.+[+~]"),Fe.querySelectorAll(":checked").length||Ee.push(":checked"),(Ue=U.createElement("input")).setAttribute("type","hidden"),Fe.appendChild(Ue).setAttribute("name","D"),ce.appendChild(Fe).disabled=!0,2!==Fe.querySelectorAll(":disabled").length&&Ee.push(":enabled",":disabled"),(Ue=U.createElement("input")).setAttribute("name",""),Fe.appendChild(Ue),Fe.querySelectorAll("[name='']").length||Ee.push("\\["+rn+"*name"+rn+"*="+rn+"*(?:''|\"\")")}),Oe.cssHas||Ee.push(":has"),Ee=Ee.length&&new RegExp(Ee.join("|")),Zt=function(Fe,Ue){if(Fe===Ue)return O=!0,0;var Et=!Fe.compareDocumentPosition-!Ue.compareDocumentPosition;return Et||(1&(Et=(Fe.ownerDocument||Fe)==(Ue.ownerDocument||Ue)?Fe.compareDocumentPosition(Ue):1)||!Oe.sortDetached&&Ue.compareDocumentPosition(Fe)===Et?Fe===U||Fe.ownerDocument==ln&&Qn.contains(ln,Fe)?-1:Ue===U||Ue.ownerDocument==ln&&Qn.contains(ln,Ue)?1:T?L.call(T,Fe)-L.call(T,Ue):0:4&Et?-1:1)}),U}for(l in Qn.matches=function(Q,ge){return Qn(Q,null,null,ge)},Qn.matchesSelector=function(Q,ge){if(Ai(Q),re&&!Ir[ge+" "]&&(!Ee||!Ee.test(ge)))try{var Ae=He.call(Q,ge);if(Ae||Oe.disconnectedMatch||Q.document&&11!==Q.document.nodeType)return Ae}catch{Ir(ge,!0)}return Qn(ge,U,null,[Q]).length>0},Qn.contains=function(Q,ge){return(Q.ownerDocument||Q)!=U&&Ai(Q),D.contains(Q,ge)},Qn.attr=function(Q,ge){(Q.ownerDocument||Q)!=U&&Ai(Q);var Ae=h.attrHandle[ge.toLowerCase()],Fe=Ae&&De.call(h.attrHandle,ge.toLowerCase())?Ae(Q,ge,!re):void 0;return void 0!==Fe?Fe:Q.getAttribute(ge)},Qn.error=function(Q){throw new Error("Syntax error, unrecognized expression: "+Q)},D.uniqueSort=function(Q){var ge,Ae=[],Fe=0,Ue=0;if(O=!Oe.sortStable,T=!Oe.sortStable&&u.call(Q,0),nn.call(Q,Zt),O){for(;ge=Q[Ue++];)ge===Q[Ue]&&(Fe=Ae.push(Ue));for(;Fe--;)Kn.call(Q,Ae[Fe],1)}return T=null,Q},D.fn.uniqueSort=function(){return this.pushStack(D.uniqueSort(u.apply(this)))},(h=D.expr={cacheLength:50,createPseudo:Qi,match:Ii,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(Q){return Q[1]=Q[1].replace(Mi,ro),Q[3]=(Q[3]||Q[4]||Q[5]||"").replace(Mi,ro),"~="===Q[2]&&(Q[3]=" "+Q[3]+" "),Q.slice(0,4)},CHILD:function(Q){return Q[1]=Q[1].toLowerCase(),"nth"===Q[1].slice(0,3)?(Q[3]||Qn.error(Q[0]),Q[4]=+(Q[4]?Q[5]+(Q[6]||1):2*("even"===Q[3]||"odd"===Q[3])),Q[5]=+(Q[7]+Q[8]||"odd"===Q[3])):Q[3]&&Qn.error(Q[0]),Q},PSEUDO:function(Q){var ge,Ae=!Q[6]&&Q[2];return Ii.CHILD.test(Q[0])?null:(Q[3]?Q[2]=Q[4]||Q[5]||"":Ae&&mi.test(Ae)&&(ge=Jt(Ae,!0))&&(ge=Ae.indexOf(")",Ae.length-ge)-Ae.length)&&(Q[0]=Q[0].slice(0,ge),Q[2]=Ae.slice(0,ge)),Q.slice(0,3))}},filter:{TAG:function(Q){var ge=Q.replace(Mi,ro).toLowerCase();return"*"===Q?function(){return!0}:function(Ae){return We(Ae,ge)}},CLASS:function(Q){var ge=en[Q+" "];return ge||(ge=new RegExp("(^|"+rn+")"+Q+"("+rn+"|$)"))&&en(Q,function(Ae){return ge.test("string"==typeof Ae.className&&Ae.className||typeof Ae.getAttribute<"u"&&Ae.getAttribute("class")||"")})},ATTR:function(Q,ge,Ae){return function(Fe){var Ue=Qn.attr(Fe,Q);return null==Ue?"!="===ge:!ge||(Ue+="","="===ge?Ue===Ae:"!="===ge?Ue!==Ae:"^="===ge?Ae&&0===Ue.indexOf(Ae):"*="===ge?Ae&&Ue.indexOf(Ae)>-1:"$="===ge?Ae&&Ue.slice(-Ae.length)===Ae:"~="===ge?(" "+Ue.replace(Tn," ")+" ").indexOf(Ae)>-1:"|="===ge&&(Ue===Ae||Ue.slice(0,Ae.length+1)===Ae+"-"))}},CHILD:function(Q,ge,Ae,Fe,Ue){var Et="nth"!==Q.slice(0,3),Rt="last"!==Q.slice(-4),Bt="of-type"===ge;return 1===Fe&&0===Ue?function(Ot){return!!Ot.parentNode}:function(Ot,wn,on){var tn,bn,xt,Xn,St,wr=Et!==Rt?"nextSibling":"previousSibling",Xr=Ot.parentNode,yi=Bt&&Ot.nodeName.toLowerCase(),yo=!on&&!Bt,Br=!1;if(Xr){if(Et){for(;wr;){for(xt=Ot;xt=xt[wr];)if(Bt?We(xt,yi):1===xt.nodeType)return!1;St=wr="only"===Q&&!St&&"nextSibling"}return!0}if(St=[Rt?Xr.firstChild:Xr.lastChild],Rt&&yo){for(Br=(Xn=(tn=(bn=Xr[Ge]||(Xr[Ge]={}))[Q]||[])[0]===pe&&tn[1])&&tn[2],xt=Xn&&Xr.childNodes[Xn];xt=++Xn&&xt&&xt[wr]||(Br=Xn=0)||St.pop();)if(1===xt.nodeType&&++Br&&xt===Ot){bn[Q]=[pe,Xn,Br];break}}else if(yo&&(Br=Xn=(tn=(bn=Ot[Ge]||(Ot[Ge]={}))[Q]||[])[0]===pe&&tn[1]),!1===Br)for(;(xt=++Xn&&xt&&xt[wr]||(Br=Xn=0)||St.pop())&&(!(Bt?We(xt,yi):1===xt.nodeType)||!++Br||(yo&&((bn=xt[Ge]||(xt[Ge]={}))[Q]=[pe,Br]),xt!==Ot)););return(Br-=Ue)===Fe||Br%Fe==0&&Br/Fe>=0}}},PSEUDO:function(Q,ge){var Ae,Fe=h.pseudos[Q]||h.setFilters[Q.toLowerCase()]||Qn.error("unsupported pseudo: "+Q);return Fe[Ge]?Fe(ge):Fe.length>1?(Ae=[Q,Q,"",ge],h.setFilters.hasOwnProperty(Q.toLowerCase())?Qi(function(Ue,Et){for(var Rt,Bt=Fe(Ue,ge),Ot=Bt.length;Ot--;)Ue[Rt=L.call(Ue,Bt[Ot])]=!(Et[Rt]=Bt[Ot])}):function(Ue){return Fe(Ue,0,Ae)}):Fe}},pseudos:{not:Qi(function(Q){var ge=[],Ae=[],Fe=vo(Q.replace(In,"$1"));return Fe[Ge]?Qi(function(Ue,Et,Rt,Bt){for(var Ot,wn=Fe(Ue,null,Bt,[]),on=Ue.length;on--;)(Ot=wn[on])&&(Ue[on]=!(Et[on]=Ot))}):function(Ue,Et,Rt){return ge[0]=Ue,Fe(ge,null,Rt,Ae),ge[0]=null,!Ae.pop()}}),has:Qi(function(Q){return function(ge){return Qn(Q,ge).length>0}}),contains:Qi(function(Q){return Q=Q.replace(Mi,ro),function(ge){return(ge.textContent||D.text(ge)).indexOf(Q)>-1}}),lang:Qi(function(Q){return $o.test(Q||"")||Qn.error("unsupported lang: "+Q),Q=Q.replace(Mi,ro).toLowerCase(),function(ge){var Ae;do{if(Ae=re?ge.lang:ge.getAttribute("xml:lang")||ge.getAttribute("lang"))return(Ae=Ae.toLowerCase())===Q||0===Ae.indexOf(Q+"-")}while((ge=ge.parentNode)&&1===ge.nodeType);return!1}}),target:function(Q){var ge=x.location&&x.location.hash;return ge&&ge.slice(1)===Q.id},root:function(Q){return Q===ce},focus:function(Q){return Q===function Pa(){try{return U.activeElement}catch{}}()&&U.hasFocus()&&!!(Q.type||Q.href||~Q.tabIndex)},enabled:Ho(!1),disabled:Ho(!0),checked:function(Q){return We(Q,"input")&&!!Q.checked||We(Q,"option")&&!!Q.selected},selected:function(Q){return!0===Q.selected},empty:function(Q){for(Q=Q.firstChild;Q;Q=Q.nextSibling)if(Q.nodeType<6)return!1;return!0},parent:function(Q){return!h.pseudos.empty(Q)},header:function(Q){return Qr.test(Q.nodeName)},input:function(Q){return Lt.test(Q.nodeName)},button:function(Q){return We(Q,"input")&&"button"===Q.type||We(Q,"button")},text:function(Q){var ge;return We(Q,"input")&&"text"===Q.type&&(null==(ge=Q.getAttribute("type"))||"text"===ge.toLowerCase())},first:vi(function(){return[0]}),last:vi(function(Q,ge){return[ge-1]}),eq:vi(function(Q,ge,Ae){return[Ae<0?Ae+ge:Ae]}),even:vi(function(Q,ge){for(var Ae=0;Ae<ge;Ae+=2)Q.push(Ae);return Q}),odd:vi(function(Q,ge){for(var Ae=1;Ae<ge;Ae+=2)Q.push(Ae);return Q}),lt:vi(function(Q,ge,Ae){var Fe;for(Fe=Ae<0?Ae+ge:Ae>ge?ge:Ae;--Fe>=0;)Q.push(Fe);return Q}),gt:vi(function(Q,ge,Ae){for(var Fe=Ae<0?Ae+ge:Ae;++Fe<ge;)Q.push(Fe);return Q})}}).pseudos.nth=h.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})h.pseudos[l]=Vo(l);for(l in{submit:!0,reset:!0})h.pseudos[l]=Oo(l);function cs(){}function Jt(Q,ge){var Ae,Fe,Ue,Et,Rt,Bt,Ot,wn=An[Q+" "];if(wn)return ge?0:wn.slice(0);for(Rt=Q,Bt=[],Ot=h.preFilter;Rt;){for(Et in(!Ae||(Fe=fr.exec(Rt)))&&(Fe&&(Rt=Rt.slice(Fe[0].length)||Rt),Bt.push(Ue=[])),Ae=!1,(Fe=Li.exec(Rt))&&(Ae=Fe.shift(),Ue.push({value:Ae,type:Fe[0].replace(In," ")}),Rt=Rt.slice(Ae.length)),h.filter)(Fe=Ii[Et].exec(Rt))&&(!Ot[Et]||(Fe=Ot[Et](Fe)))&&(Ae=Fe.shift(),Ue.push({value:Ae,type:Et,matches:Fe}),Rt=Rt.slice(Ae.length));if(!Ae)break}return ge?Rt.length:Rt?Qn.error(Q):An(Q,Bt).slice(0)}function un(Q){for(var ge=0,Ae=Q.length,Fe="";ge<Ae;ge++)Fe+=Q[ge].value;return Fe}function zo(Q,ge,Ae){var Fe=ge.dir,Ue=ge.next,Et=Ue||Fe,Rt=Ae&&"parentNode"===Et,Bt=pt++;return ge.first?function(Ot,wn,on){for(;Ot=Ot[Fe];)if(1===Ot.nodeType||Rt)return Q(Ot,wn,on);return!1}:function(Ot,wn,on){var tn,bn,xt=[pe,Bt];if(on){for(;Ot=Ot[Fe];)if((1===Ot.nodeType||Rt)&&Q(Ot,wn,on))return!0}else for(;Ot=Ot[Fe];)if(1===Ot.nodeType||Rt)if(bn=Ot[Ge]||(Ot[Ge]={}),Ue&&We(Ot,Ue))Ot=Ot[Fe]||Ot;else{if((tn=bn[Et])&&tn[0]===pe&&tn[1]===Bt)return xt[2]=tn[2];if(bn[Et]=xt,xt[2]=Q(Ot,wn,on))return!0}return!1}}function No(Q){return Q.length>1?function(ge,Ae,Fe){for(var Ue=Q.length;Ue--;)if(!Q[Ue](ge,Ae,Fe))return!1;return!0}:Q[0]}function Es(Q,ge,Ae,Fe,Ue){for(var Et,Rt=[],Bt=0,Ot=Q.length,wn=null!=ge;Bt<Ot;Bt++)(Et=Q[Bt])&&(!Ae||Ae(Et,Fe,Ue))&&(Rt.push(Et),wn&&ge.push(Bt));return Rt}function Ds(Q,ge,Ae,Fe,Ue,Et){return Fe&&!Fe[Ge]&&(Fe=Ds(Fe)),Ue&&!Ue[Ge]&&(Ue=Ds(Ue,Et)),Qi(function(Rt,Bt,Ot,wn){var on,tn,bn,xt,Xn=[],St=[],wr=Bt.length,Xr=Rt||function Zo(Q,ge,Ae){for(var Fe=0,Ue=ge.length;Fe<Ue;Fe++)Qn(Q,ge[Fe],Ae);return Ae}(ge||"*",Ot.nodeType?[Ot]:Ot,[]),yi=!Q||!Rt&&ge?Xr:Es(Xr,Xn,Q,Ot,wn);if(Ae?Ae(yi,xt=Ue||(Rt?Q:wr||Fe)?[]:Bt,Ot,wn):xt=yi,Fe)for(on=Es(xt,St),Fe(on,[],Ot,wn),tn=on.length;tn--;)(bn=on[tn])&&(xt[St[tn]]=!(yi[St[tn]]=bn));if(Rt){if(Ue||Q){if(Ue){for(on=[],tn=xt.length;tn--;)(bn=xt[tn])&&on.push(yi[tn]=bn);Ue(null,xt=[],on,wn)}for(tn=xt.length;tn--;)(bn=xt[tn])&&(on=Ue?L.call(Rt,bn):Xn[tn])>-1&&(Rt[on]=!(Bt[on]=bn))}}else xt=Es(xt===Bt?xt.splice(wr,xt.length):xt),Ue?Ue(null,Bt,xt,wn):k.apply(Bt,xt)})}function ko(Q){for(var ge,Ae,Fe,Ue=Q.length,Et=h.relative[Q[0].type],Rt=Et||h.relative[" "],Bt=Et?1:0,Ot=zo(function(tn){return tn===ge},Rt,!0),wn=zo(function(tn){return L.call(ge,tn)>-1},Rt,!0),on=[function(tn,bn,xt){var Xn=!Et&&(xt||bn!=E)||((ge=bn).nodeType?Ot(tn,bn,xt):wn(tn,bn,xt));return ge=null,Xn}];Bt<Ue;Bt++)if(Ae=h.relative[Q[Bt].type])on=[zo(No(on),Ae)];else{if((Ae=h.filter[Q[Bt].type].apply(null,Q[Bt].matches))[Ge]){for(Fe=++Bt;Fe<Ue&&!h.relative[Q[Fe].type];Fe++);return Ds(Bt>1&&No(on),Bt>1&&un(Q.slice(0,Bt-1).concat({value:" "===Q[Bt-2].type?"*":""})).replace(In,"$1"),Ae,Bt<Fe&&ko(Q.slice(Bt,Fe)),Fe<Ue&&ko(Q=Q.slice(Fe)),Fe<Ue&&un(Q))}on.push(Ae)}return No(on)}function vo(Q,ge){var Ae,Fe=[],Ue=[],Et=En[Q+" "];if(!Et){for(ge||(ge=Jt(Q)),Ae=ge.length;Ae--;)(Et=ko(ge[Ae]))[Ge]?Fe.push(Et):Ue.push(Et);Et=En(Q,function _n(Q,ge){var Ae=ge.length>0,Fe=Q.length>0,Ue=function(Et,Rt,Bt,Ot,wn){var on,tn,bn,xt=0,Xn="0",St=Et&&[],wr=[],Xr=E,yi=Et||Fe&&h.find.TAG("*",wn),yo=pe+=null==Xr?1:Math.random()||.1,Br=yi.length;for(wn&&(E=Rt==U||Rt||wn);Xn!==Br&&null!=(on=yi[Xn]);Xn++){if(Fe&&on){for(tn=0,!Rt&&on.ownerDocument!=U&&(Ai(on),Bt=!re);bn=Q[tn++];)if(bn(on,Rt||U,Bt)){k.call(Ot,on);break}wn&&(pe=yo)}Ae&&((on=!bn&&on)&&xt--,Et&&St.push(on))}if(xt+=Xn,Ae&&Xn!==xt){for(tn=0;bn=ge[tn++];)bn(St,wr,Rt,Bt);if(Et){if(xt>0)for(;Xn--;)St[Xn]||wr[Xn]||(wr[Xn]=$t.call(Ot));wr=Es(wr)}k.apply(Ot,wr),wn&&!Et&&wr.length>0&&xt+ge.length>1&&D.uniqueSort(Ot)}return wn&&(pe=yo,E=Xr),St};return Ae?Qi(Ue):Ue}(Ue,Fe)),Et.selector=Q}return Et}function Wo(Q,ge,Ae,Fe){var Ue,Et,Rt,Bt,Ot,wn="function"==typeof Q&&Q,on=!Fe&&Jt(Q=wn.selector||Q);if(Ae=Ae||[],1===on.length){if((Et=on[0]=on[0].slice(0)).length>2&&"ID"===(Rt=Et[0]).type&&9===ge.nodeType&&re&&h.relative[Et[1].type]){if(!(ge=(h.find.ID(Rt.matches[0].replace(Mi,ro),ge)||[])[0]))return Ae;wn&&(ge=ge.parentNode),Q=Q.slice(Et.shift().value.length)}for(Ue=Ii.needsContext.test(Q)?0:Et.length;Ue--&&!h.relative[Bt=(Rt=Et[Ue]).type];)if((Ot=h.find[Bt])&&(Fe=Ot(Rt.matches[0].replace(Mi,ro),as.test(Et[0].type)&&ji(ge.parentNode)||ge))){if(Et.splice(Ue,1),!(Q=Fe.length&&un(Et)))return k.apply(Ae,Fe),Ae;break}}return(wn||vo(Q,on))(Fe,ge,!re,Ae,!ge||as.test(Q)&&ji(ge.parentNode)||ge),Ae}cs.prototype=h.filters=h.pseudos,h.setFilters=new cs,Oe.sortStable=Ge.split("").sort(Zt).join("")===Ge,Ai(),Oe.sortDetached=Xi(function(Q){return 1&Q.compareDocumentPosition(U.createElement("fieldset"))}),D.find=Qn,D.expr[":"]=D.expr.pseudos,D.unique=D.uniqueSort,Qn.compile=vo,Qn.select=Wo,Qn.setDocument=Ai,Qn.tokenize=Jt,Qn.escape=D.escapeSelector,Qn.getText=D.text,Qn.isXML=D.isXMLDoc,Qn.selectors=D.expr,Qn.support=D.support,Qn.uniqueSort=D.uniqueSort}();var sr=function(l,h,E){for(var T=[],O=void 0!==E;(l=l[h])&&9!==l.nodeType;)if(1===l.nodeType){if(O&&D(l).is(E))break;T.push(l)}return T},vr=function(l,h){for(var E=[];l;l=l.nextSibling)1===l.nodeType&&l!==h&&E.push(l);return E},_e=D.expr.match.needsContext,Me=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ue(l,h,E){return at(h)?D.grep(l,function(T,O){return!!h.call(T,O,T)!==E}):h.nodeType?D.grep(l,function(T){return T===h!==E}):"string"!=typeof h?D.grep(l,function(T){return L.call(h,T)>-1!==E}):D.filter(h,l,E)}D.filter=function(l,h,E){var T=h[0];return E&&(l=":not("+l+")"),1===h.length&&1===T.nodeType?D.find.matchesSelector(T,l)?[T]:[]:D.find.matches(l,D.grep(h,function(O){return 1===O.nodeType}))},D.fn.extend({find:function(l){var h,E,T=this.length,O=this;if("string"!=typeof l)return this.pushStack(D(l).filter(function(){for(h=0;h<T;h++)if(D.contains(O[h],this))return!0}));for(E=this.pushStack([]),h=0;h<T;h++)D.find(l,O[h],E);return T>1?D.uniqueSort(E):E},filter:function(l){return this.pushStack(ue(this,l||[],!1))},not:function(l){return this.pushStack(ue(this,l||[],!0))},is:function(l){return!!ue(this,"string"==typeof l&&_e.test(l)?D(l):l||[],!1).length}});var ve,ne=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Z=D.fn.init=function(l,h,E){var T,O;if(!l)return this;if(E=E||ve,"string"==typeof l){if(!(T="<"===l[0]&&">"===l[l.length-1]&&l.length>=3?[null,l,null]:ne.exec(l))||!T[1]&&h)return!h||h.jquery?(h||E).find(l):this.constructor(h).find(l);if(T[1]){if(D.merge(this,D.parseHTML(T[1],(h=h instanceof D?h[0]:h)&&h.nodeType?h.ownerDocument||h:st,!0)),Me.test(T[1])&&D.isPlainObject(h))for(T in h)at(this[T])?this[T](h[T]):this.attr(T,h[T]);return this}return(O=st.getElementById(T[2]))&&(this[0]=O,this.length=1),this}return l.nodeType?(this[0]=l,this.length=1,this):at(l)?void 0!==E.ready?E.ready(l):l(D):D.makeArray(l,this)};Z.prototype=D.fn,ve=D(st);var ke=/^(?:parents|prev(?:Until|All))/,ot={children:!0,contents:!0,next:!0,prev:!0};function an(l,h){for(;(l=l[h])&&1!==l.nodeType;);return l}D.fn.extend({has:function(l){var h=D(l,this),E=h.length;return this.filter(function(){for(var T=0;T<E;T++)if(D.contains(this,h[T]))return!0})},closest:function(l,h){var E,T=0,O=this.length,k=[],U="string"!=typeof l&&D(l);if(!_e.test(l))for(;T<O;T++)for(E=this[T];E&&E!==h;E=E.parentNode)if(E.nodeType<11&&(U?U.index(E)>-1:1===E.nodeType&&D.find.matchesSelector(E,l))){k.push(E);break}return this.pushStack(k.length>1?D.uniqueSort(k):k)},index:function(l){return l?"string"==typeof l?L.call(D(l),this[0]):L.call(this,l.jquery?l[0]:l):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(l,h){return this.pushStack(D.uniqueSort(D.merge(this.get(),D(l,h))))},addBack:function(l){return this.add(null==l?this.prevObject:this.prevObject.filter(l))}}),D.each({parent:function(l){var h=l.parentNode;return h&&11!==h.nodeType?h:null},parents:function(l){return sr(l,"parentNode")},parentsUntil:function(l,h,E){return sr(l,"parentNode",E)},next:function(l){return an(l,"nextSibling")},prev:function(l){return an(l,"previousSibling")},nextAll:function(l){return sr(l,"nextSibling")},prevAll:function(l){return sr(l,"previousSibling")},nextUntil:function(l,h,E){return sr(l,"nextSibling",E)},prevUntil:function(l,h,E){return sr(l,"previousSibling",E)},siblings:function(l){return vr((l.parentNode||{}).firstChild,l)},children:function(l){return vr(l.firstChild)},contents:function(l){return null!=l.contentDocument&&X(l.contentDocument)?l.contentDocument:(We(l,"template")&&(l=l.content||l),D.merge([],l.childNodes))}},function(l,h){D.fn[l]=function(E,T){var O=D.map(this,h,E);return"Until"!==l.slice(-5)&&(T=E),T&&"string"==typeof T&&(O=D.filter(T,O)),this.length>1&&(ot[l]||D.uniqueSort(O),ke.test(l)&&O.reverse()),this.pushStack(O)}});var Dt=/[^\x20\t\r\n\f]+/g;function At(l){return l}function xe(l){throw l}function dt(l,h,E,T){var O;try{l&&at(O=l.promise)?O.call(l).done(h).fail(E):l&&at(O=l.then)?O.call(l,h,E):h.apply(void 0,[l].slice(T))}catch(k){E.apply(void 0,[k])}}D.Callbacks=function(l){l="string"==typeof l?function pn(l){var h={};return D.each(l.match(Dt)||[],function(E,T){h[T]=!0}),h}(l):D.extend({},l);var h,E,T,O,k=[],U=[],ce=-1,re=function(){for(O=O||l.once,T=h=!0;U.length;ce=-1)for(E=U.shift();++ce<k.length;)!1===k[ce].apply(E[0],E[1])&&l.stopOnFalse&&(ce=k.length,E=!1);l.memory||(E=!1),h=!1,O&&(k=E?[]:"")},Ee={add:function(){return k&&(E&&!h&&(ce=k.length-1,U.push(E)),function He(Ge){D.each(Ge,function(pe,pt){at(pt)?(!l.unique||!Ee.has(pt))&&k.push(pt):pt&&pt.length&&"string"!==Qe(pt)&&He(pt)})}(arguments),E&&!h&&re()),this},remove:function(){return D.each(arguments,function(He,Ge){for(var pe;(pe=D.inArray(Ge,k,pe))>-1;)k.splice(pe,1),pe<=ce&&ce--}),this},has:function(He){return He?D.inArray(He,k)>-1:k.length>0},empty:function(){return k&&(k=[]),this},disable:function(){return O=U=[],k=E="",this},disabled:function(){return!k},lock:function(){return O=U=[],!E&&!h&&(k=E=""),this},locked:function(){return!!O},fireWith:function(He,Ge){return O||(Ge=[He,(Ge=Ge||[]).slice?Ge.slice():Ge],U.push(Ge),h||re()),this},fire:function(){return Ee.fireWith(this,arguments),this},fired:function(){return!!T}};return Ee},D.extend({Deferred:function(l){var h=[["notify","progress",D.Callbacks("memory"),D.Callbacks("memory"),2],["resolve","done",D.Callbacks("once memory"),D.Callbacks("once memory"),0,"resolved"],["reject","fail",D.Callbacks("once memory"),D.Callbacks("once memory"),1,"rejected"]],E="pending",T={state:function(){return E},always:function(){return O.done(arguments).fail(arguments),this},catch:function(k){return T.then(null,k)},pipe:function(){var k=arguments;return D.Deferred(function(U){D.each(h,function(ce,re){var Ee=at(k[re[4]])&&k[re[4]];O[re[1]](function(){var He=Ee&&Ee.apply(this,arguments);He&&at(He.promise)?He.promise().progress(U.notify).done(U.resolve).fail(U.reject):U[re[0]+"With"](this,Ee?[He]:arguments)})}),k=null}).promise()},then:function(k,U,ce){var re=0;function Ee(He,Ge,pe,pt){return function(){var en=this,An=arguments,En=function(){var Zt,no;if(!(He<re)){if((Zt=pe.apply(en,An))===Ge.promise())throw new TypeError("Thenable self-resolution");at(no=Zt&&("object"==typeof Zt||"function"==typeof Zt)&&Zt.then)?pt?no.call(Zt,Ee(re,Ge,At,pt),Ee(re,Ge,xe,pt)):(re++,no.call(Zt,Ee(re,Ge,At,pt),Ee(re,Ge,xe,pt),Ee(re,Ge,At,Ge.notifyWith))):(pe!==At&&(en=void 0,An=[Zt]),(pt||Ge.resolveWith)(en,An))}},Ir=pt?En:function(){try{En()}catch(Zt){D.Deferred.exceptionHook&&D.Deferred.exceptionHook(Zt,Ir.error),He+1>=re&&(pe!==xe&&(en=void 0,An=[Zt]),Ge.rejectWith(en,An))}};He?Ir():(D.Deferred.getErrorHook?Ir.error=D.Deferred.getErrorHook():D.Deferred.getStackHook&&(Ir.error=D.Deferred.getStackHook()),x.setTimeout(Ir))}}return D.Deferred(function(He){h[0][3].add(Ee(0,He,at(ce)?ce:At,He.notifyWith)),h[1][3].add(Ee(0,He,at(k)?k:At)),h[2][3].add(Ee(0,He,at(U)?U:xe))}).promise()},promise:function(k){return null!=k?D.extend(k,T):T}},O={};return D.each(h,function(k,U){var ce=U[2],re=U[5];T[U[1]]=ce.add,re&&ce.add(function(){E=re},h[3-k][2].disable,h[3-k][3].disable,h[0][2].lock,h[0][3].lock),ce.add(U[3].fire),O[U[0]]=function(){return O[U[0]+"With"](this===O?void 0:this,arguments),this},O[U[0]+"With"]=ce.fireWith}),T.promise(O),l&&l.call(O,O),O},when:function(l){var h=arguments.length,E=h,T=Array(E),O=u.call(arguments),k=D.Deferred(),U=function(ce){return function(re){T[ce]=this,O[ce]=arguments.length>1?u.call(arguments):re,--h||k.resolveWith(T,O)}};if(h<=1&&(dt(l,k.done(U(E)).resolve,k.reject,!h),"pending"===k.state()||at(O[E]&&O[E].then)))return k.then();for(;E--;)dt(O[E],U(E),k.reject);return k.promise()}});var oe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;D.Deferred.exceptionHook=function(l,h){x.console&&x.console.warn&&l&&oe.test(l.name)&&x.console.warn("jQuery.Deferred exception: "+l.message,l.stack,h)},D.readyException=function(l){x.setTimeout(function(){throw l})};var Se=D.Deferred();function rt(){st.removeEventListener("DOMContentLoaded",rt),x.removeEventListener("load",rt),D.ready()}D.fn.ready=function(l){return Se.then(l).catch(function(h){D.readyException(h)}),this},D.extend({isReady:!1,readyWait:1,ready:function(l){(!0===l?--D.readyWait:D.isReady)||(D.isReady=!0,!(!0!==l&&--D.readyWait>0)&&Se.resolveWith(st,[D]))}}),D.ready.then=Se.then,"complete"===st.readyState||"loading"!==st.readyState&&!st.documentElement.doScroll?x.setTimeout(D.ready):(st.addEventListener("DOMContentLoaded",rt),x.addEventListener("load",rt));var ut=function(l,h,E,T,O,k,U){var ce=0,re=l.length,Ee=null==E;if("object"===Qe(E))for(ce in O=!0,E)ut(l,h,ce,E[ce],!0,k,U);else if(void 0!==T&&(O=!0,at(T)||(U=!0),Ee&&(U?(h.call(l,T),h=null):(Ee=h,h=function(He,Ge,pe){return Ee.call(D(He),pe)})),h))for(;ce<re;ce++)h(l[ce],E,U?T:T.call(l[ce],ce,h(l[ce],E)));return O?l:Ee?h.call(l):re?h(l[0],E):k},kt=/^-ms-/,qn=/-([a-z])/g;function Xe(l,h){return h.toUpperCase()}function Ct(l){return l.replace(kt,"ms-").replace(qn,Xe)}var Ve=function(l){return 1===l.nodeType||9===l.nodeType||!+l.nodeType};function ct(){this.expando=D.expando+ct.uid++}ct.uid=1,ct.prototype={cache:function(l){var h=l[this.expando];return h||(h={},Ve(l)&&(l.nodeType?l[this.expando]=h:Object.defineProperty(l,this.expando,{value:h,configurable:!0}))),h},set:function(l,h,E){var T,O=this.cache(l);if("string"==typeof h)O[Ct(h)]=E;else for(T in h)O[Ct(T)]=h[T];return O},get:function(l,h){return void 0===h?this.cache(l):l[this.expando]&&l[this.expando][Ct(h)]},access:function(l,h,E){return void 0===h||h&&"string"==typeof h&&void 0===E?this.get(l,h):(this.set(l,h,E),void 0!==E?E:h)},remove:function(l,h){var E,T=l[this.expando];if(void 0!==T){if(void 0!==h)for((E=(h=Array.isArray(h)?h.map(Ct):(h=Ct(h))in T?[h]:h.match(Dt)||[]).length);E--;)delete T[h[E]];(void 0===h||D.isEmptyObject(T))&&(l.nodeType?l[this.expando]=void 0:delete l[this.expando])}},hasData:function(l){var h=l[this.expando];return void 0!==h&&!D.isEmptyObject(h)}};var tt=new ct,Kt=new ct,jt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Rn=/[A-Z]/g;function tr(l,h,E){var T;if(void 0===E&&1===l.nodeType)if(T="data-"+h.replace(Rn,"-$&").toLowerCase(),"string"==typeof(E=l.getAttribute(T))){try{E=function er(l){return"true"===l||"false"!==l&&("null"===l?null:l===+l+""?+l:jt.test(l)?JSON.parse(l):l)}(E)}catch{}Kt.set(l,h,E)}else E=void 0;return E}D.extend({hasData:function(l){return Kt.hasData(l)||tt.hasData(l)},data:function(l,h,E){return Kt.access(l,h,E)},removeData:function(l,h){Kt.remove(l,h)},_data:function(l,h,E){return tt.access(l,h,E)},_removeData:function(l,h){tt.remove(l,h)}}),D.fn.extend({data:function(l,h){var E,T,O,k=this[0],U=k&&k.attributes;if(void 0===l){if(this.length&&(O=Kt.get(k),1===k.nodeType&&!tt.get(k,"hasDataAttrs"))){for(E=U.length;E--;)U[E]&&0===(T=U[E].name).indexOf("data-")&&(T=Ct(T.slice(5)),tr(k,T,O[T]));tt.set(k,"hasDataAttrs",!0)}return O}return"object"==typeof l?this.each(function(){Kt.set(this,l)}):ut(this,function(ce){var re;if(k&&void 0===ce)return void 0!==(re=Kt.get(k,l))||void 0!==(re=tr(k,l))?re:void 0;this.each(function(){Kt.set(this,l,ce)})},null,h,arguments.length>1,null,!0)},removeData:function(l){return this.each(function(){Kt.remove(this,l)})}}),D.extend({queue:function(l,h,E){var T;if(l)return T=tt.get(l,h=(h||"fx")+"queue"),E&&(!T||Array.isArray(E)?T=tt.access(l,h,D.makeArray(E)):T.push(E)),T||[]},dequeue:function(l,h){var E=D.queue(l,h=h||"fx"),T=E.length,O=E.shift(),k=D._queueHooks(l,h);"inprogress"===O&&(O=E.shift(),T--),O&&("fx"===h&&E.unshift("inprogress"),delete k.stop,O.call(l,function(){D.dequeue(l,h)},k)),!T&&k&&k.empty.fire()},_queueHooks:function(l,h){var E=h+"queueHooks";return tt.get(l,E)||tt.access(l,E,{empty:D.Callbacks("once memory").add(function(){tt.remove(l,[h+"queue",E])})})}}),D.fn.extend({queue:function(l,h){var E=2;return"string"!=typeof l&&(h=l,l="fx",E--),arguments.length<E?D.queue(this[0],l):void 0===h?this:this.each(function(){var T=D.queue(this,l,h);D._queueHooks(this,l),"fx"===l&&"inprogress"!==T[0]&&D.dequeue(this,l)})},dequeue:function(l){return this.each(function(){D.dequeue(this,l)})},clearQueue:function(l){return this.queue(l||"fx",[])},promise:function(l,h){var E,T=1,O=D.Deferred(),k=this,U=this.length,ce=function(){--T||O.resolveWith(k,[k])};for("string"!=typeof l&&(h=l,l=void 0),l=l||"fx";U--;)(E=tt.get(k[U],l+"queueHooks"))&&E.empty&&(T++,E.empty.add(ce));return ce(),O.promise(h)}});var yr=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,vt=new RegExp("^(?:([+-])=|)("+yr+")([a-z%]*)$","i"),ar=["Top","Right","Bottom","Left"],Rr=st.documentElement,jn=function(l){return D.contains(l.ownerDocument,l)},Pr={composed:!0};Rr.getRootNode&&(jn=function(l){return D.contains(l.ownerDocument,l)||l.getRootNode(Pr)===l.ownerDocument});var Nt=function(l,h){return"none"===(l=h||l).style.display||""===l.style.display&&jn(l)&&"none"===D.css(l,"display")};function Ni(l,h,E,T){var O,k,U=20,ce=T?function(){return T.cur()}:function(){return D.css(l,h,"")},re=ce(),Ee=E&&E[3]||(D.cssNumber[h]?"":"px"),He=l.nodeType&&(D.cssNumber[h]||"px"!==Ee&&+re)&&vt.exec(D.css(l,h));if(He&&He[3]!==Ee){for(Ee=Ee||He[3],He=+(re/=2)||1;U--;)D.style(l,h,He+Ee),(1-k)*(1-(k=ce()/re||.5))<=0&&(U=0),He/=k;D.style(l,h,(He*=2)+Ee),E=E||[]}return E&&(He=+He||+re||0,O=E[1]?He+(E[1]+1)*E[2]:+E[2],T&&(T.unit=Ee,T.start=He,T.end=O)),O}var bi={};function Hi(l){var h,E=l.ownerDocument,T=l.nodeName,O=bi[T];return O||(h=E.body.appendChild(E.createElement(T)),O=D.css(h,"display"),h.parentNode.removeChild(h),"none"===O&&(O="block"),bi[T]=O,O)}function oi(l,h){for(var E,T,O=[],k=0,U=l.length;k<U;k++)(T=l[k]).style&&(E=T.style.display,h?("none"===E&&(O[k]=tt.get(T,"display")||null,O[k]||(T.style.display="")),""===T.style.display&&Nt(T)&&(O[k]=Hi(T))):"none"!==E&&(O[k]="none",tt.set(T,"display",E)));for(k=0;k<U;k++)null!=O[k]&&(l[k].style.display=O[k]);return l}D.fn.extend({show:function(){return oi(this,!0)},hide:function(){return oi(this)},toggle:function(l){return"boolean"==typeof l?l?this.show():this.hide():this.each(function(){Nt(this)?D(this).show():D(this).hide()})}});var h,E,si=/^(?:checkbox|radio)$/i,ki=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Mo=/^$|^module$|\/(?:java|ecma)script/i;h=st.createDocumentFragment().appendChild(st.createElement("div")),(E=st.createElement("input")).setAttribute("type","radio"),E.setAttribute("checked","checked"),E.setAttribute("name","t"),h.appendChild(E),Oe.checkClone=h.cloneNode(!0).cloneNode(!0).lastChild.checked,h.innerHTML="<textarea>x</textarea>",Oe.noCloneChecked=!!h.cloneNode(!0).lastChild.defaultValue,h.innerHTML="<option></option>",Oe.option=!!h.lastChild;var Fr={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Er(l,h){var E;return E=typeof l.getElementsByTagName<"u"?l.getElementsByTagName(h||"*"):typeof l.querySelectorAll<"u"?l.querySelectorAll(h||"*"):[],void 0===h||h&&We(l,h)?D.merge([l],E):E}function ai(l,h){for(var E=0,T=l.length;E<T;E++)tt.set(l[E],"globalEval",!h||tt.get(h[E],"globalEval"))}Fr.tbody=Fr.tfoot=Fr.colgroup=Fr.caption=Fr.thead,Fr.th=Fr.td,Oe.option||(Fr.optgroup=Fr.option=[1,"<select multiple='multiple'>","</select>"]);var uo=/<|&#?\w+;/;function fo(l,h,E,T,O){for(var k,U,ce,re,Ee,He,Ge=h.createDocumentFragment(),pe=[],pt=0,en=l.length;pt<en;pt++)if((k=l[pt])||0===k)if("object"===Qe(k))D.merge(pe,k.nodeType?[k]:k);else if(uo.test(k)){for(U=U||Ge.appendChild(h.createElement("div")),ce=(ki.exec(k)||["",""])[1].toLowerCase(),U.innerHTML=(re=Fr[ce]||Fr._default)[1]+D.htmlPrefilter(k)+re[2],He=re[0];He--;)U=U.lastChild;D.merge(pe,U.childNodes),(U=Ge.firstChild).textContent=""}else pe.push(h.createTextNode(k));for(Ge.textContent="",pt=0;k=pe[pt++];)if(T&&D.inArray(k,T)>-1)O&&O.push(k);else if(Ee=jn(k),U=Er(Ge.appendChild(k),"script"),Ee&&ai(U),E)for(He=0;k=U[He++];)Mo.test(k.type||"")&&E.push(k);return Ge}var to=/^([^.]*)(?:\.(.+)|)/;function Lr(){return!0}function Dr(){return!1}function Hr(l,h,E,T,O,k){var U,ce;if("object"==typeof h){for(ce in"string"!=typeof E&&(T=T||E,E=void 0),h)Hr(l,ce,E,T,h[ce],k);return l}if(null==T&&null==O?(O=E,T=E=void 0):null==O&&("string"==typeof E?(O=T,T=void 0):(O=T,T=E,E=void 0)),!1===O)O=Dr;else if(!O)return l;return 1===k&&(U=O,O=function(re){return D().off(re),U.apply(this,arguments)},O.guid=U.guid||(U.guid=D.guid++)),l.each(function(){D.event.add(this,h,O,T,E)})}function Ti(l,h,E){E?(tt.set(l,h,!1),D.event.add(l,h,{namespace:!1,handler:function(T){var O,k=tt.get(this,h);if(1&T.isTrigger&&this[h]){if(k)(D.event.special[h]||{}).delegateType&&T.stopPropagation();else if(k=u.call(arguments),tt.set(this,h,k),this[h](),O=tt.get(this,h),tt.set(this,h,!1),k!==O)return T.stopImmediatePropagation(),T.preventDefault(),O}else k&&(tt.set(this,h,D.event.trigger(k[0],k.slice(1),this)),T.stopPropagation(),T.isImmediatePropagationStopped=Lr)}})):void 0===tt.get(l,h)&&D.event.add(l,h,Lr)}D.event={global:{},add:function(l,h,E,T,O){var k,U,ce,re,Ee,He,Ge,pe,pt,en,An,En=tt.get(l);if(Ve(l))for(E.handler&&(E=(k=E).handler,O=k.selector),O&&D.find.matchesSelector(Rr,O),E.guid||(E.guid=D.guid++),(re=En.events)||(re=En.events=Object.create(null)),(U=En.handle)||(U=En.handle=function(Ir){return typeof D<"u"&&D.event.triggered!==Ir.type?D.event.dispatch.apply(l,arguments):void 0}),Ee=(h=(h||"").match(Dt)||[""]).length;Ee--;)pt=An=(ce=to.exec(h[Ee])||[])[1],en=(ce[2]||"").split(".").sort(),pt&&(Ge=D.event.special[pt]||{},Ge=D.event.special[pt=(O?Ge.delegateType:Ge.bindType)||pt]||{},He=D.extend({type:pt,origType:An,data:T,handler:E,guid:E.guid,selector:O,needsContext:O&&D.expr.match.needsContext.test(O),namespace:en.join(".")},k),(pe=re[pt])||((pe=re[pt]=[]).delegateCount=0,(!Ge.setup||!1===Ge.setup.call(l,T,en,U))&&l.addEventListener&&l.addEventListener(pt,U)),Ge.add&&(Ge.add.call(l,He),He.handler.guid||(He.handler.guid=E.guid)),O?pe.splice(pe.delegateCount++,0,He):pe.push(He),D.event.global[pt]=!0)},remove:function(l,h,E,T,O){var k,U,ce,re,Ee,He,Ge,pe,pt,en,An,En=tt.hasData(l)&&tt.get(l);if(En&&(re=En.events)){for(Ee=(h=(h||"").match(Dt)||[""]).length;Ee--;)if(pt=An=(ce=to.exec(h[Ee])||[])[1],en=(ce[2]||"").split(".").sort(),pt){for(Ge=D.event.special[pt]||{},pe=re[pt=(T?Ge.delegateType:Ge.bindType)||pt]||[],ce=ce[2]&&new RegExp("(^|\\.)"+en.join("\\.(?:.*\\.|)")+"(\\.|$)"),U=k=pe.length;k--;)He=pe[k],(O||An===He.origType)&&(!E||E.guid===He.guid)&&(!ce||ce.test(He.namespace))&&(!T||T===He.selector||"**"===T&&He.selector)&&(pe.splice(k,1),He.selector&&pe.delegateCount--,Ge.remove&&Ge.remove.call(l,He));U&&!pe.length&&((!Ge.teardown||!1===Ge.teardown.call(l,en,En.handle))&&D.removeEvent(l,pt,En.handle),delete re[pt])}else for(pt in re)D.event.remove(l,pt+h[Ee],E,T,!0);D.isEmptyObject(re)&&tt.remove(l,"handle events")}},dispatch:function(l){var h,E,T,O,k,U,ce=new Array(arguments.length),re=D.event.fix(l),Ee=(tt.get(this,"events")||Object.create(null))[re.type]||[],He=D.event.special[re.type]||{};for(ce[0]=re,h=1;h<arguments.length;h++)ce[h]=arguments[h];if(re.delegateTarget=this,!He.preDispatch||!1!==He.preDispatch.call(this,re)){for(U=D.event.handlers.call(this,re,Ee),h=0;(O=U[h++])&&!re.isPropagationStopped();)for(re.currentTarget=O.elem,E=0;(k=O.handlers[E++])&&!re.isImmediatePropagationStopped();)(!re.rnamespace||!1===k.namespace||re.rnamespace.test(k.namespace))&&(re.handleObj=k,re.data=k.data,void 0!==(T=((D.event.special[k.origType]||{}).handle||k.handler).apply(O.elem,ce))&&!1===(re.result=T)&&(re.preventDefault(),re.stopPropagation()));return He.postDispatch&&He.postDispatch.call(this,re),re.result}},handlers:function(l,h){var E,T,O,k,U,ce=[],re=h.delegateCount,Ee=l.target;if(re&&Ee.nodeType&&!("click"===l.type&&l.button>=1))for(;Ee!==this;Ee=Ee.parentNode||this)if(1===Ee.nodeType&&("click"!==l.type||!0!==Ee.disabled)){for(k=[],U={},E=0;E<re;E++)void 0===U[O=(T=h[E]).selector+" "]&&(U[O]=T.needsContext?D(O,this).index(Ee)>-1:D.find(O,this,null,[Ee]).length),U[O]&&k.push(T);k.length&&ce.push({elem:Ee,handlers:k})}return Ee=this,re<h.length&&ce.push({elem:Ee,handlers:h.slice(re)}),ce},addProp:function(l,h){Object.defineProperty(D.Event.prototype,l,{enumerable:!0,configurable:!0,get:at(h)?function(){if(this.originalEvent)return h(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[l]},set:function(E){Object.defineProperty(this,l,{enumerable:!0,configurable:!0,writable:!0,value:E})}})},fix:function(l){return l[D.expando]?l:new D.Event(l)},special:{load:{noBubble:!0},click:{setup:function(l){var h=this||l;return si.test(h.type)&&h.click&&We(h,"input")&&Ti(h,"click",!0),!1},trigger:function(l){var h=this||l;return si.test(h.type)&&h.click&&We(h,"input")&&Ti(h,"click"),!0},_default:function(l){var h=l.target;return si.test(h.type)&&h.click&&We(h,"input")&&tt.get(h,"click")||We(h,"a")}},beforeunload:{postDispatch:function(l){void 0!==l.result&&l.originalEvent&&(l.originalEvent.returnValue=l.result)}}}},D.removeEvent=function(l,h,E){l.removeEventListener&&l.removeEventListener(h,E)},D.Event=function(l,h){if(!(this instanceof D.Event))return new D.Event(l,h);l&&l.type?(this.originalEvent=l,this.type=l.type,this.isDefaultPrevented=l.defaultPrevented||void 0===l.defaultPrevented&&!1===l.returnValue?Lr:Dr,this.target=l.target&&3===l.target.nodeType?l.target.parentNode:l.target,this.currentTarget=l.currentTarget,this.relatedTarget=l.relatedTarget):this.type=l,h&&D.extend(this,h),this.timeStamp=l&&l.timeStamp||Date.now(),this[D.expando]=!0},D.Event.prototype={constructor:D.Event,isDefaultPrevented:Dr,isPropagationStopped:Dr,isImmediatePropagationStopped:Dr,isSimulated:!1,preventDefault:function(){var l=this.originalEvent;this.isDefaultPrevented=Lr,l&&!this.isSimulated&&l.preventDefault()},stopPropagation:function(){var l=this.originalEvent;this.isPropagationStopped=Lr,l&&!this.isSimulated&&l.stopPropagation()},stopImmediatePropagation:function(){var l=this.originalEvent;this.isImmediatePropagationStopped=Lr,l&&!this.isSimulated&&l.stopImmediatePropagation(),this.stopPropagation()}},D.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},D.event.addProp),D.each({focus:"focusin",blur:"focusout"},function(l,h){function E(T){if(st.documentMode){var O=tt.get(this,"handle"),k=D.event.fix(T);k.type="focusin"===T.type?"focus":"blur",k.isSimulated=!0,O(T),k.target===k.currentTarget&&O(k)}else D.event.simulate(h,T.target,D.event.fix(T))}D.event.special[l]={setup:function(){var T;if(Ti(this,l,!0),!st.documentMode)return!1;(T=tt.get(this,h))||this.addEventListener(h,E),tt.set(this,h,(T||0)+1)},trigger:function(){return Ti(this,l),!0},teardown:function(){var T;if(!st.documentMode)return!1;(T=tt.get(this,h)-1)?tt.set(this,h,T):(this.removeEventListener(h,E),tt.remove(this,h))},_default:function(T){return tt.get(T.target,l)},delegateType:h},D.event.special[h]={setup:function(){var T=this.ownerDocument||this.document||this,O=st.documentMode?this:T,k=tt.get(O,h);k||(st.documentMode?this.addEventListener(h,E):T.addEventListener(l,E,!0)),tt.set(O,h,(k||0)+1)},teardown:function(){var T=this.ownerDocument||this.document||this,O=st.documentMode?this:T,k=tt.get(O,h)-1;k?tt.set(O,h,k):(st.documentMode?this.removeEventListener(h,E):T.removeEventListener(l,E,!0),tt.remove(O,h))}}}),D.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(l,h){D.event.special[l]={delegateType:h,bindType:h,handle:function(E){var T,k=E.relatedTarget,U=E.handleObj;return(!k||k!==this&&!D.contains(this,k))&&(E.type=U.origType,T=U.handler.apply(this,arguments),E.type=h),T}}}),D.fn.extend({on:function(l,h,E,T){return Hr(this,l,h,E,T)},one:function(l,h,E,T){return Hr(this,l,h,E,T,1)},off:function(l,h,E){var T,O;if(l&&l.preventDefault&&l.handleObj)return T=l.handleObj,D(l.delegateTarget).off(T.namespace?T.origType+"."+T.namespace:T.origType,T.selector,T.handler),this;if("object"==typeof l){for(O in l)this.off(O,h,l[O]);return this}return(!1===h||"function"==typeof h)&&(E=h,h=void 0),!1===E&&(E=Dr),this.each(function(){D.event.remove(this,l,E,h)})}});var ho=/<script|<style|<link/i,zi=/checked\s*(?:[^=]|=\s*.checked.)/i,po=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Wi(l,h){return We(l,"table")&&We(11!==h.nodeType?h:h.firstChild,"tr")&&D(l).children("tbody")[0]||l}function qo(l){return l.type=(null!==l.getAttribute("type"))+"/"+l.type,l}function Yo(l){return"true/"===(l.type||"").slice(0,5)?l.type=l.type.slice(5):l.removeAttribute("type"),l}function xi(l,h){var E,T,O,U,ce,re;if(1===h.nodeType){if(tt.hasData(l)&&(re=tt.get(l).events))for(O in tt.remove(h,"handle events"),re)for(E=0,T=re[O].length;E<T;E++)D.event.add(h,O,re[O][E]);Kt.hasData(l)&&(U=Kt.access(l),ce=D.extend({},U),Kt.set(h,ce))}}function _i(l,h){var E=h.nodeName.toLowerCase();"input"===E&&si.test(l.type)?h.checked=l.checked:("input"===E||"textarea"===E)&&(h.defaultValue=l.defaultValue)}function Vr(l,h,E,T){h=y(h);var O,k,U,ce,re,Ee,He=0,Ge=l.length,pe=Ge-1,pt=h[0],en=at(pt);if(en||Ge>1&&"string"==typeof pt&&!Oe.checkClone&&zi.test(pt))return l.each(function(An){var En=l.eq(An);en&&(h[0]=pt.call(this,An,En.html())),Vr(En,h,E,T)});if(Ge&&(k=(O=fo(h,l[0].ownerDocument,!1,l,T)).firstChild,1===O.childNodes.length&&(O=k),k||T)){for(ce=(U=D.map(Er(O,"script"),qo)).length;He<Ge;He++)re=O,He!==pe&&(re=D.clone(re,!0,!0),ce&&D.merge(U,Er(re,"script"))),E.call(l[He],re,He);if(ce)for(Ee=U[U.length-1].ownerDocument,D.map(U,Yo),He=0;He<ce;He++)Mo.test((re=U[He]).type||"")&&!tt.access(re,"globalEval")&&D.contains(Ee,re)&&(re.src&&"module"!==(re.type||"").toLowerCase()?D._evalUrl&&!re.noModule&&D._evalUrl(re.src,{nonce:re.nonce||re.getAttribute("nonce")},Ee):ze(re.textContent.replace(po,""),re,Ee))}return l}function Jr(l,h,E){for(var T,O=h?D.filter(h,l):l,k=0;null!=(T=O[k]);k++)!E&&1===T.nodeType&&D.cleanData(Er(T)),T.parentNode&&(E&&jn(T)&&ai(Er(T,"script")),T.parentNode.removeChild(T));return l}D.extend({htmlPrefilter:function(l){return l},clone:function(l,h,E){var T,O,k,U,ce=l.cloneNode(!0),re=jn(l);if(!(Oe.noCloneChecked||1!==l.nodeType&&11!==l.nodeType||D.isXMLDoc(l)))for(U=Er(ce),T=0,O=(k=Er(l)).length;T<O;T++)_i(k[T],U[T]);if(h)if(E)for(k=k||Er(l),U=U||Er(ce),T=0,O=k.length;T<O;T++)xi(k[T],U[T]);else xi(l,ce);return(U=Er(ce,"script")).length>0&&ai(U,!re&&Er(l,"script")),ce},cleanData:function(l){for(var h,E,T,O=D.event.special,k=0;void 0!==(E=l[k]);k++)if(Ve(E)){if(h=E[tt.expando]){if(h.events)for(T in h.events)O[T]?D.event.remove(E,T):D.removeEvent(E,T,h.handle);E[tt.expando]=void 0}E[Kt.expando]&&(E[Kt.expando]=void 0)}}}),D.fn.extend({detach:function(l){return Jr(this,l,!0)},remove:function(l){return Jr(this,l)},text:function(l){return ut(this,function(h){return void 0===h?D.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=h)})},null,l,arguments.length)},append:function(){return Vr(this,arguments,function(l){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Wi(this,l).appendChild(l)})},prepend:function(){return Vr(this,arguments,function(l){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var h=Wi(this,l);h.insertBefore(l,h.firstChild)}})},before:function(){return Vr(this,arguments,function(l){this.parentNode&&this.parentNode.insertBefore(l,this)})},after:function(){return Vr(this,arguments,function(l){this.parentNode&&this.parentNode.insertBefore(l,this.nextSibling)})},empty:function(){for(var l,h=0;null!=(l=this[h]);h++)1===l.nodeType&&(D.cleanData(Er(l,!1)),l.textContent="");return this},clone:function(l,h){return l=l??!1,h=h??l,this.map(function(){return D.clone(this,l,h)})},html:function(l){return ut(this,function(h){var E=this[0]||{},T=0,O=this.length;if(void 0===h&&1===E.nodeType)return E.innerHTML;if("string"==typeof h&&!ho.test(h)&&!Fr[(ki.exec(h)||["",""])[1].toLowerCase()]){h=D.htmlPrefilter(h);try{for(;T<O;T++)1===(E=this[T]||{}).nodeType&&(D.cleanData(Er(E,!1)),E.innerHTML=h);E=0}catch{}}E&&this.empty().append(h)},null,l,arguments.length)},replaceWith:function(){var l=[];return Vr(this,arguments,function(h){var E=this.parentNode;D.inArray(this,l)<0&&(D.cleanData(Er(this)),E&&E.replaceChild(h,this))},l)}}),D.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(l,h){D.fn[l]=function(E){for(var T,O=[],k=D(E),U=k.length-1,ce=0;ce<=U;ce++)T=ce===U?this:this.clone(!0),D(k[ce])[h](T),j.apply(O,T.get());return this.pushStack(O)}});var go=new RegExp("^("+yr+")(?!px)[a-z%]+$","i"),K=/^--/,fe=function(l){var h=l.ownerDocument.defaultView;return(!h||!h.opener)&&(h=x),h.getComputedStyle(l)},de=function(l,h,E){var T,O,k={};for(O in h)k[O]=l.style[O],l.style[O]=h[O];for(O in T=E.call(l),h)l.style[O]=k[O];return T},Ke=new RegExp(ar.join("|"),"i");function ht(l,h,E){var T,O,k,U,ce=K.test(h),re=l.style;return(E=E||fe(l))&&(U=E.getPropertyValue(h)||E[h],ce&&U&&(U=U.replace(In,"$1")||void 0),""===U&&!jn(l)&&(U=D.style(l,h)),!Oe.pixelBoxStyles()&&go.test(U)&&Ke.test(h)&&(T=re.width,O=re.minWidth,k=re.maxWidth,re.minWidth=re.maxWidth=re.width=U,U=E.width,re.width=T,re.minWidth=O,re.maxWidth=k)),void 0!==U?U+"":U}function Ye(l,h){return{get:function(){if(!l())return(this.get=h).apply(this,arguments);delete this.get}}}!function(){function l(){if(Ee){re.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Ee.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Rr.appendChild(re).appendChild(Ee);var He=x.getComputedStyle(Ee);E="1%"!==He.top,ce=12===h(He.marginLeft),Ee.style.right="60%",k=36===h(He.right),T=36===h(He.width),Ee.style.position="absolute",O=12===h(Ee.offsetWidth/3),Rr.removeChild(re),Ee=null}}function h(He){return Math.round(parseFloat(He))}var E,T,O,k,U,ce,re=st.createElement("div"),Ee=st.createElement("div");Ee.style&&(Ee.style.backgroundClip="content-box",Ee.cloneNode(!0).style.backgroundClip="",Oe.clearCloneStyle="content-box"===Ee.style.backgroundClip,D.extend(Oe,{boxSizingReliable:function(){return l(),T},pixelBoxStyles:function(){return l(),k},pixelPosition:function(){return l(),E},reliableMarginLeft:function(){return l(),ce},scrollboxSize:function(){return l(),O},reliableTrDimensions:function(){var He,Ge,pe,pt;return null==U&&(He=st.createElement("table"),Ge=st.createElement("tr"),pe=st.createElement("div"),He.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Ge.style.cssText="box-sizing:content-box;border:1px solid",Ge.style.height="1px",pe.style.height="9px",pe.style.display="block",Rr.appendChild(He).appendChild(Ge).appendChild(pe),pt=x.getComputedStyle(Ge),U=parseInt(pt.height,10)+parseInt(pt.borderTopWidth,10)+parseInt(pt.borderBottomWidth,10)===Ge.offsetHeight,Rr.removeChild(He)),U}}))}();var It=["Webkit","Moz","ms"],sn=st.createElement("div").style,Qt={};function Cr(l){return D.cssProps[l]||Qt[l]||(l in sn?l:Qt[l]=function Yn(l){for(var h=l[0].toUpperCase()+l.slice(1),E=It.length;E--;)if((l=It[E]+h)in sn)return l}(l)||l)}var lr=/^(none|table(?!-c[ea]).+)/,gr={position:"absolute",visibility:"hidden",display:"block"},On={letterSpacing:"0",fontWeight:"400"};function Wt(l,h,E){var T=vt.exec(h);return T?Math.max(0,T[2]-(E||0))+(T[3]||"px"):h}function gn(l,h,E,T,O,k){var U="width"===h?1:0,ce=0,re=0,Ee=0;if(E===(T?"border":"content"))return 0;for(;U<4;U+=2)"margin"===E&&(Ee+=D.css(l,E+ar[U],!0,O)),T?("content"===E&&(re-=D.css(l,"padding"+ar[U],!0,O)),"margin"!==E&&(re-=D.css(l,"border"+ar[U]+"Width",!0,O))):(re+=D.css(l,"padding"+ar[U],!0,O),"padding"!==E?re+=D.css(l,"border"+ar[U]+"Width",!0,O):ce+=D.css(l,"border"+ar[U]+"Width",!0,O));return!T&&k>=0&&(re+=Math.max(0,Math.ceil(l["offset"+h[0].toUpperCase()+h.slice(1)]-k-re-ce-.5))||0),re+Ee}function Nn(l,h,E){var T=fe(l),k=(!Oe.boxSizingReliable()||E)&&"border-box"===D.css(l,"boxSizing",!1,T),U=k,ce=ht(l,h,T),re="offset"+h[0].toUpperCase()+h.slice(1);if(go.test(ce)){if(!E)return ce;ce="auto"}return(!Oe.boxSizingReliable()&&k||!Oe.reliableTrDimensions()&&We(l,"tr")||"auto"===ce||!parseFloat(ce)&&"inline"===D.css(l,"display",!1,T))&&l.getClientRects().length&&(k="border-box"===D.css(l,"boxSizing",!1,T),(U=re in l)&&(ce=l[re])),(ce=parseFloat(ce)||0)+gn(l,h,E||(k?"border":"content"),U,T,ce)+"px"}function Bn(l,h,E,T,O){return new Bn.prototype.init(l,h,E,T,O)}D.extend({cssHooks:{opacity:{get:function(l,h){if(h){var E=ht(l,"opacity");return""===E?"1":E}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(l,h,E,T){if(l&&3!==l.nodeType&&8!==l.nodeType&&l.style){var O,k,U,ce=Ct(h),re=K.test(h),Ee=l.style;if(re||(h=Cr(ce)),U=D.cssHooks[h]||D.cssHooks[ce],void 0===E)return U&&"get"in U&&void 0!==(O=U.get(l,!1,T))?O:Ee[h];if("string"==(k=typeof E)&&(O=vt.exec(E))&&O[1]&&(E=Ni(l,h,O),k="number"),null==E||E!=E)return;"number"===k&&!re&&(E+=O&&O[3]||(D.cssNumber[ce]?"":"px")),!Oe.clearCloneStyle&&""===E&&0===h.indexOf("background")&&(Ee[h]="inherit"),(!U||!("set"in U)||void 0!==(E=U.set(l,E,T)))&&(re?Ee.setProperty(h,E):Ee[h]=E)}},css:function(l,h,E,T){var O,k,U,ce=Ct(h);return K.test(h)||(h=Cr(ce)),(U=D.cssHooks[h]||D.cssHooks[ce])&&"get"in U&&(O=U.get(l,!0,E)),void 0===O&&(O=ht(l,h,T)),"normal"===O&&h in On&&(O=On[h]),""===E||E?(k=parseFloat(O),!0===E||isFinite(k)?k||0:O):O}}),D.each(["height","width"],function(l,h){D.cssHooks[h]={get:function(E,T,O){if(T)return!lr.test(D.css(E,"display"))||E.getClientRects().length&&E.getBoundingClientRect().width?Nn(E,h,O):de(E,gr,function(){return Nn(E,h,O)})},set:function(E,T,O){var k,U=fe(E),ce=!Oe.scrollboxSize()&&"absolute"===U.position,Ee=(ce||O)&&"border-box"===D.css(E,"boxSizing",!1,U),He=O?gn(E,h,O,Ee,U):0;return Ee&&ce&&(He-=Math.ceil(E["offset"+h[0].toUpperCase()+h.slice(1)]-parseFloat(U[h])-gn(E,h,"border",!1,U)-.5)),He&&(k=vt.exec(T))&&"px"!==(k[3]||"px")&&(E.style[h]=T,T=D.css(E,h)),Wt(0,T,He)}}}),D.cssHooks.marginLeft=Ye(Oe.reliableMarginLeft,function(l,h){if(h)return(parseFloat(ht(l,"marginLeft"))||l.getBoundingClientRect().left-de(l,{marginLeft:0},function(){return l.getBoundingClientRect().left}))+"px"}),D.each({margin:"",padding:"",border:"Width"},function(l,h){D.cssHooks[l+h]={expand:function(E){for(var T=0,O={},k="string"==typeof E?E.split(" "):[E];T<4;T++)O[l+ar[T]+h]=k[T]||k[T-2]||k[0];return O}},"margin"!==l&&(D.cssHooks[l+h].set=Wt)}),D.fn.extend({css:function(l,h){return ut(this,function(E,T,O){var k,U,ce={},re=0;if(Array.isArray(T)){for(k=fe(E),U=T.length;re<U;re++)ce[T[re]]=D.css(E,T[re],!1,k);return ce}return void 0!==O?D.style(E,T,O):D.css(E,T)},l,h,arguments.length>1)}}),D.Tween=Bn,Bn.prototype={constructor:Bn,init:function(l,h,E,T,O,k){this.elem=l,this.prop=E,this.easing=O||D.easing._default,this.options=h,this.start=this.now=this.cur(),this.end=T,this.unit=k||(D.cssNumber[E]?"":"px")},cur:function(){var l=Bn.propHooks[this.prop];return l&&l.get?l.get(this):Bn.propHooks._default.get(this)},run:function(l){var h,E=Bn.propHooks[this.prop];return this.pos=h=this.options.duration?D.easing[this.easing](l,this.options.duration*l,0,1,this.options.duration):l,this.now=(this.end-this.start)*h+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),E&&E.set?E.set(this):Bn.propHooks._default.set(this),this}},Bn.prototype.init.prototype=Bn.prototype,Bn.propHooks={_default:{get:function(l){var h;return 1!==l.elem.nodeType||null!=l.elem[l.prop]&&null==l.elem.style[l.prop]?l.elem[l.prop]:(h=D.css(l.elem,l.prop,""))&&"auto"!==h?h:0},set:function(l){D.fx.step[l.prop]?D.fx.step[l.prop](l):1!==l.elem.nodeType||!D.cssHooks[l.prop]&&null==l.elem.style[Cr(l.prop)]?l.elem[l.prop]=l.now:D.style(l.elem,l.prop,l.now+l.unit)}}},Bn.propHooks.scrollTop=Bn.propHooks.scrollLeft={set:function(l){l.elem.nodeType&&l.elem.parentNode&&(l.elem[l.prop]=l.now)}},D.easing={linear:function(l){return l},swing:function(l){return.5-Math.cos(l*Math.PI)/2},_default:"swing"},D.fx=Bn.prototype.init,D.fx.step={};var Un,$n,Or=/^(?:toggle|show|hide)$/,li=/queueHooks$/;function zr(){$n&&(!1===st.hidden&&x.requestAnimationFrame?x.requestAnimationFrame(zr):x.setTimeout(zr,D.fx.interval),D.fx.tick())}function di(){return x.setTimeout(function(){Un=void 0}),Un=Date.now()}function nr(l,h){var E,T=0,O={height:l};for(h=h?1:0;T<4;T+=2-h)O["margin"+(E=ar[T])]=O["padding"+E]=l;return h&&(O.opacity=O.width=l),O}function Lo(l,h,E){for(var T,O=(ei.tweeners[h]||[]).concat(ei.tweeners["*"]),k=0,U=O.length;k<U;k++)if(T=O[k].call(E,h,l))return T}function ei(l,h,E){var T,O,k=0,U=ei.prefilters.length,ce=D.Deferred().always(function(){delete re.elem}),re=function(){if(O)return!1;for(var Ge=Un||di(),pe=Math.max(0,Ee.startTime+Ee.duration-Ge),en=1-(pe/Ee.duration||0),An=0,En=Ee.tweens.length;An<En;An++)Ee.tweens[An].run(en);return ce.notifyWith(l,[Ee,en,pe]),en<1&&En?pe:(En||ce.notifyWith(l,[Ee,1,0]),ce.resolveWith(l,[Ee]),!1)},Ee=ce.promise({elem:l,props:D.extend({},h),opts:D.extend(!0,{specialEasing:{},easing:D.easing._default},E),originalProperties:h,originalOptions:E,startTime:Un||di(),duration:E.duration,tweens:[],createTween:function(Ge,pe){var pt=D.Tween(l,Ee.opts,Ge,pe,Ee.opts.specialEasing[Ge]||Ee.opts.easing);return Ee.tweens.push(pt),pt},stop:function(Ge){var pe=0,pt=Ge?Ee.tweens.length:0;if(O)return this;for(O=!0;pe<pt;pe++)Ee.tweens[pe].run(1);return Ge?(ce.notifyWith(l,[Ee,1,0]),ce.resolveWith(l,[Ee,Ge])):ce.rejectWith(l,[Ee,Ge]),this}}),He=Ee.props;for(function Bo(l,h){var E,T,O,k,U;for(E in l)if(O=h[T=Ct(E)],k=l[E],Array.isArray(k)&&(O=k[1],k=l[E]=k[0]),E!==T&&(l[T]=k,delete l[E]),(U=D.cssHooks[T])&&"expand"in U)for(E in k=U.expand(k),delete l[T],k)E in l||(l[E]=k[E],h[E]=O);else h[T]=O}(He,Ee.opts.specialEasing);k<U;k++)if(T=ei.prefilters[k].call(Ee,l,He,Ee.opts))return at(T.stop)&&(D._queueHooks(Ee.elem,Ee.opts.queue).stop=T.stop.bind(T)),T;return D.map(He,Lo,Ee),at(Ee.opts.start)&&Ee.opts.start.call(l,Ee),Ee.progress(Ee.opts.progress).done(Ee.opts.done,Ee.opts.complete).fail(Ee.opts.fail).always(Ee.opts.always),D.fx.timer(D.extend(re,{elem:l,anim:Ee,queue:Ee.opts.queue})),Ee}D.Animation=D.extend(ei,{tweeners:{"*":[function(l,h){var E=this.createTween(l,h);return Ni(E.elem,l,vt.exec(h),E),E}]},tweener:function(l,h){at(l)?(h=l,l=["*"]):l=l.match(Dt);for(var E,T=0,O=l.length;T<O;T++)(ei.tweeners[E=l[T]]=ei.tweeners[E]||[]).unshift(h)},prefilters:[function jo(l,h,E){var T,O,k,U,ce,re,Ee,He,Ge="width"in h||"height"in h,pe=this,pt={},en=l.style,An=l.nodeType&&Nt(l),En=tt.get(l,"fxshow");for(T in E.queue||(null==(U=D._queueHooks(l,"fx")).unqueued&&(U.unqueued=0,ce=U.empty.fire,U.empty.fire=function(){U.unqueued||ce()}),U.unqueued++,pe.always(function(){pe.always(function(){U.unqueued--,D.queue(l,"fx").length||U.empty.fire()})})),h)if(Or.test(O=h[T])){if(delete h[T],k=k||"toggle"===O,O===(An?"hide":"show")){if("show"!==O||!En||void 0===En[T])continue;An=!0}pt[T]=En&&En[T]||D.style(l,T)}if((re=!D.isEmptyObject(h))||!D.isEmptyObject(pt))for(T in Ge&&1===l.nodeType&&(E.overflow=[en.overflow,en.overflowX,en.overflowY],null==(Ee=En&&En.display)&&(Ee=tt.get(l,"display")),"none"===(He=D.css(l,"display"))&&(Ee?He=Ee:(oi([l],!0),Ee=l.style.display||Ee,He=D.css(l,"display"),oi([l]))),("inline"===He||"inline-block"===He&&null!=Ee)&&"none"===D.css(l,"float")&&(re||(pe.done(function(){en.display=Ee}),null==Ee&&(Ee="none"===(He=en.display)?"":He)),en.display="inline-block")),E.overflow&&(en.overflow="hidden",pe.always(function(){en.overflow=E.overflow[0],en.overflowX=E.overflow[1],en.overflowY=E.overflow[2]})),re=!1,pt)re||(En?"hidden"in En&&(An=En.hidden):En=tt.access(l,"fxshow",{display:Ee}),k&&(En.hidden=!An),An&&oi([l],!0),pe.done(function(){for(T in An||oi([l]),tt.remove(l,"fxshow"),pt)D.style(l,T,pt[T])})),re=Lo(An?En[T]:0,T,pe),T in En||(En[T]=re.start,An&&(re.end=re.start,re.start=0))}],prefilter:function(l,h){h?ei.prefilters.unshift(l):ei.prefilters.push(l)}}),D.speed=function(l,h,E){var T=l&&"object"==typeof l?D.extend({},l):{complete:E||!E&&h||at(l)&&l,duration:l,easing:E&&h||h&&!at(h)&&h};return D.fx.off?T.duration=0:"number"!=typeof T.duration&&(T.duration=T.duration in D.fx.speeds?D.fx.speeds[T.duration]:D.fx.speeds._default),(null==T.queue||!0===T.queue)&&(T.queue="fx"),T.old=T.complete,T.complete=function(){at(T.old)&&T.old.call(this),T.queue&&D.dequeue(this,T.queue)},T},D.fn.extend({fadeTo:function(l,h,E,T){return this.filter(Nt).css("opacity",0).show().end().animate({opacity:h},l,E,T)},animate:function(l,h,E,T){var O=D.isEmptyObject(l),k=D.speed(h,E,T),U=function(){var ce=ei(this,D.extend({},l),k);(O||tt.get(this,"finish"))&&ce.stop(!0)};return U.finish=U,O||!1===k.queue?this.each(U):this.queue(k.queue,U)},stop:function(l,h,E){var T=function(O){var k=O.stop;delete O.stop,k(E)};return"string"!=typeof l&&(E=h,h=l,l=void 0),h&&this.queue(l||"fx",[]),this.each(function(){var O=!0,k=null!=l&&l+"queueHooks",U=D.timers,ce=tt.get(this);if(k)ce[k]&&ce[k].stop&&T(ce[k]);else for(k in ce)ce[k]&&ce[k].stop&&li.test(k)&&T(ce[k]);for(k=U.length;k--;)U[k].elem===this&&(null==l||U[k].queue===l)&&(U[k].anim.stop(E),O=!1,U.splice(k,1));(O||!E)&&D.dequeue(this,l)})},finish:function(l){return!1!==l&&(l=l||"fx"),this.each(function(){var h,E=tt.get(this),T=E[l+"queue"],O=E[l+"queueHooks"],k=D.timers,U=T?T.length:0;for(E.finish=!0,D.queue(this,l,[]),O&&O.stop&&O.stop.call(this,!0),h=k.length;h--;)k[h].elem===this&&k[h].queue===l&&(k[h].anim.stop(!0),k.splice(h,1));for(h=0;h<U;h++)T[h]&&T[h].finish&&T[h].finish.call(this);delete E.finish})}}),D.each(["toggle","show","hide"],function(l,h){var E=D.fn[h];D.fn[h]=function(T,O,k){return null==T||"boolean"==typeof T?E.apply(this,arguments):this.animate(nr(h,!0),T,O,k)}}),D.each({slideDown:nr("show"),slideUp:nr("hide"),slideToggle:nr("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(l,h){D.fn[l]=function(E,T,O){return this.animate(h,E,T,O)}}),D.timers=[],D.fx.tick=function(){var l,h=0,E=D.timers;for(Un=Date.now();h<E.length;h++)!(l=E[h])()&&E[h]===l&&E.splice(h--,1);E.length||D.fx.stop(),Un=void 0},D.fx.timer=function(l){D.timers.push(l),D.fx.start()},D.fx.interval=13,D.fx.start=function(){$n||($n=!0,zr())},D.fx.stop=function(){$n=null},D.fx.speeds={slow:600,fast:200,_default:400},D.fn.delay=function(l,h){return l=D.fx&&D.fx.speeds[l]||l,this.queue(h=h||"fx",function(E,T){var O=x.setTimeout(E,l);T.stop=function(){x.clearTimeout(O)}})},function(){var l=st.createElement("input"),E=st.createElement("select").appendChild(st.createElement("option"));l.type="checkbox",Oe.checkOn=""!==l.value,Oe.optSelected=E.selected,(l=st.createElement("input")).value="t",l.type="radio",Oe.radioValue="t"===l.value}();var Gi,Gr=D.expr.attrHandle;D.fn.extend({attr:function(l,h){return ut(this,D.attr,l,h,arguments.length>1)},removeAttr:function(l){return this.each(function(){D.removeAttr(this,l)})}}),D.extend({attr:function(l,h,E){var T,O,k=l.nodeType;if(3!==k&&8!==k&&2!==k)return typeof l.getAttribute>"u"?D.prop(l,h,E):((1!==k||!D.isXMLDoc(l))&&(O=D.attrHooks[h.toLowerCase()]||(D.expr.match.bool.test(h)?Gi:void 0)),void 0!==E?null===E?void D.removeAttr(l,h):O&&"set"in O&&void 0!==(T=O.set(l,E,h))?T:(l.setAttribute(h,E+""),E):O&&"get"in O&&null!==(T=O.get(l,h))?T:(T=D.find.attr(l,h))??void 0)},attrHooks:{type:{set:function(l,h){if(!Oe.radioValue&&"radio"===h&&We(l,"input")){var E=l.value;return l.setAttribute("type",h),E&&(l.value=E),h}}}},removeAttr:function(l,h){var E,T=0,O=h&&h.match(Dt);if(O&&1===l.nodeType)for(;E=O[T++];)l.removeAttribute(E)}}),Gi={set:function(l,h,E){return!1===h?D.removeAttr(l,E):l.setAttribute(E,E),E}},D.each(D.expr.match.bool.source.match(/\w+/g),function(l,h){var E=Gr[h]||D.find.attr;Gr[h]=function(T,O,k){var U,ce,re=O.toLowerCase();return k||(ce=Gr[re],Gr[re]=U,U=null!=E(T,O,k)?re:null,Gr[re]=ce),U}});var fi=/^(?:input|select|textarea|button)$/i,Ao=/^(?:a|area)$/i;function Si(l){return(l.match(Dt)||[]).join(" ")}function Wr(l){return l.getAttribute&&l.getAttribute("class")||""}function A(l){return Array.isArray(l)?l:"string"==typeof l&&l.match(Dt)||[]}D.fn.extend({prop:function(l,h){return ut(this,D.prop,l,h,arguments.length>1)},removeProp:function(l){return this.each(function(){delete this[D.propFix[l]||l]})}}),D.extend({prop:function(l,h,E){var T,O,k=l.nodeType;if(3!==k&&8!==k&&2!==k)return(1!==k||!D.isXMLDoc(l))&&(O=D.propHooks[h=D.propFix[h]||h]),void 0!==E?O&&"set"in O&&void 0!==(T=O.set(l,E,h))?T:l[h]=E:O&&"get"in O&&null!==(T=O.get(l,h))?T:l[h]},propHooks:{tabIndex:{get:function(l){var h=D.find.attr(l,"tabindex");return h?parseInt(h,10):fi.test(l.nodeName)||Ao.test(l.nodeName)&&l.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),Oe.optSelected||(D.propHooks.selected={get:function(l){return null},set:function(l){}}),D.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){D.propFix[this.toLowerCase()]=this}),D.fn.extend({addClass:function(l){var h,E,T,O,k,U;return at(l)?this.each(function(ce){D(this).addClass(l.call(this,ce,Wr(this)))}):(h=A(l)).length?this.each(function(){if(T=Wr(this),E=1===this.nodeType&&" "+Si(T)+" "){for(k=0;k<h.length;k++)E.indexOf(" "+(O=h[k])+" ")<0&&(E+=O+" ");U=Si(E),T!==U&&this.setAttribute("class",U)}}):this},removeClass:function(l){var h,E,T,O,k,U;return at(l)?this.each(function(ce){D(this).removeClass(l.call(this,ce,Wr(this)))}):arguments.length?(h=A(l)).length?this.each(function(){if(T=Wr(this),E=1===this.nodeType&&" "+Si(T)+" "){for(k=0;k<h.length;k++)for(O=h[k];E.indexOf(" "+O+" ")>-1;)E=E.replace(" "+O+" "," ");U=Si(E),T!==U&&this.setAttribute("class",U)}}):this:this.attr("class","")},toggleClass:function(l,h){var E,T,O,k,U=typeof l,ce="string"===U||Array.isArray(l);return at(l)?this.each(function(re){D(this).toggleClass(l.call(this,re,Wr(this),h),h)}):"boolean"==typeof h&&ce?h?this.addClass(l):this.removeClass(l):(E=A(l),this.each(function(){if(ce)for(k=D(this),O=0;O<E.length;O++)k.hasClass(T=E[O])?k.removeClass(T):k.addClass(T);else(void 0===l||"boolean"===U)&&((T=Wr(this))&&tt.set(this,"__className__",T),this.setAttribute&&this.setAttribute("class",T||!1===l?"":tt.get(this,"__className__")||""))}))},hasClass:function(l){var h,E,T=0;for(h=" "+l+" ";E=this[T++];)if(1===E.nodeType&&(" "+Si(Wr(E))+" ").indexOf(h)>-1)return!0;return!1}});var te=/\r/g;D.fn.extend({val:function(l){var h,E,T,O=this[0];return arguments.length?(T=at(l),this.each(function(k){var U;1===this.nodeType&&(null==(U=T?l.call(this,k,D(this).val()):l)?U="":"number"==typeof U?U+="":Array.isArray(U)&&(U=D.map(U,function(ce){return null==ce?"":ce+""})),(!(h=D.valHooks[this.type]||D.valHooks[this.nodeName.toLowerCase()])||!("set"in h)||void 0===h.set(this,U,"value"))&&(this.value=U))})):O?(h=D.valHooks[O.type]||D.valHooks[O.nodeName.toLowerCase()])&&"get"in h&&void 0!==(E=h.get(O,"value"))?E:"string"==typeof(E=O.value)?E.replace(te,""):E??"":void 0}}),D.extend({valHooks:{option:{get:function(l){return D.find.attr(l,"value")??Si(D.text(l))}},select:{get:function(l){var h,E,T,O=l.options,k=l.selectedIndex,U="select-one"===l.type,ce=U?null:[],re=U?k+1:O.length;for(T=k<0?re:U?k:0;T<re;T++)if(((E=O[T]).selected||T===k)&&!E.disabled&&(!E.parentNode.disabled||!We(E.parentNode,"optgroup"))){if(h=D(E).val(),U)return h;ce.push(h)}return ce},set:function(l,h){for(var E,T,O=l.options,k=D.makeArray(h),U=O.length;U--;)((T=O[U]).selected=D.inArray(D.valHooks.option.get(T),k)>-1)&&(E=!0);return E||(l.selectedIndex=-1),k}}}}),D.each(["radio","checkbox"],function(){D.valHooks[this]={set:function(l,h){if(Array.isArray(h))return l.checked=D.inArray(D(l).val(),h)>-1}},Oe.checkOn||(D.valHooks[this].get=function(l){return null===l.getAttribute("value")?"on":l.value})});var F=x.location,H={guid:Date.now()},ye=/\?/;D.parseXML=function(l){var h,E;if(!l||"string"!=typeof l)return null;try{h=(new x.DOMParser).parseFromString(l,"text/xml")}catch{}return E=h&&h.getElementsByTagName("parsererror")[0],(!h||E)&&D.error("Invalid XML: "+(E?D.map(E.childNodes,function(T){return T.textContent}).join("\n"):l)),h};var Ze=/^(?:focusinfocus|focusoutblur)$/,ft=function(l){l.stopPropagation()};D.extend(D.event,{trigger:function(l,h,E,T){var O,k,U,ce,re,Ee,He,Ge,pe=[E||st],pt=De.call(l,"type")?l.type:l,en=De.call(l,"namespace")?l.namespace.split("."):[];if(k=Ge=U=E=E||st,3!==E.nodeType&&8!==E.nodeType&&!Ze.test(pt+D.event.triggered)&&(pt.indexOf(".")>-1&&(en=pt.split("."),pt=en.shift(),en.sort()),re=pt.indexOf(":")<0&&"on"+pt,(l=l[D.expando]?l:new D.Event(pt,"object"==typeof l&&l)).isTrigger=T?2:3,l.namespace=en.join("."),l.rnamespace=l.namespace?new RegExp("(^|\\.)"+en.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,l.result=void 0,l.target||(l.target=E),h=null==h?[l]:D.makeArray(h,[l]),He=D.event.special[pt]||{},T||!He.trigger||!1!==He.trigger.apply(E,h))){if(!T&&!He.noBubble&&!wt(E)){for(Ze.test((ce=He.delegateType||pt)+pt)||(k=k.parentNode);k;k=k.parentNode)pe.push(k),U=k;U===(E.ownerDocument||st)&&pe.push(U.defaultView||U.parentWindow||x)}for(O=0;(k=pe[O++])&&!l.isPropagationStopped();)Ge=k,l.type=O>1?ce:He.bindType||pt,(Ee=(tt.get(k,"events")||Object.create(null))[l.type]&&tt.get(k,"handle"))&&Ee.apply(k,h),(Ee=re&&k[re])&&Ee.apply&&Ve(k)&&(l.result=Ee.apply(k,h),!1===l.result&&l.preventDefault());return l.type=pt,!T&&!l.isDefaultPrevented()&&(!He._default||!1===He._default.apply(pe.pop(),h))&&Ve(E)&&re&&at(E[pt])&&!wt(E)&&((U=E[re])&&(E[re]=null),D.event.triggered=pt,l.isPropagationStopped()&&Ge.addEventListener(pt,ft),E[pt](),l.isPropagationStopped()&&Ge.removeEventListener(pt,ft),D.event.triggered=void 0,U&&(E[re]=U)),l.result}},simulate:function(l,h,E){var T=D.extend(new D.Event,E,{type:l,isSimulated:!0});D.event.trigger(T,null,h)}}),D.fn.extend({trigger:function(l,h){return this.each(function(){D.event.trigger(l,h,this)})},triggerHandler:function(l,h){var E=this[0];if(E)return D.event.trigger(l,h,E,!0)}});var Le=/\[\]$/,Cn=/\r?\n/g,yn=/^(?:submit|button|image|reset|file)$/i,Mn=/^(?:input|select|textarea|keygen)/i;function dn(l,h,E,T){var O;if(Array.isArray(h))D.each(h,function(k,U){E||Le.test(l)?T(l,U):dn(l+"["+("object"==typeof U&&null!=U?k:"")+"]",U,E,T)});else if(E||"object"!==Qe(h))T(l,h);else for(O in h)dn(l+"["+O+"]",h[O],E,T)}D.param=function(l,h){var E,T=[],O=function(k,U){var ce=at(U)?U():U;T[T.length]=encodeURIComponent(k)+"="+encodeURIComponent(ce??"")};if(null==l)return"";if(Array.isArray(l)||l.jquery&&!D.isPlainObject(l))D.each(l,function(){O(this.name,this.value)});else for(E in l)dn(E,l[E],h,O);return T.join("&")},D.fn.extend({serialize:function(){return D.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var l=D.prop(this,"elements");return l?D.makeArray(l):this}).filter(function(){var l=this.type;return this.name&&!D(this).is(":disabled")&&Mn.test(this.nodeName)&&!yn.test(l)&&(this.checked||!si.test(l))}).map(function(l,h){var E=D(this).val();return null==E?null:Array.isArray(E)?D.map(E,function(T){return{name:h.name,value:T.replace(Cn,"\r\n")}}):{name:h.name,value:E.replace(Cn,"\r\n")}}).get()}});var mr=/%20/g,zn=/#.*$/,rr=/([?&])_=[^&]*/,Kr=/^(.*?):[ \t]*([^\r\n]*)$/gm,Gn=/^(?:GET|HEAD)$/,G=/^\/\//,Te={},ae={},Ie="*/".concat("*"),lt=st.createElement("a");function Mt(l){return function(h,E){"string"!=typeof h&&(E=h,h="*");var T,O=0,k=h.toLowerCase().match(Dt)||[];if(at(E))for(;T=k[O++];)"+"===T[0]?(T=T.slice(1)||"*",(l[T]=l[T]||[]).unshift(E)):(l[T]=l[T]||[]).push(E)}}function Vt(l,h,E,T){var O={},k=l===ae;function U(ce){var re;return O[ce]=!0,D.each(l[ce]||[],function(Ee,He){var Ge=He(h,E,T);return"string"!=typeof Ge||k||O[Ge]?k?!(re=Ge):void 0:(h.dataTypes.unshift(Ge),U(Ge),!1)}),re}return U(h.dataTypes[0])||!O["*"]&&U("*")}function Xt(l,h){var E,T,O=D.ajaxSettings.flatOptions||{};for(E in h)void 0!==h[E]&&((O[E]?l:T||(T={}))[E]=h[E]);return T&&D.extend(!0,l,T),l}lt.href=F.href,D.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:F.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(F.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ie,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":D.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(l,h){return h?Xt(Xt(l,D.ajaxSettings),h):Xt(D.ajaxSettings,l)},ajaxPrefilter:Mt(Te),ajaxTransport:Mt(ae),ajax:function(l,h){"object"==typeof l&&(h=l,l=void 0);var E,T,O,k,U,ce,re,Ee,He,Ge,pe=D.ajaxSetup({},h=h||{}),pt=pe.context||pe,en=pe.context&&(pt.nodeType||pt.jquery)?D(pt):D.event,An=D.Deferred(),En=D.Callbacks("once memory"),Ir=pe.statusCode||{},Zt={},no={},gi="canceled",cn={readyState:0,getResponseHeader:function(Tn){var fr;if(re){if(!k)for(k={};fr=Kr.exec(O);)k[fr[1].toLowerCase()+" "]=(k[fr[1].toLowerCase()+" "]||[]).concat(fr[2]);fr=k[Tn.toLowerCase()+" "]}return null==fr?null:fr.join(", ")},getAllResponseHeaders:function(){return re?O:null},setRequestHeader:function(Tn,fr){return null==re&&(Tn=no[Tn.toLowerCase()]=no[Tn.toLowerCase()]||Tn,Zt[Tn]=fr),this},overrideMimeType:function(Tn){return null==re&&(pe.mimeType=Tn),this},statusCode:function(Tn){var fr;if(Tn)if(re)cn.always(Tn[cn.status]);else for(fr in Tn)Ir[fr]=[Ir[fr],Tn[fr]];return this},abort:function(Tn){var fr=Tn||gi;return E&&E.abort(fr),Fi(0,fr),this}};if(An.promise(cn),pe.url=((l||pe.url||F.href)+"").replace(G,F.protocol+"//"),pe.type=h.method||h.type||pe.method||pe.type,pe.dataTypes=(pe.dataType||"*").toLowerCase().match(Dt)||[""],null==pe.crossDomain){ce=st.createElement("a");try{ce.href=pe.url,ce.href=ce.href,pe.crossDomain=lt.protocol+"//"+lt.host!=ce.protocol+"//"+ce.host}catch{pe.crossDomain=!0}}if(pe.data&&pe.processData&&"string"!=typeof pe.data&&(pe.data=D.param(pe.data,pe.traditional)),Vt(Te,pe,h,cn),re)return cn;for(He in(Ee=D.event&&pe.global)&&0==D.active++&&D.event.trigger("ajaxStart"),pe.type=pe.type.toUpperCase(),pe.hasContent=!Gn.test(pe.type),T=pe.url.replace(zn,""),pe.hasContent?pe.data&&pe.processData&&0===(pe.contentType||"").indexOf("application/x-www-form-urlencoded")&&(pe.data=pe.data.replace(mr,"+")):(Ge=pe.url.slice(T.length),pe.data&&(pe.processData||"string"==typeof pe.data)&&(T+=(ye.test(T)?"&":"?")+pe.data,delete pe.data),!1===pe.cache&&(T=T.replace(rr,"$1"),Ge=(ye.test(T)?"&":"?")+"_="+H.guid+++Ge),pe.url=T+Ge),pe.ifModified&&(D.lastModified[T]&&cn.setRequestHeader("If-Modified-Since",D.lastModified[T]),D.etag[T]&&cn.setRequestHeader("If-None-Match",D.etag[T])),(pe.data&&pe.hasContent&&!1!==pe.contentType||h.contentType)&&cn.setRequestHeader("Content-Type",pe.contentType),cn.setRequestHeader("Accept",pe.dataTypes[0]&&pe.accepts[pe.dataTypes[0]]?pe.accepts[pe.dataTypes[0]]+("*"!==pe.dataTypes[0]?", "+Ie+"; q=0.01":""):pe.accepts["*"]),pe.headers)cn.setRequestHeader(He,pe.headers[He]);if(pe.beforeSend&&(!1===pe.beforeSend.call(pt,cn,pe)||re))return cn.abort();if(gi="abort",En.add(pe.complete),cn.done(pe.success),cn.fail(pe.error),E=Vt(ae,pe,h,cn)){if(cn.readyState=1,Ee&&en.trigger("ajaxSend",[cn,pe]),re)return cn;pe.async&&pe.timeout>0&&(U=x.setTimeout(function(){cn.abort("timeout")},pe.timeout));try{re=!1,E.send(Zt,Fi)}catch(Tn){if(re)throw Tn;Fi(-1,Tn)}}else Fi(-1,"No Transport");function Fi(Tn,fr,Li,Uo){var mi,$o,Ii,Lt,Qr,ci=fr;re||(re=!0,U&&x.clearTimeout(U),E=void 0,O=Uo||"",cn.readyState=Tn>0?4:0,mi=Tn>=200&&Tn<300||304===Tn,Li&&(Lt=function hi(l,h,E){for(var T,O,k,U,ce=l.contents,re=l.dataTypes;"*"===re[0];)re.shift(),void 0===T&&(T=l.mimeType||h.getResponseHeader("Content-Type"));if(T)for(O in ce)if(ce[O]&&ce[O].test(T)){re.unshift(O);break}if(re[0]in E)k=re[0];else{for(O in E){if(!re[0]||l.converters[O+" "+re[0]]){k=O;break}U||(U=O)}k=k||U}if(k)return k!==re[0]&&re.unshift(k),E[k]}(pe,cn,Li)),!mi&&D.inArray("script",pe.dataTypes)>-1&&D.inArray("json",pe.dataTypes)<0&&(pe.converters["text script"]=function(){}),Lt=function dr(l,h,E,T){var O,k,U,ce,re,Ee={},He=l.dataTypes.slice();if(He[1])for(U in l.converters)Ee[U.toLowerCase()]=l.converters[U];for(k=He.shift();k;)if(l.responseFields[k]&&(E[l.responseFields[k]]=h),!re&&T&&l.dataFilter&&(h=l.dataFilter(h,l.dataType)),re=k,k=He.shift())if("*"===k)k=re;else if("*"!==re&&re!==k){if(!(U=Ee[re+" "+k]||Ee["* "+k]))for(O in Ee)if((ce=O.split(" "))[1]===k&&(U=Ee[re+" "+ce[0]]||Ee["* "+ce[0]])){!0===U?U=Ee[O]:!0!==Ee[O]&&(k=ce[0],He.unshift(ce[1]));break}if(!0!==U)if(U&&l.throws)h=U(h);else try{h=U(h)}catch(Ge){return{state:"parsererror",error:U?Ge:"No conversion from "+re+" to "+k}}}return{state:"success",data:h}}(pe,Lt,cn,mi),mi?(pe.ifModified&&((Qr=cn.getResponseHeader("Last-Modified"))&&(D.lastModified[T]=Qr),(Qr=cn.getResponseHeader("etag"))&&(D.etag[T]=Qr)),204===Tn||"HEAD"===pe.type?ci="nocontent":304===Tn?ci="notmodified":(ci=Lt.state,$o=Lt.data,mi=!(Ii=Lt.error))):(Ii=ci,(Tn||!ci)&&(ci="error",Tn<0&&(Tn=0))),cn.status=Tn,cn.statusText=(fr||ci)+"",mi?An.resolveWith(pt,[$o,ci,cn]):An.rejectWith(pt,[cn,ci,Ii]),cn.statusCode(Ir),Ir=void 0,Ee&&en.trigger(mi?"ajaxSuccess":"ajaxError",[cn,pe,mi?$o:Ii]),En.fireWith(pt,[cn,ci]),Ee&&(en.trigger("ajaxComplete",[cn,pe]),--D.active||D.event.trigger("ajaxStop")))}return cn},getJSON:function(l,h,E){return D.get(l,h,E,"json")},getScript:function(l,h){return D.get(l,void 0,h,"script")}}),D.each(["get","post"],function(l,h){D[h]=function(E,T,O,k){return at(T)&&(k=k||O,O=T,T=void 0),D.ajax(D.extend({url:E,type:h,dataType:k,data:T,success:O},D.isPlainObject(E)&&E))}}),D.ajaxPrefilter(function(l){var h;for(h in l.headers)"content-type"===h.toLowerCase()&&(l.contentType=l.headers[h]||"")}),D._evalUrl=function(l,h,E){return D.ajax({url:l,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(T){D.globalEval(T,h,E)}})},D.fn.extend({wrapAll:function(l){var h;return this[0]&&(at(l)&&(l=l.call(this[0])),h=D(l,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&h.insertBefore(this[0]),h.map(function(){for(var E=this;E.firstElementChild;)E=E.firstElementChild;return E}).append(this)),this},wrapInner:function(l){return at(l)?this.each(function(h){D(this).wrapInner(l.call(this,h))}):this.each(function(){var h=D(this),E=h.contents();E.length?E.wrapAll(l):h.append(l)})},wrap:function(l){var h=at(l);return this.each(function(E){D(this).wrapAll(h?l.call(this,E):l)})},unwrap:function(l){return this.parent(l).not("body").each(function(){D(this).replaceWith(this.childNodes)}),this}}),D.expr.pseudos.hidden=function(l){return!D.expr.pseudos.visible(l)},D.expr.pseudos.visible=function(l){return!!(l.offsetWidth||l.offsetHeight||l.getClientRects().length)},D.ajaxSettings.xhr=function(){try{return new x.XMLHttpRequest}catch{}};var Ro={0:200,1223:204},mo=D.ajaxSettings.xhr();Oe.cors=!!mo&&"withCredentials"in mo,Oe.ajax=mo=!!mo,D.ajaxTransport(function(l){var h,E;if(Oe.cors||mo&&!l.crossDomain)return{send:function(T,O){var k,U=l.xhr();if(U.open(l.type,l.url,l.async,l.username,l.password),l.xhrFields)for(k in l.xhrFields)U[k]=l.xhrFields[k];for(k in l.mimeType&&U.overrideMimeType&&U.overrideMimeType(l.mimeType),!l.crossDomain&&!T["X-Requested-With"]&&(T["X-Requested-With"]="XMLHttpRequest"),T)U.setRequestHeader(k,T[k]);h=function(ce){return function(){h&&(h=E=U.onload=U.onerror=U.onabort=U.ontimeout=U.onreadystatechange=null,"abort"===ce?U.abort():"error"===ce?"number"!=typeof U.status?O(0,"error"):O(U.status,U.statusText):O(Ro[U.status]||U.status,U.statusText,"text"!==(U.responseType||"text")||"string"!=typeof U.responseText?{binary:U.response}:{text:U.responseText},U.getAllResponseHeaders()))}},U.onload=h(),E=U.onerror=U.ontimeout=h("error"),void 0!==U.onabort?U.onabort=E:U.onreadystatechange=function(){4===U.readyState&&x.setTimeout(function(){h&&E()})},h=h("abort");try{U.send(l.hasContent&&l.data||null)}catch(ce){if(h)throw ce}},abort:function(){h&&h()}}}),D.ajaxPrefilter(function(l){l.crossDomain&&(l.contents.script=!1)}),D.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(l){return D.globalEval(l),l}}}),D.ajaxPrefilter("script",function(l){void 0===l.cache&&(l.cache=!1),l.crossDomain&&(l.type="GET")}),D.ajaxTransport("script",function(l){var h,E;if(l.crossDomain||l.scriptAttrs)return{send:function(T,O){h=D("<script>").attr(l.scriptAttrs||{}).prop({charset:l.scriptCharset,src:l.url}).on("load error",E=function(k){h.remove(),E=null,k&&O("error"===k.type?404:200,k.type)}),st.head.appendChild(h[0])},abort:function(){E&&E()}}});var l,Pi=[],pi=/(=)\?(?=&|$)|\?\?/;D.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var l=Pi.pop()||D.expando+"_"+H.guid++;return this[l]=!0,l}}),D.ajaxPrefilter("json jsonp",function(l,h,E){var T,O,k,U=!1!==l.jsonp&&(pi.test(l.url)?"url":"string"==typeof l.data&&0===(l.contentType||"").indexOf("application/x-www-form-urlencoded")&&pi.test(l.data)&&"data");if(U||"jsonp"===l.dataTypes[0])return T=l.jsonpCallback=at(l.jsonpCallback)?l.jsonpCallback():l.jsonpCallback,U?l[U]=l[U].replace(pi,"$1"+T):!1!==l.jsonp&&(l.url+=(ye.test(l.url)?"&":"?")+l.jsonp+"="+T),l.converters["script json"]=function(){return k||D.error(T+" was not called"),k[0]},l.dataTypes[0]="json",O=x[T],x[T]=function(){k=arguments},E.always(function(){void 0===O?D(x).removeProp(T):x[T]=O,l[T]&&(l.jsonpCallback=h.jsonpCallback,Pi.push(T)),k&&at(O)&&O(k[0]),k=O=void 0}),"script"}),Oe.createHTMLDocument=((l=st.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===l.childNodes.length),D.parseHTML=function(l,h,E){return"string"!=typeof l?[]:("boolean"==typeof h&&(E=h,h=!1),h||(Oe.createHTMLDocument?((T=(h=st.implementation.createHTMLDocument("")).createElement("base")).href=st.location.href,h.head.appendChild(T)):h=st),k=!E&&[],(O=Me.exec(l))?[h.createElement(O[1])]:(O=fo([l],h,k),k&&k.length&&D(k).remove(),D.merge([],O.childNodes)));var T,O,k},D.fn.load=function(l,h,E){var T,O,k,U=this,ce=l.indexOf(" ");return ce>-1&&(T=Si(l.slice(ce)),l=l.slice(0,ce)),at(h)?(E=h,h=void 0):h&&"object"==typeof h&&(O="POST"),U.length>0&&D.ajax({url:l,type:O||"GET",dataType:"html",data:h}).done(function(re){k=arguments,U.html(T?D("<div>").append(D.parseHTML(re)).find(T):re)}).always(E&&function(re,Ee){U.each(function(){E.apply(this,k||[re.responseText,Ee,re])})}),this},D.expr.pseudos.animated=function(l){return D.grep(D.timers,function(h){return l===h.elem}).length},D.offset={setOffset:function(l,h,E){var T,O,k,U,ce,re,He=D.css(l,"position"),Ge=D(l),pe={};"static"===He&&(l.style.position="relative"),ce=Ge.offset(),k=D.css(l,"top"),re=D.css(l,"left"),("absolute"===He||"fixed"===He)&&(k+re).indexOf("auto")>-1?(U=(T=Ge.position()).top,O=T.left):(U=parseFloat(k)||0,O=parseFloat(re)||0),at(h)&&(h=h.call(l,E,D.extend({},ce))),null!=h.top&&(pe.top=h.top-ce.top+U),null!=h.left&&(pe.left=h.left-ce.left+O),"using"in h?h.using.call(l,pe):Ge.css(pe)}},D.fn.extend({offset:function(l){if(arguments.length)return void 0===l?this:this.each(function(O){D.offset.setOffset(this,l,O)});var h,E,T=this[0];return T?T.getClientRects().length?{top:(h=T.getBoundingClientRect()).top+(E=T.ownerDocument.defaultView).pageYOffset,left:h.left+E.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var l,h,E,T=this[0],O={top:0,left:0};if("fixed"===D.css(T,"position"))h=T.getBoundingClientRect();else{for(h=this.offset(),E=T.ownerDocument,l=T.offsetParent||E.documentElement;l&&(l===E.body||l===E.documentElement)&&"static"===D.css(l,"position");)l=l.parentNode;l&&l!==T&&1===l.nodeType&&((O=D(l).offset()).top+=D.css(l,"borderTopWidth",!0),O.left+=D.css(l,"borderLeftWidth",!0))}return{top:h.top-O.top-D.css(T,"marginTop",!0),left:h.left-O.left-D.css(T,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var l=this.offsetParent;l&&"static"===D.css(l,"position");)l=l.offsetParent;return l||Rr})}}),D.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(l,h){var E="pageYOffset"===h;D.fn[l]=function(T){return ut(this,function(O,k,U){var ce;if(wt(O)?ce=O:9===O.nodeType&&(ce=O.defaultView),void 0===U)return ce?ce[h]:O[k];ce?ce.scrollTo(E?ce.pageXOffset:U,E?U:ce.pageYOffset):O[k]=U},l,T,arguments.length)}}),D.each(["top","left"],function(l,h){D.cssHooks[h]=Ye(Oe.pixelPosition,function(E,T){if(T)return T=ht(E,h),go.test(T)?D(E).position()[h]+"px":T})}),D.each({Height:"height",Width:"width"},function(l,h){D.each({padding:"inner"+l,content:h,"":"outer"+l},function(E,T){D.fn[T]=function(O,k){var U=arguments.length&&(E||"boolean"!=typeof O),ce=E||(!0===O||!0===k?"margin":"border");return ut(this,function(re,Ee,He){var Ge;return wt(re)?0===T.indexOf("outer")?re["inner"+l]:re.document.documentElement["client"+l]:9===re.nodeType?(Ge=re.documentElement,Math.max(re.body["scroll"+l],Ge["scroll"+l],re.body["offset"+l],Ge["offset"+l],Ge["client"+l])):void 0===He?D.css(re,Ee,ce):D.style(re,Ee,He,ce)},h,U?O:void 0,U)}})}),D.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(l,h){D.fn[h]=function(E){return this.on(h,E)}}),D.fn.extend({bind:function(l,h,E){return this.on(l,null,h,E)},unbind:function(l,h){return this.off(l,null,h)},delegate:function(l,h,E,T){return this.on(h,l,E,T)},undelegate:function(l,h,E){return 1===arguments.length?this.off(l,"**"):this.off(h,l||"**",E)},hover:function(l,h){return this.on("mouseenter",l).on("mouseleave",h||l)}}),D.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(l,h){D.fn[h]=function(E,T){return arguments.length>0?this.on(h,null,E,T):this.trigger(h)}});var qt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;D.proxy=function(l,h){var E,T,O;if("string"==typeof h&&(E=l[h],h=l,l=E),at(l))return T=u.call(arguments,2),O=function(){return l.apply(h||this,T.concat(u.call(arguments)))},O.guid=l.guid=l.guid||D.guid++,O},D.holdReady=function(l){l?D.readyWait++:D.ready(!0)},D.isArray=Array.isArray,D.parseJSON=JSON.parse,D.nodeName=We,D.isFunction=at,D.isWindow=wt,D.camelCase=Ct,D.type=Qe,D.now=Date.now,D.isNumeric=function(l){var h=D.type(l);return("number"===h||"string"===h)&&!isNaN(l-parseFloat(l))},D.trim=function(l){return null==l?"":(l+"").replace(qt,"$1")},void 0!==(I=function(){return D}.apply(Ne,[]))&&(_t.exports=I);var Ki=x.jQuery,jr=x.$;return D.noConflict=function(l){return x.$===D&&(x.$=jr),l&&x.jQuery===D&&(x.jQuery=Ki),D},typeof z>"u"&&(x.jQuery=x.$=D),D})},1853:(_t,Ne,M)=>{"use strict";function I(x){const s=x(X=>{Error.call(X),X.stack=(new Error).stack});return s.prototype=Object.create(Error.prototype),s.prototype.constructor=s,s}M.d(Ne,{L:()=>I})},1985:(_t,Ne,M)=>{"use strict";M.d(Ne,{c:()=>j});var I=M(7707),x=M(8359),z=M(3494),s=M(1203),X=M(1026),u=M(8071),y=M(9786);let j=(()=>{class De{constructor(le){le&&(this._subscribe=le)}lift(le){const Oe=new De;return Oe.source=this,Oe.operator=le,Oe}subscribe(le,Oe,at){const wt=function ie(De){return De&&De instanceof I.vU||function B(De){return De&&(0,u.T)(De.next)&&(0,u.T)(De.error)&&(0,u.T)(De.complete)}(De)&&(0,x.Uv)(De)}(le)?le:new I.Ms(le,Oe,at);return(0,y.Y)(()=>{const{operator:st,source:nt}=this;wt.add(st?st.call(wt,nt):nt?this._subscribe(wt):this._trySubscribe(wt))}),wt}_trySubscribe(le){try{return this._subscribe(le)}catch(Oe){le.error(Oe)}}forEach(le,Oe){return new(Oe=L(Oe))((at,wt)=>{const st=new I.Ms({next:nt=>{try{le(nt)}catch(ze){wt(ze),st.unsubscribe()}},error:wt,complete:at});this.subscribe(st)})}_subscribe(le){var Oe;return null===(Oe=this.source)||void 0===Oe?void 0:Oe.subscribe(le)}[z.s](){return this}pipe(...le){return(0,s.m)(le)(this)}toPromise(le){return new(le=L(le))((Oe,at)=>{let wt;this.subscribe(st=>wt=st,st=>at(st),()=>Oe(wt))})}}return De.create=Pe=>new De(Pe),De})();function L(De){var Pe;return null!==(Pe=De??X.$.Promise)&&void 0!==Pe?Pe:Promise}},2289:(_t,Ne,M)=>{"use strict";M.d(Ne,{Y:()=>z});var I=M(4412),x=M(8457);let z=(()=>{class s{_isMainMenuOpen=new I.t(!0);_isMobileMenuOpen=new I.t(!1);isMainMenuOpen$=this._isMainMenuOpen.asObservable();isMobileMenuOpen$=this._isMobileMenuOpen.asObservable();openMenu(){this._isMainMenuOpen.next(!0),this._isMobileMenuOpen.next(!1)}closeMenu(){this._isMainMenuOpen.next(!1)}toggleMainMenu(){this._isMainMenuOpen.next(!this._isMainMenuOpen.value)}toggleMobileMenu(){this._isMobileMenuOpen.next(!this._isMobileMenuOpen.value)}openMobileMenu(){this._isMobileMenuOpen.next(!0),this._isMainMenuOpen.next(!1)}closeMobileMenu(){this._isMobileMenuOpen.next(!1)}getMainMenuState(){return this._isMainMenuOpen.value}getMobileMenuState(){return this._isMobileMenuOpen.value}logMenuState(){console.log("Main menu state:",this._isMainMenuOpen.value),console.log("Mobile menu state:",this._isMobileMenuOpen.value)}static \u0275fac=function(y){return new(y||s)};static \u0275prov=x.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})()},2300:(_t,Ne,M)=>{"use strict";M.d(Ne,{A:()=>Oe,D:()=>y,L:()=>wt,P:()=>at,a:()=>le,b:()=>L,c:()=>j,g:()=>X,j:()=>ie,n:()=>Pe,s:()=>u});var I=M(8457),x=M(1413),z=M(460);let s=null;function X(){return s}function u(he){s??=he}class y{}let j=(()=>{class he{historyGo(D){throw new Error("")}static \u0275fac=function($e){return new($e||he)};static \u0275prov=I.jDH({token:he,factory:()=>(0,I.WQX)(B),providedIn:"platform"})}return he})();const L=new I.nKC("");let B=(()=>{class he extends j{_location;_history;_doc=(0,I.WQX)(z.D);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return X().getBaseHref(this._doc)}onPopState(D){const $e=X().getGlobalEventTarget(this._doc,"window");return $e.addEventListener("popstate",D,!1),()=>$e.removeEventListener("popstate",D)}onHashChange(D){const $e=X().getGlobalEventTarget(this._doc,"window");return $e.addEventListener("hashchange",D,!1),()=>$e.removeEventListener("hashchange",D)}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(D){this._location.pathname=D}pushState(D,$e,We){this._history.pushState(D,$e,We)}replaceState(D,$e,We){this._history.replaceState(D,$e,We)}forward(){this._history.forward()}back(){this._history.back()}historyGo(D=0){this._history.go(D)}getState(){return this._history.state}static \u0275fac=function($e){return new($e||he)};static \u0275prov=I.jDH({token:he,factory:()=>new he,providedIn:"platform"})}return he})();function ie(he,it){return he?it?he.endsWith("/")?it.startsWith("/")?he+it.slice(1):he+it:it.startsWith("/")?he+it:`${he}/${it}`:he:it}function De(he){const it=he.search(/#|\?|$/);return"/"===he[it-1]?he.slice(0,it-1)+he.slice(it):he}function Pe(he){return he&&"?"!==he[0]?`?${he}`:he}let le=(()=>{class he{historyGo(D){throw new Error("")}static \u0275fac=function($e){return new($e||he)};static \u0275prov=I.jDH({token:he,factory:()=>(0,I.WQX)(at),providedIn:"root"})}return he})();const Oe=new I.nKC("");let at=(()=>{class he extends le{_platformLocation;_baseHref;_removeListenerFns=[];constructor(D,$e){super(),this._platformLocation=D,this._baseHref=$e??this._platformLocation.getBaseHrefFromDOM()??(0,I.WQX)(z.D).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(D){this._removeListenerFns.push(this._platformLocation.onPopState(D),this._platformLocation.onHashChange(D))}getBaseHref(){return this._baseHref}prepareExternalUrl(D){return ie(this._baseHref,D)}path(D=!1){const $e=this._platformLocation.pathname+Pe(this._platformLocation.search),We=this._platformLocation.hash;return We&&D?`${$e}${We}`:$e}pushState(D,$e,We,$t){const nn=this.prepareExternalUrl(We+Pe($t));this._platformLocation.pushState(D,$e,nn)}replaceState(D,$e,We,$t){const nn=this.prepareExternalUrl(We+Pe($t));this._platformLocation.replaceState(D,$e,nn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(D=0){this._platformLocation.historyGo?.(D)}static \u0275fac=function($e){return new($e||he)(I.KVO(j),I.KVO(Oe,8))};static \u0275prov=I.jDH({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})(),wt=(()=>{class he{_subject=new x.B;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(D){this._locationStrategy=D;const $e=this._locationStrategy.getBaseHref();this._basePath=function Qe(he){if(new RegExp("^(https?:)?//").test(he)){const[,D]=he.split(/\/\/[^\/]+/);return D}return he}(De(ze($e))),this._locationStrategy.onPopState(We=>{this._subject.next({url:this.path(!0),pop:!0,state:We.state,type:We.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(D=!1){return this.normalize(this._locationStrategy.path(D))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(D,$e=""){return this.path()==this.normalize(D+Pe($e))}normalize(D){return he.stripTrailingSlash(function nt(he,it){if(!he||!it.startsWith(he))return it;const D=it.substring(he.length);return""===D||["/",";","?","#"].includes(D[0])?D:it}(this._basePath,ze(D)))}prepareExternalUrl(D){return D&&"/"!==D[0]&&(D="/"+D),this._locationStrategy.prepareExternalUrl(D)}go(D,$e="",We=null){this._locationStrategy.pushState(We,"",D,$e),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Pe($e)),We)}replaceState(D,$e="",We=null){this._locationStrategy.replaceState(We,"",D,$e),this._notifyUrlChangeListeners(this.prepareExternalUrl(D+Pe($e)),We)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(D=0){this._locationStrategy.historyGo?.(D)}onUrlChange(D){return this._urlChangeListeners.push(D),this._urlChangeSubscription??=this.subscribe($e=>{this._notifyUrlChangeListeners($e.url,$e.state)}),()=>{const $e=this._urlChangeListeners.indexOf(D);this._urlChangeListeners.splice($e,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(D="",$e){this._urlChangeListeners.forEach(We=>We(D,$e))}subscribe(D,$e,We){return this._subject.subscribe({next:D,error:$e??void 0,complete:We??void 0})}static normalizeQueryParams=Pe;static joinWithSlash=ie;static stripTrailingSlash=De;static \u0275fac=function($e){return new($e||he)(I.KVO(le))};static \u0275prov=I.jDH({token:he,factory:()=>function st(){return new wt((0,I.KVO)(le))}(),providedIn:"root"})}return he})();function ze(he){return he.replace(/\/index.html$/,"")}},2822:(_t,Ne,M)=>{"use strict";M.d(Ne,{A:()=>I,N:()=>at,Q:()=>st,a:()=>s,d:()=>x,f:()=>j,h:()=>y,i:()=>z,j:()=>wt,s:()=>u,t:()=>B});var I=function(nt){return nt[nt.State=0]="State",nt[nt.Transition=1]="Transition",nt[nt.Sequence=2]="Sequence",nt[nt.Group=3]="Group",nt[nt.Animate=4]="Animate",nt[nt.Keyframes=5]="Keyframes",nt[nt.Style=6]="Style",nt[nt.Trigger=7]="Trigger",nt[nt.Reference=8]="Reference",nt[nt.AnimateChild=9]="AnimateChild",nt[nt.AnimateRef=10]="AnimateRef",nt[nt.Query=11]="Query",nt[nt.Stagger=12]="Stagger",nt}(I||{});const x="*";function z(nt,ze){return{type:I.Trigger,name:nt,definitions:ze,options:{}}}function s(nt,ze=null){return{type:I.Animate,styles:ze,timings:nt}}function u(nt,ze=null){return{type:I.Sequence,steps:nt,options:ze}}function y(nt){return{type:I.Style,styles:nt,offset:null}}function j(nt,ze,Qe){return{type:I.State,name:nt,styles:ze,options:Qe}}function B(nt,ze,Qe=null){return{type:I.Transition,expr:nt,animation:ze,options:Qe}}class at{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(ze=0,Qe=0){this.totalTime=ze+Qe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ze=>ze()),this._onDoneFns=[])}onStart(ze){this._originalOnStartFns.push(ze),this._onStartFns.push(ze)}onDone(ze){this._originalOnDoneFns.push(ze),this._onDoneFns.push(ze)}onDestroy(ze){this._onDestroyFns.push(ze)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ze=>ze()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ze=>ze()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ze){this._position=this.totalTime?ze*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ze){const Qe="start"==ze?this._onStartFns:this._onDoneFns;Qe.forEach(he=>he()),Qe.length=0}}class wt{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(ze){this.players=ze;let Qe=0,he=0,it=0;const D=this.players.length;0==D?queueMicrotask(()=>this._onFinish()):this.players.forEach($e=>{$e.onDone(()=>{++Qe==D&&this._onFinish()}),$e.onDestroy(()=>{++he==D&&this._onDestroy()}),$e.onStart(()=>{++it==D&&this._onStart()})}),this.totalTime=this.players.reduce(($e,We)=>Math.max($e,We.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ze=>ze()),this._onDoneFns=[])}init(){this.players.forEach(ze=>ze.init())}onStart(ze){this._onStartFns.push(ze)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ze=>ze()),this._onStartFns=[])}onDone(ze){this._onDoneFns.push(ze)}onDestroy(ze){this._onDestroyFns.push(ze)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ze=>ze.play())}pause(){this.players.forEach(ze=>ze.pause())}restart(){this.players.forEach(ze=>ze.restart())}finish(){this._onFinish(),this.players.forEach(ze=>ze.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ze=>ze.destroy()),this._onDestroyFns.forEach(ze=>ze()),this._onDestroyFns=[])}reset(){this.players.forEach(ze=>ze.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ze){const Qe=ze*this.totalTime;this.players.forEach(he=>{const it=he.totalTime?Math.min(1,Qe/he.totalTime):1;he.setPosition(it)})}getPosition(){const ze=this.players.reduce((Qe,he)=>null===Qe||he.totalTime>Qe.totalTime?he:Qe,null);return null!=ze?ze.getPosition():0}beforeDestroy(){this.players.forEach(ze=>{ze.beforeDestroy&&ze.beforeDestroy()})}triggerCallback(ze){const Qe="start"==ze?this._onStartFns:this._onDoneFns;Qe.forEach(he=>he()),Qe.length=0}}const st="!"},3073:(_t,Ne,M)=>{"use strict";M.d(Ne,{D:()=>X});const{isArray:I}=Array,{getPrototypeOf:x,prototype:z,keys:s}=Object;function X(y){if(1===y.length){const j=y[0];if(I(j))return{args:j,keys:null};if(function u(y){return y&&"object"==typeof y&&x(y)===z}(j)){const L=s(j);return{args:L.map(B=>j[B]),keys:L}}}return{args:y,keys:null}}},3494:(_t,Ne,M)=>{"use strict";M.d(Ne,{s:()=>I});const I="function"==typeof Symbol&&Symbol.observable||"@@observable"},3669:(_t,Ne,M)=>{"use strict";function I(x){return x}M.d(Ne,{D:()=>I})},4360:(_t,Ne,M)=>{"use strict";M.d(Ne,{_:()=>x});var I=M(7707);function x(s,X,u,y,j){return new z(s,X,u,y,j)}class z extends I.vU{constructor(X,u,y,j,L,B){super(X),this.onFinalize=L,this.shouldUnsubscribe=B,this._next=u?function(ie){try{u(ie)}catch(De){X.error(De)}}:super._next,this._error=j?function(ie){try{j(ie)}catch(De){X.error(De)}finally{this.unsubscribe()}}:super._error,this._complete=y?function(){try{y()}catch(ie){X.error(ie)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var X;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:u}=this;super.unsubscribe(),!u&&(null===(X=this.onFinalize)||void 0===X||X.call(this))}}}},4402:(_t,Ne,M)=>{"use strict";M.d(Ne,{A:()=>z});var I=M(1985),x=M(8071);function z(s){return!!s&&(s instanceof I.c||(0,x.T)(s.lift)&&(0,x.T)(s.subscribe))}},4412:(_t,Ne,M)=>{"use strict";M.d(Ne,{t:()=>x});var I=M(1413);class x extends I.B{constructor(s){super(),this._value=s}get value(){return this.getValue()}_subscribe(s){const X=super._subscribe(s);return!X.closed&&s.next(this._value),X}getValue(){const{hasError:s,thrownError:X,_value:u}=this;if(s)throw X;return this._throwIfClosed(),u}next(s){super.next(this._value=s)}}},4572:(_t,Ne,M)=>{"use strict";M.d(Ne,{z:()=>B});var I=M(1985),x=M(3073),z=M(6648),s=M(3669),X=M(6450),u=M(9326),y=M(8496),j=M(4360),L=M(5225);function B(...Pe){const le=(0,u.lI)(Pe),Oe=(0,u.ms)(Pe),{args:at,keys:wt}=(0,x.D)(Pe);if(0===at.length)return(0,z.H)([],le);const st=new I.c(function ie(Pe,le,Oe=s.D){return at=>{De(le,()=>{const{length:wt}=Pe,st=new Array(wt);let nt=wt,ze=wt;for(let Qe=0;Qe<wt;Qe++)De(le,()=>{const he=(0,z.H)(Pe[Qe],le);let it=!1;he.subscribe((0,j._)(at,D=>{st[Qe]=D,it||(it=!0,ze--),ze||at.next(Oe(st.slice()))},()=>{--nt||at.complete()}))},at)},at)}}(at,le,wt?nt=>(0,y.e)(wt,nt):s.D));return Oe?st.pipe((0,X.I)(Oe)):st}function De(Pe,le,Oe){Pe?(0,L.N)(Oe,Pe,le):le()}},4761:(_t,Ne,M)=>{"use strict";M.d(Ne,{l:()=>x});const x=function I(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},4909:(_t,Ne,M)=>{"use strict";M.d(Ne,{Wr:()=>ze,h:()=>At,D9:()=>an,c$:()=>ke});var I=M(8457),x=M(7673),z=M(4402),s=M(7468),X=M(8793),u=M(9030),y=M(6697),j=M(1413),L=M(6129);class B extends j.B{constructor(dt=1/0,oe=1/0,Se=L.U){super(),this._bufferSize=dt,this._windowTime=oe,this._timestampProvider=Se,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=oe===1/0,this._bufferSize=Math.max(1,dt),this._windowTime=Math.max(1,oe)}next(dt){const{isStopped:oe,_buffer:Se,_infiniteTimeWindow:rt,_timestampProvider:ut,_windowTime:kt}=this;oe||(Se.push(dt),!rt&&Se.push(ut.now()+kt)),this._trimBuffer(),super.next(dt)}_subscribe(dt){this._throwIfClosed(),this._trimBuffer();const oe=this._innerSubscribe(dt),{_infiniteTimeWindow:Se,_buffer:rt}=this,ut=rt.slice();for(let kt=0;kt<ut.length&&!dt.closed;kt+=Se?1:2)dt.next(ut[kt]);return this._checkFinalizedStatuses(dt),oe}_trimBuffer(){const{_bufferSize:dt,_timestampProvider:oe,_buffer:Se,_infiniteTimeWindow:rt}=this,ut=(rt?1:2)*dt;if(dt<1/0&&ut<Se.length&&Se.splice(0,Se.length-ut),!rt){const kt=oe.now();let qn=0;for(let Xe=1;Xe<Se.length&&Se[Xe]<=kt;Xe+=2)qn=Xe;qn&&Se.splice(0,qn+1)}}}var ie=M(8750),De=M(7707),Pe=M(9974);function Oe(xe,dt,...oe){if(!0===dt)return void xe();if(!1===dt)return;const Se=new De.Ms({next:()=>{Se.unsubscribe(),xe()}});return(0,ie.Tg)(dt(...oe)).subscribe(Se)}function at(xe,dt,oe){let Se,rt=!1;return xe&&"object"==typeof xe?({bufferSize:Se=1/0,windowTime:dt=1/0,refCount:rt=!1,scheduler:oe}=xe):Se=xe??1/0,function le(xe={}){const{connector:dt=()=>new j.B,resetOnError:oe=!0,resetOnComplete:Se=!0,resetOnRefCountZero:rt=!0}=xe;return ut=>{let kt,qn,Xe,Ct=0,Ve=!1,ct=!1;const tt=()=>{qn?.unsubscribe(),qn=void 0},Kt=()=>{tt(),kt=Xe=void 0,Ve=ct=!1},jt=()=>{const Rn=kt;Kt(),Rn?.unsubscribe()};return(0,Pe.N)((Rn,er)=>{Ct++,!ct&&!Ve&&tt();const tr=Xe=Xe??dt();er.add(()=>{Ct--,0===Ct&&!ct&&!Ve&&(qn=Oe(jt,rt))}),tr.subscribe(er),!kt&&Ct>0&&(kt=new De.Ms({next:yr=>tr.next(yr),error:yr=>{ct=!0,tt(),qn=Oe(Kt,oe,yr),tr.error(yr)},complete:()=>{Ve=!0,tt(),qn=Oe(Kt,Se),tr.complete()}}),(0,ie.Tg)(Rn).subscribe(kt))})(ut)}}({connector:()=>new B(Se,dt,oe),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:rt})}var wt=M(6354),st=M(274),nt=M(5558);class ze{}let Qe=(()=>{class xe extends ze{getTranslation(oe){return(0,x.of)({})}static \u0275fac=(()=>{let oe;return function(rt){return(oe||(oe=I.xGo(xe)))(rt||xe)}})();static \u0275prov=I.jDH({token:xe,factory:xe.\u0275fac})}return xe})();class he{}let it=(()=>{class xe{handle(oe){return oe.key}static \u0275fac=function(Se){return new(Se||xe)};static \u0275prov=I.jDH({token:xe,factory:xe.\u0275fac})}return xe})();function D(xe,dt){if(xe===dt)return!0;if(null===xe||null===dt)return!1;if(xe!=xe&&dt!=dt)return!0;const oe=typeof xe;let rt,ut,kt;if(oe==typeof dt&&"object"==oe){if(!Array.isArray(xe)){if(Array.isArray(dt))return!1;for(ut in kt=Object.create(null),xe){if(!D(xe[ut],dt[ut]))return!1;kt[ut]=!0}for(ut in dt)if(!(ut in kt)&&typeof dt[ut]<"u")return!1;return!0}if(!Array.isArray(dt))return!1;if((rt=xe.length)==dt.length){for(ut=0;ut<rt;ut++)if(!D(xe[ut],dt[ut]))return!1;return!0}}return!1}function $e(xe){return typeof xe<"u"&&null!==xe}function We(xe){return $t(xe)&&!nn(xe)&&null!==xe}function $t(xe){return"object"==typeof xe}function nn(xe){return Array.isArray(xe)}function Kn(xe){return"string"==typeof xe}function In(xe,dt){const oe=Object.assign({},xe);return $t(xe)?($t(xe)&&$t(dt)&&Object.keys(dt).forEach(Se=>{We(dt[Se])?Se in xe?oe[Se]=In(xe[Se],dt[Se]):Object.assign(oe,{[Se]:dt[Se]}):Object.assign(oe,{[Se]:dt[Se]})}),oe):In({},dt)}function Hn(xe,dt){const oe=dt.split(".");dt="";do{dt+=oe.shift(),$e(xe)&&$e(xe[dt])&&(We(xe[dt])||nn(xe[dt])||!oe.length)?(xe=xe[dt],dt=""):oe.length?dt+=".":xe=void 0}while(oe.length);return xe}class ln{}let or=(()=>{class xe extends ln{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(oe,Se){return Kn(oe)?this.interpolateString(oe,Se):function rn(xe){return"function"==typeof xe}(oe)?this.interpolateFunction(oe,Se):void 0}interpolateFunction(oe,Se){return oe(Se)}interpolateString(oe,Se){return Se?oe.replace(this.templateMatcher,(rt,ut)=>{const kt=Hn(Se,ut);return $e(kt)?kt:rt}):oe}static \u0275fac=(()=>{let oe;return function(rt){return(oe||(oe=I.xGo(xe)))(rt||xe)}})();static \u0275prov=I.jDH({token:xe,factory:xe.\u0275fac})}return xe})();class sr{}let vr=(()=>{class xe extends sr{compile(oe,Se){return oe}compileTranslations(oe,Se){return oe}static \u0275fac=(()=>{let oe;return function(rt){return(oe||(oe=I.xGo(xe)))(rt||xe)}})();static \u0275prov=I.jDH({token:xe,factory:xe.\u0275fac})}return xe})();class _e{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new I.bkB;onLangChange=new I.bkB;onDefaultLangChange=new I.bkB}const Me=new I.nKC("ISOLATE_TRANSLATE_SERVICE"),ue=new I.nKC("USE_DEFAULT_LANG"),ve=new I.nKC("DEFAULT_LANGUAGE"),ne=new I.nKC("USE_EXTEND"),Z=xe=>(0,z.A)(xe)?xe:(0,x.of)(xe);let ke=(()=>{class xe{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(oe){this.store.defaultLang=oe}get currentLang(){return this.store.currentLang}set currentLang(oe){this.store.currentLang=oe}get langs(){return this.store.langs}set langs(oe){this.store.langs=oe}get translations(){return this.store.translations}set translations(oe){this.store.translations=oe}constructor(oe,Se,rt,ut,kt,qn=!0,Xe=!1,Ct=!1,Ve){this.store=oe,this.currentLoader=Se,this.compiler=rt,this.parser=ut,this.missingTranslationHandler=kt,this.useDefaultLang=qn,this.extend=Ct,Xe&&(this.store=new _e),Ve&&this.setDefaultLang(Ve)}setDefaultLang(oe){if(oe===this.defaultLang)return;const Se=this.retrieveTranslations(oe);typeof Se<"u"?(null==this.defaultLang&&(this.defaultLang=oe),Se.pipe((0,y.s)(1)).subscribe(()=>{this.changeDefaultLang(oe)})):this.changeDefaultLang(oe)}getDefaultLang(){return this.defaultLang}use(oe){if(this.lastUseLanguage=oe,oe===this.currentLang)return(0,x.of)(this.translations[oe]);this.currentLang||(this.currentLang=oe);const Se=this.retrieveTranslations(oe);return(0,z.A)(Se)?(Se.pipe((0,y.s)(1)).subscribe(()=>{this.changeLang(oe)}),Se):(this.changeLang(oe),(0,x.of)(this.translations[oe]))}changeLang(oe){oe===this.lastUseLanguage&&(this.currentLang=oe,this.onLangChange.emit({lang:oe,translations:this.translations[oe]}),null==this.defaultLang&&this.changeDefaultLang(oe))}retrieveTranslations(oe){if(typeof this.translations[oe]>"u"||this.extend)return this._translationRequests[oe]=this._translationRequests[oe]||this.loadAndCompileTranslations(oe),this._translationRequests[oe]}getTranslation(oe){return this.loadAndCompileTranslations(oe)}loadAndCompileTranslations(oe){this.pending=!0;const Se=this.currentLoader.getTranslation(oe).pipe(at(1),(0,y.s)(1));return this.loadingTranslations=Se.pipe((0,wt.T)(rt=>this.compiler.compileTranslations(rt,oe)),at(1),(0,y.s)(1)),this.loadingTranslations.subscribe({next:rt=>{this.translations[oe]=this.extend&&this.translations[oe]?{...rt,...this.translations[oe]}:rt,this.updateLangs(),this.pending=!1},error:rt=>{this.pending=!1}}),Se}setTranslation(oe,Se,rt=!1){const ut=this.compiler.compileTranslations(Se,oe);this.translations[oe]=(rt||this.extend)&&this.translations[oe]?In(this.translations[oe],ut):ut,this.updateLangs(),this.onTranslationChange.emit({lang:oe,translations:this.translations[oe]})}getLangs(){return this.langs}addLangs(oe){const Se=oe.filter(rt=>!this.langs.includes(rt));Se.length>0&&(this.langs=[...this.langs,...Se])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(oe,Se,rt){let ut;if(oe&&(ut=this.runInterpolation(Hn(oe,Se),rt)),void 0===ut&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(ut=this.runInterpolation(Hn(this.translations[this.defaultLang],Se),rt)),void 0===ut){const kt={key:Se,translateService:this};typeof rt<"u"&&(kt.interpolateParams=rt),ut=this.missingTranslationHandler.handle(kt)}return void 0!==ut?ut:Se}runInterpolation(oe,Se){if(nn(oe))return oe.map(rt=>this.runInterpolation(rt,Se));if(We(oe)){const rt={};for(const ut in oe){const kt=this.runInterpolation(oe[ut],Se);void 0!==kt&&(rt[ut]=kt)}return rt}return this.parser.interpolate(oe,Se)}getParsedResult(oe,Se,rt){if(Se instanceof Array){const ut={};let kt=!1;for(const Xe of Se)ut[Xe]=this.getParsedResultForKey(oe,Xe,rt),kt=kt||(0,z.A)(ut[Xe]);if(!kt)return ut;const qn=Se.map(Xe=>Z(ut[Xe]));return(0,s.p)(qn).pipe((0,wt.T)(Xe=>{const Ct={};return Xe.forEach((Ve,ct)=>{Ct[Se[ct]]=Ve}),Ct}))}return this.getParsedResultForKey(oe,Se,rt)}get(oe,Se){if(!$e(oe)||!oe.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe((0,st.H)(rt=>Z(this.getParsedResult(rt,oe,Se)))):Z(this.getParsedResult(this.translations[this.currentLang],oe,Se))}getStreamOnTranslationChange(oe,Se){if(!$e(oe)||!oe.length)throw new Error('Parameter "key" is required and cannot be empty');return(0,X.x)((0,u.v)(()=>this.get(oe,Se)),this.onTranslationChange.pipe((0,nt.n)(rt=>{const ut=this.getParsedResult(rt.translations,oe,Se);return Z(ut)})))}stream(oe,Se){if(!$e(oe)||!oe.length)throw new Error('Parameter "key" required');return(0,X.x)((0,u.v)(()=>this.get(oe,Se)),this.onLangChange.pipe((0,nt.n)(rt=>{const ut=this.getParsedResult(rt.translations,oe,Se);return Z(ut)})))}instant(oe,Se){if(!$e(oe)||0===oe.length)throw new Error('Parameter "key" is required and cannot be empty');const rt=this.getParsedResult(this.translations[this.currentLang],oe,Se);return(0,z.A)(rt)?Array.isArray(oe)?oe.reduce((ut,kt)=>(ut[kt]=kt,ut),{}):oe:rt}set(oe,Se,rt=this.currentLang){(function Ln(xe,dt,oe){const Se=dt.split(".");let rt=xe;for(let ut=0;ut<Se.length;ut++){const kt=Se[ut];ut===Se.length-1?rt[kt]=oe:((!rt[kt]||!We(rt[kt]))&&(rt[kt]={}),rt=rt[kt])}})(this.translations[rt],oe,Kn(Se)?this.compiler.compile(Se,rt):this.compiler.compileTranslations(Se,rt)),this.updateLangs(),this.onTranslationChange.emit({lang:rt,translations:this.translations[rt]})}changeDefaultLang(oe){this.defaultLang=oe,this.onDefaultLangChange.emit({lang:oe,translations:this.translations[oe]})}reloadLang(oe){return this.resetLang(oe),this.loadAndCompileTranslations(oe)}resetLang(oe){delete this._translationRequests[oe],delete this.translations[oe]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;const oe=this.getBrowserCultureLang();return oe?oe.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static \u0275fac=function(Se){return new(Se||xe)(I.KVO(_e),I.KVO(ze),I.KVO(sr),I.KVO(ln),I.KVO(he),I.KVO(ue),I.KVO(Me),I.KVO(ne),I.KVO(ve))};static \u0275prov=I.jDH({token:xe,factory:xe.\u0275fac,providedIn:"root"})}return xe})(),an=(()=>{class xe{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(oe,Se){this.translate=oe,this._ref=Se}updateValue(oe,Se,rt){const ut=kt=>{this.value=void 0!==kt?kt:oe,this.lastKey=oe,this._ref.markForCheck()};if(rt){const kt=this.translate.getParsedResult(rt,oe,Se);(0,z.A)(kt)?kt.subscribe(ut):ut(kt)}this.translate.get(oe,Se).subscribe(ut)}transform(oe,...Se){if(!oe||!oe.length)return oe;if(D(oe,this.lastKey)&&D(Se,this.lastParams))return this.value;let rt;if($e(Se[0])&&Se.length)if(Kn(Se[0])&&Se[0].length){const ut=Se[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{rt=JSON.parse(ut)}catch(kt){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${Se[0]}`)}}else We(Se[0])&&(rt=Se[0]);return this.lastKey=oe,this.lastParams=Se,this.updateValue(oe,rt),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(ut=>{this.lastKey&&ut.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(oe,rt,ut.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(ut=>{this.lastKey&&(this.lastKey=null,this.updateValue(oe,rt,ut.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(oe,rt))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(Se){return new(Se||xe)(I.rXU(ke,16),I.rXU(I.gRc,16))};static \u0275pipe=I.EJ8({name:"translate",type:xe,pure:!1});static \u0275prov=I.jDH({token:xe,factory:xe.\u0275fac})}return xe})(),At=(()=>{class xe{static forRoot(oe={}){return{ngModule:xe,providers:[oe.loader||{provide:ze,useClass:Qe},oe.compiler||{provide:sr,useClass:vr},oe.parser||{provide:ln,useClass:or},oe.missingTranslationHandler||{provide:he,useClass:it},_e,{provide:Me,useValue:oe.isolate},{provide:ue,useValue:oe.useDefaultLang},{provide:ne,useValue:oe.extend},{provide:ve,useValue:oe.defaultLanguage},ke]}}static forChild(oe={}){return{ngModule:xe,providers:[oe.loader||{provide:ze,useClass:Qe},oe.compiler||{provide:sr,useClass:vr},oe.parser||{provide:ln,useClass:or},oe.missingTranslationHandler||{provide:he,useClass:it},{provide:Me,useValue:oe.isolate},{provide:ue,useValue:oe.useDefaultLang},{provide:ne,useValue:oe.extend},{provide:ve,useValue:oe.defaultLanguage},ke]}}static \u0275fac=function(Se){return new(Se||xe)};static \u0275mod=I.$C({type:xe});static \u0275inj=I.G2t({})}return xe})()},5055:(_t,Ne,M)=>{"use strict";M.d(Ne,{l:()=>z});var I=M(3494),x=M(8071);function z(s){return(0,x.T)(s[I.s])}},5196:(_t,Ne,M)=>{"use strict";M.d(Ne,{C:()=>z,U:()=>s});var I=M(1635),x=M(8071);function z(X){return(0,I.AQ)(this,arguments,function*(){const y=X.getReader();try{for(;;){const{value:j,done:L}=yield(0,I.N3)(y.read());if(L)return yield(0,I.N3)(void 0);yield yield(0,I.N3)(j)}}finally{y.releaseLock()}})}function s(X){return(0,x.T)(X?.getReader)}},5225:(_t,Ne,M)=>{"use strict";function I(x,z,s,X=0,u=!1){const y=z.schedule(function(){s(),u?x.add(this.schedule(null,X)):this.unsubscribe()},X);if(x.add(y),!u)return y}M.d(Ne,{N:()=>I})},5312:(_t,Ne,M)=>{"use strict";M.d(Ne,{c:()=>I});const I={production:!0,apiUrl:"https://negocios.lapieza.do/api/v2/",mainUrl:"https://lapieza.do",backendUrl:"https://negocios.lapieza.do",debugMode:!1,ImageUrl:"https://negocios.lapieza.do/public/uploads/all/",googleApiKey:"AIzaSyCo2JgylZ5y7HgfRuLNOAZinWwtQvJLfOQ",googleMapsId:"mapa-la-pieza",latitudeMapCenter:19.4326077,longitudeMapCenter:-70.650005,zoomMap:15,ipApiUrl:"https://api.ipify.org?format=json",googleGeolocationUrl:"https://www.googleapis.com/geolocation/v1/geolocate?key=",PedidosYaUrl:"https://courier-api.pedidosya.com/v3/shippings/estimates"}},5334:(_t,Ne,M)=>{"use strict";M.d(Ne,{m:()=>z});var I=M(1026),x=M(9270);function z(s){x.f.setTimeout(()=>{const{onUnhandledError:X}=I.$;if(!X)throw s;X(s)})}},5343:(_t,Ne,M)=>{"use strict";function I(){}M.d(Ne,{l:()=>I})},5397:(_t,Ne,M)=>{"use strict";M.d(Ne,{x:()=>z});var I=M(4761),x=M(8071);function z(s){return(0,x.T)(s?.[I.l])}},5528:(_t,Ne,M)=>{"use strict";M.d(Ne,{R:()=>On,m:()=>Mn,p:()=>zr});var I=M(2300),x=M(8457),z=M(460);let u=(()=>{class G{static \u0275prov=(0,x.jDH)({token:G,providedIn:"root",factory:()=>new y((0,x.WQX)(z.D),window)})}return G})();class y{document;window;offset=()=>[0,0];constructor(Te,ae){this.document=Te,this.window=ae}setOffset(Te){this.offset=Array.isArray(Te)?()=>Te:Te}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Te){this.window.scrollTo(Te[0],Te[1])}scrollToAnchor(Te){const ae=function j(G,Te){const ae=G.getElementById(Te)||G.getElementsByName(Te)[0];if(ae)return ae;if("function"==typeof G.createTreeWalker&&G.body&&"function"==typeof G.body.attachShadow){const Ie=G.createTreeWalker(G.body,NodeFilter.SHOW_ELEMENT);let lt=Ie.currentNode;for(;lt;){const Mt=lt.shadowRoot;if(Mt){const Vt=Mt.getElementById(Te)||Mt.querySelector(`[name="${Te}"]`);if(Vt)return Vt}lt=Ie.nextNode()}}return null}(this.document,Te);ae&&(this.scrollToElement(ae),ae.focus())}setHistoryScrollRestoration(Te){this.window.history.scrollRestoration=Te}scrollToElement(Te){const ae=Te.getBoundingClientRect(),Ie=ae.left+this.window.pageXOffset,lt=ae.top+this.window.pageYOffset,Mt=this.offset();this.window.scrollTo(Ie-Mt[0],lt-Mt[1])}}var ht=M(8834),Ye=M(99),It=M(1413),sn=M(7673),Qt=M(6648),Yn=M(6365),Cr=M(5964),lr=M(274),gr=M(1397);let On=(()=>{class G{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new It.B;constructor(ae,Ie,lt,Mt,Vt,Xt){this.router=ae,this.route=Ie,this.tabIndexAttribute=lt,this.renderer=Mt,this.el=Vt,this.locationStrategy=Xt;const hi=Vt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===hi||"area"===hi,this.isAnchorElement?this.subscription=ae.events.subscribe(dr=>{dr instanceof Ye.g&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(ae){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",ae)}ngOnChanges(ae){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(ae){null==ae?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(this.routerLinkInput=(0,Ye.X)(ae)||Array.isArray(ae)?ae:[ae],this.setTabIndexIfNotOnNativeEl("0"))}onClick(ae,Ie,lt,Mt,Vt){const Xt=this.urlTree;return!!(null===Xt||this.isAnchorElement&&(0!==ae||Ie||lt||Mt||Vt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(Xt,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const ae=this.urlTree;this.href=null!==ae&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(ae)):null;const Ie=null===this.href?null:(0,x.n$t)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Ie)}applyAttributeValue(ae,Ie){const lt=this.renderer,Mt=this.el.nativeElement;null!==Ie?lt.setAttribute(Mt,ae,Ie):lt.removeAttribute(Mt,ae)}get urlTree(){return null===this.routerLinkInput?null:(0,Ye.X)(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(Ie){return new(Ie||G)(x.rXU(Ye.t),x.rXU(Ye.x),x.kS0("tabindex"),x.rXU(x.sFG),x.rXU(x.aKT),x.rXU(I.a))};static \u0275dir=x.FsC({type:G,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Ie,lt){1&Ie&&x.bIt("click",function(Vt){return lt.onClick(Vt.button,Vt.ctrlKey,Vt.shiftKey,Vt.altKey,Vt.metaKey)}),2&Ie&&x.BMQ("target",lt.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",x.L39],skipLocationChange:[2,"skipLocationChange","skipLocationChange",x.L39],replaceUrl:[2,"replaceUrl","replaceUrl",x.L39],routerLink:"routerLink"},features:[x.OA$]})}return G})();class Nn{}let $n=(()=>{class G{router;injector;preloadingStrategy;loader;subscription;constructor(ae,Ie,lt,Mt,Vt){this.router=ae,this.injector=lt,this.preloadingStrategy=Mt,this.loader=Vt}setUpPreloading(){this.subscription=this.router.events.pipe((0,Cr.p)(ae=>ae instanceof Ye.g),(0,lr.H)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(ae,Ie){const lt=[];for(const Mt of Ie){Mt.providers&&!Mt._injector&&(Mt._injector=(0,x.Ol2)(Mt.providers,ae,`Route: ${Mt.path}`));const Vt=Mt._injector??ae,Xt=Mt._loadedInjector??Vt;(Mt.loadChildren&&!Mt._loadedRoutes&&void 0===Mt.canLoad||Mt.loadComponent&&!Mt._loadedComponent)&&lt.push(this.preloadConfig(Vt,Mt)),(Mt.children||Mt._loadedRoutes)&&lt.push(this.processRoutes(Xt,Mt.children??Mt._loadedRoutes))}return(0,Qt.H)(lt).pipe((0,Yn.U)())}preloadConfig(ae,Ie){return this.preloadingStrategy.preload(Ie,()=>{let lt;lt=Ie.loadChildren&&void 0===Ie.canLoad?this.loader.loadChildren(ae,Ie):(0,sn.of)(null);const Mt=lt.pipe((0,gr.Z)(Vt=>null===Vt?(0,sn.of)(void 0):(Ie._loadedRoutes=Vt.routes,Ie._loadedInjector=Vt.injector,this.processRoutes(Vt.injector??ae,Vt.routes))));if(Ie.loadComponent&&!Ie._loadedComponent){const Vt=this.loader.loadComponent(Ie);return(0,Qt.H)([Mt,Vt]).pipe((0,Yn.U)())}return Mt})}static \u0275fac=function(Ie){return new(Ie||G)(x.KVO(Ye.t),x.KVO(x.Ql9),x.KVO(x.uvJ),x.KVO(Nn),x.KVO(Ye.Y))};static \u0275prov=x.jDH({token:G,factory:G.\u0275fac,providedIn:"root"})}return G})();const Or=new x.nKC("");let li=(()=>{class G{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(ae,Ie,lt,Mt,Vt={}){this.urlSerializer=ae,this.transitions=Ie,this.viewportScroller=lt,this.zone=Mt,this.options=Vt,Vt.scrollPositionRestoration||="disabled",Vt.anchorScrolling||="disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(ae=>{ae instanceof Ye.k?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ae.navigationTrigger,this.restoredId=ae.restoredState?ae.restoredState.navigationId:0):ae instanceof Ye.g?(this.lastId=ae.id,this.scheduleScrollEvent(ae,this.urlSerializer.parse(ae.urlAfterRedirects).fragment)):ae instanceof Ye.i&&ae.code===Ye.j.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(ae,this.urlSerializer.parse(ae.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(ae=>{ae instanceof Ye.S&&(ae.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ae.position):ae.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ae.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(ae,Ie){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Ye.S(ae,"popstate"===this.lastSource?this.store[this.restoredId]:null,Ie))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(Ie){x.QTQ()};static \u0275prov=x.jDH({token:G,factory:G.\u0275fac})}return G})();function zr(G,...Te){return(0,x.EmA)([{provide:Ye.v,multi:!0,useValue:G},[],{provide:Ye.x,useFactory:di,deps:[Ye.t]},{provide:x.iLQ,multi:!0,useFactory:Gi},Te.map(ae=>ae.\u0275providers)])}function di(G){return G.routerState.root}function nr(G,Te){return{\u0275kind:G,\u0275providers:Te}}function Gi(){const G=(0,x.WQX)(x.zZn);return Te=>{const ae=G.get(x.o8S);if(Te!==ae.components[0])return;const Ie=G.get(Ye.t),lt=G.get(Gr);1===G.get(fi)&&Ie.initialNavigation(),G.get(A,null,x.$GK.Optional)?.setUpPreloading(),G.get(Or,null,x.$GK.Optional)?.init(),Ie.resetRootComponentType(ae.componentTypes[0]),lt.closed||(lt.next(),lt.complete(),lt.unsubscribe())}}const Gr=new x.nKC("",{factory:()=>new It.B}),fi=new x.nKC("",{providedIn:"root",factory:()=>1}),A=new x.nKC("");function te(G){return nr(0,[{provide:A,useExisting:$n},{provide:Nn,useExisting:G}])}function ft(G){return nr(9,[{provide:Ye.a2,useValue:Ye.a1},{provide:Ye.a3,useValue:{skipNextTransition:!!G?.skipInitialTransition,...G}}])}const yn=[I.L,{provide:Ye.M,useClass:Ye.J},Ye.t,Ye.w,{provide:Ye.x,useFactory:di,deps:[Ye.t]},Ye.Y,[]];let Mn=(()=>{class G{constructor(){}static forRoot(ae,Ie){return{ngModule:G,providers:[yn,[],{provide:Ye.v,multi:!0,useValue:ae},[],Ie?.errorHandler?{provide:Ye._,useValue:Ie.errorHandler}:[],{provide:Ye.u,useValue:Ie||{}},Ie?.useHash?{provide:I.a,useClass:ht.a9}:{provide:I.a,useClass:I.P},{provide:Or,useFactory:()=>{const G=(0,x.WQX)(u),Te=(0,x.WQX)(x.SKi),ae=(0,x.WQX)(Ye.u),Ie=(0,x.WQX)(Ye.Z),lt=(0,x.WQX)(Ye.M);return ae.scrollOffset&&G.setOffset(ae.scrollOffset),new li(lt,Ie,G,Te,ae)}},Ie?.preloadingStrategy?te(Ie.preloadingStrategy).\u0275providers:[],Ie?.initialNavigation?Kr(Ie):[],Ie?.bindToComponentInputs?nr(8,[Ye.$,{provide:Ye.a0,useExisting:Ye.$}]).\u0275providers:[],Ie?.enableViewTransitions?ft().\u0275providers:[],[{provide:ir,useFactory:Gi},{provide:x.iLQ,multi:!0,useExisting:ir}]]}}static forChild(ae){return{ngModule:G,providers:[{provide:Ye.v,multi:!0,useValue:ae}]}}static \u0275fac=function(Ie){return new(Ie||G)};static \u0275mod=x.$C({type:G});static \u0275inj=x.G2t({})}return G})();function Kr(G){return["disabled"===G.initialNavigation?nr(3,[{provide:x.hnV,multi:!0,useFactory:()=>{const Te=(0,x.WQX)(Ye.t);return()=>{Te.setUpLocationChangeListener()}}},{provide:fi,useValue:2}]).\u0275providers:[],"enabledBlocking"===G.initialNavigation?nr(2,[{provide:fi,useValue:0},{provide:x.hnV,multi:!0,deps:[x.zZn],useFactory:Te=>{const ae=Te.get(I.b,Promise.resolve());return()=>ae.then(()=>new Promise(Ie=>{const lt=Te.get(Ye.t),Mt=Te.get(Gr);(0,Ye.W)(lt,()=>{Ie(!0)}),Te.get(Ye.Z).afterPreactivation=()=>(Ie(!0),Mt.closed?(0,sn.of)(void 0):Mt),lt.initialNavigation()}))}}]).\u0275providers:[]]}const ir=new x.nKC("")},5558:(_t,Ne,M)=>{"use strict";M.d(Ne,{n:()=>s});var I=M(8750),x=M(9974),z=M(4360);function s(X,u){return(0,x.N)((y,j)=>{let L=null,B=0,ie=!1;const De=()=>ie&&!L&&j.complete();y.subscribe((0,z._)(j,Pe=>{L?.unsubscribe();let le=0;const Oe=B++;(0,I.Tg)(X(Pe,Oe)).subscribe(L=(0,z._)(j,at=>j.next(u?u(Pe,at,Oe,le++):at),()=>{L=null,De()}))},()=>{ie=!0,De()}))})}},5721:(_t,Ne,M)=>{"use strict";M.d(Ne,{H:()=>B});var I=M(4412),x=M(5558),z=M(8810),s=M(9437),X=M(8141),u=M(6354),y=M(5312),j=M(8457),L=M(8041);let B=(()=>{class ie{http;apiUrl=y.c.apiUrl;lastFetchTime=0;cacheDuration=3e5;authStatus=new I.t(!1);currentUserSubject=new I.t(null);constructor(Pe){this.http=Pe;const le=this.getToken(),Oe=localStorage.getItem("user"),at=Oe?JSON.parse(Oe):null;le&&at?(this.authStatus.next(!0),this.currentUserSubject.next(at)):this.authStatus.next(!1)}getAuthStatus(){return this.authStatus.asObservable()}getCurrentUser(){return this.currentUserSubject.asObservable()}getCurrentUserSync(){const Pe=localStorage.getItem("user");return Pe?JSON.parse(Pe):null}initializeAuth(){const Pe=localStorage.getItem("token"),le=this.getCurrentUserSync();Pe&&le?(this.authStatus.next(!0),this.currentUserSubject.next(le)):this.authStatus.next(!1)}logout(){localStorage.clear(),this.authStatus.next(!1),this.currentUserSubject.next(null),console.log("LoginService: User logged out, authStatus set to false.")}updateCurrentUser(Pe){this.currentUserSubject.next(Pe),localStorage.setItem("user",JSON.stringify(Pe))}login(Pe){return this.http.post(`${this.apiUrl}auth/login`,Pe).pipe((0,x.n)(le=>(this.authStatus.next(!0),this.saveToken(le.access_token),this.getUserInfo())),(0,s.W)(le=>(console.error("LoginService: Login failed."),this.authStatus.next(!1),(0,z.$)(()=>new Error("Login failed.")))))}saveUserInfo(Pe){console.log("LoginService: Saving user info:",Pe),localStorage.setItem("user",JSON.stringify(Pe))}saveToken(Pe){localStorage.setItem("authToken",Pe),this.authStatus.next(!0)}removeToken(){localStorage.removeItem("authToken"),localStorage.removeItem("tokenExpiry"),this.authStatus.next(!1)}getToken(){return localStorage.getItem("authToken")}refreshUserInfo(){return this.getUserInfo().pipe((0,X.M)(Pe=>{this.updateCurrentUser(Pe)}))}isAuthenticated(){const Pe=this.getToken(),le=localStorage.getItem("tokenExpiry");return!(!Pe||le&&new Date>new Date(le)&&(this.removeToken(),1))}getUserInfo(){console.log("LoginService: Getting user info");const Pe=this.getToken();return Pe?this.http.get(`${this.apiUrl}customer/info`,{headers:{Authorization:`Bearer ${Pe}`}}).pipe((0,u.T)(le=>(console.log("LoginService: Received user info",le),this.updateCurrentUser(le),le)),(0,s.W)(le=>(console.error("LoginService: Error fetching user info:",le),this.authStatus.next(!1),this.removeToken(),(0,z.$)(()=>new Error("Failed to fetch user information."))))):(console.log("LoginService: No token found"),this.authStatus.next(!1),(0,z.$)(()=>new Error("No authentication token found.")))}static \u0275fac=function(le){return new(le||ie)(j.KVO(L.a))};static \u0275prov=j.jDH({token:ie,factory:ie.\u0275fac,providedIn:"root"})}return ie})()},5794:(_t,Ne,M)=>{"use strict";M.d(Ne,{_B:()=>or,tw:()=>In});var I=M(8457),x=M(2822),z=M(460),s=M(8834),X=M(1413),u=M(1230);const y=["toast-component",""];function j(ue,ve){if(1&ue){const ne=I.RV6();I.j41(0,"button",5),I.bIt("click",function(){I.eBV(ne);const ke=I.XpG();return I.Njj(ke.remove())}),I.j41(1,"span",6),I.EFF(2,"\xd7"),I.k0s()()}}function L(ue,ve){if(1&ue&&(I.qex(0),I.EFF(1),I.bVm()),2&ue){const ne=I.XpG(2);I.R7$(),I.SpI("[",ne.duplicatesCount+1,"]")}}function B(ue,ve){if(1&ue&&(I.j41(0,"div"),I.EFF(1),I.DNE(2,L,2,1,"ng-container",4),I.k0s()),2&ue){const ne=I.XpG();I.HbH(ne.options.titleClass),I.BMQ("aria-label",ne.title),I.R7$(),I.SpI(" ",ne.title," "),I.R7$(),I.Y8G("ngIf",ne.duplicatesCount)}}function ie(ue,ve){if(1&ue&&I.nrm(0,"div",7),2&ue){const ne=I.XpG();I.HbH(ne.options.messageClass),I.Y8G("innerHTML",ne.message,I.npT)}}function De(ue,ve){if(1&ue&&(I.j41(0,"div",8),I.EFF(1),I.k0s()),2&ue){const ne=I.XpG();I.HbH(ne.options.messageClass),I.BMQ("aria-label",ne.message),I.R7$(),I.SpI(" ",ne.message," ")}}function Pe(ue,ve){if(1&ue&&(I.j41(0,"div"),I.nrm(1,"div",9),I.k0s()),2&ue){const ne=I.XpG();I.R7$(),I.xc7("width",ne.width+"%")}}class Qe{_attachedHost;component;viewContainerRef;injector;constructor(ve,ne){this.component=ve,this.injector=ne}attach(ve,ne){return this._attachedHost=ve,ve.attach(this,ne)}detach(){const ve=this._attachedHost;if(ve)return this._attachedHost=void 0,ve.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(ve){this._attachedHost=ve}}class he{_attachedPortal;_disposeFn;attach(ve,ne){return this._attachedPortal=ve,this.attachComponentPortal(ve,ne)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(ve){this._disposeFn=ve}}class it{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new X.B;_activate=new X.B;_manualClose=new X.B;_resetTimeout=new X.B;_countDuplicate=new X.B;constructor(ve){this._overlayRef=ve}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(ve,ne){ve&&this._resetTimeout.next(),ne&&this._countDuplicate.next(++this.duplicatesCount)}}class D{toastId;config;message;title;toastType;toastRef;_onTap=new X.B;_onAction=new X.B;constructor(ve,ne,Z,ke,ot,an){this.toastId=ve,this.config=ne,this.message=Z,this.title=ke,this.toastType=ot,this.toastRef=an,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(ve){this._onAction.next(ve)}onAction(){return this._onAction.asObservable()}}const We=new I.nKC("ToastConfig");class $t extends he{_hostDomElement;_componentFactoryResolver;_appRef;constructor(ve,ne,Z){super(),this._hostDomElement=ve,this._componentFactoryResolver=ne,this._appRef=Z}attachComponentPortal(ve,ne){const Z=this._componentFactoryResolver.resolveComponentFactory(ve.component);let ke;return ke=Z.create(ve.injector),this._appRef.attachView(ke.hostView),this.setDisposeFn(()=>{this._appRef.detachView(ke.hostView),ke.destroy()}),ne?this._hostDomElement.insertBefore(this._getComponentRootNode(ke),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(ke)),ke}_getComponentRootNode(ve){return ve.hostView.rootNodes[0]}}let nn=(()=>{class ue{_document=(0,I.WQX)(z.D);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ne=this._document.createElement("div");ne.classList.add("overlay-container"),ne.setAttribute("aria-live","polite"),this._document.body.appendChild(ne),this._containerElement=ne}static \u0275fac=function(Z){return new(Z||ue)};static \u0275prov=I.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();class Kn{_portalHost;constructor(ve){this._portalHost=ve}attach(ve,ne=!0){return this._portalHost.attach(ve,ne)}detach(){return this._portalHost.detach()}}let rn=(()=>{class ue{_overlayContainer=(0,I.WQX)(nn);_componentFactoryResolver=(0,I.WQX)(I.OM3);_appRef=(0,I.WQX)(I.o8S);_document=(0,I.WQX)(z.D);_paneElements=new Map;create(ne,Z){return this._createOverlayRef(this.getPaneElement(ne,Z))}getPaneElement(ne="",Z){return this._paneElements.get(Z)||this._paneElements.set(Z,{}),this._paneElements.get(Z)[ne]||(this._paneElements.get(Z)[ne]=this._createPaneElement(ne,Z)),this._paneElements.get(Z)[ne]}_createPaneElement(ne,Z){const ke=this._document.createElement("div");return ke.id="toast-container",ke.classList.add(ne),ke.classList.add("toast-container"),Z?Z.getContainerElement().appendChild(ke):this._overlayContainer.getContainerElement().appendChild(ke),ke}_createPortalHost(ne){return new $t(ne,this._componentFactoryResolver,this._appRef)}_createOverlayRef(ne){return new Kn(this._createPortalHost(ne))}static \u0275fac=function(Z){return new(Z||ue)};static \u0275prov=I.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})(),In=(()=>{class ue{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(ne,Z,ke,ot,an){this.overlay=Z,this._injector=ke,this.sanitizer=ot,this.ngZone=an,this.toastrConfig={...ne.default,...ne.config},ne.config.iconClasses&&(this.toastrConfig.iconClasses={...ne.default.iconClasses,...ne.config.iconClasses})}show(ne,Z,ke={},ot=""){return this._preBuildNotification(ot,ne,Z,this.applyConfig(ke))}success(ne,Z,ke={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",ne,Z,this.applyConfig(ke))}error(ne,Z,ke={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",ne,Z,this.applyConfig(ke))}info(ne,Z,ke={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",ne,Z,this.applyConfig(ke))}warning(ne,Z,ke={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",ne,Z,this.applyConfig(ke))}clear(ne){for(const Z of this.toasts)if(void 0!==ne){if(Z.toastId===ne)return void Z.toastRef.manualClose()}else Z.toastRef.manualClose()}remove(ne){const Z=this._findToast(ne);if(!Z||(Z.activeToast.toastRef.close(),this.toasts.splice(Z.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const ke=this.toasts[this.currentlyActive].toastRef;ke.isInactive()||(this.currentlyActive=this.currentlyActive+1,ke.activate())}return!0}findDuplicate(ne="",Z="",ke,ot){const{includeTitleDuplicates:an}=this.toastrConfig;for(const Dt of this.toasts)if((!an||an&&Dt.title===ne)&&Dt.message===Z)return Dt.toastRef.onDuplicate(ke,ot),Dt;return null}applyConfig(ne={}){return{...this.toastrConfig,...ne}}_findToast(ne){for(let Z=0;Z<this.toasts.length;Z++)if(this.toasts[Z].toastId===ne)return{index:Z,activeToast:this.toasts[Z]};return null}_preBuildNotification(ne,Z,ke,ot){return ot.onActivateTick?this.ngZone.run(()=>this._buildNotification(ne,Z,ke,ot)):this._buildNotification(ne,Z,ke,ot)}_buildNotification(ne,Z,ke,ot){if(!ot.toastComponent)throw new Error("toastComponent required");const an=this.findDuplicate(ke,Z,this.toastrConfig.resetTimeoutOnDuplicate&&ot.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&ke||Z)&&this.toastrConfig.preventDuplicates&&null!==an)return an;this.previousToastMessage=Z;let Dt=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(Dt=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const pn=this.overlay.create(ot.positionClass,this.overlayContainer);this.index=this.index+1;let At=Z;Z&&ot.enableHtml&&(At=this.sanitizer.sanitize(I.WPN.HTML,Z));const xe=new it(pn),dt=new D(this.index,ot,At,ke,ne,xe),Se=I.zZn.create({providers:[{provide:D,useValue:dt}],parent:this._injector}),rt=new Qe(ot.toastComponent,Se),ut=pn.attach(rt,ot.newestOnTop);xe.componentInstance=ut.instance;const kt={toastId:this.index,title:ke||"",message:Z||"",toastRef:xe,onShown:xe.afterActivate(),onHidden:xe.afterClosed(),onTap:dt.onTap(),onAction:dt.onAction(),portal:ut};return Dt||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{kt.toastRef.activate()})),this.toasts.push(kt),kt}static \u0275fac=function(Z){return new(Z||ue)(I.KVO(We),I.KVO(rn),I.KVO(I.zZn),I.KVO(u.up),I.KVO(I.SKi))};static \u0275prov=I.jDH({token:ue,factory:ue.\u0275fac,providedIn:"root"})}return ue})();const Ln={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:(()=>{class ue{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";state;get displayStyle(){if("inactive"===this.state.value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(ne,Z,ke){this.toastrService=ne,this.toastPackage=Z,this.ngZone=ke,this.message=Z.message,this.title=Z.title,this.options=Z.config,this.originalTimeout=Z.config.timeOut,this.toastClasses=`${Z.toastType} ${Z.config.toastClass}`,this.sub=Z.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Z.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Z.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Z.toastRef.countDuplicate().subscribe(ot=>{this.duplicatesCount=ot}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const ne=(new Date).getTime();this.width=(this.hideTime-ne)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(ne,Z){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(ne),Z)):this.timeout=setTimeout(()=>ne(),Z)}outsideInterval(ne,Z){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(ne),Z)):this.intervalId=setInterval(()=>ne(),Z)}runInsideAngular(ne){this.ngZone?this.ngZone.run(()=>ne()):ne()}static \u0275fac=function(Z){return new(Z||ue)(I.rXU(In),I.rXU(D),I.rXU(I.SKi))};static \u0275cmp=I.VBU({type:ue,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(Z,ke){1&Z&&I.bIt("click",function(){return ke.tapToast()})("mouseenter",function(){return ke.stickAround()})("mouseleave",function(){return ke.delayedHideToast()}),2&Z&&(I.zvX("@flyInOut",ke.state),I.HbH(ke.toastClasses),I.xc7("display",ke.displayStyle))},attrs:y,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(Z,ke){1&Z&&I.DNE(0,j,3,0,"button",0)(1,B,3,5,"div",1)(2,ie,1,3,"div",2)(3,De,2,4,"div",3)(4,Pe,2,2,"div",4),2&Z&&(I.Y8G("ngIf",ke.options.closeButton),I.R7$(),I.Y8G("ngIf",ke.title),I.R7$(),I.Y8G("ngIf",ke.message&&ke.options.enableHtml),I.R7$(),I.Y8G("ngIf",ke.message&&!ke.options.enableHtml),I.R7$(),I.Y8G("ngIf",ke.options.progressBar))},dependencies:[s.I],encapsulation:2,data:{animation:[(0,x.i)("flyInOut",[(0,x.f)("inactive",(0,x.h)({opacity:0})),(0,x.f)("active",(0,x.h)({opacity:1})),(0,x.f)("removed",(0,x.h)({opacity:0})),(0,x.t)("inactive => active",(0,x.a)("{{ easeTime }}ms {{ easing }}")),(0,x.t)("active => removed",(0,x.a)("{{ easeTime }}ms {{ easing }}"))])]}})}return ue})()},ln=(ue={})=>(0,I.EmA)([{provide:We,useValue:{default:Ln,config:ue}}]);let or=(()=>{class ue{static forRoot(ne={}){return{ngModule:ue,providers:[ln(ne)]}}static \u0275fac=function(Z){return new(Z||ue)};static \u0275mod=I.$C({type:ue});static \u0275inj=I.G2t({})}return ue})()},5964:(_t,Ne,M)=>{"use strict";M.d(Ne,{p:()=>z});var I=M(9974),x=M(4360);function z(s,X){return(0,I.N)((u,y)=>{let j=0;u.subscribe((0,x._)(y,L=>s.call(X,L,j++)&&y.next(L)))})}},6129:(_t,Ne,M)=>{"use strict";M.d(Ne,{U:()=>I});const I={now:()=>(I.delegate||Date).now(),delegate:void 0}},6354:(_t,Ne,M)=>{"use strict";M.d(Ne,{T:()=>z});var I=M(9974),x=M(4360);function z(s,X){return(0,I.N)((u,y)=>{let j=0;u.subscribe((0,x._)(y,L=>{y.next(s.call(X,L,j++))}))})}},6365:(_t,Ne,M)=>{"use strict";M.d(Ne,{U:()=>z});var I=M(1397),x=M(3669);function z(s=1/0){return(0,I.Z)(x.D,s)}},6450:(_t,Ne,M)=>{"use strict";M.d(Ne,{I:()=>s});var I=M(6354);const{isArray:x}=Array;function s(X){return(0,I.T)(u=>function z(X,u){return x(u)?X(...u):X(u)}(X,u))}},6471:(_t,Ne,M)=>{"use strict";M.d(Ne,{DD:()=>le,EP:()=>ze,GM:()=>D,LF:()=>at,LG:()=>st,M9:()=>he,Mn:()=>I,OM:()=>u,Ol:()=>Pe,R9:()=>B,SE:()=>it,WY:()=>L,_N:()=>j,ci:()=>Oe,iW:()=>nt,ir:()=>De,kb:()=>s,ni:()=>y,pA:()=>Qe,pG:()=>z,qZ:()=>X,sQ:()=>x,v5:()=>wt,xf:()=>ie});var I="top",x="bottom",z="right",s="left",X="auto",u=[I,x,z,s],y="start",j="end",L="clippingParents",B="viewport",ie="popper",De="reference",Pe=u.reduce(function($e,We){return $e.concat([We+"-"+y,We+"-"+j])},[]),le=[].concat(u,[X]).reduce(function($e,We){return $e.concat([We,We+"-"+y,We+"-"+j])},[]),Oe="beforeRead",at="read",wt="afterRead",st="beforeMain",nt="main",ze="afterMain",Qe="beforeWrite",he="write",it="afterWrite",D=[Oe,at,wt,st,nt,ze,Qe,he,it]},6648:(_t,Ne,M)=>{"use strict";M.d(Ne,{H:()=>D});var I=M(8750),x=M(5225),z=M(9974),s=M(4360);function X($e,We=0){return(0,z.N)(($t,nn)=>{$t.subscribe((0,s._)(nn,Kn=>(0,x.N)(nn,$e,()=>nn.next(Kn),We),()=>(0,x.N)(nn,$e,()=>nn.complete(),We),Kn=>(0,x.N)(nn,$e,()=>nn.error(Kn),We)))})}function u($e,We=0){return(0,z.N)(($t,nn)=>{nn.add($e.schedule(()=>$t.subscribe(nn),We))})}var L=M(1985),ie=M(4761),De=M(8071);function le($e,We){if(!$e)throw new Error("Iterable cannot be null");return new L.c($t=>{(0,x.N)($t,We,()=>{const nn=$e[Symbol.asyncIterator]();(0,x.N)($t,We,()=>{nn.next().then(Kn=>{Kn.done?$t.complete():$t.next(Kn.value)})},0,!0)})})}var Oe=M(5055),at=M(9858),wt=M(7441),st=M(5397),nt=M(7953),ze=M(591),Qe=M(5196);function D($e,We){return We?function it($e,We){if(null!=$e){if((0,Oe.l)($e))return function y($e,We){return(0,I.Tg)($e).pipe(u(We),X(We))}($e,We);if((0,wt.X)($e))return function B($e,We){return new L.c($t=>{let nn=0;return We.schedule(function(){nn===$e.length?$t.complete():($t.next($e[nn++]),$t.closed||this.schedule())})})}($e,We);if((0,at.y)($e))return function j($e,We){return(0,I.Tg)($e).pipe(u(We),X(We))}($e,We);if((0,nt.T)($e))return le($e,We);if((0,st.x)($e))return function Pe($e,We){return new L.c($t=>{let nn;return(0,x.N)($t,We,()=>{nn=$e[ie.l](),(0,x.N)($t,We,()=>{let Kn,rn;try{({value:Kn,done:rn}=nn.next())}catch(In){return void $t.error(In)}rn?$t.complete():$t.next(Kn)},0,!0)}),()=>(0,De.T)(nn?.return)&&nn.return()})}($e,We);if((0,Qe.U)($e))return function he($e,We){return le((0,Qe.C)($e),We)}($e,We)}throw(0,ze.L)($e)}($e,We):(0,I.Tg)($e)}},6697:(_t,Ne,M)=>{"use strict";M.d(Ne,{s:()=>s});var I=M(983),x=M(9974),z=M(4360);function s(X){return X<=0?()=>I.w:(0,x.N)((u,y)=>{let j=0;u.subscribe((0,z._)(y,L=>{++j<=X&&(y.next(L),X<=j&&y.complete())}))})}},6977:(_t,Ne,M)=>{"use strict";M.d(Ne,{Q:()=>X});var I=M(9974),x=M(4360),z=M(8750),s=M(5343);function X(u){return(0,I.N)((y,j)=>{(0,z.Tg)(u).subscribe((0,x._)(j,()=>j.complete(),s.l)),!j.closed&&y.subscribe(j)})}},7374:(_t,Ne,M)=>{"use strict";M.d(Ne,{M:()=>u});var I=M(6354),x=M(9437),z=M(5312),s=M(8457),X=M(8041);let u=(()=>{class y{http;apiUrl=z.c.apiUrl;constructor(L){this.http=L}getCategoriesFeatured(){return this.http.get(`${this.apiUrl}categories/featured`).pipe((0,I.T)(L=>L.data),(0,x.W)(L=>(console.error("Error fetching categories:",L),[])))}getAllCategories(){return this.http.get(`${this.apiUrl}categories`).pipe((0,I.T)(L=>L&&L.success&&Array.isArray(L.data)?L.data:(console.warn("Invalid API response format:",L),[])),(0,x.W)(L=>(console.error("Error fetching Best Seller Products:",L),[])))}getAllSubCategories(L){return this.http.get(`${this.apiUrl}sub-categories/${L}`).pipe((0,I.T)(B=>B&&B.success&&Array.isArray(B.data)?B.data:(console.warn("Invalid API response format:",B),[])),(0,x.W)(B=>(console.error("Error fetching Best Seller Products:",B),[])))}getAllSubSubCategories(L){return this.http.get(`${this.apiUrl}sub-categories/${L}`).pipe((0,I.T)(B=>B&&B.success&&Array.isArray(B.data)?B.data:(console.warn("Invalid API response format:",B),[])),(0,x.W)(B=>(console.error("Error fetching Best Seller Products:",B),[])))}static \u0275fac=function(B){return new(B||y)(s.KVO(X.a))};static \u0275prov=s.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},7441:(_t,Ne,M)=>{"use strict";M.d(Ne,{X:()=>I});const I=x=>x&&"number"==typeof x.length&&"function"!=typeof x},7468:(_t,Ne,M)=>{"use strict";M.d(Ne,{p:()=>j});var I=M(1985),x=M(3073),z=M(8750),s=M(9326),X=M(4360),u=M(6450),y=M(8496);function j(...L){const B=(0,s.ms)(L),{args:ie,keys:De}=(0,x.D)(L),Pe=new I.c(le=>{const{length:Oe}=ie;if(!Oe)return void le.complete();const at=new Array(Oe);let wt=Oe,st=Oe;for(let nt=0;nt<Oe;nt++){let ze=!1;(0,z.Tg)(ie[nt]).subscribe((0,X._)(le,Qe=>{ze||(ze=!0,st--),at[nt]=Qe},()=>wt--,void 0,()=>{(!wt||!ze)&&(st||le.next(De?(0,y.e)(De,at):at),le.complete())}))}});return B?Pe.pipe((0,u.I)(B)):Pe}},7673:(_t,Ne,M)=>{"use strict";M.d(Ne,{of:()=>z});var I=M(9326),x=M(6648);function z(...s){const X=(0,I.lI)(s);return(0,x.H)(s,X)}},7707:(_t,Ne,M)=>{"use strict";M.d(Ne,{Ms:()=>at,vU:()=>De});var I=M(8071),x=M(8359),z=M(1026),s=M(5334),X=M(5343);const u=L("C",void 0,void 0);function L(Qe,he,it){return{kind:Qe,value:he,error:it}}var B=M(9270),ie=M(9786);class De extends x.yU{constructor(he){super(),this.isStopped=!1,he?(this.destination=he,(0,x.Uv)(he)&&he.add(this)):this.destination=ze}static create(he,it,D){return new at(he,it,D)}next(he){this.isStopped?nt(function j(Qe){return L("N",Qe,void 0)}(he),this):this._next(he)}error(he){this.isStopped?nt(function y(Qe){return L("E",void 0,Qe)}(he),this):(this.isStopped=!0,this._error(he))}complete(){this.isStopped?nt(u,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(he){this.destination.next(he)}_error(he){try{this.destination.error(he)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Pe=Function.prototype.bind;function le(Qe,he){return Pe.call(Qe,he)}class Oe{constructor(he){this.partialObserver=he}next(he){const{partialObserver:it}=this;if(it.next)try{it.next(he)}catch(D){wt(D)}}error(he){const{partialObserver:it}=this;if(it.error)try{it.error(he)}catch(D){wt(D)}else wt(he)}complete(){const{partialObserver:he}=this;if(he.complete)try{he.complete()}catch(it){wt(it)}}}class at extends De{constructor(he,it,D){let $e;if(super(),(0,I.T)(he)||!he)$e={next:he??void 0,error:it??void 0,complete:D??void 0};else{let We;this&&z.$.useDeprecatedNextContext?(We=Object.create(he),We.unsubscribe=()=>this.unsubscribe(),$e={next:he.next&&le(he.next,We),error:he.error&&le(he.error,We),complete:he.complete&&le(he.complete,We)}):$e=he}this.destination=new Oe($e)}}function wt(Qe){z.$.useDeprecatedSynchronousErrorHandling?(0,ie.l)(Qe):(0,s.m)(Qe)}function nt(Qe,he){const{onStoppedNotification:it}=z.$;it&&B.f.setTimeout(()=>it(Qe,he))}const ze={closed:!0,next:X.l,error:function st(Qe){throw Qe},complete:X.l}},7908:(_t,Ne,M)=>{"use strict";function I(x,z){if(x){const s=x.indexOf(z);0<=s&&x.splice(s,1)}}M.d(Ne,{o:()=>I})},7953:(_t,Ne,M)=>{"use strict";M.d(Ne,{T:()=>x});var I=M(8071);function x(z){return Symbol.asyncIterator&&(0,I.T)(z?.[Symbol.asyncIterator])}},8041:(_t,Ne,M)=>{"use strict";M.d(Ne,{H:()=>_e,a:()=>Dt,b:()=>Oe,c:()=>it,e:()=>Ve,f:()=>ve,k:()=>Xe,o:()=>Jr,s:()=>Ti,t:()=>ho,w:()=>_i});var I=M(467),x=M(8457),z=M(274),s=M(5964),X=M(6354),u=M(980),y=M(5558),j=M(7673),L=M(1985),B=M(6648),ie=M(8257),De=M(460);class Pe{}class le{}class Oe{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(fe){fe?"string"==typeof fe?this.lazyInit=()=>{this.headers=new Map,fe.split("\n").forEach(de=>{const Ke=de.indexOf(":");if(Ke>0){const ht=de.slice(0,Ke),Ye=de.slice(Ke+1).trim();this.addHeaderEntry(ht,Ye)}})}:typeof Headers<"u"&&fe instanceof Headers?(this.headers=new Map,fe.forEach((de,Ke)=>{this.addHeaderEntry(Ke,de)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(fe).forEach(([de,Ke])=>{this.setHeaderEntries(de,Ke)})}:this.headers=new Map}has(fe){return this.init(),this.headers.has(fe.toLowerCase())}get(fe){this.init();const de=this.headers.get(fe.toLowerCase());return de&&de.length>0?de[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(fe){return this.init(),this.headers.get(fe.toLowerCase())||null}append(fe,de){return this.clone({name:fe,value:de,op:"a"})}set(fe,de){return this.clone({name:fe,value:de,op:"s"})}delete(fe,de){return this.clone({name:fe,value:de,op:"d"})}maybeSetNormalizedName(fe,de){this.normalizedNames.has(de)||this.normalizedNames.set(de,fe)}init(){this.lazyInit&&(this.lazyInit instanceof Oe?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(fe=>this.applyUpdate(fe)),this.lazyUpdate=null))}copyFrom(fe){fe.init(),Array.from(fe.headers.keys()).forEach(de=>{this.headers.set(de,fe.headers.get(de)),this.normalizedNames.set(de,fe.normalizedNames.get(de))})}clone(fe){const de=new Oe;return de.lazyInit=this.lazyInit&&this.lazyInit instanceof Oe?this.lazyInit:this,de.lazyUpdate=(this.lazyUpdate||[]).concat([fe]),de}applyUpdate(fe){const de=fe.name.toLowerCase();switch(fe.op){case"a":case"s":let Ke=fe.value;if("string"==typeof Ke&&(Ke=[Ke]),0===Ke.length)return;this.maybeSetNormalizedName(fe.name,de);const ht=("a"===fe.op?this.headers.get(de):void 0)||[];ht.push(...Ke),this.headers.set(de,ht);break;case"d":const Ye=fe.value;if(Ye){let It=this.headers.get(de);if(!It)return;It=It.filter(sn=>-1===Ye.indexOf(sn)),0===It.length?(this.headers.delete(de),this.normalizedNames.delete(de)):this.headers.set(de,It)}else this.headers.delete(de),this.normalizedNames.delete(de)}}addHeaderEntry(fe,de){const Ke=fe.toLowerCase();this.maybeSetNormalizedName(fe,Ke),this.headers.has(Ke)?this.headers.get(Ke).push(de):this.headers.set(Ke,[de])}setHeaderEntries(fe,de){const Ke=(Array.isArray(de)?de:[de]).map(Ye=>Ye.toString()),ht=fe.toLowerCase();this.headers.set(ht,Ke),this.maybeSetNormalizedName(fe,ht)}forEach(fe){this.init(),Array.from(this.normalizedNames.keys()).forEach(de=>fe(this.normalizedNames.get(de),this.headers.get(de)))}}class wt{encodeKey(fe){return Qe(fe)}encodeValue(fe){return Qe(fe)}decodeKey(fe){return decodeURIComponent(fe)}decodeValue(fe){return decodeURIComponent(fe)}}const nt=/%(\d[a-f0-9])/gi,ze={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Qe(K){return encodeURIComponent(K).replace(nt,(fe,de)=>ze[de]??fe)}function he(K){return`${K}`}class it{map;encoder;updates=null;cloneFrom=null;constructor(fe={}){if(this.encoder=fe.encoder||new wt,fe.fromString){if(fe.fromObject)throw new x.wOt(2805,!1);this.map=function st(K,fe){const de=new Map;return K.length>0&&K.replace(/^\?/,"").split("&").forEach(ht=>{const Ye=ht.indexOf("="),[It,sn]=-1==Ye?[fe.decodeKey(ht),""]:[fe.decodeKey(ht.slice(0,Ye)),fe.decodeValue(ht.slice(Ye+1))],Qt=de.get(It)||[];Qt.push(sn),de.set(It,Qt)}),de}(fe.fromString,this.encoder)}else fe.fromObject?(this.map=new Map,Object.keys(fe.fromObject).forEach(de=>{const Ke=fe.fromObject[de],ht=Array.isArray(Ke)?Ke.map(he):[he(Ke)];this.map.set(de,ht)})):this.map=null}has(fe){return this.init(),this.map.has(fe)}get(fe){this.init();const de=this.map.get(fe);return de?de[0]:null}getAll(fe){return this.init(),this.map.get(fe)||null}keys(){return this.init(),Array.from(this.map.keys())}append(fe,de){return this.clone({param:fe,value:de,op:"a"})}appendAll(fe){const de=[];return Object.keys(fe).forEach(Ke=>{const ht=fe[Ke];Array.isArray(ht)?ht.forEach(Ye=>{de.push({param:Ke,value:Ye,op:"a"})}):de.push({param:Ke,value:ht,op:"a"})}),this.clone(de)}set(fe,de){return this.clone({param:fe,value:de,op:"s"})}delete(fe,de){return this.clone({param:fe,value:de,op:"d"})}toString(){return this.init(),this.keys().map(fe=>{const de=this.encoder.encodeKey(fe);return this.map.get(fe).map(Ke=>de+"="+this.encoder.encodeValue(Ke)).join("&")}).filter(fe=>""!==fe).join("&")}clone(fe){const de=new it({encoder:this.encoder});return de.cloneFrom=this.cloneFrom||this,de.updates=(this.updates||[]).concat(fe),de}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(fe=>this.map.set(fe,this.cloneFrom.map.get(fe))),this.updates.forEach(fe=>{switch(fe.op){case"a":case"s":const de=("a"===fe.op?this.map.get(fe.param):void 0)||[];de.push(he(fe.value)),this.map.set(fe.param,de);break;case"d":if(void 0===fe.value){this.map.delete(fe.param);break}{let Ke=this.map.get(fe.param)||[];const ht=Ke.indexOf(he(fe.value));-1!==ht&&Ke.splice(ht,1),Ke.length>0?this.map.set(fe.param,Ke):this.map.delete(fe.param)}}}),this.cloneFrom=this.updates=null)}}class $e{map=new Map;set(fe,de){return this.map.set(fe,de),this}get(fe){return this.map.has(fe)||this.map.set(fe,fe.defaultValue()),this.map.get(fe)}delete(fe){return this.map.delete(fe),this}has(fe){return this.map.has(fe)}keys(){return this.map.keys()}}function $t(K){return typeof ArrayBuffer<"u"&&K instanceof ArrayBuffer}function nn(K){return typeof Blob<"u"&&K instanceof Blob}function Kn(K){return typeof FormData<"u"&&K instanceof FormData}const In="Content-Type",Hn="Accept",Ln="X-Request-URL",ln="text/plain",or="application/json",sr=`${or}, ${ln}, */*`;class vr{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(fe,de,Ke,ht){let Ye;if(this.url=de,this.method=fe.toUpperCase(),function We(K){switch(K){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ht?(this.body=void 0!==Ke?Ke:null,Ye=ht):Ye=Ke,Ye&&(this.reportProgress=!!Ye.reportProgress,this.withCredentials=!!Ye.withCredentials,Ye.responseType&&(this.responseType=Ye.responseType),Ye.headers&&(this.headers=Ye.headers),Ye.context&&(this.context=Ye.context),Ye.params&&(this.params=Ye.params),this.transferCache=Ye.transferCache),this.headers??=new Oe,this.context??=new $e,this.params){const It=this.params.toString();if(0===It.length)this.urlWithParams=de;else{const sn=de.indexOf("?");this.urlWithParams=de+(-1===sn?"?":sn<de.length-1?"&":"")+It}}else this.params=new it,this.urlWithParams=de}serializeBody(){return null===this.body?null:"string"==typeof this.body||$t(this.body)||nn(this.body)||Kn(this.body)||function rn(K){return typeof URLSearchParams<"u"&&K instanceof URLSearchParams}(this.body)?this.body:this.body instanceof it?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Kn(this.body)?null:nn(this.body)?this.body.type||null:$t(this.body)?null:"string"==typeof this.body?ln:this.body instanceof it?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?or:null}clone(fe={}){const de=fe.method||this.method,Ke=fe.url||this.url,ht=fe.responseType||this.responseType,Ye=fe.transferCache??this.transferCache,It=void 0!==fe.body?fe.body:this.body,sn=fe.withCredentials??this.withCredentials,Qt=fe.reportProgress??this.reportProgress;let Yn=fe.headers||this.headers,Cr=fe.params||this.params;const lr=fe.context??this.context;return void 0!==fe.setHeaders&&(Yn=Object.keys(fe.setHeaders).reduce((gr,On)=>gr.set(On,fe.setHeaders[On]),Yn)),fe.setParams&&(Cr=Object.keys(fe.setParams).reduce((gr,On)=>gr.set(On,fe.setParams[On]),Cr)),new vr(de,Ke,It,{params:Cr,headers:Yn,context:lr,reportProgress:Qt,responseType:ht,withCredentials:sn,transferCache:Ye})}}var _e=function(K){return K[K.Sent=0]="Sent",K[K.UploadProgress=1]="UploadProgress",K[K.ResponseHeader=2]="ResponseHeader",K[K.DownloadProgress=3]="DownloadProgress",K[K.Response=4]="Response",K[K.User=5]="User",K}(_e||{});class Me{headers;status;statusText;url;ok;type;constructor(fe,de=200,Ke="OK"){this.headers=fe.headers||new Oe,this.status=void 0!==fe.status?fe.status:de,this.statusText=fe.statusText||Ke,this.url=fe.url||null,this.ok=this.status>=200&&this.status<300}}class ue extends Me{constructor(fe={}){super(fe)}type=_e.ResponseHeader;clone(fe={}){return new ue({headers:fe.headers||this.headers,status:void 0!==fe.status?fe.status:this.status,statusText:fe.statusText||this.statusText,url:fe.url||this.url||void 0})}}class ve extends Me{body;constructor(fe={}){super(fe),this.body=void 0!==fe.body?fe.body:null}type=_e.Response;clone(fe={}){return new ve({body:void 0!==fe.body?fe.body:this.body,headers:fe.headers||this.headers,status:void 0!==fe.status?fe.status:this.status,statusText:fe.statusText||this.statusText,url:fe.url||this.url||void 0})}}class ne extends Me{name="HttpErrorResponse";message;error;ok=!1;constructor(fe){super(fe,0,"Unknown Error"),this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${fe.url||"(unknown url)"}`:`Http failure response for ${fe.url||"(unknown url)"}: ${fe.status} ${fe.statusText}`,this.error=fe.error||null}}function an(K,fe){return{body:fe,headers:K.headers,context:K.context,observe:K.observe,params:K.params,reportProgress:K.reportProgress,responseType:K.responseType,withCredentials:K.withCredentials,transferCache:K.transferCache}}let Dt=(()=>{class K{handler;constructor(de){this.handler=de}request(de,Ke,ht={}){let Ye;if(de instanceof vr)Ye=de;else{let Qt,Yn;Qt=ht.headers instanceof Oe?ht.headers:new Oe(ht.headers),ht.params&&(Yn=ht.params instanceof it?ht.params:new it({fromObject:ht.params})),Ye=new vr(de,Ke,void 0!==ht.body?ht.body:null,{headers:Qt,context:ht.context,params:Yn,reportProgress:ht.reportProgress,responseType:ht.responseType||"json",withCredentials:ht.withCredentials,transferCache:ht.transferCache})}const It=(0,j.of)(Ye).pipe((0,z.H)(Qt=>this.handler.handle(Qt)));if(de instanceof vr||"events"===ht.observe)return It;const sn=It.pipe((0,s.p)(Qt=>Qt instanceof ve));switch(ht.observe||"body"){case"body":switch(Ye.responseType){case"arraybuffer":return sn.pipe((0,X.T)(Qt=>{if(null!==Qt.body&&!(Qt.body instanceof ArrayBuffer))throw new x.wOt(2806,!1);return Qt.body}));case"blob":return sn.pipe((0,X.T)(Qt=>{if(null!==Qt.body&&!(Qt.body instanceof Blob))throw new x.wOt(2807,!1);return Qt.body}));case"text":return sn.pipe((0,X.T)(Qt=>{if(null!==Qt.body&&"string"!=typeof Qt.body)throw new x.wOt(2808,!1);return Qt.body}));default:return sn.pipe((0,X.T)(Qt=>Qt.body))}case"response":return sn;default:throw new x.wOt(2809,!1)}}delete(de,Ke={}){return this.request("DELETE",de,Ke)}get(de,Ke={}){return this.request("GET",de,Ke)}head(de,Ke={}){return this.request("HEAD",de,Ke)}jsonp(de,Ke){return this.request("JSONP",de,{params:(new it).append(Ke,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(de,Ke={}){return this.request("OPTIONS",de,Ke)}patch(de,Ke,ht={}){return this.request("PATCH",de,an(ht,Ke))}post(de,Ke,ht={}){return this.request("POST",de,an(ht,Ke))}put(de,Ke,ht={}){return this.request("PUT",de,an(ht,Ke))}static \u0275fac=function(Ke){return new(Ke||K)(x.KVO(Pe))};static \u0275prov=x.jDH({token:K,factory:K.\u0275fac})}return K})();const pn=/^\)\]\}',?\n/;function At(K){if(K.url)return K.url;const fe=Ln.toLocaleLowerCase();return K.headers.get(fe)}const xe=new x.nKC("");let dt=(()=>{class K{fetchImpl=(0,x.WQX)(oe,{optional:!0})?.fetch??((...de)=>globalThis.fetch(...de));ngZone=(0,x.WQX)(x.SKi);handle(de){return new L.c(Ke=>{const ht=new AbortController;return this.doRequest(de,ht.signal,Ke).then(Se,Ye=>Ke.error(new ne({error:Ye}))),()=>ht.abort()})}doRequest(de,Ke,ht){var Ye=this;return(0,I.A)(function*(){const It=Ye.createRequestInit(de);let sn;try{const Wt=Ye.ngZone.runOutsideAngular(()=>Ye.fetchImpl(de.urlWithParams,{signal:Ke,...It}));(function rt(K){K.then(Se,Se)})(Wt),ht.next({type:_e.Sent}),sn=yield Wt}catch(Wt){return void ht.error(new ne({error:Wt,status:Wt.status??0,statusText:Wt.statusText,url:de.urlWithParams,headers:Wt.headers}))}const Qt=new Oe(sn.headers),Yn=sn.statusText,Cr=At(sn)??de.urlWithParams;let lr=sn.status,gr=null;if(de.reportProgress&&ht.next(new ue({headers:Qt,status:lr,statusText:Yn,url:Cr})),sn.body){const Wt=sn.headers.get("content-length"),gn=[],Nn=sn.body.getReader();let Un,$n,Bn=0;const Or=typeof Zone<"u"&&Zone.current;yield Ye.ngZone.runOutsideAngular((0,I.A)(function*(){for(;;){const{done:zr,value:di}=yield Nn.read();if(zr)break;if(gn.push(di),Bn+=di.length,de.reportProgress){$n="text"===de.responseType?($n??"")+(Un??=new TextDecoder).decode(di,{stream:!0}):void 0;const nr=()=>ht.next({type:_e.DownloadProgress,total:Wt?+Wt:void 0,loaded:Bn,partialText:$n});Or?Or.run(nr):nr()}}}));const li=Ye.concatChunks(gn,Bn);try{const zr=sn.headers.get(In)??"";gr=Ye.parseBody(de,li,zr)}catch(zr){return void ht.error(new ne({error:zr,headers:new Oe(sn.headers),status:sn.status,statusText:sn.statusText,url:At(sn)??de.urlWithParams}))}}0===lr&&(lr=gr?200:0),lr>=200&&lr<300?(ht.next(new ve({body:gr,headers:Qt,status:lr,statusText:Yn,url:Cr})),ht.complete()):ht.error(new ne({error:gr,headers:Qt,status:lr,statusText:Yn,url:Cr}))})()}parseBody(de,Ke,ht){switch(de.responseType){case"json":const Ye=(new TextDecoder).decode(Ke).replace(pn,"");return""===Ye?null:JSON.parse(Ye);case"text":return(new TextDecoder).decode(Ke);case"blob":return new Blob([Ke],{type:ht});case"arraybuffer":return Ke.buffer}}createRequestInit(de){const Ke={},ht=de.withCredentials?"include":void 0;if(de.headers.forEach((Ye,It)=>Ke[Ye]=It.join(",")),de.headers.has(Hn)||(Ke[Hn]=sr),!de.headers.has(In)){const Ye=de.detectContentTypeHeader();null!==Ye&&(Ke[In]=Ye)}return{body:de.serializeBody(),method:de.method,headers:Ke,credentials:ht}}concatChunks(de,Ke){const ht=new Uint8Array(Ke);let Ye=0;for(const It of de)ht.set(It,Ye),Ye+=It.length;return ht}static \u0275fac=function(Ke){return new(Ke||K)};static \u0275prov=x.jDH({token:K,factory:K.\u0275fac})}return K})();class oe{}function Se(){}function ut(K,fe){return fe(K)}function kt(K,fe){return(de,Ke)=>fe.intercept(de,{handle:ht=>K(ht,Ke)})}const Xe=new x.nKC(""),Ct=new x.nKC(""),Ve=new x.nKC(""),ct=new x.nKC("",{providedIn:"root",factory:()=>!0});function tt(){let K=null;return(fe,de)=>{null===K&&(K=((0,x.WQX)(Xe,{optional:!0})??[]).reduceRight(kt,ut));const Ke=(0,x.WQX)(x.Ua0);if((0,x.WQX)(ct)){const Ye=Ke.add();return K(fe,de).pipe((0,u.j)(()=>Ke.remove(Ye)))}return K(fe,de)}}let jt=(()=>{class K extends Pe{backend;injector;chain=null;pendingTasks=(0,x.WQX)(x.Ua0);contributeToStability=(0,x.WQX)(ct);constructor(de,Ke){super(),this.backend=de,this.injector=Ke}handle(de){if(null===this.chain){const Ke=Array.from(new Set([...this.injector.get(Ct),...this.injector.get(Ve,[])]));this.chain=Ke.reduceRight((ht,Ye)=>function qn(K,fe,de){return(Ke,ht)=>(0,x.N4e)(de,()=>fe(Ke,Ye=>K(Ye,ht)))}(ht,Ye,this.injector),ut)}if(this.contributeToStability){const Ke=this.pendingTasks.add();return this.chain(de,ht=>this.backend.handle(ht)).pipe((0,u.j)(()=>this.pendingTasks.remove(Ke)))}return this.chain(de,Ke=>this.backend.handle(Ke))}static \u0275fac=function(Ke){return new(Ke||K)(x.KVO(le),x.KVO(x.uvJ))};static \u0275prov=x.jDH({token:K,factory:K.\u0275fac})}return K})();const bi=/^\)\]\}',?\n/,Hi=RegExp(`^${Ln}:`,"m");let si=(()=>{class K{xhrFactory;constructor(de){this.xhrFactory=de}handle(de){if("JSONP"===de.method)throw new x.wOt(-2800,!1);const Ke=this.xhrFactory;return(Ke.\u0275loadImpl?(0,B.H)(Ke.\u0275loadImpl()):(0,j.of)(null)).pipe((0,y.n)(()=>new L.c(Ye=>{const It=Ke.build();if(It.open(de.method,de.urlWithParams),de.withCredentials&&(It.withCredentials=!0),de.headers.forEach((gn,Nn)=>It.setRequestHeader(gn,Nn.join(","))),de.headers.has(Hn)||It.setRequestHeader(Hn,sr),!de.headers.has(In)){const gn=de.detectContentTypeHeader();null!==gn&&It.setRequestHeader(In,gn)}if(de.responseType){const gn=de.responseType.toLowerCase();It.responseType="json"!==gn?gn:"text"}const sn=de.serializeBody();let Qt=null;const Yn=()=>{if(null!==Qt)return Qt;const gn=It.statusText||"OK",Nn=new Oe(It.getAllResponseHeaders()),Bn=function oi(K){return"responseURL"in K&&K.responseURL?K.responseURL:Hi.test(K.getAllResponseHeaders())?K.getResponseHeader(Ln):null}(It)||de.url;return Qt=new ue({headers:Nn,status:It.status,statusText:gn,url:Bn}),Qt},Cr=()=>{let{headers:gn,status:Nn,statusText:Bn,url:Un}=Yn(),$n=null;204!==Nn&&($n=typeof It.response>"u"?It.responseText:It.response),0===Nn&&(Nn=$n?200:0);let Or=Nn>=200&&Nn<300;if("json"===de.responseType&&"string"==typeof $n){const li=$n;$n=$n.replace(bi,"");try{$n=""!==$n?JSON.parse($n):null}catch(zr){$n=li,Or&&(Or=!1,$n={error:zr,text:$n})}}Or?(Ye.next(new ve({body:$n,headers:gn,status:Nn,statusText:Bn,url:Un||void 0})),Ye.complete()):Ye.error(new ne({error:$n,headers:gn,status:Nn,statusText:Bn,url:Un||void 0}))},lr=gn=>{const{url:Nn}=Yn(),Bn=new ne({error:gn,status:It.status||0,statusText:It.statusText||"Unknown Error",url:Nn||void 0});Ye.error(Bn)};let gr=!1;const On=gn=>{gr||(Ye.next(Yn()),gr=!0);let Nn={type:_e.DownloadProgress,loaded:gn.loaded};gn.lengthComputable&&(Nn.total=gn.total),"text"===de.responseType&&It.responseText&&(Nn.partialText=It.responseText),Ye.next(Nn)},Wt=gn=>{let Nn={type:_e.UploadProgress,loaded:gn.loaded};gn.lengthComputable&&(Nn.total=gn.total),Ye.next(Nn)};return It.addEventListener("load",Cr),It.addEventListener("error",lr),It.addEventListener("timeout",lr),It.addEventListener("abort",lr),de.reportProgress&&(It.addEventListener("progress",On),null!==sn&&It.upload&&It.upload.addEventListener("progress",Wt)),It.send(sn),Ye.next({type:_e.Sent}),()=>{It.removeEventListener("error",lr),It.removeEventListener("abort",lr),It.removeEventListener("load",Cr),It.removeEventListener("timeout",lr),de.reportProgress&&(It.removeEventListener("progress",On),null!==sn&&It.upload&&It.upload.removeEventListener("progress",Wt)),It.readyState!==It.DONE&&It.abort()}})))}static \u0275fac=function(Ke){return new(Ke||K)(x.KVO(ie.X))};static \u0275prov=x.jDH({token:K,factory:K.\u0275fac})}return K})();const ki=new x.nKC(""),Fr=new x.nKC("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),ai=new x.nKC("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class uo{}let fo=(()=>{class K{doc;platform;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(de,Ke,ht){this.doc=de,this.platform=Ke,this.cookieName=ht}getToken(){if("server"===this.platform)return null;const de=this.doc.cookie||"";return de!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,ie.p)(de,this.cookieName),this.lastCookieString=de),this.lastToken}static \u0275fac=function(Ke){return new(Ke||K)(x.KVO(De.D),x.KVO(x.Agw),x.KVO(Fr))};static \u0275prov=x.jDH({token:K,factory:K.\u0275fac})}return K})();function to(K,fe){const de=K.url.toLowerCase();if(!(0,x.WQX)(ki)||"GET"===K.method||"HEAD"===K.method||de.startsWith("http://")||de.startsWith("https://"))return fe(K);const Ke=(0,x.WQX)(uo).getToken(),ht=(0,x.WQX)(ai);return null!=Ke&&!K.headers.has(ht)&&(K=K.clone({headers:K.headers.set(ht,Ke)})),fe(K)}var Dr=function(K){return K[K.Interceptors=0]="Interceptors",K[K.LegacyInterceptors=1]="LegacyInterceptors",K[K.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",K[K.NoXsrfProtection=3]="NoXsrfProtection",K[K.JsonpSupport=4]="JsonpSupport",K[K.RequestsMadeViaParent=5]="RequestsMadeViaParent",K[K.Fetch=6]="Fetch",K}(Dr||{});function Hr(K,fe){return{\u0275kind:K,\u0275providers:fe}}function Ti(...K){const fe=[Dt,si,jt,{provide:Pe,useExisting:jt},{provide:le,useFactory:()=>(0,x.WQX)(xe,{optional:!0})??(0,x.WQX)(si)},{provide:Ct,useValue:to,multi:!0},{provide:ki,useValue:!0},{provide:uo,useClass:fo}];for(const de of K)fe.push(...de.\u0275providers);return(0,x.EmA)(fe)}function ho(K){return Hr(Dr.Interceptors,K.map(fe=>({provide:Ct,useValue:fe,multi:!0})))}const zi=new x.nKC("");function po(){return Hr(Dr.LegacyInterceptors,[{provide:zi,useFactory:tt},{provide:Ct,useExisting:zi,multi:!0}])}function _i(){return Hr(Dr.Fetch,[dt,{provide:xe,useExisting:dt},{provide:le,useExisting:dt}])}let Jr=(()=>{class K{static \u0275fac=function(Ke){return new(Ke||K)};static \u0275mod=x.$C({type:K});static \u0275inj=x.G2t({providers:[Ti(po())]})}return K})()},8071:(_t,Ne,M)=>{"use strict";function I(x){return"function"==typeof x}M.d(Ne,{T:()=>I})},8141:(_t,Ne,M)=>{"use strict";M.d(Ne,{M:()=>X});var I=M(8071),x=M(9974),z=M(4360),s=M(3669);function X(u,y,j){const L=(0,I.T)(u)||y||j?{next:u,error:y,complete:j}:u;return L?(0,x.N)((B,ie)=>{var De;null===(De=L.subscribe)||void 0===De||De.call(L);let Pe=!0;B.subscribe((0,z._)(ie,le=>{var Oe;null===(Oe=L.next)||void 0===Oe||Oe.call(L,le),ie.next(le)},()=>{var le;Pe=!1,null===(le=L.complete)||void 0===le||le.call(L),ie.complete()},le=>{var Oe;Pe=!1,null===(Oe=L.error)||void 0===Oe||Oe.call(L,le),ie.error(le)},()=>{var le,Oe;Pe&&(null===(le=L.unsubscribe)||void 0===le||le.call(L)),null===(Oe=L.finalize)||void 0===Oe||Oe.call(L)}))}):s.D}},8240:(_t,Ne,M)=>{"use strict";M.d(Ne,{m:()=>u});var I=M(5312),x=M(8041),z=M(4412),s=M(8141),X=M(8457);let u=(()=>{class y{http;apiUrl=I.c.apiUrl;cartUpdated=new z.t([]);cartUpdated$=this.cartUpdated.asObservable();constructor(L){this.http=L}getHeaders(){const L=localStorage.getItem("authToken")||"";return new x.b({"Content-Type":"application/json",Authorization:`Bearer ${L}`})}addToCart(L){return this.http.post(`${this.apiUrl}carts/add`,L,{headers:this.getHeaders()}).pipe((0,s.M)(()=>this.refreshCart()))}refreshCart(){this.http.get(`${this.apiUrl}carts`).subscribe({next:B=>{console.log("Carrito actualizado:",B),this.cartUpdated.next(B.data||[])},error:B=>{console.error("Error cargando carrito:",B),this.cartUpdated.next([]),alert("Error al cargar el carrito: Por favor, intente m\xe1s tarde o contacte soporte t\xe9cnico.")}})}changeQuantity(L,B){return this.http.post(`${this.apiUrl}carts/change-quantity`,{id:L,quantity:B},{headers:this.getHeaders()}).pipe((0,s.M)(()=>this.refreshCart()))}getUserCart(){return this.http.post(`${this.apiUrl}carts`,{headers:this.getHeaders()})}deleteProductUserCart(L){return this.http.delete(`${this.apiUrl}carts/${L}`,{headers:this.getHeaders()}).pipe((0,s.M)(()=>this.refreshCart()))}static \u0275fac=function(B){return new(B||y)(X.KVO(x.a))};static \u0275prov=X.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},8257:(_t,Ne,M)=>{"use strict";function I(y,j){j=encodeURIComponent(j);for(const L of y.split(";")){const B=L.indexOf("="),[ie,De]=-1==B?[L,""]:[L.slice(0,B),L.slice(B+1)];if(ie.trim()===j)return decodeURIComponent(De)}return null}M.d(Ne,{P:()=>x,X:()=>u,b:()=>X,i:()=>s,p:()=>I});const x="browser",z="server";function s(y){return y===x}function X(y){return y===z}class u{}},8359:(_t,Ne,M)=>{"use strict";M.d(Ne,{Kn:()=>u,yU:()=>X,Uv:()=>y});var I=M(8071);const z=(0,M(1853).L)(L=>function(ie){L(this),this.message=ie?`${ie.length} errors occurred during unsubscription:\n${ie.map((De,Pe)=>`${Pe+1}) ${De.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=ie});var s=M(7908);class X{constructor(B){this.initialTeardown=B,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let B;if(!this.closed){this.closed=!0;const{_parentage:ie}=this;if(ie)if(this._parentage=null,Array.isArray(ie))for(const le of ie)le.remove(this);else ie.remove(this);const{initialTeardown:De}=this;if((0,I.T)(De))try{De()}catch(le){B=le instanceof z?le.errors:[le]}const{_finalizers:Pe}=this;if(Pe){this._finalizers=null;for(const le of Pe)try{j(le)}catch(Oe){B=B??[],Oe instanceof z?B=[...B,...Oe.errors]:B.push(Oe)}}if(B)throw new z(B)}}add(B){var ie;if(B&&B!==this)if(this.closed)j(B);else{if(B instanceof X){if(B.closed||B._hasParent(this))return;B._addParent(this)}(this._finalizers=null!==(ie=this._finalizers)&&void 0!==ie?ie:[]).push(B)}}_hasParent(B){const{_parentage:ie}=this;return ie===B||Array.isArray(ie)&&ie.includes(B)}_addParent(B){const{_parentage:ie}=this;this._parentage=Array.isArray(ie)?(ie.push(B),ie):ie?[ie,B]:B}_removeParent(B){const{_parentage:ie}=this;ie===B?this._parentage=null:Array.isArray(ie)&&(0,s.o)(ie,B)}remove(B){const{_finalizers:ie}=this;ie&&(0,s.o)(ie,B),B instanceof X&&B._removeParent(this)}}X.EMPTY=(()=>{const L=new X;return L.closed=!0,L})();const u=X.EMPTY;function y(L){return L instanceof X||L&&"closed"in L&&(0,I.T)(L.remove)&&(0,I.T)(L.add)&&(0,I.T)(L.unsubscribe)}function j(L){(0,I.T)(L)?L():L.unsubscribe()}},8457:(_t,Ne,M)=>{"use strict";M.d(Ne,{bc$:()=>vT,iLQ:()=>Pc,sZ2:()=>Qa,hnV:()=>Cp,o8S:()=>Fo,BIS:()=>yT,gRc:()=>sw,Ql9:()=>ON,OM3:()=>Ic,Ocv:()=>BN,abz:()=>Os,Z63:()=>Yi,aKT:()=>ql,uvJ:()=>Do,zcH:()=>fs,bkB:()=>ks,$GK:()=>_n,nKC:()=>Lt,zZn:()=>Vi,_q3:()=>hg,MKu:()=>pg,xe9:()=>lg,Co$:()=>jE,Vns:()=>Sa,SKi:()=>xr,Xx1:()=>Cs,Agw:()=>mT,PLl:()=>_f,sFG:()=>VI,_9s:()=>$h,czy:()=>$u,bk:()=>$r,WPN:()=>Da,kdw:()=>Vs,C4Q:()=>Ec,NYb:()=>J1,giA:()=>fD,pJN:()=>Zs,xvI:()=>AN,RxE:()=>X0,c1b:()=>Ju,gXe:()=>Fs,mal:()=>Bf,Tzd:()=>jf,L39:()=>Ok,EWP:()=>Xc,a0P:()=>Yk,Ol2:()=>op,w6W:()=>kM,Rfq:()=>pi,oKB:()=>W,WQX:()=>St,hFB:()=>Hb,QuC:()=>b,uuI:()=>mg,EmA:()=>N,zw6:()=>CT,Jn2:()=>FN,HJs:()=>Zk,N4e:()=>Ul,vPA:()=>Ka,O8t:()=>ss,H3F:()=>pp,H8p:()=>da,KH2:()=>Nl,Ua0:()=>Ys,waE:()=>kw,wOt:()=>Le,WHO:()=>uD,e01:()=>dD,Lf2:()=>qa,lNU:()=>ft,PpM:()=>Wa,h9k:()=>Vv,$MX:()=>Nu,ZF7:()=>sl,Kcf:()=>h_,e5t:()=>v_,UyX:()=>g_,cWb:()=>p_,osQ:()=>m_,H5H:()=>Up,Zy3:()=>yn,mq5:()=>iC,JZv:()=>lt,TL3:()=>ck,LfX:()=>Fi,plB:()=>_a,jNT:()=>Dp,zjR:()=>hD,ngT:()=>_o,TL$:()=>pT,Tbb:()=>dr,zUL:()=>mo,rcV:()=>Ls,M8M:()=>Rk,XA_:()=>yw,Vt3:()=>ap,OA$:()=>_g,Jv_:()=>g0,R7$:()=>uy,BMQ:()=>Sp,HbH:()=>$D,ZvI:()=>QD,AVh:()=>kp,vxM:()=>ZD,wni:()=>$C,VBU:()=>UE,FsC:()=>$E,jDH:()=>Zt,G2t:()=>gi,$C:()=>sp,EJ8:()=>VE,rXU:()=>ml,nrm:()=>jp,bVm:()=>hd,qex:()=>fd,k0s:()=>dd,j41:()=>ud,RV6:()=>nC,xGo:()=>um,KVO:()=>xt,kS0:()=>uu,QTQ:()=>aE,bIt:()=>Hp,lsd:()=>zC,joV:()=>Kg,qSk:()=>Gg,XpG:()=>RC,nI1:()=>S0,bMT:()=>I0,i5U:()=>M0,brH:()=>A0,ii3:()=>R0,SdG:()=>NC,NAR:()=>OC,Y8G:()=>Rp,FS9:()=>Wp,Mz_:()=>yd,lJ4:()=>v0,eq3:()=>y0,l_i:()=>E0,sMw:()=>D0,mGM:()=>HC,sdS:()=>WC,Njj:()=>xg,eBV:()=>kg,npT:()=>Hv,B4B:()=>ih,n$t:()=>Gv,Aen:()=>rs,xc7:()=>Np,zvX:()=>Bp,DNE:()=>dp,C5r:()=>O0,EFF:()=>t0,JRh:()=>Kp,SpI:()=>Ed,Lme:()=>Qp,wXG:()=>Wv,DH7:()=>d0,mxI:()=>qp,R50:()=>Xp,GBs:()=>VC});var I=M(467);function x(e,t){return Object.is(e,t)}let z=null,s=!1,X=1;const u=Symbol("SIGNAL");function y(e){const t=z;return z=e,t}const ie={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function De(e){if(s)throw new Error("");if(null===z)return;z.consumerOnSignalRead(e);const t=z.nextProducerIndex++;We(z),t<z.producerNode.length&&z.producerNode[t]!==e&&$e(z)&&D(z.producerNode[t],z.producerIndexOfThis[t]),z.producerNode[t]!==e&&(z.producerNode[t]=e,z.producerIndexOfThis[t]=$e(z)?it(e,z,t):0),z.producerLastReadVersion[t]=e.version}function le(e){if((!$e(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==X)){if(!e.producerMustRecompute(e)&&!Qe(e))return void st(e);e.producerRecomputeValue(e),st(e)}}function Oe(e){if(void 0===e.liveConsumerNode)return;const t=s;s=!0;try{for(const n of e.liveConsumerNode)n.dirty||wt(n)}finally{s=t}}function at(){return!1!==z?.consumerAllowSignalWrites}function wt(e){e.dirty=!0,Oe(e),e.consumerMarkedDirty?.(e)}function st(e){e.dirty=!1,e.lastCleanEpoch=X}function nt(e){return e&&(e.nextProducerIndex=0),y(e)}function ze(e,t){if(y(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if($e(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)D(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Qe(e){We(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(le(n),r!==n.version))return!0}return!1}function he(e){if(We(e),$e(e))for(let t=0;t<e.producerNode.length;t++)D(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function it(e,t,n){if($t(e),0===e.liveConsumerNode.length&&nn(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=it(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function D(e,t){if($t(e),1===e.liveConsumerNode.length&&nn(e))for(let r=0;r<e.producerNode.length;r++)D(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];We(i),i.producerIndexOfThis[r]=t}}function $e(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function We(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function $t(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function nn(e){return void 0!==e.producerNode}const rn=Symbol("UNSET"),In=Symbol("COMPUTING"),Hn=Symbol("ERRORED"),Ln={...ie,value:rn,dirty:!0,error:null,equal:x,kind:"computed",producerMustRecompute:e=>e.value===rn||e.value===In,producerRecomputeValue(e){if(e.value===In)throw new Error("Detected cycle in computations.");const t=e.value;e.value=In;const n=nt(e);let r,i=!1;try{r=e.computation(),y(null),i=t!==rn&&t!==Hn&&r!==Hn&&e.equal(t,r)}catch(o){r=Hn,e.error=o}finally{ze(e,n)}i?e.value=t:(e.value=r,e.version++)}};let or=function ln(){throw new Error};function sr(e){or(e)}let _e=null;function ve(e,t){at()||sr(e),e.equal(e.value,t)||(e.value=t,function ot(e){e.version++,function Pe(){X++}(),Oe(e),_e?.()}(e))}function ne(e,t){at()||sr(e),ve(e,t(e.value))}const ke={...ie,equal:x,value:void 0,kind:"signal"};function an(e,t,n){const r=Object.create(At);r.source=e,r.computation=t,null!=n&&(r.equal=n);const o=()=>{if(le(r),De(r),r.value===Hn)throw r.error;return r.value};return o[u]=r,o}const At={...ie,value:rn,dirty:!0,error:null,equal:x,kind:"linkedSignal",producerMustRecompute:e=>e.value===rn||e.value===In,producerRecomputeValue(e){if(e.value===In)throw new Error("Detected cycle in computations.");const t=e.value;e.value=In;const n=nt(e);let r;try{const i=e.source();r=e.computation(i,t===rn||t===Hn?void 0:{source:e.sourceValue,value:t}),e.sourceValue=i}catch(i){r=Hn,e.error=i}finally{ze(e,n)}t!==rn&&r!==Hn&&e.equal(t,r)?e.value=t:(e.value=r,e.version++)}};let oe;function Se(){return oe}function rt(e){const t=oe;return oe=e,t}const ut=Symbol("NotFound");Error;var Xe=M(4412),Ct=M(1413),Ve=M(8359);const Kt={};function er(e,t){e.__jsaction=t}const ar=["mouseenter","mouseleave","pointerenter","pointerleave"],jn=["focus","blur","error","load","toggle"],Pr=e=>jn.indexOf(e)>=0;function oi(e,t){e.removeEventListener?e.removeEventListener(t.eventType,t.handler,"boolean"==typeof t.passive?{capture:t.capture}:t.capture):e.detachEvent&&e.detachEvent(`on${t.eventType}`,t.handler)}let ki=typeof navigator<"u"&&/Macintosh/.test(navigator.userAgent);const uo=typeof navigator<"u"&&/iPhone|iPad|iPod/.test(navigator.userAgent);class fo{element;handlerInfos=[];constructor(t){this.element=t}addEventListener(t,n,r){uo&&(this.element.style.cursor="pointer"),this.handlerInfos.push(function Hi(e,t,n,r){let i=!1;return Pr(t)&&(i=!0),e.addEventListener(t,n,"boolean"==typeof r?{capture:i,passive:r}:i),{eventType:t,handler:n,capture:i,passive:r}}(this.element,t,n(this.element),r))}cleanUp(){for(let t=0;t<this.handlerInfos.length;t++)oi(this.element,this.handlerInfos[t]);this.handlerInfos=[]}}function Lr(e){return e.eventType}function Dr(e,t){e.eventType=t}function Hr(e){return e.event}function Ti(e,t){e.event=t}function ho(e){return e.targetElement}function zi(e,t){e.targetElement=t}function po(e){return e.eic}function xi(e){return e.eia}function _i(e,t,n){e.eia=[t,n]}function Vr(e){e.eia=void 0}function Jr(e){return e[1]}function K(e,t){e.eirp=t}function fe(e){return e.eir}function de(e,t){e.eir=t}function Ke(e){return{eventType:e.eventType,event:e.event,targetElement:e.targetElement,eic:e.eic,eia:e.eia,timeStamp:e.timeStamp,eirp:e.eirp,eiack:e.eiack,eir:e.eir}}class Ye{eventInfo;constructor(t){this.eventInfo=t}getEventType(){return Lr(this.eventInfo)}setEventType(t){Dr(this.eventInfo,t)}getEvent(){return Hr(this.eventInfo)}setEvent(t){Ti(this.eventInfo,t)}getTargetElement(){return ho(this.eventInfo)}setTargetElement(t){zi(this.eventInfo,t)}getContainer(){return po(this.eventInfo)}setContainer(t){!function Wi(e,t){e.eic=t}(this.eventInfo,t)}getTimestamp(){return function qo(e){return e.timeStamp}(this.eventInfo)}setTimestamp(t){!function Yo(e,t){e.timeStamp=t}(this.eventInfo,t)}getAction(){const t=xi(this.eventInfo);if(t)return{name:t[0],element:t[1]}}setAction(t){t?_i(this.eventInfo,t.name,t.element):Vr(this.eventInfo)}getIsReplay(){return function go(e){return e.eirp}(this.eventInfo)}setIsReplay(t){K(this.eventInfo,t)}getResolved(){return fe(this.eventInfo)}setResolved(t){de(this.eventInfo,t)}clone(){return new Ye(Ke(this.eventInfo))}}const It={},sn=/\s*;\s*/;class Yn{a11yClickSupport=!1;clickModSupport=!0;syntheticMouseEventSupport;updateEventInfoForA11yClick=void 0;preventDefaultForA11yClick=void 0;populateClickOnlyAction=void 0;constructor({syntheticMouseEventSupport:t=!1,clickModSupport:n=!0}={}){this.syntheticMouseEventSupport=t,this.clickModSupport=n}resolveEventType(t){this.clickModSupport&&"click"===Lr(t)&&function Fr(e){return ki&&e.metaKey||!ki&&e.ctrlKey||function Mo(e){return 2===e.which||null==e.which&&4===e.button}(e)||e.shiftKey}(Hr(t))?Dr(t,"clickmod"):this.a11yClickSupport&&this.updateEventInfoForA11yClick(t)}resolveAction(t){fe(t)||(this.populateAction(t,ho(t)),de(t,!0))}resolveParentAction(t){const n=xi(t),r=n&&Jr(n);Vr(t);const i=r&&this.getParentNode(r);i&&this.populateAction(t,i)}populateAction(t,n){let r=n;for(;r&&r!==po(t)&&(r.nodeType===Node.ELEMENT_NODE&&this.populateActionOnElement(r,t),!xi(t));)r=this.getParentNode(r);const i=xi(t);if(i&&(this.a11yClickSupport&&this.preventDefaultForA11yClick(t),this.syntheticMouseEventSupport&&("mouseenter"===Lr(t)||"mouseleave"===Lr(t)||"pointerenter"===Lr(t)||"pointerleave"===Lr(t))))if(function Er(e,t,n){const r=e.relatedTarget;return("mouseover"===e.type&&"mouseenter"===t||"mouseout"===e.type&&"mouseleave"===t||"pointerover"===e.type&&"pointerenter"===t||"pointerout"===e.type&&"pointerleave"===t)&&(!r||r!==n&&!n.contains(r))}(Hr(t),Lr(t),Jr(i))){const o=function ai(e,t){const n={};for(const r in e){if("srcElement"===r||"target"===r)continue;const o=e[r];"function"!=typeof o&&(n[r]=o)}return n.type="mouseover"===e.type?"mouseenter":"mouseout"===e.type?"mouseleave":"pointerover"===e.type?"pointerenter":"pointerleave",n.target=n.srcElement=t,n.bubbles=!1,n._originalEvent=e,n}(Hr(t),Jr(i));Ti(t,o),zi(t,Jr(i))}else Vr(t)}getParentNode(t){const n=t.__owner;if(n)return n;const r=t.parentNode;return"#document-fragment"===r?.nodeName?r?.host??null:r}populateActionOnElement(t,n){const r=this.parseActions(t),i=r[Lr(n)];void 0!==i&&_i(n,i,t),this.a11yClickSupport&&this.populateClickOnlyAction(t,n,r)}parseActions(t){let n=function jt(e){return e.__jsaction}(t);if(!n){const r=t.getAttribute("jsaction");if(r){if(n=function tr(e){return Kt[e]}(r),!n){n={};const i=r.split(sn);for(let o=0;o<i.length;o++){const a=i[o];if(!a)continue;const f=a.indexOf(":"),p=-1!==f,_=p?a.substr(0,f).trim():"click",R=p?a.substr(f+1).trim():a;n[_]=R}!function yr(e,t){Kt[e]=t}(r,n)}er(t,n)}else n=It,er(t,n)}return n}addA11yClickSupport(t,n,r){this.a11yClickSupport=!0,this.updateEventInfoForA11yClick=t,this.preventDefaultForA11yClick=n,this.populateClickOnlyAction=r}}var Cr=function(e){return e[e.I_AM_THE_JSACTION_FRAMEWORK=0]="I_AM_THE_JSACTION_FRAMEWORK",e}(Cr||{});class lr{dispatchDelegate;actionResolver;eventReplayer;eventReplayScheduled=!1;replayEventInfoWrappers=[];constructor(t,{actionResolver:n,eventReplayer:r}={}){this.dispatchDelegate=t,this.actionResolver=n,this.eventReplayer=r}dispatch(t){const n=new Ye(t);this.actionResolver?.resolveEventType(t),this.actionResolver?.resolveAction(t);const r=n.getAction();r&&function gr(e,t){return"A"===e.tagName&&("click"===t.getEventType()||"clickmod"===t.getEventType())}(r.element,n)&&function si(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n.getEvent()),this.eventReplayer&&n.getIsReplay()?this.scheduleEventInfoWrapperReplay(n):this.dispatchDelegate(n)}scheduleEventInfoWrapperReplay(t){this.replayEventInfoWrappers.push(t),!this.eventReplayScheduled&&(this.eventReplayScheduled=!0,Promise.resolve().then(()=>{this.eventReplayScheduled=!1,this.eventReplayer(this.replayEventInfoWrappers)}))}}const On=Symbol.for("propagationStopped");class $n{dispatchDelegate;clickModSupport;actionResolver;dispatcher;constructor(t,n=!0){this.dispatchDelegate=t,this.clickModSupport=n,this.actionResolver=new Yn({clickModSupport:n}),this.dispatcher=new lr(r=>{this.dispatchToDelegate(r)},{actionResolver:this.actionResolver})}dispatch(t){this.dispatcher.dispatch(t)}dispatchToDelegate(t){for(t.getIsReplay()&&function zr(e){const t=e.getEvent(),n=e.getTargetElement(),r=t.preventDefault.bind(t);nr(t,"target",n),nr(t,"eventPhase",101),nr(t,"preventDefault",()=>{throw r(),new Error("`preventDefault` called during event replay.")}),nr(t,"composedPath",()=>{throw new Error("`composedPath` called during event replay.")})}(t),function Or(e){const t=e.getEvent(),n=e.getEvent().stopPropagation.bind(t),r=()=>{t[On]=!0,n()};nr(t,"stopPropagation",r),nr(t,"stopImmediatePropagation",r)}(t);t.getAction();){if(di(t),Pr(t.getEventType())&&t.getAction().element!==t.getTargetElement()||(this.dispatchDelegate(t.getEvent(),t.getAction().name),t.getEvent()[On]))return;this.actionResolver.resolveParentAction(t.eventInfo)}}}function di(e){const t=e.getEvent(),n=e.getAction()?.element;n&&nr(t,"currentTarget",n,{configurable:!0})}function nr(e,t,n,{configurable:r=!1}={}){Object.defineProperty(e,t,{value:n,configurable:r})}function fi(e,t,n,r){for(let i=0;i<t.length;i++)e.removeEventListener(t[i],n,r)}let Si=(()=>{class e{static MOUSE_SPECIAL_SUPPORT=!1;containerManager;eventHandlers={};browserEventTypeToExtraEventTypes={};dispatcher=null;queuedEventInfos=[];constructor(n){this.containerManager=n}handleEvent(n,r,i){const o=function ht(e,t,n,r,i,o,a,f){return{eventType:e,event:t,targetElement:n,eic:r,timeStamp:i,eia:o,eirp:a,eiack:f}}(n,r,r.target,i,Date.now());this.handleEventInfo(o)}handleEventInfo(n){if(!this.dispatcher)return K(n,!0),void this.queuedEventInfos?.push(n);this.dispatcher(n)}addEvent(n,r,i){if(n in this.eventHandlers||!this.containerManager||!e.MOUSE_SPECIAL_SUPPORT&&ar.indexOf(n)>=0)return;const o=(f,p,_)=>{this.handleEvent(f,p,_)};this.eventHandlers[n]=o;const a=function bi(e){return"mouseenter"===e?"mouseover":"mouseleave"===e?"mouseout":"pointerenter"===e?"pointerover":"pointerleave"===e?"pointerout":e}(r||n);if(a!==n){const f=this.browserEventTypeToExtraEventTypes[a]||[];f.push(n),this.browserEventTypeToExtraEventTypes[a]=f}this.containerManager.addEventListener(a,f=>p=>{o(n,p,f)},i)}replayEarlyEvents(n=window._ejsa){n&&(this.replayEarlyEventInfos(n.q),function Gr(e){e&&(fi(e.c,e.et,e.h),fi(e.c,e.etc,e.h,!0))}(n),delete window._ejsa)}replayEarlyEventInfos(n){for(let r=0;r<n.length;r++){const i=n[r],o=this.getEventTypesForBrowserEventType(i.eventType);for(let a=0;a<o.length;a++){const f=Ke(i);Dr(f,o[a]),this.handleEventInfo(f)}}}getEventTypesForBrowserEventType(n){const r=[];return this.eventHandlers[n]&&r.push(n),this.browserEventTypeToExtraEventTypes[n]&&r.push(...this.browserEventTypeToExtraEventTypes[n]),r}handler(n){return this.eventHandlers[n]}cleanUp(){this.containerManager?.cleanUp(),this.containerManager=null,this.eventHandlers={},this.browserEventTypeToExtraEventTypes={},this.dispatcher=null,this.queuedEventInfos=[]}registerDispatcher(n,r){this.ecrd(n,r)}ecrd(n,r){if(this.dispatcher=n,this.queuedEventInfos?.length){for(let i=0;i<this.queuedEventInfos.length;i++)this.handleEventInfo(this.queuedEventInfos[i]);this.queuedEventInfos=null}}}return e})();function H(e,t=window){t._ejsas&&(t._ejsas[e]=void 0)}var ye=M(6354);const ft="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss";class Le extends Error{code;constructor(t,n){super(yn(t,n)),this.code=t}}function yn(e,t){return`${function Cn(e){return`NG0${Math.abs(e)}`}(e)}${t?": "+t:""}`}const Mn=Symbol("InputSignalNode#UNSET"),dn={...ke,transformFn:void 0,applyValueToInputSignal(e,t){ve(e,t)}};function zn(e,t){const n=Object.create(dn);function r(){if(De(n),n.value===Mn)throw new Le(-950,null);return n.value}return n.value=e,n.transformFn=t?.transform,r[u]=n,r}function rr(e){return{toString:e}.toString()}const ir="__parameters__";function ae(e,t,n){return rr(()=>{const r=function Te(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}(t);function i(...o){if(this instanceof i)return r.apply(this,o),this;const a=new i(...o);return f.annotation=a,f;function f(p,_,R){const V=p.hasOwnProperty(ir)?p[ir]:Object.defineProperty(p,ir,{value:[]})[ir];for(;V.length<=R;)V.push(null);return(V[R]=V[R]||[]).push(a),p}}return i.prototype.ngMetadataName=e,i.annotationCls=i,i})}const lt=globalThis;function Xt(e){for(let t in e)if(e[t]===Xt)return t;throw Error("Could not find renamed property on target object.")}function hi(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function dr(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(dr).join(", ")}]`;if(null==e)return""+e;const t=e.overriddenName||e.name;if(t)return`${t}`;const n=e.toString();if(null==n)return""+n;const r=n.indexOf("\n");return r>=0?n.slice(0,r):n}function Ro(e,t){return e?t?`${e} ${t}`:e:t||""}function mo(e,t=100){if(!e||t<1||e.length<=t)return e;if(1==t)return e.substring(0,1)+"...";const n=Math.round(t/2);return e.substring(0,n)+"..."+e.substring(e.length-n)}const Pi=Xt({__forward_ref__:Xt});function pi(e){return e.__forward_ref__=pi,e.toString=function(){return dr(this())},e}function qt(e){return Ki(e)?e():e}function Ki(e){return"function"==typeof e&&e.hasOwnProperty(Pi)&&e.__forward_ref__===pi}function Zt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function gi(e){return{providers:e.providers||[],imports:e.imports||[]}}function cn(e){return Tn(e,Uo)||Tn(e,$o)}function Fi(e){return null!==cn(e)}function Tn(e,t){return e.hasOwnProperty(t)?e[t]:null}function Li(e){return e&&(e.hasOwnProperty(mi)||e.hasOwnProperty(Ii))?e[mi]:null}const Uo=Xt({\u0275prov:Xt}),mi=Xt({\u0275inj:Xt}),$o=Xt({ngInjectableDef:Xt}),Ii=Xt({ngInjectorDef:Xt});class Lt{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=Zt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Xi(e){return e&&!!e.\u0275providers}const Vo=Xt({\u0275cmp:Xt}),Oo=Xt({\u0275dir:Xt}),Ho=Xt({\u0275pipe:Xt}),vi=Xt({\u0275mod:Xt}),ji=Xt({\u0275fac:Xt}),Ai=Xt({__NG_ELEMENT_ID__:Xt}),cs=Xt({__NG_ENV_ID__:Xt});function Jt(e){return"string"==typeof e?e:null==e?"":String(e)}function Zo(e,t){throw new Le(-200,e)}function ko(e,t){throw new Le(-201,!1)}var _n=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(_n||{});let vo;function Wo(){return vo}function Q(e){const t=vo;return vo=e,t}function ge(e,t,n){const r=cn(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&_n.Optional?null:void 0!==t?t:void ko()}const Ue={},Et="__NG_DI_FLAG__";class Rt{injector;constructor(t){this.injector=t}retrieve(t,n){return this.injector.get(t,n.optional?ut:Ue,n)}}const Bt="ngTempTokenPath",wn=/\n/gm,tn="__source";function bn(e,t=_n.Default){if(void 0===Se())throw new Le(-203,!1);if(null===Se())return ge(e,void 0,t);{const n=Se();let r;return r=n instanceof Rt?n.injector:n,r.get(e,t&_n.Optional?null:void 0,t)}}function xt(e,t=_n.Default){return(Wo()||bn)(qt(e),t)}function St(e,t=_n.Default){return xt(e,wr(t))}function wr(e){return typeof e>"u"||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Xr(e){const t=[];for(let n=0;n<e.length;n++){const r=qt(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Le(900,!1);let i,o=_n.Default;for(let a=0;a<r.length;a++){const f=r[a],p=yo(f);"number"==typeof p?-1===p?i=f.token:o|=p:i=f}t.push(xt(i,o))}else t.push(xt(r))}return t}function yi(e,t){return e[Et]=t,e.prototype[Et]=t,e}function yo(e){return e[Et]}const Cs=yi(ae("Optional"),8),Vs=yi(ae("SkipSelf"),4);function xo(e,t){return e.hasOwnProperty(ji)?e[ji]:null}function Go(e,t){e.forEach(n=>Array.isArray(n)?Go(n,t):t(n))}function La(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Hs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function qi(e,t,n){let r=ws(e,t);return r>=0?e[1|r]=n:(r=~r,function Fl(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function aa(e,t){const n=ws(e,t);if(n>=0)return e[1|n]}function ws(e,t){return function ja(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const o=r+(i-r>>1),a=e[o<<n];if(t===a)return o<<n;a>t?i=o:r=o+1}return~(i<<n)}(e,t,1)}const io={},Wn=[],Yi=new Lt(""),Ba=new Lt("",-1),la=new Lt("");class ca{get(t,n=Ue){if(n===Ue){const r=new Error(`NullInjectorError: No provider for ${dr(t)}!`);throw r.name="NullInjectorError",r}return n}}function Zn(e,t){const n=e[vi]||null;if(!n&&!0===t)throw new Error(`Type ${dr(e)} does not have '\u0275mod' property.`);return n}function m(e){return e[Vo]||null}function C(e){return e[Oo]||null}function v(e){return e[Ho]||null}function b(e){const t=m(e)||C(e)||v(e);return null!==t&&t.standalone}function N(e){return{\u0275providers:e}}function W(...e){return{\u0275providers:Ce(0,e),\u0275fromNgModule:!0}}function Ce(e,...t){const n=[],r=new Set;let i;const o=a=>{n.push(a)};return Go(t,a=>{const f=a;bt(f,o,[],r)&&(i||=[],i.push(f))}),void 0!==i&&qe(i,o),n}function qe(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:i}=e[n];Mr(i,o=>{t(o,r)})}}function bt(e,t,n,r){if(!(e=qt(e)))return!1;let i=null,o=Li(e);const a=!o&&m(e);if(o||a){if(a&&!a.standalone)return!1;i=e}else{const p=e.ngModule;if(o=Li(p),!o)return!1;i=p}const f=r.has(i);if(a){if(f)return!1;if(r.add(i),a.dependencies){const p="function"==typeof a.dependencies?a.dependencies():a.dependencies;for(const _ of p)bt(_,t,n,r)}}else{if(!o)return!1;{if(null!=o.imports&&!f){let _;r.add(i);try{Go(o.imports,R=>{bt(R,t,n,r)&&(_||=[],_.push(R))})}finally{}void 0!==_&&qe(_,t)}if(!f){const _=xo(i)||(()=>new i);t({provide:i,useFactory:_,deps:Wn},i),t({provide:la,useValue:i,multi:!0},i),t({provide:Yi,useValue:()=>xt(i),multi:!0},i)}const p=o.providers;if(null!=p&&!f){const _=e;Mr(p,R=>{t(R,_)})}}}return i!==e&&void 0!==e.providers}function Mr(e,t){for(let n of e)Xi(n)&&(n=n.\u0275providers),Array.isArray(n)?Mr(n,t):t(n)}const Bi=Xt({provide:String,useValue:Xt});function Zi(e){return null!==e&&"object"==typeof e&&Bi in e}function Di(e){return"function"==typeof e}const da=new Lt(""),Jo={},qc={};let Ll;function Ua(){return void 0===Ll&&(Ll=new ca),Ll}class Do{}class bs extends Do{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,Bl(t,a=>this.processProvider(a)),this.records.set(Ba,Ws(void 0,this)),i.has("environment")&&this.records.set(Do,Ws(void 0,this));const o=this.records.get(da);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(la,Wn,_n.Self))}retrieve(t,n){return this.get(t,n.optional?ut:Ue,n)}destroy(){fa(this),this._destroyed=!0;const t=y(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),y(t)}}onDestroy(t){return fa(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){fa(this);const n=rt(this),r=Q(void 0);try{return t()}finally{rt(n),Q(r)}}get(t,n=Ue,r=_n.Default){if(fa(this),t.hasOwnProperty(cs))return t[cs](this);r=wr(r);const o=rt(this),a=Q(void 0);try{if(!(r&_n.SkipSelf)){let p=this.records.get(t);if(void 0===p){const _=function xd(e){return"function"==typeof e||"object"==typeof e&&e instanceof Lt}(t)&&cn(t);p=_&&this.injectableDefInScope(_)?Ws(jl(t),Jo):null,this.records.set(t,p)}if(null!=p)return this.hydrate(t,p)}return(r&_n.Self?Ua():this.parent).get(t,n=r&_n.Optional&&n===Ue?null:n)}catch(f){if("NullInjectorError"===f.name){if((f[Bt]=f[Bt]||[]).unshift(dr(t)),o)throw f;return function Br(e,t,n,r){const i=e[Bt];throw t[tn]&&i.unshift(t[tn]),e.message=function Us(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let i=dr(t);if(Array.isArray(t))i=t.map(dr).join(" -> ");else if("object"==typeof t){let o=[];for(let a in t)if(t.hasOwnProperty(a)){let f=t[a];o.push(a+":"+("string"==typeof f?JSON.stringify(f):dr(f)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(wn,"\n  ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[Bt]=null,e}(f,t,"R3InjectorError",this.source)}throw f}finally{Q(a),rt(o)}}resolveInjectorInitializers(){const t=y(null),n=rt(this),r=Q(void 0);try{const o=this.get(Yi,Wn,_n.Self);for(const a of o)a()}finally{rt(n),Q(r),y(t)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(dr(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){let n=Di(t=qt(t))?t:qt(t&&t.provide);const r=function Od(e){return Zi(e)?Ws(void 0,e.useValue):Ws(Yc(e),Jo)}(t);if(!Di(t)&&!0===t.multi){let i=this.records.get(n);i||(i=Ws(void 0,Jo,!0),i.factory=()=>Xr(i.multi),this.records.set(n,i)),n=t,i.multi.push(t)}this.records.set(n,r)}hydrate(t,n){const r=y(null);try{return n.value===qc?Zo(dr(t)):n.value===Jo&&(n.value=qc,n.value=n.factory()),"object"==typeof n.value&&n.value&&function kd(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{y(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;const n=qt(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function jl(e){const t=cn(e),n=null!==t?t.factory:xo(e);if(null!==n)return n;if(e instanceof Lt)throw new Le(204,!1);if(e instanceof Function)return function Rd(e){if(e.length>0)throw new Le(204,!1);const n=function fr(e){return e&&(e[Uo]||e[$o])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Le(204,!1)}function Yc(e,t,n){let r;if(Di(e)){const i=qt(e);return xo(i)||jl(i)}if(Zi(e))r=()=>qt(e.useValue);else if(function Eo(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Xr(e.deps||[]));else if(function ti(e){return!(!e||!e.useExisting)}(e))r=()=>xt(qt(e.useExisting));else{const i=qt(e&&(e.useClass||e.provide));if(!function Nd(e){return!!e.deps}(e))return xo(i)||jl(i);r=()=>new i(...Xr(e.deps))}return r}function fa(e){if(e.destroyed)throw new Le(205,!1)}function Ws(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Bl(e,t){for(const n of e)Array.isArray(n)?Bl(n,t):n&&Xi(n)?Bl(n.\u0275providers,t):t(n)}function Ul(e,t){let n;e instanceof bs?(fa(e),n=e):n=new Rt(e);const i=rt(n),o=Q(void 0);try{return t()}finally{rt(i),Q(o)}}function Zc(){return void 0!==Wo()||null!=Se()}function Gs(e){if(!Zc())throw new Le(-203,!1)}const Je=0,be=1,gt=2,Pt=3,Ft=4,Ht=5,kn=6,Nr=7,fn=8,Vn=9,br=10,Yt=11,Ri=12,ui=13,ri=14,cr=15,Co=16,Ts=17,Ui=18,_s=19,$l=20,es=21,Gt=23,zt=24,Tt=26,wo=1,Ur=6,Ci=7,Ss=9,kr=10;function Pn(e){return Array.isArray(e)&&"object"==typeof e[wo]}function Ar(e){return Array.isArray(e)&&!0===e[wo]}function Ji(e){return!!(4&e.flags)}function eo(e){return e.componentOffset>-1}function Qs(e){return!(1&~e.flags)}function Po(e){return!!e.template}function Is(e){return!!(512&e[gt])}function Xs(e){return!(256&~e[gt])}class Bw{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Tg(e,t,n,r){null!==t?t.applyValueToInputSignal(t,r):e[n]=r}const _g=(()=>{const e=()=>Sg;return e.ngInherit=!0,e})();function Sg(e){return e.type.prototype.ngOnChanges&&(e.setInput=$w),Uw}function Uw(){const e=Mg(this),t=e?.current;if(t){const n=e.previous;if(n===io)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function $w(e,t,n,r,i){const o=this.declaredInputs[r],a=Mg(e)||function Vw(e,t){return e[Ig]=t}(e,{previous:io,current:null}),f=a.current||(a.current={}),p=a.previous,_=p[o];f[o]=new Bw(_&&_.currentValue,n,p===io),Tg(e,t,i,n)}const Ig="__ngSimpleChanges__";function Mg(e){return e[Ig]||null}const hr=function(e,t=null,n){},Ag="svg";function Jn(e){for(;Array.isArray(e);)e=e[Je];return e}function $a(e,t){return Jn(t[e])}function oo(e,t){return Jn(t[e.index])}function ha(e,t){return e.data[t]}function pa(e,t){return e[t]}function so(e,t){const n=t[e];return Pn(n)?n:n[Je]}function Ud(e){return!(128&~e[gt])}function Ko(e,t){return null==t?null:e[t]}function Og(e){e[Ts]=0}function $d(e){1024&e[gt]||(e[gt]|=1024,Ud(e)&&Va(e))}function Vl(e){return!!(9216&e[gt]||e[zt]?.dirty)}function Vd(e){e[br].changeDetectionScheduler?.notify(8),64&e[gt]&&(e[gt]|=1024),Vl(e)&&Va(e)}function Va(e){e[br].changeDetectionScheduler?.notify(0);let t=Ms(e);for(;null!==t&&!(8192&t[gt])&&(t[gt]|=8192,Ud(t));)t=Ms(t)}function eu(e,t){if(Xs(e))throw new Le(911,!1);null===e[es]&&(e[es]=[]),e[es].push(t)}function Ms(e){const t=e[Pt];return Ar(t)?t[Pt]:t}function zd(e){return e[Nr]??=[]}function Wd(e){return e.cleanup??=[]}const mn={lFrame:Hg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Kd=!1;function Qd(){return mn.bindingsEnabled}function ga(){return null!==mn.skipHydrationRootTNode}function je(){return mn.lFrame.lView}function hn(){return mn.lFrame.tView}function kg(e){return mn.lFrame.contextLView=e,e[fn]}function xg(e){return mn.lFrame.contextLView=null,e}function Fn(){let e=Pg();for(;null!==e&&64===e.type;)e=e.parent;return e}function Pg(){return mn.lFrame.currentTNode}function ts(e,t){const n=mn.lFrame;n.currentTNode=e,n.isParent=t}function Xd(){return mn.lFrame.isParent}function qd(){mn.lFrame.isParent=!1}function jg(){return Kd}function nu(e){const t=Kd;return Kd=e,t}function ao(){const e=mn.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Qo(){return mn.lFrame.bindingIndex++}function Rs(e){const t=mn.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function rb(e,t){const n=mn.lFrame;n.bindingIndex=n.bindingRootIndex=e,Yd(t)}function Yd(e){mn.lFrame.currentDirectiveIndex=e}function Zd(e){const t=mn.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Jd(){return mn.lFrame.currentQueryIndex}function ru(e){mn.lFrame.currentQueryIndex=e}function ob(e){const t=e[be];return 2===t.type?t.declTNode:1===t.type?e[Ht]:null}function $g(e,t,n){if(n&_n.SkipSelf){let i=t,o=e;for(;!(i=i.parent,null!==i||n&_n.Host||(i=ob(o),null===i||(o=o[ri],10&i.type))););if(null===i)return!1;t=i,e=o}const r=mn.lFrame=Vg();return r.currentTNode=t,r.lView=e,!0}function ef(e){const t=Vg(),n=e[be];mn.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Vg(){const e=mn.lFrame,t=null===e?null:e.child;return null===t?Hg(e):t}function Hg(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function zg(){const e=mn.lFrame;return mn.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Wg=zg;function tf(){const e=zg();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function $i(){return mn.lFrame.selectedIndex}function ma(e){mn.lFrame.selectedIndex=e}function _r(){const e=mn.lFrame;return ha(e.tView,e.selectedIndex)}function Gg(){mn.lFrame.currentNamespace=Ag}function Kg(){!function lb(){mn.lFrame.currentNamespace=null}()}function Qg(){return mn.lFrame.currentNamespace}let Xg=!0;function zl(){return Xg}function us(e){Xg=e}function nf(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const o=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:f,ngAfterViewInit:p,ngAfterViewChecked:_,ngOnDestroy:R}=o;a&&(e.contentHooks??=[]).push(-n,a),f&&((e.contentHooks??=[]).push(n,f),(e.contentCheckHooks??=[]).push(n,f)),p&&(e.viewHooks??=[]).push(-n,p),_&&((e.viewHooks??=[]).push(n,_),(e.viewCheckHooks??=[]).push(n,_)),null!=R&&(e.destroyHooks??=[]).push(n,R)}}function iu(e,t,n){qg(e,t,3,n)}function ou(e,t,n,r){(3&e[gt])===n&&qg(e,t,n,r)}function rf(e,t){let n=e[gt];(3&n)===t&&(n&=16383,n+=1,e[gt]=n)}function qg(e,t,n,r){const o=r??-1,a=t.length-1;let f=0;for(let p=void 0!==r?65535&e[Ts]:0;p<a;p++)if("number"==typeof t[p+1]){if(f=t[p],null!=r&&f>=r)break}else t[p]<0&&(e[Ts]+=65536),(f<o||-1==o)&&(ub(e,n,t,p),e[Ts]=(4294901760&e[Ts])+p+2),p++}function Yg(e,t){hr(4,e,t);const n=y(null);try{t.call(e)}finally{y(n),hr(5,e,t)}}function ub(e,t,n,r){const i=n[r]<0,o=n[r+1],f=e[i?-n[r]:n[r]];i?e[gt]>>14<e[Ts]>>16&&(3&e[gt])===t&&(e[gt]+=16384,Yg(f,o)):Yg(f,o)}const Ha=-1;class Wl{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}}function Zg(e){return 3===e||4===e||6===e}function Jg(e){return 64===e.charCodeAt(0)}function za(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const i=t[r];"number"==typeof i?n=i:0===n||em(e,n,i,0,-1===n||2===n?t[++r]:null)}}return e}function em(e,t,n,r,i){let o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){const f=e[o++];if("number"==typeof f){if(f===t){a=-1;break}if(f>t){a=o-1;break}}}for(;o<e.length;){const f=e[o];if("number"==typeof f)break;if(f===n)return void(null!==i&&(e[o+1]=i));o++,null!==i&&o++}-1!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==i&&e.splice(o++,0,i)}function lf(e){return e!==Ha}function Gl(e){return 32767&e}function Kl(e,t){let n=function gb(e){return e>>16}(e),r=t;for(;n>0;)r=r[ri],n--;return r}let cf=!0;function su(e){const t=cf;return cf=e,t}const tm=255,nm=5;let mb=0;const ds={};function au(e,t){const n=rm(e,t);if(-1!==n)return n;const r=t[be];r.firstCreatePass&&(e.injectorIndex=t.length,uf(r.data,e),uf(t,null),uf(r.blueprint,null));const i=lu(e,t),o=e.injectorIndex;if(lf(i)){const a=Gl(i),f=Kl(i,t),p=f[be].data;for(let _=0;_<8;_++)t[o+_]=f[a+_]|p[a+_]}return t[o+8]=i,o}function uf(e,t){e.push(0,0,0,0,0,0,0,0,t)}function rm(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function lu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){if(r=dm(i),null===r)return Ha;if(n++,i=i[ri],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ha}function df(e,t,n){!function vb(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ai)&&(r=n[Ai]),null==r&&(r=n[Ai]=mb++);const i=r&tm;t.data[e+(i>>nm)]|=1<<i}(e,t,n)}function im(e,t,n){if(n&_n.Optional||void 0!==e)return e;ko()}function om(e,t,n,r){if(n&_n.Optional&&void 0===r&&(r=null),!(n&(_n.Self|_n.Host))){const i=e[Vn],o=Q(void 0);try{return i?i.get(t,r,n&_n.Optional):ge(t,r,n&_n.Optional)}finally{Q(o)}}return im(r,0,n)}function sm(e,t,n,r=_n.Default,i){if(null!==e){if(2048&t[gt]&&!(r&_n.Self)){const a=function wb(e,t,n,r,i){let o=e,a=t;for(;null!==o&&null!==a&&2048&a[gt]&&!Is(a);){const f=am(o,a,n,r|_n.Self,ds);if(f!==ds)return f;let p=o.parent;if(!p){const _=a[$l];if(_){const R=_.get(n,ds,r);if(R!==ds)return R}p=dm(a),a=a[ri]}o=p}return i}(e,t,n,r,ds);if(a!==ds)return a}const o=am(e,t,n,r,ds);if(o!==ds)return o}return om(t,n,r,i)}function am(e,t,n,r,i){const o=function Db(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ai)?e[Ai]:void 0;return"number"==typeof t?t>=0?t&tm:Cb:t}(n);if("function"==typeof o){if(!$g(t,e,r))return r&_n.Host?im(i,0,r):om(t,n,r,i);try{let a;if(a=o(r),null!=a||r&_n.Optional)return a;ko()}finally{Wg()}}else if("number"==typeof o){let a=null,f=rm(e,t),p=Ha,_=r&_n.Host?t[cr][Ht]:null;for((-1===f||r&_n.SkipSelf)&&(p=-1===f?lu(e,t):t[f+8],p!==Ha&&cm(r,!1)?(a=t[be],f=Gl(p),t=Kl(p,t)):f=-1);-1!==f;){const R=t[be];if(lm(o,f,R.data)){const V=Eb(f,t,n,a,r,_);if(V!==ds)return V}p=t[f+8],p!==Ha&&cm(r,t[be].data[f+8]===_)&&lm(o,f,t)?(a=R,f=Gl(p),t=Kl(p,t)):f=-1}}return i}function Eb(e,t,n,r,i,o){const a=t[be],f=a.data[e+8],R=cu(f,a,n,null==r?eo(f)&&cf:r!=a&&!!(3&f.type),i&_n.Host&&o===f);return null!==R?Ql(t,a,R,f):ds}function cu(e,t,n,r,i){const o=e.providerIndexes,a=t.data,f=1048575&o,p=e.directiveStart,R=o>>20,J=i?f+R:e.directiveEnd;for(let q=r?f:f+R;q<J;q++){const me=a[q];if(q<p&&n===me||q>=p&&me.type===n)return q}if(i){const q=a[p];if(q&&Po(q)&&q.type===n)return p}return null}function Ql(e,t,n,r){let i=e[n];const o=t.data;if(i instanceof Wl){const a=i;a.resolving&&Zo(function un(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Jt(e)}(o[n]));const f=su(a.canSeeViewProviders);a.resolving=!0;const _=a.injectImpl?Q(a.injectImpl):null;$g(e,r,_n.Default);try{i=e[n]=a.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function cb(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=t.type.prototype;if(r){const a=Sg(t);(n.preOrderHooks??=[]).push(e,a),(n.preOrderCheckHooks??=[]).push(e,a)}i&&(n.preOrderHooks??=[]).push(0-e,i),o&&((n.preOrderHooks??=[]).push(e,o),(n.preOrderCheckHooks??=[]).push(e,o))}(n,o[n],t)}finally{null!==_&&Q(_),su(f),a.resolving=!1,Wg()}}return i}function lm(e,t,n){return!!(n[t+(e>>nm)]&1<<e)}function cm(e,t){return!(e&_n.Self||e&_n.Host&&t)}class qr{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return sm(this._tNode,this._lView,t,wr(r),n)}}function Cb(){return new qr(Fn(),je())}function um(e){return rr(()=>{const t=e.prototype.constructor,n=t[ji]||ff(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const o=i[ji]||ff(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function ff(e){return Ki(e)?()=>{const t=ff(qt(e));return t&&t()}:xo(e)}function dm(e){const t=e[be],n=t.type;return 2===n?t.declTNode:1===n?e[Ht]:null}function uu(e){return function yb(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const o=n[i];if(Zg(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}}return null}(Fn(),e)}function mm(e,t=null,n=null,r){const i=vm(e,t,n,r);return i.resolveInjectorInitializers(),i}function vm(e,t=null,n=null,r,i=new Set){const o=[n||Wn,W(e)];return r=r||("object"==typeof e?void 0:dr(e)),new bs(o,t||Ua(),r||null,i)}class Vi{static THROW_IF_NOT_FOUND=Ue;static NULL=new ca;static create(t,n){if(Array.isArray(t))return mm({name:""},n,t,"");{const r=t.name??"";return mm({name:r},t.parent,t.providers,r)}}static \u0275prov=Zt({token:Vi,providedIn:"any",factory:()=>xt(Ba)});static __NG_ELEMENT_ID__=-1}new Lt("").__NG_ELEMENT_ID__=e=>{const t=Fn();if(null===t)throw new Le(204,!1);if(2&t.type)return t.value;if(e&_n.Optional)return null;throw new Le(204,!1)};const ym=!1;let Os=(()=>class e{static __NG_ELEMENT_ID__=Ob;static __NG_ENV_ID__=n=>n})();class Em extends Os{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return eu(this._lView,t),()=>function Hd(e,t){if(null===e[es])return;const n=e[es].indexOf(t);-1!==n&&e[es].splice(n,1)}(this._lView,t)}}function Ob(){return new Em(je())}class Ns{}const Wa=new Lt("",{providedIn:"root",factory:()=>!1}),Dm=new Lt(""),pf=new Lt("");let Ys=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new Xe.t(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=Zt({token:e,providedIn:"root",factory:()=>new e})}return e})(),Nb=(()=>{class e{internalPendingTasks=St(Ys);scheduler=St(Ns);add(){const n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){var r=this;return(0,I.A)(function*(){const i=r.add();try{return yield n()}finally{i()}})()}static \u0275prov=Zt({token:e,providedIn:"root",factory:()=>new e})}return e})();const ks=class kb extends Ct.B{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Zc()&&(this.destroyRef=St(Os,{optional:!0})??void 0,this.pendingTasks=St(Ys,{optional:!0})??void 0)}emit(t){const n=y(null);try{super.next(t)}finally{y(n)}}subscribe(t,n,r){let i=t,o=n||(()=>null),a=r;if(t&&"object"==typeof t){const p=t;i=p.next?.bind(p),o=p.error?.bind(p),a=p.complete?.bind(p)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),a&&(a=this.wrapInTimeout(a)));const f=super.subscribe({next:i,error:o,complete:a});return t instanceof Ve.yU&&t.add(f),f}wrapInTimeout(t){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{t(n),void 0!==r&&this.pendingTasks?.remove(r)})}}};function Xl(...e){}function Cm(e){let t,n;function r(){e=Xl;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function wm(e){return queueMicrotask(()=>e()),()=>{e=Xl}}const gf="isAngularZone",fu=gf+"_ID";let xb=0;class xr{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ks(!1);onMicrotaskEmpty=new ks(!1);onStable=new ks(!1);onError=new ks(!1);constructor(t){const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=ym}=t;if(typeof Zone>"u")throw new Le(908,!1);Zone.assertZonePatched();const a=this;a._nesting=0,a._outer=a._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(a._inner=a._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!i&&r,a.shouldCoalesceRunChangeDetection=i,a.callbackScheduled=!1,a.scheduleInRootZone=o,function Lb(e){const t=()=>{!function Fb(e){function t(){Cm(()=>{e.callbackScheduled=!1,vf(e),e.isCheckStableRunning=!0,mf(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),vf(e))}(e)},n=xb++;e._inner=e._inner.fork({name:"angular",properties:{[gf]:!0,[fu]:n,[fu+n]:!0},onInvokeTask:(r,i,o,a,f,p)=>{if(function jb(e){return _m(e,"__ignore_ng_zone__")}(p))return r.invokeTask(o,a,f,p);try{return bm(e),r.invokeTask(o,a,f,p)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===a.type||e.shouldCoalesceRunChangeDetection)&&t(),Tm(e)}},onInvoke:(r,i,o,a,f,p,_)=>{try{return bm(e),r.invoke(o,a,f,p,_)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function Bb(e){return _m(e,"__scheduler_tick__")}(p)&&t(),Tm(e)}},onHasTask:(r,i,o,a)=>{r.hasTask(o,a),i===o&&("microTask"==a.change?(e._hasPendingMicrotasks=a.microTask,vf(e),mf(e)):"macroTask"==a.change&&(e.hasPendingMacrotasks=a.macroTask))},onHandleError:(r,i,o,a)=>(r.handleError(o,a),e.runOutsideAngular(()=>e.onError.emit(a)),!1)})}(a)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(gf)}static assertInAngularZone(){if(!xr.isInAngularZone())throw new Le(909,!1)}static assertNotInAngularZone(){if(xr.isInAngularZone())throw new Le(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,i){const o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+i,t,Pb,Xl,Xl);try{return o.runTask(a,n,r)}finally{o.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Pb={};function mf(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function vf(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled)}function bm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Tm(e){e._nesting--,mf(e)}class yf{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ks;onMicrotaskEmpty=new ks;onStable=new ks;onError=new ks;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,i){return t.apply(n,r)}}function _m(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}class fs{_console=console;handleError(t){this._console.error("ERROR",t)}}const $b=new Lt("",{providedIn:"root",factory:()=>{const e=St(xr),t=St(fs);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function Im(e,t){return zn(e,t)}const Hb=(Im.required=function Vb(e){return zn(Mn,e)},Im);function zb(){return Ga(Fn(),je())}function Ga(e,t){return new ql(oo(e,t))}let ql=(()=>class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=zb})();function Mm(e){return e instanceof ql?e.nativeElement:e}function Ka(e,t){const n=function Me(e,t){const n=Object.create(ke);n.value=e,void 0!==t&&(n.equal=t);const r=()=>(De(n),n.value);return r[u]=n,r}(e,t?.equal),r=n[u];return n.set=i=>ve(r,i),n.update=i=>ne(r,i),n.asReadonly=hu.bind(n),n}function hu(){const e=this[u];if(void 0===e.readonlyFn){const t=()=>this();t[u]=e,e.readonlyFn=t}return e.readonlyFn}function Rm(e){return function Am(e){return"function"==typeof e&&void 0!==e[u]}(e)&&"function"==typeof e.set}function Wb(){return this._results[Symbol.iterator]()}class Gb{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new Ct.B}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;const r=function Ei(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Pl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],o=t[r];if(n&&(i=n(i),o=n(o)),o!==i)return!1}return!0}(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Wb}const Yl="ngSkipHydration",Kb="ngskiphydration";function Ef(e){const t=e.mergedAttrs;if(null===t)return!1;for(let n=0;n<t.length;n+=2){const r=t[n];if("number"==typeof r)return!1;if("string"==typeof r&&r.toLowerCase()===Kb)return!0}return!1}function Om(e){return e.hasAttribute(Yl)}function Zl(e){return!(128&~e.flags)}var pu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(pu||{});const gu=new Map;let Qb=0;function Df(e){gu.delete(e[_s])}const wf="__ngContext__";function To(e,t){Pn(t)?(e[wf]=t[_s],function qb(e){gu.set(e[_s],e)}(t)):e[wf]=t}function Bm(e){return $m(e[Ri])}function Um(e){return $m(e[Ft])}function $m(e){for(;null!==e&&!Ar(e);)e=e[Ft];return e}let Tf;function pT(e){Tf=e}function hs(){if(void 0!==Tf)return Tf;if(typeof document<"u")return document;throw new Le(210,!1)}const Qa=new Lt("",{providedIn:"root",factory:()=>gT}),gT="ng",_f=new Lt(""),mT=new Lt("",{providedIn:"platform",factory:()=>"unknown"}),vT=new Lt(""),yT=new Lt("",{providedIn:"root",factory:()=>hs().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function CT(e){return e}function wT(){const e=new Zs;return e.store=function bT(e,t){const n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}(hs(),St(Qa)),e}let Zs=(()=>{class e{static \u0275prov=Zt({token:e,providedIn:"root",factory:wT});store={};onSerializeCallbacks={};get(n,r){return void 0!==this.store[n]?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(const n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();const Sf="h",If="b",Mf="f",Qm="n",vu="e",Af="t",tc="c",yu="x",Js="r",Rf="i",Eu="n",nc="d",Nf="di",Xa=new Lt(""),Ym=new Lt("",{providedIn:"root",factory:()=>!1}),xf=new Lt(""),Jm=!1,ev=new Lt(""),Pf=new Lt("",{providedIn:"root",factory:()=>new Map});var Ff=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Ff||{});const qa=new Lt(""),tv=new Set;function _o(e){tv.has(e)||(tv.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}let Cu=(()=>class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=TT})();function TT(){return new Cu(je(),Fn())}var Ya=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Ya||{});let Lf=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=Zt({token:e,providedIn:"root",factory:()=>new e})}return e})();const nv=[Ya.EarlyRead,Ya.Write,Ya.MixedReadWrite,Ya.Read];let rv=(()=>{class e{ngZone=St(xr);scheduler=St(Ns);errorHandler=St(fs,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){St(qa,{optional:!0})}execute(){const n=this.sequences.size>0;n&&hr(16),this.executing=!0;for(const r of nv)for(const i of this.sequences)if(!i.erroredOrDestroyed&&i.hooks[r])try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,i.hooks[r])(i.pipelinedValue),i.snapshot))}catch(o){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(const r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(const r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&hr(17)}register(n){const{view:r}=n;void 0!==r?((r[25]??=[]).push(n),Va(r),r[gt]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Ff.AFTER_NEXT_RENDER,n):n()}static \u0275prov=Zt({token:e,providedIn:"root",factory:()=>new e})}return e})();class iv{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,i,o,a=null){this.impl=t,this.hooks=n,this.view=r,this.once=i,this.snapshot=a,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();const t=this.view?.[25];t&&(this.view[25]=t.filter(n=>n!==this))}}function jf(e,t){!t?.injector&&Gs();const n=t?.injector??St(Vi);return _o("NgAfterRender"),ov(e,n,t,!1)}function Bf(e,t){!t?.injector&&Gs();const n=t?.injector??St(Vi);return _o("NgAfterNextRender"),ov(e,n,t,!0)}function ov(e,t,n,r){const i=t.get(Lf);i.impl??=t.get(rv);const o=t.get(qa,null,{optional:!0}),a=n?.phase??Ya.MixedReadWrite,f=!0!==n?.manualCleanup?t.get(Os):null,p=t.get(Cu,null,{optional:!0}),_=new iv(i.impl,function _T(e,t){if(e instanceof Function){const n=[void 0,void 0,void 0,void 0];return n[t]=e,n}return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e,a),p?.view,r,f,o?.snapshot(null));return i.impl.register(_),_}var ii=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(ii||{}),Sr=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(Sr||{}),av=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(av||{});function Tu(e,t){const n=function cv(e){let t=4;return 1===e?t=5:2===e&&(t=9),t}(e),r=t[n];if(null!==r){for(const i of r)i();t[n]=null}}function oc(e){return e+1}function lo(e,t){return e[oc(t.index)]}function Oi(e,t){const n=oc(t.index);return e.data[n]}function Uf(e,t){return t===Sr.Placeholder?e.placeholderBlockConfig?.[0]??null:t===Sr.Loading?e.loadingBlockConfig?.[0]??null:null}function dv(e,t){if(!e||0===e.length)return t;const n=new Set(e);for(const r of t)n.add(r);return e.length===n.size?e:Array.from(n)}const sc="ngb",LT=(e,t,n)=>{const r=e,i=r.__jsaction_fns??new Map,o=i.get(t)??[];o.push(n),i.set(t,o),r.__jsaction_fns=i},mv=(e,t)=>{const n=e;let r=n.getAttribute(sc)??"";const i=t.get(r)??new Set;i.has(n)||i.add(n),t.set(r,i)},vv=e=>{e.removeAttribute("jsaction"),e.removeAttribute(sc),e.__jsaction_fns=void 0},jT=new Lt("",{providedIn:"root",factory:()=>({})});function yv(e,t){const n=t?.__jsaction_fns?.get(e.type);if(n&&t?.isConnected)for(const r of n)r(e)}const Ps=new Lt(""),Gf="__nghData__",ac="ngh",UT="nghm";let Ev=()=>null;function $T(e,t,n=!1){let r=e.getAttribute(ac);if(null==r)return null;const[i,o]=r.split("|");if(r=n?o:i,!r)return null;const f=n?i:o?`|${o}`:"";let p={};if(""!==r){const R=t.get(Zs,null,{optional:!0});null!==R&&(p=R.get(Gf,[])[Number(r)])}const _={data:p,firstChild:e.firstChild??null};return n&&(_.firstChild=e,Au(_,0,e.nextSibling)),f?e.setAttribute(ac,f):e.removeAttribute(ac),_}function Dv(e,t,n=!1){return Ev(e,t,n)}function Cv(e){let t=e._lView;return 2===t[be].type?null:(Is(t)&&(t=t[Tt]),t)}function Au(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function Qf(e,t){return e.segmentHeads?.[t]??null}function Tv(e,t){return e.data[tc]?.[t]??null}function Xf(e,t){const n=Tv(e,t)??[];let r=0;for(let i of n)r+=i[Js]*(i[yu]??1);return r}function ya(e,t){if(typeof e.disconnectedNodes>"u"){const n=e.data[nc];e.disconnectedNodes=n?new Set(n):null}return!!function _v(e){if(typeof e.disconnectedNodes>"u"){const t=e.data[nc];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}(e)?.has(t)}function Yf(e){return!!e&&e.nodeType===Node.COMMENT_NODE&&e.textContent?.trim()===UT}function Mv(e){for(;e&&e.nodeType===Node.TEXT_NODE;)e=e.previousSibling;return e}function Av(e,t){const n=e.contentQueries;if(null!==n){const r=y(null);try{for(let i=0;i<n.length;i+=2){const a=n[i+1];if(-1!==a){const f=e.data[a];ru(n[i]),f.contentQueries(2,t[a],a)}}}finally{y(r)}}}function Zf(e,t,n){ru(0);const r=y(null);try{t(e,n)}finally{y(r)}}function Jf(e,t,n){if(Ji(t)){const r=y(null);try{const o=t.directiveEnd;for(let a=t.directiveStart;a<o;a++){const f=e.data[a];f.contentQueries&&f.contentQueries(1,n[a],a)}}finally{y(r)}}}var Fs=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Fs||{});let Ru,Ou;function Rv(){if(void 0===Ru&&(Ru=null,lt.trustedTypes))try{Ru=lt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ru}function ol(e){return Rv()?.createHTML(e)||e}function eh(){if(void 0===Ou&&(Ou=null,lt.trustedTypes))try{Ou=lt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ou}function Ov(e){return eh()?.createHTML(e)||e}function kv(e){return eh()?.createScriptURL(e)||e}class Ea{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ft})`}}class a_ extends Ea{getTypeName(){return"HTML"}}class l_ extends Ea{getTypeName(){return"Style"}}class c_ extends Ea{getTypeName(){return"Script"}}class u_ extends Ea{getTypeName(){return"URL"}}class d_ extends Ea{getTypeName(){return"ResourceURL"}}function Ls(e){return e instanceof Ea?e.changingThisBreaksApplicationSecurity:e}function sl(e,t){const n=function f_(e){return e instanceof Ea&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ft})`)}return n===t}function h_(e){return new a_(e)}function p_(e){return new l_(e)}function g_(e){return new c_(e)}function m_(e){return new u_(e)}function v_(e){return new d_(e)}class y_{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(ol(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}}class E_{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=ol(t),n}}const C_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Nu(e){return(e=String(e)).match(C_)?e:"unsafe:"+e}function js(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function dc(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Pv=js("area,br,col,hr,img,wbr"),Fv=js("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Lv=js("rp,rt"),th=dc(Pv,dc(Fv,js("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),dc(Lv,js("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),dc(Lv,Fv)),nh=js("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),jv=dc(nh,js("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),js("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),w_=js("script,style,template");class b_{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,i=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)i.push(n),n=S_(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let o=__(n);if(o){n=o;break}n=i.pop()}return this.buf.join("")}startElement(t){const n=Bv(t).toLowerCase();if(!th.hasOwnProperty(n))return this.sanitizedSomething=!0,!w_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const o=r.item(i),a=o.name,f=a.toLowerCase();if(!jv.hasOwnProperty(f)){this.sanitizedSomething=!0;continue}let p=o.value;nh[f]&&(p=Nu(p)),this.buf.push(" ",a,'="',$v(p),'"')}return this.buf.push(">"),!0}endElement(t){const n=Bv(t).toLowerCase();th.hasOwnProperty(n)&&!Pv.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push($v(t))}}function __(e){const t=e.nextSibling;if(t&&e!==t.previousSibling)throw Uv(t);return t}function S_(e){const t=e.firstChild;if(t&&function T_(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(e,t))throw Uv(t);return t}function Bv(e){const t=e.nodeName;return"string"==typeof t?t:"FORM"}function Uv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}const I_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,M_=/([^\#-~ |!])/g;function $v(e){return e.replace(/&/g,"&amp;").replace(I_,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(M_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let ku;function Vv(e,t){let n=null;try{ku=ku||function xv(e){const t=new E_(e);return function D_(){try{return!!(new window.DOMParser).parseFromString(ol(""),"text/html")}catch{return!1}}()?new y_(t):t}(e);let r=t?String(t):"";n=ku.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=ku.getInertBodyElement(r)}while(r!==o);return ol((new b_).sanitizeChildren(rh(n)||n))}finally{if(n){const r=rh(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function rh(e){return"content"in e&&function A_(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Da=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Da||{});function Hv(e){const t=fc();return t?Ov(t.sanitize(Da.HTML,e)||""):sl(e,"HTML")?Ov(Ls(e)):Vv(hs(),Jt(e))}function ih(e){const t=fc();return t?t.sanitize(Da.URL,e)||"":sl(e,"URL")?Ls(e):Nu(Jt(e))}function zv(e){const t=fc();if(t)return kv(t.sanitize(Da.RESOURCE_URL,e)||"");if(sl(e,"ResourceURL"))return kv(Ls(e));throw new Le(904,!1)}function Wv(e){return function s_(e){return Rv()?.createScriptURL(e)||e}(e[0])}function Gv(e,t,n){return function k_(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?zv:ih}(t,n)(e)}function fc(){const e=je();return e&&e[br].sanitizer}const x_=/^>|^->|<!--|-->|--!>|<!-$/g,P_=/(<|>)/g,F_="\u200b$1\u200b";function ps(e){return e instanceof Function?e():e}function K_(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}const ty="ng-template";function Q_(e,t,n,r){let i=0;if(r){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==K_(t[i+1].toLowerCase(),n,0))return!0}else if(ah(e))return!1;if(i=t.indexOf(1,i),i>-1){let o;for(;++i<t.length&&"string"==typeof(o=t[i]);)if(o.toLowerCase()===n)return!0}return!1}function ah(e){return 4===e.type&&e.value!==ty}function X_(e,t,n){return t===(4!==e.type||n?e.value:ty)}function q_(e,t,n){let r=4;const i=e.attrs,o=null!==i?function J_(e){for(let t=0;t<e.length;t++)if(Zg(e[t]))return t;return e.length}(i):0;let a=!1;for(let f=0;f<t.length;f++){const p=t[f];if("number"!=typeof p){if(!a)if(4&r){if(r=2|1&r,""!==p&&!X_(e,p,n)||""===p&&1===t.length){if(ns(r))return!1;a=!0}}else if(8&r){if(null===i||!Q_(e,i,p,n)){if(ns(r))return!1;a=!0}}else{const _=t[++f],R=Y_(p,i,ah(e),n);if(-1===R){if(ns(r))return!1;a=!0;continue}if(""!==_){let V;if(V=R>o?"":i[R+1].toLowerCase(),2&r&&_!==V){if(ns(r))return!1;a=!0}}}}else{if(!a&&!ns(r)&&!ns(p))return!1;if(a&&ns(p))continue;a=!1,r=p|1&r}}return ns(r)||a}function ns(e){return!(1&e)}function Y_(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let o=!1;for(;i<t.length;){const a=t[i];if(a===e)return i;if(3===a||6===a)o=!0;else{if(1===a||2===a){let f=t[++i];for(;"string"==typeof f;)f=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=o?1:2}return-1}return function eS(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function ny(e,t,n=!1){for(let r=0;r<t.length;r++)if(q_(e,t[r],n))return!0;return!1}function tS(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function ry(e,t){return e?":not("+t.trim()+")":t}function nS(e){let t=e[0],n=1,r=2,i="",o=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const f=e[++n];i+="["+a+(f.length>0?'="'+f+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""!==i&&!ns(a)&&(t+=ry(o,i),i=""),r=a,o=o||!ns(r);n++}return""!==i&&(t+=ry(o,i)),t}const Dn={};function lh(e,t){return e.createText(t)}function ch(e,t){return e.createComment(function Kv(e){return e.replace(x_,t=>t.replace(P_,F_))}(t))}function Fu(e,t,n){return e.createElement(t,n)}function Ca(e,t,n,r,i){e.insertBefore(t,n,r,i)}function oy(e,t,n){e.appendChild(t,n)}function sy(e,t,n,r,i){null!==r?Ca(e,t,n,r,i):oy(e,t,n)}function hc(e,t,n){e.removeChild(null,t,n)}function ay(e){e.textContent=""}function ly(e,t,n){const{mergedAttrs:r,classes:i,styles:o}=n;null!==r&&function pb(e,t,n){let r=0;for(;r<n.length;){const i=n[r];if("number"==typeof i){if(0!==i)break;r++;const o=n[r++],a=n[r++],f=n[r++];e.setAttribute(t,a,f,o)}else{const o=i,a=n[++r];Jg(o)?e.setProperty(t,o,a):e.setAttribute(t,o,a),r++}}}(e,t,r),null!==i&&function sS(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}(e,t,i),null!==o&&function oS(e,t,n){e.setAttribute(t,"style",n)}(e,t,o)}function uh(e,t,n,r,i,o,a,f,p,_,R){const V=Tt+r,J=V+i,q=function aS(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Dn);return n}(V,J),me="function"==typeof _?_():_;return q[be]={type:e,blueprint:q,template:n,queries:null,viewQuery:f,declTNode:t,data:q.slice().fill(null,V),bindingStartIndex:V,expandoStartIndex:J,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:p,consts:me,incompleteFirstPass:!1,ssrId:R}}function Lu(e,t,n,r,i,o,a,f,p,_,R){const V=t.blueprint.slice();return V[Je]=i,V[gt]=1228|r,(null!==_||e&&2048&e[gt])&&(V[gt]|=2048),Og(V),V[Pt]=V[ri]=e,V[fn]=n,V[br]=a||e&&e[br],V[Yt]=f||e&&e[Yt],V[Vn]=p||e&&e[Vn]||null,V[Ht]=o,V[_s]=function Xb(){return Qb++}(),V[kn]=R,V[$l]=_,V[cr]=2==t.type?e[cr]:V,V}function dh(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function pc(e,t,n,r){if(0===n)return-1;const i=t.length;for(let o=0;o<n;o++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function fh(e,t){return e[Ri]?e[ui][Ft]=t:e[Ri]=t,e[ui]=t,t}function uy(e=1){dy(hn(),je(),$i()+e,!1)}function dy(e,t,n,r){if(!r)if(3&~t[gt]){const o=e.preOrderHooks;null!==o&&ou(t,o,0,n)}else{const o=e.preOrderCheckHooks;null!==o&&iu(t,o,n)}ma(n)}var ju=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(ju||{});function hh(e,t,n,r){const i=y(null);try{const[o,a,f]=e.inputs[n];let p=null;!!(a&ju.SignalBased)&&(p=t[o][u]),null!==p&&void 0!==p.transformFn?r=p.transformFn(r):null!==f&&(r=f.call(t,r)),null!==e.setInput?e.setInput(t,p,r,n,o):Tg(t,p,o,r)}finally{y(i)}}function fy(e,t,n,r,i){const o=$i(),a=2&r;try{ma(-1),a&&t.length>Tt&&dy(e,t,Tt,!1),hr(a?2:0,i),n(r,i)}finally{ma(o),hr(a?3:1,i)}}function Bu(e,t,n){(function gS(e,t,n){const r=n.directiveStart,i=n.directiveEnd;eo(n)&&function lS(e,t,n){const r=oo(t,e),i=function cy(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=uh(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}(n),o=e[br].rendererFactory,a=fh(e,Lu(e,i,null,dh(n),r,t,null,o.createRenderer(r,n),null,null,null));e[t.index]=a}(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||au(n,t);const o=n.initialInputs;for(let a=r;a<i;a++){const f=e.data[a],p=Ql(t,e,a,n);To(p,t),null!==o&&yS(0,a-r,p,f,0,o),Po(f)&&(so(n.index,t)[fn]=Ql(t,e,a,n))}})(e,t,n),!(64&~n.flags)&&function mS(e,t,n){const r=n.directiveStart,i=n.directiveEnd,o=n.index,a=function ib(){return mn.lFrame.currentDirectiveIndex}();try{ma(o);for(let f=r;f<i;f++){const p=e.data[f],_=t[f];Yd(f),(null!==p.hostBindings||0!==p.hostVars||null!==p.hostAttrs)&&vS(p,_)}}finally{ma(-1),Yd(a)}}(e,t,n)}function ph(e,t,n=oo){const r=t.localNames;if(null!==r){let i=t.index+1;for(let o=0;o<r.length;o+=2){const a=r[o+1],f=-1===a?n(t,e):e[a];e[i++]=f}}}let Eh,hy=()=>null;function dS(e){Om(e)?ay(e):function zT(e){const t=hs(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(o){const a=function HT(e){return e.textContent?.replace(/\s/gm,"")}(o);return"ngetn"===a||"ngtns"===a?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let r;const i=[];for(;r=n.nextNode();)i.push(r);for(const o of i)"ngetn"===o.textContent?o.replaceWith(t.createTextNode("")):o.remove()}(e)}function So(e,t,n,r,i,o,a,f){if(f||!yh(t,e,n,r,i)){if(3&t.type){const p=oo(t,n);r=function hS(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),i=null!=a?a(i,t.value||"",r):i,o.setProperty(p,r,i)}}else eo(t)&&function pS(e,t){const n=so(t,e);16&n[gt]||(n[gt]|=64)}(n,t.index)}function vS(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function gh(e,t){const n=e.directiveRegistry;let r=null;if(n)for(let i=0;i<n.length;i++){const o=n[i];ny(t,o.selectors,!1)&&(r??=[],Po(o)?r.unshift(o):r.push(o))}return r}function gs(e,t,n,r,i,o){const a=oo(e,t);!function mh(e,t,n,r,i,o,a){if(null==o)e.removeAttribute(t,i,n);else{const f=null==a?Jt(o):a(o,r||"",i);e.setAttribute(t,i,f,n)}}(t[Yt],a,o,e.value,n,r,i)}function yS(e,t,n,r,i,o){const a=o[t];if(null!==a)for(let f=0;f<a.length;f+=2)hh(r,n,a[f],a[f+1])}function gy(e,t,n){return(null===e||Po(e))&&(n=function Bd(e){for(;Array.isArray(e);){if("object"==typeof e[wo])return e;e=e[Je]}return null}(n[t.index])),n[Yt]}function vh(e,t){const n=e[Vn],r=n?n.get(fs,null):null;r&&r.handleError(t)}function yh(e,t,n,r,i){const o=e.inputs?.[r],a=e.hostDirectiveInputs?.[r];let f=!1;if(a)for(let p=0;p<a.length;p+=2){const _=a[p];hh(t.data[_],n[_],a[p+1],i),f=!0}if(o)for(const p of o)hh(t.data[p],n[p],r,i),f=!0;return f}function ES(e,t){const n=so(t,e),r=n[be];!function DS(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const i=n[Je];null!==i&&null===n[kn]&&(n[kn]=Dv(i,n[Vn])),hr(18),Uu(r,n,n[fn]),hr(19,n[fn])}function Uu(e,t,n){ef(t);try{const r=e.viewQuery;null!==r&&Zf(1,r,n);const i=e.template;null!==i&&fy(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ui]?.finishViewCreation(e),e.staticContentQueries&&Av(e,t),e.staticViewQueries&&Zf(2,e.viewQuery,n);const o=e.components;null!==o&&function CS(e,t){for(let n=0;n<t.length;n++)ES(e,t[n])}(t,o)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[gt]&=-5,tf()}}function ll(e,t,n,r){const i=y(null);try{const o=t.tView,p=Lu(e,o,n,4096&e[gt]?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);p[Co]=e[t.index];const R=e[Ui];return null!==R&&(p[Ui]=R.createEmbeddedView(o)),Uu(o,p,n),p}finally{y(i)}}function wa(e,t){return!t||null===t.firstChild||Zl(e)}function Dh(e,t){return Eh(e,t)}var $u=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}($u||{});function ea(e){return!(32&~e.flags)}function cl(e,t,n,r,i){if(null!=r){let o,a=!1;Ar(r)?o=r:Pn(r)&&(a=!0,r=r[Je]);const f=Jn(r);0===e&&null!==n?null==i?oy(t,n,f):Ca(t,n,f,i||null,!0):1===e&&null!==n?Ca(t,n,f,i||null,!0):2===e?hc(t,f,a):3===e&&t.destroyNode(f),null!=o&&function MS(e,t,n,r,i){const o=n[Ci];o!==Jn(n)&&cl(t,e,r,o,i);for(let f=kr;f<n.length;f++){const p=n[f];Hu(p[be],p,e,t,r,o)}}(t,e,o,n,i)}}function vy(e,t){t[br].changeDetectionScheduler?.notify(9),Hu(e,t,t[Yt],2,null,null)}function Ch(e,t){const n=e[Ss],r=n.indexOf(t);n.splice(r,1)}function gc(e,t){if(Xs(t))return;const n=t[Yt];n.destroyNode&&Hu(e,t,n,3,null,null),function TS(e){let t=e[Ri];if(!t)return wh(e[be],e);for(;t;){let n=null;if(Pn(t))n=t[Ri];else{const r=t[kr];r&&(n=r)}if(!n){for(;t&&!t[Ft]&&t!==e;)Pn(t)&&wh(t[be],t),t=t[Pt];null===t&&(t=e),Pn(t)&&wh(t[be],t),n=t&&t[Ft]}t=n}}(t)}function wh(e,t){if(Xs(t))return;const n=y(null);try{t[gt]&=-129,t[gt]|=256,t[zt]&&he(t[zt]),function SS(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const i=t[n[r]];if(!(i instanceof Wl)){const o=n[r+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){const f=i[o[a]],p=o[a+1];hr(4,f,p);try{p.call(f)}finally{hr(5,f,p)}}else{hr(4,i,o);try{o.call(i)}finally{hr(5,i,o)}}}}}(e,t),function _S(e,t){const n=e.cleanup,r=t[Nr];if(null!==n)for(let a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){const f=n[a+3];f>=0?r[f]():r[-f].unsubscribe(),a+=2}else n[a].call(r[n[a+1]]);null!==r&&(t[Nr]=null);const i=t[es];if(null!==i){t[es]=null;for(let a=0;a<i.length;a++)(0,i[a])()}const o=t[Gt];if(null!==o){t[Gt]=null;for(const a of o)a.destroy()}}(e,t),1===t[be].type&&t[Yt].destroy();const r=t[Co];if(null!==r&&Ar(t[Pt])){r!==t[Pt]&&Ch(r,t);const i=t[Ui];null!==i&&i.detachView(e)}Df(t)}finally{y(n)}}function bh(e,t,n){return function yy(e,t,n){let r=t;for(;null!==r&&168&r.type;)r=(t=r).parent;if(null===r)return n[Je];if(eo(r)){const{encapsulation:i}=e.data[r.directiveStart+r.componentOffset];if(i===Fs.None||i===Fs.Emulated)return null}return oo(r,n)}(e,t.parent,n)}function Ey(e,t,n){return Cy(e,t,n)}let Th,Cy=function Dy(e,t,n){return 40&e.type?oo(e,n):null};function Vu(e,t,n,r){const i=bh(e,r,t),o=t[Yt],f=Ey(r.parent||t[Ht],r,t);if(null!=i)if(Array.isArray(n))for(let p=0;p<n.length;p++)sy(o,i,n[p],f,!1);else sy(o,i,n,f,!1);void 0!==Th&&Th(o,r,t,n,i)}function ba(e,t){if(null!==t){const n=t.type;if(3&n)return oo(t,e);if(4&n)return _h(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return ba(e,r);{const i=e[t.index];return Ar(i)?_h(-1,i):Jn(i)}}if(128&n)return ba(e,t.next);if(32&n)return Dh(t,e)()||Jn(e[t.index]);{const r=by(e,t);return null!==r?Array.isArray(r)?r[0]:ba(Ms(e[cr]),r):ba(e,t.next)}}return null}function by(e,t){return null!==t?e[cr][Ht].projection[t.projection]:null}function _h(e,t){const n=kr+e+1;if(n<t.length){const r=t[n],i=r[be].firstChild;if(null!==i)return ba(r,i)}return t[Ci]}function Sh(e,t,n,r,i,o,a){for(;null!=n;){if(128===n.type){n=n.next;continue}const f=r[n.index],p=n.type;if(a&&0===t&&(f&&To(Jn(f),r),n.flags|=2),!ea(n))if(8&p)Sh(e,t,n.child,r,i,o,!1),cl(t,e,i,f,o);else if(32&p){const _=Dh(n,r);let R;for(;R=_();)cl(t,e,i,R,o);cl(t,e,i,f,o)}else 16&p?Ty(e,t,r,n,i,o):cl(t,e,i,f,o);n=a?n.projectionNext:n.next}}function Hu(e,t,n,r,i,o){Sh(n,r,e.firstChild,t,i,o,!1)}function Ty(e,t,n,r,i,o){const a=n[cr],p=a[Ht].projection[r.projection];if(Array.isArray(p))for(let _=0;_<p.length;_++)cl(t,e,i,p[_],o);else{let _=p;const R=a[Pt];Zl(r)&&(_.flags|=128),Sh(e,t,_,R,i,o,!0)}}function ul(e,t,n,r,i=!1){for(;null!==n;){if(128===n.type){n=i?n.projectionNext:n.next;continue}const o=t[n.index];null!==o&&r.push(Jn(o)),Ar(o)&&Ih(o,r);const a=n.type;if(8&a)ul(e,t,n.child,r);else if(32&a){const f=Dh(n,t);let p;for(;p=f();)r.push(p)}else if(16&a){const f=by(t,n);if(Array.isArray(f))r.push(...f);else{const p=Ms(t[cr]);ul(p[be],p,f,r,!0)}}n=i?n.projectionNext:n.next}return r}function Ih(e,t){for(let n=kr;n<e.length;n++){const r=e[n],i=r[be].firstChild;null!==i&&ul(r[be],r,i,t)}e[Ci]!==e[Je]&&t.push(e[Ci])}function _y(e){if(null!==e[25]){for(const t of e[25])t.impl.addSequence(t);e[25].length=0}}let Sy=[];const kS={...ie,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Va(e.lView)},consumerOnSignalRead(){this.lView[zt]=this}},PS={...ie,consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ms(e.lView);for(;t&&!Iy(t[be]);)t=Ms(t);t&&$d(t)},consumerOnSignalRead(){this.lView[zt]=this}};function Iy(e){return 2!==e.type}function My(e){if(null===e[Gt])return;let t=!0;for(;t;){let n=!1;for(const r of e[Gt])r.dirty&&(n=!0,null===r.zone||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(8192&e[gt])}}function zu(e,t=!0,n=0){const i=e[br].rendererFactory;i.begin?.();try{!function LS(e,t){const n=jg();try{nu(!0),Mh(e,t);let r=0;for(;Vl(e);){if(100===r)throw new Le(103,!1);r++,Mh(e,1)}}finally{nu(n)}}(e,n)}catch(a){throw t&&vh(e,a),a}finally{i.end?.()}}function Ry(e,t,n,r){if(Xs(t))return;const i=t[gt];ef(t);let f=!0,p=null,_=null;Iy(e)?(_=function RS(e){return e[zt]??function OS(e){const t=Sy.pop()??Object.create(kS);return t.lView=e,t}(e)}(t),p=nt(_)):null===function j(){return z}()?(f=!1,_=function xS(e){const t=e[zt]??Object.create(PS);return t.lView=e,t}(t),p=nt(_)):t[zt]&&(he(t[zt]),t[zt]=null);try{Og(t),function Bg(e){return mn.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&fy(e,t,n,2,r);const R=!(3&~i);if(R){const q=e.preOrderCheckHooks;null!==q&&iu(t,q,null)}else{const q=e.preOrderHooks;null!==q&&ou(t,q,0,null),rf(t,0)}if(function jS(e){for(let t=Bm(e);null!==t;t=Um(t)){if(!(2&t[gt]))continue;const n=t[Ss];for(let r=0;r<n.length;r++)$d(n[r])}}(t),My(t),Oy(t,0),null!==e.contentQueries&&Av(e,t),R){const q=e.contentCheckHooks;null!==q&&iu(t,q)}else{const q=e.contentHooks;null!==q&&ou(t,q,1),rf(t,1)}!function US(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)ma(~i);else{const o=i,a=n[++r],f=n[++r];rb(a,o);const p=t[o];hr(24,p),f(2,p),hr(25,p)}}}finally{ma(-1)}}(e,t);const V=e.components;null!==V&&ky(t,V,0);const J=e.viewQuery;if(null!==J&&Zf(2,J,r),R){const q=e.viewCheckHooks;null!==q&&iu(t,q)}else{const q=e.viewHooks;null!==q&&ou(t,q,2),rf(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[22]){for(const q of t[22])q();t[22]=null}_y(t),t[gt]&=-73}catch(R){throw Va(t),R}finally{null!==_&&(ze(_,p),f&&function NS(e){e.lView[zt]!==e&&(e.lView=null,Sy.push(e))}(_)),tf()}}function Oy(e,t){for(let n=Bm(e);null!==n;n=Um(n))for(let r=kr;r<n.length;r++)Ny(n[r],t)}function BS(e,t,n){hr(18);const r=so(t,e);Ny(r,n),hr(19,r[fn])}function Ny(e,t){Ud(e)&&Mh(e,t)}function Mh(e,t){const r=e[be],i=e[gt],o=e[zt];let a=!!(0===t&&16&i);if(a||=!!(64&i&&0===t),a||=!!(1024&i),a||=!(!o?.dirty||!Qe(o)),a||=!1,o&&(o.dirty=!1),e[gt]&=-9217,a)Ry(r,e,r.template,e[fn]);else if(8192&i){My(e),Oy(e,1);const f=r.components;null!==f&&ky(e,f,1),_y(e)}}function ky(e,t,n){for(let r=0;r<t.length;r++)BS(e,t[r],n)}function mc(e,t){const n=jg()?64:1088;for(e[br].changeDetectionScheduler?.notify(t);e;){e[gt]|=n;const r=Ms(e);if(Is(e)&&!r)return e;e=r}return null}function xy(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function dl(e,t,n,r=!0){const i=t[be];if(function $S(e,t,n,r){const i=kr+r,o=n.length;r>0&&(n[i-1][Ft]=t),r<o-kr?(t[Ft]=n[i],La(n,kr+r,t)):(n.push(t),t[Ft]=null),t[Pt]=n;const a=t[Co];null!==a&&n!==a&&Fy(a,t);const f=t[Ui];null!==f&&f.insertView(e),Vd(t),t[gt]|=128}(i,t,e,n),r){const a=_h(n,e),f=t[Yt],p=f.parentNode(e[Ci]);null!==p&&function bS(e,t,n,r,i,o){r[Je]=i,r[Ht]=t,Hu(e,r,n,1,i,o)}(i,e[Ht],f,t,p,a)}const o=t[kn];null!==o&&null!==o.firstChild&&(o.firstChild=null)}function Ah(e,t){const n=vc(e,t);return void 0!==n&&gc(n[be],n),n}function vc(e,t){if(e.length<=kr)return;const n=kr+t,r=e[n];if(r){const i=r[Co];null!==i&&i!==e&&Ch(i,r),t>0&&(e[n-1][Ft]=r[Ft]);const o=Hs(e,kr+t);!function my(e,t){vy(e,t),t[Je]=null,t[Ht]=null}(r[be],r);const a=o[Ui];null!==a&&a.detachView(o[be]),r[Pt]=null,r[Ft]=null,r[gt]&=-129}return r}function Fy(e,t){const n=e[Ss],r=t[Pt];(Pn(r)||t[cr]!==r[Pt][cr])&&(e[gt]|=2),null===n?e[Ss]=[t]:n.push(t)}let yc=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){const t=this._lView,n=t[be];return ul(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[fn]}set context(t){this._lView[fn]=t}get destroyed(){return Xs(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Pt];if(Ar(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(vc(t,r),Hs(n,r))}this._attachedToViewContainer=!1}gc(this._lView[be],this._lView)}onDestroy(t){eu(this._lView,t)}markForCheck(){mc(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[gt]&=-129}reattach(){Vd(this._lView),this._lView[gt]|=128}detectChanges(){this._lView[gt]|=1024,zu(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Le(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const t=Is(this._lView),n=this._lView[Co];null!==n&&!t&&Ch(n,this._lView),vy(this._lView[be],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Le(902,!1);this._appRef=t;const n=Is(this._lView),r=this._lView[Co];null!==r&&!n&&Fy(r,this._lView),Vd(this._lView)}},Ec=(()=>class e{static __NG_ELEMENT_ID__=zS})();const VS=Ec,HS=class extends VS{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){const i=ll(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new yc(i)}};function zS(){return Wu(Fn(),je())}function Wu(e,t){return 4&e.type?new HS(t,e,Ga(e,t)):null}function fl(e,t,n,r,i){let o=e.data[t];if(null===o)o=function kh(e,t,n,r,i){const o=Pg(),a=Xd(),p=e.data[t]=function eI(e,t,n,r,i,o){let a=t?t.injectorIndex:-1,f=0;return ga()&&(f|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:f,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a?o:o&&o.parent,n,t,r,i);return function JS(e,t,n,r){null===e.firstChild&&(e.firstChild=t),null!==n&&(r?null==n.child&&null!==t.parent&&(n.child=t):null===n.next&&(n.next=t,t.prev=n))}(e,p,o,a),p}(e,t,n,r,i),function nb(){return mn.lFrame.inI18n}()&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=r,o.attrs=i;const a=function Hl(){const e=mn.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();o.injectorIndex=null===a?-1:a.injectorIndex}return ts(o,!0),o}const uI=new RegExp(`^(\\d+)*(${If}|${Sf})*(.*)`);function Ph(e){return e.index-Tt}function _c(e,t,n,r){const i=Ph(r);let o=function Qy(e,t){const n=e.i18nNodes;if(n)return n.get(t)}(e,i);if(void 0===o){const a=e.data[Eu];if(a?.[i])o=function Xy(e,t){const[n,...r]=function fI(e){const t=e.match(uI),[n,r,i,o]=t,a=r?parseInt(r,10):i,f=[];for(const[p,_,R]of o.matchAll(/(f|n)(\d*)/g)){const V=parseInt(R,10)||1;f.push(_,V)}return[a,...f]}(e);let i;i=n===Sf?t[cr][Je]:n===If?function Yv(e){return e.ownerDocument.body}(t[cr][Je]):Jn(t[Number(n)+Tt]);return function gI(e,t){let n=e;for(let r=0;r<t.length;r+=2){const i=t[r],o=t[r+1];for(let a=0;a<o;a++)switch(i){case Mf:n=n.firstChild;break;case Qm:n=n.nextSibling}}return n}(i,r)}(a[i],n);else if(t.firstChild===r)o=e.firstChild;else{const f=null===r.prev,p=r.prev??r.parent;if(function hI(e){return!e.prev&&8===e.parent?.type}(r))o=Qf(e,Ph(r.parent));else{let _=oo(p,n);if(f)o=_.firstChild;else{const R=Ph(p),V=Qf(e,R);o=2===p.type&&V?Xu(Xf(e,R)+1,V):_.nextSibling}}}}return o}function Xu(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}let Yy=!1;function xI(e,t,n){for(const r of n.node.cases[n.case]){const i=t.get(r.index-Tt);i&&hc(e,i,!1)}}function tE(e){const t=e[Ur]??[],r=e[Pt][Yt],i=[];for(const o of t)void 0!==o.data[Nf]?i.push(o):nE(o,r);e[Ur]=i}function PI(e){const{lContainer:t}=e,n=t[Ur];if(null===n)return;const i=t[Pt][Yt];for(const o of n)nE(o,i)}function nE(e,t){let n=0,r=e.firstChild;if(r){const i=e.data[Js];for(;n<i;){const o=r.nextSibling;hc(t,r,!1),r=o,n++}}}function qu(e){tE(e);const t=e[Je];Pn(t)&&Yu(t);for(let n=kr;n<e.length;n++)Yu(e[n])}function Yu(e){!function kI(e){const t=e[kn];if(t){const{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){const i=e[Yt];for(const o of r.values())xI(i,n,o)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}(e);const t=e[be];for(let n=Tt;n<t.bindingStartIndex;n++)Ar(e[n])?qu(e[n]):Pn(e[n])&&Yu(e[n])}function rE(e){const t=e._views;for(const n of t){const r=Cv(n);null!==r&&null!==r[Je]&&(Pn(r)?Yu(r):qu(r))}}let iE=()=>null;function jI(e,t){const n=e[Ur];return t&&null!==n&&0!==n.length?n[0].data[Rf]===t?n.shift():(tE(e),null):null}function pl(e,t){return iE(e,t)}let UI=class{},oE=class{};class $I{resolveComponentFactory(t){throw Error(`No component factory found for ${dr(t)}.`)}}let Ic=class{static NULL=new $I};class $h{}let VI=(()=>class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>function HI(){const e=je(),n=so(Fn().index,e);return(Pn(n)?n:e)[Yt]}()})(),zI=(()=>{class e{static \u0275prov=Zt({token:e,providedIn:"root",factory:()=>null})}return e})();function _a(e){return!!Zn(e)}const Hh={};class gl{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=wr(r);const i=this.injector.get(t,Hh,r);return i!==Hh||n===Hh?i:this.parentInjector.get(t,n,r)}}function zh(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(let a=0;a<t.length;a++){const f=t[a];"number"==typeof f?o=f:1==o?i=Ro(i,f):2==o&&(r=Ro(r,f+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function ml(e,t=_n.Default){const n=je();return null===n?xt(e,t):sm(Fn(),n,qt(e),t)}function aE(){throw new Error("invalid")}function Wh(e,t,n,r,i){const o=null===r?null:{"":-1},a=i(e,n);if(null!==a){let f,p=null,_=null;const R=function XI(e){let t=null,n=!1;for(let a=0;a<e.length;a++){const f=e[a];if(0===a&&Po(f)&&(t=f),null!==f.findHostDirectiveDefs){n=!0;break}}if(!n)return null;let r=null,i=null,o=null;for(const a of e)null!==a.findHostDirectiveDefs&&(r??=[],i??=new Map,o??=new Map,qI(a,r,o,i)),a===t&&(r??=[],r.push(a));return null!==r?(r.push(...null===t?e:e.slice(1)),[r,i,o]):null}(a);null===R?f=a:[f,p,_]=R,function ZI(e,t,n,r,i,o,a){const f=r.length;let p=!1;for(let J=0;J<f;J++){const q=r[J];!p&&Po(q)&&(p=!0,YI(e,n,J)),df(au(n,t),e,q.type)}!function iM(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,f);for(let J=0;J<f;J++){const q=r[J];q.providersResolver&&q.providersResolver(q)}let _=!1,R=!1,V=pc(e,t,f,null);f>0&&(n.directiveToIndex=new Map);for(let J=0;J<f;J++){const q=r[J];if(n.mergedAttrs=za(n.mergedAttrs,q.hostAttrs),eM(e,n,t,V,q),rM(V,q,i),null!==a&&a.has(q)){const[Be,mt]=a.get(q);n.directiveToIndex.set(q.type,[V,Be+n.directiveStart,mt+n.directiveStart])}else(null===o||!o.has(q))&&n.directiveToIndex.set(q.type,V);null!==q.contentQueries&&(n.flags|=4),(null!==q.hostBindings||null!==q.hostAttrs||0!==q.hostVars)&&(n.flags|=64);const me=q.type.prototype;!_&&(me.ngOnChanges||me.ngOnInit||me.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),_=!0),!R&&(me.ngOnChanges||me.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),R=!0),V++}!function JI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){const i=e.data[r];if(null!==n&&n.has(i)){const o=n.get(i);cE(0,t,o,r),cE(1,t,o,r),dE(t,r,!0)}else lE(0,t,i,r),lE(1,t,i,r),dE(t,r,!1)}}(e,n,o)}(e,t,n,f,o,p,_)}null!==o&&null!==r&&function QI(e,t,n){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const o=n[t[i+1]];if(null==o)throw new Le(-301,!1);r.push(t[i],o)}}(n,r,o)}function qI(e,t,n,r){const i=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[i,t.length-1])}function YI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function lE(e,t,n,r){const i=0===e?n.inputs:n.outputs;for(const o in i)if(i.hasOwnProperty(o)){let a;a=0===e?t.inputs??={}:t.outputs??={},a[o]??=[],a[o].push(r),uE(t,o)}}function cE(e,t,n,r){const i=0===e?n.inputs:n.outputs;for(const o in i)if(i.hasOwnProperty(o)){const a=i[o];let f;f=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},f[a]??=[],f[a].push(r,o),uE(t,a)}}function uE(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function dE(e,t,n){const{attrs:r,inputs:i,hostDirectiveInputs:o}=e;if(null===r||!n&&null===i||n&&null===o||ah(e))return e.initialInputs??=[],void e.initialInputs.push(null);let a=null,f=0;for(;f<r.length;){const p=r[f];if(0!==p)if(5!==p){if("number"==typeof p)break;if(!n&&i.hasOwnProperty(p)){const _=i[p];for(const R of _)if(R===t){a??=[],a.push(p,r[f+1]);break}}else if(n&&o.hasOwnProperty(p)){const _=o[p];for(let R=0;R<_.length;R+=2)if(_[R]===t){a??=[],a.push(_[R+1],r[f+1]);break}}f+=2}else f+=2;else f+=4}e.initialInputs??=[],e.initialInputs.push(a)}function eM(e,t,n,r,i){e.data[r]=i;const o=i.factory||(i.factory=xo(i.type)),a=new Wl(o,Po(i),ml);e.blueprint[r]=a,n[r]=a,function tM(e,t,n,r,i){const o=i.hostBindings;if(o){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const f=~t.index;(function nM(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=f&&a.push(f),a.push(n,r,o)}}(e,t,r,pc(e,n,i.hostVars,Dn),i)}function rM(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Po(t)&&(n[""]=e)}}function fE(e,t,n,r,i,o,a,f){const p=t.consts,R=fl(t,e,2,r,Ko(p,a));return o&&Wh(t,n,R,Ko(p,f),i),R.mergedAttrs=za(R.mergedAttrs,R.attrs),null!==R.attrs&&zh(R,R.attrs,!1),null!==R.mergedAttrs&&zh(R,R.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,R),R}function hE(e,t){nf(e,t),Ji(t)&&e.queries.elementEnd(t)}class pE extends Ic{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=m(t);return new Rc(n,this.ngModule)}}class Rc extends oE{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function oM(e){return Object.keys(e).map(t=>{const[n,r,i]=e[t],o={propName:n,templateName:t,isSignal:!!(r&ju.SignalBased)};return i&&(o.transform=i),o})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function sM(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function rS(e){return e.map(nS).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,i){hr(22);const o=y(null);try{const a=this.componentDef,f=r?["ng-version","19.2.5"]:function iS(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!ns(i))break;i=o}r++}return n.length&&t.push(1,...n),t}(this.componentDef.selectors[0]),p=uh(0,null,null,1,0,null,null,null,null,[f],null),_=function aM(e,t,n){let r=t instanceof Do?t:t?.injector;return r&&null!==e.getStandaloneInjector&&(r=e.getStandaloneInjector(r)||r),r?new gl(n,r):n}(a,i||this.ngModule,t),R=function lM(e){const t=e.get($h,null);if(null===t)throw new Le(407,!1);return{rendererFactory:t,sanitizer:e.get(zI,null),changeDetectionScheduler:e.get(Ns,null)}}(_),V=R.rendererFactory.createRenderer(null,a),J=r?function cS(e,t,n,r){const o=r.get(Ym,!1)||n===Fs.ShadowDom,a=e.selectRootElement(t,o);return function uS(e){hy(e)}(a),a}(V,r,a.encapsulation,_):function cM(e,t){const n=(e.selectors[0][0]||"div").toLowerCase();return Fu(t,n,"svg"===n?Ag:"math"===n?"math":null)}(a,V),q=Lu(null,p,null,512|dh(a),null,null,R,V,_,null,Dv(J,_,!0));q[Tt]=J,ef(q);let me=null;try{const Be=fE(Tt,p,q,"#host",()=>[this.componentDef],!0,0);J&&(ly(V,J,Be),To(J,q)),Bu(p,q,Be),Jf(p,Be,q),hE(p,Be),void 0!==n&&function dM(e,t,n){const r=e.projection=[];for(let i=0;i<t.length;i++){const o=n[i];r.push(null!=o&&o.length?Array.from(o):null)}}(Be,this.ngContentSelectors,n),me=so(Be.index,q),q[fn]=me[fn],Uu(p,q,null)}catch(Be){throw null!==me&&Df(me),Df(q),Be}finally{hr(23),tf()}return new uM(this.componentType,q)}finally{y(o)}}}class uM extends UI{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=ha(n[be],Tt),this.location=Ga(this._tNode,n),this.instance=so(this._tNode.index,n)[fn],this.hostView=this.changeDetectorRef=new yc(n,void 0,!1),this.componentType=t}setInput(t,n){const r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const i=this._rootLView;yh(r,i[be],i,t,n),this.previousInputValues.set(t,n),mc(so(r.index,i),1)}get injector(){return new qr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}let Ju=(()=>class e{static __NG_ELEMENT_ID__=fM})();function fM(){return vE(Fn(),je())}const hM=Ju,gE=class extends hM{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ga(this._hostTNode,this._hostLView)}get injector(){return new qr(this._hostTNode,this._hostLView)}get parentInjector(){const t=lu(this._hostTNode,this._hostLView);if(lf(t)){const n=Kl(t,this._hostLView),r=Gl(t);return new qr(n[be].data[r+8],n)}return new qr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=mE(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-kr}createEmbeddedView(t,n,r){let i,o;"number"==typeof r?i=r:null!=r&&(i=r.index,o=r.injector);const a=pl(this._lContainer,t.ssrId),f=t.createEmbeddedViewImpl(n||{},o,a);return this.insertImpl(f,i,wa(this._hostTNode,a)),f}createComponent(t,n,r,i,o){const a=t&&!function d(e){return"function"==typeof e}(t);let f;if(a)f=n;else{const me=n||{};f=me.index,r=me.injector,i=me.projectableNodes,o=me.environmentInjector||me.ngModuleRef}const p=a?t:new Rc(m(t)),_=r||this.parentInjector;if(!o&&null==p.ngModule){const Be=(a?_:this.parentInjector).get(Do,null);Be&&(o=Be)}const R=m(p.componentType??{}),V=pl(this._lContainer,R?.id??null),q=p.create(_,i,V?.firstChild??null,o);return this.insertImpl(q.hostView,f,wa(this._hostTNode,V)),q}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){const i=t._lView;if(function Gw(e){return Ar(e[Pt])}(i)){const f=this.indexOf(t);if(-1!==f)this.detach(f);else{const p=i[Pt],_=new gE(p,p[Ht],p[Pt]);_.detach(_.indexOf(t))}}const o=this._adjustIndex(n),a=this._lContainer;return dl(a,i,o,r),t.attachToViewContainerRef(),La(Gh(a),o,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=mE(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=vc(this._lContainer,n);r&&(Hs(Gh(this._lContainer),n),gc(r[be],r))}detach(t){const n=this._adjustIndex(t,-1),r=vc(this._lContainer,n);return r&&null!=Hs(Gh(this._lContainer),n)?new yc(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function mE(e){return e[8]}function Gh(e){return e[8]||(e[8]=[])}function vE(e,t){let n;const r=t[e.index];return Ar(r)?n=r:(n=xy(r,t,null,e),t[e.index]=n,fh(t,n)),yE(n,t,e,r),new gE(n,e,t)}let yE=DE,Kh=()=>!1;function DE(e,t,n,r){if(e[Ci])return;let i;i=8&n.type?Jn(r):function pM(e,t){const n=e[Yt],r=n.createComment(""),i=oo(t,e),o=n.parentNode(i);return Ca(n,o,r,n.nextSibling(i),!1),r}(t,n),e[Ci]=i}function gM(e,t,n){if(e[Ci]&&e[Ur])return!0;const r=n[kn],i=t.index-Tt;if(!r||function Jl(e){if(Zl(e))return!0;let t=e.parent;for(;t;){if(Zl(e)||Ef(t))return!0;t=t.parent}return!1}(t)||ya(r,i))return!1;const a=Qf(r,i),f=r.data[tc]?.[i],[p,_]=function LI(e,t){const n=[];for(const r of t)for(let i=0;i<(r[yu]??1);i++){const o={data:r,firstChild:null};r[Js]>0&&(o.firstChild=e,e=Xu(r[Js],e)),n.push(o)}return[e,n]}(a,f);return e[Ci]=p,e[Ur]=_,!0}function mM(e,t,n,r){Kh(e,n,t)||DE(e,t,n,r)}class Qh{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new Qh(this.queryList)}setDirty(){this.queryList.setDirty()}}class Xh{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let o=0;o<r;o++){const a=n.getByIndex(o);i.push(this.queries[a.indexInDeclarationView].clone())}return new Xh(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==ep(t,n).matches&&this.queries[n].setDirty()}}class CE{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,this.predicate="string"==typeof t?function wM(e){return e.split(",").map(t=>t.trim())}(t):t}}class qh{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new qh(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Yh{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Yh(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1&~this.metadata.flags){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const o=r[i];this.matchTNodeWithReadOption(t,n,yM(n,o)),this.matchTNodeWithReadOption(t,n,cu(n,t,o,!1,!1))}else r===Ec?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,cu(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===ql||i===Ju||i===Ec&&4&n.type)this.addMatch(n.index,-2);else{const o=cu(n,t,i,!1,!1);null!==o&&this.addMatch(n.index,o)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function yM(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function DM(e,t,n,r){return-1===n?function EM(e,t){return 11&e.type?Ga(e,t):4&e.type?Wu(e,t):null}(t,e):-2===n?function CM(e,t,n){return n===ql?Ga(t,e):n===Ec?Wu(t,e):n===Ju?vE(t,e):void 0}(e,t,r):Ql(e,e[be],n,t)}function wE(e,t,n,r){const i=t[Ui].queries[r];if(null===i.matches){const o=e.data,a=n.matches,f=[];for(let p=0;null!==a&&p<a.length;p+=2){const _=a[p];f.push(_<0?null:DM(t,o[_],a[p+1],n.metadata.read))}i.matches=f}return i.matches}function Zh(e,t,n,r){const i=e.queries.getByIndex(n),o=i.matches;if(null!==o){const a=wE(e,t,i,n);for(let f=0;f<o.length;f+=2){const p=o[f];if(p>0)r.push(a[f/2]);else{const _=o[f+1],R=t[-p];for(let V=kr;V<R.length;V++){const J=R[V];J[Co]===J[Pt]&&Zh(J[be],J,_,r)}if(null!==R[Ss]){const V=R[Ss];for(let J=0;J<V.length;J++){const q=V[J];Zh(q[be],q,_,r)}}}}}return r}function bE(e,t,n){const r=new Gb(!(4&~n));return function Kw(e,t,n,r){const i=zd(t);i.push(n),e.firstCreatePass&&Wd(e).push(r,i.length-1)}(e,t,r,r.destroy),(t[Ui]??=new Xh).queries.push(new Qh(r))-1}function SE(e,t,n){null===e.queries&&(e.queries=new qh),e.queries.track(new Yh(t,n))}function ep(e,t){return e.queries.getByIndex(t)}function IE(e,t){const n=e[be],r=ep(n,t);return r.crossesNgTemplate?Zh(n,e,t,[]):wE(n,e,r,t)}let Sa=class{},jE=class{};function kM(e,t){return new rp(e,t??null,[])}class rp extends Sa{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new pE(this);constructor(t,n,r,i=!0){super(),this.ngModuleType=t,this._parent=n;const o=Zn(t);this._bootstrapComponents=ps(o.bootstrap),this._r3Injector=vm(t,n,[{provide:Sa,useValue:this},{provide:Ic,useValue:this.componentFactoryResolver},...r],dr(t),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ip extends jE{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new rp(this.moduleType,t,[])}}class BE extends Sa{injector;componentFactoryResolver=new pE(this);instance=null;constructor(t){super();const n=new bs([...t.providers,{provide:Sa,useValue:this},{provide:Ic,useValue:this.componentFactoryResolver}],t.parent||Ua(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function op(e,t,n=null){return new BE({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let PM=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Ce(0,n.type),i=r.length>0?op([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=Zt({token:e,providedIn:"environment",factory:()=>new e(xt(Do))})}return e})();function UE(e){return rr(()=>{const t=HE(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===pu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?i=>i.get(PM).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Fs.Emulated,styles:e.styles||Wn,_:null,schemas:e.schemas||null,tView:null,id:""};t.standalone&&_o("NgStandalone"),zE(n);const r=e.dependencies;return n.directiveDefs=ed(r,!1),n.pipeDefs=ed(r,!0),n.id=function $M(e){let t=0;const r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,"function"==typeof e.consts?"":e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(const o of r.join("|"))t=Math.imul(31,t)+o.charCodeAt(0)|0;return t+=2147483648,"c"+t}(n),n})}function FM(e){return m(e)||C(e)}function LM(e){return null!==e}function sp(e){return rr(()=>({type:e.type,bootstrap:e.bootstrap||Wn,declarations:e.declarations||Wn,imports:e.imports||Wn,exports:e.exports||Wn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function jM(e,t){if(null==e)return io;const n={};for(const r in e)if(e.hasOwnProperty(r)){const i=e[r];let o,a,f,p;Array.isArray(i)?(f=i[0],o=i[1],a=i[2]??o,p=i[3]||null):(o=i,a=i,f=ju.None,p=null),n[o]=[r,f,p],t[o]=a}return n}function BM(e){if(null==e)return io;const t={};for(const n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function $E(e){return rr(()=>{const t=HE(e);return zE(t),t})}function VE(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function HE(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||io,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||Wn,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:jM(e.inputs,t),outputs:BM(e.outputs),debugInfo:null}}function zE(e){e.features?.forEach(t=>t(e))}function ed(e,t){if(!e)return null;const n=t?v:FM;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(LM)}function ap(e){let t=function WE(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let i;if(Po(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Le(903,!1);i=t.\u0275dir}if(i){if(n){r.push(i);const a=e;a.inputs=lp(e.inputs),a.declaredInputs=lp(e.declaredInputs),a.outputs=lp(e.outputs);const f=i.hostBindings;f&&GM(e,f);const p=i.viewQuery,_=i.contentQueries;if(p&&zM(e,p),_&&WM(e,_),VM(e,i),hi(e.outputs,i.outputs),Po(i)&&i.data.animation){const R=e.data;R.animation=(R.animation||[]).concat(i.data.animation)}}const o=i.features;if(o)for(let a=0;a<o.length;a++){const f=o[a];f&&f.ngInherit&&f(e),f===ap&&(n=!1)}}t=Object.getPrototypeOf(t)}!function HM(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=za(i.hostAttrs,n=za(n,i.hostAttrs))}}(r)}function VM(e,t){for(const n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;const r=t.inputs[n];void 0!==r&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function lp(e){return e===io?{}:e===Wn?[]:e}function zM(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function WM(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,o)=>{t(r,i,o),n(r,i,o)}:t}function GM(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}function td(e){return!!up(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function up(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ms(e,t,n){return e[t]=n}function Yr(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Ia(e,t,n,r){const i=Yr(e,t,n);return Yr(e,t+1,r)||i}function kc(e,t,n,r,i,o,a,f,p,_){const R=n+Tt,V=t.firstCreatePass?function t1(e,t,n,r,i,o,a,f,p){const _=t.consts,R=fl(t,e,4,a||null,f||null);Qd()&&Wh(t,n,R,Ko(_,p),gh),R.mergedAttrs=za(R.mergedAttrs,R.attrs),nf(t,R);const V=R.tView=uh(2,R,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,_,null);return null!==t.queries&&(t.queries.template(t,R),V.queries=t.queries.embeddedTView(R)),R}(R,t,e,r,i,o,a,f,p):t.data[R];ts(V,!1);const J=qE(t,e,V,n);zl()&&Vu(t,e,J,V),To(J,e);const q=xy(J,e,J,V);return e[R]=q,fh(e,q),function EE(e,t,n){return Kh(e,t,n)}(q,V,e),Qs(V)&&Bu(t,e,V),null!=p&&ph(e,V,_),V}function dp(e,t,n,r,i,o,a,f){const p=je(),_=hn();return kc(p,_,e,t,n,r,i,Ko(_.consts,o),a,f),dp}let qE=YE;function YE(e,t,n,r){return us(!0),t[Yt].createComment("")}function n1(e,t,n,r){const i=t[kn],o=!i||ga()||ea(n)||ya(i,r);if(us(o),o)return YE(0,t);const a=i.data[Af]?.[r]??null;null!==a&&null!==n.tView&&null===n.tView.ssrId&&(n.tView.ssrId=a);const f=_c(i,e,t,n);return Au(i,r,f),Xu(Xf(i,r),f)}let l1=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,i,o){if(!this.cachedInjectors.has(n)){const a=i.length>0?op(i,r,o):null;this.cachedInjectors.set(n,a)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=Zt({token:e,providedIn:"environment",factory:()=>new e})}return e})();const c1=new Lt("");function fp(e,t,n){return e.get(l1).getOrCreateInjector(t,e,n,"")}function na(e,t,n,r=!1){const i=n[Pt],o=i[be];if(Xs(i))return;const a=lo(i,t),p=a[7];if(!(null!==p&&e<p)&&tD(a[1],e)&&tD(a[0]??-1,e)){const _=Oi(o,t),V=r||null===function uv(e){return e.loadingBlockConfig?.[1]??null}(_)&&null===Uf(_,Sr.Loading)&&!Uf(_,Sr.Placeholder)?JE:hp;try{V(e,a,n,t,i)}catch(J){vh(i,J)}}}function JE(e,t,n,r,i){hr(20);const o=function NT(e,t,n){const i=Oi(t[be],n);switch(e){case Sr.Complete:return i.primaryTmplIndex;case Sr.Loading:return i.loadingTmplIndex;case Sr.Error:return i.errorTmplIndex;case Sr.Placeholder:return i.placeholderTmplIndex;default:return null}}(e,i,r);if(null!==o){t[1]=e;const a=i[be],p=ha(a,o+Tt),_=0;let R;if(Ah(n,_),e===Sr.Complete){const me=Oi(a,r),Be=me.providers;Be&&Be.length>0&&(R=function u1(e,t,n){if(e instanceof gl){const i=e.injector,a=fp(e.parentInjector,t,n);return new gl(i,a)}const r=e.get(Do);if(r!==e){const i=fp(r,t,n);return new gl(e,i)}return fp(e,t,n)}(i[Vn],me,Be))}const{dehydratedView:V,dehydratedViewIx:J}=function d1(e,t){const n=e[Ur]?.findIndex(i=>i.data.s===t[1])??-1;return{dehydratedView:n>-1?e[Ur][n]:null,dehydratedViewIx:n}}(n,t),q=ll(i,p,null,{injector:R,dehydratedView:V});if(dl(n,q,_,wa(p,V)),mc(q,2),J>-1&&n[Ur]?.splice(J,1),(e===Sr.Complete||e===Sr.Error)&&Array.isArray(t[8])){for(const me of t[8])me();t[8]=null}}hr(21)}function tD(e,t){return e<t}function nD(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ii.COMPLETE?na(Sr.Complete,t,n):e.loadingState===ii.FAILED&&na(Sr.Error,t,n)})}let hp=null,pp=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();const uD=new Lt(""),dD=new Lt("");let yp,J1=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];taskTrackingZone=null;constructor(n,r,i){this._ngZone=n,this.registry=r,yp||(function eA(e){yp=e}(i),i.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{xr.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,i){let o=-1;r&&r>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==o),n()},r)),this._callbacks.push({doneCb:n,timeoutId:o,updateCb:i})}whenStable(n,r,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,i){return[]}static \u0275fac=function(r){return new(r||e)(xt(xr),xt(fD),xt(dD))};static \u0275prov=Zt({token:e,factory:e.\u0275fac})}return e})(),fD=(()=>{class e{_applications=new Map;registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return yp?.findTestabilityInTree(this,n,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Ep=(()=>{class e{static \u0275prov=Zt({token:e,providedIn:"root",factory:()=>new tA})}return e})();class tA{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){const r=this.queues.get(t.zone);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){const n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);const r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(const[t,n]of this.queues)null===t?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(const n of t)t.delete(n),this.queuedEffectCount--,n.run()}}function Dp(e){return!!e&&"function"==typeof e.then}function hD(e){return!!e&&"function"==typeof e.subscribe}const Cp=new Lt("");let pD=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=St(Cp,{optional:!0})??[];injector=St(Vi);constructor(){}runInitializers(){if(this.initialized)return;const n=[];for(const i of this.appInits){const o=Ul(this.injector,i);if(Dp(o))n.push(o);else if(hD(o)){const a=new Promise((f,p)=>{o.subscribe({complete:f,error:p})});n.push(a)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Pc=new Lt("");let Fo=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=St($b);afterRenderManager=St(Lf);zonelessEnabled=St(Wa);rootEffectScheduler=St(Ep);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new Ct.B;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=St(Ys).hasPendingTasks.pipe((0,ye.T)(n=>!n));constructor(){St(qa,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=St(Do);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){hr(10);const i=n instanceof oE;if(!this._injector.get(pD).done)throw new Le(405,"");let a;a=i?n:this._injector.get(Ic).resolveComponentFactory(n),this.componentTypes.push(a.componentType);const f=function nA(e){return e.isBoundToModule}(a)?void 0:this._injector.get(Sa),_=a.create(Vi.NULL,[],r||a.selector,f),R=_.location.nativeElement,V=_.injector.get(uD,null);return V?.registerApplication(R),_.onDestroy(()=>{this.detachView(_.hostView),sd(this.components,_),V?.unregisterApplication(R)}),this._loadComponent(_),hr(11,_),_}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){hr(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(Ff.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new Le(101,!1);const n=y(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,y(n),this.afterTick.next(),hr(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get($h,null,{optional:!0}));let n=0;for(;0!==this.dirtyFlags&&n++<10;)hr(14),this.synchronizeOnce(),hr(15)}synchronizeOnce(){if(16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),7&this.dirtyFlags){const n=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:i}of this.allViews)iA(r,i,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>Vl(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;sd(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Pc,[]).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>sd(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new Le(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function sd(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function iA(e,t,n,r){(n||Vl(e))&&zu(e,t,n&&!r?0:1)}function Ma(e,t,n){const r=t[be],i=t[n.index];if(!function DD(e,t){return t[Vn].get(c1,null,{optional:!0})?.behavior!==av.Manual}(0,t))return;const o=lo(t,n),a=Oi(r,n);switch(function lv(e){Tu(1,e),Tu(0,e),Tu(2,e)}(o),a.loadingState){case ii.NOT_STARTED:na(Sr.Loading,n,i),function wp(e,t,n){const r=t[Vn],i=t[be];if(e.loadingState!==ii.NOT_STARTED)return e.loadingPromise??Promise.resolve();const o=lo(t,n),a=function kT(e,t){return ha(e,t.primaryTmplIndex+Tt)}(i,e);e.loadingState=ii.IN_PROGRESS,Tu(1,o);let f=e.dependencyResolverFn;const p=r.get(Ys),_=p.add();return f?(e.loadingPromise=Promise.allSettled(f()).then(R=>{let V=!1;const J=[],q=[];for(const me of R){if("fulfilled"!==me.status){V=!0;break}{const Be=me.value,mt=m(Be)||C(Be);if(mt)J.push(mt);else{const yt=v(Be);yt&&q.push(yt)}}}if(e.loadingPromise=null,p.remove(_),V){if(e.loadingState=ii.FAILED,null===e.errorTmplIndex){const Be=new Le(-750,!1);vh(t,Be)}}else{e.loadingState=ii.COMPLETE;const me=a.tView;if(J.length>0){me.directiveRegistry=dv(me.directiveRegistry,J);const mt=Ce(!1,...J.map(yt=>yt.type));e.providers=mt}q.length>0&&(me.pipeRegistry=dv(me.pipeRegistry,q))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ii.COMPLETE,p.remove(_)}),e.loadingPromise)}(a,t,n),a.loadingState===ii.IN_PROGRESS&&nD(a,n,i);break;case ii.IN_PROGRESS:na(Sr.Loading,n,i),nD(a,n,i);break;case ii.COMPLETE:na(Sr.Complete,n,i);break;case ii.FAILED:na(Sr.Error,n,i)}}function bp(){return(bp=(0,I.A)(function*(e,t,n){const r=e.get(Ps);if(r.hydrating.has(t))return;const{parentBlockPromise:o,hydrationQueue:a}=function XT(e,t){const n=t.get(Ps),i=t.get(Zs).get("__nghDeferData__",{});let o=!1,a=e,f=null;const p=[];for(;!o&&a;){o=n.has(a);const _=n.hydrating.get(a);if(null===f&&null!=_){f=_.promise;break}p.unshift(a),a=i[a].p}return{parentBlockPromise:f,hydrationQueue:p}}(t,e);if(0===a.length)return;null!==o&&a.shift(),function aA(e,t){for(let n of t)e.hydrating.set(n,Promise.withResolvers())}(r,a),null!==o&&(yield o);const f=a[0];r.has(f)?yield CD(e,a,n):r.awaitParentBlock(f,(0,I.A)(function*(){return yield CD(e,a,n)}))})).apply(this,arguments)}function CD(e,t,n){return Tp.apply(this,arguments)}function Tp(){return(Tp=(0,I.A)(function*(e,t,n){const r=e.get(Ps),i=r.hydrating,o=e.get(Ys),a=o.add();for(let p=0;p<t.length;p++){const _=t[p],R=r.get(_);if(null==R){sA(p,t,r),wD(t.slice(p),r);break}if(yield cA(R),yield lA(e),oA(R)){PI(R),wD(t.slice(p),r);break}i.get(_).resolve()}const f=t[t.length-1];yield i.get(f)?.promise,o.remove(a),n&&n(t),function FI(e,t,n,r){null!==e&&(n.cleanup(t),qu(e.lContainer),rE(r))}(r.get(f),t,r,e.get(Fo))})).apply(this,arguments)}function oA(e){return lo(e.lView,e.tNode)[1]===Sr.Error}function sA(e,t,n){const r=e-1,i=r>-1?n.get(t[r]):null;i&&qu(i.lContainer)}function wD(e,t){const n=t.hydrating;for(const r in e)n.get(r)?.reject();t.cleanup(e)}function lA(e){return new Promise(t=>Bf(t,{injector:e}))}function cA(e){return _p.apply(this,arguments)}function _p(){return(_p=(0,I.A)(function*(e){const{tNode:t,lView:n}=e,r=lo(n,t);return new Promise(i=>{(function uA(e,t){Array.isArray(e[8])||(e[8]=[]),e[8].push(t)})(r,i),Ma(0,n,t)})})).apply(this,arguments)}function Sp(e,t,n,r){const i=je();return Yr(i,Qo(),t)&&(hn(),gs(_r(),i,e,t,n,r)),Sp}function Cl(e,t,n,r){return Yr(e,Qo(),n)?t+Jt(n)+r:Dn}function wl(e,t,n,r,i,o){const f=Ia(e,function As(){return mn.lFrame.bindingIndex}(),n,i);return Rs(2),f?t+Jt(n)+r+Jt(i)+o:Dn}function ad(e,t){return e<<17|t<<2}function Aa(e){return e>>17&32767}function Ip(e){return 2|e}function Al(e){return(131068&e)>>2}function Mp(e,t){return-131069&e|t<<2}function Ap(e){return 1|e}function xD(e,t,n,r){const i=e[n+1],o=null===t;let a=r?Aa(i):Al(i),f=!1;for(;0!==a&&(!1===f||o);){const _=e[a+1];zA(e[a],t)&&(f=!0,e[a+1]=r?Ap(_):Ip(_)),a=r?Aa(_):Al(_)}f&&(e[n+1]=r?Ip(i):Ap(i))}function zA(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ws(e,t)>=0}const wi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function PD(e){return e.substring(wi.key,wi.keyEnd)}function WA(e){return e.substring(wi.value,wi.valueEnd)}function FD(e,t){const n=wi.textEnd;return n===t?-1:(t=wi.keyEnd=function QA(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,wi.key=t,n),Rl(e,t,n))}function LD(e,t){const n=wi.textEnd;let r=wi.key=Rl(e,t,n);return n===r?-1:(r=wi.keyEnd=function XA(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=BD(e,r,n),r=wi.value=Rl(e,r,n),r=wi.valueEnd=function qA(e,t,n){let r=-1,i=-1,o=-1,a=t,f=a;for(;a<n;){const p=e.charCodeAt(a++);if(59===p)return f;34===p||39===p?f=a=UD(e,p,a,n):t===a-4&&85===o&&82===i&&76===r&&40===p?f=a=UD(e,41,a,n):p>32&&(f=a),o=i,i=r,r=-33&p}return f}(e,r,n),BD(e,r,n))}function jD(e){wi.key=0,wi.keyEnd=0,wi.value=0,wi.valueEnd=0,wi.textEnd=e.length}function Rl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function BD(e,t,n,r){return(t=Rl(e,t,n))<n&&t++,t}function UD(e,t,n,r){let i=-1,o=n;for(;o<r;){const a=e.charCodeAt(o++);if(a==t&&92!==i)return o;i=92==a&&92===i?0:a}throw new Error}function Rp(e,t,n){const r=je();return Yr(r,Qo(),t)&&So(hn(),_r(),r,e,t,r[Yt],n,!1),Rp}function Op(e,t,n,r,i){yh(t,e,n,i?"class":"style",r)}function Np(e,t,n){return is(e,t,n,!1),Np}function kp(e,t){return is(e,t,null,!0),kp}function rs(e){os(zD,YA,e,!1)}function YA(e,t){for(let n=function KA(e){return jD(e),LD(e,Rl(e,0,wi.textEnd))}(t);n>=0;n=LD(t,n))zD(e,PD(t),WA(t))}function $D(e){os(rR,vs,e,!0)}function vs(e,t){for(let n=function GA(e){return jD(e),FD(e,Rl(e,0,wi.textEnd))}(t);n>=0;n=FD(t,n))qi(e,PD(t),!0)}function is(e,t,n,r){const i=je(),o=hn(),a=Rs(2);o.firstUpdatePass&&HD(o,e,a,r),t!==Dn&&Yr(i,a,t)&&WD(o,o.data[$i()],i,i[Yt],e,i[a+1]=function oR(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=dr(Ls(e)))),e}(t,n),r,a)}function os(e,t,n,r){const i=hn(),o=Rs(2);i.firstUpdatePass&&HD(i,null,o,r);const a=je();if(n!==Dn&&Yr(a,o,n)){const f=i.data[$i()];if(KD(f,r)&&!VD(i,o)){let p=r?f.classesWithoutHost:f.stylesWithoutHost;null!==p&&(n=Ro(p,n||"")),Op(i,f,a,n,r)}else!function iR(e,t,n,r,i,o,a,f){i===Dn&&(i=Wn);let p=0,_=0,R=0<i.length?i[0]:null,V=0<o.length?o[0]:null;for(;null!==R||null!==V;){const J=p<i.length?i[p+1]:void 0,q=_<o.length?o[_+1]:void 0;let Be,me=null;R===V?(p+=2,_+=2,J!==q&&(me=V,Be=q)):null===V||null!==R&&R<V?(p+=2,me=R):(_+=2,me=V,Be=q),null!==me&&WD(e,t,n,r,me,Be,a,f),R=p<i.length?i[p]:null,V=_<o.length?o[_]:null}}(i,f,a,a[Yt],a[o+1],a[o+1]=function nR(e,t,n){if(null==n||""===n)return Wn;const r=[],i=Ls(n);if(Array.isArray(i))for(let o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(const o in i)i.hasOwnProperty(o)&&e(r,o,i[o]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function VD(e,t){return t>=e.expandoStartIndex}function HD(e,t,n,r){const i=e.data;if(null===i[n+1]){const o=i[$i()],a=VD(e,n);KD(o,r)&&null===t&&!a&&(t=!1),t=function ZA(e,t,n,r){const i=Zd(e);let o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=Lc(n=xp(null,e,t,n,r),t.attrs,r),o=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=xp(i,e,t,n,r),null===o){let p=function JA(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Al(r))return e[Aa(r)]}(e,t,r);void 0!==p&&Array.isArray(p)&&(p=xp(null,e,t,p[1],r),p=Lc(p,t.attrs,r),function eR(e,t,n,r){e[Aa(n?t.classBindings:t.styleBindings)]=r}(e,t,r,p))}else o=function tR(e,t,n){let r;const i=t.directiveEnd;for(let o=1+t.directiveStylingLast;o<i;o++)r=Lc(r,e[o].hostAttrs,n);return Lc(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function VA(e,t,n,r,i,o){let a=o?t.classBindings:t.styleBindings,f=Aa(a),p=Al(a);e[r]=n;let R,_=!1;if(Array.isArray(n)?(R=n[1],(null===R||ws(n,R)>0)&&(_=!0)):R=n,i)if(0!==p){const J=Aa(e[f+1]);e[r+1]=ad(J,f),0!==J&&(e[J+1]=Mp(e[J+1],r)),e[f+1]=function UA(e,t){return 131071&e|t<<17}(e[f+1],r)}else e[r+1]=ad(f,0),0!==f&&(e[f+1]=Mp(e[f+1],r)),f=r;else e[r+1]=ad(p,0),0===f?f=r:e[p+1]=Mp(e[p+1],r),p=r;_&&(e[r+1]=Ip(e[r+1])),xD(e,R,r,!0),xD(e,R,r,!1),function HA(e,t,n,r,i){const o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&ws(o,t)>=0&&(n[r+1]=Ap(n[r+1]))}(t,R,e,r,o),a=ad(f,p),o?t.classBindings=a:t.styleBindings=a}(i,o,t,n,a,r)}}function xp(e,t,n,r,i){let o=null;const a=n.directiveEnd;let f=n.directiveStylingLast;for(-1===f?f=n.directiveStart:f++;f<a&&(o=t[f],r=Lc(r,o.hostAttrs,i),o!==e);)f++;return null!==e&&(n.directiveStylingLast=f),r}function Lc(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let o=0;o<t.length;o++){const a=t[o];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),qi(e,a,!!n||t[++o]))}return void 0===e?null:e}function zD(e,t,n){qi(e,t,Ls(n))}function rR(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&qi(e,r,n)}function WD(e,t,n,r,i,o,a,f){if(!(3&t.type))return;const p=e.data,_=p[f+1],R=function $A(e){return!(1&~e)}(_)?GD(p,t,n,i,Al(_),a):void 0;ld(R)||(ld(o)||function BA(e){return!(2&~e)}(_)&&(o=GD(p,null,n,i,f,a)),function AS(e,t,n,r,i){if(t)i?e.addClass(n,r):e.removeClass(n,r);else{let o=-1===r.indexOf("-")?void 0:$u.DashCase;null==i?e.removeStyle(n,r,o):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=$u.Important),e.setStyle(n,r,i,o))}}(r,a,$a($i(),n),i,o))}function GD(e,t,n,r,i,o){const a=null===t;let f;for(;i>0;){const p=e[i],_=Array.isArray(p),R=_?p[1]:p,V=null===R;let J=n[i+1];J===Dn&&(J=V?Wn:void 0);let q=V?aa(J,r):R===r?J:void 0;if(_&&!ld(q)&&(q=aa(p,r)),ld(q)&&(f=q,a))return f;const me=e[i+1];i=a?Aa(me):Al(me)}if(null!==t){let p=o?t.residualClasses:t.residualStyles;null!=p&&(f=aa(p,r))}return f}function ld(e){return void 0!==e}function KD(e,t){return!!(e.flags&(t?8:16))}function QD(e,t,n){os(qi,vs,Cl(je(),e,t,n),!0)}function ZD(e,t){_o("NgControlFlow");const n=je(),r=Qo(),i=n[r]!==Dn?n[r]:-1,o=-1!==i?cd(n,Tt+i):void 0;if(Yr(n,r,e)){const f=y(null);try{if(void 0!==o&&Ah(o,0),-1!==e){const p=Tt+e,_=cd(n,p),R=function Lp(e,t){return ha(e,t)}(n[be],p),V=pl(_,R.tView.ssrId);dl(_,ll(n,R,t,{dehydratedView:V}),0,wa(R,V))}}finally{y(f)}}else if(void 0!==o){const f=function Py(e,t){const n=kr+t;if(n<e.length)return e[n]}(o,0);void 0!==f&&(f[fn]=t)}}function cd(e,t){return e[t]}function ud(e,t,n,r){const i=je(),o=hn(),a=Tt+e,f=i[Yt],p=o.firstCreatePass?fE(a,o,i,t,gh,Qd(),n,r):o.data[a],_=JD(o,i,p,f,t,e);i[a]=_;const R=Qs(p);return ts(p,!0),ly(f,_,p),!ea(p)&&zl()&&Vu(o,i,_,p),(0===function Qw(){return mn.lFrame.elementDepthCount}()||R)&&To(_,i),function Xw(){mn.lFrame.elementDepthCount++}(),R&&(Bu(o,i,p),Jf(o,p,i)),null!==r&&ph(i,p),ud}function dd(){let e=Fn();Xd()?qd():(e=e.parent,ts(e,!1));const t=e;(function Yw(e){return mn.skipHydrationRootTNode===e})(t)&&function tb(){mn.skipHydrationRootTNode=null}(),function qw(){mn.lFrame.elementDepthCount--}();const n=hn();return n.firstCreatePass&&hE(n,t),null!=t.classesWithoutHost&&function fb(e){return!!(8&e.flags)}(t)&&Op(n,t,je(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function hb(e){return!!(16&e.flags)}(t)&&Op(n,t,je(),t.stylesWithoutHost,!1),dd}function jp(e,t,n,r){return ud(e,t,n,r),dd(),jp}let JD=(e,t,n,r,i,o)=>(us(!0),Fu(r,i,Qg()));function SR(e,t,n,r,i,o){const a=t[kn],f=!a||ga()||ea(n)||ya(a,o);if(us(f),f)return Fu(r,i,Qg());const p=_c(a,e,t,n);return Tv(a,o)&&Au(a,o,p.nextSibling),a&&(Ef(n)||Om(p))&&eo(n)&&(function Jw(e){mn.skipHydrationRootTNode=e}(n),ay(p)),p}function fd(e,t,n){const r=je(),i=hn(),o=e+Tt,a=i.firstCreatePass?function MR(e,t,n,r,i){const o=t.consts,a=Ko(o,r),f=fl(t,e,8,"ng-container",a);null!==a&&zh(f,a,!0);const p=Ko(o,i);return Qd()&&Wh(t,n,f,p,gh),f.mergedAttrs=za(f.mergedAttrs,f.attrs),null!==t.queries&&t.queries.elementStart(t,f),f}(o,i,r,t,n):i.data[o];ts(a,!0);const f=tC(i,r,a,e);return r[o]=f,zl()&&Vu(i,r,f,a),To(f,r),Qs(a)&&(Bu(i,r,a),Jf(i,a,r)),null!=n&&ph(r,a),fd}function hd(){let e=Fn();const t=hn();return Xd()?qd():(e=e.parent,ts(e,!1)),t.firstCreatePass&&(nf(t,e),Ji(e)&&t.queries.elementEnd(e)),hd}let tC=(e,t,n,r)=>(us(!0),ch(t[Yt],""));function AR(e,t,n,r){let i;const o=t[kn],a=!o||ga()||ya(o,r)||ea(n);if(us(a),a)return ch(t[Yt],"");const f=_c(o,e,t,n),p=function bv(e,t){const n=e.data;let r=n[vu]?.[t]??null;return null===r&&n[tc]?.[t]&&(r=Xf(e,t)),r}(o,r);return Au(o,r,f),i=Xu(p,f),i}function nC(){return je()}function Bp(e,t,n){const r=je();if(Yr(r,Qo(),t)){const o=hn(),a=_r();So(o,a,r,e,t,gy(Zd(o.data),a,r),n,!0)}return Bp}const Ra=void 0;var NR=["en",[["a","p"],["AM","PM"],Ra],[["AM","PM"],Ra,Ra],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ra,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ra,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ra,"{1} 'at' {0}",Ra],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function OR(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let Ol={};function Up(e){const t=function kR(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=oC(t);if(n)return n;const r=t.split("-")[0];if(n=oC(r),n)return n;if("en"===r)return NR;throw new Le(701,!1)}function iC(e){return Up(e)[Nl.PluralCase]}function oC(e){return e in Ol||(Ol[e]=lt.ng&&lt.ng.common&&lt.ng.common.locales&&lt.ng.common.locales[e]),Ol[e]}var Nl=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Nl||{});const pd="en-US";let sC=pd;function TC(e,t,n){return function r(i){if(i===Function)return n;mc(eo(e)?so(e.index,t):t,5);const a=t[fn];let f=_C(t,a,n,i),p=r.__ngNextListenerFn__;for(;p;)f=_C(t,a,p,i)&&f,p=p.__ngNextListenerFn__;return f}}function _C(e,t,n,r){const i=y(null);try{return hr(6,t,n),!1!==n(r)}catch(o){return function CO(e,t){const n=e[Vn],r=n?n.get(fs,null):null;r&&r.handleError(t)}(e,o),!1}finally{hr(7,t,n),y(i)}}function SC(e,t,n,r,i,o){const f=t[be],R=t[n][f.data[n].outputs[r]],V=f.firstCreatePass?Wd(f):null,J=zd(t),q=R.subscribe(o),me=J.length;J.push(o,q),V&&V.push(i,e.index,me,-(me+1))}let IC=(e,t,n)=>{};function MC(e){IC=e}function Hp(e,t,n,r){const i=je(),o=hn(),a=Fn();return zp(o,i,i[Yt],a,e,t,r),Hp}function zp(e,t,n,r,i,o,a){const f=Qs(r),_=e.firstCreatePass?Wd(e):null,R=zd(t);let V=!0;if(3&r.type||a){const J=oo(r,t),q=a?a(J):J,me=R.length,Be=a?yt=>a(Jn(yt[r.index])):r.index;let mt=null;if(!a&&f&&(mt=function wO(e,t,n,r){const i=e.cleanup;if(null!=i)for(let o=0;o<i.length-1;o+=2){const a=i[o];if(a===n&&i[o+1]===r){const f=t[Nr],p=i[o+2];return f.length>p?f[p]:null}"string"==typeof a&&(o+=2)}return null}(e,t,i,r.index)),null!==mt)(mt.__ngLastListenerFn__||mt).__ngNextListenerFn__=o,mt.__ngLastListenerFn__=o,V=!1;else{o=TC(r,t,o),IC(q,i,o);const yt=n.listen(q,i,o);R.push(o,yt),_&&_.push(i,Be,me,me+1)}}else o=TC(r,t,o);if(V){const J=r.outputs?.[i],q=r.hostDirectiveOutputs?.[i];if(q&&q.length)for(let me=0;me<q.length;me+=2)SC(r,t,q[me],q[me+1],i,o);if(J&&J.length)for(const me of J)SC(r,t,me,i,i,o)}}function RC(e=1){return function sb(e){return(mn.lFrame.contextLView=function Ng(e,t){for(;e>0;)t=t[ri],e--;return t}(e,mn.lFrame.contextLView))[fn]}(e)}function bO(e,t){let n=null;const r=function Z_(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const o=t[i];if("*"!==o){if(null===r?ny(e,o,!0):tS(r,o))return i}else n=i}return n}function OC(e){const t=je()[cr][Ht];if(!t.projection){const r=t.projection=function zs(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(e?e.length:1,null),i=r.slice();let o=t.child;for(;null!==o;){if(128!==o.type){const a=e?bO(o,e):0;null!==a&&(i[a]?i[a].projectionNext=o:r[a]=o,i[a]=o)}o=o.next}}}function NC(e,t=0,n,r,i,o){const a=je(),f=hn(),p=r?e+1:null;null!==p&&kc(a,f,p,r,i,o,null,n);const _=fl(f,Tt+e,16,null,n||null);null===_.projection&&(_.projection=t),qd();const V=!a[kn]||ga();null===a[cr][Ht].projection[_.projection]&&null!==p?function TO(e,t,n){const r=Tt+n,i=t.data[r],o=e[r],a=pl(o,i.tView.ssrId);dl(o,ll(e,i,void 0,{dehydratedView:a}),0,wa(i,a))}(a,f,p):V&&!ea(_)&&function IS(e,t,n){Ty(t[Yt],0,t,n,bh(e,n,t),Ey(n.parent||t[Ht],n,t))}(f,a,_)}function Wp(e,t,n){return yd(e,"",t,"",n),Wp}function yd(e,t,n,r,i){const o=je(),a=Cl(o,t,n,r);return a!==Dn&&So(hn(),_r(),o,e,a,o[Yt],i,!1),yd}function $C(e,t,n,r){!function _E(e,t,n,r){const i=hn();if(i.firstCreatePass){const o=Fn();SE(i,new CE(t,n,r),o.index),function bM(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),!(2&~n)&&(i.staticContentQueries=!0)}return bE(i,je(),n)}(e,t,n,r)}function VC(e,t,n){!function TE(e,t,n){const r=hn();return r.firstCreatePass&&(SE(r,new CE(e,t,n),-1),!(2&~t)&&(r.staticViewQueries=!0)),bE(r,je(),t)}(e,t,n)}function HC(e){const t=je(),n=hn(),r=Jd();ru(r+1);const i=ep(n,r);if(e.dirty&&function Ww(e){return!(4&~e[gt])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{const o=IE(t,r);e.reset(o,Mm),e.notifyOnChanges()}return!0}return!1}function zC(){return function Jh(e,t){return e[Ui].queries[t].queryList}(je(),Jd())}function WC(e){return pa(function Fg(){return mn.lFrame.contextLView}(),Tt+e)}function t0(e,t=""){const n=je(),r=hn(),i=e+Tt,o=r.firstCreatePass?fl(r,i,1,t,null):r.data[i],a=n0(r,n,o,t,e);n[i]=a,zl()&&Vu(r,n,a,o),ts(o,!1)}let n0=(e,t,n,r,i)=>(us(!0),lh(t[Yt],r));function LO(e,t,n,r,i){const o=t[kn],a=!o||ga()||ea(n)||ya(o,i);return us(a),a?lh(t[Yt],r):_c(o,e,t,n)}function Kp(e){return Ed("",e,""),Kp}function Ed(e,t,n){const r=je(),i=Cl(r,e,t,n);return i!==Dn&&Bs(r,$i(),i),Ed}function Qp(e,t,n,r,i){const o=je(),a=wl(o,e,t,n,r,i);return a!==Dn&&Bs(o,$i(),a),Qp}function Bs(e,t,n){const r=$a(t,e);!function iy(e,t,n){e.setValue(t,n)}(e[Yt],r,n)}function Xp(e,t,n){Rm(t)&&(t=t());const r=je();return Yr(r,Qo(),t)&&So(hn(),_r(),r,e,t,r[Yt],n,!1),Xp}function d0(e,t){const n=Rm(e);return n&&e.set(t),n}function qp(e,t){const n=je(),r=hn(),i=Fn();return zp(r,n,n[Yt],i,e,t),qp}function Yp(e,t,n,r,i){if(e=qt(e),Array.isArray(e))for(let o=0;o<e.length;o++)Yp(e[o],t,n,r,i);else{const o=hn(),a=je(),f=Fn();let p=Di(e)?e:qt(e.provide);const _=Yc(e),R=1048575&f.providerIndexes,V=f.directiveStart,J=f.providerIndexes>>20;if(Di(e)||!e.multi){const q=new Wl(_,i,ml),me=Jp(p,t,i?R:R+J,V);-1===me?(df(au(f,a),o,p),Zp(o,e,t.length),t.push(p),f.directiveStart++,f.directiveEnd++,i&&(f.providerIndexes+=1048576),n.push(q),a.push(q)):(n[me]=q,a[me]=q)}else{const q=Jp(p,t,R+J,V),me=Jp(p,t,R,R+J),mt=me>=0&&n[me];if(i&&!mt||!i&&!(q>=0&&n[q])){df(au(f,a),o,p);const yt=function WO(e,t,n,r,i){const o=new Wl(e,n,ml);return o.multi=[],o.index=t,o.componentProviders=0,p0(o,i,r&&!n),o}(i?zO:HO,n.length,i,r,_);!i&&mt&&(n[me].providerFactory=yt),Zp(o,e,t.length,0),t.push(p),f.directiveStart++,f.directiveEnd++,i&&(f.providerIndexes+=1048576),n.push(yt),a.push(yt)}else Zp(o,e,q>-1?q:me,p0(n[i?me:q],_,!i&&r));!i&&r&&mt&&n[me].componentProviders++}}}function Zp(e,t,n,r){const i=Di(t),o=function ua(e){return!!e.useClass}(t);if(i||o){const p=(o?qt(t.useClass):t).prototype.ngOnDestroy;if(p){const _=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const R=_.indexOf(n);-1===R?_.push(n,[r,p]):_[R+1].push(r,p)}else _.push(n,p)}}}function p0(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Jp(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function HO(e,t,n,r){return eg(this.multi,[])}function zO(e,t,n,r){const i=this.multi;let o;if(this.providerFactory){const a=this.providerFactory.componentProviders,f=Ql(n,n[be],this.providerFactory.index,r);o=f.slice(0,a),eg(i,o);for(let p=a;p<f.length;p++)o.push(f[p])}else o=[],eg(i,o);return o}function eg(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function g0(e,t=[]){return n=>{n.providersResolver=(r,i)=>function VO(e,t,n){const r=hn();if(r.firstCreatePass){const i=Po(e);Yp(n,r.data,r.blueprint,i,!0),Yp(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}function v0(e,t,n){const r=ao()+e,i=je();return i[r]===Dn?ms(i,r,n?t.call(n):t()):function Nc(e,t){return e[t]}(i,r)}function y0(e,t,n,r){return C0(je(),ao(),e,t,n,r)}function E0(e,t,n,r,i){return w0(je(),ao(),e,t,n,r,i)}function D0(e,t,n,r,i,o){return b0(je(),ao(),e,t,n,r,i,o)}function Hc(e,t){const n=e[t];return n===Dn?void 0:n}function C0(e,t,n,r,i,o){const a=t+n;return Yr(e,a,i)?ms(e,a+1,o?r.call(o,i):r(i)):Hc(e,a+1)}function w0(e,t,n,r,i,o,a){const f=t+n;return Ia(e,f,i,o)?ms(e,f+2,a?r.call(a,i,o):r(i,o)):Hc(e,f+2)}function b0(e,t,n,r,i,o,a,f){const p=t+n;return function nd(e,t,n,r,i){const o=Ia(e,t,n,r);return Yr(e,t+2,i)||o}(e,p,i,o,a)?ms(e,p+3,f?r.call(f,i,o,a):r(i,o,a)):Hc(e,p+3)}function T0(e,t,n,r,i,o,a,f,p){const _=t+n;return function Xo(e,t,n,r,i,o){const a=Ia(e,t,n,r);return Ia(e,t+2,i,o)||a}(e,_,i,o,a,f)?ms(e,_+4,p?r.call(p,i,o,a,f):r(i,o,a,f)):Hc(e,_+4)}function S0(e,t){const n=hn();let r;const i=e+Tt;n.firstCreatePass?(r=function tN(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=xo(r.type)),f=Q(ml);try{const p=su(!1),_=o();return su(p),function Gp(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,je(),i,_),_}finally{Q(f)}}function I0(e,t,n){const r=e+Tt,i=je(),o=pa(i,r);return zc(i,r)?C0(i,ao(),t,o.transform,n,o):o.transform(n)}function M0(e,t,n,r){const i=e+Tt,o=je(),a=pa(o,i);return zc(o,i)?w0(o,ao(),t,a.transform,n,r,a):a.transform(n,r)}function A0(e,t,n,r,i){const o=e+Tt,a=je(),f=pa(a,o);return zc(a,o)?b0(a,ao(),t,f.transform,n,r,i,f):f.transform(n,r,i)}function R0(e,t,n,r,i,o){const a=e+Tt,f=je(),p=pa(f,a);return zc(f,a)?T0(f,ao(),t,p.transform,n,r,i,o,p):p.transform(n,r,i,o)}function zc(e,t){return e[be].data[t].pure}function O0(e,t){return Wu(e,t)}class X0{full;major;minor;patch;constructor(t){this.full=t;const n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}const AN=new X0("19.2.5");class RN{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let ON=(()=>{class e{compileModuleSync(n){return new ip(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),o=ps(Zn(n).declarations).reduce((a,f)=>{const p=m(f);return p&&a.push(new Rc(p)),a},[]);return new RN(r,o)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xN=(()=>{class e{zone=St(xr);changeDetectionScheduler=St(Ns);applicationRef=St(Fo);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const PN=new Lt("",{factory:()=>!1});function og({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new xr({...sg(),scheduleInRootZone:n}),[{provide:xr,useFactory:e},{provide:Yi,multi:!0,useFactory:()=>{const r=St(xN,{optional:!0});return()=>r.initialize()}},{provide:Yi,multi:!0,useFactory:()=>{const r=St(LN);return()=>{r.initialize()}}},!0===t?{provide:Dm,useValue:!0}:[],{provide:pf,useValue:n??ym}]}function FN(e){const t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=og({ngZoneFactory:()=>{const i=sg(e);return i.scheduleInRootZone=n,i.shouldCoalesceEventChangeDetection&&_o("NgZone_CoalesceEvent"),new xr(i)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return N([{provide:PN,useValue:!0},{provide:Wa,useValue:!1},r])}function sg(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}let LN=(()=>{class e{subscription=new Ve.yU;initialized=!1;zone=St(xr);pendingTasks=St(Ys);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{xr.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{xr.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Gc=(()=>{class e{appRef=St(Fo);taskService=St(Ys);ngZone=St(xr);zonelessEnabled=St(Wa);tracing=St(qa,{optional:!0});disableScheduling=St(Dm,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Ve.yU;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(fu):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(St(pf,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof yf||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;let r=!1;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,r=!0;break;case 12:this.appRef.dirtyFlags|=16,r=!0;break;case 11:r=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;const i=this.useMicrotaskScheduler?wm:Cm;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>i(()=>this.tick())):this.ngZone.runOutsideAngular(()=>i(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(fu+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,wm(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=Zt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const lg=new Lt("",{providedIn:"root",factory:()=>St(lg,_n.Optional|_n.SkipSelf)||function jN(){return typeof $localize<"u"&&$localize.locale||pd}()}),BN=new Lt("",{providedIn:"root",factory:()=>"USD"}),bd=new Lt(""),zN=new Lt("");function Kc(e){return!e.moduleRef}let oa=null;let sw=(()=>class e{static __NG_ELEMENT_ID__=qN})();function qN(e){return function YN(e,t,n){if(eo(e)&&!n){const r=so(e.index,t);return new yc(r,r)}return 175&e.type?new yc(t[cr],t):null}(Fn(),je(),!(16&~e))}class uw{constructor(){}supports(t){return td(t)}create(t){return new nk(t)}}const tk=(e,t)=>t;class nk{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||tk}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){const a=!r||n&&n.currentIndex<fw(r,i,o)?n:r,f=fw(a,i,o),p=a.currentIndex;if(a===r)i--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)i++;else{o||(o=[]);const _=f-i,R=p-i;if(_!=R){for(let J=0;J<_;J++){const q=J<o.length?o[J]:o[J]=0,me=q+J;R<=me&&me<_&&(o[J]=q+1)}o[a.previousIndex]=R-_}}f!==p&&t(a,f,p)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!td(t))throw new Le(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,o,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let f=0;f<this.length;f++)o=t[f],a=this._trackByFn(f,o),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,o,a,f)),Object.is(n.item,o)||this._addIdentityChange(n,o)):(n=this._mismatch(n,o,a,f),r=!0),n=n._next}else i=0,function JM(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,f=>{a=this._trackByFn(i,f),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,f,a,i)),Object.is(n.item,f)||this._addIdentityChange(n,f)):(n=this._mismatch(n,f,a,i),r=!0),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,i){let o;return null===t?o=this._itTail:(o=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,o,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,o,i)):t=this._addAfter(new rk(n,r),o,i),t}_verifyReinsertion(t,n,r,i){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==o?t=this._reinsertAfter(o,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,o=t._nextRemoved;return null===i?this._removalsHead=o:i._nextRemoved=o,null===o?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new dw),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new dw),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class rk{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}}class ik{_head=null;_tail=null;add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class dw{map=new Map;put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new ik,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function fw(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class hw{constructor(){}supports(t){return t instanceof Map||up(t)}create(){return new ok}}class ok{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||up(t)))throw new Le(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const i=this._records.get(t);this._maybeAddToChanges(i,n);const o=i._prev,a=i._next;return o&&(o._next=a),a&&(a._prev=o),i._next=null,i._prev=null,i}const r=new sk(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class sk{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}}function pw(){return new hg([new uw])}let hg=(()=>{class e{factories;static \u0275prov=Zt({token:e,providedIn:"root",factory:pw});constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||pw()),deps:[[e,new Vs,new Cs]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(null!=r)return r;throw new Le(901,!1)}}return e})();function gw(){return new pg([new hw])}let pg=(()=>{class e{static \u0275prov=Zt({token:e,providedIn:"root",factory:gw});factories;constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||gw()),deps:[[e,new Vs,new Cs]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Le(901,!1)}}return e})();function ck(e){hr(8);try{const{rootComponent:t,appProviders:n,platformProviders:r}=e,i=function XN(e=[]){if(oa)return oa;const t=function rw(e=[],t){return Vi.create({name:t,providers:[{provide:da,useValue:"platform"},{provide:bd,useValue:new Set([()=>oa=null])},...e]})}(e);return oa=t,function gD(){!function vr(e){or=e}(()=>{throw new Le(600,!1)})}(),function iw(e){const t=e.get(_f,null);Ul(e,()=>{t?.forEach(n=>n())})}(t),t}(r),o=[og({}),{provide:Ns,useExisting:Gc},...n||[]];return function ew(e){const t=Kc(e)?e.r3Injector:e.moduleRef.injector,n=t.get(xr);return n.run(()=>{Kc(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();const r=t.get(fs,null);let i;if(n.runOutsideAngular(()=>{i=n.onError.subscribe({next:o=>{r.handleError(o)}})}),Kc(e)){const o=()=>t.destroy(),a=e.platformInjector.get(bd);a.add(o),t.onDestroy(()=>{i.unsubscribe(),a.delete(o)})}else{const o=()=>e.moduleRef.destroy(),a=e.platformInjector.get(bd);a.add(o),e.moduleRef.onDestroy(()=>{sd(e.allPlatformModules,e.moduleRef),i.unsubscribe(),a.delete(o)})}return function GN(e,t,n){try{const r=n();return Dp(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(r,n,()=>{const o=t.get(pD);return o.runInitializers(),o.donePromise.then(()=>{if(function LR(e){"string"==typeof e&&(sC=e.toLowerCase().replace(/_/g,"-"))}(t.get(lg,pd)||pd),!t.get(zN,!0))return Kc(e)?t.get(Fo):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Kc(e)){const p=t.get(Fo);return void 0!==e.rootComponent&&p.bootstrap(e.rootComponent),p}return function WN(e,t){const n=e.injector.get(Fo);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new Le(-403,!1);e.instance.ngDoBootstrap(n)}t.push(e)}(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}({r3Injector:new BE({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:i,rootComponent:t})}catch(t){return Promise.reject(t)}finally{hr(9)}}const Sd=new WeakSet,mw="";let Id=[];function vw(e){return e.get(xf,Jm)}function yw(){const e=[{provide:xf,useFactory:()=>{let t=!0;{const n=St(Qa);t=!!window._ejsas?.[n]}return t&&_o("NgEventReplay"),t}}];return e.push({provide:Yi,useValue:()=>{const t=St(Fo),{injector:n}=t;if(!Sd.has(t)){const r=St(Pf);vw(n)&&MC((i,o,a)=>{i.nodeType===Node.ELEMENT_NODE&&(LT(i,o,a),mv(i,r))})}},multi:!0},{provide:Pc,useFactory:()=>{const t=St(Qa),n=St(Fo),{injector:r}=n;return()=>{!vw(r)||Sd.has(n)||(Sd.add(n),n.onDestroy(()=>{Sd.delete(n),H(t),MC(()=>{})}),n.whenStable().then(()=>{if(n.destroyed)return;const i=r.get(jT);uk(i,r);const o=r.get(Pf);o.get(mw)?.forEach(vv),o.delete(mw);const a=i.instance;!function uc(e){return e.get(ev,!1,{optional:!0})}(r)?a.cleanUp():n.onDestroy(()=>a.cleanUp())}))}},multi:!0}),e}const uk=(e,t)=>{const n=t.get(Qa),r=window._ejsas[n],i=e.instance=new Si(new fo(r.c));for(const f of r.et)i.addEvent(f);for(const f of r.etc)i.addEvent(f);const o=function A(e,t=window){return function ei(e){return e?.q??[]}(t._ejsas?.[e])}(n);i.replayEarlyEventInfos(o),H(n);const a=new $n(f=>{!function fk(e,t,n){const r=(n&&n.getAttribute(sc))??"";/d\d+/.test(r)?function hk(e,t,n,r){Id.push({event:n,currentTarget:r}),function ra(e,t,n){return bp.apply(this,arguments)}(t,e,pk)}(r,e,t,n):101===t.eventPhase&&yv(t,n)}(t,f,f.currentTarget)});!function Lo(e,t){e.ecrd(n=>{t.dispatch(n)},Cr.I_AM_THE_JSACTION_FRAMEWORK)}(i,a)};function pk(e){const t=[...Id],n=new Set(e);Id=[];for(let{event:r,currentTarget:i}of t){const o=i.getAttribute(sc);n.has(o)?yv(r,i):Id.push({event:r,currentTarget:i})}}let _w=!1;function Rk(){const e=[{provide:Xa,useFactory:()=>{let t=!0;return t=!!St(Zs,{optional:!0})?.get(Gf,null),t&&_o("NgHydration"),t}},{provide:Yi,useValue:()=>{(function Jy(e){Yy=e})(!1),St(Xa)&&(function o_(e){for(const r of e.body.childNodes)if(Yf(r))return;if(!Yf(Mv(e.body.previousSibling))&&!Yf(Mv(e.head.lastChild)))throw new Le(-507,!1)}(hs()),function _k(){_w||(_w=!0,function VT(){Ev=$T}(),function IR(){JD=SR}(),function jO(){n0=LO}(),function RR(){tC=AR}(),function r1(){qE=n1}(),function vM(){yE=mM,Kh=gM}(),function BI(){iE=jI}(),function fS(){hy=dS}())}())},multi:!0}];return e.push({provide:Ym,useFactory:()=>St(Xa)},{provide:Pc,useFactory:()=>{if(St(Xa)){const t=St(Fo);return()=>{(function Mk(e){return e.whenStable()})(t).then(()=>{t.destroyed||rE(t)})}}return()=>{}},multi:!0}),N(e)}function Ok(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function ss(e){return function dt(e){const t=y(null);try{return e()}finally{y(t)}}(e)}function Xc(e,t){return function Kn(e,t){const n=Object.create(Ln);n.computation=e,void 0!==t&&(n.equal=t);const r=()=>{if(le(n),De(n),n.value===Hn)throw n.error;return n.value};return r[u]=n,r}(e,t?.equal)}class Fk{[u];constructor(t){this[u]=t}destroy(){this[u].destroy()}}const Ow={...ie,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Xl,run(){if(this.dirty=!1,this.hasRun&&!Qe(this))return;this.hasRun=!0;const e=r=>(this.cleanupFns??=[]).push(r),t=nt(this),n=nu(!1);try{this.maybeCleanup(),this.fn(e)}finally{nu(n),ze(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}},Lk={...Ow,consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){he(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}},jk={...Ow,consumerMarkedDirty(){this.view[gt]|=8192,Va(this.view),this.notifier.notify(13)},destroy(){he(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Gt]?.delete(this)}};var $r=function(e){return e[e.Idle=0]="Idle",e[e.Error=1]="Error",e[e.Loading=2]="Loading",e[e.Reloading=3]="Reloading",e[e.Resolved=4]="Resolved",e[e.Local=5]="Local",e}($r||{});const $k=e=>e;function mg(e,t){return Nw("function"==typeof e?an(e,$k,t?.equal):an(e.source,e.computation,e.equal))}function Nw(e){const t=e[u],n=e;return n.set=r=>function Dt(e,t){le(e),ve(e,t),st(e)}(t,r),n.update=r=>function pn(e,t){le(e),ne(e,t),st(e)}(t,r),n.asReadonly=hu.bind(e),n}class Hk{value;constructor(t){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=hu}update(t){this.set(t(ss(this.value)))}isLoading=Xc(()=>this.status()===$r.Loading||this.status()===$r.Reloading);hasValue(){return void 0!==this.value()}asReadonly(){return this}}class kw extends Hk{loaderFn;defaultValue;equal;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;constructor(t,n,r,i,o){super(Xc(()=>{const a=this.state().stream?.();return a&&vg(a)?a.value:this.defaultValue},{equal:i})),this.loaderFn=n,this.defaultValue=r,this.equal=i,this.extRequest=mg({source:t,computation:a=>({request:a,reload:0})}),this.state=mg({source:this.extRequest,computation:(a,f)=>{const p=void 0===a.request?$r.Idle:$r.Loading;return f?{extRequest:a,status:p,previousStatus:xw(f.value),stream:f.value.extRequest.request===a.request?f.value.stream:void 0}:{extRequest:a,status:p,previousStatus:$r.Idle,stream:void 0}}}),this.effectRef=function Rw(e,t){!t?.injector&&Gs();const n=t?.injector??St(Vi);let i,r=!0!==t?.manualCleanup?n.get(Os):null;const o=n.get(Cu,null,{optional:!0}),a=n.get(Ns);return null===o||t?.forceRoot?i=function Uk(e,t,n){const r=Object.create(Lk);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}(e,n.get(Ep),a):(i=function Bk(e,t,n){const r=Object.create(jk);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[Gt]??=new Set,e[Gt].add(r),r.consumerMarkedDirty(r),r}(o.view,a,e),r instanceof Em&&r._lView===o.view&&(r=null)),i.injector=n,null!==r&&(i.onDestroyFn=r.onDestroy(()=>i.destroy())),new Fk(i)}(this.loadEffect.bind(this),{injector:o,manualCleanup:!0}),this.pendingTasks=o.get(Nb),o.get(Os).onDestroy(()=>this.destroy())}status=Xc(()=>xw(this.state()));error=Xc(()=>{const t=this.state().stream?.();return t&&!vg(t)?t.error:void 0});set(t){if(this.destroyed)return;const n=ss(this.value),r=ss(this.state);r.status===$r.Local&&(this.equal?this.equal(n,t):n===t)||(this.state.set({extRequest:r.extRequest,status:$r.Local,previousStatus:$r.Local,stream:Ka({value:t})}),this.abortInProgressLoad())}reload(){const{status:t}=ss(this.state);return t!==$r.Idle&&t!==$r.Loading&&(this.extRequest.update(({request:n,reload:r})=>({request:n,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:$r.Idle,previousStatus:$r.Idle,stream:void 0})}loadEffect(){var t=this;return(0,I.A)(function*(){const n=t.extRequest(),{status:r,previousStatus:i}=ss(t.state);if(void 0===n.request)return;if(r!==$r.Loading)return;t.abortInProgressLoad();let o=t.resolvePendingTask=t.pendingTasks.add();const{signal:a}=t.pendingController=new AbortController;try{const f=yield ss(()=>t.loaderFn({request:n.request,abortSignal:a,previous:{status:i}}));if(a.aborted||ss(t.extRequest)!==n)return;t.state.set({extRequest:n,status:$r.Resolved,previousStatus:$r.Resolved,stream:f})}catch(f){if(a.aborted||ss(t.extRequest)!==n)return;t.state.set({extRequest:n,status:$r.Resolved,previousStatus:$r.Error,stream:Ka({error:f})})}finally{o?.(),o=void 0}})()}abortInProgressLoad(){ss(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}}function xw(e){switch(e.status){case $r.Loading:return 0===e.extRequest.reload?$r.Loading:$r.Reloading;case $r.Resolved:return vg(ss(e.stream))?$r.Resolved:$r.Error;default:return e.status}}function vg(e){return void 0===e.error}function Yk(e,t){const n=m(e),r=t.elementInjector||Ua();return new Rc(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function Zk(e){const t=m(e);if(!t)return null;const n=new Rc(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}},8496:(_t,Ne,M)=>{"use strict";function I(x,z){return x.reduce((s,X,u)=>(s[X]=z[u],s),{})}M.d(Ne,{e:()=>I})},8750:(_t,Ne,M)=>{"use strict";M.d(Ne,{Tg:()=>Pe});var I=M(1635),x=M(7441),z=M(9858),s=M(1985),X=M(5055),u=M(7953),y=M(591),j=M(5397),L=M(5196),B=M(8071),ie=M(5334),De=M(3494);function Pe(Qe){if(Qe instanceof s.c)return Qe;if(null!=Qe){if((0,X.l)(Qe))return function le(Qe){return new s.c(he=>{const it=Qe[De.s]();if((0,B.T)(it.subscribe))return it.subscribe(he);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(Qe);if((0,x.X)(Qe))return function Oe(Qe){return new s.c(he=>{for(let it=0;it<Qe.length&&!he.closed;it++)he.next(Qe[it]);he.complete()})}(Qe);if((0,z.y)(Qe))return function at(Qe){return new s.c(he=>{Qe.then(it=>{he.closed||(he.next(it),he.complete())},it=>he.error(it)).then(null,ie.m)})}(Qe);if((0,u.T)(Qe))return st(Qe);if((0,j.x)(Qe))return function wt(Qe){return new s.c(he=>{for(const it of Qe)if(he.next(it),he.closed)return;he.complete()})}(Qe);if((0,L.U)(Qe))return function nt(Qe){return st((0,L.C)(Qe))}(Qe)}throw(0,y.L)(Qe)}function st(Qe){return new s.c(he=>{(function ze(Qe,he){var it,D,$e,We;return(0,I.sH)(this,void 0,void 0,function*(){try{for(it=(0,I.xN)(Qe);!(D=yield it.next()).done;)if(he.next(D.value),he.closed)return}catch($t){$e={error:$t}}finally{try{D&&!D.done&&(We=it.return)&&(yield We.call(it))}finally{if($e)throw $e.error}}he.complete()})})(Qe,he).catch(it=>he.error(it))})}},8793:(_t,Ne,M)=>{"use strict";M.d(Ne,{x:()=>X});var I=M(6365),z=M(9326),s=M(6648);function X(...u){return function x(){return(0,I.U)(1)}()((0,s.H)(u,(0,z.lI)(u)))}},8810:(_t,Ne,M)=>{"use strict";M.d(Ne,{$:()=>z});var I=M(1985),x=M(8071);function z(s,X){const u=(0,x.T)(s)?s:()=>s,y=j=>j.error(u());return new I.c(X?j=>X.schedule(y,0,j):y)}},8834:(_t,Ne,M)=>{"use strict";M.d(Ne,{D:()=>Wr,E:()=>Dr,G:()=>zi,I:()=>qo,M:()=>Ke,X:()=>$n,a2:()=>Gi,a3:()=>Bo,a5:()=>Ao,a9:()=>z});var I=M(8457),x=M(2300);let z=(()=>{class A extends x.a{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(F,H){super(),this._platformLocation=F,null!=H&&(this._baseHref=H)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(F){this._removeListenerFns.push(this._platformLocation.onPopState(F),this._platformLocation.onHashChange(F))}getBaseHref(){return this._baseHref}path(F=!1){const H=this._platformLocation.hash??"#";return H.length>0?H.substring(1):H}prepareExternalUrl(F){const H=(0,x.j)(this._baseHref,F);return H.length>0?"#"+H:H}pushState(F,H,ye,Ze){const ft=this.prepareExternalUrl(ye+(0,x.n)(Ze))||this._platformLocation.pathname;this._platformLocation.pushState(F,H,ft)}replaceState(F,H,ye,Ze){const ft=this.prepareExternalUrl(ye+(0,x.n)(Ze))||this._platformLocation.pathname;this._platformLocation.replaceState(F,H,ft)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(F=0){this._platformLocation.historyGo?.(F)}static \u0275fac=function(H){return new(H||A)(I.KVO(x.c),I.KVO(x.A,8))};static \u0275prov=I.jDH({token:A,factory:A.\u0275fac})}return A})();const s={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var X=function(A){return A[A.Decimal=0]="Decimal",A[A.Percent=1]="Percent",A[A.Currency=2]="Currency",A[A.Scientific=3]="Scientific",A}(X||{}),y=function(A){return A[A.Format=0]="Format",A[A.Standalone=1]="Standalone",A}(y||{}),j=function(A){return A[A.Narrow=0]="Narrow",A[A.Abbreviated=1]="Abbreviated",A[A.Wide=2]="Wide",A[A.Short=3]="Short",A}(j||{}),L=function(A){return A[A.Short=0]="Short",A[A.Medium=1]="Medium",A[A.Long=2]="Long",A[A.Full=3]="Full",A}(L||{});function nt(A,te){return Ln((0,I.H5H)(A)[I.KH2.DateFormat],te)}function ze(A,te){return Ln((0,I.H5H)(A)[I.KH2.TimeFormat],te)}function Qe(A,te){return Ln((0,I.H5H)(A)[I.KH2.DateTimeFormat],te)}function he(A,te){const F=(0,I.H5H)(A),H=F[I.KH2.NumberSymbols][te];if(typeof H>"u"){if(12===te)return F[I.KH2.NumberSymbols][0];if(13===te)return F[I.KH2.NumberSymbols][1]}return H}function it(A,te){return(0,I.H5H)(A)[I.KH2.NumberFormats][te]}function Kn(A){if(!A[I.KH2.ExtraData])throw new Error(`Missing extra locale data for the locale "${A[I.KH2.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ln(A,te){for(let F=te;F>-1;F--)if(typeof A[F]<"u")return A[F];throw new Error("Locale data API: locale data undefined")}function ln(A){const[te,F]=A.split(":");return{hours:+te,minutes:+F}}const _e=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Me={},ue=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function ve(A,te,F,H){let ye=function Kt(A){if(Rn(A))return A;if("number"==typeof A&&!isNaN(A))return new Date(A);if("string"==typeof A){if(A=A.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(A)){const[ye,Ze=1,ft=1]=A.split("-").map(Le=>+Le);return ne(ye,Ze-1,ft)}const F=parseFloat(A);if(!isNaN(A-F))return new Date(F);let H;if(H=A.match(_e))return function jt(A){const te=new Date(0);let F=0,H=0;const ye=A[8]?te.setUTCFullYear:te.setFullYear,Ze=A[8]?te.setUTCHours:te.setHours;A[9]&&(F=Number(A[9]+A[10]),H=Number(A[9]+A[11])),ye.call(te,Number(A[1]),Number(A[2])-1,Number(A[3]));const ft=Number(A[4]||0)-F,Le=Number(A[5]||0)-H,Cn=Number(A[6]||0),yn=Math.floor(1e3*parseFloat("0."+(A[7]||0)));return Ze.call(te,ft,Le,Cn,yn),te}(H)}const te=new Date(A);if(!Rn(te))throw new Error(`Unable to convert "${A}" into a date`);return te}(A);te=Z(F,te)||te;let Le,ft=[];for(;te;){if(Le=ue.exec(te),!Le){ft.push(te);break}{ft=ft.concat(Le.slice(1));const Mn=ft.pop();if(!Mn)break;te=Mn}}let Cn=ye.getTimezoneOffset();H&&(Cn=Ve(H,Cn),ye=function tt(A,te){const ye=A.getTimezoneOffset();return function ct(A,te){return(A=new Date(A.getTime())).setMinutes(A.getMinutes()+te),A}(A,-1*(Ve(te,ye)-ye))}(ye,H));let yn="";return ft.forEach(Mn=>{const dn=function Ct(A){if(Xe[A])return Xe[A];let te;switch(A){case"G":case"GG":case"GGG":te=At(3,j.Abbreviated);break;case"GGGG":te=At(3,j.Wide);break;case"GGGGG":te=At(3,j.Narrow);break;case"y":te=Dt(0,1,0,!1,!0);break;case"yy":te=Dt(0,2,0,!0,!0);break;case"yyy":te=Dt(0,3,0,!1,!0);break;case"yyyy":te=Dt(0,4,0,!1,!0);break;case"Y":te=qn(1);break;case"YY":te=qn(2,!0);break;case"YYY":te=qn(3);break;case"YYYY":te=qn(4);break;case"M":case"L":te=Dt(1,1,1);break;case"MM":case"LL":te=Dt(1,2,1);break;case"MMM":te=At(2,j.Abbreviated);break;case"MMMM":te=At(2,j.Wide);break;case"MMMMM":te=At(2,j.Narrow);break;case"LLL":te=At(2,j.Abbreviated,y.Standalone);break;case"LLLL":te=At(2,j.Wide,y.Standalone);break;case"LLLLL":te=At(2,j.Narrow,y.Standalone);break;case"w":te=kt(1);break;case"ww":te=kt(2);break;case"W":te=kt(1,!0);break;case"d":te=Dt(2,1);break;case"dd":te=Dt(2,2);break;case"c":case"cc":te=Dt(7,1);break;case"ccc":te=At(1,j.Abbreviated,y.Standalone);break;case"cccc":te=At(1,j.Wide,y.Standalone);break;case"ccccc":te=At(1,j.Narrow,y.Standalone);break;case"cccccc":te=At(1,j.Short,y.Standalone);break;case"E":case"EE":case"EEE":te=At(1,j.Abbreviated);break;case"EEEE":te=At(1,j.Wide);break;case"EEEEE":te=At(1,j.Narrow);break;case"EEEEEE":te=At(1,j.Short);break;case"a":case"aa":case"aaa":te=At(0,j.Abbreviated);break;case"aaaa":te=At(0,j.Wide);break;case"aaaaa":te=At(0,j.Narrow);break;case"b":case"bb":case"bbb":te=At(0,j.Abbreviated,y.Standalone,!0);break;case"bbbb":te=At(0,j.Wide,y.Standalone,!0);break;case"bbbbb":te=At(0,j.Narrow,y.Standalone,!0);break;case"B":case"BB":case"BBB":te=At(0,j.Abbreviated,y.Format,!0);break;case"BBBB":te=At(0,j.Wide,y.Format,!0);break;case"BBBBB":te=At(0,j.Narrow,y.Format,!0);break;case"h":te=Dt(3,1,-12);break;case"hh":te=Dt(3,2,-12);break;case"H":te=Dt(3,1);break;case"HH":te=Dt(3,2);break;case"m":te=Dt(4,1);break;case"mm":te=Dt(4,2);break;case"s":te=Dt(5,1);break;case"ss":te=Dt(5,2);break;case"S":te=Dt(6,1);break;case"SS":te=Dt(6,2);break;case"SSS":te=Dt(6,3);break;case"Z":case"ZZ":case"ZZZ":te=dt(0);break;case"ZZZZZ":te=dt(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":te=dt(1);break;case"OOOO":case"ZZZZ":case"zzzz":te=dt(2);break;default:return null}return Xe[A]=te,te}(Mn);yn+=dn?dn(ye,F,Cn):"''"===Mn?"'":Mn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),yn}function ne(A,te,F){const H=new Date(0);return H.setFullYear(A,te,F),H.setHours(0,0,0),H}function Z(A,te){const F=function De(A){return(0,I.H5H)(A)[I.KH2.LocaleId]}(A);if(Me[F]??={},Me[F][te])return Me[F][te];let H="";switch(te){case"shortDate":H=nt(A,L.Short);break;case"mediumDate":H=nt(A,L.Medium);break;case"longDate":H=nt(A,L.Long);break;case"fullDate":H=nt(A,L.Full);break;case"shortTime":H=ze(A,L.Short);break;case"mediumTime":H=ze(A,L.Medium);break;case"longTime":H=ze(A,L.Long);break;case"fullTime":H=ze(A,L.Full);break;case"short":const ye=Z(A,"shortTime"),Ze=Z(A,"shortDate");H=ke(Qe(A,L.Short),[ye,Ze]);break;case"medium":const ft=Z(A,"mediumTime"),Le=Z(A,"mediumDate");H=ke(Qe(A,L.Medium),[ft,Le]);break;case"long":const Cn=Z(A,"longTime"),yn=Z(A,"longDate");H=ke(Qe(A,L.Long),[Cn,yn]);break;case"full":const Mn=Z(A,"fullTime"),dn=Z(A,"fullDate");H=ke(Qe(A,L.Full),[Mn,dn])}return H&&(Me[F][te]=H),H}function ke(A,te){return te&&(A=A.replace(/\{([^}]+)}/g,function(F,H){return null!=te&&H in te?te[H]:F})),A}function ot(A,te,F="-",H,ye){let Ze="";(A<0||ye&&A<=0)&&(ye?A=1-A:(A=-A,Ze=F));let ft=String(A);for(;ft.length<te;)ft="0"+ft;return H&&(ft=ft.slice(ft.length-te)),Ze+ft}function Dt(A,te,F=0,H=!1,ye=!1){return function(Ze,ft){let Le=function pn(A,te){switch(A){case 0:return te.getFullYear();case 1:return te.getMonth();case 2:return te.getDate();case 3:return te.getHours();case 4:return te.getMinutes();case 5:return te.getSeconds();case 6:return te.getMilliseconds();case 7:return te.getDay();default:throw new Error(`Unknown DateType value "${A}".`)}}(A,Ze);if((F>0||Le>-F)&&(Le+=F),3===A)0===Le&&-12===F&&(Le=12);else if(6===A)return function an(A,te){return ot(A,3).substring(0,te)}(Le,te);const Cn=he(ft,5);return ot(Le,te,Cn,H,ye)}}function At(A,te,F=y.Format,H=!1){return function(ye,Ze){return function xe(A,te,F,H,ye,Ze){switch(F){case 2:return function Oe(A,te,F){const H=(0,I.H5H)(A),Ze=Ln([H[I.KH2.MonthsFormat],H[I.KH2.MonthsStandalone]],te);return Ln(Ze,F)}(te,ye,H)[A.getMonth()];case 1:return function le(A,te,F){const H=(0,I.H5H)(A),Ze=Ln([H[I.KH2.DaysFormat],H[I.KH2.DaysStandalone]],te);return Ln(Ze,F)}(te,ye,H)[A.getDay()];case 0:const ft=A.getHours(),Le=A.getMinutes();if(Ze){const yn=function rn(A){const te=(0,I.H5H)(A);return Kn(te),(te[I.KH2.ExtraData][2]||[]).map(H=>"string"==typeof H?ln(H):[ln(H[0]),ln(H[1])])}(te),Mn=function In(A,te,F){const H=(0,I.H5H)(A);Kn(H);const Ze=Ln([H[I.KH2.ExtraData][0],H[I.KH2.ExtraData][1]],te)||[];return Ln(Ze,F)||[]}(te,ye,H),dn=yn.findIndex(mr=>{if(Array.isArray(mr)){const[zn,rr]=mr,Kr=ft>=zn.hours&&Le>=zn.minutes,ir=ft<rr.hours||ft===rr.hours&&Le<rr.minutes;if(zn.hours<rr.hours){if(Kr&&ir)return!0}else if(Kr||ir)return!0}else if(mr.hours===ft&&mr.minutes===Le)return!0;return!1});if(-1!==dn)return Mn[dn]}return function Pe(A,te,F){const H=(0,I.H5H)(A),Ze=Ln([H[I.KH2.DayPeriodsFormat],H[I.KH2.DayPeriodsStandalone]],te);return Ln(Ze,F)}(te,ye,H)[ft<12?0:1];case 3:return function at(A,te){return Ln((0,I.H5H)(A)[I.KH2.Eras],te)}(te,H)[A.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${F}`)}}(ye,Ze,A,te,F,H)}}function dt(A){return function(te,F,H){const ye=-1*H,Ze=he(F,5),ft=ye>0?Math.floor(ye/60):Math.ceil(ye/60);switch(A){case 0:return(ye>=0?"+":"")+ot(ft,2,Ze)+ot(Math.abs(ye%60),2,Ze);case 1:return"GMT"+(ye>=0?"+":"")+ot(ft,1,Ze);case 2:return"GMT"+(ye>=0?"+":"")+ot(ft,2,Ze)+":"+ot(Math.abs(ye%60),2,Ze);case 3:return 0===H?"Z":(ye>=0?"+":"")+ot(ft,2,Ze)+":"+ot(Math.abs(ye%60),2,Ze);default:throw new Error(`Unknown zone width "${A}"`)}}}const oe=0,Se=4;function ut(A){const te=A.getDay(),F=0===te?-3:Se-te;return ne(A.getFullYear(),A.getMonth(),A.getDate()+F)}function kt(A,te=!1){return function(F,H){let ye;if(te){const Ze=new Date(F.getFullYear(),F.getMonth(),1).getDay()-1,ft=F.getDate();ye=1+Math.floor((ft+Ze)/7)}else{const Ze=ut(F),ft=function rt(A){const te=ne(A,oe,1).getDay();return ne(A,0,1+(te<=Se?Se:Se+7)-te)}(Ze.getFullYear()),Le=Ze.getTime()-ft.getTime();ye=1+Math.round(Le/6048e5)}return ot(ye,A,he(H,5))}}function qn(A,te=!1){return function(F,H){return ot(ut(F).getFullYear(),A,he(H,5),te)}}const Xe={};function Ve(A,te){A=A.replace(/:/g,"");const F=Date.parse("Jan 01, 1970 00:00:00 "+A)/6e4;return isNaN(F)?te:F}function Rn(A){return A instanceof Date&&!isNaN(A.valueOf())}const er=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Ni(A,te,F,H,ye,Ze,ft=!1){let Le="",Cn=!1;if(isFinite(A)){let yn=function Mo(A){let H,ye,Ze,ft,Le,te=Math.abs(A)+"",F=0;for((ye=te.indexOf("."))>-1&&(te=te.replace(".","")),(Ze=te.search(/e/i))>0?(ye<0&&(ye=Ze),ye+=+te.slice(Ze+1),te=te.substring(0,Ze)):ye<0&&(ye=te.length),Ze=0;"0"===te.charAt(Ze);Ze++);if(Ze===(Le=te.length))H=[0],ye=1;else{for(Le--;"0"===te.charAt(Le);)Le--;for(ye-=Ze,H=[],ft=0;Ze<=Le;Ze++,ft++)H[ft]=Number(te.charAt(Ze))}return ye>22&&(H=H.splice(0,21),F=ye-1,ye=1),{digits:H,exponent:F,integerLen:ye}}(A);ft&&(yn=function ki(A){if(0===A.digits[0])return A;const te=A.digits.length-A.integerLen;return A.exponent?A.exponent+=2:(0===te?A.digits.push(0,0):1===te&&A.digits.push(0),A.integerLen+=2),A}(yn));let Mn=te.minInt,dn=te.minFrac,mr=te.maxFrac;if(Ze){const G=Ze.match(er);if(null===G)throw new Error(`${Ze} is not a valid digit info`);const Te=G[1],ae=G[3],Ie=G[5];null!=Te&&(Mn=Er(Te)),null!=ae&&(dn=Er(ae)),null!=Ie?mr=Er(Ie):null!=ae&&dn>mr&&(mr=dn)}!function Fr(A,te,F){if(te>F)throw new Error(`The minimum number of digits after fraction (${te}) is higher than the maximum (${F}).`);let H=A.digits,ye=H.length-A.integerLen;const Ze=Math.min(Math.max(te,ye),F);let ft=Ze+A.integerLen,Le=H[ft];if(ft>0){H.splice(Math.max(A.integerLen,ft));for(let dn=ft;dn<H.length;dn++)H[dn]=0}else{ye=Math.max(0,ye),A.integerLen=1,H.length=Math.max(1,ft=Ze+1),H[0]=0;for(let dn=1;dn<ft;dn++)H[dn]=0}if(Le>=5)if(ft-1<0){for(let dn=0;dn>ft;dn--)H.unshift(0),A.integerLen++;H.unshift(1),A.integerLen++}else H[ft-1]++;for(;ye<Math.max(0,Ze);ye++)H.push(0);let Cn=0!==Ze;const yn=te+A.integerLen,Mn=H.reduceRight(function(dn,mr,zn,rr){return rr[zn]=(mr+=dn)<10?mr:mr-10,Cn&&(0===rr[zn]&&zn>=yn?rr.pop():Cn=!1),mr>=10?1:0},0);Mn&&(H.unshift(Mn),A.integerLen++)}(yn,dn,mr);let zn=yn.digits,rr=yn.integerLen;const Kr=yn.exponent;let ir=[];for(Cn=zn.every(G=>!G);rr<Mn;rr++)zn.unshift(0);for(;rr<0;rr++)zn.unshift(0);rr>0?ir=zn.splice(rr,zn.length):(ir=zn,zn=[0]);const Gn=[];for(zn.length>=te.lgSize&&Gn.unshift(zn.splice(-te.lgSize,zn.length).join(""));zn.length>te.gSize;)Gn.unshift(zn.splice(-te.gSize,zn.length).join(""));zn.length&&Gn.unshift(zn.join("")),Le=Gn.join(he(F,H)),ir.length&&(Le+=he(F,ye)+ir.join("")),Kr&&(Le+=he(F,6)+"+"+Kr)}else Le=he(F,9);return Le=A<0&&!Cn?te.negPre+Le+te.negSuf:te.posPre+Le+te.posSuf,Le}function si(A,te="-"){const F={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},H=A.split(";"),ye=H[0],Ze=H[1],ft=-1!==ye.indexOf(".")?ye.split("."):[ye.substring(0,ye.lastIndexOf("0")+1),ye.substring(ye.lastIndexOf("0")+1)],Le=ft[0],Cn=ft[1]||"";F.posPre=Le.substring(0,Le.indexOf("#"));for(let Mn=0;Mn<Cn.length;Mn++){const dn=Cn.charAt(Mn);"0"===dn?F.minFrac=F.maxFrac=Mn+1:"#"===dn?F.maxFrac=Mn+1:F.posSuf+=dn}const yn=Le.split(",");if(F.gSize=yn[1]?yn[1].length:0,F.lgSize=yn[2]||yn[1]?(yn[2]||yn[1]).length:0,Ze){const Mn=ye.length-F.posPre.length-F.posSuf.length,dn=Ze.indexOf("#");F.negPre=Ze.substring(0,dn).replace(/'/g,""),F.negSuf=Ze.slice(dn+Mn).replace(/'/g,"")}else F.negPre=te+F.posPre,F.negSuf=F.posSuf;return F}function Er(A){const te=parseInt(A);if(isNaN(te))throw new Error("Invalid integer literal when parsing "+A);return te}const to=/\s+/,Lr=[];let Dr=(()=>{class A{_ngEl;_renderer;initialClasses=Lr;rawClass;stateMap=new Map;constructor(F,H){this._ngEl=F,this._renderer=H}set klass(F){this.initialClasses=null!=F?F.trim().split(to):Lr}set ngClass(F){this.rawClass="string"==typeof F?F.trim().split(to):F}ngDoCheck(){for(const H of this.initialClasses)this._updateState(H,!0);const F=this.rawClass;if(Array.isArray(F)||F instanceof Set)for(const H of F)this._updateState(H,!0);else if(null!=F)for(const H of Object.keys(F))this._updateState(H,!!F[H]);this._applyStateDiff()}_updateState(F,H){const ye=this.stateMap.get(F);void 0!==ye?(ye.enabled!==H&&(ye.changed=!0,ye.enabled=H),ye.touched=!0):this.stateMap.set(F,{enabled:H,changed:!0,touched:!0})}_applyStateDiff(){for(const F of this.stateMap){const H=F[0],ye=F[1];ye.changed?(this._toggleClass(H,ye.enabled),ye.changed=!1):ye.touched||(ye.enabled&&this._toggleClass(H,!1),this.stateMap.delete(H)),ye.touched=!1}}_toggleClass(F,H){(F=F.trim()).length>0&&F.split(to).forEach(ye=>{H?this._renderer.addClass(this._ngEl.nativeElement,ye):this._renderer.removeClass(this._ngEl.nativeElement,ye)})}static \u0275fac=function(H){return new(H||A)(I.rXU(I.aKT),I.rXU(I.sFG))};static \u0275dir=I.FsC({type:A,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return A})();class ho{$implicit;ngForOf;index;count;constructor(te,F,H,ye){this.$implicit=te,this.ngForOf=F,this.index=H,this.count=ye}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let zi=(()=>{class A{_viewContainer;_template;_differs;set ngForOf(F){this._ngForOf=F,this._ngForOfDirty=!0}set ngForTrackBy(F){this._trackByFn=F}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(F,H,ye){this._viewContainer=F,this._template=H,this._differs=ye}set ngForTemplate(F){F&&(this._template=F)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const F=this._ngForOf;!this._differ&&F&&(this._differ=this._differs.find(F).create(this.ngForTrackBy))}if(this._differ){const F=this._differ.diff(this._ngForOf);F&&this._applyChanges(F)}}_applyChanges(F){const H=this._viewContainer;F.forEachOperation((ye,Ze,ft)=>{if(null==ye.previousIndex)H.createEmbeddedView(this._template,new ho(ye.item,this._ngForOf,-1,-1),null===ft?void 0:ft);else if(null==ft)H.remove(null===Ze?void 0:Ze);else if(null!==Ze){const Le=H.get(Ze);H.move(Le,ft),po(Le,ye)}});for(let ye=0,Ze=H.length;ye<Ze;ye++){const Le=H.get(ye).context;Le.index=ye,Le.count=Ze,Le.ngForOf=this._ngForOf}F.forEachIdentityChange(ye=>{po(H.get(ye.currentIndex),ye)})}static ngTemplateContextGuard(F,H){return!0}static \u0275fac=function(H){return new(H||A)(I.rXU(I.c1b),I.rXU(I.C4Q),I.rXU(I._q3))};static \u0275dir=I.FsC({type:A,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return A})();function po(A,te){A.context.$implicit=te.item}let qo=(()=>{class A{_viewContainer;_context=new Yo;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(F,H){this._viewContainer=F,this._thenTemplateRef=H}set ngIf(F){this._context.$implicit=this._context.ngIf=F,this._updateView()}set ngIfThen(F){xi(F),this._thenTemplateRef=F,this._thenViewRef=null,this._updateView()}set ngIfElse(F){xi(F),this._elseTemplateRef=F,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(F,H){return!0}static \u0275fac=function(H){return new(H||A)(I.rXU(I.c1b),I.rXU(I.C4Q))};static \u0275dir=I.FsC({type:A,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return A})();class Yo{$implicit=null;ngIf=null}function xi(A,te){if(A&&!A.createEmbeddedView)throw new I.wOt(2020,!1)}let Ke=(()=>{class A{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(F,H,ye){this._ngEl=F,this._differs=H,this._renderer=ye}set ngStyle(F){this._ngStyle=F,!this._differ&&F&&(this._differ=this._differs.find(F).create())}ngDoCheck(){if(this._differ){const F=this._differ.diff(this._ngStyle);F&&this._applyChanges(F)}}_setStyle(F,H){const[ye,Ze]=F.split("."),ft=-1===ye.indexOf("-")?void 0:I.czy.DashCase;null!=H?this._renderer.setStyle(this._ngEl.nativeElement,ye,Ze?`${H}${Ze}`:H,ft):this._renderer.removeStyle(this._ngEl.nativeElement,ye,ft)}_applyChanges(F){F.forEachRemovedItem(H=>this._setStyle(H.key,null)),F.forEachAddedItem(H=>this._setStyle(H.key,H.currentValue)),F.forEachChangedItem(H=>this._setStyle(H.key,H.currentValue))}static \u0275fac=function(H){return new(H||A)(I.rXU(I.aKT),I.rXU(I.MKu),I.rXU(I.sFG))};static \u0275dir=I.FsC({type:A,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return A})();function It(A,te){return new I.wOt(2100,!1)}const Bn=new I.nKC(""),Un=new I.nKC("");let $n=(()=>{class A{locale;defaultTimezone;defaultOptions;constructor(F,H,ye){this.locale=F,this.defaultTimezone=H,this.defaultOptions=ye}transform(F,H,ye,Ze){if(null==F||""===F||F!=F)return null;try{return ve(F,H??this.defaultOptions?.dateFormat??"mediumDate",Ze||this.locale,ye??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ft){throw It()}}static \u0275fac=function(H){return new(H||A)(I.rXU(I.xe9,16),I.rXU(Bn,24),I.rXU(Un,24))};static \u0275pipe=I.EJ8({name:"date",type:A,pure:!0})}return A})(),Bo=(()=>{class A{_locale;constructor(F){this._locale=F}transform(F,H,ye){if(!Gr(F))return null;ye||=this._locale;try{return function oi(A,te,F){return Ni(A,si(it(te,X.Decimal),he(te,5)),te,1,0,F)}(fi(F),ye,H)}catch(Ze){throw It()}}static \u0275fac=function(H){return new(H||A)(I.rXU(I.xe9,16))};static \u0275pipe=I.EJ8({name:"number",type:A,pure:!0})}return A})(),Gi=(()=>{class A{_locale;_defaultCurrencyCode;constructor(F,H="USD"){this._locale=F,this._defaultCurrencyCode=H}transform(F,H=this._defaultCurrencyCode,ye="symbol",Ze,ft){if(!Gr(F))return null;ft||=this._locale,"boolean"==typeof ye&&(ye=ye?"symbol":"code");let Le=H||this._defaultCurrencyCode;"code"!==ye&&(Le="symbol"===ye||"symbol-narrow"===ye?function or(A,te,F="en"){const H=function $t(A){return(0,I.H5H)(A)[I.KH2.Currencies]}(F)[A]||s[A]||[],ye=H[1];return"narrow"===te&&"string"==typeof ye?ye:H[0]||A}(Le,"symbol"===ye?"wide":"narrow",ft):ye);try{return function bi(A,te,F,H,ye){const ft=si(it(te,X.Currency),he(te,5));return ft.minFrac=function vr(A){let te;const F=s[A];return F&&(te=F[2]),"number"==typeof te?te:2}(H),ft.maxFrac=ft.minFrac,Ni(A,ft,te,13,12,ye).replace("\xa4",F).replace("\xa4","").trim()}(fi(F),ft,Le,H,Ze)}catch(Cn){throw It()}}static \u0275fac=function(H){return new(H||A)(I.rXU(I.xe9,16),I.rXU(I.Ocv,16))};static \u0275pipe=I.EJ8({name:"currency",type:A,pure:!0})}return A})();function Gr(A){return!(null==A||""===A||A!=A)}function fi(A){if("string"==typeof A&&!isNaN(Number(A)-parseFloat(A)))return Number(A);if("number"!=typeof A)throw new Error(`${A} is not a number`);return A}let Ao=(()=>{class A{transform(F,H,ye){if(null==F)return null;if("string"!=typeof F&&!Array.isArray(F))throw It();return F.slice(H,ye)}static \u0275fac=function(H){return new(H||A)};static \u0275pipe=I.EJ8({name:"slice",type:A,pure:!1})}return A})(),Wr=(()=>{class A{static \u0275fac=function(H){return new(H||A)};static \u0275mod=I.$C({type:A});static \u0275inj=I.G2t({})}return A})()},9030:(_t,Ne,M)=>{"use strict";M.d(Ne,{v:()=>z});var I=M(1985),x=M(8750);function z(s){return new I.c(X=>{(0,x.Tg)(s()).subscribe(X)})}},9172:(_t,Ne,M)=>{"use strict";M.d(Ne,{Z:()=>s});var I=M(8793),x=M(9326),z=M(9974);function s(...X){const u=(0,x.lI)(X);return(0,z.N)((y,j)=>{(u?(0,I.x)(X,y,u):(0,I.x)(X,y)).subscribe(j)})}},9211:(_t,Ne,M)=>{"use strict";M.d(Ne,{P:()=>z});var I=M(4412),x=M(8457);let z=(()=>{class s{currencySubject=new I.t("DOP");currency$=this.currencySubject.asObservable();changeCurrency(u){this.currencySubject.next(u)}getCurrentCurrency(){return this.currencySubject.value}static \u0275fac=function(y){return new(y||s)};static \u0275prov=x.jDH({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})()},9270:(_t,Ne,M)=>{"use strict";M.d(Ne,{f:()=>I});const I={setTimeout(x,z,...s){const{delegate:X}=I;return X?.setTimeout?X.setTimeout(x,z,...s):setTimeout(x,z,...s)},clearTimeout(x){const{delegate:z}=I;return(z?.clearTimeout||clearTimeout)(x)},delegate:void 0}},9326:(_t,Ne,M)=>{"use strict";M.d(Ne,{R0:()=>u,lI:()=>X,ms:()=>s});var I=M(8071),x=M(9470);function z(y){return y[y.length-1]}function s(y){return(0,I.T)(z(y))?y.pop():void 0}function X(y){return(0,x.m)(z(y))?y.pop():void 0}function u(y,j){return"number"==typeof z(y)?y.pop():j}},9350:(_t,Ne,M)=>{"use strict";M.d(Ne,{G:()=>x});const x=(0,M(1853).L)(z=>function(){z(this),this.name="EmptyError",this.message="no elements in sequence"})},9437:(_t,Ne,M)=>{"use strict";M.d(Ne,{W:()=>s});var I=M(8750),x=M(4360),z=M(9974);function s(X){return(0,z.N)((u,y)=>{let B,j=null,L=!1;j=u.subscribe((0,x._)(y,void 0,void 0,ie=>{B=(0,I.Tg)(X(ie,s(X)(u))),j?(j.unsubscribe(),j=null,B.subscribe(y)):L=!0})),L&&(j.unsubscribe(),j=null,B.subscribe(y))})}},9470:(_t,Ne,M)=>{"use strict";M.d(Ne,{m:()=>x});var I=M(8071);function x(z){return z&&(0,I.T)(z.schedule)}},9786:(_t,Ne,M)=>{"use strict";M.d(Ne,{Y:()=>z,l:()=>s});var I=M(1026);let x=null;function z(X){if(I.$.useDeprecatedSynchronousErrorHandling){const u=!x;if(u&&(x={errorThrown:!1,error:null}),X(),u){const{errorThrown:y,error:j}=x;if(x=null,y)throw j}}else X()}function s(X){I.$.useDeprecatedSynchronousErrorHandling&&x&&(x.errorThrown=!0,x.error=X)}},9814:(_t,Ne,M)=>{"use strict";var I=M(2300),x=M(8257),z=M(460),s=M(8457);const X=new s.nKC("");let u=(()=>{class w{_zone;_plugins;_eventNameToPlugin=new Map;constructor(c,g){this._zone=g,c.forEach(S=>{S.manager=this}),this._plugins=c.slice().reverse()}addEventListener(c,g,S,P){return this._findPluginFor(g).addEventListener(c,g,S,P)}getZone(){return this._zone}_findPluginFor(c){let g=this._eventNameToPlugin.get(c);if(g)return g;if(g=this._plugins.find(P=>P.supports(c)),!g)throw new s.wOt(5101,!1);return this._eventNameToPlugin.set(c,g),g}static \u0275fac=function(g){return new(g||w)(s.KVO(X),s.KVO(s.SKi))};static \u0275prov=s.jDH({token:w,factory:w.\u0275fac})}return w})();class y{_doc;constructor(d){this._doc=d}manager}const j="ng-app-id";function L(w){for(const d of w)d.remove()}function B(w,d){const c=d.createElement("style");return c.textContent=w,c}function De(w,d){const c=d.createElement("link");return c.setAttribute("rel","stylesheet"),c.setAttribute("href",w),c}let Pe=(()=>{class w{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(c,g,S,P={}){this.doc=c,this.appId=g,this.nonce=S,this.isServer=(0,x.b)(P),function ie(w,d,c,g){const S=w.head?.querySelectorAll(`style[${j}="${d}"],link[${j}="${d}"]`);if(S)for(const P of S)P.removeAttribute(j),P instanceof HTMLLinkElement?g.set(P.href.slice(P.href.lastIndexOf("/")+1),{usage:0,elements:[P]}):P.textContent&&c.set(P.textContent,{usage:0,elements:[P]})}(c,g,this.inline,this.external),this.hosts.add(c.head)}addStyles(c,g){for(const S of c)this.addUsage(S,this.inline,B);g?.forEach(S=>this.addUsage(S,this.external,De))}removeStyles(c,g){for(const S of c)this.removeUsage(S,this.inline);g?.forEach(S=>this.removeUsage(S,this.external))}addUsage(c,g,S){const P=g.get(c);P?P.usage++:g.set(c,{usage:1,elements:[...this.hosts].map(ee=>this.addElement(ee,S(c,this.doc)))})}removeUsage(c,g){const S=g.get(c);S&&(S.usage--,S.usage<=0&&(L(S.elements),g.delete(c)))}ngOnDestroy(){for(const[,{elements:c}]of[...this.inline,...this.external])L(c);this.hosts.clear()}addHost(c){this.hosts.add(c);for(const[g,{elements:S}]of this.inline)S.push(this.addElement(c,B(g,this.doc)));for(const[g,{elements:S}]of this.external)S.push(this.addElement(c,De(g,this.doc)))}removeHost(c){this.hosts.delete(c)}addElement(c,g){return this.nonce&&g.setAttribute("nonce",this.nonce),this.isServer&&g.setAttribute(j,this.appId),c.appendChild(g)}static \u0275fac=function(g){return new(g||w)(s.KVO(z.D),s.KVO(s.sZ2),s.KVO(s.BIS,8),s.KVO(s.Agw))};static \u0275prov=s.jDH({token:w,factory:w.\u0275fac})}return w})();const le={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"},Oe=/%COMP%/g,he=new s.nKC("",{providedIn:"root",factory:()=>!0});function $e(w,d){return d.map(c=>c.replace(Oe,w))}let $t=(()=>{class w{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(c,g,S,P,ee,se,we,Re=null,Je=null){this.eventManager=c,this.sharedStylesHost=g,this.appId=S,this.removeStylesOnCompDestroy=P,this.doc=ee,this.platformId=se,this.ngZone=we,this.nonce=Re,this.tracingService=Je,this.platformIsServer=(0,x.b)(se),this.defaultRenderer=new nn(c,ee,we,this.platformIsServer,this.tracingService)}createRenderer(c,g){if(!c||!g)return this.defaultRenderer;this.platformIsServer&&g.encapsulation===s.gXe.ShadowDom&&(g={...g,encapsulation:s.gXe.Emulated});const S=this.getOrCreateRenderer(c,g);return S instanceof ln?S.applyToHost(c):S instanceof Ln&&S.applyStyles(),S}getOrCreateRenderer(c,g){const S=this.rendererByCompId;let P=S.get(g.id);if(!P){const ee=this.doc,se=this.ngZone,we=this.eventManager,Re=this.sharedStylesHost,Je=this.removeStylesOnCompDestroy,be=this.platformIsServer,gt=this.tracingService;switch(g.encapsulation){case s.gXe.Emulated:P=new ln(we,Re,g,this.appId,Je,ee,se,be,gt);break;case s.gXe.ShadowDom:return new Hn(we,Re,c,g,ee,se,this.nonce,be,gt);default:P=new Ln(we,Re,g,Je,ee,se,be,gt)}S.set(g.id,P)}return P}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(c){this.rendererByCompId.delete(c)}static \u0275fac=function(g){return new(g||w)(s.KVO(u),s.KVO(Pe),s.KVO(s.sZ2),s.KVO(he),s.KVO(z.D),s.KVO(s.Agw),s.KVO(s.SKi),s.KVO(s.BIS),s.KVO(s.Lf2,8))};static \u0275prov=s.jDH({token:w,factory:w.\u0275fac})}return w})();class nn{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(d,c,g,S,P){this.eventManager=d,this.doc=c,this.ngZone=g,this.platformIsServer=S,this.tracingService=P}destroy(){}destroyNode=null;createElement(d,c){return c?this.doc.createElementNS(le[c]||c,d):this.doc.createElement(d)}createComment(d){return this.doc.createComment(d)}createText(d){return this.doc.createTextNode(d)}appendChild(d,c){(In(d)?d.content:d).appendChild(c)}insertBefore(d,c,g){d&&(In(d)?d.content:d).insertBefore(c,g)}removeChild(d,c){c.remove()}selectRootElement(d,c){let g="string"==typeof d?this.doc.querySelector(d):d;if(!g)throw new s.wOt(-5104,!1);return c||(g.textContent=""),g}parentNode(d){return d.parentNode}nextSibling(d){return d.nextSibling}setAttribute(d,c,g,S){if(S){c=S+":"+c;const P=le[S];P?d.setAttributeNS(P,c,g):d.setAttribute(c,g)}else d.setAttribute(c,g)}removeAttribute(d,c,g){if(g){const S=le[g];S?d.removeAttributeNS(S,c):d.removeAttribute(`${g}:${c}`)}else d.removeAttribute(c)}addClass(d,c){d.classList.add(c)}removeClass(d,c){d.classList.remove(c)}setStyle(d,c,g,S){S&(s.czy.DashCase|s.czy.Important)?d.style.setProperty(c,g,S&s.czy.Important?"important":""):d.style[c]=g}removeStyle(d,c,g){g&s.czy.DashCase?d.style.removeProperty(c):d.style[c]=""}setProperty(d,c,g){null!=d&&(d[c]=g)}setValue(d,c){d.nodeValue=c}listen(d,c,g,S){if("string"==typeof d&&!(d=(0,I.g)().getGlobalEventTarget(this.doc,d)))throw new s.wOt(5102,!1);let P=this.decoratePreventDefault(g);return this.tracingService?.wrapEventListener&&(P=this.tracingService.wrapEventListener(d,c,P)),this.eventManager.addEventListener(d,c,P,S)}decoratePreventDefault(d){return c=>{if("__ngUnwrap__"===c)return d;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>d(c)):d(c))&&c.preventDefault()}}}function In(w){return"TEMPLATE"===w.tagName&&void 0!==w.content}class Hn extends nn{sharedStylesHost;hostEl;shadowRoot;constructor(d,c,g,S,P,ee,se,we,Re){super(d,P,ee,we,Re),this.sharedStylesHost=c,this.hostEl=g,this.shadowRoot=g.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let Je=S.styles;Je=$e(S.id,Je);for(const gt of Je){const Pt=document.createElement("style");se&&Pt.setAttribute("nonce",se),Pt.textContent=gt,this.shadowRoot.appendChild(Pt)}const be=S.getExternalStyles?.();if(be)for(const gt of be){const Pt=De(gt,P);se&&Pt.setAttribute("nonce",se),this.shadowRoot.appendChild(Pt)}}nodeOrShadowRoot(d){return d===this.hostEl?this.shadowRoot:d}appendChild(d,c){return super.appendChild(this.nodeOrShadowRoot(d),c)}insertBefore(d,c,g){return super.insertBefore(this.nodeOrShadowRoot(d),c,g)}removeChild(d,c){return super.removeChild(null,c)}parentNode(d){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(d)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Ln extends nn{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(d,c,g,S,P,ee,se,we,Re){super(d,P,ee,se,we),this.sharedStylesHost=c,this.removeStylesOnCompDestroy=S;let Je=g.styles;this.styles=Re?$e(Re,Je):Je,this.styleUrls=g.getExternalStyles?.(Re)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}}class ln extends Ln{contentAttr;hostAttr;constructor(d,c,g,S,P,ee,se,we,Re){const Je=S+"-"+g.id;super(d,c,g,P,ee,se,we,Re,Je),this.contentAttr=function it(w){return"_ngcontent-%COMP%".replace(Oe,w)}(Je),this.hostAttr=function D(w){return"_nghost-%COMP%".replace(Oe,w)}(Je)}applyToHost(d){this.applyStyles(),this.setAttribute(d,this.hostAttr,"")}createElement(d,c){const g=super.createElement(d,c);return super.setAttribute(g,this.contentAttr,""),g}}class or extends I.D{supportsDOMEvents=!0}class sr extends or{static makeCurrent(){(0,I.s)(new sr)}onAndCancel(d,c,g,S){return d.addEventListener(c,g,S),()=>{d.removeEventListener(c,g,S)}}dispatchEvent(d,c){d.dispatchEvent(c)}remove(d){d.remove()}createElement(d,c){return(c=c||this.getDefaultDocument()).createElement(d)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(d){return d.nodeType===Node.ELEMENT_NODE}isShadowRoot(d){return d instanceof DocumentFragment}getGlobalEventTarget(d,c){return"window"===c?window:"document"===c?d:"body"===c?d.body:null}getBaseHref(d){const c=function _e(){return vr=vr||document.querySelector("base"),vr?vr.getAttribute("href"):null}();return null==c?null:function Me(w){return new URL(w,document.baseURI).pathname}(c)}resetBaseElement(){vr=null}getUserAgent(){return window.navigator.userAgent}getCookie(d){return(0,x.p)(document.cookie,d)}}let vr=null,ve=(()=>{class w{build(){return new XMLHttpRequest}static \u0275fac=function(g){return new(g||w)};static \u0275prov=s.jDH({token:w,factory:w.\u0275fac})}return w})(),ne=(()=>{class w extends y{constructor(c){super(c)}supports(c){return!0}addEventListener(c,g,S,P){return c.addEventListener(g,S,P),()=>this.removeEventListener(c,g,S,P)}removeEventListener(c,g,S,P){return c.removeEventListener(g,S,P)}static \u0275fac=function(g){return new(g||w)(s.KVO(z.D))};static \u0275prov=s.jDH({token:w,factory:w.\u0275fac})}return w})();const Z=["alt","control","meta","shift"],ke={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ot={alt:w=>w.altKey,control:w=>w.ctrlKey,meta:w=>w.metaKey,shift:w=>w.shiftKey};let an=(()=>{class w extends y{constructor(c){super(c)}supports(c){return null!=w.parseEventName(c)}addEventListener(c,g,S,P){const ee=w.parseEventName(g),se=w.eventCallback(ee.fullKey,S,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,I.g)().onAndCancel(c,ee.domEventName,se,P))}static parseEventName(c){const g=c.toLowerCase().split("."),S=g.shift();if(0===g.length||"keydown"!==S&&"keyup"!==S)return null;const P=w._normalizeKey(g.pop());let ee="",se=g.indexOf("code");if(se>-1&&(g.splice(se,1),ee="code."),Z.forEach(Re=>{const Je=g.indexOf(Re);Je>-1&&(g.splice(Je,1),ee+=Re+".")}),ee+=P,0!=g.length||0===P.length)return null;const we={};return we.domEventName=S,we.fullKey=ee,we}static matchEventFullKeyCode(c,g){let S=ke[c.key]||c.key,P="";return g.indexOf("code.")>-1&&(S=c.code,P="code."),!(null==S||!S)&&(S=S.toLowerCase()," "===S?S="space":"."===S&&(S="dot"),Z.forEach(ee=>{ee!==S&&(0,ot[ee])(c)&&(P+=ee+".")}),P+=S,P===g)}static eventCallback(c,g,S){return P=>{w.matchEventFullKeyCode(P,c)&&S.runGuarded(()=>g(P))}}static _normalizeKey(c){return"esc"===c?"escape":c}static \u0275fac=function(g){return new(g||w)(s.KVO(z.D))};static \u0275prov=s.jDH({token:w,factory:w.\u0275fac})}return w})();function At(w){return{appProviders:[...Xe,...w?.providers??[]],platformProviders:rt}}const rt=[{provide:s.Agw,useValue:x.P},{provide:s.PLl,useValue:function dt(){sr.makeCurrent()},multi:!0},{provide:z.D,useFactory:function Se(){return(0,s.TL$)(document),document}}],Xe=[{provide:s.H8p,useValue:"root"},{provide:s.zcH,useFactory:function oe(){return new s.zcH}},{provide:X,useClass:ne,multi:!0,deps:[z.D]},{provide:X,useClass:an,multi:!0,deps:[z.D]},$t,Pe,u,{provide:s._9s,useExisting:$t},{provide:x.X,useClass:ve},[]];var Ve=M(5528),ct=M(8041);let tt=(()=>{class w{intercept(c,g){if(c.headers.has("skipInterceptor")){const ee=c.headers.delete("skipInterceptor"),se=c.clone({headers:ee});return g.handle(se)}const S=localStorage.getItem("authToken"),P=c.clone({setHeaders:{Authorization:`Bearer ${S??""}`}});return g.handle(P)}static \u0275fac=function(g){return new(g||w)};static \u0275prov=s.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();var Kt=M(5721),jt=M(99);let Rn=(()=>{class w{loginService;router;constructor(c,g){this.loginService=c,this.router=g}canActivate(c,g){return!!this.loginService.isAuthenticated()||(console.warn("AuthGuard: User is not authenticated. Redirecting to login..."),this.router.navigate(["/login"],{queryParams:{returnUrl:g.url}}),!1)}static \u0275fac=function(g){return new(g||w)(s.KVO(Kt.H),s.KVO(jt.t))};static \u0275prov=s.jDH({token:w,factory:w.\u0275fac,providedIn:"root"})}return w})();const er=[{path:"",loadComponent:()=>Promise.all([M.e(417),M.e(423),M.e(76),M.e(51)]).then(M.bind(M,9051)).then(w=>w.WelcomeComponent)},{path:"dashboard",loadComponent:()=>Promise.all([M.e(417),M.e(645),M.e(76),M.e(421)]).then(M.bind(M,2421)).then(w=>w.CustomerComponent),canActivate:[Rn],providers:[{provide:ct.k,useClass:tt,multi:!0}],children:[{path:"panel",loadComponent:()=>Promise.all([M.e(76),M.e(443)]).then(M.bind(M,745)).then(w=>w.CustomerDashboardComponent),canActivate:[Rn]},{path:"order/:id",loadComponent:()=>M.e(329).then(M.bind(M,1329)).then(w=>w.CustomerOrderDetailComponent),canActivate:[Rn]}]},{path:"login",loadComponent:()=>Promise.all([M.e(417),M.e(195)]).then(M.bind(M,7195)).then(w=>w.LoginComponent)},{path:"register",loadComponent:()=>M.e(739).then(M.bind(M,2739)).then(w=>w.RegisterComponent)},{path:"forgot-password",loadComponent:()=>M.e(439).then(M.bind(M,6439)).then(w=>w.ForgotPasswordComponent)},{path:"contact",loadComponent:()=>M.e(343).then(M.bind(M,7343)).then(w=>w.ContactUsComponent)},{path:"product/:slug",loadComponent:()=>Promise.all([M.e(783),M.e(76),M.e(152)]).then(M.bind(M,8152)).then(w=>w.ProductDetailsComponent)},{path:"cart",loadComponent:()=>Promise.all([M.e(417),M.e(783),M.e(645),M.e(205),M.e(76),M.e(796)]).then(M.bind(M,2796)).then(w=>w.CheckoutComponent),canActivate:[Rn],providers:[{provide:ct.k,useClass:tt,multi:!0}]},{path:"checkout",loadComponent:()=>Promise.all([M.e(417),M.e(783),M.e(645),M.e(205),M.e(76),M.e(796)]).then(M.bind(M,2796)).then(w=>w.CheckoutComponent),canActivate:[Rn]},{path:"wishlist",loadComponent:()=>Promise.all([M.e(417),M.e(695)]).then(M.bind(M,8695)).then(w=>w.WishlistComponent),canActivate:[Rn],providers:[{provide:ct.k,useClass:tt,multi:!0}]},{path:"order-tracking/:id",loadComponent:()=>M.e(543).then(M.bind(M,6543)).then(w=>w.TrackerComponent)},{path:"flash",loadComponent:()=>Promise.all([M.e(417),M.e(423),M.e(968),M.e(76),M.e(95)]).then(M.bind(M,7095)).then(w=>w.FlashComponent)},{path:"daily-offers",loadComponent:()=>Promise.all([M.e(417),M.e(423),M.e(968),M.e(76),M.e(95)]).then(M.bind(M,7095)).then(w=>w.FlashComponent)},{path:"compare",loadComponent:()=>M.e(551).then(M.bind(M,8551)).then(w=>w.CompareComponent)},{path:"stores",loadChildren:()=>Promise.all([M.e(417),M.e(423),M.e(968),M.e(205),M.e(891)]).then(M.bind(M,2891)).then(w=>w.StoresRoutingModule)},{path:"blog",loadComponent:()=>Promise.all([M.e(76),M.e(204)]).then(M.bind(M,8204)).then(w=>w.BlogListComponent)},{path:"blog/:slug",loadComponent:()=>Promise.all([M.e(417),M.e(76),M.e(172)]).then(M.bind(M,7172)).then(w=>w.BlogDetailComponent)},{path:"blog/id/:id",loadComponent:()=>Promise.all([M.e(417),M.e(76),M.e(172)]).then(M.bind(M,7172)).then(w=>w.BlogDetailComponent)},{path:"404",loadComponent:()=>M.e(975).then(M.bind(M,3975)).then(w=>w.ErrorPage404Component)},{path:"**",redirectTo:"/404"}];var tr=M(1230);let yr=(()=>{class w{http;prefix;suffix;constructor(c,g="/assets/i18n/",S=".json"){this.http=c,this.prefix=g,this.suffix=S}getTranslation(c){return this.http.get(`${this.prefix}${c}${this.suffix}`)}static \u0275fac=function(g){return new(g||w)(s.KVO(ct.a),s.KVO(String),s.KVO(String))};static \u0275prov=s.jDH({token:w,factory:w.\u0275fac})}return w})();var vt=M(4909),ar=M(9350),Rr=M(7707),Pr=M(5794),Nt=M(2822);function bi(w){return new s.wOt(3e3,!1)}function Qt(w){switch(w.length){case 0:return new Nt.N;case 1:return w[0];default:return new Nt.j(w)}}function Yn(w,d,c=new Map,g=new Map){const S=[],P=[];let ee=-1,se=null;if(d.forEach(we=>{const Re=we.get("offset"),Je=Re==ee,be=Je&&se||new Map;we.forEach((gt,Pt)=>{let Ft=Pt,Ht=gt;if("offset"!==Pt)switch(Ft=w.normalizePropertyName(Ft,S),Ht){case Nt.Q:Ht=c.get(Pt);break;case Nt.d:Ht=g.get(Pt);break;default:Ht=w.normalizeStyleValue(Pt,Ft,Ht,S)}be.set(Ft,Ht)}),Je||P.push(be),se=be,ee=Re}),S.length)throw function _i(){return new s.wOt(3502,!1)}();return P}function Cr(w,d,c,g){switch(d){case"start":w.onStart(()=>g(c&&lr(c,"start",w)));break;case"done":w.onDone(()=>g(c&&lr(c,"done",w)));break;case"destroy":w.onDestroy(()=>g(c&&lr(c,"destroy",w)))}}function lr(w,d,c){const P=gr(w.element,w.triggerName,w.fromState,w.toState,d||w.phaseName,c.totalTime??w.totalTime,!!c.disabled),ee=w._data;return null!=ee&&(P._data=ee),P}function gr(w,d,c,g,S="",P=0,ee){return{element:w,triggerName:d,fromState:c,toState:g,phaseName:S,totalTime:P,disabled:!!ee}}function On(w,d,c){let g=w.get(d);return g||w.set(d,g=c),g}function Wt(w){const d=w.indexOf(":");return[w.substring(1,d),w.slice(d+1)]}const gn=typeof document>"u"?null:document.documentElement;function Nn(w){const d=w.parentNode||w.host||null;return d===gn?null:d}let Un=null,$n=!1;function di(w,d){for(;d;){if(d===w)return!0;d=Nn(d)}return!1}function nr(w,d,c){if(c)return Array.from(w.querySelectorAll(d));const g=w.querySelector(d);return g?[g]:[]}const ei="ng-enter",Gi="ng-leave",Gr="ng-trigger",fi=".ng-trigger",Ao="ng-animating",Si=".ng-animating";function Wr(w){if("number"==typeof w)return w;const d=w.match(/^(-?[\.\d]+)(m?s)/);return!d||d.length<2?0:A(parseFloat(d[1]),d[2])}function A(w,d){return"s"===d?1e3*w:w}function te(w,d,c){return w.hasOwnProperty("duration")?w:function F(w,d,c){let S,P=0,ee="";if("string"==typeof w){const se=w.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===se)return d.push(bi()),{duration:0,delay:0,easing:""};S=A(parseFloat(se[1]),se[2]);const we=se[3];null!=we&&(P=A(parseFloat(we),se[4]));const Re=se[5];Re&&(ee=Re)}else S=w;if(!c){let se=!1,we=d.length;S<0&&(d.push(function Hi(){return new s.wOt(3100,!1)}()),se=!0),P<0&&(d.push(function oi(){return new s.wOt(3101,!1)}()),se=!0),se&&d.splice(we,0,bi())}return{duration:S,delay:P,easing:ee}}(w,d,c)}function Ze(w,d,c){d.forEach((g,S)=>{const P=zn(S);c&&!c.has(S)&&c.set(S,w.style[P]),w.style[P]=g})}function ft(w,d){d.forEach((c,g)=>{const S=zn(g);w.style[S]=""})}function Le(w){return Array.isArray(w)?1==w.length?w[0]:(0,Nt.s)(w):w}const yn=new RegExp("{{\\s*(.+?)\\s*}}","g");function Mn(w){let d=[];if("string"==typeof w){let c;for(;c=yn.exec(w);)d.push(c[1]);yn.lastIndex=0}return d}function dn(w,d,c){const g=`${w}`,S=g.replace(yn,(P,ee)=>{let se=d[ee];return null==se&&(c.push(function ki(){return new s.wOt(3003,!1)}()),se=""),se.toString()});return S==g?w:S}const mr=/-+([a-z0-9])/g;function zn(w){return w.replace(mr,(...d)=>d[1].toUpperCase())}function Gn(w,d,c){switch(d.type){case Nt.A.Trigger:return w.visitTrigger(d,c);case Nt.A.State:return w.visitState(d,c);case Nt.A.Transition:return w.visitTransition(d,c);case Nt.A.Sequence:return w.visitSequence(d,c);case Nt.A.Group:return w.visitGroup(d,c);case Nt.A.Animate:return w.visitAnimate(d,c);case Nt.A.Keyframes:return w.visitKeyframes(d,c);case Nt.A.Style:return w.visitStyle(d,c);case Nt.A.Reference:return w.visitReference(d,c);case Nt.A.AnimateChild:return w.visitAnimateChild(d,c);case Nt.A.AnimateRef:return w.visitAnimateRef(d,c);case Nt.A.Query:return w.visitQuery(d,c);case Nt.A.Stagger:return w.visitStagger(d,c);default:throw function Mo(){return new s.wOt(3004,!1)}()}}function G(w,d){return window.getComputedStyle(w)[d]}let Te=(()=>{class w{validateStyleProperty(c){return function Or(w){Un||(Un=function zr(){return typeof document<"u"?document.body:null}()||{},$n=!!Un.style&&"WebkitAppearance"in Un.style);let d=!0;return Un.style&&!function Bn(w){return"ebkit"==w.substring(1,6)}(w)&&(d=w in Un.style,!d&&$n&&(d="Webkit"+w.charAt(0).toUpperCase()+w.slice(1)in Un.style)),d}(c)}containsElement(c,g){return di(c,g)}getParentElement(c){return Nn(c)}query(c,g,S){return nr(c,g,S)}computeStyle(c,g,S){return S||""}animate(c,g,S,P,ee,se=[],we){return new Nt.N(S,P)}static \u0275fac=function(g){return new(g||w)};static \u0275prov=s.jDH({token:w,factory:w.\u0275fac})}return w})();class ae{static NOOP=new Te}class Ie{}const Mt=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Vt extends Ie{normalizePropertyName(d,c){return zn(d)}normalizeStyleValue(d,c,g,S){let P="";const ee=g.toString().trim();if(Mt.has(c)&&0!==g&&"0"!==g)if("number"==typeof g)P="px";else{const se=g.match(/^[+-]?[\d\.]+([a-z]*)$/);se&&0==se[1].length&&S.push(function Fr(){return new s.wOt(3005,!1)}())}return ee+P}}const jr=new Set(["true","1"]),l=new Set(["false","0"]);function h(w,d){const c=jr.has(w)||l.has(w),g=jr.has(d)||l.has(d);return(S,P)=>{let ee="*"==w||w==S,se="*"==d||d==P;return!ee&&c&&"boolean"==typeof S&&(ee=S?jr.has(w):l.has(w)),!se&&g&&"boolean"==typeof P&&(se=P?jr.has(d):l.has(d)),ee&&se}}const E=":self",T=new RegExp(`s*${E}s*,?`,"g");function O(w,d,c,g){return new U(w).build(d,c,g)}class U{_driver;constructor(d){this._driver=d}build(d,c,g){const S=new Ee(c);return this._resetContextStyleTimingState(S),Gn(this,Le(d),S)}_resetContextStyleTimingState(d){d.currentQuerySelector="",d.collectedStyles=new Map,d.collectedStyles.set("",new Map),d.currentTime=0}visitTrigger(d,c){let g=c.queryCount=0,S=c.depCount=0;const P=[],ee=[];return"@"==d.name.charAt(0)&&c.errors.push(function Er(){return new s.wOt(3006,!1)}()),d.definitions.forEach(se=>{if(this._resetContextStyleTimingState(c),se.type==Nt.A.State){const we=se,Re=we.name;Re.toString().split(/\s*,\s*/).forEach(Je=>{we.name=Je,P.push(this.visitState(we,c))}),we.name=Re}else if(se.type==Nt.A.Transition){const we=this.visitTransition(se,c);g+=we.queryCount,S+=we.depCount,ee.push(we)}else c.errors.push(function ai(){return new s.wOt(3007,!1)}())}),{type:Nt.A.Trigger,name:d.name,states:P,transitions:ee,queryCount:g,depCount:S,options:null}}visitState(d,c){const g=this.visitStyle(d.styles,c),S=d.options&&d.options.params||null;if(g.containsDynamicStyles){const P=new Set,ee=S||{};g.styles.forEach(se=>{se instanceof Map&&se.forEach(we=>{Mn(we).forEach(Re=>{ee.hasOwnProperty(Re)||P.add(Re)})})}),P.size&&c.errors.push(function uo(){return new s.wOt(3008,!1)}(0,P.values()))}return{type:Nt.A.State,name:d.name,style:g,options:S?{params:S}:null}}visitTransition(d,c){c.queryCount=0,c.depCount=0;const g=Gn(this,Le(d.animation),c),S=function pi(w,d){const c=[];return"string"==typeof w?w.split(/\s*,\s*/).forEach(g=>function qt(w,d,c){if(":"==w[0]){const we=function Ki(w,d){switch(w){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(c,g)=>parseFloat(g)>parseFloat(c);case":decrement":return(c,g)=>parseFloat(g)<parseFloat(c);default:return d.push(function Wi(){return new s.wOt(3016,!1)}()),"* => *"}}(w,c);if("function"==typeof we)return void d.push(we);w=we}const g=w.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==g||g.length<4)return c.push(function po(){return new s.wOt(3015,!1)}()),d;const S=g[1],P=g[2],ee=g[3];d.push(h(S,ee)),"<"==P[0]&&("*"!=S||"*"!=ee)&&d.push(h(ee,S))}(g,c,d)):c.push(w),c}(d.expr,c.errors);return{type:Nt.A.Transition,matchers:S,animation:g,queryCount:c.queryCount,depCount:c.depCount,options:pe(d.options)}}visitSequence(d,c){return{type:Nt.A.Sequence,steps:d.steps.map(g=>Gn(this,g,c)),options:pe(d.options)}}visitGroup(d,c){const g=c.currentTime;let S=0;const P=d.steps.map(ee=>{c.currentTime=g;const se=Gn(this,ee,c);return S=Math.max(S,c.currentTime),se});return c.currentTime=S,{type:Nt.A.Group,steps:P,options:pe(d.options)}}visitAnimate(d,c){const g=function Ge(w,d){if(w.hasOwnProperty("duration"))return w;if("number"==typeof w)return pt(te(w,d).duration,0,"");const c=w;if(c.split(/\s+/).some(P=>"{"==P.charAt(0)&&"{"==P.charAt(1))){const P=pt(0,0,"");return P.dynamic=!0,P.strValue=c,P}const S=te(c,d);return pt(S.duration,S.delay,S.easing)}(d.timings,c.errors);c.currentAnimateTimings=g;let S,P=d.styles?d.styles:(0,Nt.h)({});if(P.type==Nt.A.Keyframes)S=this.visitKeyframes(P,c);else{let ee=d.styles,se=!1;if(!ee){se=!0;const Re={};g.easing&&(Re.easing=g.easing),ee=(0,Nt.h)(Re)}c.currentTime+=g.duration+g.delay;const we=this.visitStyle(ee,c);we.isEmptyStep=se,S=we}return c.currentAnimateTimings=null,{type:Nt.A.Animate,timings:g,style:S,options:null}}visitStyle(d,c){const g=this._makeStyleAst(d,c);return this._validateStyleAst(g,c),g}_makeStyleAst(d,c){const g=[],S=Array.isArray(d.styles)?d.styles:[d.styles];for(let se of S)"string"==typeof se?se===Nt.d?g.push(se):c.errors.push(new s.wOt(3002,!1)):g.push(new Map(Object.entries(se)));let P=!1,ee=null;return g.forEach(se=>{if(se instanceof Map&&(se.has("easing")&&(ee=se.get("easing"),se.delete("easing")),!P))for(let we of se.values())if(we.toString().indexOf("{{")>=0){P=!0;break}}),{type:Nt.A.Style,styles:g,easing:ee,offset:d.offset,containsDynamicStyles:P,options:null}}_validateStyleAst(d,c){const g=c.currentAnimateTimings;let S=c.currentTime,P=c.currentTime;g&&P>0&&(P-=g.duration+g.delay),d.styles.forEach(ee=>{"string"!=typeof ee&&ee.forEach((se,we)=>{const Re=c.collectedStyles.get(c.currentQuerySelector),Je=Re.get(we);let be=!0;Je&&(P!=S&&P>=Je.startTime&&S<=Je.endTime&&(c.errors.push(function to(){return new s.wOt(3010,!1)}()),be=!1),P=Je.startTime),be&&Re.set(we,{startTime:P,endTime:S}),c.options&&function Cn(w,d,c){const g=d.params||{},S=Mn(w);S.length&&S.forEach(P=>{g.hasOwnProperty(P)||c.push(function si(){return new s.wOt(3001,!1)}())})}(se,c.options,c.errors)})})}visitKeyframes(d,c){const g={type:Nt.A.Keyframes,styles:[],options:null};if(!c.currentAnimateTimings)return c.errors.push(function Lr(){return new s.wOt(3011,!1)}()),g;let P=0;const ee=[];let se=!1,we=!1,Re=0;const Je=d.steps.map(Nr=>{const fn=this._makeStyleAst(Nr,c);let Vn=null!=fn.offset?fn.offset:function He(w){if("string"==typeof w)return null;let d=null;if(Array.isArray(w))w.forEach(c=>{if(c instanceof Map&&c.has("offset")){const g=c;d=parseFloat(g.get("offset")),g.delete("offset")}});else if(w instanceof Map&&w.has("offset")){const c=w;d=parseFloat(c.get("offset")),c.delete("offset")}return d}(fn.styles),br=0;return null!=Vn&&(P++,br=fn.offset=Vn),we=we||br<0||br>1,se=se||br<Re,Re=br,ee.push(br),fn});we&&c.errors.push(function Dr(){return new s.wOt(3012,!1)}()),se&&c.errors.push(function Hr(){return new s.wOt(3200,!1)}());const be=d.steps.length;let gt=0;P>0&&P<be?c.errors.push(function Ti(){return new s.wOt(3202,!1)}()):0==P&&(gt=1/(be-1));const Pt=be-1,Ft=c.currentTime,Ht=c.currentAnimateTimings,kn=Ht.duration;return Je.forEach((Nr,fn)=>{const Vn=gt>0?fn==Pt?1:gt*fn:ee[fn],br=Vn*kn;c.currentTime=Ft+Ht.delay+br,Ht.duration=br,this._validateStyleAst(Nr,c),Nr.offset=Vn,g.styles.push(Nr)}),g}visitReference(d,c){return{type:Nt.A.Reference,animation:Gn(this,Le(d.animation),c),options:pe(d.options)}}visitAnimateChild(d,c){return c.depCount++,{type:Nt.A.AnimateChild,options:pe(d.options)}}visitAnimateRef(d,c){return{type:Nt.A.AnimateRef,animation:this.visitReference(d.animation,c),options:pe(d.options)}}visitQuery(d,c){const g=c.currentQuerySelector,S=d.options||{};c.queryCount++,c.currentQuery=d;const[P,ee]=function ce(w){const d=!!w.split(/\s*,\s*/).find(c=>c==E);return d&&(w=w.replace(T,"")),w=w.replace(/@\*/g,fi).replace(/@\w+/g,c=>fi+"-"+c.slice(1)).replace(/:animating/g,Si),[w,d]}(d.selector);c.currentQuerySelector=g.length?g+" "+P:P,On(c.collectedStyles,c.currentQuerySelector,new Map);const se=Gn(this,Le(d.animation),c);return c.currentQuery=null,c.currentQuerySelector=g,{type:Nt.A.Query,selector:P,limit:S.limit||0,optional:!!S.optional,includeSelf:ee,animation:se,originalSelector:d.selector,options:pe(d.options)}}visitStagger(d,c){c.currentQuery||c.errors.push(function ho(){return new s.wOt(3013,!1)}());const g="full"===d.timings?{duration:0,delay:0,easing:"full"}:te(d.timings,c.errors,!0);return{type:Nt.A.Stagger,animation:Gn(this,Le(d.animation),c),timings:g,options:null}}}class Ee{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(d){this.errors=d}}function pe(w){return w?(w={...w}).params&&(w.params=function re(w){return w?{...w}:null}(w.params)):w={},w}function pt(w,d,c){return{duration:w,delay:d,easing:c}}function en(w,d,c,g,S,P,ee=null,se=!1){return{type:1,element:w,keyframes:d,preStyleProps:c,postStyleProps:g,duration:S,delay:P,totalTime:S+P,easing:ee,subTimeline:se}}class An{_map=new Map;get(d){return this._map.get(d)||[]}append(d,c){let g=this._map.get(d);g||this._map.set(d,g=[]),g.push(...c)}has(d){return this._map.has(d)}clear(){this._map.clear()}}const Zt=new RegExp(":enter","g"),gi=new RegExp(":leave","g");function cn(w,d,c,g,S,P=new Map,ee=new Map,se,we,Re=[]){return(new Fi).buildKeyframes(w,d,c,g,S,P,ee,se,we,Re)}class Fi{buildKeyframes(d,c,g,S,P,ee,se,we,Re,Je=[]){Re=Re||new An;const be=new fr(d,c,Re,S,P,Je,[]);be.options=we;const gt=we.delay?Wr(we.delay):0;be.currentTimeline.delayNextStep(gt),be.currentTimeline.setStyles([ee],null,be.errors,we),Gn(this,g,be);const Pt=be.timelines.filter(Ft=>Ft.containsAnimation());if(Pt.length&&se.size){let Ft;for(let Ht=Pt.length-1;Ht>=0;Ht--){const kn=Pt[Ht];if(kn.element===c){Ft=kn;break}}Ft&&!Ft.allowOnlyTimelineStyles()&&Ft.setStyles([se],null,be.errors,we)}return Pt.length?Pt.map(Ft=>Ft.buildKeyframes()):[en(c,[],[],[],0,gt,"",!1)]}visitTrigger(d,c){}visitState(d,c){}visitTransition(d,c){}visitAnimateChild(d,c){const g=c.subInstructions.get(c.element);if(g){const S=c.createSubContext(d.options),P=c.currentTimeline.currentTime,ee=this._visitSubInstructions(g,S,S.options);P!=ee&&c.transformIntoNewTimeline(ee)}c.previousNode=d}visitAnimateRef(d,c){const g=c.createSubContext(d.options);g.transformIntoNewTimeline(),this._applyAnimationRefDelays([d.options,d.animation.options],c,g),this.visitReference(d.animation,g),c.transformIntoNewTimeline(g.currentTimeline.currentTime),c.previousNode=d}_applyAnimationRefDelays(d,c,g){for(const S of d){const P=S?.delay;if(P){const ee="number"==typeof P?P:Wr(dn(P,S?.params??{},c.errors));g.delayNextStep(ee)}}}_visitSubInstructions(d,c,g){let P=c.currentTimeline.currentTime;const ee=null!=g.duration?Wr(g.duration):null,se=null!=g.delay?Wr(g.delay):null;return 0!==ee&&d.forEach(we=>{const Re=c.appendInstructionToTimeline(we,ee,se);P=Math.max(P,Re.duration+Re.delay)}),P}visitReference(d,c){c.updateOptions(d.options,!0),Gn(this,d.animation,c),c.previousNode=d}visitSequence(d,c){const g=c.subContextCount;let S=c;const P=d.options;if(P&&(P.params||P.delay)&&(S=c.createSubContext(P),S.transformIntoNewTimeline(),null!=P.delay)){S.previousNode.type==Nt.A.Style&&(S.currentTimeline.snapshotCurrentStyles(),S.previousNode=Tn);const ee=Wr(P.delay);S.delayNextStep(ee)}d.steps.length&&(d.steps.forEach(ee=>Gn(this,ee,S)),S.currentTimeline.applyStylesToKeyframe(),S.subContextCount>g&&S.transformIntoNewTimeline()),c.previousNode=d}visitGroup(d,c){const g=[];let S=c.currentTimeline.currentTime;const P=d.options&&d.options.delay?Wr(d.options.delay):0;d.steps.forEach(ee=>{const se=c.createSubContext(d.options);P&&se.delayNextStep(P),Gn(this,ee,se),S=Math.max(S,se.currentTimeline.currentTime),g.push(se.currentTimeline)}),g.forEach(ee=>c.currentTimeline.mergeTimelineCollectedStyles(ee)),c.transformIntoNewTimeline(S),c.previousNode=d}_visitTiming(d,c){if(d.dynamic){const g=d.strValue;return te(c.params?dn(g,c.params,c.errors):g,c.errors)}return{duration:d.duration,delay:d.delay,easing:d.easing}}visitAnimate(d,c){const g=c.currentAnimateTimings=this._visitTiming(d.timings,c),S=c.currentTimeline;g.delay&&(c.incrementTime(g.delay),S.snapshotCurrentStyles());const P=d.style;P.type==Nt.A.Keyframes?this.visitKeyframes(P,c):(c.incrementTime(g.duration),this.visitStyle(P,c),S.applyStylesToKeyframe()),c.currentAnimateTimings=null,c.previousNode=d}visitStyle(d,c){const g=c.currentTimeline,S=c.currentAnimateTimings;!S&&g.hasCurrentStyleProperties()&&g.forwardFrame();const P=S&&S.easing||d.easing;d.isEmptyStep?g.applyEmptyStep(P):g.setStyles(d.styles,P,c.errors,c.options),c.previousNode=d}visitKeyframes(d,c){const g=c.currentAnimateTimings,S=c.currentTimeline.duration,P=g.duration,se=c.createSubContext().currentTimeline;se.easing=g.easing,d.styles.forEach(we=>{se.forwardTime((we.offset||0)*P),se.setStyles(we.styles,we.easing,c.errors,c.options),se.applyStylesToKeyframe()}),c.currentTimeline.mergeTimelineCollectedStyles(se),c.transformIntoNewTimeline(S+P),c.previousNode=d}visitQuery(d,c){const g=c.currentTimeline.currentTime,S=d.options||{},P=S.delay?Wr(S.delay):0;P&&(c.previousNode.type===Nt.A.Style||0==g&&c.currentTimeline.hasCurrentStyleProperties())&&(c.currentTimeline.snapshotCurrentStyles(),c.previousNode=Tn);let ee=g;const se=c.invokeQuery(d.selector,d.originalSelector,d.limit,d.includeSelf,!!S.optional,c.errors);c.currentQueryTotal=se.length;let we=null;se.forEach((Re,Je)=>{c.currentQueryIndex=Je;const be=c.createSubContext(d.options,Re);P&&be.delayNextStep(P),Re===c.element&&(we=be.currentTimeline),Gn(this,d.animation,be),be.currentTimeline.applyStylesToKeyframe(),ee=Math.max(ee,be.currentTimeline.currentTime)}),c.currentQueryIndex=0,c.currentQueryTotal=0,c.transformIntoNewTimeline(ee),we&&(c.currentTimeline.mergeTimelineCollectedStyles(we),c.currentTimeline.snapshotCurrentStyles()),c.previousNode=d}visitStagger(d,c){const g=c.parentContext,S=c.currentTimeline,P=d.timings,ee=Math.abs(P.duration),se=ee*(c.currentQueryTotal-1);let we=ee*c.currentQueryIndex;switch(P.duration<0?"reverse":P.easing){case"reverse":we=se-we;break;case"full":we=g.currentStaggerTime}const Je=c.currentTimeline;we&&Je.delayNextStep(we);const be=Je.currentTime;Gn(this,d.animation,c),c.previousNode=d,g.currentStaggerTime=S.currentTime-be+(S.startTime-g.currentTimeline.startTime)}}const Tn={};class fr{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Tn;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(d,c,g,S,P,ee,se,we){this._driver=d,this.element=c,this.subInstructions=g,this._enterClassName=S,this._leaveClassName=P,this.errors=ee,this.timelines=se,this.currentTimeline=we||new Li(this._driver,c,0),se.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(d,c){if(!d)return;const g=d;let S=this.options;null!=g.duration&&(S.duration=Wr(g.duration)),null!=g.delay&&(S.delay=Wr(g.delay));const P=g.params;if(P){let ee=S.params;ee||(ee=this.options.params={}),Object.keys(P).forEach(se=>{(!c||!ee.hasOwnProperty(se))&&(ee[se]=dn(P[se],ee,this.errors))})}}_copyOptions(){const d={};if(this.options){const c=this.options.params;if(c){const g=d.params={};Object.keys(c).forEach(S=>{g[S]=c[S]})}}return d}createSubContext(d=null,c,g){const S=c||this.element,P=new fr(this._driver,S,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(S,g||0));return P.previousNode=this.previousNode,P.currentAnimateTimings=this.currentAnimateTimings,P.options=this._copyOptions(),P.updateOptions(d),P.currentQueryIndex=this.currentQueryIndex,P.currentQueryTotal=this.currentQueryTotal,P.parentContext=this,this.subContextCount++,P}transformIntoNewTimeline(d){return this.previousNode=Tn,this.currentTimeline=this.currentTimeline.fork(this.element,d),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(d,c,g){const S={duration:c??d.duration,delay:this.currentTimeline.currentTime+(g??0)+d.delay,easing:""},P=new Uo(this._driver,d.element,d.keyframes,d.preStyleProps,d.postStyleProps,S,d.stretchStartingKeyframe);return this.timelines.push(P),S}incrementTime(d){this.currentTimeline.forwardTime(this.currentTimeline.duration+d)}delayNextStep(d){d>0&&this.currentTimeline.delayNextStep(d)}invokeQuery(d,c,g,S,P,ee){let se=[];if(S&&se.push(this.element),d.length>0){d=(d=d.replace(Zt,"."+this._enterClassName)).replace(gi,"."+this._leaveClassName);let Re=this._driver.query(this.element,d,1!=g);0!==g&&(Re=g<0?Re.slice(Re.length+g,Re.length):Re.slice(0,g)),se.push(...Re)}return!P&&0==se.length&&ee.push(function zi(){return new s.wOt(3014,!1)}()),se}}class Li{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(d,c,g,S){this._driver=d,this.element=c,this.startTime=g,this._elementTimelineStylesLookup=S,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(c),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(c,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(d){const c=1===this._keyframes.size&&this._pendingStyles.size;this.duration||c?(this.forwardTime(this.currentTime+d),c&&this.snapshotCurrentStyles()):this.startTime+=d}fork(d,c){return this.applyStylesToKeyframe(),new Li(this._driver,d,c||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(d){this.applyStylesToKeyframe(),this.duration=d,this._loadKeyframe()}_updateStyle(d,c){this._localTimelineStyles.set(d,c),this._globalTimelineStyles.set(d,c),this._styleSummary.set(d,{time:this.currentTime,value:c})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(d){d&&this._previousKeyframe.set("easing",d);for(let[c,g]of this._globalTimelineStyles)this._backFill.set(c,g||Nt.d),this._currentKeyframe.set(c,Nt.d);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(d,c,g,S){c&&this._previousKeyframe.set("easing",c);const P=S&&S.params||{},ee=function $o(w,d){const c=new Map;let g;return w.forEach(S=>{if("*"===S){g??=d.keys();for(let P of g)c.set(P,Nt.d)}else for(let[P,ee]of S)c.set(P,ee)}),c}(d,this._globalTimelineStyles);for(let[se,we]of ee){const Re=dn(we,P,g);this._pendingStyles.set(se,Re),this._localTimelineStyles.has(se)||this._backFill.set(se,this._globalTimelineStyles.get(se)??Nt.d),this._updateStyle(se,Re)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((d,c)=>{this._currentKeyframe.set(c,d)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((d,c)=>{this._currentKeyframe.has(c)||this._currentKeyframe.set(c,d)}))}snapshotCurrentStyles(){for(let[d,c]of this._localTimelineStyles)this._pendingStyles.set(d,c),this._updateStyle(d,c)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const d=[];for(let c in this._currentKeyframe)d.push(c);return d}mergeTimelineCollectedStyles(d){d._styleSummary.forEach((c,g)=>{const S=this._styleSummary.get(g);(!S||c.time>S.time)&&this._updateStyle(g,c.value)})}buildKeyframes(){this.applyStylesToKeyframe();const d=new Set,c=new Set,g=1===this._keyframes.size&&0===this.duration;let S=[];this._keyframes.forEach((se,we)=>{const Re=new Map([...this._backFill,...se]);Re.forEach((Je,be)=>{Je===Nt.Q?d.add(be):Je===Nt.d&&c.add(be)}),g||Re.set("offset",we/this.duration),S.push(Re)});const P=[...d.values()],ee=[...c.values()];if(g){const se=S[0],we=new Map(se);se.set("offset",0),we.set("offset",1),S=[se,we]}return en(this.element,S,P,ee,this.duration,this.startTime,this.easing,!1)}}class Uo extends Li{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(d,c,g,S,P,ee,se=!1){super(d,c,ee.delay),this.keyframes=g,this.preStyleProps=S,this.postStyleProps=P,this._stretchStartingKeyframe=se,this.timings={duration:ee.duration,delay:ee.delay,easing:ee.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let d=this.keyframes,{delay:c,duration:g,easing:S}=this.timings;if(this._stretchStartingKeyframe&&c){const P=[],ee=g+c,se=c/ee,we=new Map(d[0]);we.set("offset",0),P.push(we);const Re=new Map(d[0]);Re.set("offset",mi(se)),P.push(Re);const Je=d.length-1;for(let be=1;be<=Je;be++){let gt=new Map(d[be]);const Pt=gt.get("offset");gt.set("offset",mi((c+Pt*g)/ee)),P.push(gt)}g=ee,c=0,S="",d=P}return en(this.element,d,this.preStyleProps,this.postStyleProps,g,c,S,!0)}}function mi(w,d=3){const c=Math.pow(10,d-1);return Math.round(w*c)/c}function Ii(w,d,c,g,S,P,ee,se,we,Re,Je,be,gt){return{type:0,element:w,triggerName:d,isRemovalTransition:S,fromState:c,fromStyles:P,toState:g,toStyles:ee,timelines:se,queriedElements:we,preStyleProps:Re,postStyleProps:Je,totalTime:be,errors:gt}}const Lt={};class Qr{_triggerName;ast;_stateStyles;constructor(d,c,g){this._triggerName=d,this.ast=c,this._stateStyles=g}match(d,c,g,S){return function as(w,d,c,g,S){return w.some(P=>P(d,c,g,S))}(this.ast.matchers,d,c,g,S)}buildStyles(d,c,g){let S=this._stateStyles.get("*");return void 0!==d&&(S=this._stateStyles.get(d?.toString())||S),S?S.buildStyles(c,g):new Map}build(d,c,g,S,P,ee,se,we,Re,Je){const be=[],gt=this.ast.options&&this.ast.options.params||Lt,Ft=this.buildStyles(g,se&&se.params||Lt,be),Ht=we&&we.params||Lt,kn=this.buildStyles(S,Ht,be),Nr=new Set,fn=new Map,Vn=new Map,br="void"===S,Yt={params:Mi(Ht,gt),delay:this.ast.options?.delay},Ri=Je?[]:cn(d,c,this.ast.animation,P,ee,Ft,kn,Yt,Re,be);let ui=0;return Ri.forEach(ri=>{ui=Math.max(ri.duration+ri.delay,ui)}),be.length?Ii(c,this._triggerName,g,S,br,Ft,kn,[],[],fn,Vn,ui,be):(Ri.forEach(ri=>{const cr=ri.element,Co=On(fn,cr,new Set);ri.preStyleProps.forEach(Ui=>Co.add(Ui));const Ts=On(Vn,cr,new Set);ri.postStyleProps.forEach(Ui=>Ts.add(Ui)),cr!==c&&Nr.add(cr)}),Ii(c,this._triggerName,g,S,br,Ft,kn,Ri,[...Nr.values()],fn,Vn,ui))}}function Mi(w,d){const c={...d};return Object.entries(w).forEach(([g,S])=>{null!=S&&(c[g]=S)}),c}class ro{styles;defaultParams;normalizer;constructor(d,c,g){this.styles=d,this.defaultParams=c,this.normalizer=g}buildStyles(d,c){const g=new Map,S=Mi(d,this.defaultParams);return this.styles.styles.forEach(P=>{"string"!=typeof P&&P.forEach((ee,se)=>{ee&&(ee=dn(ee,S,c));const we=this.normalizer.normalizePropertyName(se,c);ee=this.normalizer.normalizeStyleValue(se,we,ee,c),g.set(se,ee)})}),g}}class xa{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(d,c,g){this.name=d,this.ast=c,this._normalizer=g,c.states.forEach(S=>{this.states.set(S.name,new ro(S.style,S.options&&S.options.params||{},g))}),Qn(this.states,"true","1"),Qn(this.states,"false","0"),c.transitions.forEach(S=>{this.transitionFactories.push(new Qr(d,S,this.states))}),this.fallbackTransition=function Pa(w,d){return new Qr(w,{type:Nt.A.Transition,animation:{type:Nt.A.Sequence,steps:[],options:null},matchers:[(ee,se)=>!0],options:null,queryCount:0,depCount:0},d)}(d,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(d,c,g,S){return this.transitionFactories.find(ee=>ee.match(d,c,g,S))||null}matchStyles(d,c,g){return this.fallbackTransition.buildStyles(d,c,g)}}function Qn(w,d,c){w.has(d)?w.has(c)||w.set(c,w.get(d)):w.has(c)&&w.set(d,w.get(c))}const ys=new An;class Qi{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(d,c,g){this.bodyNode=d,this._driver=c,this._normalizer=g}register(d,c){const g=[],P=O(this._driver,c,g,[]);if(g.length)throw function Vr(){return new s.wOt(3503,!1)}();this._animations.set(d,P)}_buildPlayer(d,c,g){const S=d.element,P=Yn(this._normalizer,d.keyframes,c,g);return this._driver.animate(S,P,d.duration,d.delay,d.easing,[],!0)}create(d,c,g={}){const S=[],P=this._animations.get(d);let ee;const se=new Map;if(P?(ee=cn(this._driver,c,P,ei,Gi,new Map,new Map,g,ys,S),ee.forEach(Je=>{const be=On(se,Je.element,new Map);Je.postStyleProps.forEach(gt=>be.set(gt,null))})):(S.push(function Jr(){return new s.wOt(3300,!1)}()),ee=[]),S.length)throw function go(){return new s.wOt(3504,!1)}();se.forEach((Je,be)=>{Je.forEach((gt,Pt)=>{Je.set(Pt,this._driver.computeStyle(be,Pt,Nt.d))})});const Re=Qt(ee.map(Je=>{const be=se.get(Je.element);return this._buildPlayer(Je,new Map,be)}));return this._playersById.set(d,Re),Re.onDestroy(()=>this.destroy(d)),this.players.push(Re),Re}destroy(d){const c=this._getPlayer(d);c.destroy(),this._playersById.delete(d);const g=this.players.indexOf(c);g>=0&&this.players.splice(g,1)}_getPlayer(d){const c=this._playersById.get(d);if(!c)throw function K(){return new s.wOt(3301,!1)}();return c}listen(d,c,g,S){const P=gr(c,"","","");return Cr(this._getPlayer(d),g,P,S),()=>{}}command(d,c,g,S){if("register"==g)return void this.register(d,S[0]);if("create"==g)return void this.create(d,c,S[0]||{});const P=this._getPlayer(d);switch(g){case"play":P.play();break;case"pause":P.pause();break;case"reset":P.reset();break;case"restart":P.restart();break;case"finish":P.finish();break;case"init":P.init();break;case"setPosition":P.setPosition(parseFloat(S[0]));break;case"destroy":this.destroy(d)}}}const Xi="ng-animate-queued",Oo="ng-animate-disabled",Ai=[],cs={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Jt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},un="__ng_removed";class zo{namespaceId;value;options;get params(){return this.options.params}constructor(d,c=""){this.namespaceId=c;const g=d&&d.hasOwnProperty("value");if(this.value=function vo(w){return w??null}(g?d.value:d),g){const{value:P,...ee}=d;this.options=ee}else this.options={};this.options.params||(this.options.params={})}absorbOptions(d){const c=d.params;if(c){const g=this.options.params;Object.keys(c).forEach(S=>{null==g[S]&&(g[S]=c[S])})}}}const No="void",Zo=new zo(No);class Es{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(d,c,g){this.id=d,this.hostElement=c,this._engine=g,this._hostClassName="ng-tns-"+d,Ue(c,this._hostClassName)}listen(d,c,g,S){if(!this._triggers.has(c))throw function fe(){return new s.wOt(3302,!1)}();if(null==g||0==g.length)throw function de(){return new s.wOt(3303,!1)}();if(!function Q(w){return"start"==w||"done"==w}(g))throw function Ke(){return new s.wOt(3400,!1)}();const P=On(this._elementListeners,d,[]),ee={name:c,phase:g,callback:S};P.push(ee);const se=On(this._engine.statesByElement,d,new Map);return se.has(c)||(Ue(d,Gr),Ue(d,Gr+"-"+c),se.set(c,Zo)),()=>{this._engine.afterFlush(()=>{const we=P.indexOf(ee);we>=0&&P.splice(we,1),this._triggers.has(c)||se.delete(c)})}}register(d,c){return!this._triggers.has(d)&&(this._triggers.set(d,c),!0)}_getTrigger(d){const c=this._triggers.get(d);if(!c)throw function ht(){return new s.wOt(3401,!1)}();return c}trigger(d,c,g,S=!0){const P=this._getTrigger(c),ee=new ko(this.id,c,d);let se=this._engine.statesByElement.get(d);se||(Ue(d,Gr),Ue(d,Gr+"-"+c),this._engine.statesByElement.set(d,se=new Map));let we=se.get(c);const Re=new zo(g,this.id);if(!(g&&g.hasOwnProperty("value"))&&we&&Re.absorbOptions(we.options),se.set(c,Re),we||(we=Zo),Re.value!==No&&we.value===Re.value){if(!function wn(w,d){const c=Object.keys(w),g=Object.keys(d);if(c.length!=g.length)return!1;for(let S=0;S<c.length;S++){const P=c[S];if(!d.hasOwnProperty(P)||w[P]!==d[P])return!1}return!0}(we.params,Re.params)){const Ht=[],kn=P.matchStyles(we.value,we.params,Ht),Nr=P.matchStyles(Re.value,Re.params,Ht);Ht.length?this._engine.reportError(Ht):this._engine.afterFlush(()=>{ft(d,kn),Ze(d,Nr)})}return}const gt=On(this._engine.playersByElement,d,[]);gt.forEach(Ht=>{Ht.namespaceId==this.id&&Ht.triggerName==c&&Ht.queued&&Ht.destroy()});let Pt=P.matchTransition(we.value,Re.value,d,Re.params),Ft=!1;if(!Pt){if(!S)return;Pt=P.fallbackTransition,Ft=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:c,transition:Pt,fromState:we,toState:Re,player:ee,isFallbackTransition:Ft}),Ft||(Ue(d,Xi),ee.onStart(()=>{Et(d,Xi)})),ee.onDone(()=>{let Ht=this.players.indexOf(ee);Ht>=0&&this.players.splice(Ht,1);const kn=this._engine.playersByElement.get(d);if(kn){let Nr=kn.indexOf(ee);Nr>=0&&kn.splice(Nr,1)}}),this.players.push(ee),gt.push(ee),ee}deregister(d){this._triggers.delete(d),this._engine.statesByElement.forEach(c=>c.delete(d)),this._elementListeners.forEach((c,g)=>{this._elementListeners.set(g,c.filter(S=>S.name!=d))})}clearElementCache(d){this._engine.statesByElement.delete(d),this._elementListeners.delete(d);const c=this._engine.playersByElement.get(d);c&&(c.forEach(g=>g.destroy()),this._engine.playersByElement.delete(d))}_signalRemovalForInnerTriggers(d,c){const g=this._engine.driver.query(d,fi,!0);g.forEach(S=>{if(S[un])return;const P=this._engine.fetchNamespacesByElement(S);P.size?P.forEach(ee=>ee.triggerLeaveAnimation(S,c,!1,!0)):this.clearElementCache(S)}),this._engine.afterFlushAnimationsDone(()=>g.forEach(S=>this.clearElementCache(S)))}triggerLeaveAnimation(d,c,g,S){const P=this._engine.statesByElement.get(d),ee=new Map;if(P){const se=[];if(P.forEach((we,Re)=>{if(ee.set(Re,we.value),this._triggers.has(Re)){const Je=this.trigger(d,Re,No,S);Je&&se.push(Je)}}),se.length)return this._engine.markElementAsRemoved(this.id,d,!0,c,ee),g&&Qt(se).onDone(()=>this._engine.processLeaveNode(d)),!0}return!1}prepareLeaveAnimationListeners(d){const c=this._elementListeners.get(d),g=this._engine.statesByElement.get(d);if(c&&g){const S=new Set;c.forEach(P=>{const ee=P.name;if(S.has(ee))return;S.add(ee);const we=this._triggers.get(ee).fallbackTransition,Re=g.get(ee)||Zo,Je=new zo(No),be=new ko(this.id,ee,d);this._engine.totalQueuedPlayers++,this._queue.push({element:d,triggerName:ee,transition:we,fromState:Re,toState:Je,player:be,isFallbackTransition:!0})})}}removeNode(d,c){const g=this._engine;if(d.childElementCount&&this._signalRemovalForInnerTriggers(d,c),this.triggerLeaveAnimation(d,c,!0))return;let S=!1;if(g.totalAnimations){const P=g.players.length?g.playersByQueriedElement.get(d):[];if(P&&P.length)S=!0;else{let ee=d;for(;ee=ee.parentNode;)if(g.statesByElement.get(ee)){S=!0;break}}}if(this.prepareLeaveAnimationListeners(d),S)g.markElementAsRemoved(this.id,d,!1,c);else{const P=d[un];(!P||P===cs)&&(g.afterFlush(()=>this.clearElementCache(d)),g.destroyInnerAnimations(d),g._onRemovalComplete(d,c))}}insertNode(d,c){Ue(d,this._hostClassName)}drainQueuedTransitions(d){const c=[];return this._queue.forEach(g=>{const S=g.player;if(S.destroyed)return;const P=g.element,ee=this._elementListeners.get(P);ee&&ee.forEach(se=>{if(se.name==g.triggerName){const we=gr(P,g.triggerName,g.fromState.value,g.toState.value);we._data=d,Cr(g.player,se.phase,we,se.callback)}}),S.markedForDestroy?this._engine.afterFlush(()=>{S.destroy()}):c.push(g)}),this._queue=[],c.sort((g,S)=>{const P=g.transition.ast.depCount,ee=S.transition.ast.depCount;return 0==P||0==ee?P-ee:this._engine.driver.containsElement(g.element,S.element)?1:-1})}destroy(d){this.players.forEach(c=>c.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,d)}}class Ds{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(d,c)=>{};_onRemovalComplete(d,c){this.onRemovalComplete(d,c)}constructor(d,c,g){this.bodyNode=d,this.driver=c,this._normalizer=g}get queuedPlayers(){const d=[];return this._namespaceList.forEach(c=>{c.players.forEach(g=>{g.queued&&d.push(g)})}),d}createNamespace(d,c){const g=new Es(d,c,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,c)?this._balanceNamespaceList(g,c):(this.newHostElements.set(c,g),this.collectEnterElement(c)),this._namespaceLookup[d]=g}_balanceNamespaceList(d,c){const g=this._namespaceList,S=this.namespacesByHostElement;if(g.length-1>=0){let ee=!1,se=this.driver.getParentElement(c);for(;se;){const we=S.get(se);if(we){const Re=g.indexOf(we);g.splice(Re+1,0,d),ee=!0;break}se=this.driver.getParentElement(se)}ee||g.unshift(d)}else g.push(d);return S.set(c,d),d}register(d,c){let g=this._namespaceLookup[d];return g||(g=this.createNamespace(d,c)),g}registerTrigger(d,c,g){let S=this._namespaceLookup[d];S&&S.register(c,g)&&this.totalAnimations++}destroy(d,c){d&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const g=this._fetchNamespace(d);this.namespacesByHostElement.delete(g.hostElement);const S=this._namespaceList.indexOf(g);S>=0&&this._namespaceList.splice(S,1),g.destroy(c),delete this._namespaceLookup[d]}))}_fetchNamespace(d){return this._namespaceLookup[d]}fetchNamespacesByElement(d){const c=new Set,g=this.statesByElement.get(d);if(g)for(let S of g.values())if(S.namespaceId){const P=this._fetchNamespace(S.namespaceId);P&&c.add(P)}return c}trigger(d,c,g,S){if(Wo(c)){const P=this._fetchNamespace(d);if(P)return P.trigger(c,g,S),!0}return!1}insertNode(d,c,g,S){if(!Wo(c))return;const P=c[un];if(P&&P.setForRemoval){P.setForRemoval=!1,P.setForMove=!0;const ee=this.collectedLeaveElements.indexOf(c);ee>=0&&this.collectedLeaveElements.splice(ee,1)}if(d){const ee=this._fetchNamespace(d);ee&&ee.insertNode(c,g)}S&&this.collectEnterElement(c)}collectEnterElement(d){this.collectedEnterElements.push(d)}markElementAsDisabled(d,c){c?this.disabledNodes.has(d)||(this.disabledNodes.add(d),Ue(d,Oo)):this.disabledNodes.has(d)&&(this.disabledNodes.delete(d),Et(d,Oo))}removeNode(d,c,g){if(Wo(c)){const S=d?this._fetchNamespace(d):null;S?S.removeNode(c,g):this.markElementAsRemoved(d,c,!1,g);const P=this.namespacesByHostElement.get(c);P&&P.id!==d&&P.removeNode(c,g)}else this._onRemovalComplete(c,g)}markElementAsRemoved(d,c,g,S,P){this.collectedLeaveElements.push(c),c[un]={namespaceId:d,setForRemoval:S,hasAnimation:g,removedBeforeQueried:!1,previousTriggersValues:P}}listen(d,c,g,S,P){return Wo(c)?this._fetchNamespace(d).listen(c,g,S,P):()=>{}}_buildInstruction(d,c,g,S,P){return d.transition.build(this.driver,d.element,d.fromState.value,d.toState.value,g,S,d.fromState.options,d.toState.options,c,P)}destroyInnerAnimations(d){let c=this.driver.query(d,fi,!0);c.forEach(g=>this.destroyActiveAnimationsForElement(g)),0!=this.playersByQueriedElement.size&&(c=this.driver.query(d,Si,!0),c.forEach(g=>this.finishActiveQueriedAnimationOnElement(g)))}destroyActiveAnimationsForElement(d){const c=this.playersByElement.get(d);c&&c.forEach(g=>{g.queued?g.markedForDestroy=!0:g.destroy()})}finishActiveQueriedAnimationOnElement(d){const c=this.playersByQueriedElement.get(d);c&&c.forEach(g=>g.finish())}whenRenderingDone(){return new Promise(d=>{if(this.players.length)return Qt(this.players).onDone(()=>d());d()})}processLeaveNode(d){const c=d[un];if(c&&c.setForRemoval){if(d[un]=cs,c.namespaceId){this.destroyInnerAnimations(d);const g=this._fetchNamespace(c.namespaceId);g&&g.clearElementCache(d)}this._onRemovalComplete(d,c.setForRemoval)}d.classList?.contains(Oo)&&this.markElementAsDisabled(d,!1),this.driver.query(d,".ng-animate-disabled",!0).forEach(g=>{this.markElementAsDisabled(g,!1)})}flush(d=-1){let c=[];if(this.newHostElements.size&&(this.newHostElements.forEach((g,S)=>this._balanceNamespaceList(g,S)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let g=0;g<this.collectedEnterElements.length;g++)Ue(this.collectedEnterElements[g],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const g=[];try{c=this._flushAnimations(g,d)}finally{for(let S=0;S<g.length;S++)g[S]()}}else for(let g=0;g<this.collectedLeaveElements.length;g++)this.processLeaveNode(this.collectedLeaveElements[g]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(g=>g()),this._flushFns=[],this._whenQuietFns.length){const g=this._whenQuietFns;this._whenQuietFns=[],c.length?Qt(c).onDone(()=>{g.forEach(S=>S())}):g.forEach(S=>S())}}reportError(d){throw function Ye(){return new s.wOt(3402,!1)}()}_flushAnimations(d,c){const g=new An,S=[],P=new Map,ee=[],se=new Map,we=new Map,Re=new Map,Je=new Set;this.disabledNodes.forEach(Ut=>{Je.add(Ut);const Gt=this.driver.query(Ut,".ng-animate-queued",!0);for(let zt=0;zt<Gt.length;zt++)Je.add(Gt[zt])});const be=this.bodyNode,gt=Array.from(this.statesByElement.keys()),Pt=Fe(gt,this.collectedEnterElements),Ft=new Map;let Ht=0;Pt.forEach((Ut,Gt)=>{const zt=ei+Ht++;Ft.set(Gt,zt),Ut.forEach(xn=>Ue(xn,zt))});const kn=[],Nr=new Set,fn=new Set;for(let Ut=0;Ut<this.collectedLeaveElements.length;Ut++){const Gt=this.collectedLeaveElements[Ut],zt=Gt[un];zt&&zt.setForRemoval&&(kn.push(Gt),Nr.add(Gt),zt.hasAnimation?this.driver.query(Gt,".ng-star-inserted",!0).forEach(xn=>Nr.add(xn)):fn.add(Gt))}const Vn=new Map,br=Fe(gt,Array.from(Nr));br.forEach((Ut,Gt)=>{const zt=Gi+Ht++;Vn.set(Gt,zt),Ut.forEach(xn=>Ue(xn,zt))}),d.push(()=>{Pt.forEach((Ut,Gt)=>{const zt=Ft.get(Gt);Ut.forEach(xn=>Et(xn,zt))}),br.forEach((Ut,Gt)=>{const zt=Vn.get(Gt);Ut.forEach(xn=>Et(xn,zt))}),kn.forEach(Ut=>{this.processLeaveNode(Ut)})});const Yt=[],Ri=[];for(let Ut=this._namespaceList.length-1;Ut>=0;Ut--)this._namespaceList[Ut].drainQueuedTransitions(c).forEach(zt=>{const xn=zt.player,Tt=zt.element;if(Yt.push(xn),this.collectedEnterElements.length){const Pn=Tt[un];if(Pn&&Pn.setForMove){if(Pn.previousTriggersValues&&Pn.previousTriggersValues.has(zt.triggerName)){const Ar=Pn.previousTriggersValues.get(zt.triggerName),Ji=this.statesByElement.get(zt.element);if(Ji&&Ji.has(zt.triggerName)){const eo=Ji.get(zt.triggerName);eo.value=Ar,Ji.set(zt.triggerName,eo)}}return void xn.destroy()}}const wo=!be||!this.driver.containsElement(be,Tt),Ur=Vn.get(Tt),Ci=Ft.get(Tt),Tr=this._buildInstruction(zt,g,Ci,Ur,wo);if(Tr.errors&&Tr.errors.length)return void Ri.push(Tr);if(wo)return xn.onStart(()=>ft(Tt,Tr.fromStyles)),xn.onDestroy(()=>Ze(Tt,Tr.toStyles)),void S.push(xn);if(zt.isFallbackTransition)return xn.onStart(()=>ft(Tt,Tr.fromStyles)),xn.onDestroy(()=>Ze(Tt,Tr.toStyles)),void S.push(xn);const Ss=[];Tr.timelines.forEach(Pn=>{Pn.stretchStartingKeyframe=!0,this.disabledNodes.has(Pn.element)||Ss.push(Pn)}),Tr.timelines=Ss,g.append(Tt,Tr.timelines),ee.push({instruction:Tr,player:xn,element:Tt}),Tr.queriedElements.forEach(Pn=>On(se,Pn,[]).push(xn)),Tr.preStyleProps.forEach((Pn,Ar)=>{if(Pn.size){let Ji=we.get(Ar);Ji||we.set(Ar,Ji=new Set),Pn.forEach((eo,Qs)=>Ji.add(Qs))}}),Tr.postStyleProps.forEach((Pn,Ar)=>{let Ji=Re.get(Ar);Ji||Re.set(Ar,Ji=new Set),Pn.forEach((eo,Qs)=>Ji.add(Qs))})});if(Ri.length){const Ut=[];Ri.forEach(Gt=>{Ut.push(function It(){return new s.wOt(3505,!1)}())}),Yt.forEach(Gt=>Gt.destroy()),this.reportError(Ut)}const ui=new Map,ri=new Map;ee.forEach(Ut=>{const Gt=Ut.element;g.has(Gt)&&(ri.set(Gt,Gt),this._beforeAnimationBuild(Ut.player.namespaceId,Ut.instruction,ui))}),S.forEach(Ut=>{const Gt=Ut.element;this._getPreviousPlayers(Gt,!1,Ut.namespaceId,Ut.triggerName,null).forEach(xn=>{On(ui,Gt,[]).push(xn),xn.destroy()})});const cr=kn.filter(Ut=>on(Ut,we,Re)),Co=new Map;Ae(Co,this.driver,fn,Re,Nt.d).forEach(Ut=>{on(Ut,we,Re)&&cr.push(Ut)});const Ui=new Map;Pt.forEach((Ut,Gt)=>{Ae(Ui,this.driver,new Set(Ut),we,Nt.Q)}),cr.forEach(Ut=>{const Gt=Co.get(Ut),zt=Ui.get(Ut);Co.set(Ut,new Map([...Gt?.entries()??[],...zt?.entries()??[]]))});const _s=[],$l=[],es={};ee.forEach(Ut=>{const{element:Gt,player:zt,instruction:xn}=Ut;if(g.has(Gt)){if(Je.has(Gt))return zt.onDestroy(()=>Ze(Gt,xn.toStyles)),zt.disabled=!0,zt.overrideTotalTime(xn.totalTime),void S.push(zt);let Tt=es;if(ri.size>1){let Ur=Gt;const Ci=[];for(;Ur=Ur.parentNode;){const Tr=ri.get(Ur);if(Tr){Tt=Tr;break}Ci.push(Ur)}Ci.forEach(Tr=>ri.set(Tr,Tt))}const wo=this._buildAnimation(zt.namespaceId,xn,ui,P,Ui,Co);if(zt.setRealPlayer(wo),Tt===es)_s.push(zt);else{const Ur=this.playersByElement.get(Tt);Ur&&Ur.length&&(zt.parentPlayer=Qt(Ur)),S.push(zt)}}else ft(Gt,xn.fromStyles),zt.onDestroy(()=>Ze(Gt,xn.toStyles)),$l.push(zt),Je.has(Gt)&&S.push(zt)}),$l.forEach(Ut=>{const Gt=P.get(Ut.element);if(Gt&&Gt.length){const zt=Qt(Gt);Ut.setRealPlayer(zt)}}),S.forEach(Ut=>{Ut.parentPlayer?Ut.syncPlayerEvents(Ut.parentPlayer):Ut.destroy()});for(let Ut=0;Ut<kn.length;Ut++){const Gt=kn[Ut],zt=Gt[un];if(Et(Gt,Gi),zt&&zt.hasAnimation)continue;let xn=[];if(se.size){let wo=se.get(Gt);wo&&wo.length&&xn.push(...wo);let Ur=this.driver.query(Gt,Si,!0);for(let Ci=0;Ci<Ur.length;Ci++){let Tr=se.get(Ur[Ci]);Tr&&Tr.length&&xn.push(...Tr)}}const Tt=xn.filter(wo=>!wo.destroyed);Tt.length?Rt(this,Gt,Tt):this.processLeaveNode(Gt)}return kn.length=0,_s.forEach(Ut=>{this.players.push(Ut),Ut.onDone(()=>{Ut.destroy();const Gt=this.players.indexOf(Ut);this.players.splice(Gt,1)}),Ut.play()}),_s}afterFlush(d){this._flushFns.push(d)}afterFlushAnimationsDone(d){this._whenQuietFns.push(d)}_getPreviousPlayers(d,c,g,S,P){let ee=[];if(c){const se=this.playersByQueriedElement.get(d);se&&(ee=se)}else{const se=this.playersByElement.get(d);if(se){const we=!P||P==No;se.forEach(Re=>{Re.queued||!we&&Re.triggerName!=S||ee.push(Re)})}}return(g||S)&&(ee=ee.filter(se=>!(g&&g!=se.namespaceId||S&&S!=se.triggerName))),ee}_beforeAnimationBuild(d,c,g){const P=c.element,ee=c.isRemovalTransition?void 0:d,se=c.isRemovalTransition?void 0:c.triggerName;for(const we of c.timelines){const Re=we.element,Je=Re!==P,be=On(g,Re,[]);this._getPreviousPlayers(Re,Je,ee,se,c.toState).forEach(Pt=>{const Ft=Pt.getRealPlayer();Ft.beforeDestroy&&Ft.beforeDestroy(),Pt.destroy(),be.push(Pt)})}ft(P,c.fromStyles)}_buildAnimation(d,c,g,S,P,ee){const se=c.triggerName,we=c.element,Re=[],Je=new Set,be=new Set,gt=c.timelines.map(Ft=>{const Ht=Ft.element;Je.add(Ht);const kn=Ht[un];if(kn&&kn.removedBeforeQueried)return new Nt.N(Ft.duration,Ft.delay);const Nr=Ht!==we,fn=function Bt(w){const d=[];return Ot(w,d),d}((g.get(Ht)||Ai).map(ui=>ui.getRealPlayer())).filter(ui=>!!ui.element&&ui.element===Ht),Vn=P.get(Ht),br=ee.get(Ht),Yt=Yn(this._normalizer,Ft.keyframes,Vn,br),Ri=this._buildPlayer(Ft,Yt,fn);if(Ft.subTimeline&&S&&be.add(Ht),Nr){const ui=new ko(d,se,Ht);ui.setRealPlayer(Ri),Re.push(ui)}return Ri});Re.forEach(Ft=>{On(this.playersByQueriedElement,Ft.element,[]).push(Ft),Ft.onDone(()=>function _n(w,d,c){let g=w.get(d);if(g){if(g.length){const S=g.indexOf(c);g.splice(S,1)}0==g.length&&w.delete(d)}return g}(this.playersByQueriedElement,Ft.element,Ft))}),Je.forEach(Ft=>Ue(Ft,Ao));const Pt=Qt(gt);return Pt.onDestroy(()=>{Je.forEach(Ft=>Et(Ft,Ao)),Ze(we,c.toStyles)}),be.forEach(Ft=>{On(S,Ft,[]).push(Pt)}),Pt}_buildPlayer(d,c,g){return c.length>0?this.driver.animate(d.element,c,d.duration,d.delay,d.easing,g):new Nt.N(d.duration,d.delay)}}class ko{namespaceId;triggerName;element;_player=new Nt.N;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(d,c,g){this.namespaceId=d,this.triggerName=c,this.element=g}setRealPlayer(d){this._containsRealPlayer||(this._player=d,this._queuedCallbacks.forEach((c,g)=>{c.forEach(S=>Cr(d,g,void 0,S))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(d.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(d){this.totalTime=d}syncPlayerEvents(d){const c=this._player;c.triggerCallback&&d.onStart(()=>c.triggerCallback("start")),d.onDone(()=>this.finish()),d.onDestroy(()=>this.destroy())}_queueEvent(d,c){On(this._queuedCallbacks,d,[]).push(c)}onDone(d){this.queued&&this._queueEvent("done",d),this._player.onDone(d)}onStart(d){this.queued&&this._queueEvent("start",d),this._player.onStart(d)}onDestroy(d){this.queued&&this._queueEvent("destroy",d),this._player.onDestroy(d)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(d){this.queued||this._player.setPosition(d)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(d){const c=this._player;c.triggerCallback&&c.triggerCallback(d)}}function Wo(w){return w&&1===w.nodeType}function ge(w,d){const c=w.style.display;return w.style.display=d??"none",c}function Ae(w,d,c,g,S){const P=[];c.forEach(we=>P.push(ge(we)));const ee=[];g.forEach((we,Re)=>{const Je=new Map;we.forEach(be=>{const gt=d.computeStyle(Re,be,S);Je.set(be,gt),(!gt||0==gt.length)&&(Re[un]=Jt,ee.push(Re))}),w.set(Re,Je)});let se=0;return c.forEach(we=>ge(we,P[se++])),ee}function Fe(w,d){const c=new Map;if(w.forEach(se=>c.set(se,[])),0==d.length)return c;const S=new Set(d),P=new Map;function ee(se){if(!se)return 1;let we=P.get(se);if(we)return we;const Re=se.parentNode;return we=c.has(Re)?Re:S.has(Re)?1:ee(Re),P.set(se,we),we}return d.forEach(se=>{const we=ee(se);1!==we&&c.get(we).push(se)}),c}function Ue(w,d){w.classList?.add(d)}function Et(w,d){w.classList?.remove(d)}function Rt(w,d,c){Qt(c).onDone(()=>w.processLeaveNode(d))}function Ot(w,d){for(let c=0;c<w.length;c++){const g=w[c];g instanceof Nt.j?Ot(g.players,d):d.push(g)}}function on(w,d,c){const g=c.get(w);if(!g)return!1;let S=d.get(w);return S?g.forEach(P=>S.add(P)):d.set(w,g),c.delete(w),!0}class tn{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(d,c)=>{};constructor(d,c,g){this._driver=c,this._normalizer=g,this._transitionEngine=new Ds(d.body,c,g),this._timelineEngine=new Qi(d.body,c,g),this._transitionEngine.onRemovalComplete=(S,P)=>this.onRemovalComplete(S,P)}registerTrigger(d,c,g,S,P){const ee=d+"-"+S;let se=this._triggerCache[ee];if(!se){const we=[],Je=O(this._driver,P,we,[]);if(we.length)throw function xi(){return new s.wOt(3404,!1)}();se=function ls(w,d,c){return new xa(w,d,c)}(S,Je,this._normalizer),this._triggerCache[ee]=se}this._transitionEngine.registerTrigger(c,S,se)}register(d,c){this._transitionEngine.register(d,c)}destroy(d,c){this._transitionEngine.destroy(d,c)}onInsert(d,c,g,S){this._transitionEngine.insertNode(d,c,g,S)}onRemove(d,c,g){this._transitionEngine.removeNode(d,c,g)}disableAnimations(d,c){this._transitionEngine.markElementAsDisabled(d,c)}process(d,c,g,S){if("@"==g.charAt(0)){const[P,ee]=Wt(g);this._timelineEngine.command(P,c,ee,S)}else this._transitionEngine.trigger(d,c,g,S)}listen(d,c,g,S,P){if("@"==g.charAt(0)){const[ee,se]=Wt(g);return this._timelineEngine.listen(ee,c,se,P)}return this._transitionEngine.listen(d,c,g,S,P)}flush(d=-1){this._transitionEngine.flush(d)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(d){this._transitionEngine.afterFlushAnimationsDone(d)}}let xt=(()=>{class w{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(c,g,S){this._element=c,this._startStyles=g,this._endStyles=S;let P=w.initialStylesByElement.get(c);P||w.initialStylesByElement.set(c,P=new Map),this._initialStyles=P}start(){this._state<1&&(this._startStyles&&Ze(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ze(this._element,this._initialStyles),this._endStyles&&(Ze(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(w.initialStylesByElement.delete(this._element),this._startStyles&&(ft(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ft(this._element,this._endStyles),this._endStyles=null),Ze(this._element,this._initialStyles),this._state=3)}}return w})();function Xn(w){let d=null;return w.forEach((c,g)=>{(function St(w){return"display"===w||"position"===w})(g)&&(d=d||new Map,d.set(g,c))}),d}class wr{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(d,c,g,S){this.element=d,this.keyframes=c,this.options=g,this._specialStyles=S,this._duration=g.duration,this._delay=g.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(d=>d()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const d=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,d,this.options),this._finalKeyframe=d.length?d[d.length-1]:new Map;const c=()=>this._onFinish();this.domPlayer.addEventListener("finish",c),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",c)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(d){const c=[];return d.forEach(g=>{c.push(Object.fromEntries(g))}),c}_triggerWebAnimation(d,c,g){return d.animate(this._convertKeyframesToObject(c),g)}onStart(d){this._originalOnStartFns.push(d),this._onStartFns.push(d)}onDone(d){this._originalOnDoneFns.push(d),this._onDoneFns.push(d)}onDestroy(d){this._onDestroyFns.push(d)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(d=>d()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(d=>d()),this._onDestroyFns=[])}setPosition(d){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=d*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const d=new Map;this.hasStarted()&&this._finalKeyframe.forEach((g,S)=>{"offset"!==S&&d.set(S,this._finished?g:G(this.element,S))}),this.currentSnapshot=d}triggerCallback(d){const c="start"===d?this._onStartFns:this._onDoneFns;c.forEach(g=>g()),c.length=0}}class Xr{validateStyleProperty(d){return!0}validateAnimatableStyleProperty(d){return!0}containsElement(d,c){return di(d,c)}getParentElement(d){return Nn(d)}query(d,c,g){return nr(d,c,g)}computeStyle(d,c,g){return G(d,c)}animate(d,c,g,S,P,ee=[]){const we={duration:g,delay:S,fill:0==S?"both":"forwards"};P&&(we.easing=P);const Re=new Map,Je=ee.filter(Pt=>Pt instanceof wr);(function Kr(w,d){return 0===w||0===d})(g,S)&&Je.forEach(Pt=>{Pt.currentSnapshot.forEach((Ft,Ht)=>Re.set(Ht,Ft))});let be=function H(w){return w.length?w[0]instanceof Map?w:w.map(d=>new Map(Object.entries(d))):[]}(c).map(Pt=>new Map(Pt));be=function ir(w,d,c){if(c.size&&d.length){let g=d[0],S=[];if(c.forEach((P,ee)=>{g.has(ee)||S.push(ee),g.set(ee,P)}),S.length)for(let P=1;P<d.length;P++){let ee=d[P];S.forEach(se=>ee.set(se,G(w,se)))}}return d}(d,be,Re);const gt=function bn(w,d){let c=null,g=null;return Array.isArray(d)&&d.length?(c=Xn(d[0]),d.length>1&&(g=Xn(d[d.length-1]))):d instanceof Map&&(c=Xn(d)),c||g?new xt(w,c,g):null}(d,be);return new wr(d,be,we,gt)}}const Us="@.disabled";class $s{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(d,c,g,S){this.namespaceId=d,this.delegate=c,this.engine=g,this._onDestroy=S}get data(){return this.delegate.data}destroyNode(d){this.delegate.destroyNode?.(d)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(d,c){return this.delegate.createElement(d,c)}createComment(d){return this.delegate.createComment(d)}createText(d){return this.delegate.createText(d)}appendChild(d,c){this.delegate.appendChild(d,c),this.engine.onInsert(this.namespaceId,c,d,!1)}insertBefore(d,c,g,S=!0){this.delegate.insertBefore(d,c,g),this.engine.onInsert(this.namespaceId,c,d,S)}removeChild(d,c,g){this.parentNode(c)&&this.engine.onRemove(this.namespaceId,c,this.delegate)}selectRootElement(d,c){return this.delegate.selectRootElement(d,c)}parentNode(d){return this.delegate.parentNode(d)}nextSibling(d){return this.delegate.nextSibling(d)}setAttribute(d,c,g,S){this.delegate.setAttribute(d,c,g,S)}removeAttribute(d,c,g){this.delegate.removeAttribute(d,c,g)}addClass(d,c){this.delegate.addClass(d,c)}removeClass(d,c){this.delegate.removeClass(d,c)}setStyle(d,c,g,S){this.delegate.setStyle(d,c,g,S)}removeStyle(d,c,g){this.delegate.removeStyle(d,c,g)}setProperty(d,c,g){"@"==c.charAt(0)&&c==Us?this.disableAnimations(d,!!g):this.delegate.setProperty(d,c,g)}setValue(d,c){this.delegate.setValue(d,c)}listen(d,c,g,S){return this.delegate.listen(d,c,g,S)}disableAnimations(d,c){this.engine.disableAnimations(d,c)}}class Cs extends $s{factory;constructor(d,c,g,S,P){super(c,g,S,P),this.factory=d,this.namespaceId=c}setProperty(d,c,g){"@"==c.charAt(0)?"."==c.charAt(1)&&c==Us?this.disableAnimations(d,g=void 0===g||!!g):this.engine.process(this.namespaceId,d,c.slice(1),g):this.delegate.setProperty(d,c,g)}listen(d,c,g,S){if("@"==c.charAt(0)){const P=function xl(w){switch(w){case"body":return document.body;case"document":return document;case"window":return window;default:return w}}(d);let ee=c.slice(1),se="";return"@"!=ee.charAt(0)&&([ee,se]=function Vs(w){const d=w.indexOf(".");return[w.substring(0,d),w.slice(d+1)]}(ee)),this.engine.listen(this.namespaceId,P,ee,se,we=>{this.factory.scheduleListenerCallback(we._data||-1,g,we)})}return this.delegate.listen(d,c,g,S)}}class Fa{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(d,c,g){this.delegate=d,this.engine=c,this._zone=g,c.onRemovalComplete=(S,P)=>{P?.removeChild(null,S)}}createRenderer(d,c){const S=this.delegate.createRenderer(d,c);if(!d||!c?.data?.animation){const Re=this._rendererCache;let Je=Re.get(S);return Je||(Je=new $s("",S,this.engine,()=>Re.delete(S)),Re.set(S,Je)),Je}const P=c.id,ee=c.id+"-"+this._currentId;this._currentId++,this.engine.register(ee,d);const se=Re=>{Array.isArray(Re)?Re.forEach(se):this.engine.registerTrigger(P,ee,d,Re.name,Re)};return c.data.animation.forEach(se),new Cs(this,ee,S,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(d,c,g){if(d>=0&&d<this._microtaskId)return void this._zone.run(()=>c(g));const S=this._animationCallbacksBuffer;0==S.length&&queueMicrotask(()=>{this._zone.run(()=>{S.forEach(P=>{const[ee,se]=P;ee(se)}),this._animationCallbacksBuffer=[]})}),S.push([c,g])}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(d){this.engine.flush(),this.delegate.componentReplaced?.(d)}}const Go=[{provide:Ie,useFactory:function Pl(){return new Vt}},{provide:tn,useClass:(()=>{class w extends tn{constructor(c,g,S){super(c,g,S)}ngOnDestroy(){this.flush()}static \u0275fac=function(g){return new(g||w)(s.KVO(z.D),s.KVO(ae),s.KVO(Ie))};static \u0275prov=s.jDH({token:w,factory:w.\u0275fac})}return w})()},{provide:s._9s,useFactory:function Ei(w,d,c){return new Fa(w,d,c)},deps:[$t,tn,s.SKi]}],Hs=[{provide:ae,useFactory:()=>new Xr},{provide:s.bc$,useFactory:()=>"BrowserAnimations"},...Go];var aa=M(9437),ws=M(8810);const Yi={providers:[(0,s.Jn2)({eventCoalescing:!0}),(0,Ve.p)(er),function sa(){return(0,s.ngT)("NgEagerAnimations"),[...Hs]}(),(0,tr.$x)((0,tr.gT)()),(0,ct.s)((0,ct.w)(),(0,ct.t)([(w,d)=>(0,s.WQX)(tt).intercept(w,{handle:d}),(w,d)=>{const c=(0,s.WQX)(jt.t);return d(w).pipe((0,aa.W)(g=>(404===g.status&&c.navigate(["/404"]),(0,ws.$)(()=>g))))}])),{provide:"APP_INITIALIZATION",useFactory:function Wn(){const w=(0,s.WQX)(vt.c$);return w.setDefaultLang("es"),function jn(w,d){const c="object"==typeof d;return new Promise((g,S)=>{const P=new Rr.Ms({next:ee=>{g(ee),P.unsubscribe()},error:S,complete:()=>{c?g(d.defaultValue):S(new ar.G)}});w.subscribe(P)})}(w.use("es"))},multi:!0},(0,s.oKB)(vt.h.forRoot({loader:{provide:vt.Wr,useFactory:function io(w){return new yr(w,"./i18n/",".json")},deps:[ct.a]}}),Pr._B.forRoot({timeOut:3e3,positionClass:"toast-top-right",preventDuplicates:!0}))]};var Ba=M(1653),la=M.n(Ba),Zn=(M(1310),M(8834)),m=M(9211);let C=(()=>{class w{currencyService;currentCurrency;constructor(c){this.currencyService=c;const g=localStorage.getItem("currency");g?(this.currentCurrency=g,this.currencyService.changeCurrency(g)):this.currentCurrency=this.currencyService.getCurrentCurrency()}selectCurrency(c){c!==this.currentCurrency&&(this.currencyService.changeCurrency(c),this.currentCurrency=c,localStorage.setItem("currency",c),window.location.reload())}static \u0275fac=function(g){return new(g||w)(s.rXU(m.P))};static \u0275cmp=s.VBU({type:w,selectors:[["app-currency-selector"]],decls:20,vars:1,consts:[[1,"dropdown","theme-form-select"],["type","button","id","select-dollar","data-bs-toggle","dropdown",1,"btn","dropdown-toggle"],[1,"dropdown-menu","dropdown-menu-end","sm-dropdown-menu"],["href","javascript:void(0)",1,"dropdown-item",3,"click"]],template:function(g,S){1&g&&(s.j41(0,"div",0)(1,"button",1)(2,"span"),s.EFF(3),s.k0s()(),s.j41(4,"ul",2)(5,"li")(6,"a",3),s.bIt("click",function(){return S.selectCurrency("USD")}),s.EFF(7,"USD - Dollar"),s.k0s()(),s.j41(8,"li")(9,"a",3),s.bIt("click",function(){return S.selectCurrency("AUD")}),s.EFF(10,"AUD - Australian Dollar"),s.k0s()(),s.j41(11,"li")(12,"a",3),s.bIt("click",function(){return S.selectCurrency("EUR")}),s.EFF(13,"EUR - Euro"),s.k0s()(),s.j41(14,"li")(15,"a",3),s.bIt("click",function(){return S.selectCurrency("CNY")}),s.EFF(16,"CNY - Chinese Yuan"),s.k0s()(),s.j41(17,"li")(18,"a",3),s.bIt("click",function(){return S.selectCurrency("DOP")}),s.EFF(19,"DOP - Dominican Peso"),s.k0s()()()()),2&g&&(s.R7$(3),s.JRh(S.currentCurrency))},encapsulation:2})}return w})();function v(w,d){if(1&w){const c=s.RV6();s.j41(0,"li")(1,"a",7),s.bIt("click",function(){const S=s.eBV(c).$implicit,P=s.XpG();return s.Njj(P.changeLanguage(S))}),s.nrm(2,"img",4),s.j41(3,"span"),s.EFF(4),s.k0s()()()}if(2&w){const c=d.$implicit,g=s.XpG();s.R7$(2),s.Y8G("src",g.languages[c].flag,s.B4B)("alt",g.languages[c].name),s.R7$(2),s.JRh(g.languages[c].name)}}let b=(()=>{class w{translate;currentLanguage={code:"",name:"",flag:""};languages={es:{name:"",flag:"assets/images/country/dominican-republic.jpg"},en:{name:"",flag:"assets/images/country/united-kingdom.png"},ch:{name:"",flag:"assets/images/country/chines-flag.jpg"}};constructor(c){this.translate=c}ngOnInit(){const c=this.translate.getDefaultLang()||"es";this.changeLanguage(c)}changeLanguage(c){this.languages[c]&&this.translate.use(c).subscribe(()=>{this.updateLanguageLabels(()=>{this.updateCurrentLanguage(c)})})}updateCurrentLanguage(c){this.languages[c]&&(this.currentLanguage={code:c,name:this.languages[c].name,flag:this.languages[c].flag})}updateLanguageLabels(c){const g=Object.keys(this.languages).map(S=>this.translate.get(`language_${S}`).toPromise().then(ee=>{this.languages[S].name=ee}));Promise.all(g).then(()=>{c&&c()})}Object=Object;static \u0275fac=function(g){return new(g||w)(s.rXU(vt.c$))};static \u0275cmp=s.VBU({type:w,selectors:[["app-language"]],decls:11,vars:4,consts:[[1,"about-list","right-nav-about"],[1,"right-nav-list"],[1,"dropdown","theme-form-select"],["type","button","id","select-language","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","dropdown-toggle"],[1,"img-fluid","blur-up","lazyloaded",3,"src","alt"],[1,"dropdown-menu","dropdown-menu-end"],[4,"ngFor","ngForOf"],[1,"dropdown-item",2,"cursor","pointer",3,"click"]],template:function(g,S){1&g&&(s.j41(0,"ul",0)(1,"li",1)(2,"div",2)(3,"button",3),s.nrm(4,"img",4),s.j41(5,"span"),s.EFF(6),s.k0s()(),s.j41(7,"ul",5),s.DNE(8,v,5,3,"li",6),s.k0s()()(),s.j41(9,"li",1),s.nrm(10,"app-currency-selector"),s.k0s()()),2&g&&(s.R7$(4),s.Y8G("src",S.currentLanguage.flag,s.B4B)("alt",S.currentLanguage.name),s.R7$(2),s.JRh(S.currentLanguage.name),s.R7$(2),s.Y8G("ngForOf",S.Object.keys(S.languages)))},dependencies:[Zn.D,Zn.G,vt.h,C],encapsulation:2})}return w})(),N=(()=>{class w{constructor(){}isCloseMenu=!1;ngAfterViewInit(){this.loadThreeSlider()}loadThreeSlider(){la()(".notification-slider").slick({slidesToShow:1,slidesToScroll:1,dots:!1,vertical:!0,variableWidth:!1,autoplay:!0,autoplaySpeed:2500,arrows:!1})}onClose(){this.isCloseMenu=!0}static \u0275fac=function(g){return new(g||w)};static \u0275cmp=s.VBU({type:w,selectors:[["app-header-notification"]],decls:29,vars:0,consts:[[1,"header-top"],[1,"container-fluid-lg"],[1,"row"],[1,"col-xxl-3","d-xxl-block","d-none"],[1,"top-left-header"],[1,"iconly-Location","icli","text-white"],[1,"text-white"],[1,"col-xxl-6","col-lg-9","d-lg-block","d-none"],[1,"header-offer"],[1,"notification-slider"],[1,"timer-notification","text-center"],[1,"me-1"],[1,"ms-1"],["href","shop-left-sidebar.html",1,"text-white"],[1,"col-lg-3"],[1,"about-list","right-nav-about"],[1,"right-nav-list"]],template:function(g,S){1&g&&(s.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4),s.nrm(5,"i",5),s.j41(6,"span",6),s.EFF(7,"Calle 20, No.118, Villa Juana, Dto. Dgo."),s.k0s()()(),s.j41(8,"div",7)(9,"div",8)(10,"div",9)(11,"div")(12,"div",10)(13,"h6")(14,"strong",11),s.EFF(15,"Bienvenido a La Pieza.DO!"),s.k0s(),s.EFF(16,"Ofertas y Regalos Todos los d\xedas."),s.j41(17,"strong",12),s.EFF(18,"Nuevo c\xf3digo de cup\xf3n: Fast024 "),s.k0s()()()(),s.j41(19,"div")(20,"div",10)(21,"h6"),s.EFF(22,"\xa1Algo que amas ya est\xe1 a la venta!"),s.j41(23,"a",13),s.EFF(24,"C\xf3mpralo Ahora!"),s.k0s()()()()()()(),s.j41(25,"div",14)(26,"ul",15)(27,"li",16),s.nrm(28,"app-language"),s.k0s()()()()()())},dependencies:[b],encapsulation:2})}return w})();var Y=M(7374);function W(w,d){if(1&w&&(s.j41(0,"li")(1,"a",18),s.EFF(2),s.k0s()()),2&w){const c=d.$implicit;s.R7$(),s.Y8G("routerLink","products/category/"+c.id),s.R7$(),s.JRh(c.name)}}function Ce(w,d){if(1&w&&(s.j41(0,"div",15)(1,"div",16)(2,"h5"),s.EFF(3),s.k0s()(),s.j41(4,"ul"),s.DNE(5,W,3,2,"li",17),s.k0s(),s.nrm(6,"br"),s.k0s()),2&w){const c=d.$implicit;s.R7$(3),s.JRh(c.name),s.R7$(2),s.Y8G("ngForOf",c.subcategories)}}function qe(w,d){if(1&w&&(s.j41(0,"li",9)(1,"a",10),s.nrm(2,"img",11),s.j41(3,"h6"),s.EFF(4),s.k0s(),s.nrm(5,"i",12),s.k0s(),s.j41(6,"div",13),s.DNE(7,Ce,7,2,"div",14),s.k0s()()),2&w){const c=d.$implicit;s.R7$(),s.Y8G("routerLink","products/category/"+c.id),s.R7$(),s.Y8G("src",c.icon,s.B4B),s.R7$(2),s.JRh(c.name),s.R7$(3),s.Y8G("ngForOf",c.subcategories)}}let bt=(()=>{class w{categoryService;imageUrl;constructor(c){this.categoryService=c}categories=[];ngOnInit(){this.fetchAllCategories()}fetchAllCategories(){this.categoryService.getAllCategories().subscribe({next:c=>{this.categories=c,this.categories.forEach(g=>{this.fetchAllSubCategories(g.id,g)})},error:c=>{console.error("Failed to load categories:",c)}})}fetchAllSubCategories(c,g){this.categoryService.getAllSubCategories(c).subscribe({next:S=>{g.subcategories=S,S.forEach(P=>{this.fetchAllSubSubCategories(P.id,P)})},error:S=>{console.error("Failed to load subcategories for category:",c,S)}})}fetchAllSubSubCategories(c,g){this.categoryService.getAllSubCategories(c).subscribe({next:S=>{g.subcategories=S},error:S=>{console.error("Failed to load subsubcategories for subcategory:",c,S)}})}static \u0275fac=function(g){return new(g||w)(s.rXU(Y.M))};static \u0275cmp=s.VBU({type:w,selectors:[["app-category-menu"]],inputs:{imageUrl:"imageUrl"},decls:14,vars:4,consts:[[1,"header-nav-left"],[1,"dropdown-category","dropdown-category-2"],[1,"iconly-Category","icli"],[1,"category-dropdown"],[1,"category-title"],["type","button",1,"btn","p-0","close-button","text-content"],[1,"fa-solid","fa-xmark"],[1,"category-list"],["class","onhover-category-list",4,"ngFor","ngForOf"],[1,"onhover-category-list"],[1,"category-name",3,"routerLink"],["alt","",3,"src"],[1,"fa-solid","fa-angle-right"],[1,"onhover-category-box"],["class","list-1",4,"ngFor","ngForOf"],[1,"list-1"],[1,"category-title-box"],[4,"ngFor","ngForOf"],[3,"routerLink"]],template:function(g,S){1&g&&(s.j41(0,"div",0)(1,"button",1),s.nrm(2,"i",2),s.j41(3,"span"),s.EFF(4),s.nI1(5,"translate"),s.k0s()(),s.j41(6,"div",3)(7,"div",4)(8,"h5"),s.EFF(9,"Categor\xedas"),s.k0s(),s.j41(10,"button",5),s.nrm(11,"i",6),s.k0s()(),s.j41(12,"ul",7),s.DNE(13,qe,8,4,"li",8),s.k0s()()()),2&g&&(s.R7$(4),s.JRh(s.bMT(5,2,"category_menu_title")),s.R7$(9),s.Y8G("ngForOf",S.categories))},dependencies:[vt.h,vt.D9,Zn.D,Zn.G,Ve.R],encapsulation:2})}return w})();var Sn=M(8359),Mr=M(2289);function Bi(w,d){1&w&&(s.j41(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4),s.nrm(4,"app-category-menu"),s.j41(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"h5",9),s.EFF(10,"Menu"),s.k0s(),s.nrm(11,"button",10),s.k0s(),s.j41(12,"div",11)(13,"ul",12)(14,"li",13)(15,"a",14),s.EFF(16),s.nI1(17,"translate"),s.k0s()(),s.j41(18,"li",15)(19,"a",16),s.EFF(20),s.nI1(21,"translate"),s.k0s()(),s.j41(22,"li",17)(23,"a",18),s.EFF(24),s.nI1(25,"translate"),s.k0s()(),s.j41(26,"li",15)(27,"a",19),s.EFF(28),s.nI1(29,"translate"),s.k0s()()()()()(),s.j41(30,"a",20)(31,"div",21),s.nrm(32,"img",22),s.k0s(),s.j41(33,"span"),s.EFF(34),s.nI1(35,"translate"),s.k0s()()()()()()()),2&w&&(s.R7$(15),s.Y8G("routerLink","/"),s.R7$(),s.JRh(s.bMT(17,9,"home_text_menu")),s.R7$(3),s.Y8G("routerLink","/flash"),s.R7$(),s.JRh(s.bMT(21,11,"offer_flash_text_menu")),s.R7$(3),s.Y8G("routerLink","/stores"),s.R7$(),s.JRh(s.bMT(25,13,"stores_text_menu")),s.R7$(3),s.Y8G("routerLink","/blog"),s.R7$(),s.JRh(s.bMT(29,15,"blog_text_menu")),s.R7$(6),s.JRh(s.bMT(35,17,"hot_offers_text_menu")))}let Zi=(()=>{class w{mainMenuService;isMainMenuOpen=!0;isMobileMenuOpen=!1;subscription=new Sn.yU;constructor(c){this.mainMenuService=c}ngOnInit(){this.subscription.add(this.mainMenuService.isMainMenuOpen$.subscribe(c=>{this.isMainMenuOpen=c,this.updateMenuVisibility()})),this.subscription.add(this.mainMenuService.isMobileMenuOpen$.subscribe(c=>{this.isMobileMenuOpen=c,this.toggleOffcanvas(c)}))}ngAfterViewInit(){[].slice.call(document.querySelectorAll(".offcanvas")).forEach(g=>{new bootstrap.Offcanvas(g,{backdrop:!0})})}updateMenuVisibility(){const c=document.querySelector(".main-nav");c&&(c.style.display=this.isMainMenuOpen?"block":"none")}toggleOffcanvas(c){const g=document.getElementById("primaryMenu");if(g){const S=bootstrap.Offcanvas.getInstance(g)||new bootstrap.Offcanvas(g);c?S.show():S.hide()}}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(g){return new(g||w)(s.rXU(Mr.Y))};static \u0275cmp=s.VBU({type:w,selectors:[["app-main-menu"]],decls:1,vars:1,consts:[["class","container-fluid-lg",4,"ngIf"],[1,"container-fluid-lg"],[1,"row"],[1,"col-12"],[1,"main-nav"],[1,"right-nav"],[1,"main-nav","navbar","navbar-expand-xl","navbar-light","navbar-sticky"],["id","primaryMenu","tabindex","-1","aria-labelledby","primaryMenuLabel",1,"offcanvas","offcanvas-star","offcanvas-collapse","order-xl-2"],[1,"offcanvas-header","navbar-shadow"],["id","primaryMenuLabel",1,"offcanvas-title"],["type","button","data-bs-dismiss","offcanvas","aria-label","Close",1,"btn-close","lead"],[1,"offcanvas-body"],[1,"navbar-nav"],[1,"nav-item"],[1,"nav-link","ps-xl-2","ps-0",3,"routerLink"],[1,"nav-item","dropdown"],["data-bs-toggle","dropdown",1,"nav-link","dropdown-toggle",3,"routerLink"],[1,"nav-item","dropdown","dropdown-mega"],["href","javascript:void(0)","data-bs-toggle","dropdown",1,"nav-link","dropdown-toggle","ps-xl-2","ps-0",3,"routerLink"],["href","javascript:void(0)","data-bs-toggle","dropdown",1,"nav-link","dropdown-toggle",3,"routerLink"],["href","javascript:void(0)","data-bs-toggle","modal","data-bs-target","#deal-box",1,"btn","theme-bg-color","ms-3","fire-button"],[1,"fire"],["src","assets/images/icon/hot-sale.png","alt","",1,"img-fluid"]],template:function(g,S){1&g&&s.DNE(0,Bi,36,19,"div",0),2&g&&s.Y8G("ngIf",S.isMainMenuOpen)},dependencies:[Zn.D,Zn.I,Ve.R,bt,vt.h,vt.D9],encapsulation:2})}return w})();var ti=M(8240);const Eo=w=>["/product",w];function Di(w,d){1&w&&(s.j41(0,"div",10)(1,"p"),s.EFF(2,"Your cart is empty."),s.k0s()())}function ua(w,d){if(1&w){const c=s.RV6();s.j41(0,"li",21)(1,"div",22)(2,"table")(3,"tr")(4,"td")(5,"a",23),s.nrm(6,"img",24),s.k0s(),s.j41(7,"button",25),s.bIt("click",function(){const S=s.eBV(c).index,P=s.XpG().index,ee=s.XpG(2);return s.Njj(ee.removeItem(P,S))}),s.nrm(8,"i",26),s.k0s()(),s.j41(9,"td")(10,"table",27)(11,"tr")(12,"td")(13,"h5",28)(14,"a",29),s.EFF(15),s.k0s()()()(),s.j41(16,"tr")(17,"td")(18,"h6")(19,"span"),s.EFF(20),s.k0s(),s.EFF(21),s.k0s()()()()()()()()()}if(2&w){const c=d.$implicit;s.R7$(5),s.Y8G("routerLink",s.eq3(6,Eo,c.slug)),s.R7$(),s.Y8G("src",c.product_thumbnail_image||"assets/images/default-product.png",s.B4B),s.R7$(8),s.Y8G("routerLink",s.eq3(8,Eo,c.slug)),s.R7$(),s.JRh(c.product_name),s.R7$(5),s.SpI("(",c.quantity," x)"),s.R7$(),s.SpI(" ",c.price," ")}}function da(w,d){if(1&w&&(s.j41(0,"ul",19),s.DNE(1,ua,22,10,"li",20),s.k0s()),2&w){const c=d.$implicit,g=s.XpG(2);s.R7$(),s.Y8G("ngForOf",c.cart_items)("ngForTrackBy",g.trackByCartItem)}}function Jo(w,d){if(1&w&&(s.j41(0,"div")(1,"div",11)(2,"h6",12),s.EFF(3,"Products in cart"),s.k0s(),s.DNE(4,da,2,2,"ul",13),s.k0s(),s.j41(5,"div",14)(6,"h5"),s.EFF(7,"Tax:"),s.k0s(),s.j41(8,"h4",15),s.EFF(9),s.k0s()(),s.j41(10,"div",14)(11,"h5"),s.EFF(12,"Total:"),s.k0s(),s.j41(13,"h4",15),s.EFF(14),s.k0s()(),s.j41(15,"div",16)(16,"a",17),s.EFF(17,"View Cart"),s.k0s(),s.j41(18,"a",18),s.EFF(19," Checkout "),s.k0s()()()),2&w){const c=s.XpG();s.R7$(4),s.Y8G("ngForOf",c.cartItemsList)("ngForTrackBy",c.trackByShop),s.R7$(5),s.SpI("+",c.taxTotal,""),s.R7$(5),s.JRh(c.grandTotal),s.R7$(2),s.Y8G("routerLink","/cart"),s.R7$(2),s.Y8G("routerLink","/checkout")}}let qc=(()=>{class w{cartService;cdRef;totalInCart=0;cartItemsList=[];grandTotal="";finalTotal="";taxTotal=0;shippingCost=0;couponDiscount=0;constructor(c,g){this.cartService=c,this.cdRef=g}ngOnInit(){this.loadCartItems(),this.cartService.cartUpdated$.subscribe(()=>{this.loadCartItems()})}loadCartItems(){this.cartService.getUserCart().subscribe({next:c=>{this.cartItemsList=(c.data||[]).map(g=>({...g,cart_items:g.cart_items||[],sub_total:g.sub_total||"0",tax_total:g.tax_total||"0"})),this.calculateTotals()},error:c=>{console.error("Failed to load cart items:",c),this.cartItemsList=[],this.calculateTotals()}})}calculateTotals(){let c=0,g=0;const S="string"==typeof this.shippingCost?this.parseCurrency(this.shippingCost):this.shippingCost||0,P="string"==typeof this.couponDiscount?this.parseCurrency(this.couponDiscount):this.couponDiscount||0;this.cartItemsList.forEach(we=>{const Re=this.parseCurrency(we.sub_total)||0;we.tax_total&&this.parseCurrency(we.tax_total),c+=Re,we.cart_items.forEach(be=>{const gt=be.tax?this.parseCurrency(be.tax):0;g+=gt})}),c=Math.max(0,c),g=Math.max(0,g);const se=Math.max(0,c+g+S-P);this.grandTotal=this.formatCurrency(c),this.taxTotal=this.formatCurrency(g),this.finalTotal=this.formatCurrency(se),this.totalInCart=this.cartItemsList.reduce((we,Re)=>we+Re.cart_items.reduce((Je,be)=>Je+(be.quantity||0),0),0),this.cdRef.markForCheck()}parseCurrency(c){return c&&parseFloat(c.replace(/RD\$/g,"").replace(/,/g,""))||0}formatCurrency(c){return`RD$${c.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2})}`}removeItem(c,g){const S=this.cartItemsList[c];if(S&&S.cart_items[g]){const P=S.cart_items[g].id;this.cartService.deleteProductUserCart(P).subscribe({next:()=>{S.cart_items.splice(g,1),0===S.cart_items.length&&this.cartItemsList.splice(c,1),this.calculateTotals(),this.cdRef.markForCheck()},error:ee=>{console.error(`[CartDropComponent] Failed to remove product ID ${P}:`,ee)}})}}trackByShop(c,g){return g.owner_id}trackByCartItem(c,g){return g.id}static \u0275fac=function(g){return new(g||w)(s.rXU(ti.m),s.rXU(s.gRc))};static \u0275cmp=s.VBU({type:w,selectors:[["app-cart-drop"]],decls:11,vars:3,consts:[[1,"onhover-dropdown","header-badge"],["type","button",1,"btn","p-0","position-relative","header-wishlist"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"feather","feather-shopping-cart"],["cx","9","cy","21","r","1"],["cx","20","cy","21","r","1"],["d","M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"],[1,"position-absolute","top-0","start-100","translate-middle","badge","text-white"],[1,"onhover-div"],["class","empty-cart",4,"ngIf"],[4,"ngIf"],[1,"empty-cart"],[1,"shop-section",2,"height","300px","overflow-y","scroll"],[1,"shop-name"],["class","cart-list",4,"ngFor","ngForOf","ngForTrackBy"],[1,"price-box"],[1,"theme-color","fw-bold"],[1,"button-group"],[1,"btn","btn-sm","cart-button",3,"routerLink"],[1,"btn","btn-sm","cart-button","theme-bg-color","text-white",3,"routerLink"],[1,"cart-list"],["class","product-box-contain",4,"ngFor","ngForOf","ngForTrackBy"],[1,"product-box-contain"],[1,"drop-cart"],[1,"drop-image",3,"routerLink"],["alt","Product Image",1,"blur-up","lazyload",3,"src"],[1,"btn","btn-danger","btn-sm","w-100",2,"max-width","87px","border","1px solid #ddd",3,"click"],[1,"fa-solid","fa-trash"],[2,"width","100%"],[2,"color","red","cursor","pointer"],[3,"routerLink"]],template:function(g,S){1&g&&(s.j41(0,"div",0)(1,"button",1),s.qSk(),s.j41(2,"svg",2),s.nrm(3,"circle",3)(4,"circle",4)(5,"path",5),s.k0s(),s.joV(),s.j41(6,"span",6),s.EFF(7),s.k0s()(),s.j41(8,"div",7),s.DNE(9,Di,3,0,"div",8)(10,Jo,20,6,"div",9),s.k0s()()),2&g&&(s.R7$(7),s.SpI(" ",S.totalInCart," "),s.R7$(2),s.Y8G("ngIf",0===S.totalInCart),s.R7$(),s.Y8G("ngIf",S.totalInCart>0))},dependencies:[Ve.R,Zn.D,Zn.G,Zn.I],styles:[".cart-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.product-box-contain[_ngcontent-%COMP%]{display:flex;align-items:flex-start;margin-bottom:16px}.drop-cart[_ngcontent-%COMP%]{display:flex;width:100%}.drop-image[_ngcontent-%COMP%]{width:50px;height:50px;margin-right:12px}.drop-contain[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-size:14px;margin:0 0 4px}.drop-contain[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{margin:0;font-size:12px;color:#999}.close-button[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer}.badge[_ngcontent-%COMP%]{background-color:#e4002b;border-radius:50%;padding:4px 8px;font-size:12px}"]})}return w})();var Ll=M(7673),Ua=M(5558);const Do=(w,d)=>({stroke:w,fill:d});function bs(w,d){if(1&w&&(s.qex(0),s.j41(1,"h6"),s.EFF(2),s.nI1(3,"translate"),s.k0s(),s.j41(4,"h5",53),s.EFF(5),s.k0s(),s.bVm()),2&w){const c=s.XpG();s.R7$(2),s.JRh(s.bMT(3,2,"welcome_user_text")),s.R7$(3),s.JRh(c.userName)}}function jl(w,d){1&w&&(s.j41(0,"h6"),s.EFF(1),s.nI1(2,"translate"),s.k0s()),2&w&&(s.R7$(),s.JRh(s.bMT(2,1,"log_in")))}function Rd(w,d){if(1&w){const c=s.RV6();s.qex(0),s.j41(1,"li",54)(2,"a",55),s.EFF(3),s.nI1(4,"translate"),s.k0s(),s.j41(5,"a",56),s.bIt("click",function(){s.eBV(c);const S=s.XpG();return s.Njj(S.logout())}),s.EFF(6),s.nI1(7,"translate"),s.k0s()(),s.bVm()}2&w&&(s.R7$(2),s.Y8G("routerLink","/dashboard"),s.R7$(),s.JRh(s.bMT(4,3,"user_panel_dashboard")),s.R7$(3),s.JRh(s.bMT(7,5,"logout_text")))}function Od(w,d){1&w&&(s.j41(0,"li",54)(1,"a",55),s.EFF(2),s.nI1(3,"translate"),s.k0s()(),s.j41(4,"li",54)(5,"a",55),s.EFF(6),s.nI1(7,"translate"),s.k0s()(),s.j41(8,"li",54)(9,"a",55),s.EFF(10),s.nI1(11,"translate"),s.k0s()()),2&w&&(s.R7$(),s.Y8G("routerLink","/login"),s.R7$(),s.JRh(s.bMT(3,6,"login_text")),s.R7$(3),s.Y8G("routerLink","/register"),s.R7$(),s.JRh(s.bMT(7,8,"register_text")),s.R7$(3),s.Y8G("routerLink","/forgot-password"),s.R7$(),s.JRh(s.bMT(11,10,"recovery_text")))}let Yc=(()=>{class w{router;translate;loginService;cdRef;MainMenuService;isAuthenticated=!1;userName="Invitado";wishlistActive=!1;totalInWishlist=0;subscriptions=new Sn.yU;constructor(c,g,S,P,ee){this.router=c,this.translate=g,this.loginService=S,this.cdRef=P,this.MainMenuService=ee,this.translate.setDefaultLang("es")}ngAfterViewInit(){[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function(P){return new bootstrap.Tooltip(P)}),[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function(P){return new bootstrap.Popover(P)}),[].slice.call(document.querySelectorAll(".offcanvas")).map(function(P){return new bootstrap.Offcanvas(P)})}ngOnInit(){console.log("TopMainMenuComponent: Initializing..."),this.subscriptions.add(this.loginService.getAuthStatus().pipe((0,Ua.n)(c=>(console.log("TopMainMenuComponent: Detected authStatus change:",c),this.isAuthenticated=c,c?this.loginService.getUserInfo():(0,Ll.of)(null)))).subscribe({next:c=>{this.userName=c&&c.data&&c.data.length>0&&c.data[0].name||"Invitado",this.cdRef.detectChanges()},error:c=>{console.error("Error fetching user info:",c),this.userName="Invitado",this.cdRef.detectChanges()}}))}loadUser(){console.log("TopMainMenuComponent: Loading user info...");const c=this.loginService.getCurrentUserSync();console.log("TopMainMenuComponent: Loaded user:",c),c&&c.name?(this.userName=c.name,console.log("TopMainMenuComponent: User name set to:",this.userName)):(console.warn("User data is missing or does not contain a name."),this.userName="Invitado")}syncWishlistCount(){const c=localStorage.getItem("wishlistCount")||"0";this.totalInWishlist=parseInt(c,10),this.cdRef.detectChanges()}toggleWishlistIcon(c){c.preventDefault(),this.router.navigate(this.isAuthenticated?["/wishlist"]:["/login"])}logout(){console.log("TopMainMenuComponent: Logging out..."),this.loginService.logout(),this.isAuthenticated=!1,this.userName="Invitado",this.router.navigateByUrl("/login"),this.cdRef.detectChanges()}ngOnDestroy(){this.subscriptions.unsubscribe()}toggleMainMenu(){this.MainMenuService.toggleMainMenu()}toggleMobileMenu(){this.MainMenuService.toggleMobileMenu()}static \u0275fac=function(g){return new(g||w)(s.rXU(jt.t),s.rXU(vt.c$),s.rXU(Kt.H),s.rXU(s.gRc),s.rXU(Mr.Y))};static \u0275cmp=s.VBU({type:w,selectors:[["app-top-main-menu"]],decls:72,vars:16,consts:[["notAuthenticatedDetails",""],["notAuthenticatedOptions",""],[1,"top-nav","top-header","sticky-header","sticky-header-3"],[1,"container-fluid-lg"],[1,"row"],[1,"col-12"],[1,"navbar-top"],["type","button","data-bs-toggle","offcanvas","data-bs-target","#primaryMenu",1,"navbar-toggler","d-xl-none","d-block","p-0","me-3",3,"click"],[1,"navbar-toggler-icon"],[1,"iconly-Category","icli","theme-color"],[1,"web-logo","nav-logo",3,"routerLink"],["src","assets/images/logo/3.png","alt","","height","305","width","678",1,"img-fluid","blur-up","lazyload",2,"width","180px"],[1,"search-full"],[1,"input-group"],[1,"input-group-text"],["data-feather","search",1,"font-light"],["type","text","placeholder","Busca aqui..",1,"form-control","search-type"],[1,"input-group-text","close-search"],["data-feather","x",1,"font-light"],[1,"middle-box"],[1,"center-box"],[1,"searchbar-box","order-xl-1","d-none","d-xl-block"],["type","search","id","exampleFormControlInput1",1,"form-control",3,"placeholder"],[1,"btn","search-button"],[1,"iconly-Search","icli"],[1,"location-box-2"],["data-bs-toggle","modal","data-bs-target","#locationModal",1,"btn","location-button"],[1,"iconly-Location","icli"],[1,"locat-name"],[1,"fa-solid","fa-angle-down","down-arrow"],[1,"rightside-box"],["type","text","placeholder","Search here..",1,"form-control","search-type"],[1,"right-side-menu"],[1,"right-side"],[1,"delivery-login-box"],[1,"delivery-icon"],[1,"search-box"],["data-feather","search"],[1,"btn","p-0","position-relative","header-wishlist",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"feather","feather-heart",3,"ngStyle"],["d","M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"],[1,"position-absolute","top-0","start-100","translate-middle","badge","text-white"],[1,"right-side","onhover-dropdown"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"feather","feather-user"],["d","M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"],["cx","12","cy","7","r","4"],[1,"delivery-detail"],[4,"ngIf","ngIfElse"],[1,"onhover-div","onhover-div-login"],[1,"user-box-name"],["href","https://negocios.lapieza.do/iniciar-sesion","target","_blank",1,"btn","btn-lg","btn-block","text-white","fw-bold","btn-business"],[1,"fa-solid","fa-briefcase","me-2"],[1,"text-white","small"],["routerLink","/dashboard",2,"color","#003b73"],[1,"product-box-contain"],[3,"routerLink"],["href","javascript:void(0)",3,"click"]],template:function(g,S){if(1&g){const P=s.RV6();s.j41(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"div",6)(5,"button",7),s.bIt("click",function(){return s.eBV(P),s.Njj(S.toggleMobileMenu())}),s.j41(6,"span",8),s.nrm(7,"i",9),s.k0s()(),s.j41(8,"a",10),s.nrm(9,"img",11),s.k0s(),s.j41(10,"div",12)(11,"div",13)(12,"span",14),s.nrm(13,"i",15),s.k0s(),s.nrm(14,"input",16),s.j41(15,"span",17),s.nrm(16,"i",18),s.k0s()()(),s.j41(17,"div",19)(18,"div",20)(19,"div",21),s.nrm(20,"input",22),s.nI1(21,"translate"),s.j41(22,"button",23),s.nrm(23,"i",24),s.k0s()(),s.j41(24,"div",25)(25,"button",26),s.nrm(26,"i",27),s.j41(27,"span",28),s.EFF(28),s.nI1(29,"translate"),s.k0s(),s.nrm(30,"i",29),s.k0s()()()(),s.j41(31,"div",30)(32,"div",12)(33,"div",13)(34,"span",14),s.nrm(35,"i",15),s.k0s(),s.nrm(36,"input",31),s.j41(37,"span",17),s.nrm(38,"i",18),s.k0s()()(),s.j41(39,"ul",32)(40,"li",33)(41,"div",34)(42,"div",35)(43,"div",36),s.nrm(44,"i",37),s.k0s()()()(),s.j41(45,"li",33)(46,"a",38),s.bIt("click",function(se){return s.eBV(P),s.Njj(S.toggleWishlistIcon(se))}),s.qSk(),s.j41(47,"svg",39),s.nrm(48,"path",40),s.k0s(),s.joV(),s.j41(49,"span",41),s.EFF(50),s.k0s()()(),s.j41(51,"li",33),s.nrm(52,"app-cart-drop"),s.k0s(),s.j41(53,"li",42)(54,"div",34)(55,"div",35),s.qSk(),s.j41(56,"svg",43),s.nrm(57,"path",44)(58,"circle",45),s.k0s()(),s.joV(),s.j41(59,"div",46),s.DNE(60,bs,6,4,"ng-container",47)(61,jl,3,3,"ng-template",null,0,s.C5r),s.k0s()(),s.j41(63,"div",48)(64,"ul",49),s.DNE(65,Rd,8,7,"ng-container",47)(66,Od,12,12,"ng-template",null,1,s.C5r),s.k0s()()(),s.j41(68,"a",50),s.nrm(69,"i",51),s.j41(70,"span",52),s.EFF(71,"\xc1rea de Negocios"),s.k0s()()()()()()()()()}if(2&g){const P=s.sdS(62),ee=s.sdS(67);s.R7$(8),s.Y8G("routerLink","/"),s.R7$(12),s.FS9("placeholder",s.bMT(21,9,"search_placeholder")),s.R7$(8),s.JRh(s.bMT(29,11,"where_iam_title")),s.R7$(19),s.Y8G("ngStyle",s.l_i(13,Do,S.wishlistActive?"#ff0000":"currentColor",S.wishlistActive?"#ff0000":"none")),s.R7$(3),s.JRh(S.totalInWishlist),s.R7$(10),s.Y8G("ngIf",S.isAuthenticated)("ngIfElse",P),s.R7$(5),s.Y8G("ngIf",S.isAuthenticated)("ngIfElse",ee)}},dependencies:[Ve.R,vt.h,vt.D9,qc,Zn.I,Zn.D,Zn.M],styles:[".buttonbis[_ngcontent-%COMP%]{background-color:#003b73;color:#fff;border-radius:5px;padding:7% 65%}"]})}return w})();var fa=M(6471);function Ws(w,d){1&w&&s.nrm(0,"app-main-menu")}let Nd=(()=>{class w{mainMenuService;isMainMenuOpen=!1;isMobileMenuOpen=!1;constructor(c){this.mainMenuService=c}ngOnInit(){this.mainMenuService.isMainMenuOpen$.subscribe(c=>{this.isMainMenuOpen=c}),this.mainMenuService.isMobileMenuOpen$.subscribe(c=>{this.isMobileMenuOpen=c})}toggleMobileMenu(){this.mainMenuService.toggleMobileMenu()}main=fa.iW;static \u0275fac=function(g){return new(g||w)(s.rXU(Mr.Y))};static \u0275cmp=s.VBU({type:w,selectors:[["app-header"]],decls:4,vars:1,consts:[[1,"header-2"],[4,"ngIf"]],template:function(g,S){1&g&&(s.j41(0,"header",0),s.nrm(1,"app-header-notification")(2,"app-top-main-menu"),s.DNE(3,Ws,1,0,"app-main-menu",1),s.k0s()),2&g&&(s.R7$(3),s.Y8G("ngIf",S.mainMenuService.isMainMenuOpen$))},dependencies:[N,Zi,Yc,Zn.I],encapsulation:2})}return w})(),kd=(()=>{class w{isCookieBarHidden=!1;constructor(){this.isCookieBarHidden=null!==localStorage.getItem("cookieSet")}hideCookieBar(){this.isCookieBarHidden=!0,localStorage.setItem("cookieSet","true")}static \u0275fac=function(g){return new(g||w)};static \u0275cmp=s.VBU({type:w,selectors:[["app-modal-cookies"]],decls:19,vars:11,consts:[[1,"cookie-bar-box"],[1,"cookie-box"],[1,"cookie-image"],["src","assets/images/cookie-bar.png","alt","",1,"blur-up","lazyload"],[1,"cookie-contain"],[1,"text-content"],[1,"button-group"],["href","https://soporte.lapieza.do/?q=politicas-privacidad","target","_blank"],[1,"btn","privacy-button"],[1,"btn","ok-button",3,"click"]],template:function(g,S){1&g&&(s.j41(0,"div",0)(1,"div",1)(2,"div",2),s.nrm(3,"img",3),s.j41(4,"h4")(5,"b"),s.EFF(6,"Cookies!"),s.k0s()()(),s.j41(7,"div",4)(8,"a",5),s.EFF(9),s.nI1(10,"translate"),s.k0s()()(),s.j41(11,"div",6)(12,"a",7)(13,"button",8),s.EFF(14),s.nI1(15,"translate"),s.k0s()(),s.j41(16,"button",9),s.bIt("click",function(){return S.hideCookieBar()}),s.EFF(17),s.nI1(18,"translate"),s.k0s()()()),2&g&&(s.AVh("hide",S.isCookieBarHidden),s.R7$(9),s.JRh(s.bMT(10,5,"cookies_policy_text")),s.R7$(5),s.JRh(s.bMT(15,7,"cookies_policy")),s.R7$(3),s.JRh(s.bMT(18,9,"i_agree")))},dependencies:[vt.h,vt.D9],encapsulation:2})}return w})();function xd(w,d){if(1&w&&(s.j41(0,"li"),s.nrm(1,"img",11),s.k0s()),2&w){const c=d.$implicit;s.R7$(),s.Y8G("src",c.product_thumbnail_image||"assets/images/default-product.png",s.B4B)("alt",c.product_name)}}function Bl(w,d){if(1&w&&(s.j41(0,"li"),s.EFF(1),s.k0s()),2&w){const c=s.XpG(2);s.R7$(),s.SpI("+",c.totalCartItems-3,"")}}function Ul(w,d){if(1&w){const c=s.RV6();s.j41(0,"div",4)(1,"button",5),s.bIt("click",function(){s.eBV(c);const S=s.XpG();return s.Njj(S.toggleCartVisibility())}),s.nrm(2,"i",6),s.k0s(),s.j41(3,"h6"),s.nrm(4,"i",2),s.j41(5,"span"),s.EFF(6),s.k0s()(),s.j41(7,"ul",7),s.DNE(8,xd,2,2,"li",8),s.nI1(9,"slice"),s.DNE(10,Bl,2,1,"li",9),s.k0s(),s.j41(11,"button",10),s.EFF(12),s.k0s()()}if(2&w){const c=s.XpG();s.R7$(6),s.SpI("",c.totalCartItems," Items"),s.R7$(2),s.Y8G("ngForOf",s.brH(9,5,c.cartItems,0,3)),s.R7$(2),s.Y8G("ngIf",c.totalCartItems>3),s.R7$(),s.Y8G("routerLink","/cart"),s.R7$(),s.SpI(" ",c.totalCartCost," ")}}let Zc=(()=>{class w{cartService;cartItems=[];totalCartItems=0;totalCartCost="0.00";isCartVisible=!1;constructor(c){this.cartService=c}ngOnInit(){this.loadCartData(),this.cartService.cartUpdated$.subscribe(c=>{this.cartItems=c.flatMap(g=>g.cart_items||[]),this.calculateCartTotals(),this.loadCartData()}),this.cartService.refreshCart()}loadCartData(){this.cartService.getUserCart().subscribe({next:c=>{c&&c.data&&(this.cartItems=c.data.reduce((g,S)=>g.concat(S.cart_items),[]),this.calculateCartTotals())},error:c=>console.error("Error loading cart data:",c)})}calculateCartTotals(){this.totalCartItems=0;let c=0;this.cartItems&&this.cartItems.length>0&&this.cartItems.forEach(g=>{const S=g.quantity||1,P=parseFloat(g.price.replace(/[^0-9.-]+/g,""))||0,ee=g.discount&&parseFloat(g.discount.replace(/[^0-9.-]+/g,""))||0,se=g.tax&&parseFloat(g.tax.replace(/[^0-9.-]+/g,""))||0;this.totalCartItems+=S;const Re=Math.max(0,P-ee)*S+se*S;c+=Re}),this.totalCartCost=this.formatCurrency(c)}formatCurrency(c){return new Intl.NumberFormat("en-US",{style:"currency",currency:"DOP"}).format(c)}toggleCartVisibility(){this.isCartVisible=!this.isCartVisible}static \u0275fac=function(g){return new(g||w)(s.rXU(ti.m))};static \u0275cmp=s.VBU({type:w,selectors:[["app-float-cart-button"]],decls:4,vars:1,consts:[[1,"button-item"],[1,"item-btn","btn","text-white",3,"click"],[1,"iconly-Bag-2","icli"],["class","item-section",4,"ngIf"],[1,"item-section"],[1,"close-button",3,"click"],[1,"fas","fa-times"],[1,"items-image"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"btn","item-button","btn-sm","fw-bold",3,"routerLink"],["height","149","width","183",3,"src","alt"]],template:function(g,S){1&g&&(s.j41(0,"div",0)(1,"button",1),s.bIt("click",function(){return S.toggleCartVisibility()}),s.nrm(2,"i",2),s.k0s()(),s.DNE(3,Ul,13,9,"div",3)),2&g&&(s.R7$(3),s.Y8G("ngIf",S.isCartVisible))},dependencies:[Ve.R,Zn.D,Zn.G,Zn.I,Zn.a5],styles:[".item-section[_ngcontent-%COMP%]{right:0!important}"]})}return w})(),Gs=(()=>{class w{static \u0275fac=function(g){return new(g||w)};static \u0275cmp=s.VBU({type:w,selectors:[["app-modal-quick-view"]],decls:76,vars:0,consts:[["id","view","tabindex","-1",1,"modal","fade","theme-modal","view-modal"],[1,"modal-dialog","modal-dialog-centered","modal-xl","modal-fullscreen-sm-down"],[1,"modal-content"],[1,"modal-header","p-0"],["type","button","data-bs-dismiss","modal",1,"btn-close"],[1,"fa-solid","fa-xmark"],[1,"modal-body"],[1,"row","g-sm-4","g-2"],[1,"col-lg-6"],[1,"slider-image"],["src","assets/images/product/category/1.jpg","alt","",1,"img-fluid","blur-up","lazyload"],[1,"right-sidebar-modal"],[1,"title-name"],[1,"price"],[1,"product-rating"],[1,"rating"],["data-feather","star",1,"fill"],["data-feather","star"],[1,"ms-2"],[1,"ms-2","text-danger"],[1,"product-detail"],[1,"brand-list"],[1,"brand-box"],[1,"select-size"],[1,"form-select","select-form-size"],["selected",""],["value","1.2"],["value","0"],["value","1.5"],["value","red"],["value","pink"],[1,"modal-button"],["onclick","location.href = 'product-left-thumbnail.html';",1,"btn","theme-bg-color","view-button","icon","text-white","fw-bold","btn-md"]],template:function(g,S){1&g&&(s.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"button",4),s.nrm(5,"i",5),s.k0s()(),s.j41(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),s.nrm(10,"img",10),s.k0s()(),s.j41(11,"div",8)(12,"div",11)(13,"h4",12),s.EFF(14,"Peanut Butter Bite Premium Butter Cookies 600 g"),s.k0s(),s.j41(15,"h4",13),s.EFF(16,"$36.99"),s.k0s(),s.j41(17,"div",14)(18,"ul",15)(19,"li"),s.nrm(20,"i",16),s.k0s(),s.j41(21,"li"),s.nrm(22,"i",16),s.k0s(),s.j41(23,"li"),s.nrm(24,"i",16),s.k0s(),s.j41(25,"li"),s.nrm(26,"i",16),s.k0s(),s.j41(27,"li"),s.nrm(28,"i",17),s.k0s()(),s.j41(29,"span",18),s.EFF(30,"8 Reviews"),s.k0s(),s.j41(31,"span",19),s.EFF(32,"6 sold in last 16 hours"),s.k0s()(),s.j41(33,"div",20)(34,"h4"),s.EFF(35,"Product Details :"),s.k0s(),s.j41(36,"p"),s.EFF(37,"Candy canes sugar plum tart cotton candy chupa chups sugar plum chocolate I love. Caramels marshmallow icing dessert candy canes I love souffl\xe9 I love toffee. Marshmallow pie sweet sweet roll sesame snaps tiramisu jelly bear claw. Bonbon muffin I love carrot cake sugar plum dessert bonbon."),s.k0s()(),s.j41(38,"ul",21)(39,"li")(40,"div",22)(41,"h5"),s.EFF(42,"Brand Name:"),s.k0s(),s.j41(43,"h6"),s.EFF(44,"Black Forest"),s.k0s()()(),s.j41(45,"li")(46,"div",22)(47,"h5"),s.EFF(48,"Product Code:"),s.k0s(),s.j41(49,"h6"),s.EFF(50,"W0690034"),s.k0s()()(),s.j41(51,"li")(52,"div",22)(53,"h5"),s.EFF(54,"Product Type:"),s.k0s(),s.j41(55,"h6"),s.EFF(56,"White Cream Cake"),s.k0s()()()(),s.j41(57,"div",23)(58,"h4"),s.EFF(59,"Cake Size :"),s.k0s(),s.j41(60,"select",24)(61,"option",25),s.EFF(62,"Select Size"),s.k0s(),s.j41(63,"option",26),s.EFF(64,"1/2 KG"),s.k0s(),s.j41(65,"option",27),s.EFF(66,"1 KG"),s.k0s(),s.j41(67,"option",28),s.EFF(68,"1/5 KG"),s.k0s(),s.j41(69,"option",29),s.EFF(70,"Red Roses"),s.k0s(),s.j41(71,"option",30),s.EFF(72,"With Pink Roses"),s.k0s()()(),s.j41(73,"div",31)(74,"button",32),s.EFF(75," View More Details"),s.k0s()()()()()()()()())},encapsulation:2})}return w})(),Ks=(()=>{class w{static \u0275fac=function(g){return new(g||w)};static \u0275cmp=s.VBU({type:w,selectors:[["app-modal-location-view"]],decls:79,vars:0,consts:[["id","locationModal","tabindex","-1",1,"modal","location-modal","fade","theme-modal"],[1,"modal-dialog","modal-dialog-centered","modal-fullscreen-sm-down"],[1,"modal-content"],[1,"modal-header"],["id","exampleModalLabel",1,"modal-title"],[1,"mt-1","text-content"],["type","button","data-bs-dismiss","modal",1,"btn-close"],[1,"fa-solid","fa-xmark"],[1,"modal-body"],[1,"location-list"],[1,"search-input"],["type","search","placeholder","Search Your Area",1,"form-control"],[1,"fa-solid","fa-magnifying-glass"],[1,"disabled-box"],[1,"location-select","custom-height"],["href","javascript:void(0)"]],template:function(g,S){1&g&&(s.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h5",4),s.EFF(5,"Choose your Delivery Location"),s.k0s(),s.j41(6,"p",5),s.EFF(7,"Enter your address and we will specify the offer for your area."),s.k0s(),s.j41(8,"button",6),s.nrm(9,"i",7),s.k0s()(),s.j41(10,"div",8)(11,"div",9)(12,"div",10),s.nrm(13,"input",11)(14,"i",12),s.k0s(),s.j41(15,"div",13)(16,"h6"),s.EFF(17,"Select a Location"),s.k0s()(),s.j41(18,"ul",14)(19,"li")(20,"a",15)(21,"h6"),s.EFF(22,"Alabama"),s.k0s(),s.j41(23,"span"),s.EFF(24,"Min: $130"),s.k0s()()(),s.j41(25,"li")(26,"a",15)(27,"h6"),s.EFF(28,"Arizona"),s.k0s(),s.j41(29,"span"),s.EFF(30,"Min: $150"),s.k0s()()(),s.j41(31,"li")(32,"a",15)(33,"h6"),s.EFF(34,"California"),s.k0s(),s.j41(35,"span"),s.EFF(36,"Min: $110"),s.k0s()()(),s.j41(37,"li")(38,"a",15)(39,"h6"),s.EFF(40,"Colorado"),s.k0s(),s.j41(41,"span"),s.EFF(42,"Min: $140"),s.k0s()()(),s.j41(43,"li")(44,"a",15)(45,"h6"),s.EFF(46,"Florida"),s.k0s(),s.j41(47,"span"),s.EFF(48,"Min: $160"),s.k0s()()(),s.j41(49,"li")(50,"a",15)(51,"h6"),s.EFF(52,"Georgia"),s.k0s(),s.j41(53,"span"),s.EFF(54,"Min: $120"),s.k0s()()(),s.j41(55,"li")(56,"a",15)(57,"h6"),s.EFF(58,"Kansas"),s.k0s(),s.j41(59,"span"),s.EFF(60,"Min: $170"),s.k0s()()(),s.j41(61,"li")(62,"a",15)(63,"h6"),s.EFF(64,"Minnesota"),s.k0s(),s.j41(65,"span"),s.EFF(66,"Min: $120"),s.k0s()()(),s.j41(67,"li")(68,"a",15)(69,"h6"),s.EFF(70,"New York"),s.k0s(),s.j41(71,"span"),s.EFF(72,"Min: $110"),s.k0s()()(),s.j41(73,"li")(74,"a",15)(75,"h6"),s.EFF(76,"Washington"),s.k0s(),s.j41(77,"span"),s.EFF(78,"Min: $130"),s.k0s()()()()()()()()())},encapsulation:2})}return w})(),Pd=(()=>{class w{static \u0275fac=function(g){return new(g||w)};static \u0275cmp=s.VBU({type:w,selectors:[["app-modal-deals-view"]],decls:79,vars:0,consts:[["id","deal-box","tabindex","-1",1,"modal","fade","theme-modal","deal-modal"],[1,"modal-dialog","modal-dialog-centered","modal-fullscreen-sm-down"],[1,"modal-content"],[1,"modal-header"],["id","deal_today",1,"modal-title","w-100"],[1,"fa-solid","fa-fire","fa-lg"],[1,"mt-1","text-content"],["type","button","data-bs-dismiss","modal",1,"btn-close"],[1,"fa-solid","fa-xmark"],[1,"modal-body"],[1,"deal-offer-box"],[1,"deal-offer-list"],[1,"list-1"],[1,"deal-offer-contain"],["href","shop-left-sidebar.html",1,"deal-image"],["src","assets/images/vegetable/product/10.png","alt","",1,"blur-up","lazyload"],["href","shop-left-sidebar.html",1,"deal-contain"],[1,"offer-box",2,"padding-top","10px"],["onclick","location.href = 'shop-left-sidebar.html';",1,"btn-category","btn","theme-bg-color","text-white","font-size-view-offer"],[1,"list-2"],["src","assets/images/vegetable/product/11.png","alt","",1,"blur-up","lazyload"],[1,"list-3"],["src","assets/images/vegetable/product/12.png","alt","",1,"blur-up","lazyload"],["src","assets/images/vegetable/product/13.png","alt","",1,"blur-up","lazyload"]],template:function(g,S){1&g&&(s.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div")(5,"h5",4),s.EFF(6,"Ofertas Calientes "),s.nrm(7,"li",5),s.k0s(),s.j41(8,"p",6),s.EFF(9,"Ofertas Recomendadas para T\xed."),s.k0s()(),s.j41(10,"button",7),s.nrm(11,"i",8),s.k0s()(),s.j41(12,"div",9)(13,"div",10)(14,"ul",11)(15,"li",12)(16,"div",13)(17,"a",14),s.nrm(18,"img",15),s.k0s(),s.j41(19,"a",16)(20,"h5"),s.EFF(21,"Blended Instant Coffee 50 g Buy 1 Get 1 Free"),s.k0s(),s.j41(22,"h6"),s.EFF(23,"$52.57 "),s.j41(24,"del"),s.EFF(25,"57.62"),s.k0s(),s.j41(26,"span"),s.EFF(27,"500 G"),s.k0s()(),s.j41(28,"div",17)(29,"button",18),s.EFF(30,"Ver Ofertas"),s.k0s()()()()(),s.j41(31,"li",19)(32,"div",13)(33,"a",14),s.nrm(34,"img",20),s.k0s(),s.j41(35,"a",16)(36,"h5"),s.EFF(37,"Blended Instant Coffee 50 g Buy 1 Get 1 Free"),s.k0s(),s.j41(38,"h6"),s.EFF(39,"$52.57 "),s.j41(40,"del"),s.EFF(41,"57.62"),s.k0s(),s.j41(42,"span"),s.EFF(43,"500 G"),s.k0s()(),s.j41(44,"div",17)(45,"button",18),s.EFF(46,"Ver Ofertas"),s.k0s()()()()(),s.j41(47,"li",21)(48,"div",13)(49,"a",14),s.nrm(50,"img",22),s.k0s(),s.j41(51,"a",16)(52,"h5"),s.EFF(53,"Blended Instant Coffee 50 g Buy 1 Get 1 Free"),s.k0s(),s.j41(54,"h6"),s.EFF(55,"$52.57 "),s.j41(56,"del"),s.EFF(57,"57.62"),s.k0s(),s.j41(58,"span"),s.EFF(59,"500 G"),s.k0s()(),s.j41(60,"div",17)(61,"button",18),s.EFF(62,"Ver Ofertas"),s.k0s()()()()(),s.j41(63,"li",12)(64,"div",13)(65,"a",14),s.nrm(66,"img",23),s.k0s(),s.j41(67,"a",16)(68,"h5"),s.EFF(69,"Blended Instant Coffee 50 g Buy 1 Get 1 Free"),s.k0s(),s.j41(70,"h6"),s.EFF(71,"$52.57 "),s.j41(72,"del"),s.EFF(73,"57.62"),s.k0s(),s.j41(74,"span"),s.EFF(75,"500 G"),s.k0s()(),s.j41(76,"div",17)(77,"button",18),s.EFF(78,"Ver Ofertas"),s.k0s()()()()()()()()()()())},encapsulation:2})}return w})(),Fd=(()=>{class w{isThemeSettingActive=!1;constructor(){}toggleThemeSetting(){this.isThemeSettingActive=!this.isThemeSettingActive,$(".theme-setting-2").toggleClass("active")}static \u0275fac=function(g){return new(g||w)};static \u0275cmp=s.VBU({type:w,selectors:[["app-float-theme-setting-button"]],decls:37,vars:3,consts:[[1,"theme-option"],[1,"setting-box"],[1,"btn","setting-button",3,"click"],[3,"ngClass"],[1,"theme-setting-2"],[1,"theme-box"],[1,"setting-name"],[1,"theme-setting-button","color-picker"],[1,"form-control"],["for","colorPick",1,"form-label","mb-0"],["type","color","id","colorPick","value","#0da487","title","Choose your color",1,"form-control","form-control-color"],[1,"theme-setting-button"],["id","darkButton",1,"btn","btn-2","outline"],["id","lightButton",1,"btn","btn-2","unline"],[1,"theme-setting-button","rtl"],[1,"btn","btn-2","rtl-unline"],[1,"btn","btn-2","rtl-outline"],[1,"back-to-top"],["id","back-to-top","href","#"],[1,"fas","fa-chevron-up"]],template:function(g,S){1&g&&(s.j41(0,"div",0)(1,"div",1)(2,"button",2),s.bIt("click",function(){return S.toggleThemeSetting()}),s.nrm(3,"i",3),s.k0s(),s.j41(4,"div",4)(5,"div",5)(6,"ul")(7,"li")(8,"div",6)(9,"h4"),s.EFF(10,"Color"),s.k0s()(),s.j41(11,"div",7)(12,"form",8)(13,"label",9),s.EFF(14,"Theme Color"),s.k0s(),s.nrm(15,"input",10),s.k0s()()(),s.j41(16,"li")(17,"div",6)(18,"h4"),s.EFF(19,"Dark"),s.k0s()(),s.j41(20,"div",11)(21,"button",12),s.EFF(22,"Dark"),s.k0s(),s.j41(23,"button",13),s.EFF(24,"Light"),s.k0s()()(),s.j41(25,"li")(26,"div",6)(27,"h4"),s.EFF(28,"RTL"),s.k0s()(),s.j41(29,"div",14)(30,"button",15),s.EFF(31,"LTR"),s.k0s(),s.j41(32,"button",16),s.EFF(33,"RTL"),s.k0s()()()()()()(),s.j41(34,"div",17)(35,"a",18),s.nrm(36,"i",19),s.k0s()()()),2&g&&(s.R7$(3),s.Y8G("ngClass",S.isThemeSettingActive?"fa-solid fa-xmark":"fa-solid fa-gear"),s.R7$(),s.AVh("active",S.isThemeSettingActive))},dependencies:[Zn.E],encapsulation:2})}return w})(),ni=(()=>{class w{ngOnInit(){typeof $<"u"||console.error("jQuery is not loaded!")}static \u0275fac=function(g){return new(g||w)};static \u0275cmp=s.VBU({type:w,selectors:[["app-footer"]],decls:205,vars:88,consts:[[1,"service-section","section-b-space"],[1,"container-fluid-lg"],[1,"row","g-3","row-cols-xxl-5","row-cols-lg-3","row-cols-md-2"],["href","https://soporte.lapieza.do/?q=terminos","target","_blank",1,"service-contain-2"],["src","assets/images/services/termns.png","alt","",1,"icon-width"],[1,"service-detail"],["href","https://soporte.lapieza.do/?q=devoluciones","target","_blank",1,"service-contain-2"],["src","assets/images/services/return.png","alt","",1,"icon-width"],["href","https://soporte.lapieza.do/?q=politicas-privacidad","target","_blank",1,"service-contain-2"],["src","assets/images/services/privacy.png","alt","",1,"icon-width"],["href","https://soporte.lapieza.do/?q=politicas-seguridad","target","_blank",1,"service-contain-2"],["src","assets/images/services/security.png","alt","",1,"icon-width"],["href","https://soporte.lapieza.do/","target","_blank",1,"service-contain-2"],["src","assets/images/services/support.png","alt","",1,"icon-width"],[1,"section-t-space","footer-section-2"],[1,"main-footer"],[1,"row","g-md-4","gy-sm-5","gy-2"],[1,"col-xxl-3","col-xl-4","col-sm-6"],["href","index.html",1,"foot-logo"],["src","assets/images/logo/3.png","alt","",1,"img-fluid",2,"width","180px"],[1,"information-text"],[1,"social-icon"],["href","www.facebook.com"],[1,"fab","fa-facebook-f"],["href","www.goolge.com"],[1,"fab","fa-google"],["href","www.twitter.com"],[1,"fab","fa-twitter"],["href","www.instagram.com"],[1,"fab","fa-instagram"],["href","www.pinterest.com"],[1,"fab","fa-pinterest-p"],[1,"social-app","mt-sm-4","mt-3","mb-4"],["href","https://play.google.com/store/apps","target","_blank"],["src","assets/images/playstore.svg","alt","",1,"blur-up","lazyload"],["href","https://www.apple.com/in/app-store/","target","_blank"],["src","assets/images/appstore.svg","alt","",1,"blur-up","lazyload"],[1,"col-xxl-2","col-xl-4","col-sm-6"],[1,"footer-title"],[1,"footer-list","footer-contact","mb-sm-0","mb-3"],["href","about-us.html",1,"footer-contain-2"],[1,"fas","fa-angle-right"],[1,"footer-contain-2",3,"routerLink"],["href","order-success.html",1,"footer-contain-2"],["href","user-dashboard.html",1,"footer-contain-2"],["href","vegetables-demo.html",1,"footer-contain-2"],["href","spice-demo.html",1,"footer-contain-2"],["href","bags-demo.html",1,"footer-contain-2"],["href","bakery-demo.html",1,"footer-contain-2"],["href","grocery-demo.html",1,"footer-contain-2"],[1,"footer-address","footer-contact"],["href","https://soporte.lapieza.do"],[1,"inform-box","flex-start-box"],["data-feather","headphones"],["href","https://soporte.lapieza.do","target","_blank"],["src","assets/images/banner_help.png","alt","support",1,"borde_support"],[1,"sub-footer","section-small-space"],[1,"left-footer"],[1,"right-footer"],[1,"payment-box"],["src","assets/images/icon/paymant/visa.png","alt",""],["src","assets/images/icon/paymant/discover.png","alt",""],["src","assets/images/icon/paymant/american.png","alt",""],["src","assets/images/icon/paymant/master-card.png","alt",""],["src","assets/images/icon/paymant/giro-pay.png","alt",""],[1,"bg-overlay"]],template:function(g,S){1&g&&(s.j41(0,"section",0)(1,"div",1)(2,"div",2)(3,"div")(4,"a",3),s.nrm(5,"img",4),s.j41(6,"div",5)(7,"h4"),s.EFF(8),s.nI1(9,"translate"),s.k0s()()()(),s.j41(10,"div")(11,"a",6),s.nrm(12,"img",7),s.j41(13,"div",5)(14,"h4"),s.EFF(15),s.nI1(16,"translate"),s.k0s()()()(),s.j41(17,"div")(18,"a",8),s.nrm(19,"img",9),s.j41(20,"div",5)(21,"h4"),s.EFF(22),s.nI1(23,"translate"),s.k0s()()()(),s.j41(24,"div")(25,"a",10),s.nrm(26,"img",11),s.j41(27,"div",5)(28,"h4"),s.EFF(29),s.nI1(30,"translate"),s.k0s()()()(),s.j41(31,"div")(32,"a",12),s.nrm(33,"img",13),s.j41(34,"div",5)(35,"h4"),s.EFF(36),s.nI1(37,"translate"),s.k0s()()()()()()(),s.j41(38,"footer",14)(39,"div",1)(40,"div",15)(41,"div",16)(42,"div",17)(43,"a",18),s.nrm(44,"img",19),s.k0s(),s.j41(45,"p",20),s.EFF(46),s.nI1(47,"translate"),s.k0s(),s.j41(48,"ul",21)(49,"li")(50,"a",22),s.nrm(51,"i",23),s.k0s()(),s.j41(52,"li")(53,"a",24),s.nrm(54,"i",25),s.k0s()(),s.j41(55,"li")(56,"a",26),s.nrm(57,"i",27),s.k0s()(),s.j41(58,"li")(59,"a",28),s.nrm(60,"i",29),s.k0s()(),s.j41(61,"li")(62,"a",30),s.nrm(63,"i",31),s.k0s()()(),s.j41(64,"div",32)(65,"ul")(66,"li")(67,"a",33),s.nrm(68,"img",34),s.k0s()(),s.j41(69,"li")(70,"a",35),s.nrm(71,"img",36),s.k0s()()()()(),s.j41(72,"div",37)(73,"div",38)(74,"h4"),s.EFF(75),s.nI1(76,"translate"),s.k0s()(),s.j41(77,"ul",39)(78,"li")(79,"a",40),s.nrm(80,"i",41),s.EFF(81),s.nI1(82,"translate"),s.k0s()(),s.j41(83,"li")(84,"a",42),s.nrm(85,"i",41),s.EFF(86),s.nI1(87,"translate"),s.k0s()(),s.j41(88,"li")(89,"a",42),s.nrm(90,"i",41),s.EFF(91),s.nI1(92,"translate"),s.k0s()(),s.j41(93,"li")(94,"a",42),s.nrm(95,"i",41),s.EFF(96),s.nI1(97,"translate"),s.k0s()(),s.j41(98,"li")(99,"a",42),s.nrm(100,"i",41),s.EFF(101),s.nI1(102,"translate"),s.k0s()()()(),s.j41(103,"div",37)(104,"div",38)(105,"h4"),s.EFF(106),s.nI1(107,"translate"),s.k0s()(),s.j41(108,"ul",39)(109,"li")(110,"a",43),s.nrm(111,"i",41),s.EFF(112),s.nI1(113,"translate"),s.k0s()(),s.j41(114,"li")(115,"a",44),s.nrm(116,"i",41),s.EFF(117),s.nI1(118,"translate"),s.k0s()(),s.j41(119,"li")(120,"a",42),s.nrm(121,"i",41),s.EFF(122),s.nI1(123,"translate"),s.k0s()(),s.j41(124,"li")(125,"a",42),s.nrm(126,"i",41),s.EFF(127),s.nI1(128,"translate"),s.k0s()(),s.j41(129,"li")(130,"a",42),s.nrm(131,"i",41),s.EFF(132),s.nI1(133,"translate"),s.k0s()()()(),s.j41(134,"div",37)(135,"div",38)(136,"h4"),s.EFF(137),s.nI1(138,"translate"),s.k0s()(),s.j41(139,"ul",39)(140,"li")(141,"a",45),s.nrm(142,"i",41),s.EFF(143),s.nI1(144,"translate"),s.k0s()(),s.j41(145,"li")(146,"a",46),s.nrm(147,"i",41),s.EFF(148),s.nI1(149,"translate"),s.k0s()(),s.j41(150,"li")(151,"a",47),s.nrm(152,"i",41),s.EFF(153),s.nI1(154,"translate"),s.k0s()(),s.j41(155,"li")(156,"a",48),s.nrm(157,"i",41),s.EFF(158),s.nI1(159,"translate"),s.k0s()(),s.j41(160,"li")(161,"a",49),s.nrm(162,"i",41),s.EFF(163),s.nI1(164,"translate"),s.k0s()()()(),s.j41(165,"div",17)(166,"div",38)(167,"h4"),s.EFF(168),s.nI1(169,"translate"),s.k0s()(),s.j41(170,"ul",50)(171,"li")(172,"a",51)(173,"div",52),s.nrm(174,"i",53),s.j41(175,"p"),s.EFF(176),s.nI1(177,"translate"),s.k0s()()()(),s.j41(178,"li")(179,"a",54),s.nrm(180,"img",55),s.k0s()()()()()(),s.j41(181,"div",56)(182,"div",57)(183,"p"),s.EFF(184),s.nI1(185,"translate"),s.k0s()(),s.j41(186,"div",58)(187,"ul",59)(188,"li"),s.nrm(189,"img",60),s.k0s(),s.j41(190,"li"),s.nrm(191,"img",61),s.k0s(),s.j41(192,"li"),s.nrm(193,"img",62),s.k0s(),s.j41(194,"li"),s.nrm(195,"img",63),s.k0s(),s.j41(196,"li"),s.nrm(197,"img",64),s.k0s()()()()()(),s.nrm(198,"app-modal-quick-view")(199,"app-modal-location-view")(200,"app-modal-deals-view")(201,"app-modal-cookies")(202,"app-float-cart-button")(203,"app-float-theme-setting-button")(204,"div",65)),2&g&&(s.R7$(8),s.JRh(s.bMT(9,34,"terms_conditions")),s.R7$(7),s.JRh(s.bMT(16,36,"return_policy")),s.R7$(7),s.JRh(s.bMT(23,38,"privacy_policy")),s.R7$(7),s.JRh(s.bMT(30,40,"security_policy")),s.R7$(7),s.JRh(s.bMT(37,42,"support_title_text")),s.R7$(10),s.JRh(s.bMT(47,44,"footer_information_text")),s.R7$(29),s.JRh(s.bMT(76,46,"about_us_title")),s.R7$(6),s.JRh(s.bMT(82,48,"about_us")),s.R7$(3),s.Y8G("routerLink","/contact"),s.R7$(2),s.JRh(s.bMT(87,50,"contact")),s.R7$(3),s.Y8G("routerLink","/terms"),s.R7$(2),s.JRh(s.bMT(92,52,"terms_conditions")),s.R7$(3),s.Y8G("routerLink","/jobs"),s.R7$(2),s.JRh(s.bMT(97,54,"jobs")),s.R7$(3),s.Y8G("routerLink","/news"),s.R7$(2),s.JRh(s.bMT(102,56,"latest_blog")),s.R7$(5),s.JRh(s.bMT(107,58,"useful_links_title")),s.R7$(6),s.JRh(s.bMT(113,60,"your_orders")),s.R7$(5),s.JRh(s.bMT(118,62,"your_account")),s.R7$(3),s.Y8G("routerLink","/tracker"),s.R7$(2),s.JRh(s.bMT(123,64,"track_orders")),s.R7$(3),s.Y8G("routerLink","/wishlist"),s.R7$(2),s.JRh(s.bMT(128,66,"your_wishlist")),s.R7$(3),s.Y8G("routerLink","/faqs"),s.R7$(2),s.JRh(s.bMT(133,68,"frequent_questions")),s.R7$(5),s.JRh(s.bMT(138,70,"categories_title")),s.R7$(6),s.JRh(s.bMT(144,72,"vehicles")),s.R7$(5),s.JRh(s.bMT(149,74,"motorcycles")),s.R7$(5),s.JRh(s.bMT(154,76,"refrigeration")),s.R7$(5),s.JRh(s.bMT(159,78,"hardware")),s.R7$(5),s.JRh(s.bMT(164,80,"computers")),s.R7$(5),s.JRh(s.bMT(169,82,"general_information_title")),s.R7$(8),s.JRh(s.bMT(177,84,"support_center")),s.R7$(8),s.JRh(s.bMT(185,86,"footer_rights_reserved")))},dependencies:[kd,Zc,Gs,Ks,Pd,Fd,Ve.R,vt.h,vt.D9],styles:[".btn-business[_ngcontent-%COMP%]{background:#0d6efd;width:100%;max-width:200px}btn-business[_ngcontent-%COMP%]:hover{background:#000}"]})}return w})();(function Dt(w,d){return(0,s.TL3)({rootComponent:w,...At(d)})})((()=>{class w{title="app-lapieza";static \u0275fac=function(g){return new(g||w)};static \u0275cmp=s.VBU({type:w,selectors:[["app-root"]],decls:3,vars:0,consts:[["ngSkipHydration",""]],template:function(g,S){1&g&&s.nrm(0,"app-header",0)(1,"router-outlet",0)(2,"app-footer",0)},dependencies:[jt.R,Nd,ni],encapsulation:2})}return w})(),Yi).catch(w=>console.error(w))},9858:(_t,Ne,M)=>{"use strict";M.d(Ne,{y:()=>x});var I=M(8071);function x(z){return(0,I.T)(z?.then)}},9974:(_t,Ne,M)=>{"use strict";M.d(Ne,{N:()=>z,S:()=>x});var I=M(8071);function x(s){return(0,I.T)(s?.lift)}function z(s){return X=>{if(x(X))return X.lift(function(u){try{return s(u,this)}catch(y){this.error(y)}});throw new TypeError("Unable to lift unknown Observable type")}}}},_t=>{_t(_t.s=9814)}]);