dealposbarcode 1.7.9 → 1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ import{b as N,e as $,f as z,g as A,i as k}from"./chunk-Z5EDADP5.js";import"./chunk-GIIIUOWP.js";import"./chunk-IFSVDZCL.js";import"./chunk-UR6B5JCM.js";import{ca as H,l as I,n as B,q}from"./chunk-PQYPFF6U.js";import{Ac as b,C as u,Da as i,Ha as P,I as C,J as v,Jc as R,Kb as w,Qb as S,Ub as a,Xa as _,Z as g,a as h,b as f,dc as D,ec as T,fc as c,gc as s,hc as p,nd as x,od as M,pd as E,ta as y,wd as F,zb as d}from"./chunk-4JSMR3XG.js";function L(t,m){t&1&&(s(0),c(1,"choose-product"),p())}function O(t,m){if(t&1&&c(0,"app-barcode-preview",4),t&2){let e=m.$implicit;a("items",e)}}function U(t,m){t&1&&(s(0),D(1,"app-customize-label"),S(2,O,1,1,"ng-template",null,0,R),T(),p())}function V(t,m){t&1&&(s(0),c(1,"app-print-preview"),p())}var se=(()=>{class t{constructor(){this.storeService=i(N),this.httpService=i(H),this.destroyRef=i(_),this.routes=i(I),this.router=i(B),this.step=w(0)}get printMode(){let e=this.routes.snapshot.queryParamMap.get("printMode");return console.log("printMode",e),e}ngOnInit(){this.storeService.onReset(),console.log(localStorage.getItem("Domain"))}ngAfterViewInit(){let e=this.getHostFromDomain();this.loadInitialData(e)}getHostFromDomain(){let e=localStorage.getItem("Domain");return e?this.hasProtocol(e)?new URL(e).hostname:e:null}hasProtocol(e){return/^(https?):\/\//.test(e)}loadInitialData(e){if(!e){console.warn("No domain found in localStorage");return}let o=this.httpService.post("api/Config/PaperConfig",{SubDomain:e}).pipe(g(n=>u({error:n}))),r=this.httpService.get("/API/V3/Tax",void 0,`https://${e}`).pipe(g(n=>u({error:n})));v([o,r]).pipe(q(this.destroyRef),C(([n,l])=>this.normalizeResponses(n,l)),y(({paperConfig:n,taxs:l})=>this.applyDataToStore(n,l))).subscribe()}normalizeResponses(e,o){let r=n=>n&&"error"in n;return{paperConfig:r(e)?null:e,taxs:r(o)?null:o}}applyDataToStore(e,o){e&&(this.storeService.onChangePaperConfig(f(h({},e),{PaperFormats:e.PaperFormats.map(r=>f(h({},r),{OutletID:null}))})),e.PaperFormats.length>0&&this.storeService.onChangePaperConfiguration(e.PaperFormats[0])),o&&this.storeService.onChangeTaxs(o)}onNext(){if(this.step()>=3){console.warn("Maximum step reached, cannot proceed further.");return}this.router.navigate([],{relativeTo:this.routes,queryParams:{step:this.step()+1},queryParamsHandling:"merge"})}onPrevious(){if(this.step()<=1){console.warn("Already at the first step, cannot go back.");return}this.router.navigate([],{relativeTo:this.routes,queryParams:{step:this.step()-1},queryParamsHandling:"merge"})}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275cmp=P({type:t,selectors:[["app-shelf-barcode"]],standalone:!0,features:[b],decls:4,vars:3,consts:[["content",""],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"items"]],template:function(o,r){o&1&&(s(0,1),S(1,L,2,0,"ng-container",2)(2,U,4,0,"ng-container",2)(3,V,2,0,"ng-container",3),p()),o&2&&(a("ngSwitch",r.storeService.stepper$().state),d(),a("ngSwitchCase",0),d(),a("ngSwitchCase",1))},dependencies:[$,F,x,M,E,A,z,k],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return t})();export{se as ShelfBarcodeComponent};
@@ -0,0 +1,7 @@
1
+ var Ep=Object.create;var wi=Object.defineProperty,Cp=Object.defineProperties,bp=Object.getOwnPropertyDescriptor,_p=Object.getOwnPropertyDescriptors,Mp=Object.getOwnPropertyNames,or=Object.getOwnPropertySymbols,Eu=Object.getPrototypeOf,Ei=Object.prototype.hasOwnProperty,Cu=Object.prototype.propertyIsEnumerable,xp=Reflect.get;var qt=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),Sp=e=>{throw TypeError(e)};var wu=(e,t,n)=>t in e?wi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,we=(e,t)=>{for(var n in t||={})Ei.call(t,n)&&wu(e,n,t[n]);if(or)for(var n of or(t))Cu.call(t,n)&&wu(e,n,t[n]);return e},Ee=(e,t)=>Cp(e,_p(t));var rE=(e,t)=>{var n={};for(var r in e)Ei.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&or)for(var r of or(e))t.indexOf(r)<0&&Cu.call(e,r)&&(n[r]=e[r]);return n};var oE=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Tp=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Mp(t))!Ei.call(e,o)&&o!==n&&wi(e,o,{get:()=>t[o],enumerable:!(r=bp(t,o))||r.enumerable});return e};var iE=(e,t,n)=>(n=e!=null?Ep(Eu(e)):{},Tp(t||!e||!e.__esModule?wi(n,"default",{value:e,enumerable:!0}):n,e));var sE=(e,t,n)=>xp(Eu(e),n,t);var Np=(e,t,n)=>new Promise((r,o)=>{var i=u=>{try{a(n.next(u))}catch(c){o(c)}},s=u=>{try{a(n.throw(u))}catch(c){o(c)}},a=u=>u.done?r(u.value):Promise.resolve(u.value).then(i,s);a((n=n.apply(e,t)).next())}),bu=function(e,t){this[0]=e,this[1]=t},aE=(e,t,n)=>{var r=(s,a,u,c)=>{try{var l=n[s](a),d=(a=l.value)instanceof bu,p=l.done;Promise.resolve(d?a[0]:a).then(f=>d?r(s==="return"?s:"next",a[1]?{done:f.done,value:f.value}:f,u,c):u({value:f,done:p})).catch(f=>r("throw",f,u,c))}catch(f){c(f)}},o=s=>i[s]=a=>new Promise((u,c)=>r(s,a,u,c)),i={};return n=n.apply(e,t),i[qt("asyncIterator")]=()=>i,o("next"),o("throw"),o("return"),i},uE=e=>{var t=e[qt("asyncIterator")],n=!1,r,o={};return t==null?(t=e[qt("iterator")](),r=i=>o[i]=s=>t[i](s)):(t=t.call(e),r=i=>o[i]=s=>{if(n){if(n=!1,i==="throw")throw s;return s}return n=!0,{done:!1,value:new bu(new Promise(a=>{var u=t[i](s);u instanceof Object||Sp("Object expected"),a(u)}),1)}}),o[qt("iterator")]=()=>o,r("next"),"throw"in t?r("throw"):o.throw=i=>{throw i},"return"in t&&r("return"),o},cE=(e,t,n)=>(t=e[qt("asyncIterator")])?t.call(e):(e=e[qt("iterator")](),t={},n=(r,o)=>(o=e[r])&&(t[r]=i=>new Promise((s,a,u)=>(i=o.call(e,i),u=i.done,Promise.resolve(i.value).then(c=>s({value:c,done:u}),a)))),n("next"),n("return"),t);function y(e){return typeof e=="function"}function ir(e){return e&&y(e.schedule)}function Ci(e){return e[e.length-1]}function ct(e){return y(Ci(e))?e.pop():void 0}function Re(e){return ir(Ci(e))?e.pop():void 0}function _u(e,t){return typeof Ci(e)=="number"?e.pop():t}function yE(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function xu(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Mu(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _t(e){return this instanceof _t?(this.v=e,this):new _t(e)}function Su(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(m){return new Promise(function(N,_){i.push([f,m,N,_])>1||u(f,m)})},h&&(o[f]=h(o[f])))}function u(f,h){try{c(r[f](h))}catch(m){p(i[0][3],m)}}function c(f){f.value instanceof _t?Promise.resolve(f.value.v).then(l,d):p(i[0][2],f)}function l(f){u("next",f)}function d(f){u("throw",f)}function p(f,h){f(h),i.shift(),i.length&&u(i[0][0],i[0][1])}}function Tu(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Mu=="function"?Mu(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var Zt=e=>e&&typeof e.length=="number"&&typeof e!="function";function sr(e){return y(e?.then)}function lt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var ar=lt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Mt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var H=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(y(r))try{r()}catch(i){t=i instanceof ar?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Nu(i)}catch(s){t=t??[],s instanceof ar?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ar(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Nu(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Mt(n,t)}remove(t){let{_finalizers:n}=this;n&&Mt(n,t),t instanceof e&&t._removeParent(this)}};H.EMPTY=(()=>{let e=new H;return e.closed=!0,e})();var bi=H.EMPTY;function ur(e){return e instanceof H||e&&"closed"in e&&y(e.remove)&&y(e.add)&&y(e.unsubscribe)}function Nu(e){y(e)?e():e.unsubscribe()}var Ce={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Yt={setTimeout(e,t,...n){let{delegate:r}=Yt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Yt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function cr(e){Yt.setTimeout(()=>{let{onUnhandledError:t}=Ce;if(t)t(e);else throw e})}function le(){}var Au=_i("C",void 0,void 0);function Ou(e){return _i("E",void 0,e)}function Fu(e){return _i("N",e,void 0)}function _i(e,t,n){return{kind:e,value:t,error:n}}var xt=null;function Qt(e){if(Ce.useDeprecatedSynchronousErrorHandling){let t=!xt;if(t&&(xt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=xt;if(xt=null,n)throw r}}else e()}function Ru(e){Ce.useDeprecatedSynchronousErrorHandling&&xt&&(xt.errorThrown=!0,xt.error=e)}var St=class extends H{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ur(t)&&t.add(this)):this.destination=Fp}static create(t,n,r){return new Ge(t,n,r)}next(t){this.isStopped?xi(Fu(t),this):this._next(t)}error(t){this.isStopped?xi(Ou(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?xi(Au,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Ap=Function.prototype.bind;function Mi(e,t){return Ap.call(e,t)}var Si=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){lr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){lr(r)}else lr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){lr(n)}}},Ge=class extends St{constructor(t,n,r){super();let o;if(y(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ce.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Mi(t.next,i),error:t.error&&Mi(t.error,i),complete:t.complete&&Mi(t.complete,i)}):o=t}this.destination=new Si(o)}};function lr(e){Ce.useDeprecatedSynchronousErrorHandling?Ru(e):cr(e)}function Op(e){throw e}function xi(e,t){let{onStoppedNotification:n}=Ce;n&&Yt.setTimeout(()=>n(e,t))}var Fp={closed:!0,next:le,error:Op,complete:le};var Kt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function q(e){return e}function Rp(...e){return Ti(e)}function Ti(e){return e.length===0?q:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var C=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=kp(n)?n:new Ge(n,r,o);return Qt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Pu(r),new r((o,i)=>{let s=new Ge({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Kt](){return this}pipe(...n){return Ti(n)(this)}toPromise(n){return n=Pu(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Pu(e){var t;return(t=e??Ce.Promise)!==null&&t!==void 0?t:Promise}function Pp(e){return e&&y(e.next)&&y(e.error)&&y(e.complete)}function kp(e){return e&&e instanceof St||Pp(e)&&ur(e)}function dr(e){return y(e[Kt])}function fr(e){return Symbol.asyncIterator&&y(e?.[Symbol.asyncIterator])}function pr(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Lp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var hr=Lp();function gr(e){return y(e?.[hr])}function mr(e){return Su(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield _t(n.read());if(o)return yield _t(void 0);yield yield _t(r)}}finally{n.releaseLock()}})}function yr(e){return y(e?.getReader)}function I(e){if(e instanceof C)return e;if(e!=null){if(dr(e))return jp(e);if(Zt(e))return Vp(e);if(sr(e))return Bp(e);if(fr(e))return ku(e);if(gr(e))return $p(e);if(yr(e))return Hp(e)}throw pr(e)}function jp(e){return new C(t=>{let n=e[Kt]();if(y(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Vp(e){return new C(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Bp(e){return new C(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,cr)})}function $p(e){return new C(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function ku(e){return new C(t=>{Up(e,t).catch(n=>t.error(n))})}function Hp(e){return ku(mr(e))}function Up(e,t){var n,r,o,i;return xu(this,void 0,void 0,function*(){try{for(n=Tu(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function Q(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ni(e){return y(e?.lift)}function v(e){return t=>{if(Ni(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function g(e,t,n,r,o){return new Ai(e,t,n,r,o)}var Ai=class extends St{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function En(e,t=0){return v((n,r)=>{n.subscribe(g(r,o=>Q(r,e,()=>r.next(o),t),()=>Q(r,e,()=>r.complete(),t),o=>Q(r,e,()=>r.error(o),t)))})}function Cn(e,t=0){return v((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Lu(e,t){return I(e).pipe(Cn(t),En(t))}function ju(e,t){return I(e).pipe(Cn(t),En(t))}function Vu(e,t){return new C(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Bu(e,t){return new C(n=>{let r;return Q(n,t,()=>{r=e[hr](),Q(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>y(r?.return)&&r.return()})}function vr(e,t){if(!e)throw new Error("Iterable cannot be null");return new C(n=>{Q(n,t,()=>{let r=e[Symbol.asyncIterator]();Q(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function $u(e,t){return vr(mr(e),t)}function Hu(e,t){if(e!=null){if(dr(e))return Lu(e,t);if(Zt(e))return Vu(e,t);if(sr(e))return ju(e,t);if(fr(e))return vr(e,t);if(gr(e))return Bu(e,t);if(yr(e))return $u(e,t)}throw pr(e)}function Pe(e,t){return t?Hu(e,t):I(e)}function Oi(...e){let t=Re(e);return Pe(e,t)}function ke(e,t){return v((n,r)=>{let o=0;n.subscribe(g(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:zp}=Array,{getPrototypeOf:Gp,prototype:Wp,keys:qp}=Object;function Dr(e){if(e.length===1){let t=e[0];if(zp(t))return{args:t,keys:null};if(Zp(t)){let n=qp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Zp(e){return e&&typeof e=="object"&&Gp(e)===Wp}var{isArray:Yp}=Array;function Qp(e,t){return Yp(t)?e(...t):e(t)}function Jt(e){return ke(t=>Qp(e,t))}function Ir(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Kp(...e){let t=Re(e),n=ct(e),{args:r,keys:o}=Dr(e);if(r.length===0)return Pe([],t);let i=new C(Jp(r,t,o?s=>Ir(o,s):q));return n?i.pipe(Jt(n)):i}function Jp(e,t,n=q){return r=>{Uu(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u<o;u++)Uu(t,()=>{let c=Pe(e[u],t),l=!1;c.subscribe(g(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Uu(e,t,n){e?Q(n,e,t):t()}function Fi(e){return v((t,n)=>{let r=null,o=!1,i;r=t.subscribe(g(n,void 0,void 0,s=>{i=I(e(s,Fi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function zu(e,t,n){let r=y(e)||t||n?{next:e,error:t,complete:n}:e;return r?v((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(g(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):q}function Ri(){return v((e,t)=>{let n=null;e._refCount++;let r=g(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var bn=class extends C{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ni(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new H;let n=this.getSubject();t.add(this.source.subscribe(g(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=H.EMPTY)}return t}refCount(){return Ri()(this)}};var Xt={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Xt;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new H(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Xt;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Xt;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Gu=lt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var K=(()=>{class e extends C{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new wr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Gu}next(n){Qt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Qt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Qt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?bi:(this.currentObservers=null,i.push(n),new H(()=>{this.currentObservers=null,Mt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new C;return n.source=this,n}}return e.create=(t,n)=>new wr(t,n),e})(),wr=class extends K{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:bi}};var _n=class extends K{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Mn={now(){return(Mn.delegate||Date).now()},delegate:void 0};var xn=class extends K{constructor(t=1/0,n=1/0,r=Mn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}}};var Er=class extends H{constructor(t,n){super()}schedule(t,n=0){return this}};var Sn={setInterval(e,t,...n){let{delegate:r}=Sn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Sn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Le=class extends Er{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Sn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Sn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Mt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Xp=1,Pi,ki={};function Wu(e){return e in ki?(delete ki[e],!0):!1}var qu={setImmediate(e){let t=Xp++;return ki[t]=!0,Pi||(Pi=Promise.resolve()),Pi.then(()=>Wu(t)&&e()),t},clearImmediate(e){Wu(e)}};var{setImmediate:eh,clearImmediate:th}=qu,Tn={setImmediate(...e){let{delegate:t}=Tn;return(t?.setImmediate||eh)(...e)},clearImmediate(e){let{delegate:t}=Tn;return(t?.clearImmediate||th)(e)},delegate:void 0};var Cr=class extends Le{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Tn.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Tn.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var en=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};en.now=Mn.now;var je=class extends en{constructor(t,n=en.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var br=class extends je{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var nh=new br(Cr);var ye=new je(Le),Li=ye;var _r=class extends Le{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}schedule(t,n=0){return n>0?super.schedule(t,n):(this.delay=n,this.state=t,this.scheduler.flush(this),this)}execute(t,n){return n>0||this.closed?super.execute(t,n):this._execute(t,n)}requestAsyncId(t,n,r=0){return r!=null&&r>0||r==null&&this.delay>0?super.requestAsyncId(t,n,r):(t.flush(this),0)}};var Mr=class extends je{};var rh=new Mr(_r);var xr=class extends Le{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Xt.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Xt.cancelAnimationFrame(n),t._scheduled=void 0)}};var Sr=class extends je{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var oh=new Sr(xr);var We=new C(e=>e.complete());function ih(e,t){let n=y(e)?e:()=>e,r=o=>o.error(n());return new C(t?o=>t.schedule(r,0,o):r)}function sh(e){return!!e&&(e instanceof C||y(e.lift)&&y(e.subscribe))}var Tt=lt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Tr(e){return e instanceof Date&&!isNaN(e)}var Zu=lt(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function Yu(e,t){let{first:n,each:r,with:o=ah,scheduler:i=t??ye,meta:s=null}=Tr(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return v((a,u)=>{let c,l,d=null,p=0,f=h=>{l=Q(u,i,()=>{try{c.unsubscribe(),I(o({meta:s,lastValue:d,seen:p})).subscribe(u)}catch(m){u.error(m)}},h)};c=a.subscribe(g(u,h=>{l?.unsubscribe(),p++,u.next(d=h),r>0&&f(r)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!p&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function ah(e){throw new Zu(e)}function Qu(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,p=()=>{d&&!u.length&&!c&&t.complete()},f=m=>c<r?h(m):u.push(m),h=m=>{i&&t.next(m),c++;let N=!1;I(n(m,l++)).subscribe(g(t,_=>{o?.(_),i?f(_):t.next(_)},()=>{N=!0},void 0,()=>{if(N)try{for(c--;u.length&&c<r;){let _=u.shift();s?Q(t,s,()=>h(_)):h(_)}p()}catch(_){t.error(_)}}))};return e.subscribe(g(t,f,()=>{d=!0,p()})),()=>{a?.()}}function be(e,t,n=1/0){return y(t)?be((r,o)=>ke((i,s)=>t(r,i,o,s))(I(e(r,o))),n):(typeof t=="number"&&(n=t),v((r,o)=>Qu(r,o,e,n)))}function Nn(e=1/0){return be(q,e)}function Ku(){return Nn(1)}function dt(...e){return Ku()(Pe(e,Re(e)))}function uh(e){return new C(t=>{I(e()).subscribe(t)})}function ch(...e){let t=ct(e),{args:n,keys:r}=Dr(e),o=new C(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l<s;l++){let d=!1;I(n[l]).subscribe(g(i,p=>{d||(d=!0,c--),a[l]=p},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?Ir(r,a):a),i.complete())}))}});return t?o.pipe(Jt(t)):o}var lh=["addListener","removeListener"],dh=["addEventListener","removeEventListener"],fh=["on","off"];function ji(e,t,n,r){if(y(n)&&(r=n,n=void 0),r)return ji(e,t,n).pipe(Jt(r));let[o,i]=gh(e)?dh.map(s=>a=>e[s](t,a,n)):ph(e)?lh.map(Ju(e,t)):hh(e)?fh.map(Ju(e,t)):[];if(!o&&Zt(e))return be(s=>ji(s,t,n))(I(e));if(!o)throw new TypeError("Invalid event target");return new C(s=>{let a=(...u)=>s.next(1<u.length?u:u[0]);return o(a),()=>i(a)})}function Ju(e,t){return n=>r=>e[n](t,r)}function ph(e){return y(e.addListener)&&y(e.removeListener)}function hh(e){return y(e.on)&&y(e.off)}function gh(e){return y(e.addEventListener)&&y(e.removeEventListener)}function Nt(e=0,t,n=Li){let r=-1;return t!=null&&(ir(t)?n=t:r=t),new C(o=>{let i=Tr(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function mh(e=0,t=ye){return e<0&&(e=0),Nt(e,e,t)}function yh(...e){let t=Re(e),n=_u(e,1/0),r=e;return r.length?r.length===1?I(r[0]):Nn(n)(Pe(r,t)):We}var vh=new C(le);var{isArray:Dh}=Array;function Nr(e){return e.length===1&&Dh(e[0])?e[0]:e}function Xu(e,t){return(n,r)=>!e.call(t,n,r)}function _e(e,t){return v((n,r)=>{let o=0;n.subscribe(g(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Ih(e,t,n){return[_e(t,n)(I(e)),_e(Xu(t,n))(I(e))]}function wh(...e){return e=Nr(e),e.length===1?I(e[0]):new C(Eh(e))}function Eh(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(I(e[r]).subscribe(g(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function Ch(...e){let t=ct(e),n=Nr(e);return n.length?new C(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)I(n[s]).subscribe(g(r,a=>{if(o[s].push(a),o.every(u=>u.length)){let u=o.map(c=>c.shift());r.next(t?t(...u):u),o.some((c,l)=>!c.length&&i[l])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):We}function ec(e){return v((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(g(n,c=>{r=!0,o=c,i||I(e(c)).subscribe(i=g(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function bh(e,t=ye){return ec(()=>Nt(e,t))}function tc(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(g(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function _h(e,t){return y(t)?be(e,t,1):be(e,1)}function nc(e){return new C(t=>e.subscribe(t))}var Mh={connector:()=>new K};function Ar(e,t=Mh){let{connector:n}=t;return v((r,o)=>{let i=n();I(e(nc(i))).subscribe(o),o.add(r.subscribe(i))})}function xh(e){return v((t,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};t.subscribe(g(n,a=>{i?.unsubscribe(),r=!0,o=a,i=g(n,s,le),I(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function Sh(e,t=ye){return v((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l<c){o=this.schedule(void 0,c-l),r.add(o);return}a()}n.subscribe(g(r,c=>{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function An(e){return v((t,n)=>{let r=!1;t.subscribe(g(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function tn(e){return e<=0?()=>We:v((t,n)=>{let r=0;t.subscribe(g(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function rc(){return v((e,t)=>{e.subscribe(g(t,le))})}function Vi(e){return ke(()=>e)}function Bi(e,t){return t?n=>dt(t.pipe(tn(1),rc()),n.pipe(Bi(e))):be((n,r)=>I(e(n,r)).pipe(tn(1),Vi(n)))}function Th(e,t=ye){let n=Nt(e,t);return Bi(()=>n)}function Nh(e,t=q){return e=e??Ah,v((n,r)=>{let o,i=!0;n.subscribe(g(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Ah(e,t){return e===t}function Or(e=Oh){return v((t,n)=>{let r=!1;t.subscribe(g(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Oh(){return new Tt}function Fh(...e){return t=>dt(t,Oi(...e))}function Rh(e){return v((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function $i(e,t){let n=arguments.length>=2;return r=>r.pipe(e?_e((o,i)=>e(o,i,r)):q,tn(1),n?An(t):Or(()=>new Tt))}function Hi(e){return e<=0?()=>We:v((t,n)=>{let r=[];t.subscribe(g(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Ph(e,t){let n=arguments.length>=2;return r=>r.pipe(e?_e((o,i)=>e(o,i,r)):q,Hi(1),n?An(t):Or(()=>new Tt))}function oc(e,t){let n=y(e)?e:()=>e;return y(t)?Ar(t,{connector:n}):r=>new bn(r,n)}function kh(e){return e?t=>Ar(e)(t):t=>oc(new K)(t)}function Lh(e,t){return v(tc(e,t,arguments.length>=2,!0))}function zi(e={}){let{connector:t=()=>new K,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=u=void 0,l=d=!1},h=()=>{let m=s;f(),m?.unsubscribe()};return v((m,N)=>{c++,!d&&!l&&p();let _=u=u??t();N.add(()=>{c--,c===0&&!d&&!l&&(a=Ui(h,o))}),_.subscribe(N),!s&&c>0&&(s=new Ge({next:R=>_.next(R),error:R=>{d=!0,p(),a=Ui(f,n,R),_.error(R)},complete:()=>{l=!0,p(),a=Ui(f,r),_.complete()}}),I(m).subscribe(s))})(i)}}function Ui(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ge({next:()=>{r.unsubscribe(),e()}});return I(t(...n)).subscribe(r)}function ic(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,zi({connector:()=>new xn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function jh(e){return _e((t,n)=>e<=n)}function Vh(...e){let t=Re(e);return v((n,r)=>{(t?dt(e,n,t):dt(e,n)).subscribe(r)})}function Bh(e,t){return v((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(g(r,u=>{o?.unsubscribe();let c=0,l=i++;I(e(u,l)).subscribe(o=g(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function sc(e){return v((t,n)=>{I(e).subscribe(g(n,()=>n.complete(),le)),!n.closed&&t.subscribe(n)})}function $h(...e){let t=ct(e);return v((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let u=0;u<o;u++)I(e[u]).subscribe(g(r,c=>{i[u]=c,!a&&!s[u]&&(s[u]=!0,(a=s.every(q))&&(s=null))},le));n.subscribe(g(r,u=>{if(a){let c=[u,...i];r.next(t?t(...c):c)}}))})}function ac(e,t){return Object.is(e,t)}var G=null,On=!1,Fr=1,Me=Symbol("SIGNAL");function M(e){let t=G;return G=e,t}function uc(){return G}function Hh(){return On}var nn={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Pr(e){if(On)throw new Error("");if(G===null)return;G.consumerOnSignalRead(e);let t=G.nextProducerIndex++;if(Br(G),t<G.producerNode.length&&G.producerNode[t]!==e&&Fn(G)){let n=G.producerNode[t];Vr(n,G.producerIndexOfThis[t])}G.producerNode[t]!==e&&(G.producerNode[t]=e,G.producerIndexOfThis[t]=Fn(G)?pc(e,G,t):0),G.producerLastReadVersion[t]=e.version}function Uh(){Fr++}function cc(e){if(!(Fn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Fr)){if(!e.producerMustRecompute(e)&&!Lr(e)){e.dirty=!1,e.lastCleanEpoch=Fr;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Fr}}function lc(e){if(e.liveConsumerNode===void 0)return;let t=On;On=!0;try{for(let n of e.liveConsumerNode)n.dirty||fc(n)}finally{On=t}}function dc(){return G?.consumerAllowSignalWrites!==!1}function fc(e){e.dirty=!0,lc(e),e.consumerMarkedDirty?.(e)}function Rn(e){return e&&(e.nextProducerIndex=0),M(e)}function kr(e,t){if(M(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Fn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Vr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Lr(e){Br(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(cc(n),r!==n.version))return!0}return!1}function jr(e){if(Br(e),Fn(e))for(let t=0;t<e.producerNode.length;t++)Vr(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 pc(e,t,n){if(hc(e),e.liveConsumerNode.length===0&&gc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=pc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Vr(e,t){if(hc(e),e.liveConsumerNode.length===1&&gc(e))for(let r=0;r<e.producerNode.length;r++)Vr(e.producerNode[r],e.producerIndexOfThis[r]);let 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){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Br(o),o.producerIndexOfThis[r]=t}}function Fn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Br(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function hc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function gc(e){return e.producerNode!==void 0}function mc(e){let t=Object.create(zh);t.computation=e;let n=()=>{if(cc(t),Pr(t),t.value===Rr)throw t.error;return t.value};return n[Me]=t,n}var Gi=Symbol("UNSET"),Wi=Symbol("COMPUTING"),Rr=Symbol("ERRORED"),zh=Ee(we({},nn),{value:Gi,dirty:!0,error:null,equal:ac,producerMustRecompute(e){return e.value===Gi||e.value===Wi},producerRecomputeValue(e){if(e.value===Wi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Wi;let n=Rn(e),r;try{r=e.computation()}catch(o){r=Rr,e.error=o}finally{kr(e,n)}if(t!==Gi&&t!==Rr&&r!==Rr&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Gh(){throw new Error}var yc=Gh;function vc(){yc()}function Dc(e){yc=e}var Wh=null;function Ic(e){let t=Object.create(Zi);t.value=e;let n=()=>(Pr(t),t.value);return n[Me]=t,n}function $r(e,t){dc()||vc(),e.equal(e.value,t)||(e.value=t,qh(e))}function wc(e,t){dc()||vc(),$r(e,t(e.value))}var Zi=Ee(we({},nn),{equal:ac,value:void 0});function qh(e){e.version++,Uh(),lc(e),Wh?.()}function Ec(e,t,n){let r=Object.create(Zh);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(jr(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=qi)}let a=()=>{if(r.fn===null)return;if(Hh())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Lr(r))return;r.hasRun=!0;let u=Rn(r);try{r.cleanupFn(),r.cleanupFn=qi,r.fn(o)}finally{kr(r,u)}};return r.ref={notify:()=>fc(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[Me]:r},r.ref}var qi=()=>{},Zh=Ee(we({},nn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:qi});var fl="https://g.co/ng/security#xss",S=class extends Error{constructor(t,n){super(pl(t,n)),this.code=t}};function pl(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var hl=Symbol("InputSignalNode#UNSET"),Yh=Ee(we({},Zi),{transformFn:void 0,applyValueToInputSignal(e,t){$r(e,t)}});function gl(e,t){let n=Object.create(Yh);n.value=e,n.transformFn=t?.transform;function r(){if(Pr(n),n.value===hl)throw new S(-950,!1);return n.value}return r[Me]=n,r}function Gn(e){return{toString:e}.toString()}var Hr="__parameters__";function Qh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function ml(e,t,n){return Gn(()=>{let r=Qh(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(Hr)?u[Hr]:Object.defineProperty(u,Hr,{value:[]})[Hr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var pt=globalThis;function P(e){for(let t in e)if(e[t]===P)return t;throw Error("Could not find renamed property on target object.")}function Kh(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function re(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(re).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
4
+ `);return n===-1?t:t.substring(0,n)}function cs(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Jh=P({__forward_ref__:P});function yl(e){return e.__forward_ref__=yl,e.toString=function(){return re(this())},e}function Z(e){return vl(e)?e():e}function vl(e){return typeof e=="function"&&e.hasOwnProperty(Jh)&&e.__forward_ref__===yl}function j(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Dl(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fo(e){return Cc(e,Il)||Cc(e,wl)}function zN(e){return Fo(e)!==null}function Cc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Xh(e){let t=e&&(e[Il]||e[wl]);return t||null}function bc(e){return e&&(e.hasOwnProperty(_c)||e.hasOwnProperty(eg))?e[_c]:null}var Il=P({\u0275prov:P}),_c=P({\u0275inj:P}),wl=P({ngInjectableDef:P}),eg=P({ngInjectorDef:P}),A=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=j({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function El(e){return e&&!!e.\u0275providers}var tg=P({\u0275cmp:P}),ng=P({\u0275dir:P}),rg=P({\u0275pipe:P}),og=P({\u0275mod:P}),no=P({\u0275fac:P}),kn=P({__NG_ELEMENT_ID__:P}),Mc=P({__NG_ENV_ID__:P});function Wn(e){return typeof e=="string"?e:e==null?"":String(e)}function ig(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Wn(e)}function sg(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,e)}function Ea(e,t){throw new S(-201,!1)}var T=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}(T||{}),ls;function Cl(){return ls}function ie(e){let t=ls;return ls=e,t}function bl(e,t,n){let r=Fo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&T.Optional)return null;if(t!==void 0)return t;Ea(e,"Injector")}var ag={},Ln=ag,ds="__NG_DI_FLAG__",ro="ngTempTokenPath",ug="ngTokenPath",cg=/\n/gm,lg="\u0275",xc="__source",un;function dg(){return un}function ft(e){let t=un;return un=e,t}function fg(e,t=T.Default){if(un===void 0)throw new S(-203,!1);return un===null?bl(e,void 0,t):un.get(e,t&T.Optional?null:void 0,t)}function X(e,t=T.Default){return(Cl()||fg)(Z(e),t)}function b(e,t=T.Default){return X(e,Ro(t))}function Ro(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function fs(e){let t=[];for(let n=0;n<e.length;n++){let r=Z(e[n]);if(Array.isArray(r)){if(r.length===0)throw new S(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){let a=r[s],u=pg(a);typeof u=="number"?u===-1?o=a.token:i|=u:o=a}t.push(X(o,i))}else t.push(X(r))}return t}function _l(e,t){return e[ds]=t,e.prototype[ds]=t,e}function pg(e){return e[ds]}function hg(e,t,n,r){let o=e[ro];throw t[xc]&&o.unshift(t[xc]),e.message=gg(`
5
+ `+e.message,o,n,r),e[ug]=o,e[ro]=null,e}function gg(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==lg?e.slice(2):e;let o=re(t);if(Array.isArray(t))o=t.map(re).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):re(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(cg,`
7
+ `)}`}var mg=_l(ml("Optional"),8);var yg=_l(ml("SkipSelf"),4);function Ft(e,t){let n=e.hasOwnProperty(no);return n?e[no]:null}function vg(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Dg(e){return e.flat(Number.POSITIVE_INFINITY)}function Ca(e,t){e.forEach(n=>Array.isArray(n)?Ca(n,t):t(n))}function Ml(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function oo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ig(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function wg(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Po(e,t,n){let r=qn(e,t);return r>=0?e[r|1]=n:(r=~r,wg(e,r,t,n)),r}function Yi(e,t){let n=qn(e,t);if(n>=0)return e[n|1]}function qn(e,t){return Eg(e,t,1)}function Eg(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var qe={},se=[],io=new A(""),xl=new A("",-1),Sl=new A(""),so=class{get(t,n=Ln){if(n===Ln){let r=new Error(`NullInjectorError: No provider for ${re(t)}!`);throw r.name="NullInjectorError",r}return n}},Tl=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Tl||{}),jn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(jn||{}),mt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(mt||{});function Cg(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function ps(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];bg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Nl(e){return e===3||e===4||e===6}function bg(e){return e.charCodeAt(0)===64}function Vn(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Sc(e,n,o,null,t[++r]):Sc(e,n,o,null,null))}}return e}function Sc(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Al="ng-template";function _g(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Cg(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(ba(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function ba(e){return e.type===4&&e.value!==Al}function Mg(e,t,n){let r=e.type===4&&!n?Al:e.value;return t===r}function xg(e,t,n){let r=4,o=e.attrs,i=o!==null?Ng(o):0,s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(typeof u=="number"){if(!s&&!xe(r)&&!xe(u))return!1;if(s&&xe(u))continue;s=!1,r=u|r&1;continue}if(!s)if(r&4){if(r=2|r&1,u!==""&&!Mg(e,u,n)||u===""&&t.length===1){if(xe(r))return!1;s=!0}}else if(r&8){if(o===null||!_g(e,o,u,n)){if(xe(r))return!1;s=!0}}else{let c=t[++a],l=Sg(u,o,ba(e),n);if(l===-1){if(xe(r))return!1;s=!0;continue}if(c!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(xe(r))return!1;s=!0}}}}return xe(r)||s}function xe(e){return(e&1)===0}function Sg(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Ag(t,e)}function Ol(e,t,n=!1){for(let r=0;r<t.length;r++)if(xg(e,t[r],n))return!0;return!1}function Tg(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function Ng(e){for(let t=0;t<e.length;t++){let n=e[t];if(Nl(n))return t}return e.length}function Ag(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function Og(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Tc(e,t){return e?":not("+t.trim()+")":t}function Fg(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!xe(s)&&(t+=Tc(i,o),o=""),r=s,i=i||!xe(r);n++}return o!==""&&(t+=Tc(i,o)),t}function Rg(e){return e.map(Fg).join(",")}function Pg(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!xe(o))break;o=i}r++}return{attrs:t,classes:n}}function GN(e){return Gn(()=>{let t=kl(e),n=Ee(we({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Tl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||jn.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""});Ll(n);let r=e.dependencies;return n.directiveDefs=Ac(r,!1),n.pipeDefs=Ac(r,!0),n.id=Vg(n),n})}function kg(e){return Ze(e)||_a(e)}function Lg(e){return e!==null}function Fl(e){return Gn(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Nc(e,t){if(e==null)return qe;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=mt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==mt.None?[r,a]:r,t[i]=s):n[i]=r}return n}function et(e){return Gn(()=>{let t=kl(e);return Ll(t),t})}function Zn(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone===!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ze(e){return e[tg]||null}function _a(e){return e[ng]||null}function Rl(e){return e[rg]||null}function jg(e){let t=Ze(e)||_a(e)||Rl(e);return t!==null?t.standalone:!1}function Pl(e,t){let n=e[og]||null;if(!n&&t===!0)throw new Error(`Type ${re(e)} does not have '\u0275mod' property.`);return n}function kl(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||qe,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Nc(e.inputs,t),outputs:Nc(e.outputs),debugInfo:null}}function Ll(e){e.features?.forEach(t=>t(e))}function Ac(e,t){if(!e)return null;let n=t?Rl:kg;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Lg)}function Vg(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function WN(e){return{\u0275providers:e}}function Bg(...e){return{\u0275providers:jl(!0,e),\u0275fromNgModule:!0}}function jl(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ca(t,s=>{let a=s;hs(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Vl(o,i),n}function Vl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Ma(o,i=>{t(i,r)})}}function hs(e,t,n,r){if(e=Z(e),!e)return!1;let o=null,i=bc(e),s=!i&&Ze(e);if(!i&&!s){let u=e.ngModule;if(i=bc(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)hs(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Ca(i.imports,l=>{hs(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Vl(c,t)}if(!a){let c=Ft(o)||(()=>new o);t({provide:o,useFactory:c,deps:se},o),t({provide:Sl,useValue:o,multi:!0},o),t({provide:io,useValue:()=>X(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Ma(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Ma(e,t){for(let n of e)El(n)&&(n=n.\u0275providers),Array.isArray(n)?Ma(n,t):t(n)}var $g=P({provide:String,useValue:P});function Bl(e){return e!==null&&typeof e=="object"&&$g in e}function Hg(e){return!!(e&&e.useExisting)}function Ug(e){return!!(e&&e.useFactory)}function ln(e){return typeof e=="function"}function zg(e){return!!e.useClass}var $l=new A(""),Yr={},Gg={},Qi;function ko(){return Qi===void 0&&(Qi=new so),Qi}var yt=class{},Bn=class extends yt{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ms(t,s=>this.processProvider(s)),this.records.set(xl,rn(void 0,this)),o.has("environment")&&this.records.set(yt,rn(void 0,this));let i=this.records.get($l);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Sl,se,T.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=M(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=ft(this),r=ie(void 0),o;try{return t()}finally{ft(n),ie(r)}}get(t,n=Ln,r=T.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Mc))return t[Mc](this);r=Ro(r);let o,i=ft(this),s=ie(void 0);try{if(!(r&T.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Qg(t)&&Fo(t);c&&this.injectableDefInScope(c)?u=rn(gs(t),Yr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&T.Self?ko():this.parent;return n=r&T.Optional&&n===Ln?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[ro]=a[ro]||[]).unshift(re(t)),i)throw a;return hg(a,t,"R3InjectorError",this.source)}else throw a}finally{ie(s),ft(i)}}resolveInjectorInitializers(){let t=M(null),n=ft(this),r=ie(void 0),o;try{let i=this.get(io,se,T.Self);for(let s of i)s()}finally{ft(n),ie(r),M(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(re(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){t=Z(t);let n=ln(t)?t:Z(t&&t.provide),r=qg(t);if(!ln(t)&&t.multi===!0){let o=this.records.get(n);o||(o=rn(void 0,Yr,!0),o.factory=()=>fs(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=M(null);try{return n.value===Yr&&(n.value=Gg,n.value=n.factory()),typeof n.value=="object"&&n.value&&Yg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{M(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Z(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function gs(e){let t=Fo(e),n=t!==null?t.factory:Ft(e);if(n!==null)return n;if(e instanceof A)throw new S(204,!1);if(e instanceof Function)return Wg(e);throw new S(204,!1)}function Wg(e){if(e.length>0)throw new S(204,!1);let n=Xh(e);return n!==null?()=>n.factory(e):()=>new e}function qg(e){if(Bl(e))return rn(void 0,e.useValue);{let t=Hl(e);return rn(t,Yr)}}function Hl(e,t,n){let r;if(ln(e)){let o=Z(e);return Ft(o)||gs(o)}else if(Bl(e))r=()=>Z(e.useValue);else if(Ug(e))r=()=>e.useFactory(...fs(e.deps||[]));else if(Hg(e))r=()=>X(Z(e.useExisting));else{let o=Z(e&&(e.useClass||e.provide));if(Zg(e))r=()=>new o(...fs(e.deps));else return Ft(o)||gs(o)}return r}function rn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Zg(e){return!!e.deps}function Yg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Qg(e){return typeof e=="function"||typeof e=="object"&&e instanceof A}function ms(e,t){for(let n of e)Array.isArray(n)?ms(n,t):n&&El(n)?ms(n.\u0275providers,t):t(n)}function qN(e,t){e instanceof Bn&&e.assertNotDestroyed();let n,r=ft(e),o=ie(void 0);try{return t()}finally{ft(r),ie(o)}}function Ul(){return Cl()!==void 0||dg()!=null}function xa(e){if(!Ul())throw new S(-203,!1)}function Kg(e){return typeof e=="function"}var Ue=0,E=1,w=2,ee=3,Ne=4,ue=5,dn=6,ao=7,Y=8,fn=9,$e=10,B=11,$n=12,Oc=13,Dn=14,ae=15,Rt=16,on=17,Ye=18,Lo=19,zl=20,ht=21,Qr=22,ve=23,W=25,Sa=1;var Pt=7,uo=8,pn=9,J=10,co=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(co||{});function gt(e){return Array.isArray(e)&&typeof e[Sa]=="object"}function tt(e){return Array.isArray(e)&&e[Sa]===!0}function Ta(e){return(e.flags&4)!==0}function jo(e){return e.componentOffset>-1}function Vo(e){return(e.flags&1)===1}function Qe(e){return!!e.template}function ys(e){return(e[w]&512)!==0}var vs=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Gl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Bo(){return Wl}function Wl(e){return e.type.prototype.ngOnChanges&&(e.setInput=Xg),Jg}Bo.ngInherit=!0;function Jg(){let e=Zl(this),t=e?.current;if(t){let n=e.previous;if(n===qe)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Xg(e,t,n,r,o){let i=this.declaredInputs[r],s=Zl(e)||em(e,{previous:qe,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new vs(c&&c.currentValue,n,u===qe),Gl(e,t,o,n)}var ql="__ngSimpleChanges__";function Zl(e){return e[ql]||null}function em(e,t){return e[ql]=t}var Fc=null;var Ve=function(e,t,n){Fc?.(e,t,n)},tm="svg",nm="math";function He(e){for(;Array.isArray(e);)e=e[Ue];return e}function rm(e){for(;Array.isArray(e);){if(typeof e[Sa]=="object")return e;e=e[Ue]}return null}function Yl(e,t){return He(t[e])}function De(e,t){return He(t[e.index])}function Na(e,t){return e.data[t]}function $o(e,t){return e[t]}function Et(e,t){let n=t[e];return gt(n)?n:n[Ue]}function om(e){return(e[w]&4)===4}function Aa(e){return(e[w]&128)===128}function im(e){return tt(e[ee])}function vt(e,t){return t==null?null:e[t]}function Ql(e){e[on]=0}function Kl(e){e[w]&1024||(e[w]|=1024,Aa(e)&&Uo(e))}function sm(e,t){for(;e>0;)t=t[Dn],e--;return t}function Ho(e){return!!(e[w]&9216||e[ve]?.dirty)}function Ds(e){e[$e].changeDetectionScheduler?.notify(8),e[w]&64&&(e[w]|=1024),Ho(e)&&Uo(e)}function Uo(e){e[$e].changeDetectionScheduler?.notify(0);let t=kt(e);for(;t!==null&&!(t[w]&8192||(t[w]|=8192,!Aa(t)));)t=kt(t)}function Jl(e,t){if((e[w]&256)===256)throw new S(911,!1);e[ht]===null&&(e[ht]=[]),e[ht].push(t)}function am(e,t){if(e[ht]===null)return;let n=e[ht].indexOf(t);n!==-1&&e[ht].splice(n,1)}function kt(e){let t=e[ee];return tt(t)?t[ee]:t}var x={lFrame:cd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Xl=!1;function um(){return x.lFrame.elementDepthCount}function cm(){x.lFrame.elementDepthCount++}function lm(){x.lFrame.elementDepthCount--}function ed(){return x.bindingsEnabled}function td(){return x.skipHydrationRootTNode!==null}function dm(e){return x.skipHydrationRootTNode===e}function fm(){x.skipHydrationRootTNode=null}function D(){return x.lFrame.lView}function $(){return x.lFrame.tView}function ZN(e){return x.lFrame.contextLView=e,e[Y]}function YN(e){return x.lFrame.contextLView=null,e}function te(){let e=nd();for(;e!==null&&e.type===64;)e=e.parent;return e}function nd(){return x.lFrame.currentTNode}function pm(){let e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ut(e,t){let n=x.lFrame;n.currentTNode=e,n.isParent=t}function Oa(){return x.lFrame.isParent}function Fa(){x.lFrame.isParent=!1}function hm(){return x.lFrame.contextLView}function rd(){return Xl}function Rc(e){Xl=e}function zt(){let e=x.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function gm(e){return x.lFrame.bindingIndex=e}function Gt(){return x.lFrame.bindingIndex++}function od(e){let t=x.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function mm(){return x.lFrame.inI18n}function ym(e,t){let n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,Is(t)}function vm(){return x.lFrame.currentDirectiveIndex}function Is(e){x.lFrame.currentDirectiveIndex=e}function id(e){let t=x.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function sd(){return x.lFrame.currentQueryIndex}function Ra(e){x.lFrame.currentQueryIndex=e}function Dm(e){let t=e[E];return t.type===2?t.declTNode:t.type===1?e[ue]:null}function ad(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=Dm(i),o===null||(i=i[Dn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=x.lFrame=ud();return r.currentTNode=t,r.lView=e,!0}function Pa(e){let t=ud(),n=e[E];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ud(){let e=x.lFrame,t=e===null?null:e.child;return t===null?cd(e):t}function cd(e){let 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 e!==null&&(e.child=t),t}function ld(){let e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var dd=ld;function ka(){let e=ld();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 Im(e){return(x.lFrame.contextLView=sm(e,x.lFrame.contextLView))[Y]}function Ct(){return x.lFrame.selectedIndex}function Lt(e){x.lFrame.selectedIndex=e}function Yn(){let e=x.lFrame;return Na(e.tView,e.selectedIndex)}function wm(){return x.lFrame.currentNamespace}var fd=!0;function zo(){return fd}function Go(e){fd=e}function Em(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Wl(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Wo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:c,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),u&&(e.viewHooks??=[]).push(-n,u),c&&((e.viewHooks??=[]).push(n,c),(e.viewCheckHooks??=[]).push(n,c)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Kr(e,t,n){pd(e,t,3,n)}function Jr(e,t,n,r){(e[w]&3)===n&&pd(e,t,n,r)}function Ki(e,t){let n=e[w];(n&3)===t&&(n&=16383,n+=1,e[w]=n)}function pd(e,t,n,r){let o=r!==void 0?e[on]&65535:0,i=r??-1,s=t.length-1,a=0;for(let u=o;u<s;u++)if(typeof t[u+1]=="number"){if(a=t[u],r!=null&&a>=r)break}else t[u]<0&&(e[on]+=65536),(a<i||i==-1)&&(Cm(e,n,t,u),e[on]=(e[on]&4294901760)+u+2),u++}function Pc(e,t){Ve(4,e,t);let n=M(null);try{t.call(e)}finally{M(n),Ve(5,e,t)}}function Cm(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[w]>>14<e[on]>>16&&(e[w]&3)===t&&(e[w]+=16384,Pc(a,i)):Pc(a,i)}var cn=-1,jt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function bm(e){return e instanceof jt}function _m(e){return(e.flags&8)!==0}function Mm(e){return(e.flags&16)!==0}var Ji={},ws=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Ro(r);let o=this.injector.get(t,Ji,r);return o!==Ji||n===Ji?o:this.parentInjector.get(t,n,r)}};function hd(e){return e!==cn}function lo(e){return e&32767}function xm(e){return e>>16}function fo(e,t){let n=xm(e),r=t;for(;n>0;)r=r[Dn],n--;return r}var Es=!0;function po(e){let t=Es;return Es=e,t}var Sm=256,gd=Sm-1,md=5,Tm=0,Be={};function Nm(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(kn)&&(r=n[kn]),r==null&&(r=n[kn]=Tm++);let o=r&gd,i=1<<o;t.data[e+(o>>md)]|=i}function ho(e,t){let n=yd(e,t);if(n!==-1)return n;let r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,Xi(r.data,e),Xi(t,null),Xi(r.blueprint,null));let o=La(e,t),i=e.injectorIndex;if(hd(o)){let s=lo(o),a=fo(o,t),u=a[E].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Xi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function yd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function La(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Ed(o),r===null)return cn;if(n++,o=o[Dn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return cn}function Cs(e,t,n){Nm(e,t,n)}function Am(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Nl(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function vd(e,t,n){if(n&T.Optional||e!==void 0)return e;Ea(t,"NodeInjector")}function Dd(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),!(n&(T.Self|T.Host))){let o=e[fn],i=ie(void 0);try{return o?o.get(t,r,n&T.Optional):bl(t,r,n&T.Optional)}finally{ie(i)}}return vd(r,t,n)}function Id(e,t,n,r=T.Default,o){if(e!==null){if(t[w]&2048&&!(r&T.Self)){let s=Pm(e,t,n,r,Be);if(s!==Be)return s}let i=wd(e,t,n,r,Be);if(i!==Be)return i}return Dd(t,n,r,o)}function wd(e,t,n,r,o){let i=Fm(n);if(typeof i=="function"){if(!ad(t,e,r))return r&T.Host?vd(o,n,r):Dd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))Ea(n);else return s}finally{dd()}}else if(typeof i=="number"){let s=null,a=yd(e,t),u=cn,c=r&T.Host?t[ae][ue]:null;for((a===-1||r&T.SkipSelf)&&(u=a===-1?La(e,t):t[a+8],u===cn||!Lc(r,!1)?a=-1:(s=t[E],a=lo(u),t=fo(u,t)));a!==-1;){let l=t[E];if(kc(i,a,l.data)){let d=Om(a,t,n,s,r,c);if(d!==Be)return d}u=t[a+8],u!==cn&&Lc(r,t[E].data[a+8]===c)&&kc(i,a,t)?(s=l,a=lo(u),t=fo(u,t)):a=-1}}return o}function Om(e,t,n,r,o,i){let s=t[E],a=s.data[e+8],u=r==null?jo(a)&&Es:r!=s&&(a.type&3)!==0,c=o&T.Host&&i===a,l=Xr(a,s,n,u,c);return l!==null?Vt(t,s,l,a):Be}function Xr(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,u=e.directiveStart,c=e.directiveEnd,l=i>>20,d=r?a:a+l,p=o?a+l:c;for(let f=d;f<p;f++){let h=s[f];if(f<u&&n===h||f>=u&&h.type===n)return f}if(o){let f=s[u];if(f&&Qe(f)&&f.type===n)return u}return null}function Vt(e,t,n,r){let o=e[n],i=t.data;if(bm(o)){let s=o;s.resolving&&sg(ig(i[n]));let a=po(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ie(s.injectImpl):null,l=ad(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Em(n,i[n],t)}finally{c!==null&&ie(c),po(a),s.resolving=!1,dd()}}return o}function Fm(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(kn)?e[kn]:void 0;return typeof t=="number"?t>=0?t&gd:Rm:t}function kc(e,t,n){let r=1<<e;return!!(n[t+(e>>md)]&r)}function Lc(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var Ot=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Id(this._tNode,this._lView,t,Ro(r),n)}};function Rm(){return new Ot(te(),D())}function QN(e){return Gn(()=>{let t=e.prototype.constructor,n=t[no]||bs(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[no]||bs(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function bs(e){return vl(e)?()=>{let t=bs(Z(e));return t&&t()}:Ft(e)}function Pm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[w]&2048&&!(s[w]&512);){let a=wd(i,s,n,r|T.Self,Be);if(a!==Be)return a;let u=i.parent;if(!u){let c=s[zl];if(c){let l=c.get(n,Be,r);if(l!==Be)return l}u=Ed(s),s=s[Dn]}i=u}return o}function Ed(e){let t=e[E],n=t.type;return n===2?t.declTNode:n===1?e[ue]:null}function km(e){return Am(te(),e)}function jc(e,t=null,n=null,r){let o=Cd(e,t,n,r);return o.resolveInjectorInitializers(),o}function Cd(e,t=null,n=null,r,o=new Set){let i=[n||se,Bg(e)];return r=r||(typeof e=="object"?void 0:re(e)),new Bn(i,t||ko(),r||null,o)}var Ke=class e{static{this.THROW_IF_NOT_FOUND=Ln}static{this.NULL=new so}static create(t,n){if(Array.isArray(t))return jc({name:""},n,t,"");{let r=t.name??"";return jc({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=j({token:e,providedIn:"any",factory:()=>X(xl)})}static{this.__NG_ELEMENT_ID__=-1}};var Lm=new A("");Lm.__NG_ELEMENT_ID__=e=>{let t=te();if(t===null)throw new S(204,!1);if(t.type&2)return t.value;if(e&T.Optional)return null;throw new S(204,!1)};var jm="ngOriginalError";function es(e){return e[jm]}var bd=!0,Qn=(()=>{class e{static{this.__NG_ELEMENT_ID__=Vm}static{this.__NG_ENV_ID__=n=>n}}return e})(),_s=class extends Qn{constructor(t){super(),this._lView=t}onDestroy(t){return Jl(this._lView,t),()=>am(this._lView,t)}};function Vm(){return new _s(D())}var Kn=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new _n(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}}return e})();var Ms=class extends K{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Ul()&&(this.destroyRef=b(Qn,{optional:!0})??void 0,this.pendingTasks=b(Kn,{optional:!0})??void 0)}emit(t){let n=M(null);try{super.next(t)}finally{M(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof H&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},Te=Ms;function go(...e){}function _d(e){let t,n;function r(){e=go;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Vc(e){return queueMicrotask(()=>e()),()=>{e=go}}var ja="isAngularZone",mo=ja+"_ID",Bm=0,de=class e{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Te(!1),this.onMicrotaskEmpty=new Te(!1),this.onStable=new Te(!1),this.onError=new Te(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=bd}=t;if(typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Um(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ja)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new S(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,$m,go,go);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},$m={};function Va(e){if(e._nesting==0&&!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 Hm(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){_d(()=>{e.callbackScheduled=!1,xs(e),e.isCheckStableRunning=!0,Va(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),xs(e)}function Um(e){let t=()=>{Hm(e)},n=Bm++;e._inner=e._inner.fork({name:"angular",properties:{[ja]:!0,[mo]:n,[mo+n]:!0},onInvokeTask:(r,o,i,s,a,u)=>{if(zm(u))return r.invokeTask(i,s,a,u);try{return Bc(e),r.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),$c(e)}},onInvoke:(r,o,i,s,a,u,c)=>{try{return Bc(e),r.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Gm(u)&&t(),$c(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,xs(e),Va(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function xs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Bc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function $c(e){e._nesting--,Va(e)}var Ss=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Te,this.onMicrotaskEmpty=new Te,this.onStable=new Te,this.onError=new Te}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,o){return t.apply(n,r)}};function zm(e){return Md(e,"__ignore_ng_zone__")}function Gm(e){return Md(e,"__scheduler_tick__")}function Md(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Dt=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&es(t);for(;n&&es(n);)n=es(n);return n||null}},Wm=new A("",{providedIn:"root",factory:()=>{let e=b(de),t=b(Dt);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Ts=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=b(Dt,{optional:!0}),this.destroyRef=b(Qn),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new S(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new S(953,!1);if(this.listeners===null)return;let n=M(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{M(n)}}};function KN(e){return new Ts}function Hc(e,t){return gl(e,t)}function qm(e){return gl(hl,e)}var JN=(Hc.required=qm,Hc);function Zm(){return In(te(),D())}function In(e,t){return new bt(De(e,t))}var bt=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=Zm}}return e})();function Ym(e){return e instanceof bt?e.nativeElement:e}function Qm(){return this._results[Symbol.iterator]()}var Ns=class e{get changes(){return this._changes??=new Te}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Qm)}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;let r=Dg(t);(this._changesDetected=!vg(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function xd(e){return(e.flags&128)===128}var Sd=new Map,Km=0;function Jm(){return Km++}function Xm(e){Sd.set(e[Lo],e)}function As(e){Sd.delete(e[Lo])}var Uc="__ngContext__";function It(e,t){gt(t)?(e[Uc]=t[Lo],Xm(t)):e[Uc]=t}function Td(e){return Ad(e[$n])}function Nd(e){return Ad(e[Ne])}function Ad(e){for(;e!==null&&!tt(e);)e=e[Ne];return e}var Os;function XN(e){Os=e}function Od(){if(Os!==void 0)return Os;if(typeof document<"u")return document;throw new S(210,!1)}var eA=new A("",{providedIn:"root",factory:()=>ey}),ey="ng",ty=new A(""),Ba=new A("",{providedIn:"platform",factory:()=>"unknown"});var tA=new A(""),nA=new A("",{providedIn:"root",factory:()=>Od().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var ny="h",ry="b";var oy=()=>null;function $a(e,t,n=!1){return oy(e,t,n)}var Fd=!1,iy=new A("",{providedIn:"root",factory:()=>Fd});var Ur;function sy(){if(Ur===void 0&&(Ur=null,pt.trustedTypes))try{Ur=pt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ur}function qo(e){return sy()?.createHTML(e)||e}var zr;function ay(){if(zr===void 0&&(zr=null,pt.trustedTypes))try{zr=pt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return zr}function zc(e){return ay()?.createHTML(e)||e}var Je=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${fl})`}},Fs=class extends Je{getTypeName(){return"HTML"}},Rs=class extends Je{getTypeName(){return"Style"}},Ps=class extends Je{getTypeName(){return"Script"}},ks=class extends Je{getTypeName(){return"URL"}},Ls=class extends Je{getTypeName(){return"ResourceURL"}};function Jn(e){return e instanceof Je?e.changingThisBreaksApplicationSecurity:e}function Rd(e,t){let n=uy(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${fl})`)}return n===t}function uy(e){return e instanceof Je&&e.getTypeName()||null}function rA(e){return new Fs(e)}function oA(e){return new Rs(e)}function iA(e){return new Ps(e)}function sA(e){return new ks(e)}function aA(e){return new Ls(e)}function cy(e){let t=new Vs(e);return ly()?new js(t):t}var js=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(qo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Vs=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=qo(t),n}};function ly(){try{return!!new window.DOMParser().parseFromString(qo(""),"text/html")}catch{return!1}}var dy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Pd(e){return e=String(e),e.match(dy)?e:"unsafe:"+e}function nt(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Xn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var kd=nt("area,br,col,hr,img,wbr"),Ld=nt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),jd=nt("rp,rt"),fy=Xn(jd,Ld),py=Xn(Ld,nt("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")),hy=Xn(jd,nt("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")),Gc=Xn(kd,py,hy,fy),Vd=nt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),gy=nt("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"),my=nt("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"),yy=Xn(Vd,gy,my),vy=nt("script,style,template"),Bs=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];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){o.push(n),n=wy(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Iy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Wc(t).toLowerCase();if(!Gc.hasOwnProperty(n))return this.sanitizedSomething=!0,!vy.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!yy.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let u=i.value;Vd[a]&&(u=Pd(u)),this.buf.push(" ",s,'="',qc(u),'"')}return this.buf.push(">"),!0}endElement(t){let n=Wc(t).toLowerCase();Gc.hasOwnProperty(n)&&!kd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(qc(t))}};function Dy(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Iy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Bd(t);return t}function wy(e){let t=e.firstChild;if(t&&Dy(e,t))throw Bd(t);return t}function Wc(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Bd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Ey=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Cy=/([^\#-~ |!])/g;function qc(e){return e.replace(/&/g,"&amp;").replace(Ey,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Cy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Gr;function by(e,t){let n=null;try{Gr=Gr||cy(e);let r=t?String(t):"";n=Gr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Gr.getInertBodyElement(r)}while(r!==i);let a=new Bs().sanitizeChildren(Zc(n)||n);return qo(a)}finally{if(n){let r=Zc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Zc(e){return"content"in e&&_y(e)?e.content:null}function _y(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Ha=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}(Ha||{});function uA(e){let t=$d();return t?zc(t.sanitize(Ha.HTML,e)||""):Rd(e,"HTML")?zc(Jn(e)):by(Od(),Wn(e))}function cA(e){let t=$d();return t?t.sanitize(Ha.URL,e)||"":Rd(e,"URL")?Jn(e):Pd(Wn(e))}function $d(){let e=D();return e&&e[$e].sanitizer}var My=/^>|^->|<!--|-->|--!>|<!-$/g,xy=/(<|>)/g,Sy="\u200B$1\u200B";function Ty(e){return e.replace(My,t=>t.replace(xy,Sy))}function lA(e){return e.ownerDocument.defaultView}function dA(e){return e.ownerDocument}function Hd(e){return e instanceof Function?e():e}function Ud(e){return(e??b(Ke)).get(Ba)==="browser"}var Hn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Hn||{}),Ny;function Ua(e,t){return Ny(e,t)}function sn(e,t,n,r,o){if(r!=null){let i,s=!1;tt(r)?i=r:gt(r)&&(s=!0,r=r[Ue]);let a=He(r);e===0&&n!==null?o==null?Zd(t,n,a):yo(t,n,a,o||null,!0):e===1&&n!==null?yo(t,n,a,o||null,!0):e===2?zy(t,a,s):e===3&&t.destroyNode(a),i!=null&&Wy(t,e,i,n,o)}}function Ay(e,t){return e.createText(t)}function Oy(e,t,n){e.setValue(t,n)}function Fy(e,t){return e.createComment(Ty(t))}function zd(e,t,n){return e.createElement(t,n)}function Ry(e,t){Gd(e,t),t[Ue]=null,t[ue]=null}function Py(e,t,n,r,o,i){r[Ue]=o,r[ue]=t,Qo(e,r,n,1,o,i)}function Gd(e,t){t[$e].changeDetectionScheduler?.notify(9),Qo(e,t,t[B],2,null,null)}function ky(e){let t=e[$n];if(!t)return ts(e[E],e);for(;t;){let n=null;if(gt(t))n=t[$n];else{let r=t[J];r&&(n=r)}if(!n){for(;t&&!t[Ne]&&t!==e;)gt(t)&&ts(t[E],t),t=t[ee];t===null&&(t=e),gt(t)&&ts(t[E],t),n=t&&t[Ne]}t=n}}function Ly(e,t,n,r){let o=J+r,i=n.length;r>0&&(n[o-1][Ne]=t),r<i-J?(t[Ne]=n[o],Ml(n,J+r,t)):(n.push(t),t[Ne]=null),t[ee]=n;let s=t[Rt];s!==null&&n!==s&&Wd(s,t);let a=t[Ye];a!==null&&a.insertView(e),Ds(t),t[w]|=128}function Wd(e,t){let n=e[pn],r=t[ee];if(gt(r))e[w]|=co.HasTransplantedViews;else{let o=r[ee][ae];t[ae]!==o&&(e[w]|=co.HasTransplantedViews)}n===null?e[pn]=[t]:n.push(t)}function za(e,t){let n=e[pn],r=n.indexOf(t);n.splice(r,1)}function Un(e,t){if(e.length<=J)return;let n=J+t,r=e[n];if(r){let o=r[Rt];o!==null&&o!==e&&za(o,r),t>0&&(e[n-1][Ne]=r[Ne]);let i=oo(e,J+t);Ry(r[E],r);let s=i[Ye];s!==null&&s.detachView(i[E]),r[ee]=null,r[Ne]=null,r[w]&=-129}return r}function Zo(e,t){if(!(t[w]&256)){let n=t[B];n.destroyNode&&Qo(e,t,n,3,null,null),ky(t)}}function ts(e,t){if(t[w]&256)return;let n=M(null);try{t[w]&=-129,t[w]|=256,t[ve]&&jr(t[ve]),Vy(e,t),jy(e,t),t[E].type===1&&t[B].destroy();let r=t[Rt];if(r!==null&&tt(t[ee])){r!==t[ee]&&za(r,t);let o=t[Ye];o!==null&&o.detachView(e)}As(t)}finally{M(n)}}function jy(e,t){let n=e.cleanup,r=t[ao];if(n!==null)for(let i=0;i<n.length-1;i+=2)if(typeof n[i]=="string"){let s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[ao]=null);let o=t[ht];if(o!==null){t[ht]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function Vy(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof jt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],u=i[s+1];Ve(4,a,u);try{u.call(a)}finally{Ve(5,a,u)}}else{Ve(4,o,i);try{i.call(o)}finally{Ve(5,o,i)}}}}}function qd(e,t,n){return By(e,t.parent,n)}function By(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ue];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===jn.None||i===jn.Emulated)return null}return De(r,n)}}function yo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Zd(e,t,n){e.appendChild(t,n)}function Yc(e,t,n,r,o){r!==null?yo(e,t,n,r,o):Zd(e,t,n)}function Yd(e,t){return e.parentNode(t)}function $y(e,t){return e.nextSibling(t)}function Qd(e,t,n){return Uy(e,t,n)}function Hy(e,t,n){return e.type&40?De(e,n):null}var Uy=Hy,Qc;function Yo(e,t,n,r){let o=qd(e,r,t),i=t[B],s=r.parent||t[ue],a=Qd(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;u<n.length;u++)Yc(i,o,n[u],a,!1);else Yc(i,o,n,a,!1);Qc!==void 0&&Qc(i,r,t,n,o)}function Pn(e,t){if(t!==null){let n=t.type;if(n&3)return De(t,e);if(n&4)return $s(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Pn(e,r);{let o=e[t.index];return tt(o)?$s(-1,o):He(o)}}else{if(n&128)return Pn(e,t.next);if(n&32)return Ua(t,e)()||He(e[t.index]);{let r=Kd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=kt(e[ae]);return Pn(o,r)}else return Pn(e,t.next)}}}return null}function Kd(e,t){if(t!==null){let r=e[ae][ue],o=t.projection;return r.projection[o]}return null}function $s(e,t){let n=J+e+1;if(n<t.length){let r=t[n],o=r[E].firstChild;if(o!==null)return Pn(r,o)}return t[Pt]}function zy(e,t,n){e.removeChild(null,t,n)}function Ga(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],u=n.type;if(s&&t===0&&(a&&It(He(a),r),n.flags|=2),(n.flags&32)!==32)if(u&8)Ga(e,t,n.child,r,o,i,!1),sn(t,e,o,a,i);else if(u&32){let c=Ua(n,r),l;for(;l=c();)sn(t,e,o,l,i);sn(t,e,o,a,i)}else u&16?Jd(e,t,r,n,o,i):sn(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Qo(e,t,n,r,o,i){Ga(n,r,e.firstChild,t,o,i,!1)}function Gy(e,t,n){let r=t[B],o=qd(e,n,t),i=n.parent||t[ue],s=Qd(i,n,t);Jd(r,0,t,n,o,s)}function Jd(e,t,n,r,o,i){let s=n[ae],u=s[ue].projection[r.projection];if(Array.isArray(u))for(let c=0;c<u.length;c++){let l=u[c];sn(t,e,o,l,i)}else{let c=u,l=s[ee];xd(r)&&(c.flags|=128),Ga(e,t,c,l,o,i,!0)}}function Wy(e,t,n,r,o){let i=n[Pt],s=He(n);i!==s&&sn(t,e,r,i,o);for(let a=J;a<n.length;a++){let u=n[a];Qo(u[E],u,e,t,r,i)}}function qy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Hn.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Hn.Important),e.setStyle(n,r,o,i))}}function Zy(e,t,n){e.setAttribute(t,"style",n)}function Xd(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ef(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&ps(e,t,r),o!==null&&Xd(e,t,o),i!==null&&Zy(e,t,i)}var Ae={};function fA(e=1){tf($(),D(),Ct()+e,!1)}function tf(e,t,n,r){if(!r)if((t[w]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Kr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Jr(t,i,0,n)}Lt(n)}function V(e,t=T.Default){let n=D();if(n===null)return X(e,t);let r=te();return Id(r,n,Z(e),t)}function pA(){let e="invalid";throw new Error(e)}function nf(e,t,n,r,o,i){let s=M(null);try{let a=null;o&mt.SignalBased&&(a=t[r][Me]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&mt.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Gl(t,a,r,i)}finally{M(s)}}function Yy(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Lt(~o);else{let i=o,s=n[++r],a=n[++r];ym(s,i);let u=t[i];a(2,u)}}}finally{Lt(-1)}}function Ko(e,t,n,r,o,i,s,a,u,c,l){let d=t.blueprint.slice();return d[Ue]=o,d[w]=r|4|128|8|64,(c!==null||e&&e[w]&2048)&&(d[w]|=2048),Ql(d),d[ee]=d[Dn]=e,d[Y]=n,d[$e]=s||e&&e[$e],d[B]=a||e&&e[B],d[fn]=u||e&&e[fn]||null,d[ue]=i,d[Lo]=Jm(),d[dn]=l,d[zl]=c,d[ae]=t.type==2?e[ae]:d,d}function wn(e,t,n,r,o){let i=e.data[t];if(i===null)i=Qy(e,t,n,r,o),mm()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=pm();i.injectorIndex=s===null?-1:s.injectorIndex}return Ut(i,!0),i}function Qy(e,t,n,r,o){let i=nd(),s=Oa(),a=s?i:i&&i.parent,u=e.data[t]=nv(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=u),i!==null&&(s?i.child==null&&u.parent!==null&&(i.child=u):i.next===null&&(i.next=u,u.prev=i)),u}function rf(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function of(e,t,n,r,o){let i=Ct(),s=r&2;try{Lt(-1),s&&t.length>W&&tf(e,t,W,!1),Ve(s?2:0,o),n(r,o)}finally{Lt(i),Ve(s?3:1,o)}}function Wa(e,t,n){if(Ta(t)){let r=M(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let u=n[s];a.contentQueries(1,u,s)}}}finally{M(r)}}}function qa(e,t,n){ed()&&(uv(e,t,n,De(n,t)),(n.flags&64)===64&&uf(e,t,n))}function Za(e,t,n=De){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function sf(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ya(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Ya(e,t,n,r,o,i,s,a,u,c,l){let d=W+r,p=d+o,f=Ky(d,p),h=typeof c=="function"?c():c;return f[E]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,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:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1,ssrId:l}}function Ky(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ae);return n}function Jy(e,t,n,r){let i=r.get(iy,Fd)||n===jn.ShadowDom,s=e.selectRootElement(t,i);return Xy(s),s}function Xy(e){ev(e)}var ev=()=>null;function tv(e,t,n,r){let o=df(t);o.push(n),e.firstCreatePass&&ff(e).push(r,o.length-1)}function nv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return td()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Kc(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=mt.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Jc(r,n,c,a,u):Jc(r,n,c,a)}return r}function Jc(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function rv(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l<o;l++){let d=i[l],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;u=Kc(0,d.inputs,l,u,f),c=Kc(1,d.outputs,l,c,h);let m=u!==null&&s!==null&&!ba(t)?Dv(u,l,s):null;a.push(m)}u!==null&&(u.hasOwnProperty("class")&&(t.flags|=8),u.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=u,t.outputs=c}function ov(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Jo(e,t,n,r,o,i,s,a){let u=De(t,n),c=t.inputs,l;!a&&c!=null&&(l=c[r])?(Ka(e,n,l,r,o),jo(t)&&iv(n,t.index)):t.type&3?(r=ov(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)):t.type&12}function iv(e,t){let n=Et(t,e);n[w]&16||(n[w]|=64)}function Qa(e,t,n,r){if(ed()){let o=r===null?null:{"":-1},i=lv(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&af(e,t,n,s,o,a),o&&dv(n,r,o)}n.mergedAttrs=Vn(n.mergedAttrs,n.attrs)}function af(e,t,n,r,o,i){for(let c=0;c<r.length;c++)Cs(ho(n,t),e,r[c].type);pv(n,e.data.length,r.length);for(let c=0;c<r.length;c++){let l=r[c];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,u=rf(e,t,r.length,null);for(let c=0;c<r.length;c++){let l=r[c];n.mergedAttrs=Vn(n.mergedAttrs,l.hostAttrs),hv(e,n,t,u,l),fv(u,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),u++}rv(e,n,i)}function sv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;av(s)!=a&&s.push(a),s.push(n,r,i)}}function av(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function uv(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;jo(n)&&gv(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||ho(n,t),It(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let u=e.data[a],c=Vt(t,e,a,n);if(It(c,t),s!==null&&vv(t,a-o,c,u,n,s),Qe(u)){let l=Et(n.index,t);l[Y]=Vt(t,e,a,n)}}}function uf(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=vm();try{Lt(i);for(let a=r;a<o;a++){let u=e.data[a],c=t[a];Is(a),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&cv(u,c)}}finally{Lt(-1),Is(s)}}function cv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function lv(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(Ol(t,s.selectors,!1))if(r||(r=[]),Qe(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let u=a.length;Hs(e,t,u)}else r.unshift(s),Hs(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function Hs(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function dv(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new S(-301,!1);r.push(t[o],i)}}}function fv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Qe(t)&&(n[""]=e)}}function pv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function hv(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Ft(o.type,!0)),s=new jt(i,Qe(o),V);e.blueprint[r]=s,n[r]=s,sv(e,t,r,rf(e,n,o.hostVars,Ae),o)}function gv(e,t,n){let r=De(t,e),o=sf(n),i=e[$e].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=Xo(e,Ko(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function mv(e,t,n,r,o,i){let s=De(e,t);yv(t[B],s,i,e.value,n,r,o)}function yv(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Wn(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function vv(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let u=s[a++],c=s[a++],l=s[a++],d=s[a++];nf(r,n,u,c,l,d)}}function Dv(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function cf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function lf(e,t){let n=e.contentQueries;if(n!==null){let r=M(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Ra(i),a.contentQueries(2,t[s],s)}}}finally{M(r)}}}function Xo(e,t){return e[$n]?e[Oc][Ne]=t:e[$n]=t,e[Oc]=t,t}function Us(e,t,n){Ra(0);let r=M(null);try{t(e,n)}finally{M(r)}}function df(e){return e[ao]??=[]}function ff(e){return e.cleanup??=[]}function Iv(e,t,n){return(e===null||Qe(e))&&(n=rm(n[t.index])),n[B]}function pf(e,t){let n=e[fn],r=n?n.get(Dt,null):null;r&&r.handleError(t)}function Ka(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],u=n[i++],c=t[s],l=e.data[s];nf(l,c,r,a,u,o)}}function wv(e,t,n){let r=Yl(t,e);Oy(e[B],r,n)}function Ev(e,t){let n=Et(t,e),r=n[E];Cv(r,n);let o=n[Ue];o!==null&&n[dn]===null&&(n[dn]=$a(o,n[fn])),Ja(r,n,n[Y])}function Cv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ja(e,t,n){Pa(t);try{let r=e.viewQuery;r!==null&&Us(1,r,n);let o=e.template;o!==null&&of(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ye]?.finishViewCreation(e),e.staticContentQueries&&lf(e,t),e.staticViewQueries&&Us(2,e.viewQuery,n);let i=e.components;i!==null&&bv(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[w]&=-5,ka()}}function bv(e,t){for(let n=0;n<t.length;n++)Ev(e,t[n])}function er(e,t,n,r){let o=M(null);try{let i=t.tView,a=e[w]&4096?4096:16,u=Ko(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=e[t.index];u[Rt]=c;let l=e[Ye];return l!==null&&(u[Ye]=l.createEmbeddedView(i)),Ja(i,u,n),u}finally{M(o)}}function hf(e,t){let n=J+t;if(n<e.length)return e[n]}function hn(e,t){return!t||t.firstChild===null||xd(e)}function tr(e,t,n,r=!0){let o=t[E];if(Ly(o,t,e,n),r){let s=$s(n,e),a=t[B],u=Yd(a,e[Pt]);u!==null&&Py(o,e[ue],a,t,u,s)}let i=t[dn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function gf(e,t){let n=Un(e,t);return n!==void 0&&Zo(n[E],n),n}function vo(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(He(i)),tt(i)&&_v(i,r);let s=n.type;if(s&8)vo(e,t,n.child,r);else if(s&32){let a=Ua(n,t),u;for(;u=a();)r.push(u)}else if(s&16){let a=Kd(t,n);if(Array.isArray(a))r.push(...a);else{let u=kt(t[ae]);vo(u[E],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function _v(e,t){for(let n=J;n<e.length;n++){let r=e[n],o=r[E].firstChild;o!==null&&vo(r[E],r,o,t)}e[Pt]!==e[Ue]&&t.push(e[Pt])}var mf=[];function Mv(e){return e[ve]??xv(e)}function xv(e){let t=mf.pop()??Object.create(Tv);return t.lView=e,t}function Sv(e){e.lView[ve]!==e&&(e.lView=null,mf.push(e))}var Tv=Ee(we({},nn),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Uo(e.lView)},consumerOnSignalRead(){this.lView[ve]=this}});function Nv(e){let t=e[ve]??Object.create(Av);return t.lView=e,t}var Av=Ee(we({},nn),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=kt(e.lView);for(;t&&!yf(t[E]);)t=kt(t);t&&Kl(t)},consumerOnSignalRead(){this.lView[ve]=this}});function yf(e){return e.type!==2}var Ov=100;function vf(e,t=!0,n=0){let r=e[$e],o=r.rendererFactory,i=!1;i||o.begin?.();try{Fv(e,n)}catch(s){throw t&&pf(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Fv(e,t){let n=rd();try{Rc(!0),zs(e,t);let r=0;for(;Ho(e);){if(r===Ov)throw new S(103,!1);r++,zs(e,1)}}finally{Rc(n)}}function Rv(e,t,n,r){let o=t[w];if((o&256)===256)return;let i=!1,s=!1;!i&&t[$e].inlineEffectRunner?.flush(),Pa(t);let a=!0,u=null,c=null;i||(yf(e)?(c=Mv(t),u=Rn(c)):uc()===null?(a=!1,c=Nv(t),u=Rn(c)):t[ve]&&(jr(t[ve]),t[ve]=null));try{Ql(t),gm(e.bindingStartIndex),n!==null&&of(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Kr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Jr(t,f,0,null),Ki(t,0)}if(s||Pv(t),Df(t,0),e.contentQueries!==null&&lf(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Kr(t,f)}else{let f=e.contentHooks;f!==null&&Jr(t,f,1),Ki(t,1)}Yy(e,t);let d=e.components;d!==null&&wf(t,d,0);let p=e.viewQuery;if(p!==null&&Us(2,p,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Kr(t,f)}else{let f=e.viewHooks;f!==null&&Jr(t,f,2),Ki(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Qr]){for(let f of t[Qr])f();t[Qr]=null}i||(t[w]&=-73)}catch(l){throw i||Uo(t),l}finally{c!==null&&(kr(c,u),a&&Sv(c)),ka()}}function Df(e,t){for(let n=Td(e);n!==null;n=Nd(n))for(let r=J;r<n.length;r++){let o=n[r];If(o,t)}}function Pv(e){for(let t=Td(e);t!==null;t=Nd(t)){if(!(t[w]&co.HasTransplantedViews))continue;let n=t[pn];for(let r=0;r<n.length;r++){let o=n[r];Kl(o)}}}function kv(e,t,n){let r=Et(t,e);If(r,n)}function If(e,t){Aa(e)&&zs(e,t)}function zs(e,t){let r=e[E],o=e[w],i=e[ve],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Lr(i)),s||=!1,i&&(i.dirty=!1),e[w]&=-9217,s)Rv(r,e,r.template,e[Y]);else if(o&8192){Df(e,1);let a=r.components;a!==null&&wf(e,a,1)}}function wf(e,t,n){for(let r=0;r<t.length;r++)kv(e,t[r],n)}function Xa(e,t){let n=rd()?64:1088;for(e[$e].changeDetectionScheduler?.notify(t);e;){e[w]|=n;let r=kt(e);if(ys(e)&&!r)return e;e=r}return null}var Bt=class{get rootNodes(){let t=this._lView,n=t[E];return vo(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Y]}set context(t){this._lView[Y]=t}get destroyed(){return(this._lView[w]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ee];if(tt(t)){let n=t[uo],r=n?n.indexOf(this):-1;r>-1&&(Un(t,r),oo(n,r))}this._attachedToViewContainer=!1}Zo(this._lView[E],this._lView)}onDestroy(t){Jl(this._lView,t)}markForCheck(){Xa(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[w]&=-129}reattach(){Ds(this._lView),this._lView[w]|=128}detectChanges(){this._lView[w]|=1024,vf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ys(this._lView),n=this._lView[Rt];n!==null&&!t&&za(n,this._lView),Gd(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t;let n=ys(this._lView),r=this._lView[Rt];r!==null&&!n&&Wd(r,this._lView),Ds(this._lView)}},wt=(()=>{class e{static{this.__NG_ELEMENT_ID__=Vv}}return e})(),Lv=wt,jv=class extends Lv{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){let o=er(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Bt(o)}};function Vv(){return ei(te(),D())}function ei(e,t){return e.type&4?new jv(t,e,In(e,t)):null}var gA=new RegExp(`^(\\d+)*(${ry}|${ny})*(.*)`);var Bv=()=>null;function gn(e,t){return Bv(e,t)}var mn=class{},Ef=new A("",{providedIn:"root",factory:()=>!1});var Cf=new A(""),bf=new A(""),Gs=class{},Do=class{};function $v(e){let t=Error(`No component factory found for ${re(e)}.`);return t[Hv]=e,t}var Hv="ngComponent";var Ws=class{resolveComponentFactory(t){throw $v(t)}},yn=class{static{this.NULL=new Ws}},Io=class{},ti=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>Uv()}}return e})();function Uv(){let e=D(),t=te(),n=Et(t.index,e);return(gt(n)?n:e)[B]}var zv=(()=>{class e{static{this.\u0275prov=j({token:e,providedIn:"root",factory:()=>null})}}return e})();function wo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=cs(o,a);else if(i==2){let u=a,c=t[++s];r=cs(r,u+": "+c+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var Eo=class extends yn{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ze(t);return new $t(n,this.ngModule)}};function Xc(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:mt.None;t?n.push({propName:s,templateName:r,isSignal:(a&mt.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function Gv(e){let t=e.toLowerCase();return t==="svg"?tm:t==="math"?nm:null}var $t=class extends Do{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=Xc(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Xc(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Rg(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=M(null);try{o=o||this.ngModule;let s=o instanceof yt?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new ws(t,s):t,u=a.get(Io,null);if(u===null)throw new S(407,!1);let c=a.get(zv,null),l=a.get(mn,null),d={rendererFactory:u,sanitizer:c,inlineEffectRunner:null,changeDetectionScheduler:l},p=u.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?Jy(p,r,this.componentDef.encapsulation,a):zd(p,f,Gv(f)),m=512;this.componentDef.signals?m|=4096:this.componentDef.onPush||(m|=16);let N=null;h!==null&&(N=$a(h,a,!0));let _=Ya(0,null,null,1,0,null,null,null,null,null,null),R=Ko(null,_,null,m,null,null,d,p,a,null,N);Pa(R);let me,ne,ze=null;try{let ce=this.componentDef,Wt,Ii=null;ce.findHostDirectiveDefs?(Wt=[],Ii=new Map,ce.findHostDirectiveDefs(ce,Wt,Ii),Wt.push(ce)):Wt=[ce];let wp=Wv(R,h);ze=qv(wp,h,ce,Wt,R,d,p),ne=Na(_,W),h&&Qv(p,ce,h,r),n!==void 0&&Kv(ne,this.ngContentSelectors,n),me=Yv(ze,ce,Wt,Ii,R,[Jv]),Ja(_,R,null)}catch(ce){throw ze!==null&&As(ze),As(R),ce}finally{ka()}return new qs(this.componentType,me,In(ne,R),R,ne)}finally{M(i)}}},qs=class extends Gs{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new Bt(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Ka(i[E],i,o,t,n),this.previousInputValues.set(t,n);let s=Et(this._tNode.index,i);Xa(s,1)}}get injector(){return new Ot(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Wv(e,t){let n=e[E],r=W;return e[r]=t,wn(n,r,2,"#host",null)}function qv(e,t,n,r,o,i,s){let a=o[E];Zv(r,e,t,s);let u=null;t!==null&&(u=$a(t,o[fn]));let c=i.rendererFactory.createRenderer(t,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=Ko(o,sf(n),null,l,o[e.index],e,i,c,null,null,u);return a.firstCreatePass&&Hs(a,e,r.length-1),Xo(o,d),o[e.index]=d}function Zv(e,t,n,r){for(let o of e)t.mergedAttrs=Vn(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(wo(t,t.mergedAttrs,!0),n!==null&&ef(r,n,t))}function Yv(e,t,n,r,o,i){let s=te(),a=o[E],u=De(s,o);af(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,p=Vt(o,a,d,s);It(p,o)}uf(a,o,s),u&&It(u,o);let c=Vt(o,a,s.directiveStart+s.componentOffset,s);if(e[Y]=o[Y]=c,i!==null)for(let l of i)l(c,t);return Wa(a,s,o),c}function Qv(e,t,n,r){if(r)ps(e,n,["ng-version","18.2.13"]);else{let{attrs:o,classes:i}=Pg(t.selectors[0]);o&&ps(e,n,o),i&&i.length>0&&Xd(e,n,i.join(" "))}}function Kv(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null?Array.from(i):null)}}function Jv(){let e=te();Wo(D()[E],e)}var rt=(()=>{class e{static{this.__NG_ELEMENT_ID__=Xv}}return e})();function Xv(){let e=te();return Mf(e,D())}var eD=rt,_f=class extends eD{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return In(this._hostTNode,this._hostLView)}get injector(){return new Ot(this._hostTNode,this._hostLView)}get parentInjector(){let t=La(this._hostTNode,this._hostLView);if(hd(t)){let n=fo(t,this._hostLView),r=lo(t),o=n[E].data[r+8];return new Ot(o,n)}else return new Ot(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=el(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-J}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=gn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,hn(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Kg(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new $t(Ze(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let m=(s?c:this.parentInjector).get(yt,null);m&&(i=m)}let l=Ze(u.componentType??{}),d=gn(this._lContainer,l?.id??null),p=d?.firstChild??null,f=u.create(c,o,p,i);return this.insertImpl(f.hostView,a,hn(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(im(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[ee],c=new _f(u,u[ue],u[ee]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return tr(s,o,i,r),t.attachToViewContainerRef(),Ml(ns(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=el(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Un(this._lContainer,n);r&&(oo(ns(this._lContainer),n),Zo(r[E],r))}detach(t){let n=this._adjustIndex(t,-1),r=Un(this._lContainer,n);return r&&oo(ns(this._lContainer),n)!=null?new Bt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function el(e){return e[uo]}function ns(e){return e[uo]||(e[uo]=[])}function Mf(e,t){let n,r=t[e.index];return tt(r)?n=r:(n=cf(r,t,null,e),t[e.index]=n,Xo(t,n)),nD(n,t,e,r),new _f(n,e,t)}function tD(e,t){let n=e[B],r=n.createComment(""),o=De(t,e),i=Yd(n,o);return yo(n,i,r,$y(n,o),!1),r}var nD=iD,rD=()=>!1;function oD(e,t,n){return rD(e,t,n)}function iD(e,t,n,r){if(e[Pt])return;let o;n.type&8?o=He(r):o=tD(t,n),e[Pt]=o}var Zs=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ys=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}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++)eu(t,n).matches!==null&&this.queries[n].setDirty()}},Co=class{constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=pD(t):this.predicate=t}},Qs=class e{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++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(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)}},Ks=class e{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,sD(n,i)),this.matchTNodeWithReadOption(t,n,Xr(n,t,i,!1,!1))}else r===wt?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Xr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===bt||o===rt||o===wt&&n.type&4)this.addMatch(n.index,-2);else{let i=Xr(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function sD(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function aD(e,t){return e.type&11?In(e,t):e.type&4?ei(e,t):null}function uD(e,t,n,r){return n===-1?aD(t,e):n===-2?cD(e,t,r):Vt(e,e[E],n,t)}function cD(e,t,n){if(n===bt)return In(t,e);if(n===wt)return ei(t,e);if(n===rt)return Mf(t,e)}function xf(e,t,n,r){let o=t[Ye].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let u=0;s!==null&&u<s.length;u+=2){let c=s[u];if(c<0)a.push(null);else{let l=i[c];a.push(uD(t,l,s[u+1],n.metadata.read))}}o.matches=a}return o.matches}function Js(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=xf(e,t,o,n);for(let a=0;a<i.length;a+=2){let u=i[a];if(u>0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=J;d<l.length;d++){let p=l[d];p[Rt]===p[ee]&&Js(p[E],p,c,r)}if(l[pn]!==null){let d=l[pn];for(let p=0;p<d.length;p++){let f=d[p];Js(f[E],f,c,r)}}}}}return r}function lD(e,t){return e[Ye].queries[t].queryList}function Sf(e,t,n){let r=new Ns((n&4)===4);return tv(e,t,r,r.destroy),(t[Ye]??=new Ys).queries.push(new Zs(r))-1}function dD(e,t,n){let r=$();return r.firstCreatePass&&(Tf(r,new Co(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Sf(r,D(),t)}function fD(e,t,n,r){let o=$();if(o.firstCreatePass){let i=te();Tf(o,new Co(t,n,r),i.index),hD(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Sf(o,D(),n)}function pD(e){return e.split(",").map(t=>t.trim())}function Tf(e,t,n){e.queries===null&&(e.queries=new Qs),e.queries.track(new Ks(t,n))}function hD(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function eu(e,t){return e.queries.getByIndex(t)}function gD(e,t){let n=e[E],r=eu(n,t);return r.crossesNgTemplate?Js(n,e,t,[]):xf(n,e,r,t)}var tl=new Set;function ot(e){tl.has(e)||(tl.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function yA(e){return typeof e=="function"&&e[Me]!==void 0}function vA(e,t){ot("NgSignals");let n=Ic(e),r=n[Me];return t?.equal&&(r.equal=t.equal),n.set=o=>$r(r,o),n.update=o=>wc(r,o),n.asReadonly=mD.bind(n),n}function mD(){let e=this[Me];if(e.readonlyFn===void 0){let t=()=>this();t[Me]=e,e.readonlyFn=t}return e.readonlyFn}function yD(e){return Object.getPrototypeOf(e.prototype).constructor}function vD(e){let t=yD(e.type),n=!0,r=[e];for(;t;){let o;if(Qe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Wr(e.inputs),s.inputTransforms=Wr(e.inputTransforms),s.declaredInputs=Wr(e.declaredInputs),s.outputs=Wr(e.outputs);let a=o.hostBindings;a&&CD(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&wD(e,u),c&&ED(e,c),DD(e,o),Kh(e.outputs,o.outputs),Qe(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===vD&&(n=!1)}}t=Object.getPrototypeOf(t)}ID(r)}function DD(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function ID(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Vn(o.hostAttrs,n=Vn(n,o.hostAttrs))}}function Wr(e){return e===qe?{}:e===se?[]:e}function wD(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function ED(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function CD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function DA(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=Nf,n.hostDirectives=r?e.map(Xs):[e]):r?n.hostDirectives.unshift(...e.map(Xs)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Nf(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)nl(Xs(i),t,n)}else nl(r,t,n)}function nl(e,t,n){let r=_a(e.directive);bD(r.declaredInputs,e.inputs),Nf(r,t,n),n.set(r,e),t.push(r)}function Xs(e){return typeof e=="function"?{directive:Z(e),inputs:qe,outputs:qe}:{directive:Z(e.directive),inputs:rl(e.inputs),outputs:rl(e.outputs)}}function rl(e){if(e===void 0||e.length===0)return qe;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function bD(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function _D(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var Xe=class{},ea=class{};function Af(e,t){return new bo(e,t??null,[])}var bo=class extends Xe{constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Eo(this);let i=Pl(t);this._bootstrapComponents=Hd(i.bootstrap),this._r3Injector=Cd(t,n,[{provide:Xe,useValue:this},{provide:yn,useValue:this.componentFactoryResolver},...r],re(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ta=class extends ea{constructor(t){super(),this.moduleType=t}create(t){return new bo(this.moduleType,t,[])}};var _o=class extends Xe{constructor(t){super(),this.componentFactoryResolver=new Eo(this),this.instance=null;let n=new Bn([...t.providers,{provide:Xe,useValue:this},{provide:yn,useValue:this.componentFactoryResolver}],t.parent||ko(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function MD(e,t,n=null){return new _o({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function Of(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function ni(e,t,n){return e[t]=n}function fe(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Mo(e,t,n,r){let o=fe(e,t,n);return fe(e,t+1,r)||o}function xD(e,t,n,r,o){let i=Mo(e,t,n,r);return fe(e,t+2,o)||i}function SD(e,t,n,r,o,i){let s=Mo(e,t,n,r);return Mo(e,t+2,o,i)||s}function TD(e){return(e.flags&32)===32}function ND(e,t,n,r,o,i,s,a,u){let c=t.consts,l=wn(t,e,4,s||null,a||null);Qa(t,n,l,vt(c,u)),Wo(t,l);let d=l.tView=Ya(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function xo(e,t,n,r,o,i,s,a,u,c){let l=n+W,d=t.firstCreatePass?ND(l,t,e,r,o,i,s,a,u):t.data[l];Ut(d,!1);let p=OD(t,e,d,n);zo()&&Yo(t,e,p,d),It(p,e);let f=cf(p,e,p,d);return e[l]=f,Xo(e,f),oD(f,d,e),Vo(d)&&qa(t,e,d),u!=null&&Za(e,d,c),d}function AD(e,t,n,r,o,i,s,a){let u=D(),c=$(),l=vt(c.consts,i);return xo(u,c,e,t,n,r,o,l,s,a),AD}var OD=FD;function FD(e,t,n,r){return Go(!0),t[B].createComment("")}var an=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(an||{}),Ff=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}}return e})(),na=class e{constructor(){this.ngZone=b(de),this.scheduler=b(mn),this.errorHandler=b(Dt,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[an.EarlyRead,an.Write,an.MixedReadWrite,an.Read]}execute(){this.executing=!0;for(let t of e.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[t]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=j({token:e,providedIn:"root",factory:()=>new e})}},ra=class{constructor(t,n,r,o){this.impl=t,this.hooks=n,this.once=r,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function RD(e,t){!t?.injector&&xa(RD);let n=t?.injector??b(Ke);return Ud(n)?(ot("NgAfterRender"),Rf(e,n,t,!1)):Pf}function PD(e,t){!t?.injector&&xa(PD);let n=t?.injector??b(Ke);return Ud(n)?(ot("NgAfterNextRender"),Rf(e,n,t,!0)):Pf}function kD(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Rf(e,t,n,r){let o=t.get(Ff);o.impl??=t.get(na);let i=n?.phase??an.MixedReadWrite,s=n?.manualCleanup!==!0?t.get(Qn):null,a=new ra(o.impl,kD(e,i),r,s);return o.impl.register(a),a}var Pf={destroy(){}};function LD(e,t,n,r){let o=D(),i=Gt();if(fe(o,i,t)){let s=$(),a=Yn();mv(a,o,e,t,n,r)}return LD}function tu(e,t,n,r){return fe(e,Gt(),n)?t+Wn(n)+r:Ae}function qr(e,t){return e<<17|t<<2}function Ht(e){return e>>17&32767}function jD(e){return(e&2)==2}function VD(e,t){return e&131071|t<<17}function oa(e){return e|2}function vn(e){return(e&131068)>>2}function rs(e,t){return e&-131069|t<<2}function BD(e){return(e&1)===1}function ia(e){return e|1}function $D(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ht(s),u=vn(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||qn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let p=Ht(e[a+1]);e[r+1]=qr(p,a),p!==0&&(e[p+1]=rs(e[p+1],r)),e[a+1]=VD(e[a+1],r)}else e[r+1]=qr(a,0),a!==0&&(e[a+1]=rs(e[a+1],r)),a=r;else e[r+1]=qr(u,0),a===0?a=r:e[u+1]=rs(e[u+1],r),u=r;c&&(e[r+1]=oa(e[r+1])),ol(e,l,r,!0),ol(e,l,r,!1),HD(t,l,e,r,i),s=qr(a,u),i?t.classBindings=s:t.styleBindings=s}function HD(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&qn(i,t)>=0&&(n[r+1]=ia(n[r+1]))}function ol(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ht(o):vn(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];UD(u,t)&&(a=!0,e[s+1]=r?ia(c):oa(c)),s=r?Ht(c):vn(c)}a&&(e[n+1]=r?oa(o):ia(o))}function UD(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?qn(e,t)>=0:!1}var Se={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function zD(e){return e.substring(Se.key,Se.keyEnd)}function GD(e){return WD(e),kf(e,Lf(e,0,Se.textEnd))}function kf(e,t){let n=Se.textEnd;return n===t?-1:(t=Se.keyEnd=qD(e,Se.key=t,n),Lf(e,t,n))}function WD(e){Se.key=0,Se.keyEnd=0,Se.value=0,Se.valueEnd=0,Se.textEnd=e.length}function Lf(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function qD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function ZD(e,t,n){let r=D(),o=Gt();if(fe(r,o,t)){let i=$(),s=Yn();Jo(i,s,r,e,t,r[B],n,!1)}return ZD}function sa(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ka(e,n,i[s],s,r)}function jf(e,t,n){return Bf(e,t,n,!1),jf}function YD(e,t){return Bf(e,t,null,!0),YD}function IA(e){$f(tI,Vf,e,!0)}function Vf(e,t){for(let n=GD(t);n>=0;n=kf(t,n))Po(e,zD(t),!0)}function Bf(e,t,n,r){let o=D(),i=$(),s=od(2);if(i.firstUpdatePass&&Uf(i,e,s,r),t!==Ae&&fe(o,s,t)){let a=i.data[Ct()];zf(i,a,o,o[B],e,o[s+1]=rI(t,n),r,s)}}function $f(e,t,n,r){let o=$(),i=od(2);o.firstUpdatePass&&Uf(o,null,i,r);let s=D();if(n!==Ae&&fe(s,i,n)){let a=o.data[Ct()];if(Gf(a,r)&&!Hf(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=cs(u,n||"")),sa(o,a,s,n,r)}else nI(o,a,s,s[B],s[i+1],s[i+1]=eI(e,t,n),r,i)}}function Hf(e,t){return t>=e.expandoStartIndex}function Uf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ct()],s=Hf(e,n);Gf(i,r)&&t===null&&!s&&(t=!1),t=QD(o,i,t,r),$D(o,i,t,n,s,r)}}function QD(e,t,n,r){let o=id(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=os(null,e,t,n,r),n=zn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=os(o,e,t,n,r),i===null){let u=KD(e,t,r);u!==void 0&&Array.isArray(u)&&(u=os(null,e,t,u[1],r),u=zn(u,t.attrs,r),JD(e,t,r,u))}else i=XD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function KD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(vn(r)!==0)return e[Ht(r)]}function JD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ht(o)]=r}function XD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=zn(r,s,n)}return zn(r,t.attrs,n)}function os(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=zn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function zn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Po(e,s,n?!0:t[++i]))}return e===void 0?null:e}function eI(e,t,n){if(n==null||n==="")return se;let r=[],o=Jn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function tI(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Po(e,r,n)}function nI(e,t,n,r,o,i,s,a){o===Ae&&(o=se);let u=0,c=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let p=u<o.length?o[u+1]:void 0,f=c<i.length?i[c+1]:void 0,h=null,m;l===d?(u+=2,c+=2,p!==f&&(h=d,m=f)):d===null||l!==null&&l<d?(u+=2,h=l):(c+=2,h=d,m=f),h!==null&&zf(e,t,n,r,h,m,s,a),l=u<o.length?o[u]:null,d=c<i.length?i[c]:null}}function zf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let u=e.data,c=u[a+1],l=BD(c)?il(u,t,n,o,vn(c),s):void 0;if(!So(l)){So(i)||jD(c)&&(i=il(u,null,n,o,a,s));let d=Yl(Ct(),n);qy(r,s,d,o,i)}}function il(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,p=n[o+1];p===Ae&&(p=d?se:void 0);let f=d?Yi(p,r):l===r?p:void 0;if(c&&!So(f)&&(f=Yi(u,r)),So(f)&&(a=f,s))return a;let h=e[o+1];o=s?Ht(h):vn(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Yi(u,r))}return a}function So(e){return e!==void 0}function rI(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=re(Jn(e)))),e}function Gf(e,t){return(e.flags&(t?8:16))!==0}function wA(e,t,n){let r=D(),o=tu(r,e,t,n);$f(Po,Vf,o,!0)}function EA(){return D()[ae][Y]}var aa=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function is(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function oI(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let u=t.length-1;for(;i<=s&&i<=u;){let c=e.at(i),l=t[i],d=is(i,c,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let p=e.at(s),f=t[u],h=is(s,p,u,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,u--;continue}let m=n(i,c),N=n(s,p),_=n(i,l);if(Object.is(_,N)){let R=n(u,f);Object.is(R,m)?(e.swap(i,s),e.updateValue(s,f),u--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new To,o??=al(e,i,s,n),ua(e,r,i,_))e.updateValue(i,l),i++,s++;else if(o.has(_))r.set(m,e.detach(i)),s--;else{let R=e.create(i,t[i]);e.attach(i,R),i++,s++}}for(;i<=u;)sl(e,r,n,i,t[i]),i++}else if(t!=null){let u=t[Symbol.iterator](),c=u.next();for(;!c.done&&i<=s;){let l=e.at(i),d=c.value,p=is(i,l,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,c=u.next();else{r??=new To,o??=al(e,i,s,n);let f=n(i,d);if(ua(e,r,i,f))e.updateValue(i,d),i++,s++,c=u.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,c=u.next();else{let h=n(i,l);r.set(h,e.detach(i)),s--}}}for(;!c.done;)sl(e,r,n,e.length,c.value),c=u.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(u=>{e.destroy(u)})}function ua(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function sl(e,t,n,r,o){if(ua(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function al(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var To=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function CA(e,t){ot("NgControlFlow");let n=D(),r=Gt(),o=n[r]!==Ae?n[r]:-1,i=o!==-1?No(n,W+o):void 0,s=0;if(fe(n,r,e)){let a=M(null);try{if(i!==void 0&&gf(i,s),e!==-1){let u=W+e,c=No(n,u),l=fa(n[E],u),d=gn(c,l.tView.ssrId),p=er(n,l,t,{dehydratedView:d});tr(c,p,s,hn(l,d))}}finally{M(a)}}else if(i!==void 0){let a=hf(i,s);a!==void 0&&(a[Y]=t)}}var ca=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-J}};function bA(e){return e}function _A(e,t){return t}var la=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function MA(e,t,n,r,o,i,s,a,u,c,l,d,p){ot("NgControlFlow");let f=D(),h=$(),m=u!==void 0,N=D(),_=a?s.bind(N[ae][Y]):s,R=new la(m,_);N[W+e]=R,xo(f,h,e+1,t,n,r,o,vt(h.consts,i)),m&&xo(f,h,e+2,u,c,l,d,vt(h.consts,p))}var da=class extends aa{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-J}at(t){return this.getLView(t)[Y].$implicit}attach(t,n){let r=n[dn];this.needsIndexUpdate||=t!==this.length,tr(this.lContainer,n,t,hn(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,iI(this.lContainer,t)}create(t,n){let r=gn(this.lContainer,this.templateTNode.tView.ssrId),o=er(this.hostLView,this.templateTNode,new ca(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Zo(t[E],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[Y].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[Y].$index=t}getLView(t){return sI(this.lContainer,t)}};function xA(e){let t=M(null),n=Ct();try{let r=D(),o=r[E],i=r[n],s=n+1,a=No(r,s);if(i.liveCollection===void 0){let c=fa(o,s);i.liveCollection=new da(a,r,c)}else i.liveCollection.reset();let u=i.liveCollection;if(oI(u,e,i.trackByFn),u.updateIndexes(),i.hasEmptyBlock){let c=Gt(),l=u.length===0;if(fe(r,c,l)){let d=n+2,p=No(r,d);if(l){let f=fa(o,d),h=gn(p,f.tView.ssrId),m=er(r,f,void 0,{dehydratedView:h});tr(p,m,0,hn(f,h))}else gf(p,0)}}}finally{M(t)}}function No(e,t){return e[t]}function iI(e,t){return Un(e,t)}function sI(e,t){return hf(e,t)}function fa(e,t){return Na(e,t)}function aI(e,t,n,r,o,i){let s=t.consts,a=vt(s,o),u=wn(t,e,2,r,a);return Qa(t,n,u,vt(s,i)),u.attrs!==null&&wo(u,u.attrs,!1),u.mergedAttrs!==null&&wo(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Wf(e,t,n,r){let o=D(),i=$(),s=W+e,a=o[B],u=i.firstCreatePass?aI(s,i,o,t,n,r):i.data[s],c=cI(i,o,u,a,t,e);o[s]=c;let l=Vo(u);return Ut(u,!0),ef(a,c,u),!TD(u)&&zo()&&Yo(i,o,c,u),um()===0&&It(c,o),cm(),l&&(qa(i,o,u),Wa(i,u,o)),r!==null&&Za(o,u),Wf}function qf(){let e=te();Oa()?Fa():(e=e.parent,Ut(e,!1));let t=e;dm(t)&&fm(),lm();let n=$();return n.firstCreatePass&&(Wo(n,e),Ta(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&_m(t)&&sa(n,t,D(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Mm(t)&&sa(n,t,D(),t.stylesWithoutHost,!1),qf}function uI(e,t,n,r){return Wf(e,t,n,r),qf(),uI}var cI=(e,t,n,r,o,i)=>(Go(!0),zd(r,o,wm()));function lI(e,t,n,r,o){let i=t.consts,s=vt(i,r),a=wn(t,e,8,"ng-container",s);s!==null&&wo(a,s,!0);let u=vt(i,o);return Qa(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function Zf(e,t,n){let r=D(),o=$(),i=e+W,s=o.firstCreatePass?lI(i,o,r,t,n):o.data[i];Ut(s,!0);let a=fI(o,r,s,e);return r[i]=a,zo()&&Yo(o,r,a,s),It(a,r),Vo(s)&&(qa(o,r,s),Wa(o,s,r)),n!=null&&Za(r,s),Zf}function Yf(){let e=te(),t=$();return Oa()?Fa():(e=e.parent,Ut(e,!1)),t.firstCreatePass&&(Wo(t,e),Ta(e)&&t.queries.elementEnd(e)),Yf}function dI(e,t,n){return Zf(e,t,n),Yf(),dI}var fI=(e,t,n,r)=>(Go(!0),Fy(t[B],""));function SA(){return D()}function pI(e,t,n){let r=D(),o=Gt();if(fe(r,o,t)){let i=$(),s=Yn();Jo(i,s,r,e,t,r[B],n,!0)}return pI}function hI(e,t,n){let r=D(),o=Gt();if(fe(r,o,t)){let i=$(),s=Yn(),a=id(i.data),u=Iv(a,s,r);Jo(i,s,r,e,t,u,n,!0)}return hI}var At=void 0;function gI(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var mI=["en",[["a","p"],["AM","PM"],At],[["AM","PM"],At,At],[["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"]],At,[["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"]],At,[["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}",At,"{1} 'at' {0}",At],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",gI],ss={};function pe(e){let t=yI(e),n=ul(t);if(n)return n;let r=t.split("-")[0];if(n=ul(r),n)return n;if(r==="en")return mI;throw new S(701,!1)}function ul(e){return e in ss||(ss[e]=pt.ng&&pt.ng.common&&pt.ng.common.locales&&pt.ng.common.locales[e]),ss[e]}var U=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}(U||{});function yI(e){return e.toLowerCase().replace(/_/g,"-")}var Ao="en-US";var vI=Ao;function DI(e){typeof e=="string"&&(vI=e.toLowerCase().replace(/_/g,"-"))}var II=(e,t,n)=>{};function wI(e,t,n,r){let o=D(),i=$(),s=te();return CI(i,o,o[B],s,e,t,r),wI}function EI(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[ao],u=o[i+2];return a.length>u?a[u]:null}typeof s=="string"&&(i+=2)}return null}function CI(e,t,n,r,o,i,s){let a=Vo(r),c=e.firstCreatePass&&ff(e),l=t[Y],d=df(t),p=!0;if(r.type&3||s){let m=De(r,t),N=s?s(m):m,_=d.length,R=s?ne=>s(He(ne[r.index])):r.index,me=null;if(!s&&a&&(me=EI(e,t,o,r.index)),me!==null){let ne=me.__ngLastListenerFn__||me;ne.__ngNextListenerFn__=i,me.__ngLastListenerFn__=i,p=!1}else{i=ll(r,t,l,i),II(m,o,i);let ne=n.listen(N,o,i);d.push(i,ne),c&&c.push(o,R,_,_+1)}}else i=ll(r,t,l,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let m=h.length;if(m)for(let N=0;N<m;N+=2){let _=h[N],R=h[N+1],ze=t[_][R].subscribe(i),ce=d.length;d.push(i,ze),c&&c.push(o,r.index,ce,-(ce+1))}}}function cl(e,t,n,r){let o=M(null);try{return Ve(6,t,n),n(r)!==!1}catch(i){return pf(e,i),!1}finally{Ve(7,t,n),M(o)}}function ll(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Et(e.index,t):t;Xa(s,5);let a=cl(t,n,r,i),u=o.__ngNextListenerFn__;for(;u;)a=cl(t,n,u,i)&&a,u=u.__ngNextListenerFn__;return a}}function TA(e=1){return Im(e)}function bI(e,t){let n=null,r=Tg(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Ol(e,i,!0):Og(r,i))return o}return n}function NA(e){let t=D()[ae][ue];if(!t.projection){let n=e?e.length:1,r=t.projection=Ig(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?bI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function AA(e,t=0,n,r,o,i){let s=D(),a=$(),u=r?e+1:null;u!==null&&xo(s,a,u,r,o,i,null,n);let c=wn(a,W+e,16,null,n||null);c.projection===null&&(c.projection=t),Fa();let d=!s[dn]||td();s[ae][ue].projection[c.projection]===null&&u!==null?_I(s,a,u):d&&(c.flags&32)!==32&&Gy(a,s,c)}function _I(e,t,n){let r=W+n,o=t.data[r],i=e[r],s=gn(i,o.tView.ssrId),a=er(e,o,void 0,{dehydratedView:s});tr(i,a,0,hn(o,s))}function MI(e,t,n){return Qf(e,"",t,"",n),MI}function Qf(e,t,n,r,o){let i=D(),s=tu(i,t,n,r);if(s!==Ae){let a=$(),u=Yn();Jo(a,u,i,e,s,i[B],o,!1)}return Qf}function OA(e,t,n,r){fD(e,t,n,r)}function FA(e,t,n){dD(e,t,n)}function RA(e){let t=D(),n=$(),r=sd();Ra(r+1);let o=eu(n,r);if(e.dirty&&om(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=gD(t,r);e.reset(i,Ym),e.notifyOnChanges()}return!0}return!1}function PA(){return lD(D(),sd())}function xI(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function kA(e){let t=hm();return $o(t,W+e)}function LA(e,t=""){let n=D(),r=$(),o=e+W,i=r.firstCreatePass?wn(r,o,1,t,null):r.data[o],s=SI(r,n,i,t,e);n[o]=s,zo()&&Yo(r,n,s,i),Ut(i,!1)}var SI=(e,t,n,r,o)=>(Go(!0),Ay(t[B],r));function TI(e){return Kf("",e,""),TI}function Kf(e,t,n){let r=D(),o=tu(r,e,t,n);return o!==Ae&&wv(r,Ct(),o),Kf}function NI(e,t,n){let r=$();if(r.firstCreatePass){let o=Qe(e);pa(n,r.data,r.blueprint,o,!0),pa(t,r.data,r.blueprint,o,!1)}}function pa(e,t,n,r,o){if(e=Z(e),Array.isArray(e))for(let i=0;i<e.length;i++)pa(e[i],t,n,r,o);else{let i=$(),s=D(),a=te(),u=ln(e)?e:Z(e.provide),c=Hl(e),l=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(ln(e)||!e.multi){let f=new jt(c,o,V),h=us(u,t,o?l:l+p,d);h===-1?(Cs(ho(a,s),i,u),as(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=us(u,t,l+p,d),h=us(u,t,l,l+p),m=f>=0&&n[f],N=h>=0&&n[h];if(o&&!N||!o&&!m){Cs(ho(a,s),i,u);let _=FI(o?OI:AI,n.length,o,r,c);!o&&N&&(n[h].providerFactory=_),as(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(_),s.push(_)}else{let _=Jf(n[o?h:f],c,!o&&r);as(i,e,f>-1?f:h,_)}!o&&r&&N&&n[h].componentProviders++}}}function as(e,t,n,r){let o=ln(t),i=zg(t);if(o||i){let u=(i?Z(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function Jf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function us(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function AI(e,t,n,r){return ha(this.multi,[])}function OI(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Vt(n,n[E],this.providerFactory.index,r);i=a.slice(0,s),ha(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],ha(o,i);return i}function ha(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function FI(e,t,n,r,o){let i=new jt(e,n,V);return i.multi=[],i.index=t,i.componentProviders=0,Jf(i,o,r&&!n),i}function jA(e,t=[]){return n=>{n.providersResolver=(r,o)=>NI(r,o?o(e):e,t)}}var RI=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=jl(!1,n.type),o=r.length>0?MD([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=j({token:e,providedIn:"environment",factory:()=>new e(X(yt))})}}return e})();function VA(e){ot("NgStandalone"),e.getStandaloneInjector=t=>t.get(RI).getOrCreateStandaloneInjector(e)}function BA(e,t,n,r){return Xf(D(),zt(),e,t,n,r)}function $A(e,t,n,r,o){return ep(D(),zt(),e,t,n,r,o)}function HA(e,t,n,r,o,i){return tp(D(),zt(),e,t,n,r,o,i)}function UA(e,t,n,r,o,i,s){return PI(D(),zt(),e,t,n,r,o,i,s)}function ri(e,t){let n=e[t];return n===Ae?void 0:n}function Xf(e,t,n,r,o,i){let s=t+n;return fe(e,s,o)?ni(e,s+1,i?r.call(i,o):r(o)):ri(e,s+1)}function ep(e,t,n,r,o,i,s){let a=t+n;return Mo(e,a,o,i)?ni(e,a+2,s?r.call(s,o,i):r(o,i)):ri(e,a+2)}function tp(e,t,n,r,o,i,s,a){let u=t+n;return xD(e,u,o,i,s)?ni(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):ri(e,u+3)}function PI(e,t,n,r,o,i,s,a,u){let c=t+n;return SD(e,c,o,i,s,a)?ni(e,c+4,u?r.call(u,o,i,s,a):r(o,i,s,a)):ri(e,c+4)}function zA(e,t){let n=$(),r,o=e+W;n.firstCreatePass?(r=kI(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=Ft(r.type,!0)),s,a=ie(V);try{let u=po(!1),c=i();return po(u),xI(n,D(),o,c),c}finally{ie(a)}}function kI(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function GA(e,t,n){let r=e+W,o=D(),i=$o(o,r);return nu(o,r)?Xf(o,zt(),t,i.transform,n,i):i.transform(n)}function WA(e,t,n,r){let o=e+W,i=D(),s=$o(i,o);return nu(i,o)?ep(i,zt(),t,s.transform,n,r,s):s.transform(n,r)}function qA(e,t,n,r,o){let i=e+W,s=D(),a=$o(s,i);return nu(s,i)?tp(s,zt(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function nu(e,t){return e[E].data[t].pure}function ZA(e,t){return ei(e,t)}var Oo=class{constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}},YA=new Oo("18.2.13");var QA=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var LI=new A("");function oi(e){return!!e&&typeof e.then=="function"}function ru(e){return!!e&&typeof e.subscribe=="function"}var jI=new A(""),np=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=b(jI,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=o();if(oi(i))n.push(i);else if(ru(i)){let s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),VI=new A("");function BI(){Dc(()=>{throw new S(600,!1)})}function $I(e){return e.isBoundToModule}var HI=10;function UI(e,t,n){try{let r=n();return oi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var ii=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=b(Wm),this.afterRenderManager=b(Ff),this.zonelessEnabled=b(Ef),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new K,this.afterTick=new K,this.componentTypes=[],this.components=[],this.isStable=b(Kn).hasPendingTasks.pipe(ke(n=>!n)),this._injector=b(yt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof Do;if(!this._injector.get(np).done){let p=!o&&jg(n),f=!1;throw new S(405,f)}let s;o?s=n:s=this._injector.get(yn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=$I(s)?void 0:this._injector.get(Xe),u=r||s.selector,c=s.create(Ke.NULL,[],u,a),l=c.location.nativeElement,d=c.injector.get(LI,null);return d?.registerApplication(l),c.onDestroy(()=>{this.detachView(c.hostView),eo(this.components,c),d?.unregisterApplication(l)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new S(101,!1);let n=M(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,M(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Io,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++<HI;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:o,notifyErrorHandler:i}of this._views)zI(o,i,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else n?.begin?.(),n?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Ho(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;eo(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(VI,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>eo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new S(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function eo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function zI(e,t,n,r){if(!n&&!Ho(e))return;vf(e,t,n&&!r?0:1)}var ga=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},KA=(()=>{class e{compileModuleSync(n){return new ta(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Pl(n),i=Hd(o.declarations).reduce((s,a)=>{let u=Ze(a);return u&&s.push(new $t(u)),s},[]);return new ga(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var GI=(()=>{class e{constructor(){this.zone=b(de),this.changeDetectionScheduler=b(mn),this.applicationRef=b(ii)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function WI({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new de(Ee(we({},qI()),{scheduleInRootZone:n})),[{provide:de,useFactory:e},{provide:io,multi:!0,useFactory:()=>{let r=b(GI,{optional:!0});return()=>r.initialize()}},{provide:io,multi:!0,useFactory:()=>{let r=b(ZI);return()=>{r.initialize()}}},t===!0?{provide:Cf,useValue:!0}:[],{provide:bf,useValue:n??bd}]}function qI(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var ZI=(()=>{class e{constructor(){this.subscription=new H,this.initialized=!1,this.zone=b(de),this.pendingTasks=b(Kn)}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(()=>{de.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{de.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var YI=(()=>{class e{constructor(){this.appRef=b(ii),this.taskService=b(Kn),this.ngZone=b(de),this.zonelessEnabled=b(Ef),this.disableScheduling=b(Cf,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new H,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(mo):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(b(bf,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,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 Ss||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;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 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Vc:_d;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(mo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let 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,Vc(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function QI(){return typeof $localize<"u"&&$localize.locale||Ao}var nr=new A("",{providedIn:"root",factory:()=>b(nr,T.Optional|T.SkipSelf)||QI()});var ma=new A("");function Zr(e){return!e.moduleRef}function KI(e){let t=Zr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(de);return n.run(()=>{Zr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Dt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Zr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(ma);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(ma);s.add(i),e.moduleRef.onDestroy(()=>{eo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return UI(r,n,()=>{let i=t.get(np);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(nr,Ao);if(DI(s||Ao),Zr(e)){let a=t.get(ii);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return JI(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function JI(e,t){let n=e.injector.get(ii);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new S(-403,!1);t.push(e)}var to=null;function XI(e=[],t){return Ke.create({name:t,providers:[{provide:$l,useValue:"platform"},{provide:ma,useValue:new Set([()=>to=null])},...e]})}function ew(e=[]){if(to)return to;let t=XI(e);return to=t,BI(),tw(t),t}function tw(e){e.get(ty,null)?.forEach(n=>n())}function JA(){return!1}var si=(()=>{class e{static{this.__NG_ELEMENT_ID__=nw}}return e})();function nw(e){return rw(te(),D(),(e&16)===16)}function rw(e,t,n){if(jo(e)&&!n){let r=Et(e.index,t);return new Bt(r,r)}else if(e.type&175){let r=t[ae];return new Bt(r,t)}return null}var ya=class{constructor(){}supports(t){return t instanceof Map||Of(t)}create(){return new va}},va=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Of(t)))throw new S(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;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){let 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)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Da(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;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;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){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?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))}},Da=class{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function dl(){return new ou([new ya])}var ou=(()=>{class e{static{this.\u0275prov=j({token:e,providedIn:"root",factory:dl})}constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||dl()),deps:[[e,new yg,new mg]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new S(901,!1)}}return e})();function XA(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=ew(r),i=[WI({}),{provide:mn,useExisting:YI},...n||[]],s=new _o({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return KI({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function ow(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function iw(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function eO(e,t){ot("NgSignals");let n=mc(e);return t?.equal&&(n[Me].equal=t.equal),n}function iu(e){let t=M(null);try{return e()}finally{M(t)}}var sw=new A("",{providedIn:"root",factory:()=>b(aw)}),aw=(()=>{class e{static{this.\u0275prov=j({token:e,providedIn:"root",factory:()=>new Ia})}}return e})(),Ia=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=b(Kn),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},wa=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=Ec(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Dt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function uw(e,t){ot("NgSignals"),!t?.injector&&xa(uw);let n=t?.injector??b(Ke),r=t?.manualCleanup!==!0?n.get(Qn):null,o=new wa(n.get(sw),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(si,null,{optional:!0});return!i||!(i._lView[w]&8)?o.watcher.notify():(i._lView[Qr]??=[]).push(o.watcher.notify),o}function tO(e,t){let n=Ze(e),r=t.elementInjector||ko();return new $t(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function nO(e){let t=Ze(e);if(!t)return null;let n=new $t(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}}}var fp=null;function su(){return fp}function CO(e){fp??=e}var rp=class{};var vu=new A(""),Du=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=j({token:e,factory:()=>b(lw),providedIn:"platform"})}}return e})(),bO=new A(""),lw=(()=>{class e extends Du{constructor(){super(),this._doc=b(vu),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return su().getBaseHref(this._doc)}onPopState(n){let r=su().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=su().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=j({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function Iu(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function op(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function st(e){return e&&e[0]!=="?"?"?"+e:e}var vi=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=j({token:e,factory:()=>b(dw),providedIn:"root"})}}return e})(),pp=new A(""),dw=(()=>{class e extends vi{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??b(vu).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Iu(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+st(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+st(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+st(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(X(Du),X(pp,8))}}static{this.\u0275prov=j({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),_O=(()=>{class e extends vi{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=Iu(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+st(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+st(i));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(X(Du),X(pp,8))}}static{this.\u0275prov=j({token:e,factory:e.\u0275fac})}}return e})(),fw=(()=>{class e{constructor(n){this._subject=new Te,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=gw(op(ip(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+st(r))}normalize(n){return e.stripTrailingSlash(hw(this._basePath,ip(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+st(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+st(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static{this.normalizeQueryParams=st}static{this.joinWithSlash=Iu}static{this.stripTrailingSlash=op}static{this.\u0275fac=function(r){return new(r||e)(X(vi))}}static{this.\u0275prov=j({token:e,factory:()=>pw(),providedIn:"root"})}}return e})();function pw(){return new fw(X(vi))}function hw(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function ip(e){return e.replace(/\/index.html$/,"")}function gw(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var hp=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(hp||{});var oe=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(oe||{}),k=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(k||{}),he=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(he||{}),ge={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function mw(e){return pe(e)[U.LocaleId]}function yw(e,t,n){let r=pe(e),o=[r[U.DayPeriodsFormat],r[U.DayPeriodsStandalone]],i=Ie(o,t);return Ie(i,n)}function vw(e,t,n){let r=pe(e),o=[r[U.DaysFormat],r[U.DaysStandalone]],i=Ie(o,t);return Ie(i,n)}function Dw(e,t,n){let r=pe(e),o=[r[U.MonthsFormat],r[U.MonthsStandalone]],i=Ie(o,t);return Ie(i,n)}function Iw(e,t){let r=pe(e)[U.Eras];return Ie(r,t)}function ai(e,t){let n=pe(e);return Ie(n[U.DateFormat],t)}function ui(e,t){let n=pe(e);return Ie(n[U.TimeFormat],t)}function ci(e,t){let r=pe(e)[U.DateTimeFormat];return Ie(r,t)}function at(e,t){let n=pe(e),r=n[U.NumberSymbols][t];if(typeof r>"u"){if(t===ge.CurrencyDecimal)return n[U.NumberSymbols][ge.Decimal];if(t===ge.CurrencyGroup)return n[U.NumberSymbols][ge.Group]}return r}function ww(e,t){return pe(e)[U.NumberFormats][t]}function gp(e){if(!e[U.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[U.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ew(e){let t=pe(e);return gp(t),(t[U.ExtraData][2]||[]).map(r=>typeof r=="string"?au(r):[au(r[0]),au(r[1])])}function Cw(e,t,n){let r=pe(e);gp(r);let o=[r[U.ExtraData][0],r[U.ExtraData][1]],i=Ie(o,t)||[];return Ie(i,n)||[]}function Ie(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function au(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var bw=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,li={},_w=/((?:[^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]*)/,ut=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(ut||{}),F=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(F||{}),O=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(O||{});function Mw(e,t,n,r){let o=Pw(e);t=it(n,t)||t;let s=[],a;for(;t;)if(a=_w.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let u=o.getTimezoneOffset();r&&(u=yp(r,u),o=Rw(o,r,!0));let c="";return s.forEach(l=>{let d=Ow(l);c+=d?d(o,n,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function gi(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function it(e,t){let n=mw(e);if(li[n]??={},li[n][t])return li[n][t];let r="";switch(t){case"shortDate":r=ai(e,he.Short);break;case"mediumDate":r=ai(e,he.Medium);break;case"longDate":r=ai(e,he.Long);break;case"fullDate":r=ai(e,he.Full);break;case"shortTime":r=ui(e,he.Short);break;case"mediumTime":r=ui(e,he.Medium);break;case"longTime":r=ui(e,he.Long);break;case"fullTime":r=ui(e,he.Full);break;case"short":let o=it(e,"shortTime"),i=it(e,"shortDate");r=di(ci(e,he.Short),[o,i]);break;case"medium":let s=it(e,"mediumTime"),a=it(e,"mediumDate");r=di(ci(e,he.Medium),[s,a]);break;case"long":let u=it(e,"longTime"),c=it(e,"longDate");r=di(ci(e,he.Long),[u,c]);break;case"full":let l=it(e,"fullTime"),d=it(e,"fullDate");r=di(ci(e,he.Full),[l,d]);break}return r&&(li[n][t]=r),r}function di(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Oe(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function xw(e,t){return Oe(e,3).substring(0,t)}function z(e,t,n=0,r=!1,o=!1){return function(i,s){let a=Sw(e,i);if((n>0||a>-n)&&(a+=n),e===F.Hours)a===0&&n===-12&&(a=12);else if(e===F.FractionalSeconds)return xw(a,t);let u=at(s,ge.MinusSign);return Oe(a,t,u,r,o)}}function Sw(e,t){switch(e){case F.FullYear:return t.getFullYear();case F.Month:return t.getMonth();case F.Date:return t.getDate();case F.Hours:return t.getHours();case F.Minutes:return t.getMinutes();case F.Seconds:return t.getSeconds();case F.FractionalSeconds:return t.getMilliseconds();case F.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function L(e,t,n=oe.Format,r=!1){return function(o,i){return Tw(o,i,e,t,n,r)}}function Tw(e,t,n,r,o,i){switch(n){case O.Months:return Dw(t,o,r)[e.getMonth()];case O.Days:return vw(t,o,r)[e.getDay()];case O.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let c=Ew(t),l=Cw(t,o,r),d=c.findIndex(p=>{if(Array.isArray(p)){let[f,h]=p,m=s>=f.hours&&a>=f.minutes,N=s<h.hours||s===h.hours&&a<h.minutes;if(f.hours<h.hours){if(m&&N)return!0}else if(m||N)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return yw(t,o,r)[s<12?0:1];case O.Eras:return Iw(t,r)[e.getFullYear()<=0?0:1];default:let u=n;throw new Error(`unexpected translation type ${u}`)}}function fi(e){return function(t,n,r){let o=-1*r,i=at(n,ge.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case ut.Short:return(o>=0?"+":"")+Oe(s,2,i)+Oe(Math.abs(o%60),2,i);case ut.ShortGMT:return"GMT"+(o>=0?"+":"")+Oe(s,1,i);case ut.Long:return"GMT"+(o>=0?"+":"")+Oe(s,2,i)+":"+Oe(Math.abs(o%60),2,i);case ut.Extended:return r===0?"Z":(o>=0?"+":"")+Oe(s,2,i)+":"+Oe(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var Nw=0,hi=4;function Aw(e){let t=gi(e,Nw,1).getDay();return gi(e,0,1+(t<=hi?hi:hi+7)-t)}function mp(e){let t=e.getDay(),n=t===0?-3:hi-t;return gi(e.getFullYear(),e.getMonth(),e.getDate()+n)}function uu(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=mp(n),s=Aw(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Oe(o,e,at(r,ge.MinusSign))}}function pi(e,t=!1){return function(n,r){let i=mp(n).getFullYear();return Oe(i,e,at(r,ge.MinusSign),t)}}var cu={};function Ow(e){if(cu[e])return cu[e];let t;switch(e){case"G":case"GG":case"GGG":t=L(O.Eras,k.Abbreviated);break;case"GGGG":t=L(O.Eras,k.Wide);break;case"GGGGG":t=L(O.Eras,k.Narrow);break;case"y":t=z(F.FullYear,1,0,!1,!0);break;case"yy":t=z(F.FullYear,2,0,!0,!0);break;case"yyy":t=z(F.FullYear,3,0,!1,!0);break;case"yyyy":t=z(F.FullYear,4,0,!1,!0);break;case"Y":t=pi(1);break;case"YY":t=pi(2,!0);break;case"YYY":t=pi(3);break;case"YYYY":t=pi(4);break;case"M":case"L":t=z(F.Month,1,1);break;case"MM":case"LL":t=z(F.Month,2,1);break;case"MMM":t=L(O.Months,k.Abbreviated);break;case"MMMM":t=L(O.Months,k.Wide);break;case"MMMMM":t=L(O.Months,k.Narrow);break;case"LLL":t=L(O.Months,k.Abbreviated,oe.Standalone);break;case"LLLL":t=L(O.Months,k.Wide,oe.Standalone);break;case"LLLLL":t=L(O.Months,k.Narrow,oe.Standalone);break;case"w":t=uu(1);break;case"ww":t=uu(2);break;case"W":t=uu(1,!0);break;case"d":t=z(F.Date,1);break;case"dd":t=z(F.Date,2);break;case"c":case"cc":t=z(F.Day,1);break;case"ccc":t=L(O.Days,k.Abbreviated,oe.Standalone);break;case"cccc":t=L(O.Days,k.Wide,oe.Standalone);break;case"ccccc":t=L(O.Days,k.Narrow,oe.Standalone);break;case"cccccc":t=L(O.Days,k.Short,oe.Standalone);break;case"E":case"EE":case"EEE":t=L(O.Days,k.Abbreviated);break;case"EEEE":t=L(O.Days,k.Wide);break;case"EEEEE":t=L(O.Days,k.Narrow);break;case"EEEEEE":t=L(O.Days,k.Short);break;case"a":case"aa":case"aaa":t=L(O.DayPeriods,k.Abbreviated);break;case"aaaa":t=L(O.DayPeriods,k.Wide);break;case"aaaaa":t=L(O.DayPeriods,k.Narrow);break;case"b":case"bb":case"bbb":t=L(O.DayPeriods,k.Abbreviated,oe.Standalone,!0);break;case"bbbb":t=L(O.DayPeriods,k.Wide,oe.Standalone,!0);break;case"bbbbb":t=L(O.DayPeriods,k.Narrow,oe.Standalone,!0);break;case"B":case"BB":case"BBB":t=L(O.DayPeriods,k.Abbreviated,oe.Format,!0);break;case"BBBB":t=L(O.DayPeriods,k.Wide,oe.Format,!0);break;case"BBBBB":t=L(O.DayPeriods,k.Narrow,oe.Format,!0);break;case"h":t=z(F.Hours,1,-12);break;case"hh":t=z(F.Hours,2,-12);break;case"H":t=z(F.Hours,1);break;case"HH":t=z(F.Hours,2);break;case"m":t=z(F.Minutes,1);break;case"mm":t=z(F.Minutes,2);break;case"s":t=z(F.Seconds,1);break;case"ss":t=z(F.Seconds,2);break;case"S":t=z(F.FractionalSeconds,1);break;case"SS":t=z(F.FractionalSeconds,2);break;case"SSS":t=z(F.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=fi(ut.Short);break;case"ZZZZZ":t=fi(ut.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=fi(ut.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=fi(ut.Long);break;default:return null}return cu[e]=t,t}function yp(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Fw(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Rw(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=yp(t,o);return Fw(e,r*(i-o))}function Pw(e){if(sp(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return gi(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(bw))return kw(r)}let t=new Date(e);if(!sp(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function kw(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,u,c),t}function sp(e){return e instanceof Date&&!isNaN(e.valueOf())}var Lw=/^(\d+)?\.((\d+)(-(\d+))?)?$/,ap=22,mi=".",rr="0",jw=";",Vw=",",lu="#";function Bw(e,t,n,r,o,i,s=!1){let a="",u=!1;if(!isFinite(e))a=at(n,ge.Infinity);else{let c=zw(e);s&&(c=Uw(c));let l=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let R=i.match(Lw);if(R===null)throw new Error(`${i} is not a valid digit info`);let me=R[1],ne=R[3],ze=R[5];me!=null&&(l=du(me)),ne!=null&&(d=du(ne)),ze!=null?p=du(ze):ne!=null&&d>p&&(p=d)}Gw(c,d,p);let f=c.digits,h=c.integerLen,m=c.exponent,N=[];for(u=f.every(R=>!R);h<l;h++)f.unshift(0);for(;h<0;h++)f.unshift(0);h>0?N=f.splice(h,f.length):(N=f,f=[0]);let _=[];for(f.length>=t.lgSize&&_.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)_.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&_.unshift(f.join("")),a=_.join(at(n,r)),N.length&&(a+=at(n,o)+N.join("")),m&&(a+=at(n,ge.Exponential)+"+"+m)}return e<0&&!u?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function $w(e,t,n){let r=ww(t,hp.Decimal),o=Hw(r,at(t,ge.MinusSign));return Bw(e,o,t,ge.Group,ge.Decimal,n)}function Hw(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(jw),o=r[0],i=r[1],s=o.indexOf(mi)!==-1?o.split(mi):[o.substring(0,o.lastIndexOf(rr)+1),o.substring(o.lastIndexOf(rr)+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf(lu));for(let l=0;l<u.length;l++){let d=u.charAt(l);d===rr?n.minFrac=n.maxFrac=l+1:d===lu?n.maxFrac=l+1:n.posSuf+=d}let c=a.split(Vw);if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(lu);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function Uw(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function zw(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(mi))>-1&&(t=t.replace(mi,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===rr;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===rr;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>ap&&(r=r.splice(0,ap-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function Gw(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let u=i!==0,c=t+e.integerLen,l=r.reduceRight(function(d,p,f,h){return p=p+d,h[f]=p<10?p:p-10,u&&(h[f]===0&&f>=c?h.pop():u=!1),p>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function du(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function MO(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var fu=/\s+/,up=[],xO=(()=>{class e{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=up,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(fu):up}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(fu):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(fu).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(r){return new(r||e)(V(bt),V(ti))}}static{this.\u0275dir=et({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}}return e})(),SO=(()=>{class e{constructor(n){this._viewContainerRef=n,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(n){return n.ngComponentOutletNgModule!==void 0||n.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(n){return n.ngComponentOutlet!==void 0||n.ngComponentOutletContent!==void 0||n.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(n)}ngOnChanges(n){if(this._needToReCreateComponentInstance(n)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let r=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(n)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=Af(this.ngComponentOutletNgModule,cp(r)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(cp(r)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:r,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let n of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(n,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(n){for(let[r,o]of this._inputsUsed)o?(n.setInput(r,this.ngComponentOutletInputs[r]),this._inputsUsed.set(r,!1)):(n.setInput(r,void 0),this._inputsUsed.delete(r))}static{this.\u0275fac=function(r){return new(r||e)(V(rt))}}static{this.\u0275dir=et({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[Bo]})}}return e})();function cp(e){return e.get(Xe).injector}var TO=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new pu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){lp("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){lp("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static{this.\u0275fac=function(r){return new(r||e)(V(rt),V(wt))}}static{this.\u0275dir=et({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return e})(),pu=class{constructor(){this.$implicit=null,this.ngIf=null}};function lp(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${re(t)}'.`)}var yi=class{constructor(t,n){this._viewContainerRef=t,this._templateRef=n,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}},vp=(()=>{class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let r=n===this._ngSwitch;return this._lastCasesMatched||=r,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),r}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let r of this._defaultViews)r.enforceState(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=et({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}}return e})(),NO=(()=>{class e{constructor(n,r,o){this.ngSwitch=o,o._addCase(),this._view=new yi(n,r)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static{this.\u0275fac=function(r){return new(r||e)(V(rt),V(wt),V(vp,9))}}static{this.\u0275dir=et({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}}return e})(),AO=(()=>{class e{constructor(n,r,o){o._addDefault(new yi(n,r))}static{this.\u0275fac=function(r){return new(r||e)(V(rt),V(wt),V(vp,9))}}static{this.\u0275dir=et({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0})}}return e})();var OO=(()=>{class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){let[o,i]=n.split("."),s=o.indexOf("-")===-1?void 0:Hn.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static{this.\u0275fac=function(r){return new(r||e)(V(bt),V(ou),V(ti))}}static{this.\u0275dir=et({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}}return e})(),FO=(()=>{class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static{this.\u0275fac=function(r){return new(r||e)(V(rt))}}static{this.\u0275dir=et({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Bo]})}}return e})();function Di(e,t){return new S(2100,!1)}var hu=class{createSubscription(t,n){return iu(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){iu(()=>t.unsubscribe())}},gu=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},Ww=new gu,qw=new hu,RO=(()=>{class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r))}_selectStrategy(n){if(oi(n))return Ww;if(ru(n))return qw;throw Di(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static{this.\u0275fac=function(r){return new(r||e)(V(si,16))}}static{this.\u0275pipe=Zn({name:"async",type:e,pure:!1,standalone:!0})}}return e})();var Zw="mediumDate",Yw=new A(""),Qw=new A(""),PO=(()=>{class e{constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??Zw,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Mw(n,s,i||this.locale,a)}catch(s){throw Di(e,s.message)}}static{this.\u0275fac=function(r){return new(r||e)(V(nr,16),V(Yw,24),V(Qw,24))}}static{this.\u0275pipe=Zn({name:"date",type:e,pure:!0,standalone:!0})}}return e})();var kO=(()=>{class e{constructor(n){this._locale=n}transform(n,r,o){if(!Kw(n))return null;o||=this._locale;try{let i=Jw(n);return $w(i,o,r)}catch(i){throw Di(e,i.message)}}static{this.\u0275fac=function(r){return new(r||e)(V(nr,16))}}static{this.\u0275pipe=Zn({name:"number",type:e,pure:!0,standalone:!0})}}return e})();function Kw(e){return!(e==null||e===""||e!==e)}function Jw(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var LO=(()=>{class e{transform(n,r,o){if(n==null)return null;if(!this.supports(n))throw Di(e,n);return n.slice(r,o)}supports(n){return typeof n=="string"||Array.isArray(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=Zn({name:"slice",type:e,pure:!1,standalone:!0})}}return e})();var jO=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=Fl({type:e})}static{this.\u0275inj=Dl({})}}return e})(),Xw="browser",eE="server";function tE(e){return e===Xw}function VO(e){return e===eE}var BO=(()=>{class e{static{this.\u0275prov=j({token:e,providedIn:"root",factory:()=>tE(b(Ba))?new mu(b(vu),window):new yu})}}return e})(),mu=class{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t){this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){let n=nE(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){this.window.history.scrollRestoration=t}scrollToElement(t){let n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}};function nE(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var yu=class{setOffset(t){}getScrollPosition(){return[0,0]}scrollToPosition(t){}scrollToAnchor(t){}setHistoryScrollRestoration(t){}},dp=class{};var Fe=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Fe||{}),UO="*";function zO(e,t){return{type:Fe.Trigger,name:e,definitions:t,options:{}}}function GO(e,t=null){return{type:Fe.Animate,styles:t,timings:e}}function WO(e,t=null){return{type:Fe.Group,steps:e,options:t}}function qO(e,t=null){return{type:Fe.Sequence,steps:e,options:t}}function ZO(e){return{type:Fe.Style,styles:e,offset:null}}function YO(e,t,n){return{type:Fe.State,name:e,styles:t,options:n}}function QO(e){return{type:Fe.Keyframes,steps:e}}function KO(e,t,n=null){return{type:Fe.Transition,expr:e,animation:t,options:n}}function JO(e=null){return{type:Fe.AnimateChild,options:e}}function XO(e,t,n=null){return{type:Fe.Query,selector:e,animation:t,options:n}}var Dp=class{constructor(t=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Ip=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},eF="!";export{we as a,Ee as b,rE as c,oE as d,iE as e,sE as f,Np as g,bu as h,aE as i,uE as j,cE as k,H as l,Rp as m,C as n,Ri as o,bn as p,K as q,_n as r,xn as s,nh as t,ye as u,rh as v,oh as w,We as x,yE as y,En as z,Cn as A,Pe as B,Oi as C,ih as D,sh as E,Tt as F,Zu as G,Yu as H,ke as I,Kp as J,be as K,Nn as L,dt as M,uh as N,ch as O,ji as P,Nt as Q,mh as R,yh as S,vh as T,_e as U,Ih as V,wh as W,Ch as X,bh as Y,Fi as Z,_h as _,xh as $,Sh as aa,An as ba,tn as ca,Vi as da,Th as ea,Nh as fa,Fh as ga,Rh as ha,$i as ia,Hi as ja,Ph as ka,kh as la,Lh as ma,zi as na,ic as oa,jh as pa,Vh as qa,Bh as ra,sc as sa,zu as ta,$h as ua,S as va,yl as wa,j as xa,Dl as ya,zN as za,A as Aa,T as Ba,X as Ca,b as Da,mg as Ea,yg as Fa,jn as Ga,GN as Ha,Fl as Ia,et as Ja,Zn as Ka,WN as La,Bg as Ma,$l as Na,yt as Oa,qN as Pa,xa as Qa,Bo as Ra,ZN as Sa,YN as Ta,QN as Ua,km as Va,Ke as Wa,Qn as Xa,Kn as Ya,Te as Za,de as _a,Dt as $a,KN as ab,JN as bb,bt as cb,Ns as db,XN as eb,eA as fb,ty as gb,Ba as hb,tA as ib,nA as jb,Jn as kb,Rd as lb,rA as mb,oA as nb,iA as ob,sA as pb,aA as qb,Pd as rb,by as sb,Ha as tb,uA as ub,cA as vb,lA as wb,dA as xb,Hn as yb,fA as zb,V as Ab,pA as Bb,wt as Cb,mn as Db,yn as Eb,Io as Fb,ti as Gb,rt as Hb,ot as Ib,yA as Jb,vA as Kb,vD as Lb,DA as Mb,_D as Nb,ea as Ob,MD as Pb,AD as Qb,RD as Rb,PD as Sb,LD as Tb,ZD as Ub,jf as Vb,YD as Wb,IA as Xb,wA as Yb,EA as Zb,CA as _b,bA as $b,_A as ac,MA as bc,xA as cc,Wf as dc,qf as ec,uI as fc,Zf as gc,Yf as hc,dI as ic,SA as jc,pI as kc,hI as lc,wI as mc,TA as nc,NA as oc,AA as pc,MI as qc,OA as rc,FA as sc,RA as tc,PA as uc,kA as vc,LA as wc,TI as xc,Kf as yc,jA as zc,VA as Ac,BA as Bc,$A as Cc,HA as Dc,UA as Ec,zA as Fc,GA as Gc,WA as Hc,qA as Ic,ZA as Jc,Oo as Kc,YA as Lc,QA as Mc,oi as Nc,jI as Oc,VI as Pc,ii as Qc,KA as Rc,JA as Sc,si as Tc,XA as Uc,ow as Vc,iw as Wc,eO as Xc,iu as Yc,uw as Zc,tO as _c,nO as $c,su as ad,CO as bd,rp as cd,vu as dd,bO as ed,vi as fd,dw as gd,_O as hd,fw as id,MO as jd,xO as kd,SO as ld,TO as md,vp as nd,NO as od,AO as pd,OO as qd,FO as rd,RO as sd,PO as td,kO as ud,LO as vd,jO as wd,Xw as xd,tE as yd,VO as zd,BO as Ad,dp as Bd,Fe as Cd,UO as Dd,zO as Ed,GO as Fd,WO as Gd,qO as Hd,ZO as Id,YO as Jd,QO as Kd,KO as Ld,JO as Md,XO as Nd,Dp as Od,Ip as Pd,eF as Qd};
@@ -0,0 +1 @@
1
+ import{a as ne,b as ie,c as oe,d as re}from"./chunk-IFSVDZCL.js";import{a as A}from"./chunk-UR6B5JCM.js";import{C as J,E as Q,F as X,G as Y,I as ee,ca as te,ia as E,n as O,u as $,v as y,x as W,y as Z,z as K}from"./chunk-PQYPFF6U.js";import{Ac as R,Bc as I,C as U,Da as g,Fc as j,Gc as q,Ha as N,I as V,Kb as C,Qb as _,Sa as x,Ta as b,Ub as p,_b as v,ac as T,bc as P,cc as L,dc as i,ec as o,fc as d,jc as w,kd as G,mc as h,md as H,nc as c,q as F,ra as D,sa as M,sd as B,vb as k,wc as l,xc as z,yc as S,zb as a}from"./chunk-4JSMR3XG.js";var ae=n=>({"is-invalid":n});function de(n,m){if(n&1&&(i(0,"swiper-slide")(1,"div",17),d(2,"img",18),i(3,"div",19)(4,"h4",20),l(5),o(),i(6,"div",21)(7,"p",22),l(8),o()()()()()),n&2){let e=m.$implicit;a(2),p("src",e.properties.imgSrc,k),a(3),S(" ",e.properties.title," "),a(3),S(" ",e.properties.description," ")}}function me(n,m){if(n&1&&(i(0,"ng-option",33)(1,"span",35),l(2),o()()),n&2){let e=m.$implicit;p("value",e),a(2),z(e)}}function pe(n,m){if(n&1){let e=w();i(0,"div",8)(1,"div",19)(2,"h3",23),l(3," DealPOS Barcode Apps "),o(),i(4,"p",24),l(5," Print Barcode label from your product catalog "),o()(),i(6,"div",25)(7,"div",26)(8,"div",27)(9,"span",28),d(10,"i",29),o(),d(11,"input",30),i(12,"span",31)(13,"ng-select",32),P(14,me,3,2,"ng-option",33,T),o()()()()(),i(16,"button",34),h("click",function(){x(e);let r=c();return b(r.onLoginState())}),l(17," Next "),o()()}if(n&2){let e=c();a(13),p("clearable",!1),a(),L(e.domains())}}function ce(n,m){n&1&&(i(0,"span"),l(1,"Username is required."),o())}function ue(n,m){if(n&1&&(i(0,"div",47),_(1,ce,2,0,"span",63),d(2,"span"),o()),n&2){let e,t=c(2);a(),p("ngIf",(e=t.form.get("username"))==null||e.errors==null?null:e.errors.required)}}function fe(n,m){if(n&1){let e=w();i(0,"i",66),h("click",function(){x(e);let r=c(3);return b(r.passwordInputType.set("text"))}),o()}}function ge(n,m){if(n&1){let e=w();i(0,"i",67),h("click",function(){x(e);let r=c(3);return b(r.passwordInputType.set("password"))}),o()}}function _e(n,m){if(n&1&&_(0,fe,1,0,"i",64)(1,ge,1,0,"i",65),n&2){let e=c(2);v(e.passwordInputType()==="password"?0:1)}}function he(n,m){n&1&&(i(0,"span"),l(1,"Password is required."),o())}function xe(n,m){if(n&1&&(i(0,"div",47),_(1,he,2,0,"span",63),d(2,"span"),o()),n&2){let e,t=c(2);a(),p("ngIf",(e=t.form.get("password"))==null||e.errors==null?null:e.errors.required)}}function be(n,m){if(n&1){let e=w();i(0,"div",9)(1,"div",36)(2,"h3",37),l(3,"Sign in"),o(),i(4,"p",38),l(5,"to"),o(),i(6,"div",39)(7,"p",40),l(8),o(),i(9,"a",41)(10,"i",42),h("click",function(){x(e);let r=c();return b(r.onLoginState())}),o()()()(),i(11,"div",19)(12,"div",43)(13,"span",44),d(14,"i",45),o(),d(15,"input",46),o(),_(16,ue,3,1,"div",47),o(),i(17,"div",19)(18,"div",48)(19,"span",44),d(20,"i",49),o(),i(21,"div",50),_(22,_e,2,1),d(23,"input",51),o()(),_(24,xe,3,1,"div",47),i(25,"div",52)(26,"a",53),l(27,"Forgot Password?"),o()()(),i(28,"button",54),l(29," Login "),o(),i(30,"div",55)(31,"div",56),d(32,"hr",57),i(33,"p",58),l(34,"or"),o(),d(35,"hr",57),o(),i(36,"button",59),h("click",function(){x(e);let r=c();return b(r.onSigninWithGoogle())}),i(37,"div",60),d(38,"i",61),i(39,"span",62),l(40,"Sign In with Google"),o()()()()()}if(n&2){let e,t,r,u,f,s=c();a(8),S(" (",s.hostFormField," ) "),a(7),p("ngClass",I(8,ae,((e=s.form.get("username"))==null?null:e.invalid)&&!((e=s.form.get("username"))!=null&&e.untouched))),a(),v((t=s.form.get("username"))!=null&&t.invalid&&!((t=s.form.get("username"))!=null&&t.untouched)?16:-1),a(6),v((r=s.form.get("password"))!=null&&r.value.length?22:-1),a(),p("ngClass",I(10,ae,((u=s.form.get("password"))==null?null:u.invalid)&&!((u=s.form.get("password"))!=null&&u.untouched)))("type",s.passwordInputType()),a(),v((f=s.form.get("password"))!=null&&f.invalid&&!((f=s.form.get("password"))!=null&&f.untouched)?24:-1),a(2),p("href","https://"+s.host+"/ForgotPassword",k)}}var le=(()=>{class n{constructor(){this.form=new K({}),this.loginState=C("FORM_DOMAIN"),this.news$=U([]),this.domains=C([".dealpos.co.id",".dealpos.net",".dealpos.com",".dealpos.app"]),this.passwordInputType=C("password"),this.onsubmit=onsubmit,this._destroy=new F,this.authService=g(E),this.fb=g(Y),this.httpService=g(te),this.version=C(""),this.router=g(O),this.regexSanitizeHostname=/^(https?):\/\/([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}(\/.*)?$/}get hostFormField(){let e=this.form?.get("subDomain")?.value,t=this.form?.get("domain")?.value;if(e.match(this.regexSanitizeHostname)){let r=new URL(e);return r.origin.slice(0,r.origin.indexOf(".")).concat(t)}else return e.concat(t)}get domainStorage(){let e=this.authService.getDomain(),t=e.indexOf(".");return e.substring(t,e.length)}get host(){let{subDomain:e,domain:t}=this.form.value;return e+t}ngOnInit(){this.initForm(),this.news$=this.httpService.get("v2/content?fetch=children:barcode&sort=sortOrder:asc",void 0,"https://changelog.dealpos.app/umbraco/delivery/api/").pipe(V(e=>e.items))}initForm(){let e=this.authService.getDomain(),[t,r]=e.split("."),u=localStorage.getItem("Username")??"";this.form=this.fb.group({subDomain:[t??"",y.required],domain:[e.substring(e.indexOf(".dealpos"))||this.domains()[0],y.required],username:[u,y.required],password:["",y.required]})}isValidUrl(e){try{return!!new URL(e)}catch{return!1}}onLogin(){let{subDomain:e,domain:t,username:r,password:u}=this.form.value,f="";e.match(this.regexSanitizeHostname)?f=e.replace(t,t):f=e.concat(t);let s={Host:this.isValidUrl(f)?new URL(f).hostname:f,Username:r,Password:u};this.authService.login(s).pipe(re("login"),M(this._destroy)).subscribe(()=>{this.router.navigate(["/pages/v2/print-mode"])})}onSigninWithGoogle(){let{subDomain:e,domain:t,username:r,password:u}=this.form.value;this.authService.signInWithPopup(e+t).pipe(M(this._destroy),D(()=>this.authService.redirectUrl())).subscribe()}onLoginState(){let e=this.loginState();if(e==="FORM_DOMAIN")this.loginState.set("FORM_AUTH");else if(e==="FORM_AUTH"){let t=this.form.get("subDomain").value;this.form.patchValue({subDomain:t.slice(0,t.indexOf("."))}),this.loginState.set("FORM_DOMAIN")}}ngOnDestroy(){this._destroy.next(),this._destroy.complete()}isAppVersionUpdated(){let e=localStorage.getItem("appVersion"),t=A.version;return!!(e&&t&&e.replaceAll(".","")!==t.replaceAll(".",""))}ngAfterViewInit(){this.version.set(A.version)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=N({type:n,selectors:[["app-login"]],standalone:!0,features:[R],decls:23,vars:6,consts:[[1,"container-fluid","border","my-auto","d-flex","flex-column"],[1,"flex-grow-1","d-flex","align-items-center","justify-content-center"],[1,"row",2,"background","#ffffff","max-width","57rem","border-radius","4px"],[1,"p-0","col-12","col-md-6","border-end","d-flex","flex-column","align-items-center","py-4"],[1,"font-robotoslab","fw-normal","fs-6","text-dark"],["pagination","true","pagination-clickable","true","slides-per-view","1"],[1,"p-0","col-12","col-md-6","py-4"],[1,"h-100","d-flex","flex-column","gap-4","my-2","mx-5",3,"ngSubmit","formGroup"],[1,"d-flex","flex-column","justify-content-center","gap-3","h-100",2,"margin-top","-55px"],[1,"d-flex","flex-column","gap-3"],[1,"row","d-md-flex","py-3","px-4"],[1,"col-12","col-md-6","d-flex","align-items-center","gap-2"],[1,"m-0","h-100","d-flex","align-items-center","fs-2","fw-normal"],["alt","dealpos-logo","src","https://res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png",1,"img-fluid"],[1,"cursor-pointer","col-12","col-md-6","d-flex","justify-content-center","gap-2","justify-content-md-end","align-items-center"],["target","_blank",1,"d-flex","gap-1",3,"href"],[1,"fst-italic","m-0","fs-2","fw-normal","text-dark","cursor-pointer"],[1,"d-flex","flex-column","gap-4"],["alt","",1,"img-fluid",3,"src"],[1,"d-flex","flex-column"],[1,"text-dark",2,"font-size","16px","font-weight","700"],[1,"d-flex","flex-wrap",2,"max-width","22rem"],[1,"fw-normal","text-dark"],[1,"m-0","font-robotoslab","text-dark","fs-6"],[1,"fst-italic","fw-normal","text-secondary-emphasis",2,"font-size","11px"],[1,"row",2,"height","50px"],[1,"col-12","h-100","mb-2","mb-md-0"],[1,"input-group","mb-3","border","rounded"],[1,"input-group-text","border-0","text-dark"],[1,"fas","fa-cloud"],["id","subDomain","formControlName","subDomain","type","text","placeholder","Store Address","aria-label","Username","aria-describedby","basic-addon1",1,"form-control","form-control-lg","text-dark",2,"border-radius","0","font-size","14px"],[1,"input-group-text","p-0",2,"z-index","99"],["formControlName","domain",1,"custom",2,"font-size","14px",3,"clearable"],[3,"value"],["type","button",1,"btn","btn-primary","btn-lg","w-100","font-robotoslab","fs-4",3,"click"],[2,"font-size","14px"],[1,"d-flex","align-baseline","gap-2"],[1,"m-0"],[1,"m-0","d-flex","align-items-end"],[1,"d-flex"],[1,"m-0","d-flex","align-items-end","fw-bold","me-2","font-robotoslab","d-inline-block","text-primary"],["href","#",1,"pe-auto","d-flex","align-items-center"],[1,"fas","fa-edit","d-flex","align-items-center","link-primary","fs-3",3,"click"],[1,"input-group","border","rounded",2,"height","50px"],[1,"input-group-text","text-dark"],[1,"fas","fa-user"],["formControlName","username","type","text","placeholder","Username","aria-label","Username","aria-describedby","basic-addon1",1,"form-control","form-control-lg","text-dark",3,"ngClass"],[1,"invalid-feedback"],[1,"input-group","d-flex","border","rounded",2,"height","50px"],[1,"fas","fa-key"],[1,"position-relative","flex-grow-1","h-100"],["formControlName","password","placeholder","Password","aria-label","Username","aria-describedby","basic-addon1",1,"form-control","form-control-lg","h-100","text-dark",3,"ngClass","type"],[1,"w-100","d-flex","justify-content-end"],[1,"link-underline-light","fs-2","fw-normal",3,"href"],["type","submit",1,"btn","btn-primary","btn-lg","fs-4","font-robotoslab"],[1,"d-flex","flex-column","align-items-center","gap-2"],[1,"d-flex","justify-content-center","gap-2"],[2,"width","150px","border","1px solid rgba(0, 0, 0, 0.85)"],[1,"m-0",2,"line-height","30px"],["type","button",1,"btn","btn-outline-primary","btn-lg","w-100",3,"click"],[1,"h-100","d-flex","align-items-center","justify-content-center","gap-2"],[1,"fab","fa-google","fs-3"],[1,"fw-medium","fs-3"],[4,"ngIf"],[1,"fas","fa-eye","position-absolute","top-0","end-0",2,"transform","translate(-50%, 90%)"],[1,"fas","fa-eye-slash","position-absolute","top-0","end-0",2,"transform","translate(-50%, 90%)"],[1,"fas","fa-eye","position-absolute","top-0","end-0",2,"transform","translate(-50%, 90%)",3,"click"],[1,"fas","fa-eye-slash","position-absolute","top-0","end-0",2,"transform","translate(-50%, 90%)",3,"click"]],template:function(t,r){t&1&&(i(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h4",4),l(5,"New Features"),o(),i(6,"swiper-container",5),P(7,de,9,3,"swiper-slide",null,T),j(9,"async"),o()(),i(10,"div",6)(11,"form",7),h("ngSubmit",function(){return r.onLogin()}),_(12,pe,18,1,"div",8)(13,be,41,12,"div",9),o()()()(),i(14,"div",10)(15,"div",11)(16,"p",12),l(17," Powered by: "),o(),d(18,"img",13),o(),i(19,"div",14)(20,"a",15)(21,"span",16),l(22),o()()()()()),t&2&&(a(7),L(q(9,4,r.news$)),a(4),p("formGroup",r.form),a(),v(r.loginState()==="FORM_DOMAIN"?12:13),a(8),p("href","https://changelog.dealpos.com/?categories=cat_IOl3P9ko0ayhv&view=complete&v"+r.version().replaceAll(".",""),k),a(2),S("Version ",r.version(),""))},dependencies:[H,G,ee,J,$,W,Z,Q,X,oe,ie,ne,B],styles:[".auth-wrapper[_ngcontent-%COMP%]{min-height:100vh;position:relative}.container-fluid[_ngcontent-%COMP%]{height:100vh}.grid__container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,50%);width:50vw;height:50vh;background:#fff;box-shadow:0 10px 15px -3px #0000001a;border-radius:15px;overflow:hidden}.container[_ngcontent-%COMP%]{height:400px}swiper-container[_ngcontent-%COMP%]{height:100%;width:100%}swiper-slide[_ngcontent-%COMP%]{text-align:center;font-size:12px;background:#fff;display:flex;justify-content:center;align-items:center}swiper-slide[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;width:250px;height:150px;object-fit:cover;margin:0 auto}.btn[_ngcontent-%COMP%]:hover{background:transparent;color:#337ab7;box-shadow:none}.invalid-feedback[_ngcontent-%COMP%]{display:block}.btn[_ngcontent-%COMP%]{padding:.8rem 0}input[_ngcontent-%COMP%]::placeholder{color:gray;font-size:15px;opacity:.8}input[_ngcontent-%COMP%]{font-size:15px;border-color:#dee2e6}.input-group-text[_ngcontent-%COMP%]{background:transparent;border:none!important}.ng-touched.ng-valid[_ngcontent-%COMP%]{border-color:#dee2e6!important}.form-control[_ngcontent-%COMP%]{border:none!important}.fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}[_nghost-%COMP%] .ng-select .ng-select-container{border:1px solid #e9edf2;border-radius:0!important}[_nghost-%COMP%] .ng-dropdown-panel.ng-select-bottom{border-radius:4px;overflow:hidden} .ng-select.custom{height:100%!important;border:none!important} .ng-select.custom .ng-select-container{height:100%!important;border-top:none!important;border-right:none!important;border-bottom:none!important;border-radius:4px!important}"]})}}return n})();var se=(n,m)=>{let e=g(E),t=g(O);if(e.isAuthenticated()&&!e.isTokenExpired()&&e.checkAuthKeysExists())switch(localStorage.getItem("PrintMode")){case"barcode":return t.createUrlTree(["/pages/shelf/barcode"],{queryParams:{step:0}});case"priceLabel":return t.createUrlTree(["/pages/shelf/price-label"],{queryParams:{step:0}});default:return t.createUrlTree(["/"])}return!0};var Ge=[{path:"",component:le,canActivate:[se]}];export{Ge as AUTH_ROUTES};
@@ -1 +1 @@
1
- import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"./chunk-XUGOIZTN.js";import"./chunk-UZEILQYY.js";export{g as AnimationDriver,f as NoopAnimationDriver,r as \u0275Animation,n as \u0275AnimationEngine,t as \u0275AnimationRenderer,u as \u0275AnimationRendererFactory,h as \u0275AnimationStyleNormalizer,s as \u0275BaseAnimationRenderer,i as \u0275NoopAnimationStyleNormalizer,p as \u0275WebAnimationsDriver,o as \u0275WebAnimationsPlayer,m as \u0275WebAnimationsStyleNormalizer,l as \u0275allowPreviousPlayerStylesMerge,k as \u0275camelCaseToDashCase,d as \u0275containsElement,q as \u0275createEngine,a as \u0275getParentElement,e as \u0275invokeQuery,j as \u0275normalizeKeyframes,b as \u0275validateStyleProperty,c as \u0275validateWebAnimatableStyleProperty};
1
+ import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"./chunk-FQA7HR37.js";import"./chunk-4JSMR3XG.js";export{g as AnimationDriver,f as NoopAnimationDriver,r as \u0275Animation,n as \u0275AnimationEngine,t as \u0275AnimationRenderer,u as \u0275AnimationRendererFactory,h as \u0275AnimationStyleNormalizer,s as \u0275BaseAnimationRenderer,i as \u0275NoopAnimationStyleNormalizer,p as \u0275WebAnimationsDriver,o as \u0275WebAnimationsPlayer,m as \u0275WebAnimationsStyleNormalizer,l as \u0275allowPreviousPlayerStylesMerge,k as \u0275camelCaseToDashCase,d as \u0275containsElement,q as \u0275createEngine,a as \u0275getParentElement,e as \u0275invokeQuery,j as \u0275normalizeKeyframes,b as \u0275validateStyleProperty,c as \u0275validateWebAnimatableStyleProperty};