ngxsmk-datepicker 1.4.8 → 1.4.10
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.
- package/README.md +173 -195
- package/fesm2022/ngxsmk-datepicker.mjs +1127 -0
- package/fesm2022/ngxsmk-datepicker.mjs.map +1 -0
- package/package.json +32 -40
- package/.angular/cache/20.3.5/demo-app/vite/deps/@angular_common.js +0 -200
- package/.angular/cache/20.3.5/demo-app/vite/deps/@angular_core.js +0 -999
- package/.angular/cache/20.3.5/demo-app/vite/deps/@angular_forms.js +0 -6965
- package/.angular/cache/20.3.5/demo-app/vite/deps/@angular_platform-browser.js +0 -80
- package/.angular/cache/20.3.5/demo-app/vite/deps/@angular_router.js +0 -6130
- package/.angular/cache/20.3.5/demo-app/vite/deps/chunk-42OOCJLE.js +0 -5210
- package/.angular/cache/20.3.5/demo-app/vite/deps/chunk-DQIUKFFJ.js +0 -30886
- package/.angular/cache/20.3.5/demo-app/vite/deps/chunk-QJUWYUTH.js +0 -4715
- package/.angular/cache/20.3.5/demo-app/vite/deps/chunk-WDMUDEB6.js +0 -58
- package/.angular/cache/20.3.5/demo-app/vite/deps/zone__js.js +0 -2394
- package/LICENSE +0 -21
- package/dist/demo-app/browser/main-4XQZTDMM.js +0 -4
- package/dist/demo-app/browser/polyfills-5CFQRCPP.js +0 -2
- package/dist/ngxsmk-datepicker/README.md +0 -279
- package/projects/demo-app/README.md +0 -246
- package/projects/ngxsmk-datepicker/README.md +0 -279
- package/scripts/analyze-bundle.js +0 -39
- package/scripts/optimize-build.js +0 -132
- /package/{dist/ngxsmk-datepicker/index.d.ts → index.d.ts} +0 -0
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var qv=Object.defineProperty,Zv=Object.defineProperties;var Yv=Object.getOwnPropertyDescriptors;var Kd=Object.getOwnPropertySymbols;var Qv=Object.prototype.hasOwnProperty,Kv=Object.prototype.propertyIsEnumerable;var Jd=(e,t,n)=>t in e?qv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t)=>{for(var n in t||={})Qv.call(t,n)&&Jd(e,n,t[n]);if(Kd)for(var n of Kd(t))Kv.call(t,n)&&Jd(e,n,t[n]);return e},P=(e,t)=>Zv(e,Yv(t));var tc;function Ci(){return tc}function at(e){let t=tc;return tc=e,t}var Xd=Symbol("NotFound");function Zn(e){return e===Xd||e?.name==="\u0275NotFound"}var Ee=null,_i=!1,nc=1,Jv=null,be=Symbol("SIGNAL");function M(e){let t=Ee;return Ee=e,t}function Ii(){return Ee}var Yn={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Qn(e){if(_i)throw new Error("");if(Ee===null)return;Ee.consumerOnSignalRead(e);let t=Ee.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=Ee.recomputing;if(r&&(n=t!==void 0?t.nextProducer:Ee.producers,n!==void 0&&n.producer===e)){Ee.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Ee&&(!r||ey(o,Ee)))return;let i=Jn(Ee),s={producer:e,consumer:Ee,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Ee.producersTail=s,t!==void 0?t.nextProducer=s:Ee.producers=s,i&&rf(e,s)}function ef(){nc++}function Mi(e){if(!(Jn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===nc)){if(!e.producerMustRecompute(e)&&!Zr(e)){wi(e);return}e.producerRecomputeValue(e),wi(e)}}function rc(e){if(e.consumers===void 0)return;let t=_i;_i=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Xv(r)}}finally{_i=t}}function oc(){return Ee?.consumerAllowSignalWrites!==!1}function Xv(e){e.dirty=!0,rc(e),e.consumerMarkedDirty?.(e)}function wi(e){e.dirty=!1,e.lastCleanEpoch=nc}function Kn(e){return e&&tf(e),M(e)}function tf(e){e.producersTail=void 0,e.recomputing=!0}function qr(e,t){M(t),e&&nf(e)}function nf(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Jn(e))do n=ic(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Zr(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Mi(n),r!==n.version))return!0}return!1}function Yr(e){if(Jn(e)){let t=e.producers;for(;t!==void 0;)t=ic(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function rf(e,t){let n=e.consumersTail,r=Jn(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)rf(o.producer,o)}function ic(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Jn(t)){let i=t.producers;for(;i!==void 0;)i=ic(i)}return n}function Jn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Si(e){Jv?.(e)}function ey(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Ti(e,t){return Object.is(e,t)}function xi(e,t){let n=Object.create(ty);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Mi(n),Qn(n),n.value===Wr)throw n.error;return n.value};return r[be]=n,Si(n),r}var Ei=Symbol("UNSET"),bi=Symbol("COMPUTING"),Wr=Symbol("ERRORED"),ty=P(m({},Yn),{value:Ei,dirty:!0,error:null,equal:Ti,kind:"computed",producerMustRecompute(e){return e.value===Ei||e.value===bi},producerRecomputeValue(e){if(e.value===bi)throw new Error("");let t=e.value;e.value=bi;let n=Kn(e),r,o=!1;try{r=e.computation(),M(null),o=t!==Ei&&t!==Wr&&r!==Wr&&e.equal(t,r)}catch(i){r=Wr,e.error=i}finally{qr(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function ny(){throw new Error}var of=ny;function sf(e){of(e)}function sc(e){of=e}var ry=null;function ac(e,t){let n=Object.create(Ai);n.value=e,t!==void 0&&(n.equal=t);let r=()=>af(n);return r[be]=n,Si(n),[r,s=>Xn(n,s),s=>cc(n,s)]}function af(e){return Qn(e),e.value}function Xn(e,t){oc()||sf(e),e.equal(e.value,t)||(e.value=t,oy(e))}function cc(e,t){oc()||sf(e),Xn(e,t(e.value))}var Ai=P(m({},Yn),{equal:Ti,value:void 0,kind:"signal"});function oy(e){e.version++,ef(),rc(e),ry?.(e)}function T(e){return typeof e=="function"}function er(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 Ni=er(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 Qr(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var re=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(T(r))try{r()}catch(i){t=i instanceof Ni?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{cf(i)}catch(s){t=t??[],s instanceof Ni?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Ni(t)}}add(t){var n;if(t&&t!==this)if(this.closed)cf(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)&&Qr(n,t)}remove(t){let{_finalizers:n}=this;n&&Qr(n,t),t instanceof e&&t._removeParent(this)}};re.EMPTY=(()=>{let e=new re;return e.closed=!0,e})();var lc=re.EMPTY;function Ri(e){return e instanceof re||e&&"closed"in e&&T(e.remove)&&T(e.add)&&T(e.unsubscribe)}function cf(e){T(e)?e():e.unsubscribe()}var Je={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var tr={setTimeout(e,t,...n){let{delegate:r}=tr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=tr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Oi(e){tr.setTimeout(()=>{let{onUnhandledError:t}=Je;if(t)t(e);else throw e})}function Kr(){}var lf=uc("C",void 0,void 0);function uf(e){return uc("E",void 0,e)}function df(e){return uc("N",e,void 0)}function uc(e,t,n){return{kind:e,value:t,error:n}}var vn=null;function nr(e){if(Je.useDeprecatedSynchronousErrorHandling){let t=!vn;if(t&&(vn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=vn;if(vn=null,n)throw r}}else e()}function ff(e){Je.useDeprecatedSynchronousErrorHandling&&vn&&(vn.errorThrown=!0,vn.error=e)}var yn=class extends re{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Ri(t)&&t.add(this)):this.destination=ay}static create(t,n,r){return new rr(t,n,r)}next(t){this.isStopped?fc(df(t),this):this._next(t)}error(t){this.isStopped?fc(uf(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?fc(lf,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()}}},iy=Function.prototype.bind;function dc(e,t){return iy.call(e,t)}var hc=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ki(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ki(r)}else ki(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ki(n)}}},rr=class extends yn{constructor(t,n,r){super();let o;if(T(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Je.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&dc(t.next,i),error:t.error&&dc(t.error,i),complete:t.complete&&dc(t.complete,i)}):o=t}this.destination=new hc(o)}};function ki(e){Je.useDeprecatedSynchronousErrorHandling?ff(e):Oi(e)}function sy(e){throw e}function fc(e,t){let{onStoppedNotification:n}=Je;n&&tr.setTimeout(()=>n(e,t))}var ay={closed:!0,next:Kr,error:sy,complete:Kr};var or=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ke(e){return e}function pc(...e){return gc(e)}function gc(e){return e.length===0?ke:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var j=(()=>{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=ly(n)?n:new rr(n,r,o);return nr(()=>{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=hf(r),new r((o,i)=>{let s=new rr({next:a=>{try{n(a)}catch(c){i(c),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)}[or](){return this}pipe(...n){return gc(n)(this)}toPromise(n){return n=hf(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 hf(e){var t;return(t=e??Je.Promise)!==null&&t!==void 0?t:Promise}function cy(e){return e&&T(e.next)&&T(e.error)&&T(e.complete)}function ly(e){return e&&e instanceof yn||cy(e)&&Ri(e)}function mc(e){return T(e?.lift)}function B(e){return t=>{if(mc(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 F(e,t,n,r,o){return new vc(e,t,n,r,o)}var vc=class extends yn{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}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 ir(){return B((e,t)=>{let n=null;e._refCount++;let r=F(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 sr=class extends j{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,mc(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 re;let n=this.getSubject();t.add(this.source.subscribe(F(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=re.EMPTY)}return t}refCount(){return ir()(this)}};var pf=er(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ae=(()=>{class e extends j{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Pi(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new pf}next(n){nr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){nr(()=>{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(){nr(()=>{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?lc:(this.currentObservers=null,i.push(n),new re(()=>{this.currentObservers=null,Qr(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new j;return n.source=this,n}}return e.create=(t,n)=>new Pi(t,n),e})(),Pi=class extends ae{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:lc}};var pe=class extends ae{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 xe=new j(e=>e.complete());function gf(e){return e&&T(e.schedule)}function mf(e){return e[e.length-1]}function Fi(e){return T(mf(e))?e.pop():void 0}function Ut(e){return gf(mf(e))?e.pop():void 0}function yf(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(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function vf(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 Dn(e){return this instanceof Dn?(this.v=e,this):new Dn(e)}function Df(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(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(o[f]=function(E){return new Promise(function(O,A){i.push([f,E,O,A])>1||c(f,E)})},g&&(o[f]=g(o[f])))}function c(f,g){try{l(r[f](g))}catch(E){h(i[0][3],E)}}function l(f){f.value instanceof Dn?Promise.resolve(f.value.v).then(u,d):h(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function h(f,g){f(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Cf(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 vf=="function"?vf(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,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Li=e=>e&&typeof e.length=="number"&&typeof e!="function";function Vi(e){return T(e?.then)}function ji(e){return T(e[or])}function Bi(e){return Symbol.asyncIterator&&T(e?.[Symbol.asyncIterator])}function Hi(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 uy(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ui=uy();function $i(e){return T(e?.[Ui])}function zi(e){return Df(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Dn(n.read());if(o)return yield Dn(void 0);yield yield Dn(r)}}finally{n.releaseLock()}})}function Gi(e){return T(e?.getReader)}function oe(e){if(e instanceof j)return e;if(e!=null){if(ji(e))return dy(e);if(Li(e))return fy(e);if(Vi(e))return hy(e);if(Bi(e))return _f(e);if($i(e))return py(e);if(Gi(e))return gy(e)}throw Hi(e)}function dy(e){return new j(t=>{let n=e[or]();if(T(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function fy(e){return new j(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function hy(e){return new j(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Oi)})}function py(e){return new j(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function _f(e){return new j(t=>{my(e,t).catch(n=>t.error(n))})}function gy(e){return _f(zi(e))}function my(e,t){var n,r,o,i;return yf(this,void 0,void 0,function*(){try{for(n=Cf(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 Ae(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 Wi(e,t=0){return B((n,r)=>{n.subscribe(F(r,o=>Ae(r,e,()=>r.next(o),t),()=>Ae(r,e,()=>r.complete(),t),o=>Ae(r,e,()=>r.error(o),t)))})}function qi(e,t=0){return B((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ef(e,t){return oe(e).pipe(qi(t),Wi(t))}function bf(e,t){return oe(e).pipe(qi(t),Wi(t))}function wf(e,t){return new j(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function If(e,t){return new j(n=>{let r;return Ae(n,t,()=>{r=e[Ui](),Ae(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)}),()=>T(r?.return)&&r.return()})}function Zi(e,t){if(!e)throw new Error("Iterable cannot be null");return new j(n=>{Ae(n,t,()=>{let r=e[Symbol.asyncIterator]();Ae(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Mf(e,t){return Zi(zi(e),t)}function Sf(e,t){if(e!=null){if(ji(e))return Ef(e,t);if(Li(e))return wf(e,t);if(Vi(e))return bf(e,t);if(Bi(e))return Zi(e,t);if($i(e))return If(e,t);if(Gi(e))return Mf(e,t)}throw Hi(e)}function J(e,t){return t?Sf(e,t):oe(e)}function S(...e){let t=Ut(e);return J(e,t)}function ar(e,t){let n=T(e)?e:()=>e,r=o=>o.error(n());return new j(t?o=>t.schedule(r,0,o):r)}function yc(e){return!!e&&(e instanceof j||T(e.lift)&&T(e.subscribe))}var _t=er(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function L(e,t){return B((n,r)=>{let o=0;n.subscribe(F(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:vy}=Array;function yy(e,t){return vy(t)?e(...t):e(t)}function Yi(e){return L(t=>yy(e,t))}var{isArray:Dy}=Array,{getPrototypeOf:Cy,prototype:_y,keys:Ey}=Object;function Qi(e){if(e.length===1){let t=e[0];if(Dy(t))return{args:t,keys:null};if(by(t)){let n=Ey(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function by(e){return e&&typeof e=="object"&&Cy(e)===_y}function Ki(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Ji(...e){let t=Ut(e),n=Fi(e),{args:r,keys:o}=Qi(e);if(r.length===0)return J([],t);let i=new j(wy(r,t,o?s=>Ki(o,s):ke));return n?i.pipe(Yi(n)):i}function wy(e,t,n=ke){return r=>{Tf(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Tf(t,()=>{let l=J(e[c],t),u=!1;l.subscribe(F(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Tf(e,t,n){e?Ae(n,e,t):t()}function xf(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&t.complete()},f=E=>l<r?g(E):c.push(E),g=E=>{i&&t.next(E),l++;let O=!1;oe(n(E,u++)).subscribe(F(t,A=>{o?.(A),i?f(A):t.next(A)},()=>{O=!0},void 0,()=>{if(O)try{for(l--;c.length&&l<r;){let A=c.shift();s?Ae(t,s,()=>g(A)):g(A)}h()}catch(A){t.error(A)}}))};return e.subscribe(F(t,f,()=>{d=!0,h()})),()=>{a?.()}}function ce(e,t,n=1/0){return T(t)?ce((r,o)=>L((i,s)=>t(r,i,o,s))(oe(e(r,o))),n):(typeof t=="number"&&(n=t),B((r,o)=>xf(r,o,e,n)))}function Af(e=1/0){return ce(ke,e)}function Nf(){return Af(1)}function cr(...e){return Nf()(J(e,Ut(e)))}function Jr(e){return new j(t=>{oe(e()).subscribe(t)})}function Dc(...e){let t=Fi(e),{args:n,keys:r}=Qi(e),o=new j(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;oe(n[u]).subscribe(F(i,h=>{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Ki(r,a):a),i.complete())}))}});return t?o.pipe(Yi(t)):o}function Ue(e,t){return B((n,r)=>{let o=0;n.subscribe(F(r,i=>e.call(t,i,o++)&&r.next(i)))})}function $t(e){return B((t,n)=>{let r=null,o=!1,i;r=t.subscribe(F(n,void 0,void 0,s=>{i=oe(e(s,$t(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Rf(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(F(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function lr(e,t){return T(t)?ce(e,t,1):ce(e,1)}function zt(e){return B((t,n)=>{let r=!1;t.subscribe(F(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Et(e){return e<=0?()=>xe:B((t,n)=>{let r=0;t.subscribe(F(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Xi(e=Iy){return B((t,n)=>{let r=!1;t.subscribe(F(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Iy(){return new _t}function Xr(e){return B((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function bt(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ue((o,i)=>e(o,i,r)):ke,Et(1),n?zt(t):Xi(()=>new _t))}function ur(e){return e<=0?()=>xe:B((t,n)=>{let r=[];t.subscribe(F(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 Cc(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ue((o,i)=>e(o,i,r)):ke,ur(1),n?zt(t):Xi(()=>new _t))}function _c(e,t){return B(Rf(e,t,arguments.length>=2,!0))}function Ec(...e){let t=Ut(e);return B((n,r)=>{(t?cr(e,n,t):cr(e,n)).subscribe(r)})}function Ne(e,t){return B((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(F(r,c=>{o?.unsubscribe();let l=0,u=i++;oe(e(c,u)).subscribe(o=F(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function es(e){return B((t,n)=>{oe(e).subscribe(F(n,()=>n.complete(),Kr)),!n.closed&&t.subscribe(n)})}function fe(e,t,n){let r=T(e)||t||n?{next:e,error:t,complete:n}:e;return r?B((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(F(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):ke}function Of(e){let t=M(null);try{return e()}finally{M(t)}}var kc="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",D=class extends Error{code;constructor(t,n){super(os(t,n)),this.code=t}};function My(e){return`NG0${Math.abs(e)}`}function os(e,t){return`${My(e)}${t?": "+t:""}`}var In=globalThis;function U(e){for(let t in e)if(e[t]===U)return t;throw Error("")}function Ff(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function It(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(It).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
4
|
-
`);return r>=0?n.slice(0,r):n}function Pc(e,t){return e?t?`${e} ${t}`:e:t||""}var Sy=U({__forward_ref__:U});function lt(e){return e.__forward_ref__=lt,e.toString=function(){return It(this())},e}function ge(e){return Fc(e)?e():e}function Fc(e){return typeof e=="function"&&e.hasOwnProperty(Sy)&&e.__forward_ref__===lt}function b(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ut(e){return{providers:e.providers||[],imports:e.imports||[]}}function ro(e){return Ty(e,is)}function Lc(e){return ro(e)!==null}function Ty(e,t){return e.hasOwnProperty(t)&&e[t]||null}function xy(e){let t=e?.[is]??null;return t||null}function wc(e){return e&&e.hasOwnProperty(ns)?e[ns]:null}var is=U({\u0275prov:U}),ns=U({\u0275inj:U}),_=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=b({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Vc(e){return e&&!!e.\u0275providers}var jc=U({\u0275cmp:U}),Bc=U({\u0275dir:U}),Hc=U({\u0275pipe:U}),Uc=U({\u0275mod:U}),to=U({\u0275fac:U}),Mn=U({__NG_ELEMENT_ID__:U}),kf=U({__NG_ENV_ID__:U});function ss(e){return typeof e=="string"?e:e==null?"":String(e)}function Lf(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():ss(e)}var Vf=U({ngErrorCode:U}),Ay=U({ngErrorMessage:U}),Ny=U({ngTokenPath:U});function $c(e,t){return jf("",-200,t)}function as(e,t){throw new D(-201,!1)}function jf(e,t,n){let r=new D(t,e);return r[Vf]=t,r[Ay]=e,n&&(r[Ny]=n),r}function Ry(e){return e[Vf]}var Ic;function Bf(){return Ic}function Me(e){let t=Ic;return Ic=e,t}function zc(e,t,n){let r=ro(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;as(e,"Injector")}var Oy={},Cn=Oy,ky="__NG_DI_FLAG__",Mc=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=_n(n)||0;try{return this.injector.get(t,r&8?null:Cn,r)}catch(o){if(Zn(o))return o;throw o}}};function Py(e,t=0){let n=Ci();if(n===void 0)throw new D(-203,!1);if(n===null)return zc(e,void 0,t);{let r=Fy(t),o=n.retrieve(e,r);if(Zn(o)){if(r.optional)return null;throw o}return o}}function N(e,t=0){return(Bf()||Py)(ge(e),t)}function p(e,t){return N(e,_n(t))}function _n(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Fy(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Sc(e){let t=[];for(let n=0;n<e.length;n++){let r=ge(e[n]);if(Array.isArray(r)){if(r.length===0)throw new D(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Ly(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(N(o,i))}else t.push(N(r))}return t}function Ly(e){return e[ky]}function Gt(e,t){let n=e.hasOwnProperty(to);return n?e[to]:null}function cs(e,t){e.forEach(n=>Array.isArray(n)?cs(n,t):t(n))}function Gc(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 Hf(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 Uf(e,t,n){let r=fr(e,t);return r>=0?e[r|1]=n:(r=~r,Hf(e,r,t,n)),r}function ls(e,t){let n=fr(e,t);if(n>=0)return e[n|1]}function fr(e,t){return Vy(e,t,1)}function Vy(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 qt={},Pe=[],Zt=new _(""),Wc=new _("",-1),qc=new _(""),no=class{get(t,n=Cn){if(n===Cn){let o=jf("",-201);throw o.name="\u0275NotFound",o}return n}};function Zc(e){return e[Uc]||null}function Yt(e){return e[jc]||null}function Yc(e){return e[Bc]||null}function $f(e){return e[Hc]||null}function io(e){return{\u0275providers:e}}function zf(...e){return{\u0275providers:Qc(!0,e),\u0275fromNgModule:!0}}function Qc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return cs(t,s=>{let a=s;rs(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Gf(o,i),n}function Gf(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Kc(o,i=>{t(i,r)})}}function rs(e,t,n,r){if(e=ge(e),!e)return!1;let o=null,i=wc(e),s=!i&&Yt(e);if(!i&&!s){let c=e.ngModule;if(i=wc(c),i)o=c;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 c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)rs(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{cs(i.imports,u=>{rs(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Gf(l,t)}if(!a){let l=Gt(o)||(()=>new o);t({provide:o,useFactory:l,deps:Pe},o),t({provide:qc,useValue:o,multi:!0},o),t({provide:Zt,useValue:()=>N(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Kc(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Kc(e,t){for(let n of e)Vc(n)&&(n=n.\u0275providers),Array.isArray(n)?Kc(n,t):t(n)}var jy=U({provide:String,useValue:U});function Wf(e){return e!==null&&typeof e=="object"&&jy in e}function By(e){return!!(e&&e.useExisting)}function Hy(e){return!!(e&&e.useFactory)}function En(e){return typeof e=="function"}function qf(e){return!!e.useClass}var so=new _(""),ts={},Pf={},bc;function ao(){return bc===void 0&&(bc=new no),bc}var me=class{},bn=class extends me{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,xc(t,s=>this.processProvider(s)),this.records.set(Wc,dr(void 0,this)),o.has("environment")&&this.records.set(me,dr(void 0,this));let i=this.records.get(so);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(qc,Pe,{self:!0}))}retrieve(t,n){let r=_n(n)||0;try{return this.get(t,Cn,r)}catch(o){if(Zn(o))return o;throw o}}destroy(){eo(this),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 eo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){eo(this);let n=at(this),r=Me(void 0),o;try{return t()}finally{at(n),Me(r)}}get(t,n=Cn,r){if(eo(this),t.hasOwnProperty(kf))return t[kf](this);let o=_n(r),i,s=at(this),a=Me(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Wy(t)&&ro(t);u&&this.injectableDefInScope(u)?l=dr(Tc(t),ts):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?ao():this.parent;return n=o&8&&n===Cn?null:n,c.get(t,n)}catch(c){let l=Ry(c);throw l===-200||l===-201?new D(l,null):c}finally{Me(a),at(s)}}resolveInjectorInitializers(){let t=M(null),n=at(this),r=Me(void 0),o;try{let i=this.get(Zt,Pe,{self:!0});for(let s of i)s()}finally{at(n),Me(r),M(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(It(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ge(t);let n=En(t)?t:ge(t&&t.provide),r=$y(t);if(!En(t)&&t.multi===!0){let o=this.records.get(n);o||(o=dr(void 0,ts,!0),o.factory=()=>Sc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=M(null);try{if(n.value===Pf)throw $c(It(t));return n.value===ts&&(n.value=Pf,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Gy(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{M(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ge(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 Tc(e){let t=ro(e),n=t!==null?t.factory:Gt(e);if(n!==null)return n;if(e instanceof _)throw new D(204,!1);if(e instanceof Function)return Uy(e);throw new D(204,!1)}function Uy(e){if(e.length>0)throw new D(204,!1);let n=xy(e);return n!==null?()=>n.factory(e):()=>new e}function $y(e){if(Wf(e))return dr(void 0,e.useValue);{let t=Jc(e);return dr(t,ts)}}function Jc(e,t,n){let r;if(En(e)){let o=ge(e);return Gt(o)||Tc(o)}else if(Wf(e))r=()=>ge(e.useValue);else if(Hy(e))r=()=>e.useFactory(...Sc(e.deps||[]));else if(By(e))r=(o,i)=>N(ge(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ge(e&&(e.useClass||e.provide));if(zy(e))r=()=>new o(...Sc(e.deps));else return Gt(o)||Tc(o)}return r}function eo(e){if(e.destroyed)throw new D(205,!1)}function dr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function zy(e){return!!e.deps}function Gy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Wy(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function xc(e,t){for(let n of e)Array.isArray(n)?xc(n,t):n&&Vc(n)?xc(n.\u0275providers,t):t(n)}function Se(e,t){let n;e instanceof bn?(eo(e),n=e):n=new Mc(e);let r,o=at(n),i=Me(void 0);try{return t()}finally{at(o),Me(i)}}function Zf(){return Bf()!==void 0||Ci()!=null}var et=0,w=1,x=2,he=3,$e=4,ze=5,hr=6,pr=7,te=8,Qt=9,Mt=10,Y=11,gr=12,Xc=13,Sn=14,Fe=15,Tn=16,xn=17,An=18,co=19,el=20,wt=21,us=22,lo=23,Le=24,ds=25,Nn=26,ie=27,Yf=1,tl=6,Kt=7,uo=8,fo=9,le=10;function dt(e){return Array.isArray(e)&&typeof e[Yf]=="object"}function tt(e){return Array.isArray(e)&&e[Yf]===!0}function nl(e){return(e.flags&4)!==0}function Jt(e){return e.componentOffset>-1}function ho(e){return(e.flags&1)===1}function ft(e){return!!e.template}function mr(e){return(e[x]&512)!==0}function Rn(e){return(e[x]&256)===256}var rl="svg",Qf="math";function Ge(e){for(;Array.isArray(e);)e=e[et];return e}function ol(e,t){return Ge(t[e])}function nt(e,t){return Ge(t[e.index])}function po(e,t){return e.data[t]}function Kf(e,t){return e[t]}function il(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function We(e,t){let n=t[e];return dt(n)?n:n[et]}function fs(e){return(e[x]&128)===128}function Jf(e){return tt(e[he])}function qe(e,t){return t==null?null:e[t]}function sl(e){e[xn]=0}function al(e){e[x]&1024||(e[x]|=1024,fs(e)&&mo(e))}function Xf(e,t){for(;e>0;)t=t[Sn],e--;return t}function go(e){return!!(e[x]&9216||e[Le]?.dirty)}function hs(e){e[Mt].changeDetectionScheduler?.notify(8),e[x]&64&&(e[x]|=1024),go(e)&&mo(e)}function mo(e){e[Mt].changeDetectionScheduler?.notify(0);let t=Wt(e);for(;t!==null&&!(t[x]&8192||(t[x]|=8192,!fs(t)));)t=Wt(t)}function cl(e,t){if(Rn(e))throw new D(911,!1);e[wt]===null&&(e[wt]=[]),e[wt].push(t)}function eh(e,t){if(e[wt]===null)return;let n=e[wt].indexOf(t);n!==-1&&e[wt].splice(n,1)}function Wt(e){let t=e[he];return tt(t)?t[he]:t}function th(e){return e[pr]??=[]}function nh(e){return e.cleanup??=[]}var k={lFrame:mh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ac=!1;function rh(){return k.lFrame.elementDepthCount}function oh(){k.lFrame.elementDepthCount++}function ll(){k.lFrame.elementDepthCount--}function ul(){return k.bindingsEnabled}function ih(){return k.skipHydrationRootTNode!==null}function dl(e){return k.skipHydrationRootTNode===e}function fl(){k.skipHydrationRootTNode=null}function V(){return k.lFrame.lView}function ue(){return k.lFrame.tView}function X(e){return k.lFrame.contextLView=e,e[te]}function ee(e){return k.lFrame.contextLView=null,e}function we(){let e=hl();for(;e!==null&&e.type===64;)e=e.parent;return e}function hl(){return k.lFrame.currentTNode}function sh(){let e=k.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function vr(e,t){let n=k.lFrame;n.currentTNode=e,n.isParent=t}function pl(){return k.lFrame.isParent}function ah(){k.lFrame.isParent=!1}function gl(){return Ac}function ml(e){let t=Ac;return Ac=e,t}function ch(){let e=k.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function lh(e){return k.lFrame.bindingIndex=e}function Xt(){return k.lFrame.bindingIndex++}function uh(e){let t=k.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function dh(){return k.lFrame.inI18n}function fh(e,t){let n=k.lFrame;n.bindingIndex=n.bindingRootIndex=e,ps(t)}function hh(){return k.lFrame.currentDirectiveIndex}function ps(e){k.lFrame.currentDirectiveIndex=e}function ph(e){let t=k.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function vl(e){k.lFrame.currentQueryIndex=e}function qy(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[ze]:null}function yl(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=qy(i),o===null||(i=i[Sn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=k.lFrame=gh();return r.currentTNode=t,r.lView=e,!0}function gs(e){let t=gh(),n=e[w];k.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function gh(){let e=k.lFrame,t=e===null?null:e.child;return t===null?mh(e):t}function mh(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 vh(){let e=k.lFrame;return k.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Dl=vh;function ms(){let e=vh();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 yh(e){return(k.lFrame.contextLView=Xf(e,k.lFrame.contextLView))[te]}function en(){return k.lFrame.selectedIndex}function tn(e){k.lFrame.selectedIndex=e}function vo(){let e=k.lFrame;return po(e.tView,e.selectedIndex)}function nn(){k.lFrame.currentNamespace=rl}function yo(){Zy()}function Zy(){k.lFrame.currentNamespace=null}function Dh(){return k.lFrame.currentNamespace}var Ch=!0;function vs(){return Ch}function ys(e){Ch=e}function Nc(e,t=null,n=null,r){let o=Cl(e,t,n,r);return o.resolveInjectorInitializers(),o}function Cl(e,t=null,n=null,r,o=new Set){let i=[n||Pe,zf(e)];return r=r||(typeof e=="object"?void 0:It(e)),new bn(i,t||ao(),r||null,o)}var Xe=class e{static THROW_IF_NOT_FOUND=Cn;static NULL=new no;static create(t,n){if(Array.isArray(t))return Nc({name:""},n,t,"");{let r=t.name??"";return Nc({name:r},t.parent,t.providers,r)}}static \u0275prov=b({token:e,providedIn:"any",factory:()=>N(Wc)});static __NG_ELEMENT_ID__=-1},ve=new _(""),On=(()=>{class e{static __NG_ELEMENT_ID__=Yy;static __NG_ENV_ID__=n=>n}return e})(),Rc=class extends On{_lView;constructor(t){super(),this._lView=t}get destroyed(){return Rn(this._lView)}onDestroy(t){let n=this._lView;return cl(n,t),()=>eh(n,t)}};function Yy(){return new Rc(V())}var ct=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Ze=new _("",{providedIn:"root",factory:()=>{let e=p(me),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(ct),t.handleError(n))}}}),_h={provide:Zt,useValue:()=>void p(ct),multi:!0};function _l(e){return typeof e=="function"&&e[be]!==void 0}function ht(e,t){let[n,r,o]=ac(e,t?.equal),i=n,s=i[be];return i.set=r,i.update=o,i.asReadonly=Eh.bind(i),i}function Eh(){let e=this[be];if(e.readonlyFn===void 0){let t=()=>this();t[be]=e,e.readonlyFn=t}return e.readonlyFn}function El(e){return _l(e)&&typeof e.set=="function"}var wn=class{},Do=new _("",{providedIn:"root",factory:()=>!1});var bl=new _(""),wl=new _(""),St=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new pe(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new j(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=b({token:e,providedIn:"root",factory:()=>new e})}return e})();function Co(...e){}var Il=(()=>{class e{static \u0275prov=b({token:e,providedIn:"root",factory:()=>new Oc})}return e})(),Oc=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function To(e){return{toString:e}.toString()}function rD(e){return typeof e=="function"}var Is=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Xh(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var xt=(()=>{let e=()=>ep;return e.ngInherit=!0,e})();function ep(e){return e.type.prototype.ngOnChanges&&(e.setInput=iD),oD}function oD(){let e=np(this),t=e?.current;if(t){let n=e.previous;if(n===qt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function iD(e,t,n,r,o){let i=this.declaredInputs[r],s=np(e)||sD(e,{previous:qt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Is(l&&l.currentValue,n,c===qt),Xh(e,t,o,n)}var tp="__ngSimpleChanges__";function np(e){return e[tp]||null}function sD(e,t){return e[tp]=t}var bh=[];var W=function(e,t=null,n){for(let r=0;r<bh.length;r++){let o=bh[r];o(e,t,n)}};function aD(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ep(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 rp(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:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function _s(e,t,n){op(e,t,3,n)}function Es(e,t,n,r){(e[x]&3)===n&&op(e,t,n,r)}function Ml(e,t){let n=e[x];(n&3)===t&&(n&=16383,n+=1,e[x]=n)}function op(e,t,n,r){let o=r!==void 0?e[xn]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[xn]+=65536),(a<i||i==-1)&&(cD(e,n,t,c),e[xn]=(e[xn]&4294901760)+c+2),c++}function wh(e,t){W(4,e,t);let n=M(null);try{t.call(e)}finally{M(n),W(5,e,t)}}function cD(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[x]>>14<e[xn]>>16&&(e[x]&3)===t&&(e[x]+=16384,wh(a,i)):wh(a,i)}var Dr=-1,Pn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function lD(e){return(e.flags&8)!==0}function uD(e){return(e.flags&16)!==0}function dD(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];hD(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function fD(e){return e===3||e===4||e===6}function hD(e){return e.charCodeAt(0)===64}function Cr(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?Ih(e,n,o,null,t[++r]):Ih(e,n,o,null,null))}}return e}function Ih(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){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function ip(e){return e!==Dr}function Ms(e){return e&32767}function pD(e){return e>>16}function Ss(e,t){let n=pD(e),r=t;for(;n>0;)r=r[Sn],n--;return r}var Ll=!0;function Ts(e){let t=Ll;return Ll=e,t}var gD=256,sp=gD-1,ap=5,mD=0,pt={};function vD(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Mn)&&(r=n[Mn]),r==null&&(r=n[Mn]=mD++);let o=r&sp,i=1<<o;t.data[e+(o>>ap)]|=i}function xs(e,t){let n=cp(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Sl(r.data,e),Sl(t,null),Sl(r.blueprint,null));let o=uu(e,t),i=e.injectorIndex;if(ip(o)){let s=Ms(o),a=Ss(o,t),c=a[w].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Sl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function cp(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function uu(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=hp(o),r===null)return Dr;if(n++,o=o[Sn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Dr}function Vl(e,t,n){vD(e,t,n)}function lp(e,t,n){if(n&8||e!==void 0)return e;as(t,"NodeInjector")}function up(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Qt],i=Me(void 0);try{return o?o.get(t,r,n&8):zc(t,r,n&8)}finally{Me(i)}}return lp(r,t,n)}function dp(e,t,n,r=0,o){if(e!==null){if(t[x]&2048&&!(r&2)){let s=ED(e,t,n,r,pt);if(s!==pt)return s}let i=fp(e,t,n,r,pt);if(i!==pt)return i}return up(t,n,r,o)}function fp(e,t,n,r,o){let i=CD(n);if(typeof i=="function"){if(!yl(t,e,r))return r&1?lp(o,n,r):up(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))as(n);else return s}finally{Dl()}}else if(typeof i=="number"){let s=null,a=cp(e,t),c=Dr,l=r&1?t[Fe][ze]:null;for((a===-1||r&4)&&(c=a===-1?uu(e,t):t[a+8],c===Dr||!Sh(r,!1)?a=-1:(s=t[w],a=Ms(c),t=Ss(c,t)));a!==-1;){let u=t[w];if(Mh(i,a,u.data)){let d=yD(a,t,n,s,r,l);if(d!==pt)return d}c=t[a+8],c!==Dr&&Sh(r,t[w].data[a+8]===l)&&Mh(i,a,t)?(s=u,a=Ms(c),t=Ss(c,t)):a=-1}}return o}function yD(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?Jt(a)&&Ll:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=DD(a,s,n,c,l);return u!==null?As(t,s,u,a,o):pt}function DD(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,h=o?a+u:l;for(let f=d;f<h;f++){let g=s[f];if(f<c&&n===g||f>=c&&g.type===n)return f}if(o){let f=s[c];if(f&&ft(f)&&f.type===n)return c}return null}function As(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Pn){let a=i;if(a.resolving){let f=Lf(s[n]);throw $c(f)}let c=Ts(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?Me(a.injectImpl):null,h=yl(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&aD(n,s[n],t)}finally{d!==null&&Me(d),Ts(c),a.resolving=!1,Dl()}}return i}function CD(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Mn)?e[Mn]:void 0;return typeof t=="number"?t>=0?t&sp:_D:t}function Mh(e,t,n){let r=1<<e;return!!(n[t+(e>>ap)]&r)}function Sh(e,t){return!(e&2)&&!(e&1&&t)}var kn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return dp(this._tNode,this._lView,t,_n(r),n)}};function _D(){return new kn(we(),V())}function Ir(e){return To(()=>{let t=e.prototype.constructor,n=t[to]||jl(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[to]||jl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function jl(e){return Fc(e)?()=>{let t=jl(ge(e));return t&&t()}:Gt(e)}function ED(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[x]&2048&&!mr(s);){let a=fp(i,s,n,r|2,pt);if(a!==pt)return a;let c=i.parent;if(!c){let l=s[el];if(l){let u=l.get(n,pt,r);if(u!==pt)return u}c=hp(s),s=s[Sn]}i=c}return o}function hp(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[ze]:null}function bD(){return zs(we(),V())}function zs(e,t){return new vt(nt(e,t))}var vt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=bD}return e})();function pp(e){return(e.flags&128)===128}var du=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(du||{}),gp=new Map,wD=0;function ID(){return wD++}function MD(e){gp.set(e[co],e)}function Bl(e){gp.delete(e[co])}var Th="__ngContext__";function _r(e,t){dt(t)?(e[Th]=t[co],MD(t)):e[Th]=t}function mp(e){return yp(e[gr])}function vp(e){return yp(e[$e])}function yp(e){for(;e!==null&&!tt(e);)e=e[$e];return e}var Hl;function fu(e){Hl=e}function Dp(){if(Hl!==void 0)return Hl;if(typeof document<"u")return document;throw new D(210,!1)}var Gs=new _("",{providedIn:"root",factory:()=>SD}),SD="ng",Ws=new _(""),Mr=new _("",{providedIn:"platform",factory:()=>"unknown"});var qs=new _("",{providedIn:"root",factory:()=>Dp().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var TD="h",xD="b";var Cp="r";var _p="di";var Ep=!1,bp=new _("",{providedIn:"root",factory:()=>Ep});var AD=(e,t,n,r)=>{};function ND(e,t,n,r){AD(e,t,n,r)}function hu(e){return(e.flags&32)===32}var RD=()=>null;function wp(e,t,n=!1){return RD(e,t,n)}function Ip(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];vl(i),a.contentQueries(2,t[s],s)}}}finally{M(r)}}}function Ul(e,t,n){vl(0);let r=M(null);try{t(e,n)}finally{M(r)}}function Mp(e,t,n){if(nl(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 c=n[s];a.contentQueries(1,c,s)}}}finally{M(r)}}}var Tt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(Tt||{});var $l=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${kc})`}};function Sp(e){return e instanceof $l?e.changingThisBreaksApplicationSecurity:e}function xo(e){return e.ownerDocument}function Tp(e){return e instanceof Function?e():e}function OD(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}}var xp="ng-template";function kD(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&OD(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(pu(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 pu(e){return e.type===4&&e.value!==xp}function PD(e,t,n){let r=e.type===4&&!n?xp:e.value;return t===r}function FD(e,t,n){let r=4,o=e.attrs,i=o!==null?jD(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!rt(r)&&!rt(c))return!1;if(s&&rt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!PD(e,c,n)||c===""&&t.length===1){if(rt(r))return!1;s=!0}}else if(r&8){if(o===null||!kD(e,o,c,n)){if(rt(r))return!1;s=!0}}else{let l=t[++a],u=LD(c,o,pu(e),n);if(u===-1){if(rt(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(rt(r))return!1;s=!0}}}}return rt(r)||s}function rt(e){return(e&1)===0}function LD(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 BD(t,e)}function VD(e,t,n=!1){for(let r=0;r<t.length;r++)if(FD(e,t[r],n))return!0;return!1}function jD(e){for(let t=0;t<e.length;t++){let n=e[t];if(fD(n))return t}return e.length}function BD(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 xh(e,t){return e?":not("+t.trim()+")":t}function HD(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!==""&&!rt(s)&&(t+=xh(i,o),o=""),r=s,i=i||!rt(r);n++}return o!==""&&(t+=xh(i,o)),t}function UD(e){return e.map(HD).join(",")}function $D(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(!rt(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var yt={};function zD(e,t){return e.createText(t)}function GD(e,t,n){e.setValue(t,n)}function Ap(e,t,n){return e.createElement(t,n)}function Ns(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Np(e,t,n){e.appendChild(t,n)}function Ah(e,t,n,r,o){r!==null?Ns(e,t,n,r,o):Np(e,t,n)}function Rp(e,t,n,r){e.removeChild(null,t,n,r)}function WD(e,t,n){e.setAttribute(t,"style",n)}function qD(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Op(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&dD(e,t,r),o!==null&&qD(e,t,o),i!==null&&WD(e,t,i)}function gu(e,t,n,r,o,i,s,a,c,l,u){let d=ie+r,h=d+o,f=ZD(d,h),g=typeof l=="function"?l():l;return f[w]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:g,incompleteFirstPass:!1,ssrId:u}}function ZD(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:yt);return n}function YD(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=gu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function mu(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[et]=o,d[x]=r|4|128|8|64|1024,(l!==null||e&&e[x]&2048)&&(d[x]|=2048),sl(d),d[he]=d[Sn]=e,d[te]=n,d[Mt]=s||e&&e[Mt],d[Y]=a||e&&e[Y],d[Qt]=c||e&&e[Qt]||null,d[ze]=i,d[co]=ID(),d[hr]=u,d[el]=l,d[Fe]=t.type==2?e[Fe]:d,d}function QD(e,t,n){let r=nt(t,e),o=YD(n),i=e[Mt].rendererFactory,s=vu(e,mu(e,o,null,kp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function kp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Pp(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 vu(e,t){return e[gr]?e[Xc][$e]=t:e[gr]=t,e[Xc]=t,t}function I(e=1){Fp(ue(),V(),en()+e,!1)}function Fp(e,t,n,r){if(!r)if((t[x]&3)===3){let i=e.preOrderCheckHooks;i!==null&&_s(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Es(t,i,0,n)}tn(n)}var Zs=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Zs||{});function zl(e,t,n,r){let o=M(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Zs.SignalBased)!==0&&(c=t[i][be]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Xh(t,c,i,r)}finally{M(o)}}var gt=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(gt||{}),KD;function yu(e,t){return KD(e,t)}var Er=new Set,Du=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Du||{}),Ao=new _(""),Nh=new Set;function on(e){Nh.has(e)||(Nh.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Lp=!1,Gl=class extends ae{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Zf()&&(this.destroyRef=p(On,{optional:!0})??void 0,this.pendingTasks=p(St,{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 c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}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 re&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Q=Gl;function Vp(e){let t,n;function r(){e=Co;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 Rh(e){return queueMicrotask(()=>e()),()=>{e=Co}}var Cu="isAngularZone",Rs=Cu+"_ID",JD=0,de=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Q(!1);onMicrotaskEmpty=new Q(!1);onStable=new Q(!1);onError=new Q(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Lp}=t;if(typeof Zone>"u")throw new D(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,tC(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Cu)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new D(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new D(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,XD,Co,Co);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)}},XD={};function _u(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 eC(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Vp(()=>{e.callbackScheduled=!1,Wl(e),e.isCheckStableRunning=!0,_u(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Wl(e)}function tC(e){let t=()=>{eC(e)},n=JD++;e._inner=e._inner.fork({name:"angular",properties:{[Cu]:!0,[Rs]:n,[Rs+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(nC(c))return r.invokeTask(i,s,a,c);try{return Oh(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),kh(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Oh(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!rC(c)&&t(),kh(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Wl(e),_u(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 Wl(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Oh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function kh(e){e._nesting--,_u(e)}var Os=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Q;onMicrotaskEmpty=new Q;onStable=new Q;onError=new Q;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 nC(e){return jp(e,"__ignore_ng_zone__")}function rC(e){return jp(e,"__scheduler_tick__")}function jp(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Bp=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=b({token:e,providedIn:"root",factory:()=>new e})}return e})();var oC=new _("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function Hp(e,t){let n=e.get(oC);if(Array.isArray(t))for(let r of t)n.queue.add(r);else n.queue.add(t);n.scheduler&&n.scheduler(e)}function iC(e,t){for(let[n,r]of t)Hp(e,r.animateFns)}function Ph(e,t,n,r){let o=e?.[Nn]?.enter;t!==null&&o&&o.has(n.index)&&iC(r,o)}function yr(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;tt(o)?c=o:dt(o)&&(l=!0,o=o[et]);let u=Ge(o);e===0&&r!==null?(Ph(a,r,i,n),s==null?Np(t,r,u):Ns(t,r,u,s||null,!0)):e===1&&r!==null?(Ph(a,r,i,n),Ns(t,r,u,s||null,!0)):e===2?Fh(a,i,n,d=>{Rp(t,u,l,d)}):e===3&&Fh(a,i,n,()=>{t.destroyNode(u)}),c!=null&&yC(t,e,n,c,i,r,s)}}function sC(e,t){Up(e,t),t[et]=null,t[ze]=null}function aC(e,t,n,r,o,i){r[et]=o,r[ze]=t,Qs(e,r,n,1,o,i)}function Up(e,t){t[Mt].changeDetectionScheduler?.notify(9),Qs(e,t,t[Y],2,null,null)}function cC(e){let t=e[gr];if(!t)return Tl(e[w],e);for(;t;){let n=null;if(dt(t))n=t[gr];else{let r=t[le];r&&(n=r)}if(!n){for(;t&&!t[$e]&&t!==e;)dt(t)&&Tl(t[w],t),t=t[he];t===null&&(t=e),dt(t)&&Tl(t[w],t),n=t&&t[$e]}t=n}}function Eu(e,t){let n=e[fo],r=n.indexOf(t);n.splice(r,1)}function Ys(e,t){if(Rn(t))return;let n=t[Y];n.destroyNode&&Qs(e,t,n,3,null,null),cC(t)}function Tl(e,t){if(Rn(t))return;let n=M(null);try{t[x]&=-129,t[x]|=256,t[Le]&&Yr(t[Le]),dC(e,t),uC(e,t),t[w].type===1&&t[Y].destroy();let r=t[Tn];if(r!==null&&tt(t[he])){r!==t[he]&&Eu(r,t);let o=t[An];o!==null&&o.detachView(e)}Bl(t)}finally{M(n)}}function Fh(e,t,n,r){let o=e?.[Nn];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);if(o.skipLeaveAnimations)return o.skipLeaveAnimations=!1,r(!1);e&&Er.add(e),Hp(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s)for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.running=Promise.allSettled(a),lC(e,r)}else e&&Er.delete(e),r(!1)})}function lC(e,t){let n=e[Nn]?.running;if(n){n.then(()=>{e[Nn].running=void 0,Er.delete(e),t(!0)});return}t(!1)}function uC(e,t){let n=e.cleanup,r=t[pr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[pr]=null);let o=t[wt];if(o!==null){t[wt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[lo];if(i!==null){t[lo]=null;for(let s of i)s.destroy()}}function dC(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 Pn)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];W(4,a,c);try{c.call(a)}finally{W(5,a,c)}}else{W(4,o,i);try{i.call(o)}finally{W(5,o,i)}}}}}function fC(e,t,n){return hC(e,t.parent,n)}function hC(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[et];if(Jt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Tt.None||o===Tt.Emulated)return null}return nt(r,n)}function pC(e,t,n){return mC(e,t,n)}function gC(e,t,n){return e.type&40?nt(e,n):null}var mC=gC,Lh;function bu(e,t,n,r){let o=fC(e,r,t),i=t[Y],s=r.parent||t[ze],a=pC(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Ah(i,o,n[c],a,!1);else Ah(i,o,n,a,!1);Lh!==void 0&&Lh(i,r,t,n,o)}function _o(e,t){if(t!==null){let n=t.type;if(n&3)return nt(t,e);if(n&4)return ql(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return _o(e,r);{let o=e[t.index];return tt(o)?ql(-1,o):Ge(o)}}else{if(n&128)return _o(e,t.next);if(n&32)return yu(t,e)()||Ge(e[t.index]);{let r=$p(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Wt(e[Fe]);return _o(o,r)}else return _o(e,t.next)}}}return null}function $p(e,t){if(t!==null){let r=e[Fe][ze],o=t.projection;return r.projection[o]}return null}function ql(e,t){let n=le+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return _o(r,o)}return t[Kt]}function wu(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Qt];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&_r(Ge(c),r),n.flags|=2),!hu(n))if(l&8)wu(e,t,n.child,r,o,i,!1),yr(t,e,a,o,c,n,i,r);else if(l&32){let u=yu(n,r),d;for(;d=u();)yr(t,e,a,o,d,n,i,r);yr(t,e,a,o,c,n,i,r)}else l&16?vC(e,t,r,n,o,i):yr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Qs(e,t,n,r,o,i){wu(n,r,e.firstChild,t,o,i,!1)}function vC(e,t,n,r,o,i){let s=n[Fe],c=s[ze].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];yr(t,e,n[Qt],o,u,r,i,n)}else{let l=c,u=s[he];pp(r)&&(l.flags|=128),wu(e,t,l,u,o,i,!0)}}function yC(e,t,n,r,o,i,s){let a=r[Kt],c=Ge(r);a!==c&&yr(t,e,n,i,a,o,s);for(let l=le;l<r.length;l++){let u=r[l];Qs(u[w],u,e,t,i,a)}}function DC(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:gt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=gt.Important),e.setStyle(n,r,o,i))}}function zp(e,t,n,r,o){let i=en(),s=r&2;try{tn(-1),s&&t.length>ie&&Fp(e,t,ie,!1),W(s?2:0,o,n),n(r,o)}finally{tn(i),W(s?3:1,o,n)}}function Iu(e,t,n){IC(e,t,n),(n.flags&64)===64&&MC(e,t,n)}function Ks(e,t,n=nt){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 CC(e,t,n,r){let i=r.get(bp,Ep)||n===Tt.ShadowDom,s=e.selectRootElement(t,i);return _C(s),s}function _C(e){EC(e)}var EC=()=>null;function bC(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Gp(e,t,n,r,o,i){let s=t[w];if(Mu(e,s,t,n,r)){Jt(e)&&wC(t,e.index);return}e.type&3&&(n=bC(n)),Wp(e,t,n,r,o,i)}function Wp(e,t,n,r,o,i){if(e.type&3){let s=nt(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function wC(e,t){let n=We(t,e);n[x]&16||(n[x]|=64)}function IC(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Jt(n)&&QD(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||xs(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=As(t,e,s,n);if(_r(c,t),i!==null&&AC(t,s-r,c,a,n,i),ft(a)){let l=We(n.index,t);l[te]=As(t,e,s,n)}}}function MC(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=hh();try{tn(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];ps(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&SC(c,l)}}finally{tn(-1),ps(s)}}function SC(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function qp(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];VD(t,i.selectors,!1)&&(r??=[],ft(i)?r.unshift(i):r.push(i))}return r}function TC(e,t,n,r,o,i){let s=nt(e,t);xC(t[Y],s,i,e.value,n,r,o)}function xC(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?ss(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function AC(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];zl(r,n,c,l)}}function Zp(e,t,n,r,o){let i=ie+n,s=t[w],a=o(s,t,e,r,n);t[i]=a,vr(e,!0);let c=e.type===2;return c?(Op(t[Y],a,e),(rh()===0||ho(e))&&_r(a,t),oh()):_r(a,t),vs()&&(!c||!hu(e))&&bu(s,t,a,e),e}function Yp(e){let t=e;return pl()?ah():(t=t.parent,vr(t,!1)),t}function NC(e,t){let n=e[Qt];if(!n)return;let r;try{r=n.get(Ze,null)}catch{r=null}r?.(t)}function Mu(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];zl(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];zl(u,l,r,o),a=!0}return a}function RC(e,t){let n=We(t,e),r=n[w];OC(r,n);let o=n[et];o!==null&&n[hr]===null&&(n[hr]=wp(o,n[Qt])),W(18),Su(r,n,n[te]),W(19,n[te])}function OC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Su(e,t,n){gs(t);try{let r=e.viewQuery;r!==null&&Ul(1,r,n);let o=e.template;o!==null&&zp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[An]?.finishViewCreation(e),e.staticContentQueries&&Ip(e,t),e.staticViewQueries&&Ul(2,e.viewQuery,n);let i=e.components;i!==null&&kC(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[x]&=-5,ms()}}function kC(e,t){for(let n=0;n<t.length;n++)RC(e,t[n])}function Js(e,t,n,r){let o=M(null);try{let i=t.tView,a=e[x]&4096?4096:16,c=mu(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[Tn]=l;let u=e[An];return u!==null&&(c[An]=u.createEmbeddedView(i)),Su(i,c,n),c}finally{M(o)}}function bo(e,t){return!t||t.firstChild===null||pp(e)}function wo(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(Ge(i)),tt(i)&&Qp(i,r);let s=n.type;if(s&8)wo(e,t,n.child,r);else if(s&32){let a=yu(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=$p(t,n);if(Array.isArray(a))r.push(...a);else{let c=Wt(t[Fe]);wo(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Qp(e,t){for(let n=le;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&wo(r[w],r,o,t)}e[Kt]!==e[et]&&t.push(e[Kt])}function Kp(e){if(e[ds]!==null){for(let t of e[ds])t.impl.addSequence(t);e[ds].length=0}}var Jp=[];function PC(e){return e[Le]??FC(e)}function FC(e){let t=Jp.pop()??Object.create(VC);return t.lView=e,t}function LC(e){e.lView[Le]!==e&&(e.lView=null,Jp.push(e))}var VC=P(m({},Yn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{mo(e.lView)},consumerOnSignalRead(){this.lView[Le]=this}});function jC(e){let t=e[Le]??Object.create(BC);return t.lView=e,t}var BC=P(m({},Yn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Wt(e.lView);for(;t&&!Xp(t[w]);)t=Wt(t);t&&al(t)},consumerOnSignalRead(){this.lView[Le]=this}});function Xp(e){return e.type!==2}function eg(e){if(e[lo]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[lo])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[x]&8192)}}var HC=100;function tg(e,t=0){let r=e[Mt].rendererFactory,o=!1;o||r.begin?.();try{UC(e,t)}finally{o||r.end?.()}}function UC(e,t){let n=gl();try{ml(!0),Zl(e,t);let r=0;for(;go(e);){if(r===HC)throw new D(103,!1);r++,Zl(e,1)}}finally{ml(n)}}function $C(e,t,n,r){if(Rn(t))return;let o=t[x],i=!1,s=!1;gs(t);let a=!0,c=null,l=null;i||(Xp(e)?(l=PC(t),c=Kn(l)):Ii()===null?(a=!1,l=jC(t),c=Kn(l)):t[Le]&&(Yr(t[Le]),t[Le]=null));try{sl(t),lh(e.bindingStartIndex),n!==null&&zp(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&_s(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Es(t,f,0,null),Ml(t,0)}if(s||zC(t),eg(t),ng(t,0),e.contentQueries!==null&&Ip(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&_s(t,f)}else{let f=e.contentHooks;f!==null&&Es(t,f,1),Ml(t,1)}WC(e,t);let d=e.components;d!==null&&og(t,d,0);let h=e.viewQuery;if(h!==null&&Ul(2,h,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&_s(t,f)}else{let f=e.viewHooks;f!==null&&Es(t,f,2),Ml(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[us]){for(let f of t[us])f();t[us]=null}i||(Kp(t),t[x]&=-73)}catch(u){throw i||mo(t),u}finally{l!==null&&(qr(l,c),a&&LC(l)),ms()}}function ng(e,t){for(let n=mp(e);n!==null;n=vp(n))for(let r=le;r<n.length;r++){let o=n[r];rg(o,t)}}function zC(e){for(let t=mp(e);t!==null;t=vp(t)){if(!(t[x]&2))continue;let n=t[fo];for(let r=0;r<n.length;r++){let o=n[r];al(o)}}}function GC(e,t,n){W(18);let r=We(t,e);rg(r,n),W(19,r[te])}function rg(e,t){fs(e)&&Zl(e,t)}function Zl(e,t){let r=e[w],o=e[x],i=e[Le],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Zr(i)),s||=!1,i&&(i.dirty=!1),e[x]&=-9217,s)$C(r,e,r.template,e[te]);else if(o&8192){let a=M(null);try{eg(e),ng(e,1);let c=r.components;c!==null&&og(e,c,1),Kp(e)}finally{M(a)}}}function og(e,t,n){for(let r=0;r<t.length;r++)GC(e,t[r],n)}function WC(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)tn(~o);else{let i=o,s=n[++r],a=n[++r];fh(s,i);let c=t[i];W(24,c),a(2,c),W(25,c)}}}finally{tn(-1)}}function Tu(e,t){let n=gl()?64:1088;for(e[Mt].changeDetectionScheduler?.notify(t);e;){e[x]|=n;let r=Wt(e);if(mr(e)&&!r)return e;e=r}return null}function ig(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function sg(e,t){let n=le+t;if(n<e.length)return e[n]}function Xs(e,t,n,r=!0){let o=t[w];if(qC(o,t,e,n),r){let s=ql(n,e),a=t[Y],c=a.parentNode(e[Kt]);c!==null&&aC(o,e[ze],a,t,c,s)}let i=t[hr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function ag(e,t){let n=Io(e,t);return n!==void 0&&Ys(n[w],n),n}function Io(e,t){if(e.length<=le)return;let n=le+t,r=e[n];if(r){let o=r[Tn];o!==null&&o!==e&&Eu(o,r),t>0&&(e[n-1][$e]=r[$e]);let i=oo(e,le+t);sC(r[w],r);let s=i[An];s!==null&&s.detachView(i[w]),r[he]=null,r[$e]=null,r[x]&=-129}return r}function qC(e,t,n,r){let o=le+r,i=n.length;r>0&&(n[o-1][$e]=t),r<i-le?(t[$e]=n[o],Gc(n,le+r,t)):(n.push(t),t[$e]=null),t[he]=n;let s=t[Tn];s!==null&&n!==s&&cg(s,t);let a=t[An];a!==null&&a.insertView(e),hs(t),t[x]|=128}function cg(e,t){let n=e[fo],r=t[he];if(dt(r))e[x]|=2;else{let o=r[he][Fe];t[Fe]!==o&&(e[x]|=2)}n===null?e[fo]=[t]:n.push(t)}var rn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[w];return wo(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[te]}set context(t){this._lView[te]=t}get destroyed(){return Rn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[he];if(tt(t)){let n=t[uo],r=n?n.indexOf(this):-1;r>-1&&(Io(t,r),oo(n,r))}this._attachedToViewContainer=!1}Ys(this._lView[w],this._lView)}onDestroy(t){cl(this._lView,t)}markForCheck(){Tu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[x]&=-129}reattach(){hs(this._lView),this._lView[x]|=128}detectChanges(){this._lView[x]|=1024,tg(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new D(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=mr(this._lView),n=this._lView[Tn];n!==null&&!t&&Eu(n,this._lView),Up(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new D(902,!1);this._appRef=t;let n=mr(this._lView),r=this._lView[Tn];r!==null&&!n&&cg(r,this._lView),hs(this._lView)}};var ea=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=ZC;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Js(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new rn(i)}}return e})();function ZC(){return YC(we(),V())}function YC(e,t){return e.type&4?new ea(t,e,zs(e,t)):null}function No(e,t,n,r,o){let i=e.data[t];if(i===null)i=QC(e,t,n,r,o),dh()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=sh();i.injectorIndex=s===null?-1:s.injectorIndex}return vr(i,!0),i}function QC(e,t,n,r,o){let i=hl(),s=pl(),a=s?i:i&&i.parent,c=e.data[t]=JC(e,a,n,t,r,o);return KC(e,c,i,s),c}function KC(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function JC(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ih()&&(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:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var UR=new RegExp(`^(\\d+)*(${xD}|${TD})*(.*)`);function XC(e){let t=e[tl]??[],r=e[he][Y],o=[];for(let i of t)i.data[_p]!==void 0?o.push(i):e_(i,r);e[tl]=o}function e_(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Cp];for(;n<o;){let i=r.nextSibling;Rp(t,r,!1),r=i,n++}}}var t_=()=>null,n_=()=>null;function Yl(e,t){return t_(e,t)}function lg(e,t,n){return n_(e,t,n)}var ug=class{},ta=class{},Ql=class{resolveComponentFactory(t){throw new D(917,!1)}},Ro=class{static NULL=new Ql},Fn=class{},Oo=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>r_()}return e})();function r_(){let e=V(),t=we(),n=We(t.index,e);return(dt(n)?n:e)[Y]}var dg=(()=>{class e{static \u0275prov=b({token:e,providedIn:"root",factory:()=>null})}return e})();var bs={},Kl=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,bs,r);return o!==bs||n===bs?o:this.parentInjector.get(t,n,r)}};function ks(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=Pc(o,a);else if(i==2){let c=a,l=t[++s];r=Pc(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function q(e,t=0){let n=V();if(n===null)return N(e,t);let r=we();return dp(r,n,ge(e),t)}function fg(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}s_(e,t,n,a,i,c,l)}i!==null&&r!==null&&o_(n,r,i)}function o_(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new D(-301,!1);r.push(t[o],i)}}function i_(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function s_(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let h=0;h<a;h++){let f=r[h];!c&&ft(f)&&(c=!0,i_(e,n,h)),Vl(xs(n,t),e,f.type)}f_(n,e.data.length,a);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=Pp(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(n.mergedAttrs=Cr(n.mergedAttrs,f.hostAttrs),c_(e,n,t,d,f),d_(d,f,o),s!==null&&s.has(f)){let[E,O]=s.get(f);n.directiveToIndex.set(f.type,[d,E+n.directiveStart,O+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let g=f.type.prototype;!l&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}a_(e,n,i)}function a_(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Vh(0,t,o,r),Vh(1,t,o,r),Bh(t,r,!1);else{let i=n.get(o);jh(0,t,i,r),jh(1,t,i,r),Bh(t,r,!0)}}}function Vh(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),hg(t,i)}}function jh(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),hg(t,s)}}function hg(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Bh(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||pu(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function c_(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Gt(o.type,!0)),s=new Pn(i,ft(o),q,null);e.blueprint[r]=s,n[r]=s,l_(e,t,r,Pp(e,n,o.hostVars,yt),o)}function l_(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;u_(s)!=a&&s.push(a),s.push(n,r,i)}}function u_(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function d_(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ft(t)&&(n[""]=e)}}function f_(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function pg(e,t,n,r,o,i,s,a){let c=t[w],l=c.consts,u=qe(l,s),d=No(c,e,n,r,u);return i&&fg(c,t,d,qe(l,a),o),d.mergedAttrs=Cr(d.mergedAttrs,d.attrs),d.attrs!==null&&ks(d,d.attrs,!1),d.mergedAttrs!==null&&ks(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function gg(e,t){rp(e,t),nl(t)&&e.queries.elementEnd(t)}function h_(e,t,n,r,o,i){let s=t.consts,a=qe(s,o),c=No(t,e,n,r,a);if(c.mergedAttrs=Cr(c.mergedAttrs,c.attrs),i!=null){let l=qe(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&ks(c,c.attrs,!1),c.mergedAttrs!==null&&ks(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function p_(e,t,n){return e[t]=n}function mt(e,t,n){if(n===yt)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function g_(e,t,n,r){let o=mt(e,t,n);return mt(e,t+1,r)||o}function ws(e,t,n){return function r(o){let i=Jt(e)?We(e.index,t):t;Tu(i,5);let s=t[te],a=Hh(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Hh(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Hh(e,t,n,r){let o=M(null);try{return W(6,t,n),n(r)!==!1}catch(i){return NC(e,i),!1}finally{W(7,t,n),M(o)}}function mg(e,t,n,r,o,i,s,a){let c=ho(e),l=!1,u=null;if(!r&&c&&(u=v_(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=nt(e,n),h=r?r(d):d;ND(n,h,i,a);let f=o.listen(h,i,a);if(!m_(i)){let g=r?E=>r(Ge(E[e.index])):e.index;vg(g,t,n,i,a,f,!1)}}return l}function m_(e){return e.startsWith("animation")||e.startsWith("transition")}function v_(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[pr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function vg(e,t,n,r,o,i,s){let a=t.firstCreatePass?nh(t):null,c=th(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Uh(e,t,n,r,o,i){let s=t[n],a=t[w],l=a.data[n].outputs[r],d=s[l].subscribe(i);vg(e.index,a,t,o,i,d,!0)}var Jl=Symbol("BINDING");var Ps=class extends Ro{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Yt(t);return new br(n,this.ngModule)}};function y_(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Zs.SignalBased)!==0};return o&&(i.transform=o),i})}function D_(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function C_(e,t,n){let r=t instanceof me?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Kl(n,r):n}function __(e){let t=e.get(Fn,null);if(t===null)throw new D(407,!1);let n=e.get(dg,null),r=e.get(wn,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function E_(e,t){let n=yg(e);return Ap(t,n,n==="svg"?rl:n==="math"?Qf:null)}function yg(e){return(e.selectors[0][0]||"div").toLowerCase()}var br=class extends ta{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=y_(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=D_(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=UD(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){W(22);let a=M(null);try{let c=this.componentDef,l=b_(r,c,s,i),u=C_(c,o||this.ngModule,t),d=__(u),h=d.rendererFactory.createRenderer(null,c),f=r?CC(h,r,c.encapsulation,u):E_(c,h),g=s?.some($h)||i?.some(A=>typeof A!="function"&&A.bindings.some($h)),E=mu(null,l,null,512|kp(c),null,null,d,h,u,null,wp(f,u,!0));E[ie]=f,gs(E);let O=null;try{let A=pg(ie,E,2,"#host",()=>l.directiveRegistry,!0,0);Op(h,f,A),_r(f,E),Iu(l,E,A),Mp(l,A,E),gg(l,A),n!==void 0&&I_(A,this.ngContentSelectors,n),O=We(A.index,E),E[te]=O[te],Su(l,E,null)}catch(A){throw O!==null&&Bl(O),Bl(E),A}finally{W(23),ms()}return new Fs(this.componentType,E,!!g)}finally{M(a)}}};function b_(e,t,n,r){let o=e?["ng-version","20.3.6"]:$D(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[Jl].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let h of d.bindings){a+=h[Jl].requiredVars;let f=u+1;h.create&&(h.targetIdx=f,(i??=[]).push(h)),h.update&&(h.targetIdx=f,(s??=[]).push(h))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,h=Yc(d);c.push(h)}return gu(0,null,w_(i,s),1,a,c,null,null,null,[o],null)}function w_(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function $h(e){let t=e[Jl].kind;return t==="input"||t==="twoWay"}var Fs=class extends ug{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=po(n[w],ie),this.location=zs(this._tNode,n),this.instance=We(this._tNode.index,n)[te],this.hostView=this.changeDetectorRef=new rn(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Mu(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=We(r.index,o);Tu(s,1)}get injector(){return new kn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function I_(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Sr=(()=>{class e{static __NG_ELEMENT_ID__=M_}return e})();function M_(){let e=we();return T_(e,V())}var S_=Sr,Dg=class extends S_{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return zs(this._hostTNode,this._hostLView)}get injector(){return new kn(this._hostTNode,this._hostLView)}get parentInjector(){let t=uu(this._hostTNode,this._hostLView);if(ip(t)){let n=Ss(t,this._hostLView),r=Ms(t),o=n[w].data[r+8];return new kn(o,n)}else return new kn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=zh(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-le}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Yl(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,bo(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!rD(t),l;if(c)l=n;else{let O=n||{};l=O.index,r=O.injector,o=O.projectableNodes,i=O.environmentInjector||O.ngModuleRef,s=O.directives,a=O.bindings}let u=c?t:new br(Yt(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let A=(c?d:this.parentInjector).get(me,null);A&&(i=A)}let h=Yt(u.componentType??{}),f=Yl(this._lContainer,h?.id??null),g=f?.firstChild??null,E=u.create(d,o,g,i,s,a);return this.insertImpl(E.hostView,l,bo(this._hostTNode,f)),E}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Jf(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[he],l=new Dg(c,c[ze],c[he]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Xs(s,o,i,r),t.attachToViewContainerRef(),Gc(xl(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=zh(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Io(this._lContainer,n);r&&(oo(xl(this._lContainer),n),Ys(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=Io(this._lContainer,n);return r&&oo(xl(this._lContainer),n)!=null?new rn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function zh(e){return e[uo]}function xl(e){return e[uo]||(e[uo]=[])}function T_(e,t){let n,r=t[e.index];return tt(r)?n=r:(n=ig(r,t,null,e),t[e.index]=n,vu(t,n)),A_(n,t,e,r),new Dg(n,e,t)}function x_(e,t){let n=e[Y],r=n.createComment(""),o=nt(t,e),i=n.parentNode(o);return Ns(n,i,r,n.nextSibling(o),!1),r}var A_=O_,N_=()=>!1;function R_(e,t,n){return N_(e,t,n)}function O_(e,t,n,r){if(e[Kt])return;let o;n.type&8?o=Ge(r):o=x_(t,n),e[Kt]=o}var Ln=class{},na=class{};var Ls=class extends Ln{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ps(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Zc(t);this._bootstrapComponents=Tp(i.bootstrap),this._r3Injector=Cl(t,n,[{provide:Ln,useValue:this},{provide:Ro,useValue:this.componentFactoryResolver},...r],It(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)}},Vs=class extends na{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Ls(this.moduleType,t,[])}};var Mo=class extends Ln{injector;componentFactoryResolver=new Ps(this);instance=null;constructor(t){super();let n=new bn([...t.providers,{provide:Ln,useValue:this},{provide:Ro,useValue:this.componentFactoryResolver}],t.parent||ao(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function ko(e,t,n=null){return new Mo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var k_=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Qc(!1,n.type),o=r.length>0?ko([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 \u0275prov=b({token:e,providedIn:"environment",factory:()=>new e(N(me))})}return e})();function At(e){return To(()=>{let t=Cg(e),n=P(m({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===du.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(k_).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Tt.Emulated,styles:e.styles||Pe,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&on("NgStandalone"),_g(n);let r=e.dependencies;return n.directiveDefs=Gh(r,P_),n.pipeDefs=Gh(r,$f),n.id=V_(n),n})}function P_(e){return Yt(e)||Yc(e)}function Nt(e){return To(()=>({type:e.type,bootstrap:e.bootstrap||Pe,declarations:e.declarations||Pe,imports:e.imports||Pe,exports:e.exports||Pe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function F_(e,t){if(e==null)return qt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Zs.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function L_(e){if(e==null)return qt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function Ve(e){return To(()=>{let t=Cg(e);return _g(t),t})}function xu(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 Cg(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,inputConfig:e.inputs||qt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Pe,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:F_(e.inputs,t),outputs:L_(e.outputs),debugInfo:null}}function _g(e){e.features?.forEach(t=>t(e))}function Gh(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function V_(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function j_(e){return Object.getPrototypeOf(e.prototype).constructor}function Rt(e){let t=j_(e.type),n=!0,r=[e];for(;t;){let o;if(ft(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new D(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Al(e.inputs),s.declaredInputs=Al(e.declaredInputs),s.outputs=Al(e.outputs);let a=o.hostBindings;a&&z_(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&U_(e,c),l&&$_(e,l),B_(e,o),Ff(e.outputs,o.outputs),ft(o)&&o.data.animation){let u=e.data;u.animation=(u.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===Rt&&(n=!1)}}t=Object.getPrototypeOf(t)}H_(r)}function B_(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function H_(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=Cr(o.hostAttrs,n=Cr(n,o.hostAttrs))}}function Al(e){return e===qt?{}:e===Pe?[]:e}function U_(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function $_(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function z_(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Eg(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Cr(e.mergedAttrs,e.attrs);let u=e.tView=gu(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),vr(e,!1);let c=W_(n,t,e,r);vs()&&bu(n,t,c,e),_r(c,t);let l=ig(c,t,c,e);t[r+ie]=l,vu(t,l),R_(l,e,t)}function G_(e,t,n,r,o,i,s,a,c,l,u){let d=n+ie,h;return t.firstCreatePass?(h=No(t,d,4,s||null,a||null),ul()&&fg(t,e,h,qe(t.consts,l),qp),rp(t,h)):h=t.data[d],Eg(h,e,t,n,r,o,i,c),ho(h)&&Iu(t,e,h),l!=null&&Ks(e,h,u),h}function js(e,t,n,r,o,i,s,a,c,l,u){let d=n+ie,h;if(t.firstCreatePass){if(h=No(t,d,4,s||null,a||null),l!=null){let f=qe(t.consts,l);h.localNames=[];for(let g=0;g<f.length;g+=2)h.localNames.push(f[g],-1)}}else h=t.data[d];return Eg(h,e,t,n,r,o,i,c),l!=null&&Ks(e,h,u),h}function Po(e,t,n,r,o,i,s,a){let c=V(),l=ue(),u=qe(l.consts,i);return G_(c,l,e,t,n,r,o,u,void 0,s,a),Po}var W_=q_;function q_(e,t,n,r){return ys(!0),t[Y].createComment("")}var Au=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Nu=new _("");function sn(e){return!!e&&typeof e.then=="function"}function Ru(e){return!!e&&typeof e.subscribe=="function"}var bg=new _("");var Ou=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p(bg,{optional:!0})??[];injector=p(Xe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Se(this.injector,o);if(sn(i))n.push(i);else if(Ru(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});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 \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ra=new _("");function wg(){sc(()=>{let e="";throw new D(600,e)})}function Ig(e){return e.isBoundToModule}var Z_=10;var an=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Ze);afterRenderManager=p(Bp);zonelessEnabled=p(Do);rootEffectScheduler=p(Il);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ae;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(St);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(L(n=>!n))}constructor(){p(Ao,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=p(me);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Xe.NULL){return this._injector.get(de).run(()=>{W(10);let s=n instanceof ta;if(!this._injector.get(Ou).done){let g="";throw new D(405,g)}let c;s?c=n:c=this._injector.get(Ro).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=Ig(c)?void 0:this._injector.get(Ln),u=r||c.selector,d=c.create(o,[],u,l),h=d.location.nativeElement,f=d.injector.get(Nu,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Eo(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),W(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){W(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Du.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new D(101,!1);let n=M(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,M(n),this.afterTick.next(),W(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Fn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Z_;)W(14),this.synchronizeOnce(),W(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!go(o))continue;let i=r&&!this.zonelessEnabled?0:1;tg(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>go(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);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(ra,[]).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._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Eo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new D(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({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 Fo(e,t,n,r){let o=V(),i=Xt();if(mt(o,i,t)){let s=ue(),a=vo();TC(a,o,e,t,n,r)}return Fo}var YR=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Xl=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,!0))}};function Nl(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Y_(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Nl(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let h=e.at(s),f=t[c],g=Nl(s,h,c,f,n);if(g!==0){g<0&&e.updateValue(s,f),s--,c--;continue}let E=n(i,l),O=n(s,h),A=n(i,u);if(Object.is(A,O)){let mn=n(c,f);Object.is(mn,E)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Bs,o??=qh(e,i,s,n),eu(e,r,i,A))e.updateValue(i,u),i++,s++;else if(o.has(A))r.set(E,e.detach(i)),s--;else{let mn=e.create(i,t[i]);e.attach(i,mn),i++,s++}}for(;i<=c;)Wh(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,h=Nl(i,u,i,d,n);if(h!==0)h<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Bs,o??=qh(e,i,s,n);let f=n(i,d);if(eu(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let g=n(i,u);r.set(g,e.detach(i)),s--}}}for(;!l.done;)Wh(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function eu(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Wh(e,t,n,r,o){if(eu(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function qh(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 Bs=class{kvMap=new Map;_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 Ot(e,t,n,r,o,i,s,a){on("NgControlFlow");let c=V(),l=ue(),u=qe(l.consts,i);return js(c,l,e,t,n,r,o,u,256,s,a),ku}function ku(e,t,n,r,o,i,s,a){on("NgControlFlow");let c=V(),l=ue(),u=qe(l.consts,i);return js(c,l,e,t,n,r,o,u,512,s,a),ku}function kt(e,t){on("NgControlFlow");let n=V(),r=Xt(),o=n[r]!==yt?n[r]:-1,i=o!==-1?Hs(n,ie+o):void 0,s=0;if(mt(n,r,e)){let a=M(null);try{if(i!==void 0&&ag(i,s),e!==-1){let c=ie+e,l=Hs(n,c),u=ou(n[w],c),d=lg(l,u,n),h=Js(n,u,t,{dehydratedView:d});Xs(l,h,s,bo(u,d))}}finally{M(a)}}else if(i!==void 0){let a=sg(i,s);a!==void 0&&(a[te]=t)}}var tu=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-le}};function Pu(e){return e}function Fu(e,t){return t}var nu=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function jn(e,t,n,r,o,i,s,a,c,l,u,d,h){on("NgControlFlow");let f=V(),g=ue(),E=c!==void 0,O=V(),A=a?s.bind(O[Fe][te]):s,mn=new nu(E,A);O[ie+e]=mn,js(f,g,e+1,t,n,r,o,qe(g.consts,i),256),E&&js(f,g,e+2,c,l,u,d,qe(g.consts,h),512)}var ru=class extends Xl{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-le}at(t){return this.getLView(t)[te].$implicit}attach(t,n){let r=n[hr];this.needsIndexUpdate||=t!==this.length,Xs(this.lContainer,n,t,bo(this.templateTNode,r))}detach(t,n){return this.needsIndexUpdate||=t!==this.length-1,n&&Q_(this.lContainer,t),K_(this.lContainer,t)}create(t,n){let r=Yl(this.lContainer,this.templateTNode.tView.ssrId),o=Js(this.hostLView,this.templateTNode,new tu(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Ys(t[w],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[te].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[te].$index=t}getLView(t){return J_(this.lContainer,t)}};function Bn(e){let t=M(null),n=en();try{let r=V(),o=r[w],i=r[n],s=n+1,a=Hs(r,s);if(i.liveCollection===void 0){let l=ou(o,s);i.liveCollection=new ru(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(Y_(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Xt(),u=c.length===0;if(mt(r,l,u)){let d=n+2,h=Hs(r,d);if(u){let f=ou(o,d),g=lg(h,f,r),E=Js(r,f,void 0,{dehydratedView:g});Xs(h,E,0,bo(f,g))}else o.firstUpdatePass&&XC(h),ag(h,0)}}}finally{M(t)}}function Hs(e,t){return e[t]}function Q_(e,t){if(e.length<=le)return;let n=le+t,r=e[n];r&&r[Nn]&&(r[Nn].skipLeaveAnimations=!0)}function K_(e,t){return Io(e,t)}function J_(e,t){return sg(e,t)}function ou(e,t){return po(e,t)}function z(e,t,n){let r=V(),o=Xt();if(mt(r,o,t)){let i=ue(),s=vo();Gp(s,r,e,t,r[Y],n)}return z}function Zh(e,t,n,r,o){Mu(t,e,n,o?"class":"style",r)}function v(e,t,n,r){let o=V(),i=o[w],s=e+ie,a=i.firstCreatePass?pg(s,o,2,t,qp,ul(),n,r):i.data[s];if(Zp(a,o,e,t,Mg),ho(a)){let c=o[w];Iu(c,o,a),Mp(c,a,o)}return r!=null&&Ks(o,a),v}function y(){let e=ue(),t=we(),n=Yp(t);return e.firstCreatePass&&gg(e,n),dl(n)&&fl(),ll(),n.classesWithoutHost!=null&&lD(n)&&Zh(e,n,V(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&uD(n)&&Zh(e,n,V(),n.stylesWithoutHost,!1),y}function je(e,t,n,r){return v(e,t,n,r),y(),je}function Pt(e,t,n,r){let o=V(),i=o[w],s=e+ie,a=i.firstCreatePass?h_(s,i,2,t,n,r):i.data[s];return Zp(a,o,e,t,Mg),r!=null&&Ks(o,a),Pt}function Ft(){let e=we(),t=Yp(e);return dl(t)&&fl(),ll(),Ft}function oa(e,t,n,r){return Pt(e,t,n,r),Ft(),oa}var Mg=(e,t,n,r,o)=>(ys(!0),Ap(t[Y],r,Dh()));function ot(){return V()}function ia(e,t,n){let r=V(),o=Xt();if(mt(r,o,t)){let i=ue(),s=vo();Wp(s,r,e,t,r[Y],n)}return ia}var Ds=void 0;function X_(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var eE=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ds,[["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"]],Ds,[["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}",Ds,"{1} 'at' {0}",Ds],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",X_],Rl={};function Be(e){let t=tE(e),n=Yh(t);if(n)return n;let r=t.split("-")[0];if(n=Yh(r),n)return n;if(r==="en")return eE;throw new D(701,!1)}function Yh(e){return e in Rl||(Rl[e]=In.ng&&In.ng.common&&In.ng.common.locales&&In.ng.common.locales[e]),Rl[e]}var ne=(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})(ne||{});function tE(e){return e.toLowerCase().replace(/_/g,"-")}var Lo="en-US";var nE=Lo;function Sg(e){typeof e=="string"&&(nE=e.toLowerCase().replace(/_/g,"-"))}function K(e,t,n){let r=V(),o=ue(),i=we();return Tg(o,r,r[Y],i,e,t,n),K}function Vo(e,t,n){let r=V(),o=ue(),i=we();return(i.type&3||n)&&mg(i,o,r,n,r[Y],e,t,ws(i,r,t)),Vo}function Tg(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ws(r,t,i),mg(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let h=u[d],f=u[d+1];c??=ws(r,t,i),Uh(r,t,h,f,o,c)}if(l&&l.length)for(let d of l)c??=ws(r,t,i),Uh(r,t,d,o,o,c)}}function H(e=1){return yh(e)}function Cs(e,t){return e<<17|t<<2}function Vn(e){return e>>17&32767}function rE(e){return(e&2)==2}function oE(e,t){return e&131071|t<<17}function iu(e){return e|2}function wr(e){return(e&131068)>>2}function Ol(e,t){return e&-131069|t<<2}function iE(e){return(e&1)===1}function su(e){return e|1}function sE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Vn(s),c=wr(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||fr(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let h=Vn(e[a+1]);e[r+1]=Cs(h,a),h!==0&&(e[h+1]=Ol(e[h+1],r)),e[a+1]=oE(e[a+1],r)}else e[r+1]=Cs(a,0),a!==0&&(e[a+1]=Ol(e[a+1],r)),a=r;else e[r+1]=Cs(c,0),a===0?a=r:e[c+1]=Ol(e[c+1],r),c=r;l&&(e[r+1]=iu(e[r+1])),Qh(e,u,r,!0),Qh(e,u,r,!1),aE(t,u,e,r,i),s=Cs(a,c),i?t.classBindings=s:t.styleBindings=s}function aE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&fr(i,t)>=0&&(n[r+1]=su(n[r+1]))}function Qh(e,t,n,r){let o=e[n+1],i=t===null,s=r?Vn(o):wr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];cE(c,t)&&(a=!0,e[s+1]=r?su(l):iu(l)),s=r?Vn(l):wr(l)}a&&(e[n+1]=r?iu(o):su(o))}function cE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?fr(e,t)>=0:!1}function ye(e,t){return lE(e,t,null,!0),ye}function lE(e,t,n,r){let o=V(),i=ue(),s=uh(2);if(i.firstUpdatePass&&dE(i,e,s,r),t!==yt&&mt(o,s,t)){let a=i.data[en()];mE(i,a,o,o[Y],e,o[s+1]=vE(t,n),r,s)}}function uE(e,t){return t>=e.expandoStartIndex}function dE(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[en()],s=uE(e,n);yE(i,r)&&t===null&&!s&&(t=!1),t=fE(o,i,t,r),sE(o,i,t,n,s,r)}}function fE(e,t,n,r){let o=ph(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=kl(null,e,t,n,r),n=So(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=kl(o,e,t,n,r),i===null){let c=hE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=kl(null,e,t,c[1],r),c=So(c,t.attrs,r),pE(e,t,r,c))}else i=gE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function hE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(wr(r)!==0)return e[Vn(r)]}function pE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Vn(o)]=r}function gE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=So(r,s,n)}return So(r,t.attrs,n)}function kl(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=So(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function So(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]),Uf(e,s,n?!0:t[++i]))}return e===void 0?null:e}function mE(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=iE(l)?Kh(c,t,n,o,wr(l),s):void 0;if(!Us(u)){Us(i)||rE(l)&&(i=Kh(c,null,n,o,a,s));let d=ol(en(),n);DC(r,s,d,o,i)}}function Kh(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,h=n[o+1];h===yt&&(h=d?Pe:void 0);let f=d?ls(h,r):u===r?h:void 0;if(l&&!Us(f)&&(f=ls(c,r)),Us(f)&&(a=f,s))return a;let g=e[o+1];o=s?Vn(g):wr(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=ls(c,r))}return a}function Us(e){return e!==void 0}function vE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=It(Sp(e)))),e}function yE(e,t){return(e.flags&(t?8:16))!==0}function C(e,t=""){let n=V(),r=ue(),o=e+ie,i=r.firstCreatePass?No(r,o,1,t,null):r.data[o],s=DE(r,n,i,t,e);n[o]=s,vs()&&bu(r,n,s,i),vr(i,!1)}var DE=(e,t,n,r,o)=>(ys(!0),zD(t[Y],r));function CE(e,t,n,r=""){return mt(e,Xt(),n)?t+ss(n)+r:yt}function Te(e){return cn("",e),Te}function cn(e,t,n){let r=V(),o=CE(r,e,t,n);return o!==yt&&_E(r,en(),o),cn}function _E(e,t,n){let r=ol(t,e);GD(e[Y],r,n)}function ln(e,t,n){El(t)&&(t=t());let r=V(),o=Xt();if(mt(r,o,t)){let i=ue(),s=vo();Gp(s,r,e,t,r[Y],n)}return ln}function Hn(e,t){let n=El(e);return n&&e.set(t),n}function un(e,t){let n=V(),r=ue(),o=we();return Tg(r,n,n[Y],o,e,t),un}function EE(e,t,n){let r=ue();if(r.firstCreatePass){let o=ft(e);au(n,r.data,r.blueprint,o,!0),au(t,r.data,r.blueprint,o,!1)}}function au(e,t,n,r,o){if(e=ge(e),Array.isArray(e))for(let i=0;i<e.length;i++)au(e[i],t,n,r,o);else{let i=ue(),s=V(),a=we(),c=En(e)?e:ge(e.provide),l=Jc(e),u=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(En(e)||!e.multi){let f=new Pn(l,o,q,null),g=Fl(c,t,o?u:u+h,d);g===-1?(Vl(xs(a,s),i,c),Pl(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=Fl(c,t,u+h,d),g=Fl(c,t,u,u+h),E=f>=0&&n[f],O=g>=0&&n[g];if(o&&!O||!o&&!E){Vl(xs(a,s),i,c);let A=IE(o?wE:bE,n.length,o,r,l,e);!o&&O&&(n[g].providerFactory=A),Pl(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(A),s.push(A)}else{let A=xg(n[o?g:f],l,!o&&r);Pl(i,e,f>-1?f:g,A)}!o&&r&&O&&n[g].componentProviders++}}}function Pl(e,t,n,r){let o=En(t),i=qf(t);if(o||i){let c=(i?ge(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function xg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Fl(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function bE(e,t,n,r,o){return cu(this.multi,[])}function wE(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=As(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),cu(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],cu(i,s);return s}function cu(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function IE(e,t,n,r,o,i){let s=new Pn(e,n,q,null);return s.multi=[],s.index=t,s.componentProviders=0,xg(s,o,r&&!n),s}function Un(e,t=[]){return n=>{n.providersResolver=(r,o)=>EE(r,o?o(e):e,t)}}function ME(e,t){let n=e[t];return n===yt?void 0:n}function SE(e,t,n,r,o,i,s){let a=t+n;return g_(e,a,o,i)?p_(e,a+2,s?r.call(s,o,i):r(o,i)):ME(e,a+2)}function Lu(e,t){let n=ue(),r,o=e+ie;n.firstCreatePass?(r=TE(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=Gt(r.type,!0)),s,a=Me(q);try{let c=Ts(!1),l=i();return Ts(c),il(n,V(),o,l),l}finally{Me(a)}}function TE(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Vu(e,t,n,r){let o=e+ie,i=V(),s=Kf(i,o);return xE(i,o)?SE(i,ch(),t,s.transform,n,r,s):s.transform(n,r)}function xE(e,t){return e[w].data[t].pure}var $s=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},ju=(()=>{class e{compileModuleSync(n){return new Vs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Zc(n),i=Tp(o.declarations).reduce((s,a)=>{let c=Yt(a);return c&&s.push(new br(c)),s},[]);return new $s(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var AE=(()=>{class e{zone=p(de);changeDetectionScheduler=p(wn);applicationRef=p(an);applicationErrorHandler=p(Ze);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ag=new _("",{factory:()=>!1});function Bu({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new de(P(m({},Uu()),{scheduleInRootZone:n})),[{provide:de,useFactory:e},{provide:Zt,multi:!0,useFactory:()=>{let r=p(AE,{optional:!0});return()=>r.initialize()}},{provide:Zt,multi:!0,useFactory:()=>{let r=p(NE);return()=>{r.initialize()}}},t===!0?{provide:bl,useValue:!0}:[],{provide:wl,useValue:n??Lp},{provide:Ze,useFactory:()=>{let r=p(de),o=p(me),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(ct),i.handleError(s))})}}}]}function Hu(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Bu({ngZoneFactory:()=>{let o=Uu(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&on("NgZone_CoalesceEvent"),new de(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return io([{provide:Ag,useValue:!0},{provide:Do,useValue:!1},r])}function Uu(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var NE=(()=>{class e{subscription=new re;initialized=!1;zone=p(de);pendingTasks=p(St);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 \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ng=(()=>{class e{applicationErrorHandler=p(Ze);appRef=p(an);taskService=p(St);ngZone=p(de);zonelessEnabled=p(Do);tracing=p(Ao,{optional:!0});disableScheduling=p(bl,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new re;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Rs):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(wl,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Os||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Rh:Vp;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Rs+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();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){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Rh(()=>{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 \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function RE(){return typeof $localize<"u"&&$localize.locale||Lo}var jo=new _("",{providedIn:"root",factory:()=>p(jo,{optional:!0,skipSelf:!0})||RE()});function De(e){return Of(e)}function Tr(e,t){return xi(e,t?.equal)}var Rg=class{[be];constructor(t){this[be]=t}destroy(){this[be].destroy()}};var Pg=Symbol("InputSignalNode#UNSET"),qE=P(m({},Ai),{transformFn:void 0,applyValueToInputSignal(e,t){Xn(e,t)}});function Fg(e,t){let n=Object.create(qE);n.value=e,n.transformFn=t?.transform;function r(){if(Qn(n),n.value===Pg){let o=null;throw new D(-950,o)}return n.value}return r[be]=n,r}var ZE=new _("");ZE.__NG_ELEMENT_ID__=e=>{let t=we();if(t===null)throw new D(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new D(204,!1)};function Og(e,t){return Fg(e,t)}function YE(e){return Fg(Pg,e)}var Lg=(Og.required=YE,Og);var $u=new _(""),QE=new _("");function Bo(e){return!e.moduleRef}function KE(e){let t=Bo(e)?e.r3Injector:e.moduleRef.injector,n=t.get(de);return n.run(()=>{Bo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Ze),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Bo(e)){let i=()=>t.destroy(),s=e.platformInjector.get($u);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get($u);s.add(i),e.moduleRef.onDestroy(()=>{Eo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return XE(r,n,()=>{let i=t.get(St),s=i.add(),a=t.get(Ou);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(jo,Lo);if(Sg(c||Lo),!t.get(QE,!0))return Bo(e)?t.get(an):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Bo(e)){let u=t.get(an);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return JE?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var JE;function XE(e,t,n){try{let r=n();return sn(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var sa=null;function eb(e=[],t){return Xe.create({name:t,providers:[{provide:so,useValue:"platform"},{provide:$u,useValue:new Set([()=>sa=null])},...e]})}function tb(e=[]){if(sa)return sa;let t=eb(e);return sa=t,wg(),nb(t),t}function nb(e){let t=e.get(Ws,null);Se(e,()=>{t?.forEach(n=>n())})}var aa=(()=>{class e{static __NG_ELEMENT_ID__=rb}return e})();function rb(e){return ob(we(),V(),(e&16)===16)}function ob(e,t,n){if(Jt(e)&&!n){let r=We(e.index,t);return new rn(r,r)}else if(e.type&175){let r=t[Fe];return new rn(r,t)}return null}function Vg(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;W(8);try{let i=o?.injector??tb(r),s=[Bu({}),{provide:wn,useExisting:Ng},_h,...n||[]],a=new Mo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return KE({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{W(9)}}var Hg=null;function Ye(){return Hg}function zu(e){Hg??=e}var Ho=class{},Gu=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:()=>p(Ug),providedIn:"platform"})}return e})();var Ug=(()=>{class e extends Gu{_location;_history;_doc=p(ve);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ye().getBaseHref(this._doc)}onPopState(n){let r=Ye().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Ye().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 \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function $g(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function jg(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function dn(e){return e&&e[0]!=="?"?`?${e}`:e}var ca=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:()=>p(Gg),providedIn:"root"})}return e})(),zg=new _(""),Gg=(()=>{class e extends ca{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(ve).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 $g(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+dn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+dn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+dn(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 \u0275fac=function(r){return new(r||e)(N(Gu),N(zg,8))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xr=(()=>{class e{_subject=new ae;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=ab(jg(Bg(r))),this._locationStrategy.onPopState(o=>{this._subject.next({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+dn(r))}normalize(n){return e.stripTrailingSlash(sb(this._basePath,Bg(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+dn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+dn(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??void 0,complete:o??void 0})}static normalizeQueryParams=dn;static joinWithSlash=$g;static stripTrailingSlash=jg;static \u0275fac=function(r){return new(r||e)(N(ca))};static \u0275prov=b({token:e,factory:()=>ib(),providedIn:"root"})}return e})();function ib(){return new xr(N(ca))}function sb(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Bg(e){return e.replace(/\/index.html$/,"")}function ab(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var Ie=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Ie||{}),G=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(G||{}),Re=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(Re||{}),Vt={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 Zg(e){return Be(e)[ne.LocaleId]}function Yg(e,t,n){let r=Be(e),o=[r[ne.DayPeriodsFormat],r[ne.DayPeriodsStandalone]],i=Qe(o,t);return Qe(i,n)}function Qg(e,t,n){let r=Be(e),o=[r[ne.DaysFormat],r[ne.DaysStandalone]],i=Qe(o,t);return Qe(i,n)}function Kg(e,t,n){let r=Be(e),o=[r[ne.MonthsFormat],r[ne.MonthsStandalone]],i=Qe(o,t);return Qe(i,n)}function Jg(e,t){let r=Be(e)[ne.Eras];return Qe(r,t)}function Uo(e,t){let n=Be(e);return Qe(n[ne.DateFormat],t)}function $o(e,t){let n=Be(e);return Qe(n[ne.TimeFormat],t)}function zo(e,t){let r=Be(e)[ne.DateTimeFormat];return Qe(r,t)}function Go(e,t){let n=Be(e),r=n[ne.NumberSymbols][t];if(typeof r>"u"){if(t===Vt.CurrencyDecimal)return n[ne.NumberSymbols][Vt.Decimal];if(t===Vt.CurrencyGroup)return n[ne.NumberSymbols][Vt.Group]}return r}function Xg(e){if(!e[ne.ExtraData])throw new D(2303,!1)}function em(e){let t=Be(e);return Xg(t),(t[ne.ExtraData][2]||[]).map(r=>typeof r=="string"?Wu(r):[Wu(r[0]),Wu(r[1])])}function tm(e,t,n){let r=Be(e);Xg(r);let o=[r[ne.ExtraData][0],r[ne.ExtraData][1]],i=Qe(o,t)||[];return Qe(i,n)||[]}function Qe(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new D(2304,!1)}function Wu(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var cb=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,la={},lb=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function nm(e,t,n,r){let o=yb(e);t=Lt(n,t)||t;let s=[],a;for(;t;)if(a=lb.exec(t),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;t=u}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=om(r,c),o=vb(o,r));let l="";return s.forEach(u=>{let d=gb(u);l+=d?d(o,n,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function pa(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Lt(e,t){let n=Zg(e);if(la[n]??={},la[n][t])return la[n][t];let r="";switch(t){case"shortDate":r=Uo(e,Re.Short);break;case"mediumDate":r=Uo(e,Re.Medium);break;case"longDate":r=Uo(e,Re.Long);break;case"fullDate":r=Uo(e,Re.Full);break;case"shortTime":r=$o(e,Re.Short);break;case"mediumTime":r=$o(e,Re.Medium);break;case"longTime":r=$o(e,Re.Long);break;case"fullTime":r=$o(e,Re.Full);break;case"short":let o=Lt(e,"shortTime"),i=Lt(e,"shortDate");r=ua(zo(e,Re.Short),[o,i]);break;case"medium":let s=Lt(e,"mediumTime"),a=Lt(e,"mediumDate");r=ua(zo(e,Re.Medium),[s,a]);break;case"long":let c=Lt(e,"longTime"),l=Lt(e,"longDate");r=ua(zo(e,Re.Long),[c,l]);break;case"full":let u=Lt(e,"fullTime"),d=Lt(e,"fullDate");r=ua(zo(e,Re.Full),[u,d]);break}return r&&(la[n][t]=r),r}function ua(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function it(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 ub(e,t){return it(e,3).substring(0,t)}function se(e,t,n=0,r=!1,o=!1){return function(i,s){let a=db(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return ub(a,t);let c=Go(s,Vt.MinusSign);return it(a,t,c,r,o)}}function db(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new D(2301,!1)}}function Z(e,t,n=Ie.Format,r=!1){return function(o,i){return fb(o,i,e,t,n,r)}}function fb(e,t,n,r,o,i){switch(n){case 2:return Kg(t,o,r)[e.getMonth()];case 1:return Qg(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let l=em(t),u=tm(t,o,r),d=l.findIndex(h=>{if(Array.isArray(h)){let[f,g]=h,E=s>=f.hours&&a>=f.minutes,O=s<g.hours||s===g.hours&&a<g.minutes;if(f.hours<g.hours){if(E&&O)return!0}else if(E||O)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return Yg(t,o,r)[s<12?0:1];case 3:return Jg(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new D(2302,!1)}}function da(e){return function(t,n,r){let o=-1*r,i=Go(n,Vt.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+it(s,2,i)+it(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+it(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+it(s,2,i)+":"+it(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+it(s,2,i)+":"+it(Math.abs(o%60),2,i);default:throw new D(2310,!1)}}}var hb=0,ha=4;function pb(e){let t=pa(e,hb,1).getDay();return pa(e,0,1+(t<=ha?ha:ha+7)-t)}function rm(e){let t=e.getDay(),n=t===0?-3:ha-t;return pa(e.getFullYear(),e.getMonth(),e.getDate()+n)}function qu(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=rm(n),s=pb(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return it(o,e,Go(r,Vt.MinusSign))}}function fa(e,t=!1){return function(n,r){let i=rm(n).getFullYear();return it(i,e,Go(r,Vt.MinusSign),t)}}var Zu={};function gb(e){if(Zu[e])return Zu[e];let t;switch(e){case"G":case"GG":case"GGG":t=Z(3,G.Abbreviated);break;case"GGGG":t=Z(3,G.Wide);break;case"GGGGG":t=Z(3,G.Narrow);break;case"y":t=se(0,1,0,!1,!0);break;case"yy":t=se(0,2,0,!0,!0);break;case"yyy":t=se(0,3,0,!1,!0);break;case"yyyy":t=se(0,4,0,!1,!0);break;case"Y":t=fa(1);break;case"YY":t=fa(2,!0);break;case"YYY":t=fa(3);break;case"YYYY":t=fa(4);break;case"M":case"L":t=se(1,1,1);break;case"MM":case"LL":t=se(1,2,1);break;case"MMM":t=Z(2,G.Abbreviated);break;case"MMMM":t=Z(2,G.Wide);break;case"MMMMM":t=Z(2,G.Narrow);break;case"LLL":t=Z(2,G.Abbreviated,Ie.Standalone);break;case"LLLL":t=Z(2,G.Wide,Ie.Standalone);break;case"LLLLL":t=Z(2,G.Narrow,Ie.Standalone);break;case"w":t=qu(1);break;case"ww":t=qu(2);break;case"W":t=qu(1,!0);break;case"d":t=se(2,1);break;case"dd":t=se(2,2);break;case"c":case"cc":t=se(7,1);break;case"ccc":t=Z(1,G.Abbreviated,Ie.Standalone);break;case"cccc":t=Z(1,G.Wide,Ie.Standalone);break;case"ccccc":t=Z(1,G.Narrow,Ie.Standalone);break;case"cccccc":t=Z(1,G.Short,Ie.Standalone);break;case"E":case"EE":case"EEE":t=Z(1,G.Abbreviated);break;case"EEEE":t=Z(1,G.Wide);break;case"EEEEE":t=Z(1,G.Narrow);break;case"EEEEEE":t=Z(1,G.Short);break;case"a":case"aa":case"aaa":t=Z(0,G.Abbreviated);break;case"aaaa":t=Z(0,G.Wide);break;case"aaaaa":t=Z(0,G.Narrow);break;case"b":case"bb":case"bbb":t=Z(0,G.Abbreviated,Ie.Standalone,!0);break;case"bbbb":t=Z(0,G.Wide,Ie.Standalone,!0);break;case"bbbbb":t=Z(0,G.Narrow,Ie.Standalone,!0);break;case"B":case"BB":case"BBB":t=Z(0,G.Abbreviated,Ie.Format,!0);break;case"BBBB":t=Z(0,G.Wide,Ie.Format,!0);break;case"BBBBB":t=Z(0,G.Narrow,Ie.Format,!0);break;case"h":t=se(3,1,-12);break;case"hh":t=se(3,2,-12);break;case"H":t=se(3,1);break;case"HH":t=se(3,2);break;case"m":t=se(4,1);break;case"mm":t=se(4,2);break;case"s":t=se(5,1);break;case"ss":t=se(5,2);break;case"S":t=se(6,1);break;case"SS":t=se(6,2);break;case"SSS":t=se(6,3);break;case"Z":case"ZZ":case"ZZZ":t=da(0);break;case"ZZZZZ":t=da(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=da(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=da(2);break;default:return null}return Zu[e]=t,t}function om(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function mb(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function vb(e,t,n){let o=e.getTimezoneOffset(),i=om(t,o);return mb(e,-1*(i-o))}function yb(e){if(Wg(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 pa(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(cb))return Db(r)}let t=new Date(e);if(!Wg(t))throw new D(2311,!1);return t}function Db(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,c=Number(e[6]||0),l=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,l),t}function Wg(e){return e instanceof Date&&!isNaN(e.valueOf())}var Yu=(()=>{class e{_viewContainer;_context=new ga;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){qg(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){qg(n,!1),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 ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(q(Sr),q(ea))};static \u0275dir=Ve({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),ga=class{$implicit=null;ngIf=null};function qg(e,t){if(e&&!e.createEmbeddedView)throw new D(2020,!1)}function Cb(e,t){return new D(2100,!1)}var _b="mediumDate",im=new _(""),sm=new _(""),Qu=(()=>{class e{locale;defaultTimezone;defaultOptions;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??_b,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return nm(n,s,i||this.locale,a)}catch(s){throw Cb(e,s.message)}}static \u0275fac=function(r){return new(r||e)(q(jo,16),q(im,24),q(sm,24))};static \u0275pipe=xu({name:"date",type:e,pure:!0})}return e})();var fn=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Nt({type:e});static \u0275inj=ut({})}return e})();function Ku(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 Wo=class{};var am="browser";var qo=class{_doc;constructor(t){this._doc=t}manager},ma=(()=>{class e extends qo{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(N(ve))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),ya=new _(""),nd=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof ma));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof ma);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new D(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(N(ya),N(de))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),Ju="ng-app-id";function cm(e){for(let t of e)t.remove()}function lm(e,t){let n=t.createElement("style");return n.textContent=e,n}function wb(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Ju}="${t}"],link[${Ju}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Ju),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function ed(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var rd=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,wb(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,lm);r?.forEach(o=>this.addUsage(o,this.external,ed))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(cm(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])cm(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,lm(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,ed(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(N(ve),N(Gs),N(qs,8),N(Mr))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),Xu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},od=/%COMP%/g;var dm="%COMP%",Ib=`_nghost-${dm}`,Mb=`_ngcontent-${dm}`,Sb=!0,Tb=new _("",{providedIn:"root",factory:()=>Sb});function xb(e){return Mb.replace(od,e)}function Ab(e){return Ib.replace(od,e)}function fm(e,t){return t.map(n=>n.replace(od,e))}var id=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,l=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.tracingService=u,this.platformIsServer=!1,this.defaultRenderer=new Zo(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof va?o.applyToHost(n):o instanceof Yo&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer,h=this.tracingService;switch(r.encapsulation){case Tt.Emulated:i=new va(c,l,r,this.appId,u,s,a,d,h);break;case Tt.ShadowDom:return new td(c,l,n,r,s,a,this.nonce,d,h);default:i=new Yo(c,l,r,u,s,a,d,h);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(N(nd),N(rd),N(Gs),N(Tb),N(ve),N(Mr),N(de),N(qs),N(Ao,8))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),Zo=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Xu[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(um(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(um(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new D(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=Xu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Xu[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(gt.DashCase|gt.Important)?t.style.setProperty(n,r,o>.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r>.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t=="string"&&(t=Ye().getGlobalEventTarget(this.doc,t),!t))throw new D(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function um(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var td=class extends Zo{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,c,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=o.styles;u=fm(o.id,u);for(let h of u){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}let d=o.getExternalStyles?.();if(d)for(let h of d){let f=ed(h,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Yo=class extends Zo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=l?fm(l,u):u,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Er.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},va=class extends Yo{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,l){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,l,u),this.contentAttr=xb(u),this.hostAttr=Ab(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}};var Da=class e extends Ho{supportsDOMEvents=!0;static makeCurrent(){zu(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=Nb();return n==null?null:Rb(n)}resetBaseElement(){Qo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Ku(document.cookie,t)}},Qo=null;function Nb(){return Qo=Qo||document.head.querySelector("base"),Qo?Qo.getAttribute("href"):null}function Rb(e){return new URL(e,document.baseURI).pathname}var Ob=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})(),hm=["alt","control","meta","shift"],kb={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Pb={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},pm=(()=>{class e extends qo{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ye().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),hm.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=kb[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),hm.forEach(s=>{if(s!==o){let a=Pb[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static \u0275fac=function(r){return new(r||e)(N(ve))};static \u0275prov=b({token:e,factory:e.\u0275fac})}return e})();function sd(e,t,n){let r=m({rootComponent:e,platformRef:n?.platformRef},Fb(t));return Vg(r)}function Fb(e){return{appProviders:[...Hb,...e?.providers??[]],platformProviders:Bb}}function Lb(){Da.makeCurrent()}function Vb(){return new ct}function jb(){return fu(document),document}var Bb=[{provide:Mr,useValue:am},{provide:Ws,useValue:Lb,multi:!0},{provide:ve,useFactory:jb}];var Hb=[{provide:so,useValue:"root"},{provide:ct,useFactory:Vb},{provide:ya,useClass:ma,multi:!0,deps:[ve]},{provide:ya,useClass:pm,multi:!0,deps:[ve]},id,rd,nd,{provide:Fn,useExisting:id},{provide:Wo,useClass:Ob},[]];var gm=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(N(ve))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var R="primary",li=Symbol("RouteTitle"),dd=class{params;constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function Pr(e){return new dd(e)}function $b(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function zb(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Ct(e[n],t[n]))return!1;return!0}function Ct(e,t){let n=e?fd(e):void 0,r=t?fd(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!bm(e[o],t[o]))return!1;return!0}function fd(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function bm(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function wm(e){return e.length>0?e[e.length-1]:null}function Ht(e){return yc(e)?e:sn(e)?J(Promise.resolve(e)):S(e)}var Gb={exact:Mm,subset:Sm},Im={exact:Wb,subset:qb,ignored:()=>!0};function mm(e,t,n){return Gb[n.paths](e.root,t.root,n.matrixParams)&&Im[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function Wb(e,t){return Ct(e,t)}function Mm(e,t,n){if(!zn(e.segments,t.segments)||!Ea(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!Mm(e.children[r],t.children[r],n))return!1;return!0}function qb(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>bm(e[n],t[n]))}function Sm(e,t,n){return Tm(e,t,t.segments,n)}function Tm(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!zn(o,n)||t.hasChildren()||!Ea(o,n,r))}else if(e.segments.length===n.length){if(!zn(e.segments,n)||!Ea(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!Sm(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!zn(e.segments,o)||!Ea(e.segments,o,r)||!e.children[R]?!1:Tm(e.children[R],t,i,r)}}function Ea(e,t,n){return t.every((r,o)=>Im[n](e[o].parameters,r.parameters))}var Bt=class{root;queryParams;fragment;_queryParamMap;constructor(t=new $([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Pr(this.queryParams),this._queryParamMap}toString(){return Qb.serialize(this)}},$=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ba(this)}},$n=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=Pr(this.parameters),this._parameterMap}toString(){return Am(this)}};function Zb(e,t){return zn(e,t)&&e.every((n,r)=>Ct(n.parameters,t[r].parameters))}function zn(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function Yb(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===R&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==R&&(n=n.concat(t(o,r)))}),n}var Pa=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:()=>new Fr,providedIn:"root"})}return e})(),Fr=class{parse(t){let n=new pd(t);return new Bt(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Ko(t.root,!0)}`,r=Xb(t.queryParams),o=typeof t.fragment=="string"?`#${Kb(t.fragment)}`:"";return`${n}${r}${o}`}},Qb=new Fr;function ba(e){return e.segments.map(t=>Am(t)).join("/")}function Ko(e,t){if(!e.hasChildren())return ba(e);if(t){let n=e.children[R]?Ko(e.children[R],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==R&&r.push(`${o}:${Ko(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=Yb(e,(r,o)=>o===R?[Ko(e.children[R],!1)]:[`${o}:${Ko(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[R]!=null?`${ba(e)}/${n[0]}`:`${ba(e)}/(${n.join("//")})`}}function xm(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ca(e){return xm(e).replace(/%3B/gi,";")}function Kb(e){return encodeURI(e)}function hd(e){return xm(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function wa(e){return decodeURIComponent(e)}function vm(e){return wa(e.replace(/\+/g,"%20"))}function Am(e){return`${hd(e.path)}${Jb(e.parameters)}`}function Jb(e){return Object.entries(e).map(([t,n])=>`;${hd(t)}=${hd(n)}`).join("")}function Xb(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${Ca(n)}=${Ca(o)}`).join("&"):`${Ca(n)}=${Ca(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var ew=/^[^\/()?;#]+/;function ad(e){let t=e.match(ew);return t?t[0]:""}var tw=/^[^\/()?;=#]+/;function nw(e){let t=e.match(tw);return t?t[0]:""}var rw=/^[^=?&#]+/;function ow(e){let t=e.match(rw);return t?t[0]:""}var iw=/^[^&#]+/;function sw(e){let t=e.match(iw);return t?t[0]:""}var pd=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new $([],{}):new $([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[R]=new $(t,n)),r}parseSegment(){let t=ad(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new D(4009,!1);return this.capture(t),new $n(wa(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=nw(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=ad(this.remaining);o&&(r=o,this.capture(r))}t[wa(n)]=wa(r)}parseQueryParam(t){let n=ow(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=sw(this.remaining);s&&(r=s,this.capture(r))}let o=vm(n),i=vm(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=ad(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new D(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=R);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[R]:new $([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new D(4011,!1)}};function Nm(e){return e.segments.length>0?new $([],{[R]:e}):e}function Rm(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=Rm(o);if(r===R&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new $(e.segments,t);return aw(n)}function aw(e){if(e.numberOfChildren===1&&e.children[R]){let t=e.children[R];return new $(e.segments.concat(t.segments),t.children)}return e}function Lr(e){return e instanceof Bt}function cw(e,t,n=null,r=null){let o=Om(e);return km(o,t,n,r)}function Om(e){let t;function n(i){let s={};for(let c of i.children){let l=n(c);s[c.outlet]=l}let a=new $(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=Nm(r);return t??o}function km(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return cd(o,o,o,n,r);let i=lw(t);if(i.toRoot())return cd(o,o,new $([],{}),n,r);let s=uw(i,o,e),a=s.processChildren?Xo(s.segmentGroup,s.index,i.commands):Fm(s.segmentGroup,s.index,i.commands);return cd(o,s.segmentGroup,a,n,r)}function Ia(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function ni(e){return typeof e=="object"&&e!=null&&e.outlets}function cd(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,l])=>{i[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;e===t?s=n:s=Pm(e,t,n);let a=Nm(Rm(s));return new Bt(a,i,o)}function Pm(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=Pm(i,t,n)}),new $(e.segments,r)}var Ma=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Ia(r[0]))throw new D(4003,!1);let o=r.find(ni);if(o&&o!==wm(r))throw new D(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function lw(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Ma(!0,0,e);let t=0,n=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Ma(n,t,r)}var Rr=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function uw(e,t,n){if(e.isAbsolute)return new Rr(t,!0,0);if(!n)return new Rr(t,!1,NaN);if(n.parent===null)return new Rr(n,!0,0);let r=Ia(e.commands[0])?0:1,o=n.segments.length-1+r;return dw(n,o,e.numberOfDoubleDots)}function dw(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new D(4005,!1);o=r.segments.length}return new Rr(r,!1,o-i)}function fw(e){return ni(e[0])?e[0].outlets:{[R]:e}}function Fm(e,t,n){if(e??=new $([],{}),e.segments.length===0&&e.hasChildren())return Xo(e,t,n);let r=hw(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new $(e.segments.slice(0,r.pathIndex),{});return i.children[R]=new $(e.segments.slice(r.pathIndex),e.children),Xo(i,0,o)}else return r.match&&o.length===0?new $(e.segments,{}):r.match&&!e.hasChildren()?gd(e,t,n):r.match?Xo(e,0,o):gd(e,t,n)}function Xo(e,t,n){if(n.length===0)return new $(e.segments,{});{let r=fw(n),o={};if(Object.keys(r).some(i=>i!==R)&&e.children[R]&&e.numberOfChildren===1&&e.children[R].segments.length===0){let i=Xo(e.children[R],t,n);return new $(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Fm(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new $(e.segments,o)}}function hw(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(ni(a))break;let c=`${a}`,l=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!Dm(c,l,s))return i;r+=2}else{if(!Dm(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function gd(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(ni(i)){let c=pw(i.outlets);return new $(r,c)}if(o===0&&Ia(n[0])){let c=e.segments[t];r.push(new $n(c.path,ym(n[0]))),o++;continue}let s=ni(i)?i.outlets[R]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&Ia(a)?(r.push(new $n(s,ym(a))),o+=2):(r.push(new $n(s,{})),o++)}return new $(r,{})}function pw(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=gd(new $([],{}),0,r))}),t}function ym(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Dm(e,t,n){return e==n.path&&Ct(t,n.parameters)}var ei="imperative",Ce=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(Ce||{}),Ke=class{id;url;constructor(t,n){this.id=t,this.url=n}},Vr=class extends Ke{type=Ce.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},hn=class extends Ke{urlAfterRedirects;type=Ce.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Oe=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(Oe||{}),Sa=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(Sa||{}),jt=class extends Ke{reason;code;type=Ce.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},pn=class extends Ke{reason;code;type=Ce.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},ri=class extends Ke{error;target;type=Ce.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ta=class extends Ke{urlAfterRedirects;state;type=Ce.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},md=class extends Ke{urlAfterRedirects;state;type=Ce.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vd=class extends Ke{urlAfterRedirects;state;shouldActivate;type=Ce.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},yd=class extends Ke{urlAfterRedirects;state;type=Ce.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Dd=class extends Ke{urlAfterRedirects;state;type=Ce.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Cd=class{route;type=Ce.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},_d=class{route;type=Ce.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ed=class{snapshot;type=Ce.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},bd=class{snapshot;type=Ce.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},wd=class{snapshot;type=Ce.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Id=class{snapshot;type=Ce.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var oi=class{},jr=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function gw(e){return!(e instanceof oi)&&!(e instanceof jr)}function mw(e,t){return e.providers&&!e._injector&&(e._injector=ko(e.providers,t,`Route: ${e.path}`)),e._injector??t}function st(e){return e.outlet||R}function vw(e,t){let n=e.filter(r=>st(r)===t);return n.push(...e.filter(r=>st(r)!==t)),n}function Hr(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Md=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Hr(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new ui(this.rootInjector)}},ui=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Md(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(N(me))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),xa=class{_root;constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=Sd(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Sd(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Td(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Td(t,this._root).map(n=>n.value)}};function Sd(e,t){if(e===t.value)return t;for(let n of t.children){let r=Sd(e,n);if(r)return r}return null}function Td(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Td(e,n);if(r.length)return r.unshift(t),r}return[]}var He=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function Nr(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Aa=class extends xa{snapshot;constructor(t,n){super(t),this.snapshot=n,Ld(this,t)}toString(){return this.snapshot.toString()}};function Lm(e){let t=yw(e),n=new pe([new $n("",{})]),r=new pe({}),o=new pe({}),i=new pe({}),s=new pe(""),a=new Gn(n,r,i,s,o,R,e,t.root);return a.snapshot=t.root,new Aa(new He(a,[]),t)}function yw(e){let t={},n={},r={},i=new Or([],t,r,"",n,R,e,null,{});return new Ra("",new He(i,[]))}var Gn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(L(l=>l[li]))??S(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(L(t=>Pr(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(L(t=>Pr(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Na(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:m(m({},t.params),e.params),data:m(m({},t.data),e.data),resolve:m(m(m(m({},e.data),t.data),o?.data),e._resolvedData)}:r={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&jm(o)&&(r.resolve[li]=o.title),r}var Or=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[li]}constructor(t,n,r,o,i,s,a,c,l){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Pr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Pr(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},Ra=class extends xa{url;constructor(t,n){super(n),this.url=t,Ld(this,n)}toString(){return Vm(this._root)}};function Ld(e,t){t.value._routerState=e,t.children.forEach(n=>Ld(e,n))}function Vm(e){let t=e.children.length>0?` { ${e.children.map(Vm).join(", ")} } `:"";return`${e.value}${t}`}function ld(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Ct(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Ct(t.params,n.params)||e.paramsSubject.next(n.params),zb(t.url,n.url)||e.urlSubject.next(n.url),Ct(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function xd(e,t){let n=Ct(e.params,t.params)&&Zb(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||xd(e.parent,t.parent))}function jm(e){return typeof e.title=="string"||e.title===null}var Dw=new _(""),Bm=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=R;activateEvents=new Q;deactivateEvents=new Q;attachEvents=new Q;detachEvents=new Q;routerOutletData=Lg(void 0);parentContexts=p(ui);location=p(Sr);changeDetector=p(aa);inputBinder=p(Fa,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new D(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new D(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new D(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new D(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Ad(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Ve({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[xt]})}return e})(),Ad=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===Gn?this.route:t===ui?this.childContexts:t===Dw?this.outletData:this.parent.get(t,n)}},Fa=new _("");var Hm=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=At({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&je(0,"router-outlet")},dependencies:[Bm],encapsulation:2})}return e})();function Vd(e){let t=e.children&&e.children.map(Vd),n=t?P(m({},e),{children:t}):m({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==R&&(n.component=Hm),n}function Cw(e,t,n){let r=ii(e,t._root,n?n._root:void 0);return new Aa(r,t)}function ii(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=_w(e,t,n);return new He(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>ii(e,a)),s}}let r=Ew(t.value),o=t.children.map(i=>ii(e,i));return new He(r,o)}}function _w(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return ii(e,r,o);return ii(e,r)})}function Ew(e){return new Gn(new pe(e.url),new pe(e.params),new pe(e.queryParams),new pe(e.fragment),new pe(e.data),e.outlet,e.component,e)}var si=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},Um="ngNavigationCancelingError";function Oa(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=Lr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=$m(!1,Oe.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function $m(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Um]=!0,n.cancellationCode=t,n}function bw(e){return zm(e)&&Lr(e.url)}function zm(e){return!!e&&e[Um]}var ww=(e,t,n,r)=>L(o=>(new Nd(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),Nd=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),ld(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=Nr(n);t.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Nr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=Nr(t);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){let o=Nr(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Id(i.value.snapshot))}),t.children.length&&this.forwardEvent(new bd(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(ld(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),ld(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},ka=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},kr=class{component;route;constructor(t,n){this.component=t,this.route=n}};function Iw(e,t,n){let r=e._root,o=t?t._root:null;return Jo(r,o,n,[r.value])}function Mw(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function Ur(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Lc(e)?e:t.get(e):r}function Jo(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Nr(t);return e.children.forEach(s=>{Sw(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>ti(a,n.getContext(s),o)),o}function Sw(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=Tw(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ka(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Jo(e,t,a?a.children:null,r,o):Jo(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new kr(a.outlet.component,s))}else s&&ti(t,a,o),o.canActivateChecks.push(new ka(r)),i.component?Jo(e,null,a?a.children:null,r,o):Jo(e,null,n,r,o);return o}function Tw(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!zn(e.url,t.url);case"pathParamsOrQueryParamsChange":return!zn(e.url,t.url)||!Ct(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xd(e,t)||!Ct(e.queryParams,t.queryParams);case"paramsChange":default:return!xd(e,t)}}function ti(e,t,n){let r=Nr(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?ti(s,t.children.getContext(i),n):ti(s,null,n):ti(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new kr(t.outlet.component,o)):n.canDeactivateChecks.push(new kr(null,o)):n.canDeactivateChecks.push(new kr(null,o))}function di(e){return typeof e=="function"}function xw(e){return typeof e=="boolean"}function Aw(e){return e&&di(e.canLoad)}function Nw(e){return e&&di(e.canActivate)}function Rw(e){return e&&di(e.canActivateChild)}function Ow(e){return e&&di(e.canDeactivate)}function kw(e){return e&&di(e.canMatch)}function Gm(e){return e instanceof _t||e?.name==="EmptyError"}var _a=Symbol("INITIAL_VALUE");function Br(){return Ne(e=>Ji(e.map(t=>t.pipe(Et(1),Ec(_a)))).pipe(L(t=>{for(let n of t)if(n!==!0){if(n===_a)return _a;if(n===!1||Pw(n))return n}return!0}),Ue(t=>t!==_a),Et(1)))}function Pw(e){return Lr(e)||e instanceof si}function Fw(e,t){return ce(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?S(P(m({},n),{guardsResult:!0})):Lw(s,r,o,e).pipe(ce(a=>a&&xw(a)?Vw(r,i,e,t):S(a)),L(a=>P(m({},n),{guardsResult:a})))})}function Lw(e,t,n,r){return J(e).pipe(ce(o=>$w(o.component,o.route,n,t,r)),bt(o=>o!==!0,!0))}function Vw(e,t,n,r){return J(t).pipe(lr(o=>cr(Bw(o.route.parent,r),jw(o.route,r),Uw(e,o.path,n),Hw(e,o.route,n))),bt(o=>o!==!0,!0))}function jw(e,t){return e!==null&&t&&t(new wd(e)),S(!0)}function Bw(e,t){return e!==null&&t&&t(new Ed(e)),S(!0)}function Hw(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return S(!0);let o=r.map(i=>Jr(()=>{let s=Hr(t)??n,a=Ur(i,s),c=Nw(a)?a.canActivate(t,e):Se(s,()=>a(t,e));return Ht(c).pipe(bt())}));return S(o).pipe(Br())}function Uw(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>Mw(s)).filter(s=>s!==null).map(s=>Jr(()=>{let a=s.guards.map(c=>{let l=Hr(s.node)??n,u=Ur(c,l),d=Rw(u)?u.canActivateChild(r,e):Se(l,()=>u(r,e));return Ht(d).pipe(bt())});return S(a).pipe(Br())}));return S(i).pipe(Br())}function $w(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return S(!0);let s=i.map(a=>{let c=Hr(t)??o,l=Ur(a,c),u=Ow(l)?l.canDeactivate(e,t,n,r):Se(c,()=>l(e,t,n,r));return Ht(u).pipe(bt())});return S(s).pipe(Br())}function zw(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return S(!0);let i=o.map(s=>{let a=Ur(s,e),c=Aw(a)?a.canLoad(t,n):Se(e,()=>a(t,n));return Ht(c)});return S(i).pipe(Br(),Wm(r))}function Wm(e){return pc(fe(t=>{if(typeof t!="boolean")throw Oa(e,t)}),L(t=>t===!0))}function Gw(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return S(!0);let i=o.map(s=>{let a=Ur(s,e),c=kw(a)?a.canMatch(t,n):Se(e,()=>a(t,n));return Ht(c)});return S(i).pipe(Br(),Wm(r))}var ai=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},ci=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function Ar(e){return ar(new ai(e))}function Ww(e){return ar(new D(4e3,!1))}function qw(e){return ar($m(!1,Oe.GuardRejected))}var Rd=class{urlSerializer;urlTree;constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return S(r);if(o.numberOfChildren>1||!o.children[R])return Ww(`${t.redirectTo}`);o=o.children[R]}}applyRedirectCommands(t,n,r,o,i){return Zw(n,o,i).pipe(L(s=>{if(s instanceof Bt)throw new ci(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new ci(a);return a}))}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new Bt(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new $(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new D(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}};function Zw(e,t,n){if(typeof e=="string")return S(e);let r=e,{queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,params:l,data:u,title:d}=t;return Ht(Se(n,()=>r({params:l,data:u,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d})))}var Od={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Yw(e,t,n,r,o){let i=qm(e,t,n);return i.matched?(r=mw(t,r),Gw(r,t,n,o).pipe(L(s=>s===!0?i:m({},Od)))):S(i)}function qm(e,t,n){if(t.path==="**")return Qw(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?m({},Od):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||$b)(n,e,t);if(!o)return m({},Od);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?m(m({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Qw(e){return{matched:!0,parameters:e.length>0?wm(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Cm(e,t,n,r){return n.length>0&&Xw(e,n,r)?{segmentGroup:new $(t,Jw(r,new $(n,e.children))),slicedSegments:[]}:n.length===0&&eI(e,n,r)?{segmentGroup:new $(e.segments,Kw(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new $(e.segments,e.children),slicedSegments:n}}function Kw(e,t,n,r){let o={};for(let i of n)if(La(e,t,i)&&!r[st(i)]){let s=new $([],{});o[st(i)]=s}return m(m({},r),o)}function Jw(e,t){let n={};n[R]=t;for(let r of e)if(r.path===""&&st(r)!==R){let o=new $([],{});n[st(r)]=o}return n}function Xw(e,t,n){return n.some(r=>La(e,t,r)&&st(r)!==R)}function eI(e,t,n){return n.some(r=>La(e,t,r))}function La(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function tI(e,t,n){return t.length===0&&!e.children[n]}var kd=class{};function nI(e,t,n,r,o,i,s="emptyOnly"){return new Pd(e,t,n,r,o,s,i).recognize()}var rI=31,Pd=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Rd(this.urlSerializer,this.urlTree)}noMatchError(t){return new D(4002,`'${t.segmentGroup}'`)}recognize(){let t=Cm(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(L(({children:n,rootSnapshot:r})=>{let o=new He(r,n),i=new Ra("",o),s=cw(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new Or([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),R,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,R,n).pipe(L(r=>({children:r,rootSnapshot:n})),$t(r=>{if(r instanceof ci)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof ai?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(L(s=>s instanceof He?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return J(i).pipe(lr(s=>{let a=r.children[s],c=vw(n,s);return this.processSegmentGroup(t,c,a,s,o)}),_c((s,a)=>(s.push(...a),s)),zt(null),Cc(),ce(s=>{if(s===null)return Ar(r);let a=Zm(s);return oI(a),S(a)}))}processSegment(t,n,r,o,i,s,a){return J(n).pipe(lr(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe($t(l=>{if(l instanceof ai)return S(null);throw l}))),bt(c=>!!c),$t(c=>{if(Gm(c))return tI(r,o,i)?S(new kd):Ar(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return st(r)!==s&&(s===R||!La(o,i,r))?Ar(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):Ar(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=qm(n,o,i);if(!c)return Ar(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>rI&&(this.allowRedirects=!1));let f=new Or(i,l,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,_m(o),st(o),o.component??o._loadedComponent??null,o,Em(o)),g=Na(f,a,this.paramsInheritanceStrategy);return f.params=Object.freeze(g.params),f.data=Object.freeze(g.data),this.applyRedirects.applyRedirectCommands(u,o.redirectTo,d,f,t).pipe(Ne(O=>this.applyRedirects.lineralizeSegments(o,O)),ce(O=>this.processSegment(t,r,n,O.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=Yw(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(Ne(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(Ne(({routes:l})=>{let u=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=new Or(h,d,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,_m(r),st(r),r.component??r._loadedComponent??null,r,Em(r)),E=Na(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(E.params),g.data=Object.freeze(E.data);let{segmentGroup:O,slicedSegments:A}=Cm(n,h,f,l);if(A.length===0&&O.hasChildren())return this.processChildren(u,l,O,g).pipe(L(Di=>new He(g,Di)));if(l.length===0&&A.length===0)return S(new He(g,[]));let mn=st(r)===i;return this.processSegment(u,l,O,A,mn?R:i,!0,g).pipe(L(Di=>new He(g,Di instanceof He?[Di]:[])))}))):Ar(n)))}getChildConfig(t,n,r){return n.children?S({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?S({routes:n._loadedRoutes,injector:n._loadedInjector}):zw(t,n,r,this.urlSerializer).pipe(ce(o=>o?this.configLoader.loadChildren(t,n).pipe(fe(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):qw(n))):S({routes:[],injector:t})}};function oI(e){e.sort((t,n)=>t.value.outlet===R?-1:n.value.outlet===R?1:t.value.outlet.localeCompare(n.value.outlet))}function iI(e){let t=e.value.routeConfig;return t&&t.path===""}function Zm(e){let t=[],n=new Set;for(let r of e){if(!iI(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=Zm(r.children);t.push(new He(r.value,o))}return t.filter(r=>!n.has(r))}function _m(e){return e.data||{}}function Em(e){return e.resolve||{}}function sI(e,t,n,r,o,i){return ce(s=>nI(e,t,n,r,s.extractedUrl,o,i).pipe(L(({state:a,tree:c})=>P(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function aI(e,t){return ce(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return S(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let l of Ym(c))s.add(l);let a=0;return J(s).pipe(lr(c=>i.has(c)?cI(c,r,e,t):(c.data=Na(c,c.parent,e).resolve,S(void 0))),fe(()=>a++),ur(1),ce(c=>a===s.size?S(n):xe))})}function Ym(e){let t=e.children.map(n=>Ym(n)).flat();return[e,...t]}function cI(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!jm(o)&&(i[li]=o.title),Jr(()=>(e.data=Na(e,e.parent,n).resolve,lI(i,e,t,r).pipe(L(s=>(e._resolvedData=s,e.data=m(m({},e.data),s),null)))))}function lI(e,t,n,r){let o=fd(e);if(o.length===0)return S({});let i={};return J(o).pipe(ce(s=>uI(e[s],t,n,r).pipe(bt(),fe(a=>{if(a instanceof si)throw Oa(new Fr,a);i[s]=a}))),ur(1),L(()=>i),$t(s=>Gm(s)?xe:ar(s)))}function uI(e,t,n,r){let o=Hr(t)??r,i=Ur(e,o),s=i.resolve?i.resolve(t,n):Se(o,()=>i(t,n));return Ht(s)}function ud(e){return Ne(t=>{let n=e(t);return n?J(n).pipe(L(()=>t)):S(t)})}var Qm=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===R);return r}getResolvedTitleForRoute(n){return n.data[li]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:()=>p(dI),providedIn:"root"})}return e})(),dI=(()=>{class e extends Qm{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(N(gm))};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Va=new _("",{providedIn:"root",factory:()=>({})}),ja=new _(""),Km=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(ju);loadComponent(n,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return S(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=Ht(Se(n,()=>r.loadComponent())).pipe(L(Jm),Ne(Xm),fe(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Xr(()=>{this.componentLoaders.delete(r)})),i=new sr(o,()=>new ae).pipe(ir());return this.componentLoaders.set(r,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return S({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=fI(r,this.compiler,n,this.onLoadEndListener).pipe(Xr(()=>{this.childrenLoaders.delete(r)})),s=new sr(i,()=>new ae).pipe(ir());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function fI(e,t,n,r){return Ht(Se(n,()=>e.loadChildren())).pipe(L(Jm),Ne(Xm),ce(o=>o instanceof na||Array.isArray(o)?S(o):J(t.compileModuleAsync(o))),L(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(ja,[],{optional:!0,self:!0}).flat()),{routes:s.map(Vd),injector:i}}))}function hI(e){return e&&typeof e=="object"&&"default"in e}function Jm(e){return hI(e)?e.default:e}function Xm(e){return S(e)}var jd=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:()=>p(pI),providedIn:"root"})}return e})(),pI=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ev=new _("");var tv=new _(""),nv=(()=>{class e{currentNavigation=ht(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new ae;transitionAbortWithErrorSubject=new ae;configLoader=p(Km);environmentInjector=p(me);destroyRef=p(On);urlSerializer=p(Pa);rootContexts=p(ui);location=p(xr);inputBindingEnabled=p(Fa,{optional:!0})!==null;titleStrategy=p(Qm);options=p(Va,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(jd);createViewTransition=p(ev,{optional:!0});navigationErrorHandler=p(tv,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>S(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new Cd(o)),r=o=>this.events.next(new _d(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;De(()=>{this.transitions?.next(P(m({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(n){return this.transitions=new pe(null),this.transitions.pipe(Ue(r=>r!==null),Ne(r=>{let o=!1;return S(r).pipe(Ne(i=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Oe.SupersededByNewNavigation),xe;this.currentTransition=r,this.currentNavigation.set({id:i.id,initialUrl:i.rawUrl,extractedUrl:i.extractedUrl,targetBrowserUrl:typeof i.extras.browserUrl=="string"?this.urlSerializer.parse(i.extras.browserUrl):i.extras.browserUrl,trigger:i.source,extras:i.extras,previousNavigation:this.lastSuccessfulNavigation?P(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>i.abortController.abort()});let s=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=i.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new pn(i.id,this.urlSerializer.serialize(i.rawUrl),"",Sa.IgnoredSameUrlNavigation)),i.resolve(!1),xe;if(this.urlHandlingStrategy.shouldProcessUrl(i.rawUrl))return S(i).pipe(Ne(c=>(this.events.next(new Vr(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?xe:Promise.resolve(c))),sI(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),fe(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation.update(u=>(u.finalUrl=c.urlAfterRedirects,u));let l=new Ta(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(i.currentRawUrl)){let{id:c,extractedUrl:l,source:u,restoredState:d,extras:h}=i,f=new Vr(c,this.urlSerializer.serialize(l),u,d);this.events.next(f);let g=Lm(this.rootComponentType).snapshot;return this.currentTransition=r=P(m({},i),{targetSnapshot:g,urlAfterRedirects:l,extras:P(m({},h),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(E=>(E.finalUrl=l,E)),S(r)}else return this.events.next(new pn(i.id,this.urlSerializer.serialize(i.extractedUrl),"",Sa.IgnoredByUrlHandlingStrategy)),i.resolve(!1),xe}),fe(i=>{let s=new md(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot);this.events.next(s)}),L(i=>(this.currentTransition=r=P(m({},i),{guards:Iw(i.targetSnapshot,i.currentSnapshot,this.rootContexts)}),r)),Fw(this.environmentInjector,i=>this.events.next(i)),fe(i=>{if(r.guardsResult=i.guardsResult,i.guardsResult&&typeof i.guardsResult!="boolean")throw Oa(this.urlSerializer,i.guardsResult);let s=new vd(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot,!!i.guardsResult);this.events.next(s)}),Ue(i=>i.guardsResult?!0:(this.cancelNavigationTransition(i,"",Oe.GuardRejected),!1)),ud(i=>{if(i.guards.canActivateChecks.length!==0)return S(i).pipe(fe(s=>{let a=new yd(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),Ne(s=>{let a=!1;return S(s).pipe(aI(this.paramsInheritanceStrategy,this.environmentInjector),fe({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",Oe.NoDataFromResolver)}}))}),fe(s=>{let a=new Dd(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),ud(i=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let l=Hr(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(l,a.routeConfig).pipe(fe(u=>{a.component=u}),L(()=>{})))}for(let l of a.children)c.push(...s(l));return c};return Ji(s(i.targetSnapshot.root)).pipe(zt(null),Et(1))}),ud(()=>this.afterPreactivation()),Ne(()=>{let{currentSnapshot:i,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,i.root,s.root);return a?J(a).pipe(L(()=>r)):S(r)}),L(i=>{let s=Cw(n.routeReuseStrategy,i.targetSnapshot,i.currentRouterState);return this.currentTransition=r=P(m({},i),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),fe(()=>{this.events.next(new oi)}),ww(this.rootContexts,n.routeReuseStrategy,i=>this.events.next(i),this.inputBindingEnabled),Et(1),es(new j(i=>{let s=r.abortController.signal,a=()=>i.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(Ue(()=>!o&&!r.targetRouterState),fe(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",Oe.Aborted)}))),fe({next:i=>{o=!0,this.lastSuccessfulNavigation=De(this.currentNavigation),this.events.next(new hn(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects))),this.titleStrategy?.updateTitle(i.targetRouterState.snapshot),i.resolve(!0)},complete:()=>{o=!0}}),es(this.transitionAbortWithErrorSubject.pipe(fe(i=>{throw i}))),Xr(()=>{o||this.cancelNavigationTransition(r,"",Oe.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),$t(i=>{if(this.destroyed)return r.resolve(!1),xe;if(o=!0,zm(i))this.events.next(new jt(r.id,this.urlSerializer.serialize(r.extractedUrl),i.message,i.cancellationCode)),bw(i)?this.events.next(new jr(i.url,i.navigationBehaviorOptions)):r.resolve(!1);else{let s=new ri(r.id,this.urlSerializer.serialize(r.extractedUrl),i,r.targetSnapshot??void 0);try{let a=Se(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof si){let{message:c,cancellationCode:l}=Oa(this.urlSerializer,a);this.events.next(new jt(r.id,this.urlSerializer.serialize(r.extractedUrl),c,l)),this.events.next(new jr(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),i}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return xe}))}))}cancelNavigationTransition(n,r,o){let i=new jt(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=De(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function gI(e){return e!==ei}var mI=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:()=>p(vI),providedIn:"root"})}return e})(),Fd=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},vI=(()=>{class e extends Fd{static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ir(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rv=(()=>{class e{urlSerializer=p(Pa);options=p(Va,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(xr);urlHandlingStrategy=p(jd);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Bt;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof Bt?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=Lm(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:()=>p(yI),providedIn:"root"})}return e})(),yI=(()=>{class e extends rv{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate")})})}handleRouterEvent(n,r){n instanceof Vr?this.updateStateMemento():n instanceof pn?this.commitTransition(r):n instanceof Ta?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof oi?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof jt&&n.code!==Oe.SupersededByNewNavigation&&n.code!==Oe.Redirect?this.restoreHistory(r):n instanceof ri?this.restoreHistory(r,!0):n instanceof hn&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(n)||i){let a=this.browserPageId,c=m(m({},s),this.generateNgRouterState(o,a));this.location.replaceState(n,"",c)}else{let a=m(m({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(n,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ir(e)))(o||e)}})();static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ov(e,t){e.events.pipe(Ue(n=>n instanceof hn||n instanceof jt||n instanceof ri||n instanceof pn),L(n=>n instanceof hn||n instanceof pn?0:(n instanceof jt?n.code===Oe.Redirect||n.code===Oe.SupersededByNewNavigation:!1)?2:1),Ue(n=>n!==2),Et(1)).subscribe(()=>{t()})}var DI={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},CI={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Bd=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(Au);stateManager=p(rv);options=p(Va,{optional:!0})||{};pendingTasks=p(St);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(nv);urlSerializer=p(Pa);location=p(xr);urlHandlingStrategy=p(jd);injector=p(me);_events=new ae;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(mI);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(ja,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(Fa,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new re;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=De(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof jt&&r.code!==Oe.Redirect&&r.code!==Oe.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof hn)this.navigated=!0;else if(r instanceof jr){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=m({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||gI(o.source)},s);this.scheduleNavigation(a,ei,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}gw(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ei,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o)=>{this.navigateToSyncWithBrowser(n,o,r)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=m({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(Ze)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return De(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(Vd),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=m(m({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=Om(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return km(d,n,u,l??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=Lr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,ei,null,r)}navigate(n,r={skipLocationChange:!1}){return _I(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=m({},DI):r===!1?o=m({},CI):o=r,Lr(n))return mm(this.currentUrlTree,n,o);let i=this.parseUrl(n);return mm(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,h)=>{a=d,c=h});let u=this.pendingTasks.add();return ov(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=b({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function _I(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new D(4008,!1)}var bI=new _("");function Hd(e,...t){return io([{provide:ja,multi:!0,useValue:e},[],{provide:Gn,useFactory:wI,deps:[Bd]},{provide:ra,multi:!0,useFactory:II},t.map(n=>n.\u0275providers)])}function wI(e){return e.routerState.root}function II(){let e=p(Xe);return t=>{let n=e.get(an);if(t!==n.components[0])return;let r=e.get(Bd),o=e.get(MI);e.get(SI)===1&&r.initialNavigation(),e.get(TI,null,{optional:!0})?.setUpPreloading(),e.get(bI,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var MI=new _("",{factory:()=>new ae}),SI=new _("",{providedIn:"root",factory:()=>1});var TI=new _("");var iv=[];var sv={providers:[Hu({eventCoalescing:!0}),Hd(iv)]};var pv=(()=>{class e{_renderer;_elementRef;onChange=n=>{};onTouched=()=>{};constructor(n,r){this._renderer=n,this._elementRef=r}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static \u0275fac=function(r){return new(r||e)(q(Oo),q(vt))};static \u0275dir=Ve({type:e})}return e})(),AI=(()=>{class e extends pv{static \u0275fac=(()=>{let n;return function(o){return(n||(n=Ir(e)))(o||e)}})();static \u0275dir=Ve({type:e,features:[Rt]})}return e})(),Qa=new _("");var NI={provide:Qa,useExisting:lt(()=>gv),multi:!0};function RI(){let e=Ye()?Ye().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var OI=new _(""),gv=(()=>{class e extends pv{_compositionMode;_composing=!1;constructor(n,r,o){super(n,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!RI())}writeValue(n){let r=n??"";this.setProperty("value",r)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static \u0275fac=function(r){return new(r||e)(q(Oo),q(vt),q(OI,8))};static \u0275dir=Ve({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&K("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[Un([NI]),Rt]})}return e})();var mv=new _(""),vv=new _("");function yv(e){return e!=null}function Dv(e){return sn(e)?J(e):e}function Cv(e){let t={};return e.forEach(n=>{t=n!=null?m(m({},t),n):t}),Object.keys(t).length===0?null:t}function _v(e,t){return t.map(n=>n(e))}function kI(e){return!e.validate}function Ev(e){return e.map(t=>kI(t)?t:n=>t.validate(n))}function PI(e){if(!e)return null;let t=e.filter(yv);return t.length==0?null:function(n){return Cv(_v(n,t))}}function bv(e){return e!=null?PI(Ev(e)):null}function FI(e){if(!e)return null;let t=e.filter(yv);return t.length==0?null:function(n){let r=_v(n,t).map(Dv);return Dc(r).pipe(L(Cv))}}function wv(e){return e!=null?FI(Ev(e)):null}function av(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Iv(e){return e._rawValidators}function Mv(e){return e._rawAsyncValidators}function Ud(e){return e?Array.isArray(e)?e:[e]:[]}function Ha(e,t){return Array.isArray(e)?e.includes(t):e===t}function cv(e,t){let n=Ud(t);return Ud(e).forEach(o=>{Ha(n,o)||n.push(o)}),n}function lv(e,t){return Ud(t).filter(n=>!Ha(e,n))}var Ua=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=bv(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=wv(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return this.control?this.control.hasError(t,n):!1}getError(t,n){return this.control?this.control.getError(t,n):null}},Gr=class extends Ua{name;get formDirective(){return null}get path(){return null}},mi=class extends Ua{_parent=null;name=null;valueAccessor=null},$a=class{_cd;constructor(t){this._cd=t}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}},LI={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},zB=P(m({},LI),{"[class.ng-submitted]":"isSubmitted"}),Sv=(()=>{class e extends $a{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(q(mi,2))};static \u0275dir=Ve({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&ye("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[Rt]})}return e})(),Tv=(()=>{class e extends $a{constructor(n){super(n)}static \u0275fac=function(r){return new(r||e)(q(Gr,10))};static \u0275dir=Ve({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){r&2&&ye("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},standalone:!1,features:[Rt]})}return e})();var fi="VALID",Ba="INVALID",$r="PENDING",hi="DISABLED",gn=class{},za=class extends gn{value;source;constructor(t,n){super(),this.value=t,this.source=n}},pi=class extends gn{pristine;source;constructor(t,n){super(),this.pristine=t,this.source=n}},gi=class extends gn{touched;source;constructor(t,n){super(),this.touched=t,this.source=n}},zr=class extends gn{status;source;constructor(t,n){super(),this.status=t,this.source=n}},$d=class extends gn{source;constructor(t){super(),this.source=t}},Ga=class extends gn{source;constructor(t){super(),this.source=t}};function xv(e){return(Ka(e)?e.validators:e)||null}function VI(e){return Array.isArray(e)?bv(e):e||null}function Av(e,t){return(Ka(t)?t.asyncValidators:e)||null}function jI(e){return Array.isArray(e)?wv(e):e||null}function Ka(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function BI(e,t,n){let r=e.controls;if(!(t?Object.keys(r):r).length)throw new D(1e3,"");if(!r[n])throw new D(1001,"")}function HI(e,t,n){e._forEachChild((r,o)=>{if(n[o]===void 0)throw new D(1002,"")})}var Wa=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(t,n){this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get status(){return De(this.statusReactive)}set status(t){De(()=>this.statusReactive.set(t))}_status=Tr(()=>this.statusReactive());statusReactive=ht(void 0);get valid(){return this.status===fi}get invalid(){return this.status===Ba}get pending(){return this.status==$r}get disabled(){return this.status===hi}get enabled(){return this.status!==hi}errors;get pristine(){return De(this.pristineReactive)}set pristine(t){De(()=>this.pristineReactive.set(t))}_pristine=Tr(()=>this.pristineReactive());pristineReactive=ht(!0);get dirty(){return!this.pristine}get touched(){return De(this.touchedReactive)}set touched(t){De(()=>this.touchedReactive.set(t))}_touched=Tr(()=>this.touchedReactive());touchedReactive=ht(!1);get untouched(){return!this.touched}_events=new ae;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(cv(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(cv(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(lv(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(lv(t,this._rawAsyncValidators))}hasValidator(t){return Ha(this._rawValidators,t)}hasAsyncValidator(t){return Ha(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){let n=this.touched===!1;this.touched=!0;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsTouched(P(m({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new gi(!0,r))}markAllAsDirty(t={}){this.markAsDirty({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsDirty(t))}markAllAsTouched(t={}){this.markAsTouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(t))}markAsUntouched(t={}){let n=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:t.emitEvent,sourceControl:r})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,r),n&&t.emitEvent!==!1&&this._events.next(new gi(!1,r))}markAsDirty(t={}){let n=this.pristine===!0;this.pristine=!1;let r=t.sourceControl??this;this._parent&&!t.onlySelf&&this._parent.markAsDirty(P(m({},t),{sourceControl:r})),n&&t.emitEvent!==!1&&this._events.next(new pi(!1,r))}markAsPristine(t={}){let n=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=t.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:t.emitEvent})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t,r),n&&t.emitEvent!==!1&&this._events.next(new pi(!0,r))}markAsPending(t={}){this.status=$r;let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new zr(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.markAsPending(P(m({},t),{sourceControl:n}))}disable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=hi,this.errors=null,this._forEachChild(o=>{o.disable(P(m({},t),{onlySelf:!0}))}),this._updateValue();let r=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new za(this.value,r)),this._events.next(new zr(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(P(m({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(t={}){let n=this._parentMarkedDirty(t.onlySelf);this.status=fi,this._forEachChild(r=>{r.enable(P(m({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(P(m({},t),{skipPristineCheck:n}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t,n){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===fi||this.status===$r)&&this._runAsyncValidator(r,t.emitEvent)}let n=t.sourceControl??this;t.emitEvent!==!1&&(this._events.next(new za(this.value,n)),this._events.next(new zr(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(P(m({},t),{sourceControl:n}))}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?hi:fi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t,n){if(this.asyncValidator){this.status=$r,this._hasOwnPendingAsyncValidator={emitEvent:n!==!1,shouldHaveEmitted:t!==!1};let r=Dv(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:t})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(n.emitEvent!==!1,this,n.shouldHaveEmitted)}get(t){let n=t;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){let r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t,n,r){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),(t||r)&&this._events.next(new zr(this.status,n)),this._parent&&this._parent._updateControlsErrors(t,n,r)}_initObservables(){this.valueChanges=new Q,this.statusChanges=new Q}_calculateStatus(){return this._allControlsDisabled()?hi:this.errors?Ba:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus($r)?$r:this._anyControlsHaveStatus(Ba)?Ba:fi}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t,n){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,this._parent&&!t.onlySelf&&this._parent._updatePristine(t,n),o&&this._events.next(new pi(this.pristine,n))}_updateTouched(t={},n){this.touched=this._anyControlsTouched(),this._events.next(new gi(this.touched,n)),this._parent&&!t.onlySelf&&this._parent._updateTouched(t,n)}_onDisabledChange=[];_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){Ka(t)&&t.updateOn!=null&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){let n=this._parent&&this._parent.dirty;return!t&&!!n&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=VI(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=jI(this._rawAsyncValidators)}},qa=class extends Wa{constructor(t,n,r){super(xv(n),Av(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){HI(this,!0,t),Object.keys(t).forEach(r=>{BI(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){t!=null&&(Object.keys(t).forEach(r=>{let o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t?t[o]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n),n?.emitEvent!==!1&&this._events.next(new Ga(this))}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>r._syncPendingControls()?!0:n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{let r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(let[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){let t={};return this._reduceChildren(t,(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(let t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}};var zd=new _("",{providedIn:"root",factory:()=>Ja}),Ja="always";function UI(e,t){return[...t.path,e]}function uv(e,t,n=Ja){Gd(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||n==="always")&&t.valueAccessor.setDisabledState?.(e.disabled),zI(e,t),WI(e,t),GI(e,t),$I(e,t)}function dv(e,t,n=!0){let r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),Ya(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Za(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function $I(e,t){if(t.valueAccessor.setDisabledState){let n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}function Gd(e,t){let n=Iv(e);t.validator!==null?e.setValidators(av(n,t.validator)):typeof n=="function"&&e.setValidators([n]);let r=Mv(e);t.asyncValidator!==null?e.setAsyncValidators(av(r,t.asyncValidator)):typeof r=="function"&&e.setAsyncValidators([r]);let o=()=>e.updateValueAndValidity();Za(t._rawValidators,o),Za(t._rawAsyncValidators,o)}function Ya(e,t){let n=!1;if(e!==null){if(t.validator!==null){let o=Iv(e);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==t.validator);i.length!==o.length&&(n=!0,e.setValidators(i))}}if(t.asyncValidator!==null){let o=Mv(e);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==t.asyncValidator);i.length!==o.length&&(n=!0,e.setAsyncValidators(i))}}}let r=()=>{};return Za(t._rawValidators,r),Za(t._rawAsyncValidators,r),n}function zI(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&Nv(e,t)})}function GI(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&Nv(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function Nv(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function WI(e,t){let n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}function qI(e,t){e==null,Gd(e,t)}function ZI(e,t){return Ya(e,t)}function YI(e,t){if(!e.hasOwnProperty("model"))return!1;let n=e.model;return n.isFirstChange()?!0:!Object.is(t,n.currentValue)}function QI(e){return Object.getPrototypeOf(e.constructor)===AI}function KI(e,t){e._syncPendingControls(),t.forEach(n=>{let r=n.control;r.updateOn==="submit"&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function JI(e,t){if(!t)return null;Array.isArray(t);let n,r,o;return t.forEach(i=>{i.constructor===gv?n=i:QI(i)?r=i:o=i}),o||r||n||null}function XI(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function fv(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function hv(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var Wn=class extends Wa{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(t=null,n,r){super(xv(n),Av(r,n)),this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ka(n)&&(n.nonNullable||n.initialValueIsDefault)&&(hv(t)?this.defaultValue=t.value:this.defaultValue=t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1,n?.emitEvent!==!1&&this._events.next(new Ga(this))}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){fv(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){fv(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(t){hv(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};var e0=e=>e instanceof Wn;var Rv=new _("");var t0={provide:Gr,useExisting:lt(()=>Wd)},Wd=(()=>{class e extends Gr{callSetDisabledState;get submitted(){return De(this._submittedReactive)}set submitted(n){this._submittedReactive.set(n)}_submitted=Tr(()=>this._submittedReactive());_submittedReactive=ht(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new Q;constructor(n,r,o){super(),this.callSetDisabledState=o,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ya(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){let r=this.form.get(n.path);return uv(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){dv(n.control||null,n,!1),XI(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this._submittedReactive.set(!0),KI(this.form,this.directives),this.ngSubmit.emit(n),this.form._events.next(new $d(this.control)),n?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(n=void 0,r={}){this.form.reset(n,r),this._submittedReactive.set(!1)}_updateDomValue(){this.directives.forEach(n=>{let r=n.control,o=this.form.get(n.path);r!==o&&(dv(r||null,n),e0(o)&&(uv(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){let r=this.form.get(n.path);qI(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){let r=this.form.get(n.path);r&&ZI(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Gd(this.form,this),this._oldForm&&Ya(this._oldForm,this)}static \u0275fac=function(r){return new(r||e)(q(mv,10),q(vv,10),q(zd,8))};static \u0275dir=Ve({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&K("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[Un([t0]),Rt,xt]})}return e})();var n0={provide:mi,useExisting:lt(()=>qd)},qd=(()=>{class e extends mi{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(n){}model;update=new Q;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(n,r,o,i,s){super(),this._ngModelWarningConfig=s,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=JI(this,i)}ngOnChanges(n){this._added||this._setUpControl(),YI(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return UI(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(r){return new(r||e)(q(Gr,13),q(mv,10),q(vv,10),q(Qa,10),q(Rv,8))};static \u0275dir=Ve({type:e,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[Un([n0]),Rt,xt]})}return e})();var Ov=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Nt({type:e});static \u0275inj=ut({})}return e})();var Xa=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:zd,useValue:n.callSetDisabledState??Ja}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Nt({type:e});static \u0275inj=ut({imports:[Ov]})}return e})(),ec=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Rv,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:zd,useValue:n.callSetDisabledState??Ja}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Nt({type:e});static \u0275inj=ut({imports:[Ov]})}return e})();function _e(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0)}function kv(e,t){let n=new Date(e);return n.setMonth(e.getMonth()+t),n}function vi(e){if(!e)return null;let t=e instanceof Date?new Date(e.getTime()):new Date(e.toDate?e.toDate():e);return isNaN(t.getTime())?null:t}function Pv(e,t){return Array.from({length:12}).map((n,r)=>({label:new Date(t,r,1).toLocaleDateString(e,{month:"long"}),value:r}))}function Fv(e,t=10){let n=e-t,r=e+t,o=[];for(let i=n;i<=r;i++)o.push({label:`${i}`,value:i});return o}function Lv(e=1){let t=Array.from({length:12}).map((r,o)=>({label:(o+1).toString().padStart(2,"0"),value:o+1})),n=[];for(let r=0;r<60;r+=e)n.push({label:r.toString().padStart(2,"0"),value:r});return{hourOptions:t,minuteOptions:n}}function Vv(e,t=0){let n=new Date(2024,0,7+t);return Array.from({length:7}).map(()=>{let r=new Date(n).toLocaleDateString(e,{weekday:"short"});return n.setDate(n.getDate()+1),r})}function jv(e){try{return(new Intl.Locale(e).weekInfo?.firstDay||0)%7}catch{return 0}}function Bv(e,t){return t?e===12?12:e+12:e===12?0:e}function Hv(e){return{isPm:e>=12,displayHour:e%12||12}}function Uv(e){return e?Object.entries(e).reduce((t,[n,r])=>{let o=vi(r[0]),i=vi(r[1]);return o&&i&&(t[n]=[o,i]),t},{}):null}var o0=(e,t)=>t.value;function i0(e,t){if(e&1){let n=ot();Pt(0,"li",6),Vo("click",function(o){let i=X(n).$implicit;return H(2).selectOption(i),ee(o.stopPropagation())}),C(1),Ft()}if(e&2){let n=t.$implicit,r=H(2);ye("selected",n.value===r.value),I(),cn(" ",n.label," ")}}function s0(e,t){if(e&1&&(Pt(0,"div",4)(1,"ul"),jn(2,i0,2,3,"li",5,o0),Ft()()),e&2){let n=H();I(2),Bn(n.options)}}var $v=(()=>{let t=class t{constructor(){this.options=[],this.disabled=!1,this.valueChange=new Q,this.isOpen=!1,this.elementRef=p(vt)}onDocumentClick(r){this.elementRef.nativeElement.contains(r.target)||(this.isOpen=!1)}get displayValue(){let r=this.options.find(o=>o.value===this.value);return r?r.label:""}toggleDropdown(){this.disabled||(this.isOpen=!this.isOpen)}selectOption(r){this.value=r.value,this.valueChange.emit(this.value),this.isOpen=!1}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=At({type:t,selectors:[["ngxsmk-custom-select"]],hostBindings:function(o,i){o&1&&K("click",function(a){return i.onDocumentClick(a)},xo)},inputs:{options:"options",value:"value",disabled:"disabled"},outputs:{valueChange:"valueChange"},decls:7,vars:3,consts:[[1,"ngxsmk-select-container",3,"click"],["type","button",1,"ngxsmk-select-display",3,"disabled"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512",1,"ngxsmk-arrow-icon"],["fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","48","d","M112 184l144 144 144-144"],[1,"ngxsmk-options-panel"],[3,"selected"],[3,"click"]],template:function(o,i){o&1&&(Pt(0,"div",0),Vo("click",function(){return i.toggleDropdown()}),Pt(1,"button",1)(2,"span"),C(3),Ft(),nn(),Pt(4,"svg",2),oa(5,"path",3),Ft()(),Ot(6,s0,4,0,"div",4),Ft()),o&2&&(I(),ia("disabled",i.disabled),I(2),Te(i.displayValue),I(3),kt(i.isOpen?6:-1))},dependencies:[fn],styles:["[_nghost-%COMP%]{position:relative;display:inline-block}.ngxsmk-select-container[_ngcontent-%COMP%]{cursor:pointer}.ngxsmk-select-display[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;width:var(--custom-select-width, 115px);background:var(--datepicker-background, #fff);border:1px solid var(--datepicker-border-color, #ccc);color:var(--datepicker-text-color, #333);border-radius:4px;padding:4px 8px;font-size:14px;text-align:left;height:30px}.ngxsmk-select-display[_ngcontent-%COMP%]:disabled{background-color:var(--datepicker-hover-background, #f0f0f0);cursor:not-allowed;opacity:.7}.ngxsmk-arrow-icon[_ngcontent-%COMP%]{width:12px;height:12px;margin-left:8px}.ngxsmk-options-panel[_ngcontent-%COMP%]{position:absolute;top:110%;left:0;width:100%;background:var(--datepicker-background, #fff);border:1px solid var(--datepicker-border-color, #ccc);color:var(--datepicker-text-color, #333);border-radius:4px;box-shadow:0 4px 8px #0000001a;max-height:200px;overflow-y:auto;z-index:9999}.ngxsmk-options-panel[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{list-style:none;padding:4px;margin:0}.ngxsmk-options-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:8px 12px;border-radius:4px;cursor:pointer}.ngxsmk-options-panel[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:var(--datepicker-hover-background, #f0f0f0)}.ngxsmk-options-panel[_ngcontent-%COMP%] li.selected[_ngcontent-%COMP%]{background-color:var(--datepicker-primary-color, #3880ff);color:var(--datepicker-primary-contrast, #fff)}"]});let e=t;return e})();function zv(){let e=new Map;return(t,n)=>{if(!t||!n)return t===n;let r=`${t.getTime()}-${n.getTime()}`;if(e.has(r))return e.get(r);let o=t.getFullYear()===n.getFullYear()&&t.getMonth()===n.getMonth()&&t.getDate()===n.getDate();return e.set(r,o),o}}var a0=(e,t)=>t.key;function c0(e,t){if(e&1){let n=ot();v(0,"button",6),K("click",function(o){X(n);let i=H(2);return ee(i.clearValue(o))}),nn(),v(1,"svg",7),je(2,"path",8),y()()}if(e&2){let n=H(2);z("disabled",n.disabled)}}function l0(e,t){if(e&1){let n=ot();v(0,"div",3),K("click",function(){X(n);let o=H();return ee(o.toggleCalendar())}),je(1,"input",4),Po(2,c0,3,1,"button",5),y()}if(e&2){let n=H();ye("disabled",n.disabled),I(),z("value",n.displayValue)("placeholder",n.placeholder)("disabled",n.disabled),I(),z("ngIf",n.displayValue)}}function u0(e,t){if(e&1){let n=ot();v(0,"li",28),K("click",function(){let o=X(n).$implicit,i=H(3);return ee(i.selectRange(o.value))}),C(1),y()}if(e&2){let n=t.$implicit,r=H(3);ye("disabled",r.disabled),I(),Te(n.key)}}function d0(e,t){if(e&1&&(v(0,"div",11)(1,"ul"),jn(2,u0,2,3,"li",27,a0),y()()),e&2){let n=H(2);I(2),Bn(n.rangesArray)}}function f0(e,t){if(e&1&&(v(0,"div",23),C(1),y()),e&2){let n=t.$implicit;I(),Te(n)}}function h0(e,t){if(e&1&&(v(0,"div",30),C(1),Lu(2,"date"),y()),e&2){let n=H().$implicit,r=H(2);Fo("title",r.getHolidayLabel(n)),I(),Te(Vu(2,2,n,"d"))}}function p0(e,t){if(e&1){let n=ot();v(0,"div",29),K("click",function(){let o=X(n).$implicit,i=H(2);return ee(i.onDateClick(o))})("mouseenter",function(){let o=X(n).$implicit,i=H(2);return ee(i.onDateHover(o))}),Ot(1,h0,3,5,"div",30),y()}if(e&2){let n=t.$implicit,r=H(2);ye("empty",!n)("disabled",r.isDateDisabled(n))("today",r.isSameDay(n,r.today))("holiday",r.isHoliday(n))("selected",r.mode==="single"&&r.isSameDay(n,r.selectedDate))("multiple-selected",r.mode==="multiple"&&r.isMultipleSelected(n))("start-date",r.mode==="range"&&r.isSameDay(n,r.startDate))("end-date",r.mode==="range"&&r.isSameDay(n,r.endDate))("in-range",r.mode==="range"&&r.isInRange(n))("preview-range",r.isPreviewInRange(n)),I(),kt(n?1:-1)}}function g0(e,t){if(e&1){let n=ot();v(0,"div",25)(1,"span",31),C(2,"Time:"),y(),v(3,"ngxsmk-custom-select",32),un("valueChange",function(o){X(n);let i=H(2);return Hn(i.currentDisplayHour,o)||(i.currentDisplayHour=o),ee(o)}),K("valueChange",function(){X(n);let o=H(2);return ee(o.onTimeChange())}),y(),v(4,"span",33),C(5,":"),y(),v(6,"ngxsmk-custom-select",34),un("valueChange",function(o){X(n);let i=H(2);return Hn(i.currentMinute,o)||(i.currentMinute=o),ee(o)}),K("valueChange",function(){X(n);let o=H(2);return ee(o.onTimeChange())}),y(),v(7,"ngxsmk-custom-select",35),un("valueChange",function(o){X(n);let i=H(2);return Hn(i.isPm,o)||(i.isPm=o),ee(o)}),K("valueChange",function(){X(n);let o=H(2);return ee(o.onTimeChange())}),y()()}if(e&2){let n=H(2);I(3),z("options",n.hourOptions),ln("value",n.currentDisplayHour),z("disabled",n.disabled),I(3),z("options",n.minuteOptions),ln("value",n.currentMinute),z("disabled",n.disabled),I(),z("options",n.ampmOptions),ln("value",n.isPm),z("disabled",n.disabled)}}function m0(e,t){if(e&1){let n=ot();v(0,"div",36)(1,"button",37),K("click",function(o){X(n);let i=H(2);return ee(i.clearValue(o))}),C(2," Clear "),y(),v(3,"button",38),K("click",function(){X(n);let o=H(2);return ee(o.isCalendarOpen=!1)}),C(4," Close "),y()()}if(e&2){let n=H(2);I(),z("disabled",n.disabled),I(2),z("disabled",n.disabled)}}function v0(e,t){if(e&1){let n=ot();v(0,"div",9)(1,"div",10),Ot(2,d0,4,0,"div",11),v(3,"div",12)(4,"div",13)(5,"div",14)(6,"ngxsmk-custom-select",15),un("valueChange",function(o){X(n);let i=H();return Hn(i.currentMonth,o)||(i.currentMonth=o),ee(o)}),y(),v(7,"ngxsmk-custom-select",16),un("valueChange",function(o){X(n);let i=H();return Hn(i.currentYear,o)||(i.currentYear=o),ee(o)}),y()(),v(8,"div",17)(9,"button",18),K("click",function(){X(n);let o=H();return ee(o.changeMonth(-1))}),nn(),v(10,"svg",7),je(11,"path",19),y()(),yo(),v(12,"button",18),K("click",function(){X(n);let o=H();return ee(o.changeMonth(1))}),nn(),v(13,"svg",7),je(14,"path",20),y()()()(),yo(),v(15,"div",21)(16,"div",22),jn(17,f0,2,1,"div",23,Fu),jn(19,p0,2,21,"div",24,Pu),y()(),Ot(21,g0,8,9,"div",25),Po(22,m0,5,2,"div",26),y()()()}if(e&2){let n=H();ye("ngxsmk-inline-container",n.isInlineMode),I(2),kt(n.showRanges&&n.rangesArray.length>0&&n.mode==="range"?2:-1),I(4),z("options",n.monthOptions),ln("value",n.currentMonth),z("disabled",n.disabled),I(),z("options",n.yearOptions),ln("value",n.currentYear),z("disabled",n.disabled),I(2),z("disabled",n.disabled),I(3),z("disabled",n.disabled),I(4),ye("animate-forward",n.animateForward)("animate-backward",n.animateBackward),I(),Bn(n.weekDays),I(2),Bn(n.daysInMonth),I(2),kt(n.showTime?21:-1),I(),z("ngIf",!n.isInlineMode)}}var Gv=(()=>{let t=class t{constructor(){this.mode="single",this.isInvalidDate=()=>!1,this.showRanges=!0,this.showTime=!1,this.minuteInterval=1,this.holidayProvider=null,this.disableHolidays=!1,this.placeholder="Select Date",this.inline=!1,this.isCalendarOpen=!1,this._internalValue=null,this._startAtDate=null,this._locale="en-US",this.theme="light",this.onChange=r=>{},this.onTouched=()=>{},this.disabled=!1,this.valueChange=new Q,this.action=new Q,this._minDate=null,this._maxDate=null,this._ranges=null,this.currentDate=new Date,this.daysInMonth=[],this.weekDays=[],this.today=_e(new Date),this.selectedDate=null,this.selectedDates=[],this.startDate=null,this.endDate=null,this.hoveredDate=null,this.rangesArray=[],this._currentMonth=this.currentDate.getMonth(),this._currentYear=this.currentDate.getFullYear(),this.monthOptions=[],this.yearOptions=[],this.firstDayOfWeek=0,this.currentHour=0,this.currentMinute=0,this.currentDisplayHour=12,this.isPm=!1,this.hourOptions=[],this.minuteOptions=[],this.ampmOptions=[{label:"AM",value:!1},{label:"PM",value:!0}],this.animateForward=!1,this.animateBackward=!1,this.elementRef=p(vt),this.dateComparator=zv()}set startAt(r){this._startAtDate=this._normalizeDate(r)}set locale(r){this._locale=r}get locale(){return this._locale}get isDarkMode(){return this.theme==="dark"}set disabledState(r){this.disabled=r}set minDate(r){this._minDate=this._normalizeDate(r)}set maxDate(r){this._maxDate=this._normalizeDate(r)}set ranges(r){this._ranges=Uv(r),this.updateRangesArray()}get isInlineMode(){return this.inline===!0||this.inline==="always"||this.inline==="auto"&&typeof window<"u"&&window.matchMedia("(min-width: 768px)").matches}get isCalendarVisible(){return this.isInlineMode||this.isCalendarOpen}get displayValue(){if(this.mode==="single"&&this.selectedDate)return this.selectedDate.toLocaleString(this.locale,{year:"numeric",month:"short",day:"2-digit",hour:this.showTime?"2-digit":void 0,minute:this.showTime?"2-digit":void 0});if(this.mode==="range"&&this.startDate&&this.endDate){let r=this.startDate.toLocaleString(this.locale,{year:"numeric",month:"short",day:"2-digit"}),o=this.endDate.toLocaleString(this.locale,{year:"numeric",month:"short",day:"2-digit"});return`${r} - ${o}`}else if(this.mode==="multiple"&&this.selectedDates.length>0)return`${this.selectedDates.length} dates selected`;return""}onDocumentClick(r){!this.isInlineMode&&this.isCalendarOpen&&!this.elementRef.nativeElement.contains(r.target)&&(this.isCalendarOpen=!1)}writeValue(r){this._internalValue=r,this.initializeValue(r),this.generateCalendar()}registerOnChange(r){this.onChange=r}registerOnTouched(r){this.onTouched=r}setDisabledState(r){this.disabled=r}emitValue(r){this._internalValue=r,this.valueChange.emit(r),this.onChange(r),this.onTouched(),!this.isInlineMode&&r!==null&&(this.mode==="single"||this.mode==="range"&&this.startDate&&this.endDate)&&(this.isCalendarOpen=!1)}toggleCalendar(){this.disabled||this.isInlineMode||(this.isCalendarOpen=!this.isCalendarOpen)}clearValue(r){r&&r.stopPropagation(),!this.disabled&&(this.selectedDate=null,this.selectedDates=[],this.startDate=null,this.endDate=null,this.hoveredDate=null,this.isCalendarOpen=!1,this.emitValue(null),this.action.emit({type:"clear",payload:null}),this.currentDate=new Date,this._currentMonth=this.currentDate.getMonth(),this._currentYear=this.currentDate.getFullYear(),this.generateCalendar())}get currentMonth(){return this._currentMonth}set currentMonth(r){this.disabled||this._currentMonth!==r&&(this._currentMonth=r,this.currentDate.setMonth(r),this.generateCalendar(!0))}get currentYear(){return this._currentYear}set currentYear(r){this.disabled||this._currentYear!==r&&(this._currentYear=r,this.currentDate.setFullYear(r),this.generateCalendar(!0))}ngOnInit(){if(this._locale==="en-US"&&typeof navigator<"u"&&(this._locale=navigator.language),this.today.setHours(0,0,0,0),this.generateLocaleData(),this.generateTimeOptions(),this.showTime&&!this._internalValue){let r=new Date;this.currentHour=r.getHours(),this.currentMinute=Math.floor(r.getMinutes()/this.minuteInterval)*this.minuteInterval,this.currentMinute===60&&(this.currentMinute=0,this.currentHour=(this.currentHour+1)%24),this.update12HourState(this.currentHour)}this._internalValue?this.initializeValue(this._internalValue):this._startAtDate&&this.initializeValue(null),this.generateCalendar()}ngOnChanges(r){r.locale&&(this.generateLocaleData(),this.generateCalendar()),r.minuteInterval&&(this.generateTimeOptions(),this.currentMinute=Math.floor(this.currentMinute/this.minuteInterval)*this.minuteInterval,this.onTimeChange()),r.value&&r.value.currentValue!==r.value.previousValue&&this.writeValue(r.value.currentValue),(r.holidayProvider||r.disableHolidays)&&this.generateCalendar(),r.startAt&&!this._internalValue&&this._startAtDate&&(this.currentDate=new Date(this._startAtDate),this._currentMonth=this.currentDate.getMonth(),this._currentYear=this.currentDate.getFullYear(),this.generateCalendar())}get24Hour(r,o){return Bv(r,o)}update12HourState(r){let o=Hv(r);this.isPm=o.isPm,this.currentDisplayHour=o.displayHour}applyCurrentTime(r){return this.currentHour=this.get24Hour(this.currentDisplayHour,this.isPm),r.setHours(this.currentHour,this.currentMinute,0,0),r}initializeValue(r){let o=null;this.selectedDate=null,this.startDate=null,this.endDate=null,this.selectedDates=[],r&&(this.mode==="single"&&r instanceof Date?(this.selectedDate=this._normalizeDate(r),o=this.selectedDate):this.mode==="range"&&typeof r=="object"&&"start"in r&&"end"in r?(this.startDate=this._normalizeDate(r.start),this.endDate=this._normalizeDate(r.end),o=this.startDate):this.mode==="multiple"&&Array.isArray(r)&&(this.selectedDates=r.map(s=>this._normalizeDate(s)).filter(s=>s!==null),o=this.selectedDates.length>0?this.selectedDates[this.selectedDates.length-1]:null));let i=o||this._startAtDate||new Date;i&&(this.currentDate=new Date(i),this._currentMonth=i.getMonth(),this._currentYear=i.getFullYear(),this.currentHour=i.getHours(),this.currentMinute=i.getMinutes(),this.update12HourState(this.currentHour),this.currentMinute=Math.floor(this.currentMinute/this.minuteInterval)*this.minuteInterval)}_normalizeDate(r){return vi(r)}generateTimeOptions(){let{hourOptions:r,minuteOptions:o}=Lv(this.minuteInterval);this.hourOptions=r,this.minuteOptions=o}generateLocaleData(){let r=new Date().getFullYear();this.monthOptions=Pv(this.locale,r),this.firstDayOfWeek=jv(this.locale),this.weekDays=Vv(this.locale,this.firstDayOfWeek)}updateRangesArray(){this.rangesArray=this._ranges?Object.entries(this._ranges).map(([r,o])=>({key:r,value:o})):[]}selectRange(r){this.disabled||(this.startDate=this.applyCurrentTime(r[0]),this.endDate=this.applyCurrentTime(r[1]),this.startDate&&this.endDate&&this.emitValue({start:this.startDate,end:this.endDate}),this.currentDate=new Date(this.startDate),this.initializeValue({start:this.startDate,end:this.endDate}),this.generateCalendar(),this.action.emit({type:"rangeSelected",payload:{start:this.startDate,end:this.endDate,key:this.rangesArray.find(o=>o.value===r)?.key}}))}isHoliday(r){if(!r||!this.holidayProvider)return!1;let o=_e(r);return this.holidayProvider.isHoliday(o)}getHolidayLabel(r){return!r||!this.holidayProvider||!this.isHoliday(r)?null:this.holidayProvider.getHolidayLabel?this.holidayProvider.getHolidayLabel(_e(r)):"Holiday"}isDateDisabled(r){if(!r)return!1;let o=_e(r);if(this.holidayProvider&&this.disableHolidays&&this.holidayProvider.isHoliday(o))return!0;if(this._minDate){let i=_e(this._minDate);if(o.getTime()<i.getTime())return!0}if(this._maxDate){let i=_e(this._maxDate);if(o.getTime()>i.getTime())return!0}return this.isInvalidDate(r)}isMultipleSelected(r){if(!r||this.mode!=="multiple")return!1;let o=_e(r).getTime();return this.selectedDates.some(i=>_e(i).getTime()===o)}onTimeChange(){this.disabled||(this.mode==="single"&&this.selectedDate?(this.selectedDate=this.applyCurrentTime(this.selectedDate),this.emitValue(this.selectedDate)):this.mode==="range"&&this.startDate&&this.endDate?(this.startDate=this.applyCurrentTime(this.startDate),this.endDate=this.applyCurrentTime(this.endDate),this.emitValue({start:this.startDate,end:this.endDate})):this.mode==="range"&&this.startDate&&!this.endDate?this.startDate=this.applyCurrentTime(this.startDate):this.mode==="multiple"&&(this.selectedDates=this.selectedDates.map(r=>{let o=_e(r);return this.applyCurrentTime(o)}),this.emitValue([...this.selectedDates])),this.action.emit({type:"timeChanged",payload:{hour:this.currentHour,minute:this.currentMinute}}))}onDateClick(r){if(!r||this.isDateDisabled(r)||this.disabled)return;let o=_e(r);if(this.mode==="single")this.selectedDate=this.applyCurrentTime(r),this.emitValue(this.selectedDate);else if(this.mode==="range")!this.startDate||this.startDate&&this.endDate?(this.startDate=this.applyCurrentTime(r),this.endDate=null):r>=this.startDate?(this.endDate=this.applyCurrentTime(r),this.emitValue({start:this.startDate,end:this.endDate})):(this.startDate=this.applyCurrentTime(r),this.endDate=null),this.hoveredDate=null;else if(this.mode==="multiple"){let s=this.selectedDates.findIndex(a=>this.isSameDay(a,o));if(s>-1)this.selectedDates.splice(s,1);else{let a=this.applyCurrentTime(o);this.selectedDates.push(a),this.selectedDates.sort((c,l)=>c.getTime()-l.getTime())}this.emitValue([...this.selectedDates])}let i=this.mode==="single"?this.selectedDate:this.mode==="range"?this.startDate:this.mode==="multiple"&&this.selectedDates.length>0?this.selectedDates[this.selectedDates.length-1]:null;i&&(this.update12HourState(i.getHours()),this.currentMinute=i.getMinutes()),this.action.emit({type:"dateSelected",payload:{mode:this.mode,value:this._internalValue,date:r}})}onDateHover(r){this.mode==="range"&&this.startDate&&!this.endDate&&r&&(this.hoveredDate=r)}isPreviewInRange(r){if(this.mode!=="range"||!this.startDate||this.endDate||!this.hoveredDate||!r)return!1;let o=_e(this.startDate).getTime(),i=_e(this.hoveredDate).getTime(),s=_e(r).getTime();return s>Math.min(o,i)&&s<Math.max(o,i)}generateCalendar(r=!0){this.daysInMonth=[];let o=this.currentDate.getFullYear(),i=this.currentDate.getMonth();this._currentMonth=i,this._currentYear=o,this.generateDropdownOptions();let s=new Date(o,i,1),a=new Date(o,i+1,0),l=(s.getDay()-this.firstDayOfWeek+7)%7;for(let u=0;u<l;u++)this.daysInMonth.push(null);for(let u=1;u<=a.getDate();u++)this.daysInMonth.push(this._normalizeDate(new Date(o,i,u)));r&&(this.animateForward=!1,this.animateBackward=!1),this.action.emit({type:"calendarGenerated",payload:{month:i,year:o,days:this.daysInMonth.filter(u=>u!==null)}})}generateDropdownOptions(){this.yearOptions=Fv(this._currentYear)}changeMonth(r){if(this.disabled)return;r>0?(this.animateForward=!0,this.animateBackward=!1):(this.animateBackward=!0,this.animateForward=!1);let o=kv(this.currentDate,r);setTimeout(()=>{this.currentDate=o,this._currentMonth=o.getMonth(),this._currentYear=o.getFullYear(),this.generateCalendar(!1),this.animateForward=!1,this.animateBackward=!1},300),this.action.emit({type:"monthChanged",payload:{delta:r}})}isSameDay(r,o){return this.dateComparator(r,o)}isInRange(r){if(!r||!this.startDate||!this.endDate)return!1;let o=_e(r).getTime(),i=_e(this.startDate).getTime(),s=_e(this.endDate).getTime(),a=Math.min(i,s),c=Math.max(i,s);return o>a&&o<c}ngOnDestroy(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=At({type:t,selectors:[["ngxsmk-datepicker"]],hostVars:2,hostBindings:function(o,i){o&1&&K("click",function(a){return i.onDocumentClick(a)},xo),o&2&&ye("dark-theme",i.isDarkMode)},inputs:{mode:"mode",isInvalidDate:"isInvalidDate",showRanges:"showRanges",showTime:"showTime",minuteInterval:"minuteInterval",holidayProvider:"holidayProvider",disableHolidays:"disableHolidays",placeholder:"placeholder",inline:"inline",startAt:"startAt",locale:"locale",theme:"theme",disabledState:"disabledState",minDate:"minDate",maxDate:"maxDate",ranges:"ranges"},outputs:{valueChange:"valueChange",action:"action"},features:[Un([{provide:Qa,useExisting:lt(()=>t),multi:!0}]),xt],decls:3,vars:4,consts:[[1,"ngxsmk-datepicker-wrapper"],[1,"ngxsmk-input-group",3,"disabled"],[1,"ngxsmk-popover-container",3,"ngxsmk-inline-container"],[1,"ngxsmk-input-group",3,"click"],["type","text","readonly","",1,"ngxsmk-display-input",3,"value","placeholder","disabled"],["type","button","class","ngxsmk-clear-button",3,"disabled","click",4,"ngIf"],["type","button",1,"ngxsmk-clear-button",3,"click","disabled"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 512 512"],["fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","32","d","M368 368L144 144M368 144L144 368"],[1,"ngxsmk-popover-container"],[1,"ngxsmk-datepicker-container"],[1,"ngxsmk-ranges-container"],[1,"ngxsmk-calendar-container"],[1,"ngxsmk-header"],[1,"ngxsmk-month-year-selects"],[1,"month-select",3,"valueChange","options","value","disabled"],[1,"year-select",3,"valueChange","options","value","disabled"],[1,"ngxsmk-nav-buttons"],["type","button",1,"ngxsmk-nav-button",3,"click","disabled"],["fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","48","d","M328 112L184 256l144 144"],["fill","none","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","stroke-width","48","d","M184 112l144 144-144 144"],[1,"ngxsmk-days-grid-wrapper"],[1,"ngxsmk-days-grid"],[1,"ngxsmk-day-name"],[1,"ngxsmk-day-cell",3,"empty","disabled","today","holiday","selected","multiple-selected","start-date","end-date","in-range","preview-range"],[1,"ngxsmk-time-selection"],["class","ngxsmk-footer",4,"ngIf"],[3,"disabled"],[3,"click"],[1,"ngxsmk-day-cell",3,"click","mouseenter"],[1,"ngxsmk-day-number"],[1,"ngxsmk-time-label"],[1,"hour-select",3,"valueChange","options","value","disabled"],[1,"ngxsmk-time-separator"],[1,"minute-select",3,"valueChange","options","value","disabled"],[1,"ampm-select",3,"valueChange","options","value","disabled"],[1,"ngxsmk-footer"],["type","button",1,"ngxsmk-clear-button-footer",3,"click","disabled"],["type","button",1,"ngxsmk-close-button",3,"click","disabled"]],template:function(o,i){o&1&&(v(0,"div",0),Ot(1,l0,3,6,"div",1),Ot(2,v0,23,17,"div",2),y()),o&2&&(ye("ngxsmk-inline-mode",i.isInlineMode),I(),kt(i.isInlineMode?-1:1),I(),kt(i.isCalendarVisible?2:-1))},dependencies:[fn,Yu,Xa,$v,ec,Qu],styles:["[_nghost-%COMP%]{--datepicker-primary-color: #6d28d9;--datepicker-primary-contrast: #ffffff;--datepicker-range-background: #f5f3ff;--datepicker-background: #ffffff;--datepicker-text-color: #222428;--datepicker-subtle-text-color: #9ca3af;--datepicker-border-color: #e9e9e9;--datepicker-hover-background: #f0f0f0;display:inline-block;position:relative}.dark-theme[_nghost-%COMP%]{--datepicker-range-background: rgba(139, 92, 246, .2);--datepicker-background: #1f2937;--datepicker-text-color: #d1d5db;--datepicker-subtle-text-color: #6b7280;--datepicker-border-color: #4b5563;--datepicker-hover-background: #374151}.ngxsmk-datepicker-wrapper[_ngcontent-%COMP%]{position:relative}.ngxsmk-input-group[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;width:100%;min-width:150px;border:1px solid var(--datepicker-border-color, #ccc);border-radius:4px;background:var(--datepicker-background);transition:border-color .15s ease}.ngxsmk-input-group[_ngcontent-%COMP%]:hover:not(.disabled){border-color:var(--datepicker-primary-color)}.ngxsmk-input-group.disabled[_ngcontent-%COMP%]{cursor:not-allowed;opacity:.7}.ngxsmk-display-input[_ngcontent-%COMP%]{flex-grow:1;padding:6px 8px;font-size:14px;color:var(--datepicker-text-color, #333);background:transparent;border:none;outline:none;cursor:pointer}.ngxsmk-display-input[_ngcontent-%COMP%]:disabled{background:var(--datepicker-hover-background, #f0f0f0);cursor:not-allowed}.ngxsmk-clear-button[_ngcontent-%COMP%]{background:none;border:none;padding:0 8px;cursor:pointer;color:var(--datepicker-subtle-text-color);line-height:1}.ngxsmk-clear-button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:14px;height:14px}.ngxsmk-clear-button[_ngcontent-%COMP%]:hover{color:var(--datepicker-text-color)}.ngxsmk-popover-container[_ngcontent-%COMP%]{position:absolute;top:100%;left:0;z-index:10000;margin-top:8px}.ngxsmk-popover-container.ngxsmk-inline-container[_ngcontent-%COMP%]{position:static;margin-top:0}.ngxsmk-datepicker-wrapper.ngxsmk-inline-mode[_ngcontent-%COMP%]{display:block}.ngxsmk-datepicker-wrapper.ngxsmk-inline-mode[_ngcontent-%COMP%] .ngxsmk-datepicker-container[_ngcontent-%COMP%]{box-shadow:none;border:1px solid var(--datepicker-border-color)}.ngxsmk-footer[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:8px;margin-top:12px;padding-top:8px;border-top:1px solid var(--datepicker-border-color)}.ngxsmk-clear-button-footer[_ngcontent-%COMP%], .ngxsmk-close-button[_ngcontent-%COMP%]{padding:6px 12px;border-radius:6px;font-size:.9rem;cursor:pointer;transition:background-color .2s;border:1px solid var(--datepicker-border-color)}.ngxsmk-clear-button-footer[_ngcontent-%COMP%]{background:none;color:var(--datepicker-subtle-text-color)}.ngxsmk-close-button[_ngcontent-%COMP%]{background-color:var(--datepicker-primary-color);color:var(--datepicker-primary-contrast);border-color:var(--datepicker-primary-color)}.ngxsmk-close-button[_ngcontent-%COMP%]:hover:not(:disabled){opacity:.9}.ngxsmk-clear-button-footer[_ngcontent-%COMP%]:hover:not(:disabled){background-color:var(--datepicker-hover-background)}.ngxsmk-datepicker-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%}.ngxsmk-calendar-container[_ngcontent-%COMP%]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;border-radius:10px;padding:12px;background:var(--datepicker-background);box-shadow:0 4px 10px #0000001a;width:100%}.ngxsmk-ranges-container[_ngcontent-%COMP%]{width:100%;padding:12px;border-right:none;border-bottom:1px solid var(--datepicker-border-color);background:var(--datepicker-hover-background);border-radius:10px 10px 0 0}.ngxsmk-ranges-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;list-style:none;padding:0;margin:0}.ngxsmk-ranges-container[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:6px 10px;margin-bottom:0;font-size:.85rem;border:1px solid var(--datepicker-border-color);border-radius:6px;cursor:pointer;transition:background-color .15s ease;flex-shrink:0}.ngxsmk-ranges-container[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:var(--datepicker-hover-background)}.ngxsmk-ranges-container[_ngcontent-%COMP%] li.disabled[_ngcontent-%COMP%]{cursor:not-allowed;opacity:.5;background-color:transparent!important;color:var(--datepicker-subtle-text-color, #9ca3af)}.ngxsmk-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;position:relative;z-index:2;gap:4px}.ngxsmk-month-year-selects[_ngcontent-%COMP%]{display:flex;gap:4px}.ngxsmk-month-year-selects[_ngcontent-%COMP%] app-custom-select.month-select[_ngcontent-%COMP%]{--custom-select-width: 100px}.ngxsmk-month-year-selects[_ngcontent-%COMP%] app-custom-select.year-select[_ngcontent-%COMP%]{--custom-select-width: 75px}.ngxsmk-nav-buttons[_ngcontent-%COMP%]{display:flex}.ngxsmk-nav-button[_ngcontent-%COMP%]{padding:6px;background:none;border:none;cursor:pointer;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--datepicker-text-color)}.ngxsmk-nav-button[_ngcontent-%COMP%]:hover:not(:disabled){background-color:var(--datepicker-hover-background)}.ngxsmk-nav-button[_ngcontent-%COMP%]:disabled{cursor:not-allowed;opacity:.5}.ngxsmk-nav-button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:16px;height:16px}.ngxsmk-days-grid-wrapper[_ngcontent-%COMP%]{overflow-x:hidden}.ngxsmk-days-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;gap:0;transition:transform .3s ease-out,opacity .15s ease-out .15s}.ngxsmk-days-grid.animate-forward[_ngcontent-%COMP%]{transform:translate(-100%);opacity:0}.ngxsmk-days-grid.animate-backward[_ngcontent-%COMP%]{transform:translate(100%);opacity:0}.ngxsmk-day-name[_ngcontent-%COMP%]{font-size:.75rem;padding:6px 0;color:var(--datepicker-subtle-text-color);font-weight:600}.ngxsmk-day-cell[_ngcontent-%COMP%]{height:32px;position:relative;display:flex;justify-content:center;align-items:center;cursor:pointer;border-radius:0}.ngxsmk-day-cell.holiday[_ngcontent-%COMP%] .ngxsmk-day-number[_ngcontent-%COMP%]{color:var(--datepicker-primary-color);text-decoration:underline dotted}.ngxsmk-day-number[_ngcontent-%COMP%]{width:30px;height:30px;display:flex;justify-content:center;align-items:center;border-radius:50%;color:var(--datepicker-text-color);font-size:.9rem;position:relative;z-index:1}.ngxsmk-time-selection[_ngcontent-%COMP%]{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:12px;padding-top:8px;border-top:1px solid var(--datepicker-border-color)}.ngxsmk-time-label[_ngcontent-%COMP%]{font-size:.9rem;color:var(--datepicker-subtle-text-color);margin-right:4px}.ngxsmk-time-separator[_ngcontent-%COMP%]{font-weight:600;color:var(--datepicker-text-color)}.ngxsmk-time-selection[_ngcontent-%COMP%] app-custom-select[_ngcontent-%COMP%]{--custom-select-width: 55px;height:28px}.ngxsmk-time-selection[_ngcontent-%COMP%] app-custom-select.ampm-select[_ngcontent-%COMP%]{--custom-select-width: 65px}.ngxsmk-day-cell[_ngcontent-%COMP%]:not(.disabled):hover .ngxsmk-day-number[_ngcontent-%COMP%]{background-color:var(--datepicker-hover-background);color:var(--datepicker-primary-color)}.ngxsmk-day-cell.start-date[_ngcontent-%COMP%] .ngxsmk-day-number[_ngcontent-%COMP%], .ngxsmk-day-cell.end-date[_ngcontent-%COMP%] .ngxsmk-day-number[_ngcontent-%COMP%], .ngxsmk-day-cell.selected[_ngcontent-%COMP%] .ngxsmk-day-number[_ngcontent-%COMP%], .ngxsmk-day-cell.multiple-selected[_ngcontent-%COMP%] .ngxsmk-day-number[_ngcontent-%COMP%]{background-color:var(--datepicker-primary-color);color:var(--datepicker-primary-contrast)}.ngxsmk-day-cell.multiple-selected[_ngcontent-%COMP%] .ngxsmk-day-number[_ngcontent-%COMP%]{border:1px dashed var(--datepicker-primary-contrast)}.ngxsmk-day-cell.multiple-selected[_ngcontent-%COMP%]:hover .ngxsmk-day-number[_ngcontent-%COMP%]{background-color:var(--datepicker-primary-color);color:var(--datepicker-primary-contrast)}.ngxsmk-day-cell.in-range[_ngcontent-%COMP%], .ngxsmk-day-cell.start-date[_ngcontent-%COMP%], .ngxsmk-day-cell.end-date[_ngcontent-%COMP%], .ngxsmk-day-cell.preview-range[_ngcontent-%COMP%]{background-color:var(--datepicker-range-background)}.ngxsmk-day-cell.start-date[_ngcontent-%COMP%]{border-top-left-radius:100%;border-bottom-left-radius:100%}.ngxsmk-day-cell.end-date[_ngcontent-%COMP%]{border-top-right-radius:100%;border-bottom-right-radius:100%}.ngxsmk-day-cell.start-date.end-date[_ngcontent-%COMP%]{border-radius:50px}.ngxsmk-day-cell.disabled[_ngcontent-%COMP%]{background-color:transparent!important;color:#4b5563;cursor:not-allowed;pointer-events:none;opacity:.5}.ngxsmk-day-cell.today[_ngcontent-%COMP%] .ngxsmk-day-number[_ngcontent-%COMP%]{border:1px solid var(--datepicker-primary-color)}@media (min-width: 600px){.ngxsmk-datepicker-container[_ngcontent-%COMP%]{display:flex;flex-direction:row}.ngxsmk-calendar-container[_ngcontent-%COMP%]{padding:16px;box-shadow:0 4px 10px #0000001a;width:auto;border-radius:0 10px 10px 0}.ngxsmk-ranges-container[_ngcontent-%COMP%]{width:180px;padding:16px;border-right:1px solid var(--datepicker-border-color);border-bottom:none;background:var(--datepicker-background);border-radius:10px 0 0 10px}.ngxsmk-ranges-container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{flex-direction:column;justify-content:flex-start;gap:0}.ngxsmk-ranges-container[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:10px;margin-bottom:8px;border:none;font-size:1rem}.ngxsmk-header[_ngcontent-%COMP%]{margin-bottom:12px;gap:5px}.ngxsmk-month-year-selects[_ngcontent-%COMP%] app-custom-select.month-select[_ngcontent-%COMP%]{--custom-select-width: 120px}.ngxsmk-month-year-selects[_ngcontent-%COMP%] app-custom-select.year-select[_ngcontent-%COMP%]{--custom-select-width: 90px}.ngxsmk-nav-button[_ngcontent-%COMP%]{padding:8px}.ngxsmk-nav-button[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:18px;height:18px}.ngxsmk-day-name[_ngcontent-%COMP%]{font-size:.8rem;padding:8px 0}.ngxsmk-day-cell[_ngcontent-%COMP%]{height:38px}.ngxsmk-day-number[_ngcontent-%COMP%]{width:36px;height:36px;font-size:1rem}.ngxsmk-time-selection[_ngcontent-%COMP%]{margin-top:16px;padding-top:12px}.ngxsmk-time-selection[_ngcontent-%COMP%] app-custom-select[_ngcontent-%COMP%]{--custom-select-width: 60px;height:30px}.ngxsmk-time-selection[_ngcontent-%COMP%] app-custom-select.ampm-select[_ngcontent-%COMP%]{--custom-select-width: 70px}}"],changeDetection:0});let e=t;return e})();function qn(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0)}function yi(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999)}function Zd(e,t){let n=new Date(e);return n.setMonth(e.getMonth()+t),n}function Yd(e,t){let n=new Date(e);return n.setDate(e.getDate()-t),n}function y0(e){return new Date(e.getFullYear(),e.getMonth(),1)}function D0(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}var Qd=class{constructor(){this.holidays={"2025-01-01":"New Year's Day","2025-01-20":"MLK Jr. Day","2025-02-17":"Presidents' Day","2025-05-26":"Memorial Day","2025-07-04":"Independence Day","2025-09-01":"Labor Day","2025-10-13":"Columbus Day","2025-11-11":"Veterans Day","2025-11-27":"Thanksgiving","2025-12-25":"Christmas Day"}}formatDateKey(t){let n=t.getFullYear(),r=(t.getMonth()+1).toString().padStart(2,"0"),o=t.getDate().toString().padStart(2,"0");return`${n}-${r}-${o}`}isHoliday(t){let n=this.formatDateKey(t);return!!this.holidays[n]}getHolidayLabel(t){let n=this.formatDateKey(t);return this.holidays[n]||null}},Wv=(()=>{let t=class t{constructor(){this.today=new Date,this.JSON=JSON,this.minDate=qn(this.today),this.maxDate=yi(Zd(this.today,1)),this.currentTheme="light",this.lastAction=null,this.holidayProvider=new Qd,this.disableHolidays=!0,this.datepickerForm=new qa({singleDate:new Wn(qn(Zd(this.today,1))),singleDate2:new Wn(qn(Zd(this.today,1))),inlineRange:new Wn({value:{start:qn(this.today),end:yi(this.today)},disabled:!0}),rangeWithTime:new Wn,multipleDates:new Wn(null)}),this.myRanges={Today:[qn(this.today),yi(this.today)],Yesterday:[qn(Yd(this.today,1)),yi(Yd(this.today,1))],"Last 7 Days":[qn(Yd(this.today,6)),yi(this.today)],"This Month":[y0(this.today),D0(this.today)]},this.isWeekend=r=>{let o=r.getDay();return o===0||o===6}}get isDarkMode(){return this.currentTheme==="dark"}toggleTheme(){this.currentTheme=this.currentTheme==="light"?"dark":"light"}toggleDisabled(){let r=this.datepickerForm.controls.inlineRange;r.disabled?r.enable():r.disable()}handleDatepickerAction(r){console.log("Datepicker Action:",r),this.lastAction=r}};t.\u0275fac=function(o){return new(o||t)},t.\u0275cmp=At({type:t,selectors:[["app-root"]],hostVars:2,hostBindings:function(o,i){o&2&&ye("dark-theme",i.isDarkMode)},decls:121,vars:22,consts:[[1,"app-header"],[1,"theme-toggle",3,"click"],[1,"content",3,"formGroup"],[1,"example-container"],[1,"holiday-controls"],["type","checkbox",3,"change","checked"],["mode","single","placeholder","Select a date","formControlName","singleDate",3,"holidayProvider","disableHolidays","theme"],[1,"result-box"],["mode","range","formControlName","inlineRange",3,"inline","theme"],[1,"toggle-button",3,"click"],["mode","range","formControlName","rangeWithTime",3,"ranges","showTime","minuteInterval","isInvalidDate","theme"],["mode","multiple","formControlName","multipleDates",3,"action","isInvalidDate","theme"],[1,"app-footer"],[1,"footer-content"],[1,"footer-brand"],[1,"version-info"],[1,"version-badge"],[1,"footer-links"],["href","https://github.com/toozuuu/ngxsmk-datepicker","target","_blank","rel","noopener noreferrer",1,"github-link"],[1,"github-icon"],[1,"author-info"],[1,"author-label"],[1,"author-name"],["href","mailto:sachindilshan040@gmail.com",1,"author-email"],[1,"footer-stats"],[1,"footer-stat"],[1,"stat-value"],[1,"stat-desc"]],template:function(o,i){o&1&&(v(0,"header",0)(1,"h1"),C(2,"ngxsmk-datepicker Demo"),y(),v(3,"button",1),K("click",function(){return i.toggleTheme()}),C(4),y()(),v(5,"main",2)(6,"section",3)(7,"h2"),C(8,"Holiday Provider Integration \u{1F381}"),y(),v(9,"p"),C(10," This example uses a custom "),v(11,"code"),C(12,"HolidayProvider"),y(),C(13," class to automatically mark (and optionally disable) US holidays. The dates are colored and the name is available via a tooltip. "),y(),v(14,"div",4)(15,"label")(16,"input",5),K("change",function(){return i.disableHolidays=!i.disableHolidays}),y(),C(17," Disable Holidays "),y()(),je(18,"ngxsmk-datepicker",6),v(19,"div",7)(20,"strong"),C(21,"Form Value:"),y(),v(22,"pre"),C(23),y()()(),v(24,"section",3)(25,"h2"),C(26,"Single Date Picker"),y(),v(27,"p"),C(28," This is the default mode, with a popover calendar. It includes a clear button and min/max date validation. "),y(),v(29,"div",7)(30,"strong"),C(31,"Form Value:"),y(),v(32,"pre"),C(33),y()()(),v(34,"section",3)(35,"h2"),C(36,"Inline Range Picker"),y(),v(37,"p"),C(38," The calendar is always visible ("),v(39,"code"),C(40,'inline="true"'),y(),C(41,") and allows selecting a date range. The form control is initially disabled. "),y(),je(42,"ngxsmk-datepicker",8)(43,"br"),v(44,"button",9),K("click",function(){return i.toggleDisabled()}),C(45,"Toggle Disabled State"),y(),v(46,"div",7)(47,"strong"),C(48,"Form Value:"),y(),v(49,"pre"),C(50),y(),v(51,"strong"),C(52,"Status:"),y(),C(53),y()(),v(54,"section",3)(55,"h2"),C(56,"Date Range Picker with Time"),y(),v(57,"p"),C(58," A popover range picker with time selection and predefined ranges. Weekends are disabled. "),y(),je(59,"ngxsmk-datepicker",10),v(60,"div",7)(61,"strong"),C(62,"Form Value:"),y(),v(63,"pre"),C(64),y()()(),v(65,"section",3)(66,"h2"),C(67,"Multiple Date Selection"),y(),v(68,"p"),C(69," Select multiple, non-contiguous dates. The "),v(70,"code"),C(71,"action"),y(),C(72," output logs events to the console. "),y(),v(73,"ngxsmk-datepicker",11),K("action",function(a){return i.handleDatepickerAction(a)}),y(),v(74,"div",7)(75,"strong"),C(76,"Form Value:"),y(),v(77,"pre"),C(78),y(),v(79,"strong"),C(80,"Last Action:"),y(),v(81,"pre"),C(82),y()()()(),v(83,"footer",12)(84,"div",13)(85,"div",14)(86,"h3"),C(87,"ngxsmk-datepicker"),y(),v(88,"p"),C(89,"Optimized for performance, built for developers"),y(),v(90,"div",15)(91,"span",16),C(92,"v1.4.0"),y()()(),v(93,"div",17)(94,"a",18)(95,"span",19),C(96,"\u{1F4C1}"),y(),C(97," GitHub Repository "),y(),v(98,"div",20)(99,"span",21),C(100,"Created by:"),y(),v(101,"span",22),C(102,"Sachin Dilshan"),y(),v(103,"a",23),C(104,"sachindilshan040@gmail.com"),y()()(),v(105,"div",24)(106,"div",25)(107,"span",26),C(108,"30%"),y(),v(109,"span",27),C(110,"Smaller Bundle"),y()(),v(111,"div",25)(112,"span",26),C(113,"40%"),y(),v(114,"span",27),C(115,"Faster Render"),y()(),v(116,"div",25)(117,"span",26),C(118,"60%"),y(),v(119,"span",27),C(120,"Faster Selection"),y()()()()()),o&2&&(I(4),cn(" Toggle Theme (Current: ",i.currentTheme,") "),I(),z("formGroup",i.datepickerForm),I(11),z("checked",i.disableHolidays),I(2),z("holidayProvider",i.holidayProvider)("disableHolidays",i.disableHolidays)("theme",i.currentTheme),I(5),Te(i.JSON.stringify(i.datepickerForm.controls.singleDate.value)),I(10),Te(i.JSON.stringify(i.datepickerForm.controls.singleDate2.value)),I(9),z("inline",!0)("theme",i.currentTheme),I(8),Te(i.JSON.stringify(i.datepickerForm.controls.inlineRange.value)),I(3),cn(" ",i.datepickerForm.controls.inlineRange.status," "),I(6),z("ranges",i.myRanges)("showTime",!0)("minuteInterval",15)("isInvalidDate",i.isWeekend)("theme",i.currentTheme),I(5),Te(i.JSON.stringify(i.datepickerForm.controls.rangeWithTime.value)),I(9),z("isInvalidDate",i.isWeekend)("theme",i.currentTheme),I(5),Te(i.JSON.stringify(i.datepickerForm.controls.multipleDates.value)),I(4),Te(i.JSON.stringify(i.lastAction)))},dependencies:[fn,Gv,ec,Sv,Tv,Wd,qd,Xa],styles:["[_nghost-%COMP%]{--datepicker-primary-color: #6d28d9;--datepicker-primary-contrast: #ffffff;--datepicker-range-background: #f5f3ff;--datepicker-background: #ffffff;--datepicker-text-color: #222428;--datepicker-subtle-text-color: #9ca3af;--datepicker-border-color: #e9e9e9;--datepicker-hover-background: #f0f0f0;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background-color:#f4f5f8;min-height:100vh;overflow-x:hidden}.dark-theme[_nghost-%COMP%]{--datepicker-range-background: rgba(139, 92, 246, .2);--datepicker-background: #1f2937;--datepicker-text-color: #d1d5db;--datepicker-subtle-text-color: #6b7280;--datepicker-border-color: #4b5563;--datepicker-hover-background: #374151;background-color:#111827}.app-header[_ngcontent-%COMP%]{background-color:#24292e;color:#fff;padding:1rem 2rem;box-shadow:0 2px 8px #00000026;display:flex;justify-content:space-between;align-items:center}.app-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;font-size:1.5rem;font-weight:600}.theme-toggle[_ngcontent-%COMP%], .toggle-button[_ngcontent-%COMP%]{background-color:#3b82f6;color:#fff;padding:8px 12px;border:none;border-radius:8px;cursor:pointer;font-size:.9rem;transition:background-color .2s}.toggle-button[_ngcontent-%COMP%]{background-color:#10b981}.theme-toggle[_ngcontent-%COMP%]:hover{background-color:#2563eb}.toggle-button[_ngcontent-%COMP%]:hover{background-color:#059669}@media (max-width: 600px){.app-header[_ngcontent-%COMP%]{padding:1rem;flex-direction:column;gap:8px}.app-header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:1.25rem}}.content[_ngcontent-%COMP%]{padding:2rem;display:flex;flex-direction:column;align-items:center;gap:2rem}@media (max-width: 600px){.content[_ngcontent-%COMP%]{padding:1rem;gap:1.5rem}}.example-container[_ngcontent-%COMP%]{width:100%;max-width:620px;padding:1.5rem;background:var(--datepicker-background, #ffffff);border-radius:12px;box-shadow:0 6px 24px #00000014;display:flex;flex-direction:column;align-items:center}.holiday-controls[_ngcontent-%COMP%]{width:100%;padding:8px 12px;margin-bottom:12px;border:1px solid var(--datepicker-border-color);border-radius:8px;background-color:var(--datepicker-hover-background);font-size:.9rem;color:var(--datepicker-text-color)}.holiday-controls[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.dark-theme[_nghost-%COMP%] .example-container[_ngcontent-%COMP%]{background:#1f2937;color:#e5e7eb}.example-container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:600;margin-top:0;color:var(--datepicker-text-color, #333)}.example-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--datepicker-subtle-text-color, #666);font-size:1rem;margin-bottom:24px;border-left:4px solid var(--datepicker-border-color, #e1e4e8);padding-left:12px;line-height:1.5;width:100%}.result-box[_ngcontent-%COMP%]{margin-top:24px;padding:1rem;background-color:var(--datepicker-hover-background, #f6f8fa);border:1px solid var(--datepicker-border-color, #d1d5da);border-radius:8px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:.95rem;word-wrap:break-word;color:var(--datepicker-text-color, #24292e);width:100%}.result-box[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-weight:600}.locale-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:1rem}.locale-buttons[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#04aa6d;border:none;color:#fff;padding:10px;text-align:center;text-decoration:none;font-size:14px;border-radius:12px;cursor:pointer;min-height:44px;min-width:44px;transition:background-color .2s}.locale-buttons[_ngcontent-%COMP%] button.active[_ngcontent-%COMP%]{background-color:#037f52;box-shadow:0 0 0 3px #04aa6d66}.app-footer[_ngcontent-%COMP%]{background:var(--datepicker-background, #ffffff);color:var(--datepicker-text-color, #333);padding:2rem 0;margin-top:3rem;border-top:1px solid var(--datepicker-border-color, #e9e9e9)}.footer-content[_ngcontent-%COMP%]{max-width:1200px;margin:0 auto;padding:0 2rem;display:grid;grid-template-columns:1fr 1fr 1fr;gap:2rem;align-items:start}.footer-brand[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:700;margin:0 0 .5rem;color:var(--datepicker-text-color, #333)}.footer-brand[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--datepicker-subtle-text-color, #666);margin:0 0 1rem;font-size:.95rem}.version-info[_ngcontent-%COMP%]{margin-top:.5rem}.version-badge[_ngcontent-%COMP%]{display:inline-block;background:var(--datepicker-primary-color, #6d28d9);padding:.25rem .75rem;border-radius:1rem;font-size:.8rem;font-weight:600;color:#fff;border:1px solid var(--datepicker-primary-color, #6d28d9)}.footer-links[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.github-link[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem;color:var(--datepicker-primary-color, #6d28d9);text-decoration:none;font-weight:600;padding:.5rem 1rem;border:1px solid var(--datepicker-primary-color, #6d28d9);border-radius:.5rem;transition:all .2s ease;background:var(--datepicker-range-background, #f5f3ff)}.github-link[_ngcontent-%COMP%]:hover{background:var(--datepicker-primary-color, #6d28d9);color:#fff;transform:translateY(-1px)}.github-icon[_ngcontent-%COMP%]{font-size:1.25rem}.author-info[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem}.author-label[_ngcontent-%COMP%]{font-size:.875rem;color:var(--datepicker-subtle-text-color, #666);font-weight:500}.author-name[_ngcontent-%COMP%]{font-weight:600;color:var(--datepicker-text-color, #333)}.author-email[_ngcontent-%COMP%]{color:var(--datepicker-primary-color, #6d28d9);text-decoration:none;font-size:.875rem}.author-email[_ngcontent-%COMP%]:hover{text-decoration:underline}.footer-stats[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}.footer-stat[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center}.stat-value[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:700;color:var(--datepicker-primary-color, #6d28d9);line-height:1}.stat-desc[_ngcontent-%COMP%]{font-size:.875rem;color:var(--datepicker-subtle-text-color, #666);font-weight:500}@media (max-width: 768px){.footer-content[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:1.5rem;text-align:center}.footer-links[_ngcontent-%COMP%]{align-items:center}.footer-stats[_ngcontent-%COMP%]{flex-direction:row;justify-content:space-around}}@media (max-width: 480px){.footer-stats[_ngcontent-%COMP%]{flex-direction:column;gap:.5rem}}"]});let e=t;return e})();sd(Wv,sv).catch(e=>console.error(e));
|