From 91fd3b7f20c7e769020041eca40cb8e59dac9d33 Mon Sep 17 00:00:00 2001 From: VitaliiBodnar Date: Fri, 12 Apr 2024 14:27:39 +0300 Subject: [PATCH] init --- chunk-7H5Q5PKX.js | 7 ------ chunk-J3SZN5G5.js | 7 ++++++ chunk-POP2DZ26.js => chunk-R4B3TIJC.js | 2 +- index.html | 4 ++-- main-RYQ3TX3W.js | 32 -------------------------- main-ZGBSEDDK.js | 32 ++++++++++++++++++++++++++ 6 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 chunk-7H5Q5PKX.js create mode 100644 chunk-J3SZN5G5.js rename chunk-POP2DZ26.js => chunk-R4B3TIJC.js (99%) delete mode 100644 main-RYQ3TX3W.js create mode 100644 main-ZGBSEDDK.js diff --git a/chunk-7H5Q5PKX.js b/chunk-7H5Q5PKX.js deleted file mode 100644 index 1d07d42..0000000 --- a/chunk-7H5Q5PKX.js +++ /dev/null @@ -1,7 +0,0 @@ -var Zd=Object.defineProperty,Kd=Object.defineProperties;var Jd=Object.getOwnPropertyDescriptors;var Sn=Object.getOwnPropertySymbols;var Ea=Object.prototype.hasOwnProperty,Ca=Object.prototype.propertyIsEnumerable;var Ia=(e,t,n)=>t in e?Zd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bt=(e,t)=>{for(var n in t||={})Ea.call(t,n)&&Ia(e,n,t[n]);if(Sn)for(var n of Sn(t))Ca.call(t,n)&&Ia(e,n,t[n]);return e},_t=(e,t)=>Kd(e,Jd(t));var fw=(e,t)=>{var n={};for(var r in e)Ea.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Sn)for(var r of Sn(e))t.indexOf(r)<0&&Ca.call(e,r)&&(n[r]=e[r]);return n};var ba=null,Tn=!1,Co=1,An=Symbol("SIGNAL");function C(e){let t=ba;return ba=e,t}function Xd(){return Tn}var _o={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ef(e){if(!(No(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Co)){if(!e.producerMustRecompute(e)&&!On(e)){e.dirty=!1,e.lastCleanEpoch=Co;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=Co}}function tf(e){if(e.liveConsumerNode===void 0)return;let t=Tn;Tn=!0;try{for(let n of e.liveConsumerNode)n.dirty||_a(n)}finally{Tn=t}}function _a(e){e.dirty=!0,tf(e),e.consumerMarkedDirty?.(e)}function Mo(e){return e&&(e.nextProducerIndex=0),C(e)}function xo(e,t){if(C(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(No(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function On(e){Nn(e);for(let t=0;t0}function Nn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function nf(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function rf(){throw new Error}var of=rf;function Ma(e){of=e}function xa(e,t,n){let r=Object.create(sf);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(So(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=bo)}let a=()=>{if(r.fn===null)return;if(Xd())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!On(r))return;r.hasRun=!0;let u=Mo(r);try{r.cleanupFn(),r.cleanupFn=bo,r.fn(o)}finally{xo(r,u)}};return r.ref={notify:()=>_a(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[An]:r},r.ref}var bo=()=>{},sf=_t(bt({},_o),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:bo});function m(e){return typeof e=="function"}function Mt(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 Fn=Mt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: -${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Xe(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var U=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(m(r))try{r()}catch(i){t=i instanceof Fn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Sa(i)}catch(s){t=t??[],s instanceof Fn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Fn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Sa(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)&&Xe(n,t)}remove(t){let{_finalizers:n}=this;n&&Xe(n,t),t instanceof e&&t._removeParent(this)}};U.EMPTY=(()=>{let e=new U;return e.closed=!0,e})();var Ao=U.EMPTY;function Rn(e){return e instanceof U||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function Sa(e){m(e)?e():e.unsubscribe()}var ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var xt={setTimeout(e,t,...n){let{delegate:r}=xt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=xt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Pn(e){xt.setTimeout(()=>{let{onUnhandledError:t}=ye;if(t)t(e);else throw e})}function Kt(){}var Ta=Oo("C",void 0,void 0);function Na(e){return Oo("E",void 0,e)}function Aa(e){return Oo("N",e,void 0)}function Oo(e,t,n){return{kind:e,value:t,error:n}}var et=null;function St(e){if(ye.useDeprecatedSynchronousErrorHandling){let t=!et;if(t&&(et={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=et;if(et=null,n)throw r}}else e()}function Oa(e){ye.useDeprecatedSynchronousErrorHandling&&et&&(et.errorThrown=!0,et.error=e)}var tt=class extends U{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Rn(t)&&t.add(this)):this.destination=cf}static create(t,n,r){return new Fe(t,n,r)}next(t){this.isStopped?Ro(Aa(t),this):this._next(t)}error(t){this.isStopped?Ro(Na(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ro(Ta,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()}}},af=Function.prototype.bind;function Fo(e,t){return af.call(e,t)}var Po=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){kn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){kn(r)}else kn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){kn(n)}}},Fe=class extends tt{constructor(t,n,r){super();let o;if(m(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ye.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Fo(t.next,i),error:t.error&&Fo(t.error,i),complete:t.complete&&Fo(t.complete,i)}):o=t}this.destination=new Po(o)}};function kn(e){ye.useDeprecatedSynchronousErrorHandling?Oa(e):Pn(e)}function uf(e){throw e}function Ro(e,t){let{onStoppedNotification:n}=ye;n&&xt.setTimeout(()=>n(e,t))}var cf={closed:!0,next:Kt,error:uf,complete:Kt};var Tt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function K(e){return e}function lf(...e){return ko(e)}function ko(e){return e.length===0?K:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var M=(()=>{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=ff(n)?n:new Fe(n,r,o);return St(()=>{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=Fa(r),new r((o,i)=>{let s=new Fe({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Tt](){return this}pipe(...n){return ko(n)(this)}toPromise(n){return n=Fa(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 Fa(e){var t;return(t=e??ye.Promise)!==null&&t!==void 0?t:Promise}function df(e){return e&&m(e.next)&&m(e.error)&&m(e.complete)}function ff(e){return e&&e instanceof tt||df(e)&&Rn(e)}function Lo(e){return m(e?.lift)}function v(e){return t=>{if(Lo(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 D(e,t,n,r,o){return new jo(e,t,n,r,o)}var jo=class extends tt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Vo(){return v((e,t)=>{let n=null;e._refCount++;let r=D(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 Bo=class extends M{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Lo(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 U;let n=this.getSubject();t.add(this.source.subscribe(D(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=U.EMPTY)}return t}refCount(){return Vo()(this)}};var Ra=Mt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var de=(()=>{class e extends M{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Ln(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ra}next(n){St(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){St(()=>{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(){St(()=>{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?Ao:(this.currentObservers=null,i.push(n),new U(()=>{this.currentObservers=null,Xe(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new M;return n.source=this,n}}return e.create=(t,n)=>new Ln(t,n),e})(),Ln=class extends de{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:Ao}};var Jt=class extends de{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 Xt={now(){return(Xt.delegate||Date).now()},delegate:void 0};var jn=class extends de{constructor(t=1/0,n=1/0,r=Xt){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;se.complete());function Hn(e){return e&&m(e.schedule)}function $o(e){return e[e.length-1]}function Un(e){return m($o(e))?e.pop():void 0}function be(e){return Hn($o(e))?e.pop():void 0}function ka(e,t){return typeof $o(e)=="number"?e.pop():t}function ja(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function La(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 rt(e){return this instanceof rt?(this.v=e,this):new rt(e)}function Va(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,g){i.push([f,p,h,g])>1||a(f,p)})})}function a(f,p){try{u(r[f](p))}catch(h){d(i[0][3],h)}}function u(f){f.value instanceof rt?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Ba(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 La=="function"?La(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var At=e=>e&&typeof e.length=="number"&&typeof e!="function";function Gn(e){return m(e?.then)}function zn(e){return m(e[Tt])}function Wn(e){return Symbol.asyncIterator&&m(e?.[Symbol.asyncIterator])}function qn(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 pf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Yn=pf();function Qn(e){return m(e?.[Yn])}function Zn(e){return Va(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield rt(n.read());if(o)return yield rt(void 0);yield yield rt(r)}}finally{n.releaseLock()}})}function Kn(e){return m(e?.getReader)}function A(e){if(e instanceof M)return e;if(e!=null){if(zn(e))return hf(e);if(At(e))return gf(e);if(Gn(e))return mf(e);if(Wn(e))return $a(e);if(Qn(e))return yf(e);if(Kn(e))return Df(e)}throw qn(e)}function hf(e){return new M(t=>{let n=e[Tt]();if(m(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function gf(e){return new M(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Pn)})}function yf(e){return new M(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function $a(e){return new M(t=>{vf(e,t).catch(n=>t.error(n))})}function Df(e){return $a(Zn(e))}function vf(e,t){var n,r,o,i;return ja(this,void 0,void 0,function*(){try{for(n=Ba(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 te(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 Jn(e,t=0){return v((n,r)=>{n.subscribe(D(r,o=>te(r,e,()=>r.next(o),t),()=>te(r,e,()=>r.complete(),t),o=>te(r,e,()=>r.error(o),t)))})}function Xn(e,t=0){return v((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Ha(e,t){return A(e).pipe(Xn(t),Jn(t))}function Ua(e,t){return A(e).pipe(Xn(t),Jn(t))}function Ga(e,t){return new M(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function za(e,t){return new M(n=>{let r;return te(n,t,()=>{r=e[Yn](),te(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)}),()=>m(r?.return)&&r.return()})}function er(e,t){if(!e)throw new Error("Iterable cannot be null");return new M(n=>{te(n,t,()=>{let r=e[Symbol.asyncIterator]();te(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Wa(e,t){return er(Zn(e),t)}function qa(e,t){if(e!=null){if(zn(e))return Ha(e,t);if(At(e))return Ga(e,t);if(Gn(e))return Ua(e,t);if(Wn(e))return er(e,t);if(Qn(e))return za(e,t);if(Kn(e))return Wa(e,t)}throw qn(e)}function _e(e,t){return t?qa(e,t):A(e)}function wf(...e){let t=be(e);return _e(e,t)}function If(e,t){let n=m(e)?e:()=>e,r=o=>o.error(n());return new M(t?o=>t.schedule(r,0,o):r)}function Ef(e){return!!e&&(e instanceof M||m(e.lift)&&m(e.subscribe))}var ot=Mt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ya(e){return e instanceof Date&&!isNaN(e)}function Me(e,t){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Cf}=Array;function bf(e,t){return Cf(t)?e(...t):e(t)}function Ot(e){return Me(t=>bf(e,t))}var{isArray:_f}=Array,{getPrototypeOf:Mf,prototype:xf,keys:Sf}=Object;function tr(e){if(e.length===1){let t=e[0];if(_f(t))return{args:t,keys:null};if(Tf(t)){let n=Sf(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Tf(e){return e&&typeof e=="object"&&Mf(e)===xf}function nr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Nf(...e){let t=be(e),n=Un(e),{args:r,keys:o}=tr(e);if(r.length===0)return _e([],t);let i=new M(Af(r,t,o?s=>nr(o,s):K));return n?i.pipe(Ot(n)):i}function Af(e,t,n=K){return r=>{Qa(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=_e(e[u],t),l=!1;c.subscribe(D(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Qa(e,t,n){e?te(n,e,t):t()}function Za(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&t.complete()},p=g=>c{i&&t.next(g),c++;let _=!1;A(n(g,l++)).subscribe(D(t,b=>{o?.(b),i?p(b):t.next(b)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;u.length&&ch(b)):h(b)}f()}catch(b){t.error(b)}}))};return e.subscribe(D(t,p,()=>{d=!0,f()})),()=>{a?.()}}function Re(e,t,n=1/0){return m(t)?Re((r,o)=>Me((i,s)=>t(r,i,o,s))(A(e(r,o))),n):(typeof t=="number"&&(n=t),v((r,o)=>Za(r,o,e,n)))}function rr(e=1/0){return Re(K,e)}function Ka(){return rr(1)}function or(...e){return Ka()(_e(e,be(e)))}function Of(e){return new M(t=>{A(e()).subscribe(t)})}function Ff(...e){let t=Un(e),{args:n,keys:r}=tr(e),o=new M(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?nr(r,a):a),i.complete())}))}});return t?o.pipe(Ot(t)):o}var Rf=["addListener","removeListener"],Pf=["addEventListener","removeEventListener"],kf=["on","off"];function Ho(e,t,n,r){if(m(n)&&(r=n,n=void 0),r)return Ho(e,t,n).pipe(Ot(r));let[o,i]=Vf(e)?Pf.map(s=>a=>e[s](t,a,n)):Lf(e)?Rf.map(Ja(e,t)):jf(e)?kf.map(Ja(e,t)):[];if(!o&&At(e))return Re(s=>Ho(s,t,n))(A(e));if(!o)throw new TypeError("Invalid event target");return new M(s=>{let a=(...u)=>s.next(1i(a)})}function Ja(e,t){return n=>r=>e[n](t,r)}function Lf(e){return m(e.addListener)&&m(e.removeListener)}function jf(e){return m(e.on)&&m(e.off)}function Vf(e){return m(e.addEventListener)&&m(e.removeEventListener)}function Xa(e=0,t,n=Pa){let r=-1;return t!=null&&(Hn(t)?n=t:r=t),new M(o=>{let i=Ya(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Bf(...e){let t=be(e),n=ka(e,1/0),r=e;return r.length?r.length===1?A(r[0]):rr(n)(_e(r,t)):nt}function it(e,t){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function eu(e){return v((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(D(n,c=>{r=!0,o=c,i||A(e(c)).subscribe(i=D(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function $f(e,t=tn){return eu(()=>Xa(e,t))}function Uo(e){return v((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=A(e(s,Uo(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function tu(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(D(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function Hf(e,t){return m(t)?Re(e,t,1):Re(e,1)}function Uf(e,t=tn){return v((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function nn(e){return v((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Go(e){return e<=0?()=>nt:v((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Gf(e){return Me(()=>e)}function zf(e,t=K){return e=e??Wf,v((n,r)=>{let o,i=!0;n.subscribe(D(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Wf(e,t){return e===t}function ir(e=qf){return v((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function qf(){return new ot}function nu(e){return v((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function ru(e,t){let n=arguments.length>=2;return r=>r.pipe(e?it((o,i)=>e(o,i,r)):K,Go(1),n?nn(t):ir(()=>new ot))}function zo(e){return e<=0?()=>nt:v((t,n)=>{let r=[];t.subscribe(D(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Yf(e,t){let n=arguments.length>=2;return r=>r.pipe(e?it((o,i)=>e(o,i,r)):K,zo(1),n?nn(t):ir(()=>new ot))}function Qf(e,t){return v(tu(e,t,arguments.length>=2,!0))}function qo(e={}){let{connector:t=()=>new de,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=u=void 0,l=d=!1},h=()=>{let g=s;p(),g?.unsubscribe()};return v((g,_)=>{c++,!d&&!l&&f();let b=u=u??t();_.add(()=>{c--,c===0&&!d&&!l&&(a=Wo(h,o))}),b.subscribe(_),!s&&c>0&&(s=new Fe({next:H=>b.next(H),error:H=>{d=!0,f(),a=Wo(p,n,H),b.error(H)},complete:()=>{l=!0,f(),a=Wo(p,r),b.complete()}}),A(g).subscribe(s))})(i)}}function Wo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Fe({next:()=>{r.unsubscribe(),e()}});return A(t(...n)).subscribe(r)}function Zf(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,qo({connector:()=>new jn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Kf(e){return it((t,n)=>e<=n)}function Jf(...e){let t=be(e);return v((n,r)=>{(t?or(e,n,t):or(e,n)).subscribe(r)})}function Xf(e,t){return v((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(D(r,u=>{o?.unsubscribe();let c=0,l=i++;A(e(u,l)).subscribe(o=D(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ou(e){return v((t,n)=>{A(e).subscribe(D(n,()=>n.complete(),Kt)),!n.closed&&t.subscribe(n)})}function ep(e,t=!1){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function iu(e,t,n){let r=m(e)||t||n?{next:e,error:t,complete:n}:e;return r?v((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(D(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):K}var Wu="https://g.co/ng/security#xss",S=class extends Error{constructor(t,n){super(qu(t,n)),this.code=t}};function qu(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function Dn(e){return{toString:e}.toString()}var sr="__parameters__";function tp(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Yu(e,t,n){return Dn(()=>{let r=tp(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(sr)?u[sr]:Object.defineProperty(u,sr,{value:[]})[sr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var fe=globalThis;function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function np(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function X(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(X).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` -`);return n===-1?t:t.substring(0,n)}function li(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var rp=O({__forward_ref__:O});function Qu(e){return e.__forward_ref__=Qu,e.toString=function(){return X(this())},e}function J(e){return Zu(e)?e():e}function Zu(e){return typeof e=="function"&&e.hasOwnProperty(rp)&&e.__forward_ref__===Qu}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ku(e){return{providers:e.providers||[],imports:e.imports||[]}}function $r(e){return su(e,Ju)||su(e,Xu)}function RM(e){return $r(e)!==null}function su(e,t){return e.hasOwnProperty(t)?e[t]:null}function op(e){let t=e&&(e[Ju]||e[Xu]);return t||null}function au(e){return e&&(e.hasOwnProperty(uu)||e.hasOwnProperty(ip))?e[uu]:null}var Ju=O({\u0275prov:O}),uu=O({\u0275inj:O}),Xu=O({ngInjectableDef:O}),ip=O({ngInjectorDef:O}),F=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=B({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ec(e){return e&&!!e.\u0275providers}var sp=O({\u0275cmp:O}),ap=O({\u0275dir:O}),up=O({\u0275pipe:O}),cp=O({\u0275mod:O}),vr=O({\u0275fac:O}),rn=O({__NG_ELEMENT_ID__:O}),cu=O({__NG_ENV_ID__:O});function vn(e){return typeof e=="string"?e:e==null?"":String(e)}function lp(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():vn(e)}function dp(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new S(-200,e)}function Es(e,t){throw new S(-201,!1)}var x=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(x||{}),di;function tc(){return di}function ne(e){let t=di;return di=e,t}function nc(e,t,n){let r=$r(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&x.Optional)return null;if(t!==void 0)return t;Es(e,"Injector")}var fp={},on=fp,fi="__NG_DI_FLAG__",wr="ngTempTokenPath",pp="ngTokenPath",hp=/\n/gm,gp="\u0275",lu="__source",kt;function mp(){return kt}function Ge(e){let t=kt;return kt=e,t}function yp(e,t=x.Default){if(kt===void 0)throw new S(-203,!1);return kt===null?nc(e,void 0,t):kt.get(e,t&x.Optional?null:void 0,t)}function oe(e,t=x.Default){return(tc()||yp)(J(e),t)}function L(e,t=x.Default){return oe(e,Hr(t))}function Hr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function pi(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):X(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(hp,` - `)}`}var Ip=rc(Yu("Optional"),8);var Ep=rc(Yu("SkipSelf"),4);function lt(e,t){let n=e.hasOwnProperty(vr);return n?e[vr]:null}function Cp(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?Cs(n,t):t(n))}function oc(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ir(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function _p(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Ur(e,t,n){let r=wn(e,t);return r>=0?e[r|1]=n:(r=~r,Mp(e,r,t,n)),r}function Yo(e,t){let n=wn(e,t);if(n>=0)return e[n|1]}function wn(e,t){return xp(e,t,1)}function xp(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(De(r))return!1;s=!0}}}}return De(r)||s}function De(e){return(e&1)===0}function Fp(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!De(s)&&(t+=fu(i,o),o=""),r=s,i=i||!De(r);n++}return o!==""&&(t+=fu(i,o)),t}function Vp(e){return e.map(jp).join(",")}function Bp(e){let t=[],n=[],r=1,o=2;for(;r{let t=gc(e),n=_t(bt({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ac.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||sn.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""});mc(n);let r=e.dependencies;return n.directiveDefs=hu(r,!1),n.pipeDefs=hu(r,!0),n.id=Gp(n),n})}function $p(e){return dt(e)||fc(e)}function Hp(e){return e!==null}function dc(e){return Dn(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function pu(e,t){if(e==null)return jt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=We.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==We.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Gr(e){return Dn(()=>{let t=gc(e);return mc(t),t})}function zr(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 dt(e){return e[sp]||null}function fc(e){return e[ap]||null}function pc(e){return e[up]||null}function Up(e){let t=dt(e)||fc(e)||pc(e);return t!==null?t.standalone:!1}function hc(e,t){let n=e[cp]||null;if(!n&&t===!0)throw new Error(`Type ${X(e)} does not have '\u0275mod' property.`);return n}function gc(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||jt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:pu(e.inputs,t),outputs:pu(e.outputs),debugInfo:null}}function mc(e){e.features?.forEach(t=>t(e))}function hu(e,t){if(!e)return null;let n=t?pc:$p;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Hp)}function Gp(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function zp(e){return{\u0275providers:e}}function Wp(...e){return{\u0275providers:yc(!0,e),\u0275fromNgModule:!0}}function yc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Cs(t,s=>{let a=s;gi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Dc(o,i),n}function Dc(e,t){for(let n=0;n{t(i,r)})}}function gi(e,t,n,r){if(e=J(e),!e)return!1;let o=null,i=au(e),s=!i&&dt(e);if(!i&&!s){let u=e.ngModule;if(i=au(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)gi(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{Cs(i.imports,l=>{gi(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&Dc(c,t)}if(!a){let c=lt(o)||(()=>new o);t({provide:o,useFactory:c,deps:re},o),t({provide:sc,useValue:o,multi:!0},o),t({provide:Er,useValue:()=>oe(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;_s(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function _s(e,t){for(let n of e)ec(n)&&(n=n.\u0275providers),Array.isArray(n)?_s(n,t):t(n)}var qp=O({provide:String,useValue:O});function vc(e){return e!==null&&typeof e=="object"&&qp in e}function Yp(e){return!!(e&&e.useExisting)}function Qp(e){return!!(e&&e.useFactory)}function Vt(e){return typeof e=="function"}function Zp(e){return!!e.useClass}var wc=new F(""),fr={},Kp={},Qo;function Ms(){return Qo===void 0&&(Qo=new Cr),Qo}var qe=class{},un=class extends qe{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,yi(t,s=>this.processProvider(s)),this.records.set(ic,Ft(void 0,this)),o.has("environment")&&this.records.set(qe,Ft(void 0,this));let i=this.records.get(wc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(sc,re,x.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=C(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(),C(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Ge(this),r=ne(void 0),o;try{return t()}finally{Ge(n),ne(r)}}get(t,n=on,r=x.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(cu))return t[cu](this);r=Hr(r);let o,i=Ge(this),s=ne(void 0);try{if(!(r&x.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=nh(t)&&$r(t);c&&this.injectableDefInScope(c)?u=Ft(mi(t),fr):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&x.Self?Ms():this.parent;return n=r&x.Optional&&n===on?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[wr]=a[wr]||[]).unshift(X(t)),i)throw a;return vp(a,t,"R3InjectorError",this.source)}else throw a}finally{ne(s),Ge(i)}}resolveInjectorInitializers(){let t=C(null),n=Ge(this),r=ne(void 0),o;try{let i=this.get(Er,re,x.Self);for(let s of i)s()}finally{Ge(n),ne(r),C(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(X(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(t){t=J(t);let n=Vt(t)?t:J(t&&t.provide),r=Xp(t);if(!Vt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ft(void 0,fr,!0),o.factory=()=>pi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=C(null);try{return n.value===fr&&(n.value=Kp,n.value=n.factory()),typeof n.value=="object"&&n.value&&th(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=J(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 mi(e){let t=$r(e),n=t!==null?t.factory:lt(e);if(n!==null)return n;if(e instanceof F)throw new S(204,!1);if(e instanceof Function)return Jp(e);throw new S(204,!1)}function Jp(e){if(e.length>0)throw new S(204,!1);let n=op(e);return n!==null?()=>n.factory(e):()=>new e}function Xp(e){if(vc(e))return Ft(void 0,e.useValue);{let t=Ic(e);return Ft(t,fr)}}function Ic(e,t,n){let r;if(Vt(e)){let o=J(e);return lt(o)||mi(o)}else if(vc(e))r=()=>J(e.useValue);else if(Qp(e))r=()=>e.useFactory(...pi(e.deps||[]));else if(Yp(e))r=()=>oe(J(e.useExisting));else{let o=J(e&&(e.useClass||e.provide));if(eh(e))r=()=>new o(...pi(e.deps));else return lt(o)||mi(o)}return r}function Ft(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function eh(e){return!!e.deps}function th(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function nh(e){return typeof e=="function"||typeof e=="object"&&e instanceof F}function yi(e,t){for(let n of e)Array.isArray(n)?yi(n,t):n&&ec(n)?yi(n.\u0275providers,t):t(n)}function kM(e,t){e instanceof un&&e.assertNotDestroyed();let n,r=Ge(e),o=ne(void 0);try{return t()}finally{Ge(r),ne(o)}}function Ec(){return tc()!==void 0||mp()!=null}function rh(e){if(!Ec())throw new S(-203,!1)}function oh(e){return typeof e=="function"}var Ne=0,w=1,y=2,z=3,we=4,ue=5,Bt=6,cn=7,q=8,$t=9,Ee=10,k=11,ln=12,gu=13,Wt=14,pe=15,In=16,Rt=17,Pe=18,Wr=19,Cc=20,ze=21,pr=22,ft=23,W=25,xs=1;var pt=7,br=8,Ht=9,Y=10,Ss=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Ss||{});function ut(e){return Array.isArray(e)&&typeof e[xs]=="object"}function je(e){return Array.isArray(e)&&e[xs]===!0}function Ts(e){return(e.flags&4)!==0}function qr(e){return e.componentOffset>-1}function Yr(e){return(e.flags&1)===1}function ke(e){return!!e.template}function ih(e){return(e[y]&512)!==0}var Di=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function bc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Ns(){return _c}function _c(e){return e.type.prototype.ngOnChanges&&(e.setInput=ah),sh}Ns.ngInherit=!0;function sh(){let e=xc(this),t=e?.current;if(t){let n=e.previous;if(n===jt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ah(e,t,n,r,o){let i=this.declaredInputs[r],s=xc(e)||uh(e,{previous:jt,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new Di(c&&c.currentValue,n,u===jt),bc(e,t,o,n)}var Mc="__ngSimpleChanges__";function xc(e){return e[Mc]||null}function uh(e,t){return e[Mc]=t}var mu=null;var xe=function(e,t,n){mu?.(e,t,n)},Sc="svg",ch="math",lh=!1;function dh(){return lh}function Te(e){for(;Array.isArray(e);)e=e[Ne];return e}function fh(e){for(;Array.isArray(e);){if(typeof e[xs]=="object")return e;e=e[Ne]}return null}function Tc(e,t){return Te(t[e])}function he(e,t){return Te(t[e.index])}function As(e,t){return e.data[t]}function Os(e,t){return e[t]}function Ze(e,t){let n=t[e];return ut(n)?n:n[Ne]}function ph(e){return(e[y]&4)===4}function Fs(e){return(e[y]&128)===128}function hh(e){return je(e[z])}function Ut(e,t){return t==null?null:e[t]}function Nc(e){e[Rt]=0}function gh(e){e[y]&1024||(e[y]|=1024,Fs(e)&&dn(e))}function mh(e,t){for(;e>0;)t=t[Wt],e--;return t}function Rs(e){return!!(e[y]&9216||e[ft]?.dirty)}function vi(e){e[Ee].changeDetectionScheduler?.notify(1),Rs(e)?dn(e):e[y]&64&&(dh()?(e[y]|=1024,dn(e)):e[Ee].changeDetectionScheduler?.notify())}function dn(e){e[Ee].changeDetectionScheduler?.notify();let t=fn(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!Fs(t)));)t=fn(t)}function Ac(e,t){if((e[y]&256)===256)throw new S(911,!1);e[ze]===null&&(e[ze]=[]),e[ze].push(t)}function yh(e,t){if(e[ze]===null)return;let n=e[ze].indexOf(t);n!==-1&&e[ze].splice(n,1)}function fn(e){let t=e[z];return je(t)?t[z]:t}var E={lFrame:Bc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Dh(){return E.lFrame.elementDepthCount}function vh(){E.lFrame.elementDepthCount++}function wh(){E.lFrame.elementDepthCount--}function Oc(){return E.bindingsEnabled}function Fc(){return E.skipHydrationRootTNode!==null}function Ih(e){return E.skipHydrationRootTNode===e}function Eh(){E.skipHydrationRootTNode=null}function I(){return E.lFrame.lView}function j(){return E.lFrame.tView}function LM(e){return E.lFrame.contextLView=e,e[q]}function jM(e){return E.lFrame.contextLView=null,e}function Q(){let e=Rc();for(;e!==null&&e.type===64;)e=e.parent;return e}function Rc(){return E.lFrame.currentTNode}function Ch(){let e=E.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function wt(e,t){let n=E.lFrame;n.currentTNode=e,n.isParent=t}function Ps(){return E.lFrame.isParent}function ks(){E.lFrame.isParent=!1}function bh(){return E.lFrame.contextLView}function Ls(){let e=E.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function _h(e){return E.lFrame.bindingIndex=e}function Ke(){return E.lFrame.bindingIndex++}function Pc(e){let t=E.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Mh(){return E.lFrame.inI18n}function xh(e,t){let n=E.lFrame;n.bindingIndex=n.bindingRootIndex=e,wi(t)}function Sh(){return E.lFrame.currentDirectiveIndex}function wi(e){E.lFrame.currentDirectiveIndex=e}function kc(e){let t=E.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Lc(){return E.lFrame.currentQueryIndex}function js(e){E.lFrame.currentQueryIndex=e}function Th(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[ue]:null}function jc(e,t,n){if(n&x.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&x.Host);)if(o=Th(i),o===null||(i=i[Wt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=E.lFrame=Vc();return r.currentTNode=t,r.lView=e,!0}function Vs(e){let t=Vc(),n=e[w];E.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Vc(){let e=E.lFrame,t=e===null?null:e.child;return t===null?Bc(e):t}function Bc(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 $c(){let e=E.lFrame;return E.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Hc=$c;function Bs(){let e=$c();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 Nh(e){return(E.lFrame.contextLView=mh(e,E.lFrame.contextLView))[q]}function Je(){return E.lFrame.selectedIndex}function ht(e){E.lFrame.selectedIndex=e}function qt(){let e=E.lFrame;return As(e.tView,e.selectedIndex)}function VM(){E.lFrame.currentNamespace=Sc}function BM(){Ah()}function Ah(){E.lFrame.currentNamespace=null}function Oh(){return E.lFrame.currentNamespace}var Uc=!0;function Qr(){return Uc}function Zr(e){Uc=e}function Fh(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=_c(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 Kr(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[Rt]+=65536),(a>14>16&&(e[y]&3)===t&&(e[y]+=16384,yu(a,i)):yu(a,i)}var Lt=-1,gt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function Ph(e){return e instanceof gt}function kh(e){return(e.flags&8)!==0}function Lh(e){return(e.flags&16)!==0}function zc(e){return e!==Lt}function _r(e){return e&32767}function jh(e){return e>>16}function Mr(e,t){let n=jh(e),r=t;for(;n>0;)r=r[Wt],n--;return r}var Ii=!0;function xr(e){let t=Ii;return Ii=e,t}var Vh=256,Wc=Vh-1,qc=5,Bh=0,Se={};function $h(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(rn)&&(r=n[rn]),r==null&&(r=n[rn]=Bh++);let o=r&Wc,i=1<>qc)]|=i}function Sr(e,t){let n=Yc(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Ko(r.data,e),Ko(t,null),Ko(r.blueprint,null));let o=$s(e,t),i=e.injectorIndex;if(zc(o)){let s=_r(o),a=Mr(o,t),u=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Ko(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Yc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function $s(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=Xc(o),r===null)return Lt;if(n++,o=o[Wt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Lt}function Ei(e,t,n){$h(e,t,n)}function Hh(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,f=o?a+l:c;for(let p=d;p=u&&h.type===n)return p}if(o){let p=s[u];if(p&&ke(p)&&p.type===n)return u}return null}function mt(e,t,n,r){let o=e[n],i=t.data;if(Ph(o)){let s=o;s.resolving&&dp(lp(i[n]));let a=xr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ne(s.injectImpl):null,l=jc(e,r,x.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Fh(n,i[n],t)}finally{c!==null&&ne(c),xr(a),s.resolving=!1,Hc()}}return o}function Gh(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(rn)?e[rn]:void 0;return typeof t=="number"?t>=0?t&Wc:zh:t}function Du(e,t,n){let r=1<>qc)]&r)}function vu(e,t){return!(e&x.Self)&&!(e&x.Host&&t)}var ct=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Kc(this._tNode,this._lView,t,Hr(r),n)}};function zh(){return new ct(Q(),I())}function $M(e){return Dn(()=>{let t=e.prototype.constructor,n=t[vr]||Ci(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[vr]||Ci(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ci(e){return Zu(e)?()=>{let t=Ci(J(e));return t&&t()}:lt(e)}function Wh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=Jc(i,s,n,r|x.Self,Se);if(a!==Se)return a;let u=i.parent;if(!u){let c=s[Cc];if(c){let l=c.get(n,Se,r);if(l!==Se)return l}u=Xc(s),s=s[Wt]}i=u}return o}function Xc(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[ue]:null}function qh(e){return Hh(Q(),e)}function wu(e,t=null,n=null,r){let o=el(e,t,n,r);return o.resolveInjectorInitializers(),o}function el(e,t=null,n=null,r,o=new Set){let i=[n||re,Wp(e)];return r=r||(typeof e=="object"?void 0:X(e)),new un(i,t||Ms(),r||null,o)}var Jr=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return wu({name:""},o,r,"");{let i=r.name??"";return wu({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=on,t.NULL=new Cr,t.\u0275prov=B({token:t,providedIn:"any",factory:()=>oe(ic)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var Yh="ngOriginalError";function Jo(e){return e[Yh]}var yt=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Jo(t);for(;n&&Jo(n);)n=Jo(n);return n||null}},tl=new F("",{providedIn:"root",factory:()=>L(yt).handleError.bind(void 0)}),Hs=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Qh,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),bi=class extends Hs{constructor(t){super(),this._lView=t}onDestroy(t){return Ac(this._lView,t),()=>yh(this._lView,t)}};function Qh(){return new bi(I())}function Zh(){return Yt(Q(),I())}function Yt(e,t){return new It(he(e,t))}var It=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Zh;let e=t;return e})();function Kh(e){return e instanceof It?e.nativeElement:e}var _i=class extends de{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,Ec()&&(this.destroyRef=L(Hs,{optional:!0})??void 0)}emit(t){let n=C(null);try{super.next(t)}finally{C(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Xo(i),o&&(o=Xo(o)),s&&(s=Xo(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof U&&t.add(a),a}};function Xo(e){return t=>{setTimeout(e,void 0,t)}}var at=_i;function Jh(){return this._results[Symbol.iterator]()}var Mi=class e{get changes(){return this._changes??=new at}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Jh)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=bp(t);(this._changesDetected=!Cp(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function nl(e){return(e.flags&128)===128}var rl=new Map,Xh=0;function eg(){return Xh++}function tg(e){rl.set(e[Wr],e)}function ng(e){rl.delete(e[Wr])}var Iu="__ngContext__";function Ye(e,t){ut(t)?(e[Iu]=t[Wr],tg(t)):e[Iu]=t}function ol(e){return sl(e[ln])}function il(e){return sl(e[we])}function sl(e){for(;e!==null&&!je(e);)e=e[we];return e}var xi;function HM(e){xi=e}function al(){if(xi!==void 0)return xi;if(typeof document<"u")return document;throw new S(210,!1)}var UM=new F("",{providedIn:"root",factory:()=>rg}),rg="ng",og=new F(""),ig=new F("",{providedIn:"platform",factory:()=>"unknown"});var GM=new F(""),zM=new F("",{providedIn:"root",factory:()=>al().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var sg="h",ag="b";var ug=()=>null;function Us(e,t,n=!1){return ug(e,t,n)}var ul=!1,cg=new F("",{providedIn:"root",factory:()=>ul});var ar;function lg(){if(ar===void 0&&(ar=null,fe.trustedTypes))try{ar=fe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ar}function Xr(e){return lg()?.createHTML(e)||e}var ur;function dg(){if(ur===void 0&&(ur=null,fe.trustedTypes))try{ur=fe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ur}function Eu(e){return dg()?.createHTML(e)||e}var Le=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Wu})`}},Si=class extends Le{getTypeName(){return"HTML"}},Ti=class extends Le{getTypeName(){return"Style"}},Ni=class extends Le{getTypeName(){return"Script"}},Ai=class extends Le{getTypeName(){return"URL"}},Oi=class extends Le{getTypeName(){return"ResourceURL"}};function En(e){return e instanceof Le?e.changingThisBreaksApplicationSecurity:e}function cl(e,t){let n=fg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Wu})`)}return n===t}function fg(e){return e instanceof Le&&e.getTypeName()||null}function WM(e){return new Si(e)}function qM(e){return new Ti(e)}function YM(e){return new Ni(e)}function QM(e){return new Ai(e)}function ZM(e){return new Oi(e)}function pg(e){let t=new Ri(e);return hg()?new Fi(t):t}var Fi=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Xr(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},Ri=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Xr(t),n}};function hg(){try{return!!new window.DOMParser().parseFromString(Xr(""),"text/html")}catch{return!1}}var gg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ll(e){return e=String(e),e.match(gg)?e:"unsafe:"+e}function Ve(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Cn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var dl=Ve("area,br,col,hr,img,wbr"),fl=Ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),pl=Ve("rp,rt"),mg=Cn(pl,fl),yg=Cn(fl,Ve("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Dg=Cn(pl,Ve("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Cu=Cn(dl,yg,Dg,mg),hl=Ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),vg=Ve("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),wg=Ve("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),Ig=Cn(hl,vg,wg),Eg=Ve("script,style,template"),Pi=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=_g(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=bg(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=bu(t).toLowerCase();if(!Cu.hasOwnProperty(n))return this.sanitizedSomething=!0,!Eg.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=bu(t).toLowerCase();Cu.hasOwnProperty(n)&&!dl.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(_u(t))}};function Cg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function bg(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw gl(t);return t}function _g(e){let t=e.firstChild;if(t&&Cg(e,t))throw gl(t);return t}function bu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function gl(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Mg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xg=/([^\#-~ |!])/g;function _u(e){return e.replace(/&/g,"&").replace(Mg,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(xg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var cr;function Sg(e,t){let n=null;try{cr=cr||pg(e);let r=t?String(t):"";n=cr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=cr.getInertBodyElement(r)}while(r!==i);let a=new Pi().sanitizeChildren(Mu(n)||n);return Xr(a)}finally{if(n){let r=Mu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Mu(e){return"content"in e&&Tg(e)?e.content:null}function Tg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Gs=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Gs||{});function KM(e){let t=ml();return t?Eu(t.sanitize(Gs.HTML,e)||""):cl(e,"HTML")?Eu(En(e)):Sg(al(),vn(e))}function JM(e){let t=ml();return t?t.sanitize(Gs.URL,e)||"":cl(e,"URL")?En(e):ll(vn(e))}function ml(){let e=I();return e&&e[Ee].sanitizer}var Ng=/^>|^->||--!>|)/g,Og="\u200B$1\u200B";function Fg(e){return e.replace(Ng,t=>t.replace(Ag,Og))}function yl(e){return e instanceof Function?e():e}var Tr=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Tr||{}),Rg;function zs(e,t){return Rg(e,t)}function Pt(e,t,n,r,o){if(r!=null){let i,s=!1;je(r)?i=r:ut(r)&&(s=!0,r=r[Ne]);let a=Te(r);e===0&&n!==null?o==null?El(t,n,a):Nr(t,n,a,o||null,!0):e===1&&n!==null?Nr(t,n,a,o||null,!0):e===2?Zg(t,a,s):e===3&&t.destroyNode(a),i!=null&&Jg(t,e,i,n,o)}}function Pg(e,t){return e.createText(t)}function kg(e,t,n){e.setValue(t,n)}function Lg(e,t){return e.createComment(Fg(t))}function Dl(e,t,n){return e.createElement(t,n)}function jg(e,t){vl(e,t),t[Ne]=null,t[ue]=null}function Vg(e,t,n,r,o,i){r[Ne]=o,r[ue]=t,no(e,r,n,1,o,i)}function vl(e,t){t[Ee].changeDetectionScheduler?.notify(1),no(e,t,t[k],2,null,null)}function Bg(e){let t=e[ln];if(!t)return ei(e[w],e);for(;t;){let n=null;if(ut(t))n=t[ln];else{let r=t[Y];r&&(n=r)}if(!n){for(;t&&!t[we]&&t!==e;)ut(t)&&ei(t[w],t),t=t[z];t===null&&(t=e),ut(t)&&ei(t[w],t),n=t&&t[we]}t=n}}function $g(e,t,n,r){let o=Y+r,i=n.length;r>0&&(n[o-1][we]=t),r0&&(e[n-1][we]=r[we]);let i=Ir(e,Y+t);jg(r[w],r);let s=i[Pe];s!==null&&s.detachView(i[w]),r[z]=null,r[we]=null,r[y]&=-129}return r}function eo(e,t){if(!(t[y]&256)){let n=t[k];n.destroyNode&&no(e,t,n,3,null,null),Bg(t)}}function ei(e,t){if(t[y]&256)return;let n=C(null);try{t[y]&=-129,t[y]|=256,t[ft]&&So(t[ft]),Gg(e,t),Ug(e,t),t[w].type===1&&t[k].destroy();let r=t[In];if(r!==null&&je(t[z])){r!==t[z]&&wl(r,t);let o=t[Pe];o!==null&&o.detachView(e)}ng(t)}finally{C(n)}}function Ug(e,t){let n=e.cleanup,r=t[cn];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[cn]=null);let o=t[ze];if(o!==null){t[ze]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===sn.None||i===sn.Emulated)return null}return he(r,n)}}function Nr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function El(e,t,n){e.appendChild(t,n)}function xu(e,t,n,r,o){r!==null?Nr(e,t,n,r,o):El(e,t,n)}function Wg(e,t,n,r){e.removeChild(t,n,r)}function Ws(e,t){return e.parentNode(t)}function qg(e,t){return e.nextSibling(t)}function Cl(e,t,n){return Qg(e,t,n)}function Yg(e,t,n){return e.type&40?he(e,n):null}var Qg=Yg,Su;function to(e,t,n,r){let o=Il(e,r,t),i=t[k],s=r.parent||t[ue],a=Cl(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uW&&Sl(e,t,W,!1),xe(s?2:0,o),n(r,o)}finally{ht(i),xe(s?3:1,o)}}function Ys(e,t,n){if(Ts(t)){let r=C(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function am(e,t,n,r){let o=Ll(t);o.push(n),e.firstCreatePass&&jl(e).push(r,o.length-1)}function um(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Fc()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Tu(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=We.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Nu(r,n,c,a,u):Nu(r,n,c,a)}return r}function Nu(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function cm(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function hm(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;qr(n)&&Im(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Sr(n,t),Ye(r,t);let s=n.initialInputs;for(let a=o;a{dn(e.lView)},consumerOnSignalRead(){this.lView[ft]=this}}),Ul=100;function Gl(e,t=!0,n=0){let r=e[Ee],o=r.rendererFactory,i=!1;i||o.begin?.();try{km(e,n)}catch(s){throw t&&Vl(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function km(e,t){Vi(e,t);let n=0;for(;Rs(e);){if(n===Ul)throw new S(103,!1);n++,Vi(e,1)}}function Lm(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1;!i&&t[Ee].inlineEffectRunner?.flush(),Vs(t);let s=null,a=null;!i&&jm(e)&&(a=Om(t),s=Mo(a));try{Nc(t),_h(e.bindingStartIndex),n!==null&&Al(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&hr(t,d,null)}else{let d=e.preOrderHooks;d!==null&&gr(t,d,0,null),Zo(t,0)}if(Vm(t),zl(t,0),e.contentQueries!==null&&kl(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&hr(t,d)}else{let d=e.contentHooks;d!==null&&gr(t,d,1),Zo(t,1)}tm(e,t);let c=e.components;c!==null&&ql(t,c,0);let l=e.viewQuery;if(l!==null&&ji(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&hr(t,d)}else{let d=e.viewHooks;d!==null&&gr(t,d,2),Zo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[pr]){for(let d of t[pr])d();t[pr]=null}i||(t[y]&=-73)}catch(u){throw dn(t),u}finally{a!==null&&(xo(a,s),Rm(a)),Bs()}}function jm(e){return e.type!==2}function zl(e,t){for(let n=ol(e);n!==null;n=il(n))for(let r=Y;r-1&&(pn(t,r),Ir(n,r))}this._attachedToViewContainer=!1}eo(this._lView[w],this._lView)}onDestroy(t){Ac(this._lView,t)}markForCheck(){ta(this._cdRefInjectingView||this._lView)}detach(){this._lView[y]&=-129}reattach(){vi(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,Gl(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,vl(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=t,vi(this._lView)}},Gt=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Um;let e=t;return e})(),$m=Gt,Hm=class extends $m{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=io(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Dt(o)}};function Um(){return ao(Q(),I())}function ao(e,t){return e.type&4?new Hm(t,e,Yt(e,t)):null}var nx=new RegExp(`^(\\d+)*(${ag}|${sg})*(.*)`);var Gm=()=>null;function gn(e,t){return Gm(e,t)}var Bi=class{},$i=class{},Or=class{};function zm(e){let t=Error(`No component factory found for ${X(e)}.`);return t[Wm]=e,t}var Wm="ngComponent";var Hi=class{resolveComponentFactory(t){throw zm(t)}},uo=(()=>{let t=class t{};t.NULL=new Hi;let e=t;return e})(),Ui=class{},na=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>qm();let e=t;return e})();function qm(){let e=I(),t=Q(),n=Ze(t.index,e);return(ut(n)?n:e)[k]}var Ym=(()=>{let t=class t{};t.\u0275prov=B({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),ti={};var Au=new Set;function _n(e){Au.has(e)||(Au.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function Ou(...e){}function Qm(){let e=typeof fe.requestAnimationFrame=="function",t=fe[e?"requestAnimationFrame":"setTimeout"],n=fe[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var Ie=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new at(!1),this.onMicrotaskEmpty=new at(!1),this.onStable=new at(!1),this.onError=new at(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Qm().nativeRequestAnimationFrame,Jm(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new S(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Zm,Ou,Ou);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)}},Zm={};function ra(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 Km(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(fe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Gi(e),e.isCheckStableRunning=!0,ra(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Gi(e))}function Jm(e){let t=()=>{Km(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Xm(a))return n.invokeTask(o,i,s,a);try{return Fu(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Ru(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Fu(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Ru(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,Gi(e),ra(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Gi(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Fu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ru(e){e._nesting--,ra(e)}function Xm(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var Yl=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=B({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Fr(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&Ml(e,n,i.join(" "))}}function sy(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=uy;let e=t;return e})();function uy(){let e=Q();return Zl(e,I())}var cy=Zt,Ql=class extends cy{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Yt(this._hostTNode,this._hostLView)}get injector(){return new ct(this._hostTNode,this._hostLView)}get parentInjector(){let t=$s(this._hostTNode,this._hostLView);if(zc(t)){let n=Mr(t,this._hostLView),r=_r(t),o=n[w].data[r+8];return new ct(o,n)}else return new ct(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=ku(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Y}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=gn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,hn(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!oh(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new mn(dt(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let g=(s?c:this.parentInjector).get(qe,null);g&&(i=g)}let l=dt(u.componentType??{}),d=gn(this._lContainer,l?.id??null),f=d?.firstChild??null,p=u.create(c,o,f,i);return this.insertImpl(p.hostView,a,hn(this._hostTNode,d)),p}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(hh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[z],c=new Ql(u,u[ue],u[z]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return so(s,o,i,r),t.attachToViewContainerRef(),oc(ni(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=ku(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=pn(this._lContainer,n);r&&(Ir(ni(this._lContainer),n),eo(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=pn(this._lContainer,n);return r&&Ir(ni(this._lContainer),n)!=null?new Dt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ku(e){return e[br]}function ni(e){return e[br]||(e[br]=[])}function Zl(e,t){let n,r=t[e.index];return je(r)?n=r:(n=Pl(r,t,null,e),t[e.index]=n,oo(t,n)),dy(n,t,e,r),new Ql(n,e,t)}function ly(e,t){let n=e[k],r=n.createComment(""),o=he(t,e),i=Ws(n,o);return Nr(n,i,r,qg(n,o),!1),r}var dy=hy,fy=()=>!1;function py(e,t,n){return fy(e,t,n)}function hy(e,t,n,r){if(e[pt])return;let o;n.type&8?o=Te(r):o=ly(t,n),e[pt]=o}var qi=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Yi=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=Y;dt.trim())}function Xl(e,t,n){e.queries===null&&(e.queries=new Qi),e.queries.track(new Zi(t,n))}function Cy(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function oa(e,t){return e.queries.getByIndex(t)}function by(e,t){let n=e[w],r=oa(n,t);return r.crossesNgTemplate?Ki(n,e,t,[]):Kl(n,e,r,t)}function _y(e){return typeof e=="function"&&e[An]!==void 0}function ed(e){return _y(e)&&typeof e.set=="function"}function My(e){return Object.getPrototypeOf(e.prototype).constructor}function xy(e){let t=My(e.type),n=!0,r=[e];for(;t;){let o;if(ke(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new S(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=lr(e.inputs),s.inputTransforms=lr(e.inputTransforms),s.declaredInputs=lr(e.declaredInputs),s.outputs=lr(e.outputs);let a=o.hostBindings;a&&Oy(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&Ny(e,u),c&&Ay(e,c),Sy(e,o),np(e.outputs,o.outputs),ke(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=an(o.hostAttrs,n=an(n,o.hostAttrs))}}function lr(e){return e===jt?{}:e===re?[]:e}function Ny(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Ay(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Oy(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Fy(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var Qe=class{},Ji=class{};var Xi=class extends Qe{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Rr(this);let o=hc(t);this._bootstrapComponents=yl(o.bootstrap),this._r3Injector=el(t,n,[{provide:Qe,useValue:this},{provide:uo,useValue:this.componentFactoryResolver},...r],X(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}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)}},es=class extends Ji{constructor(t){super(),this.moduleType=t}create(t){return new Xi(this.moduleType,t,[])}};var kr=class extends Qe{constructor(t){super(),this.componentFactoryResolver=new Rr(this),this.instance=null;let n=new un([...t.providers,{provide:Qe,useValue:this},{provide:uo,useValue:this.componentFactoryResolver}],t.parent||Ms(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Ry(e,t,n=null){return new kr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var ia=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Jt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function td(e){return ky(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Py(e,t){if(Array.isArray(e))for(let n=0;n>17&32767}function Gy(e){return(e&2)==2}function zy(e,t){return e&131071|t<<17}function ns(e){return e|2}function zt(e){return(e&131068)>>2}function ri(e,t){return e&-131069|t<<2}function Wy(e){return(e&1)===1}function rs(e){return e|1}function qy(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=vt(s),u=zt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||wn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let f=vt(e[a+1]);e[r+1]=dr(f,a),f!==0&&(e[f+1]=ri(e[f+1],r)),e[a+1]=zy(e[a+1],r)}else e[r+1]=dr(a,0),a!==0&&(e[a+1]=ri(e[a+1],r)),a=r;else e[r+1]=dr(u,0),a===0?a=r:e[u+1]=ri(e[u+1],r),u=r;c&&(e[r+1]=ns(e[r+1])),Lu(e,l,r,!0),Lu(e,l,r,!1),Yy(t,l,e,r,i),s=dr(a,u),i?t.classBindings=s:t.styleBindings=s}function Yy(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&wn(i,t)>=0&&(n[r+1]=rs(n[r+1]))}function Lu(e,t,n,r){let o=e[n+1],i=t===null,s=r?vt(o):zt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];Qy(u,t)&&(a=!0,e[s+1]=r?rs(c):ns(c)),s=r?vt(c):zt(c)}a&&(e[n+1]=r?ns(o):rs(o))}function Qy(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?wn(e,t)>=0:!1}var ve={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Zy(e){return e.substring(ve.key,ve.keyEnd)}function Ky(e){return Jy(e),rd(e,od(e,0,ve.textEnd))}function rd(e,t){let n=ve.textEnd;return n===t?-1:(t=ve.keyEnd=Xy(e,ve.key=t,n),od(e,t,n))}function Jy(e){ve.key=0,ve.keyEnd=0,ve.value=0,ve.valueEnd=0,ve.textEnd=e.length}function od(e,t,n){for(;t32;)t++;return t}function eD(e,t,n){let r=I(),o=Ke();if(ie(r,o,t)){let i=j(),s=qt();bn(i,s,r,e,t,r[k],n,!1)}return eD}function os(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Xs(e,n,i[s],s,r)}function id(e,t,n){return ad(e,t,n,!1),id}function tD(e,t){return ad(e,t,null,!0),tD}function ox(e){ud(aD,sd,e,!0)}function sd(e,t){for(let n=Ky(t);n>=0;n=rd(t,n))Ur(e,Zy(t),!0)}function ad(e,t,n,r){let o=I(),i=j(),s=Pc(2);if(i.firstUpdatePass&&ld(i,e,s,r),t!==Ae&&ie(o,s,t)){let a=i.data[Je()];dd(i,a,o,o[k],e,o[s+1]=cD(t,n),r,s)}}function ud(e,t,n,r){let o=j(),i=Pc(2);o.firstUpdatePass&&ld(o,null,i,r);let s=I();if(n!==Ae&&ie(s,i,n)){let a=o.data[Je()];if(fd(a,r)&&!cd(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=li(u,n||"")),os(o,a,s,n,r)}else uD(o,a,s,s[k],s[i+1],s[i+1]=sD(e,t,n),r,i)}}function cd(e,t){return t>=e.expandoStartIndex}function ld(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Je()],s=cd(e,n);fd(i,r)&&t===null&&!s&&(t=!1),t=nD(o,i,t,r),qy(o,i,t,n,s,r)}}function nD(e,t,n,r){let o=kc(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=oi(null,e,t,n,r),n=yn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=oi(o,e,t,n,r),i===null){let u=rD(e,t,r);u!==void 0&&Array.isArray(u)&&(u=oi(null,e,t,u[1],r),u=yn(u,t.attrs,r),oD(e,t,r,u))}else i=iD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function rD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(zt(r)!==0)return e[vt(r)]}function oD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[vt(o)]=r}function iD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=n[o+1];f===Ae&&(f=d?re:void 0);let p=d?Yo(f,r):l===r?f:void 0;if(c&&!Lr(p)&&(p=Yo(u,r)),Lr(p)&&(a=p,s))return a;let h=e[o+1];o=s?vt(h):zt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=Yo(u,r))}return a}function Lr(e){return e!==void 0}function cD(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=X(En(e)))),e}function fd(e,t){return(e.flags&(t?8:16))!==0}function ix(e,t,n){let r=I(),o=sa(r,e,t,n);ud(Ur,sd,o,!0)}var is=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function ii(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function lD(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=ii(i,u,i,c,n);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),f=t[a],p=ii(s,d,a,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,a--;continue}let h=n(i,u),g=n(s,d),_=n(i,c);if(Object.is(_,g)){let b=n(a,f);Object.is(b,h)?(e.swap(i,s),e.updateValue(s,f),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(r??=new jr,o??=Bu(e,i,s,n),ss(e,r,i,_))e.updateValue(i,c),i++,s++;else if(o.has(_))r.set(h,e.detach(i)),s--;else{let b=e.create(i,t[i]);e.attach(i,b),i++,s++}}for(;i<=a;)Vu(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=ii(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new jr,o??=Bu(e,i,s,n);let f=n(i,l);if(ss(e,r,i,f))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(f))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let p=n(i,c);r.set(p,e.detach(i)),s--}}}for(;!u.done;)Vu(e,r,n,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function ss(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Vu(e,t,n,r,o){if(ss(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Bu(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 jr=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function sx(e,t,n){_n("NgControlFlow");let r=I(),o=Ke(),i=ls(r,W+e),s=0;if(ie(r,o,t)){let a=C(null);try{if($l(i,s),t!==-1){let u=ds(r[w],W+t),c=gn(i,u.tView.ssrId),l=io(r,u,n,{dehydratedView:c});so(i,l,s,hn(u,c))}}finally{C(a)}}else{let a=Bl(i,s);a!==void 0&&(a[q]=n)}}var as=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Y}};var us=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function ax(e,t,n,r,o,i,s,a,u,c,l,d,f){_n("NgControlFlow");let p=u!==void 0,h=I(),g=a?s.bind(h[pe][q]):s,_=new us(p,g);h[W+e]=_,ts(e+1,t,n,r,o,i),p&&ts(e+2,u,c,l,d,f)}var cs=class extends is{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Y}at(t){return this.getLView(t)[q].$implicit}attach(t,n){let r=n[Bt];this.needsIndexUpdate||=t!==this.length,so(this.lContainer,n,t,hn(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,dD(this.lContainer,t)}create(t,n){let r=gn(this.lContainer,this.templateTNode.tView.ssrId);return io(this.hostLView,this.templateTNode,new as(this.lContainer,n,t),{dehydratedView:r})}destroy(t){eo(t[w],t)}updateValue(t,n){this.getLView(t)[q].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(Zr(!0),Dl(r,o,Oh()));function mD(e,t,n,r,o){let i=t.consts,s=Ut(i,r),a=Qt(t,e,8,"ng-container",s);s!==null&&Fr(a,s,!0);let u=Ut(i,o);return Js(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function gd(e,t,n){let r=I(),o=j(),i=e+W,s=o.firstCreatePass?mD(i,o,r,t,n):o.data[i];wt(s,!0);let a=DD(o,r,s,e);return r[i]=a,Qr()&&to(o,r,a,s),Ye(a,r),Yr(s)&&(Qs(o,r,s),Ys(o,s,r)),n!=null&&Zs(r,s),gd}function md(){let e=Q(),t=j();return Ps()?ks():(e=e.parent,wt(e,!1)),t.firstCreatePass&&(Kr(t,e),Ts(e)&&t.queries.elementEnd(e)),md}function yD(e,t,n){return gd(e,t,n),md(),yD}var DD=(e,t,n,r)=>(Zr(!0),Lg(t[k],""));function cx(){return I()}function vD(e,t,n){let r=I(),o=Ke();if(ie(r,o,t)){let i=j(),s=qt();bn(i,s,r,e,t,r[k],n,!0)}return vD}function wD(e,t,n){let r=I(),o=Ke();if(ie(r,o,t)){let i=j(),s=qt(),a=kc(i.data),u=Mm(a,s,r);bn(i,s,r,e,t,u,n,!0)}return wD}var st=void 0;function ID(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var ED=["en",[["a","p"],["AM","PM"],st],[["AM","PM"],st,st],[["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"]],st,[["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"]],st,[["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}",st,"{1} 'at' {0}",st],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",ID],si={};function se(e){let t=CD(e),n=$u(t);if(n)return n;let r=t.split("-")[0];if(n=$u(r),n)return n;if(r==="en")return ED;throw new S(701,!1)}function $u(e){return e in si||(si[e]=fe.ng&&fe.ng.common&&fe.ng.common.locales&&fe.ng.common.locales[e]),si[e]}var V=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}(V||{});function CD(e){return e.toLowerCase().replace(/_/g,"-")}var Vr="en-US",bD="USD";var _D=Vr;function MD(e){typeof e=="string"&&(_D=e.toLowerCase().replace(/_/g,"-"))}function xD(e,t,n,r){let o=I(),i=j(),s=Q();return yd(i,o,o[k],s,e,t,r),xD}function SD(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function yd(e,t,n,r,o,i,s){let a=Yr(r),c=e.firstCreatePass&&jl(e),l=t[q],d=Ll(t),f=!0;if(r.type&3||s){let g=he(r,t),_=s?s(g):g,b=d.length,H=s?ae=>s(Te(ae[r.index])):r.index,G=null;if(!s&&a&&(G=SD(e,t,o,r.index)),G!==null){let ae=G.__ngLastListenerFn__||G;ae.__ngNextListenerFn__=i,G.__ngLastListenerFn__=i,f=!1}else{i=Uu(r,t,l,i,!1);let ae=n.listen(_,o,i);d.push(i,ae),c&&c.push(o,H,b,b+1)}}else i=Uu(r,t,l,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let g=h.length;if(g)for(let _=0;_-1?Ze(e.index,t):t;ta(a);let u=Hu(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Hu(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function lx(e=1){return Nh(e)}function TD(e,t){let n=null,r=Rp(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function yx(e){let t=bh();return Os(t,W+e)}function Dx(e,t=""){let n=I(),r=j(),o=e+W,i=r.firstCreatePass?Qt(r,o,1,t,null):r.data[o],s=OD(r,n,i,t,e);n[o]=s,Qr()&&to(r,n,s,i),wt(i,!1)}var OD=(e,t,n,r,o)=>(Zr(!0),Pg(t[k],r));function FD(e){return Dd("",e,""),FD}function Dd(e,t,n){let r=I(),o=sa(r,e,t,n);return o!==Ae&&xm(r,Je(),o),Dd}function RD(e,t,n){ed(t)&&(t=t());let r=I(),o=Ke();if(ie(r,o,t)){let i=j(),s=qt();bn(i,s,r,e,t,r[k],n,!1)}return RD}function vx(e,t){let n=ed(e);return n&&e.set(t),n}function PD(e,t){let n=I(),r=j(),o=Q();return yd(r,n,n[k],o,e,t),PD}function kD(e,t,n){let r=j();if(r.firstCreatePass){let o=ke(e);fs(n,r.data,r.blueprint,o,!0),fs(t,r.data,r.blueprint,o,!1)}}function fs(e,t,n,r,o){if(e=J(e),Array.isArray(e))for(let i=0;i>20;if(Vt(e)||!e.multi){let p=new gt(c,o,Z),h=ui(u,t,o?l:l+f,d);h===-1?(Ei(Sr(a,s),i,u),ai(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[h]=p,s[h]=p)}else{let p=ui(u,t,l+f,d),h=ui(u,t,l,l+f),g=p>=0&&n[p],_=h>=0&&n[h];if(o&&!_||!o&&!g){Ei(Sr(a,s),i,u);let b=VD(o?jD:LD,n.length,o,r,c);!o&&_&&(n[h].providerFactory=b),ai(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(b),s.push(b)}else{let b=vd(n[o?h:p],c,!o&&r);ai(i,e,p>-1?p:h,b)}!o&&r&&_&&n[h].componentProviders++}}}function ai(e,t,n,r){let o=Vt(t),i=Zp(t);if(o||i){let u=(i?J(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function vd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ui(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>kD(r,o?o(e):e,t)}}var BD=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=yc(!1,r.type),i=o.length>0?Ry([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=B({token:t,providedIn:"environment",factory:()=>new t(oe(qe))});let e=t;return e})();function Ix(e){_n("NgStandalone"),e.getStandaloneInjector=t=>t.get(BD).getOrCreateStandaloneInjector(e)}function Ex(e,t,n,r){return Id(I(),Ls(),e,t,n,r)}function wd(e,t){let n=e[t];return n===Ae?void 0:n}function Id(e,t,n,r,o,i){let s=t+n;return ie(e,s,o)?nd(e,s+1,i?r.call(i,o):r(o)):wd(e,s+1)}function $D(e,t,n,r,o,i,s,a){let u=t+n;return jy(e,u,o,i,s)?nd(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):wd(e,u+3)}function Cx(e,t){let n=j(),r,o=e+W;n.firstCreatePass?(r=HD(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=lt(r.type,!0)),s,a=ne(Z);try{let u=xr(!1),c=i();return xr(u),AD(n,I(),o,c),c}finally{ne(a)}}function HD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function bx(e,t,n){let r=e+W,o=I(),i=Os(o,r);return Ed(o,r)?Id(o,Ls(),t,i.transform,n,i):i.transform(n)}function _x(e,t,n,r,o){let i=e+W,s=I(),a=Os(s,i);return Ed(s,i)?$D(s,Ls(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Ed(e,t){return e[w].data[t].pure}function Mx(e,t){return ao(e,t)}var xx=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var UD=new F("");function co(e){return!!e&&typeof e.then=="function"}function aa(e){return!!e&&typeof e.subscribe=="function"}var GD=new F(""),Cd=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=L(GD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(co(s))r.push(s);else if(aa(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),zD=new F("");function WD(){Ma(()=>{throw new S(600,!1)})}function qD(e){return e.isBoundToModule}function YD(e,t,n){try{let r=n();return co(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var bd=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=L(tl),this.afterRenderEffectManager=L(Yl),this.externalTestViews=new Set,this.beforeRender=new de,this.afterTick=new de,this.componentTypes=[],this.components=[],this.isStable=L(ia).hasPendingTasks.pipe(Me(r=>!r)),this._injector=L(qe)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Or;if(!this._injector.get(Cd).done){let p=!i&&Up(r),h=!1;throw new S(405,h)}let a;i?a=r:a=this._injector.get(uo).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=qD(a)?void 0:this._injector.get(Qe),c=o||a.selector,l=a.create(Jr.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(UD,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),ci(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new S(101,!1);let o=C(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,C(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===Ul)throw new S(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)QD(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>hs(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>hs(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;ci(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(zD,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>ci(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new S(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function ci(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function QD(e,t,n){!t&&!hs(e)||ZD(e,n,t)}function hs(e){return Rs(e)}function ZD(e,t,n){let r;n?(r=0,e[y]|=1024):e[y]&64?r=0:r=1,Gl(e,t,r)}var gs=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Sx=(()=>{let t=class t{compileModuleSync(r){return new es(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=hc(r),s=yl(i.declarations).reduce((a,u)=>{let c=dt(u);return c&&a.push(new mn(c)),a},[]);return new gs(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var KD=(()=>{let t=class t{constructor(){this.zone=L(Ie),this.applicationRef=L(bd)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function JD(e){return[{provide:Ie,useFactory:e},{provide:Er,multi:!0,useFactory:()=>{let t=L(KD,{optional:!0});return()=>t.initialize()}},{provide:Er,multi:!0,useFactory:()=>{let t=L(nv);return()=>{t.initialize()}}},{provide:tl,useFactory:XD}]}function XD(){let e=L(Ie),t=L(yt);return n=>e.runOutsideAngular(()=>t.handleError(n))}function ev(e){let t=JD(()=>new Ie(tv(e)));return zp([[],t])}function tv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var nv=(()=>{let t=class t{constructor(){this.subscription=new U,this.initialized=!1,this.zone=L(Ie),this.pendingTasks=L(ia)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Ie.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Ie.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function rv(){return typeof $localize<"u"&&$localize.locale||Vr}var Mn=new F("",{providedIn:"root",factory:()=>L(Mn,x.Optional|x.SkipSelf)||rv()}),_d=new F("",{providedIn:"root",factory:()=>bD});var Md=new F("");var Dr=null;function ov(e=[],t){return Jr.create({name:t,providers:[{provide:wc,useValue:"platform"},{provide:Md,useValue:new Set([()=>Dr=null])},...e]})}function iv(e=[]){if(Dr)return Dr;let t=ov(e);return Dr=t,WD(),sv(t),t}function sv(e){e.get(og,null)?.forEach(n=>n())}var lo=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=av;let e=t;return e})();function av(e){return uv(Q(),I(),(e&16)===16)}function uv(e,t,n){if(qr(e)&&!n){let r=Ze(e.index,t);return new Dt(r,r)}else if(e.type&47){let r=t[pe];return new Dt(r,t)}return null}var ms=class{constructor(){}supports(t){return td(t)}create(t){return new ys(t)}},cv=(e,t)=>t,ys=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||cv}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Ds(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Br),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Br),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Ds=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},vs=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Br=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new vs,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Gu(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||zu()),deps:[[t,new Ep,new Ip]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new S(901,!1)}};t.\u0275prov=B({token:t,providedIn:"root",factory:zu});let e=t;return e})();function Tx(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=iv(r),i=[ev(),...n||[]],a=new kr({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(Ie);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(yt,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:p=>{c.handleError(p)}})});let d=()=>a.destroy(),f=o.get(Md);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),YD(c,u,()=>{let p=a.get(Cd);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(Mn,Vr);MD(h||Vr);let g=a.get(bd);return t!==void 0&&g.bootstrap(t),g})})})}catch(t){return Promise.reject(t)}}function lv(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function dv(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function ua(e){let t=C(null);try{return e()}finally{C(t)}}var fv=new F("",{providedIn:"root",factory:()=>L(pv)}),pv=(()=>{let t=class t{};t.\u0275prov=B({token:t,providedIn:"root",factory:()=>new ws});let e=t;return e})(),ws=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=L(ia),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Is=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=xa(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(yt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function hv(e,t){_n("NgSignals"),!t?.injector&&rh(hv);let n=t?.injector??L(Jr),r=t?.manualCleanup!==!0?n.get(Hs):null,o=new Is(n.get(fv),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(lo,null,{optional:!0});return!i||!(i._lView[y]&8)?o.watcher.notify():(i._lView[pr]??=[]).push(o.watcher.notify),o}var Ld=null;function ca(){return Ld}function Qx(e){Ld??=e}var Sd=class{};var jd=new F(""),Vd=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:()=>L(mv),providedIn:"platform"});let e=t;return e})();var mv=(()=>{let t=class t extends Vd{constructor(){super(),this._doc=L(jd),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ca().getBaseHref(this._doc)}onPopState(r){let o=ca().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=ca().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Bd(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Td(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Et(e){return e&&e[0]!=="?"?"?"+e:e}var va=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=B({token:t,factory:()=>L(Dv),providedIn:"root"});let e=t;return e})(),yv=new F(""),Dv=(()=>{let t=class t extends va{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??L(jd).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return Bd(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+Et(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+Et(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+Et(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(oe(Vd),oe(yv,8))},t.\u0275prov=B({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var vv=(()=>{let t=class t{constructor(r){this._subject=new at,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=Ev(Td(Nd(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+Et(o))}normalize(r){return t.stripTrailingSlash(Iv(this._basePath,Nd(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Et(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Et(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=Et,t.joinWithSlash=Bd,t.stripTrailingSlash=Td,t.\u0275fac=function(o){return new(o||t)(oe(va))},t.\u0275prov=B({token:t,factory:()=>wv(),providedIn:"root"});let e=t;return e})();function wv(){return new vv(oe(va))}function Iv(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Nd(e){return e.replace(/\/index.html$/,"")}function Ev(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var $d={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},Hd=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Hd||{});var ee=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ee||{}),R=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(R||{}),ce=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(ce||{}),le={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 Cv(e){return se(e)[V.LocaleId]}function bv(e,t,n){let r=se(e),o=[r[V.DayPeriodsFormat],r[V.DayPeriodsStandalone]],i=ge(o,t);return ge(i,n)}function _v(e,t,n){let r=se(e),o=[r[V.DaysFormat],r[V.DaysStandalone]],i=ge(o,t);return ge(i,n)}function Mv(e,t,n){let r=se(e),o=[r[V.MonthsFormat],r[V.MonthsStandalone]],i=ge(o,t);return ge(i,n)}function xv(e,t){let r=se(e)[V.Eras];return ge(r,t)}function fo(e,t){let n=se(e);return ge(n[V.DateFormat],t)}function po(e,t){let n=se(e);return ge(n[V.TimeFormat],t)}function ho(e,t){let r=se(e)[V.DateTimeFormat];return ge(r,t)}function $e(e,t){let n=se(e),r=n[V.NumberSymbols][t];if(typeof r>"u"){if(t===le.CurrencyDecimal)return n[V.NumberSymbols][le.Decimal];if(t===le.CurrencyGroup)return n[V.NumberSymbols][le.Group]}return r}function Sv(e,t){return se(e)[V.NumberFormats][t]}function Tv(e){return se(e)[V.Currencies]}function Ud(e){if(!e[V.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[V.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Nv(e){let t=se(e);return Ud(t),(t[V.ExtraData][2]||[]).map(r=>typeof r=="string"?la(r):[la(r[0]),la(r[1])])}function Av(e,t,n){let r=se(e);Ud(r);let o=[r[V.ExtraData][0],r[V.ExtraData][1]],i=ge(o,t)||[];return ge(i,n)||[]}function ge(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function la(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}function Ov(e,t,n="en"){let r=Tv(n)[e]||$d[e]||[],o=r[1];return t==="narrow"&&typeof o=="string"?o:r[0]||e}var Fv=2;function Rv(e){let t,n=$d[e];return n&&(t=n[2]),typeof t=="number"?t:Fv}var Pv=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,go={},kv=/((?:[^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]*)/,He=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(He||{}),N=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(N||{}),T=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(T||{});function Lv(e,t,n,r){let o=Wv(e);t=Be(n,t)||t;let s=[],a;for(;t;)if(a=kv.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let u=o.getTimezoneOffset();r&&(u=zd(r,u),o=zv(o,r,!0));let c="";return s.forEach(l=>{let d=Uv(l);c+=d?d(o,n,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function wo(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Be(e,t){let n=Cv(e);if(go[n]??={},go[n][t])return go[n][t];let r="";switch(t){case"shortDate":r=fo(e,ce.Short);break;case"mediumDate":r=fo(e,ce.Medium);break;case"longDate":r=fo(e,ce.Long);break;case"fullDate":r=fo(e,ce.Full);break;case"shortTime":r=po(e,ce.Short);break;case"mediumTime":r=po(e,ce.Medium);break;case"longTime":r=po(e,ce.Long);break;case"fullTime":r=po(e,ce.Full);break;case"short":let o=Be(e,"shortTime"),i=Be(e,"shortDate");r=mo(ho(e,ce.Short),[o,i]);break;case"medium":let s=Be(e,"mediumTime"),a=Be(e,"mediumDate");r=mo(ho(e,ce.Medium),[s,a]);break;case"long":let u=Be(e,"longTime"),c=Be(e,"longDate");r=mo(ho(e,ce.Long),[u,c]);break;case"full":let l=Be(e,"fullTime"),d=Be(e,"fullDate");r=mo(ho(e,ce.Full),[l,d]);break}return r&&(go[n][t]=r),r}function mo(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Ce(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.length0||a>-n)&&(a+=n),e===N.Hours)a===0&&n===-12&&(a=12);else if(e===N.FractionalSeconds)return jv(a,t);let u=$e(s,le.MinusSign);return Ce(a,t,u,r,o)}}function Vv(e,t){switch(e){case N.FullYear:return t.getFullYear();case N.Month:return t.getMonth();case N.Date:return t.getDate();case N.Hours:return t.getHours();case N.Minutes:return t.getMinutes();case N.Seconds:return t.getSeconds();case N.FractionalSeconds:return t.getMilliseconds();case N.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function P(e,t,n=ee.Format,r=!1){return function(o,i){return Bv(o,i,e,t,n,r)}}function Bv(e,t,n,r,o,i){switch(n){case T.Months:return Mv(t,o,r)[e.getMonth()];case T.Days:return _v(t,o,r)[e.getDay()];case T.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let c=Nv(t),l=Av(t,o,r),d=c.findIndex(f=>{if(Array.isArray(f)){let[p,h]=f,g=s>=p.hours&&a>=p.minutes,_=s0?Math.floor(o/60):Math.ceil(o/60);switch(e){case He.Short:return(o>=0?"+":"")+Ce(s,2,i)+Ce(Math.abs(o%60),2,i);case He.ShortGMT:return"GMT"+(o>=0?"+":"")+Ce(s,1,i);case He.Long:return"GMT"+(o>=0?"+":"")+Ce(s,2,i)+":"+Ce(Math.abs(o%60),2,i);case He.Extended:return r===0?"Z":(o>=0?"+":"")+Ce(s,2,i)+":"+Ce(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var $v=0,vo=4;function Hv(e){let t=wo(e,$v,1).getDay();return wo(e,0,1+(t<=vo?vo:vo+7)-t)}function Gd(e){let t=e.getDay(),n=t===0?-3:vo-t;return wo(e.getFullYear(),e.getMonth(),e.getDate()+n)}function da(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=Gd(n),s=Hv(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ce(o,e,$e(r,le.MinusSign))}}function Do(e,t=!1){return function(n,r){let i=Gd(n).getFullYear();return Ce(i,e,$e(r,le.MinusSign),t)}}var fa={};function Uv(e){if(fa[e])return fa[e];let t;switch(e){case"G":case"GG":case"GGG":t=P(T.Eras,R.Abbreviated);break;case"GGGG":t=P(T.Eras,R.Wide);break;case"GGGGG":t=P(T.Eras,R.Narrow);break;case"y":t=$(N.FullYear,1,0,!1,!0);break;case"yy":t=$(N.FullYear,2,0,!0,!0);break;case"yyy":t=$(N.FullYear,3,0,!1,!0);break;case"yyyy":t=$(N.FullYear,4,0,!1,!0);break;case"Y":t=Do(1);break;case"YY":t=Do(2,!0);break;case"YYY":t=Do(3);break;case"YYYY":t=Do(4);break;case"M":case"L":t=$(N.Month,1,1);break;case"MM":case"LL":t=$(N.Month,2,1);break;case"MMM":t=P(T.Months,R.Abbreviated);break;case"MMMM":t=P(T.Months,R.Wide);break;case"MMMMM":t=P(T.Months,R.Narrow);break;case"LLL":t=P(T.Months,R.Abbreviated,ee.Standalone);break;case"LLLL":t=P(T.Months,R.Wide,ee.Standalone);break;case"LLLLL":t=P(T.Months,R.Narrow,ee.Standalone);break;case"w":t=da(1);break;case"ww":t=da(2);break;case"W":t=da(1,!0);break;case"d":t=$(N.Date,1);break;case"dd":t=$(N.Date,2);break;case"c":case"cc":t=$(N.Day,1);break;case"ccc":t=P(T.Days,R.Abbreviated,ee.Standalone);break;case"cccc":t=P(T.Days,R.Wide,ee.Standalone);break;case"ccccc":t=P(T.Days,R.Narrow,ee.Standalone);break;case"cccccc":t=P(T.Days,R.Short,ee.Standalone);break;case"E":case"EE":case"EEE":t=P(T.Days,R.Abbreviated);break;case"EEEE":t=P(T.Days,R.Wide);break;case"EEEEE":t=P(T.Days,R.Narrow);break;case"EEEEEE":t=P(T.Days,R.Short);break;case"a":case"aa":case"aaa":t=P(T.DayPeriods,R.Abbreviated);break;case"aaaa":t=P(T.DayPeriods,R.Wide);break;case"aaaaa":t=P(T.DayPeriods,R.Narrow);break;case"b":case"bb":case"bbb":t=P(T.DayPeriods,R.Abbreviated,ee.Standalone,!0);break;case"bbbb":t=P(T.DayPeriods,R.Wide,ee.Standalone,!0);break;case"bbbbb":t=P(T.DayPeriods,R.Narrow,ee.Standalone,!0);break;case"B":case"BB":case"BBB":t=P(T.DayPeriods,R.Abbreviated,ee.Format,!0);break;case"BBBB":t=P(T.DayPeriods,R.Wide,ee.Format,!0);break;case"BBBBB":t=P(T.DayPeriods,R.Narrow,ee.Format,!0);break;case"h":t=$(N.Hours,1,-12);break;case"hh":t=$(N.Hours,2,-12);break;case"H":t=$(N.Hours,1);break;case"HH":t=$(N.Hours,2);break;case"m":t=$(N.Minutes,1);break;case"mm":t=$(N.Minutes,2);break;case"s":t=$(N.Seconds,1);break;case"ss":t=$(N.Seconds,2);break;case"S":t=$(N.FractionalSeconds,1);break;case"SS":t=$(N.FractionalSeconds,2);break;case"SSS":t=$(N.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=yo(He.Short);break;case"ZZZZZ":t=yo(He.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=yo(He.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=yo(He.Long);break;default:return null}return fa[e]=t,t}function zd(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Gv(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function zv(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=zd(t,o);return Gv(e,r*(i-o))}function Wv(e){if(Ad(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 wo(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(Pv))return qv(r)}let t=new Date(e);if(!Ad(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function qv(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,u,c),t}function Ad(e){return e instanceof Date&&!isNaN(e.valueOf())}var Yv=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Od=22,Io=".",xn="0",Qv=";",Zv=",",pa="#",Fd="\xA4";function Kv(e,t,n,r,o,i,s=!1){let a="",u=!1;if(!isFinite(e))a=$e(n,le.Infinity);else{let c=tw(e);s&&(c=ew(c));let l=t.minInt,d=t.minFrac,f=t.maxFrac;if(i){let H=i.match(Yv);if(H===null)throw new Error(`${i} is not a valid digit info`);let G=H[1],ae=H[3],Oe=H[5];G!=null&&(l=ha(G)),ae!=null&&(d=ha(ae)),Oe!=null?f=ha(Oe):ae!=null&&d>f&&(f=d)}nw(c,d,f);let p=c.digits,h=c.integerLen,g=c.exponent,_=[];for(u=p.every(H=>!H);h0?_=p.splice(h,p.length):(_=p,p=[0]);let b=[];for(p.length>=t.lgSize&&b.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)b.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&b.unshift(p.join("")),a=b.join($e(n,r)),_.length&&(a+=$e(n,o)+_.join("")),g&&(a+=$e(n,le.Exponential)+"+"+g)}return e<0&&!u?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function Jv(e,t,n,r,o){let i=Sv(t,Hd.Currency),s=Xv(i,$e(t,le.MinusSign));return s.minFrac=Rv(r),s.maxFrac=s.minFrac,Kv(e,s,t,le.CurrencyGroup,le.CurrencyDecimal,o).replace(Fd,n).replace(Fd,"").trim()}function Xv(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(Qv),o=r[0],i=r[1],s=o.indexOf(Io)!==-1?o.split(Io):[o.substring(0,o.lastIndexOf(xn)+1),o.substring(o.lastIndexOf(xn)+1)],a=s[0],u=s[1]||"";n.posPre=a.substring(0,a.indexOf(pa));for(let l=0;l-1&&(t=t.replace(Io,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===xn;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===xn;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>Od&&(r=r.splice(0,Od-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function nw(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o=c?h.pop():u=!1),f>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function ha(e){let t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}function Zx(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 ga=/\s+/,Rd=[],Kx=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=Rd,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(ga):Rd}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(ga):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(ga).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)(Z(It),Z(na))},t.\u0275dir=Gr({type:t,selectors:[["","ngClass",""]],inputs:{klass:[We.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var Jx=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new ma,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){Pd("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){Pd("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(Z(Zt),Z(Gt))},t.\u0275dir=Gr({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),ma=class{constructor(){this.$implicit=null,this.ngIf=null}};function Pd(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${X(t)}'.`)}var Xx=(()=>{let t=class t{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(this._shouldRecreateView(r)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(r,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};t.\u0275fac=function(o){return new(o||t)(Z(Zt))},t.\u0275dir=Gr({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ns]});let e=t;return e})();function wa(e,t){return new S(2100,!1)}var ya=class{createSubscription(t,n){return ua(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){ua(()=>t.unsubscribe())}},Da=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},rw=new Da,ow=new ya,eS=(()=>{let t=class t{constructor(r){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=r}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(r){if(!this._obj){if(r)try{this.markForCheckOnValueUpdate=!1,this._subscribe(r)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return r!==this._obj?(this._dispose(),this.transform(r)):this._latestValue}_subscribe(r){this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,o=>this._updateLatestValue(r,o))}_selectStrategy(r){if(co(r))return rw;if(aa(r))return ow;throw wa(t,r)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(r,o){r===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};t.\u0275fac=function(o){return new(o||t)(Z(lo,16))},t.\u0275pipe=zr({name:"async",type:t,pure:!1,standalone:!0});let e=t;return e})();var iw="mediumDate",sw=new F(""),aw=new F(""),tS=(()=>{let t=class t{constructor(r,o,i){this.locale=r,this.defaultTimezone=o,this.defaultOptions=i}transform(r,o,i,s){if(r==null||r===""||r!==r)return null;try{let a=o??this.defaultOptions?.dateFormat??iw,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Lv(r,a,s||this.locale,u)}catch(a){throw wa(t,a.message)}}};t.\u0275fac=function(o){return new(o||t)(Z(Mn,16),Z(sw,24),Z(aw,24))},t.\u0275pipe=zr({name:"date",type:t,pure:!0,standalone:!0});let e=t;return e})();var nS=(()=>{let t=class t{constructor(r,o="USD"){this._locale=r,this._defaultCurrencyCode=o}transform(r,o=this._defaultCurrencyCode,i="symbol",s,a){if(!uw(r))return null;a||=this._locale,typeof i=="boolean"&&(i=i?"symbol":"code");let u=o||this._defaultCurrencyCode;i!=="code"&&(i==="symbol"||i==="symbol-narrow"?u=Ov(u,i==="symbol"?"wide":"narrow",a):u=i);try{let c=cw(r);return Jv(c,a,u,o,s)}catch(c){throw wa(t,c.message)}}};t.\u0275fac=function(o){return new(o||t)(Z(Mn,16),Z(_d,16))},t.\u0275pipe=zr({name:"currency",type:t,pure:!0,standalone:!0});let e=t;return e})();function uw(e){return!(e==null||e===""||e!==e)}function cw(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new Error(`${e} is not a number`);return e}var rS=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=dc({type:t}),t.\u0275inj=Ku({});let e=t;return e})(),lw="browser",dw="server";function oS(e){return e===lw}function iS(e){return e===dw}var kd=class{};var Ue=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Ue||{}),uS="*";function cS(e,t){return{type:Ue.Trigger,name:e,definitions:t,options:{}}}function lS(e,t=null){return{type:Ue.Animate,styles:t,timings:e}}function dS(e,t=null){return{type:Ue.Sequence,steps:e,options:t}}function fS(e){return{type:Ue.Style,styles:e,offset:null}}function pS(e,t,n){return{type:Ue.State,name:e,styles:t,options:n}}function hS(e,t,n=null){return{type:Ue.Transition,expr:e,animation:t,options:n}}function gS(e=null){return{type:Ue.AnimateChild,options:e}}function mS(e,t,n=null){return{type:Ue.Query,selector:e,animation:t,options:n}}var Wd=class{constructor(t=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},qd=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},yS="!";export{bt as a,_t as b,fw as c,U as d,lf as e,M as f,Vo as g,Bo as h,de as i,Jt as j,nt as k,_e as l,wf as m,If as n,Ef as o,ot as p,Me as q,Nf as r,Re as s,or as t,Of as u,Ff as v,Ho as w,Bf as x,it as y,$f as z,Uo as A,Hf as B,Uf as C,nn as D,Go as E,Gf as F,zf as G,nu as H,ru as I,zo as J,Yf as K,Qf as L,qo as M,Zf as N,Kf as O,Jf as P,Xf as Q,ou as R,ep as S,iu as T,S as U,Qu as V,B as W,Ku as X,RM as Y,F as Z,x as _,oe as $,L as aa,sn as ba,We as ca,PM as da,dc as ea,Gr as fa,zr as ga,zp as ha,wc as ia,qe as ja,kM as ka,Ns as la,LM as ma,jM as na,VM as oa,BM as pa,$M as qa,qh as ra,Jr as sa,yt as ta,It as ua,at as va,Mi as wa,HM as xa,UM as ya,og as za,ig as Aa,GM as Ba,zM as Ca,En as Da,cl as Ea,WM as Fa,qM as Ga,YM as Ha,QM as Ia,ZM as Ja,ll as Ka,Sg as La,Gs as Ma,KM as Na,JM as Oa,Tr as Pa,XM as Qa,Z as Ra,ex as Sa,Gt as Ta,Bi as Ua,uo as Va,Ui as Wa,na as Xa,_n as Ya,Ie as Za,Zt as _a,_y as $a,xy as ab,Fy as bb,Ji as cb,Ry as db,ia as eb,ts as fb,Uy as gb,eD as hb,id as ib,tD as jb,ox as kb,ix as lb,sx as mb,ax as nb,ux as ob,pd as pb,hd as qb,hD as rb,gd as sb,md as tb,yD as ub,cx as vb,vD as wb,wD as xb,xD as yb,lx as zb,dx as Ab,fx as Bb,ND as Cb,px as Db,hx as Eb,gx as Fb,mx as Gb,yx as Hb,Dx as Ib,FD as Jb,Dd as Kb,RD as Lb,vx as Mb,PD as Nb,wx as Ob,Ix as Pb,Ex as Qb,Cx as Rb,bx as Sb,_x as Tb,Mx as Ub,xx as Vb,co as Wb,zD as Xb,bd as Yb,Sx as Zb,lo as _b,xd as $b,Tx as ac,lv as bc,dv as cc,hv as dc,ca as ec,Qx as fc,Sd as gc,jd as hc,vv as ic,Zx as jc,Kx as kc,Jx as lc,Xx as mc,eS as nc,tS as oc,nS as pc,rS as qc,lw as rc,oS as sc,iS as tc,kd as uc,Ue as vc,uS as wc,cS as xc,lS as yc,dS as zc,fS as Ac,pS as Bc,hS as Cc,gS as Dc,mS as Ec,Wd as Fc,qd as Gc,yS as Hc}; diff --git a/chunk-J3SZN5G5.js b/chunk-J3SZN5G5.js new file mode 100644 index 0000000..adf5020 --- /dev/null +++ b/chunk-J3SZN5G5.js @@ -0,0 +1,7 @@ +var Bd=Object.defineProperty,$d=Object.defineProperties;var Hd=Object.getOwnPropertyDescriptors;var bn=Object.getOwnPropertySymbols;var ga=Object.prototype.hasOwnProperty,ma=Object.prototype.propertyIsEnumerable;var ha=(e,t,n)=>t in e?Bd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ct=(e,t)=>{for(var n in t||={})ga.call(t,n)&&ha(e,n,t[n]);if(bn)for(var n of bn(t))ma.call(t,n)&&ha(e,n,t[n]);return e},bt=(e,t)=>$d(e,Hd(t));var Vv=(e,t)=>{var n={};for(var r in e)ga.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&bn)for(var r of bn(e))t.indexOf(r)<0&&ma.call(e,r)&&(n[r]=e[r]);return n};var ya=null,_n=!1,wo=1,xn=Symbol("SIGNAL");function C(e){let t=ya;return ya=e,t}function Ud(){return _n}var Eo={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Gd(e){if(!(xo(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===wo)){if(!e.producerMustRecompute(e)&&!Sn(e)){e.dirty=!1,e.lastCleanEpoch=wo;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=wo}}function zd(e){if(e.liveConsumerNode===void 0)return;let t=_n;_n=!0;try{for(let n of e.liveConsumerNode)n.dirty||Da(n)}finally{_n=t}}function Da(e){e.dirty=!0,zd(e),e.consumerMarkedDirty?.(e)}function Co(e){return e&&(e.nextProducerIndex=0),C(e)}function bo(e,t){if(C(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(xo(e))for(let n=e.nextProducerIndex;ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Sn(e){Mn(e);for(let t=0;t0}function Mn(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Wd(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function qd(){throw new Error}var Yd=qd;function va(e){Yd=e}function wa(e,t,n){let r=Object.create(Qd);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=u=>{r.cleanupFn=u};function i(u){return u.fn===null&&u.schedule===null}function s(u){i(u)||(_o(u),u.cleanupFn(),u.fn=null,u.schedule=null,u.cleanupFn=Io)}let a=()=>{if(r.fn===null)return;if(Ud())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Sn(r))return;r.hasRun=!0;let u=Co(r);try{r.cleanupFn(),r.cleanupFn=Io,r.fn(o)}finally{bo(r,u)}};return r.ref={notify:()=>Da(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[xn]:r},r.ref}var Io=()=>{},Qd=bt(Ct({},Eo),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Io});function g(e){return typeof e=="function"}function _t(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 Tn=_t(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription: +${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(` + `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ke(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var H=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(g(r))try{r()}catch(i){t=i instanceof Tn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ia(i)}catch(s){t=t??[],s instanceof Tn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Tn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ia(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)&&Ke(n,t)}remove(t){let{_finalizers:n}=this;n&&Ke(n,t),t instanceof e&&t._removeParent(this)}};H.EMPTY=(()=>{let e=new H;return e.closed=!0,e})();var So=H.EMPTY;function Nn(e){return e instanceof H||e&&"closed"in e&&g(e.remove)&&g(e.add)&&g(e.unsubscribe)}function Ia(e){g(e)?e():e.unsubscribe()}var ge={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Mt={setTimeout(e,t,...n){let{delegate:r}=Mt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Mt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function An(e){Mt.setTimeout(()=>{let{onUnhandledError:t}=ge;if(t)t(e);else throw e})}function Qt(){}var Ea=To("C",void 0,void 0);function Ca(e){return To("E",void 0,e)}function ba(e){return To("N",e,void 0)}function To(e,t,n){return{kind:e,value:t,error:n}}var Je=null;function xt(e){if(ge.useDeprecatedSynchronousErrorHandling){let t=!Je;if(t&&(Je={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Je;if(Je=null,n)throw r}}else e()}function _a(e){ge.useDeprecatedSynchronousErrorHandling&&Je&&(Je.errorThrown=!0,Je.error=e)}var Xe=class extends H{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Nn(t)&&t.add(this)):this.destination=Jd}static create(t,n,r){return new Te(t,n,r)}next(t){this.isStopped?Ao(ba(t),this):this._next(t)}error(t){this.isStopped?Ao(Ca(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Ao(Ea,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()}}},Zd=Function.prototype.bind;function No(e,t){return Zd.call(e,t)}var Oo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){On(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){On(r)}else On(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){On(n)}}},Te=class extends Xe{constructor(t,n,r){super();let o;if(g(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ge.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&No(t.next,i),error:t.error&&No(t.error,i),complete:t.complete&&No(t.complete,i)}):o=t}this.destination=new Oo(o)}};function On(e){ge.useDeprecatedSynchronousErrorHandling?_a(e):An(e)}function Kd(e){throw e}function Ao(e,t){let{onStoppedNotification:n}=ge;n&&Mt.setTimeout(()=>n(e,t))}var Jd={closed:!0,next:Qt,error:Kd,complete:Qt};var St=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Y(e){return e}function Xd(...e){return Fo(e)}function Fo(e){return e.length===0?Y:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var b=(()=>{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=tf(n)?n:new Te(n,r,o);return xt(()=>{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=Ma(r),new r((o,i)=>{let s=new Te({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[St](){return this}pipe(...n){return Fo(n)(this)}toPromise(n){return n=Ma(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 Ma(e){var t;return(t=e??ge.Promise)!==null&&t!==void 0?t:Promise}function ef(e){return e&&g(e.next)&&g(e.error)&&g(e.complete)}function tf(e){return e&&e instanceof Xe||ef(e)&&Nn(e)}function Ro(e){return g(e?.lift)}function v(e){return t=>{if(Ro(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 D(e,t,n,r,o){return new Po(e,t,n,r,o)}var Po=class extends Xe{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function ko(){return v((e,t)=>{let n=null;e._refCount++;let r=D(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 Lo=class extends b{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ro(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new H;let n=this.getSubject();t.add(this.source.subscribe(D(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=H.EMPTY)}return t}refCount(){return ko()(this)}};var xa=_t(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ue=(()=>{class e extends b{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Fn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new xa}next(n){xt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){xt(()=>{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(){xt(()=>{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?So:(this.currentObservers=null,i.push(n),new H(()=>{this.currentObservers=null,Ke(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new b;return n.source=this,n}}return e.create=(t,n)=>new Fn(t,n),e})(),Fn=class extends ue{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:So}};var Zt=class extends ue{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 Kt={now(){return(Kt.delegate||Date).now()},delegate:void 0};var Rn=class extends ue{constructor(t=1/0,n=1/0,r=Kt){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;se.complete());function jn(e){return e&&g(e.schedule)}function jo(e){return e[e.length-1]}function Vn(e){return g(jo(e))?e.pop():void 0}function Ee(e){return jn(jo(e))?e.pop():void 0}function Ta(e,t){return typeof jo(e)=="number"?e.pop():t}function Aa(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(l){try{c(r.next(l))}catch(d){s(d)}}function u(l){try{c(r.throw(l))}catch(d){s(d)}}function c(l){l.done?i(l.value):o(l.value).then(a,u)}c((r=r.apply(e,t||[])).next())})}function Na(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 tt(e){return this instanceof tt?(this.v=e,this):new tt(e)}function Oa(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(p){return new Promise(function(h,m){i.push([f,p,h,m])>1||a(f,p)})})}function a(f,p){try{u(r[f](p))}catch(h){d(i[0][3],h)}}function u(f){f.value instanceof tt?Promise.resolve(f.value.v).then(c,l):d(i[0][2],f)}function c(f){a("next",f)}function l(f){a("throw",f)}function d(f,p){f(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Fa(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 Na=="function"?Na(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){s=e[i](s),o(a,u,s.done,s.value)})}}function o(i,s,a,u){Promise.resolve(u).then(function(c){i({value:c,done:a})},s)}}var Nt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Bn(e){return g(e?.then)}function $n(e){return g(e[St])}function Hn(e){return Symbol.asyncIterator&&g(e?.[Symbol.asyncIterator])}function Un(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 nf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Gn=nf();function zn(e){return g(e?.[Gn])}function Wn(e){return Oa(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield tt(n.read());if(o)return yield tt(void 0);yield yield tt(r)}}finally{n.releaseLock()}})}function qn(e){return g(e?.getReader)}function A(e){if(e instanceof b)return e;if(e!=null){if($n(e))return rf(e);if(Nt(e))return of(e);if(Bn(e))return sf(e);if(Hn(e))return Ra(e);if(zn(e))return af(e);if(qn(e))return uf(e)}throw Un(e)}function rf(e){return new b(t=>{let n=e[St]();if(g(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function of(e){return new b(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,An)})}function af(e){return new b(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ra(e){return new b(t=>{cf(e,t).catch(n=>t.error(n))})}function uf(e){return Ra(Wn(e))}function cf(e,t){var n,r,o,i;return Aa(this,void 0,void 0,function*(){try{for(n=Fa(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 X(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 Yn(e,t=0){return v((n,r)=>{n.subscribe(D(r,o=>X(r,e,()=>r.next(o),t),()=>X(r,e,()=>r.complete(),t),o=>X(r,e,()=>r.error(o),t)))})}function Qn(e,t=0){return v((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Pa(e,t){return A(e).pipe(Qn(t),Yn(t))}function ka(e,t){return A(e).pipe(Qn(t),Yn(t))}function La(e,t){return new b(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ja(e,t){return new b(n=>{let r;return X(n,t,()=>{r=e[Gn](),X(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)}),()=>g(r?.return)&&r.return()})}function Zn(e,t){if(!e)throw new Error("Iterable cannot be null");return new b(n=>{X(n,t,()=>{let r=e[Symbol.asyncIterator]();X(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Va(e,t){return Zn(Wn(e),t)}function Ba(e,t){if(e!=null){if($n(e))return Pa(e,t);if(Nt(e))return La(e,t);if(Bn(e))return ka(e,t);if(Hn(e))return Zn(e,t);if(zn(e))return ja(e,t);if(qn(e))return Va(e,t)}throw Un(e)}function Ce(e,t){return t?Ba(e,t):A(e)}function lf(...e){let t=Ee(e);return Ce(e,t)}function df(e,t){let n=g(e)?e:()=>e,r=o=>o.error(n());return new b(t?o=>t.schedule(r,0,o):r)}function ff(e){return!!e&&(e instanceof b||g(e.lift)&&g(e.subscribe))}var nt=_t(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function $a(e){return e instanceof Date&&!isNaN(e)}function Ne(e,t){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:pf}=Array;function hf(e,t){return pf(t)?e(...t):e(t)}function At(e){return Ne(t=>hf(e,t))}var{isArray:gf}=Array,{getPrototypeOf:mf,prototype:yf,keys:Df}=Object;function Kn(e){if(e.length===1){let t=e[0];if(gf(t))return{args:t,keys:null};if(vf(t)){let n=Df(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function vf(e){return e&&typeof e=="object"&&mf(e)===yf}function Jn(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function wf(...e){let t=Ee(e),n=Vn(e),{args:r,keys:o}=Kn(e);if(r.length===0)return Ce([],t);let i=new b(If(r,t,o?s=>Jn(o,s):Y));return n?i.pipe(At(n)):i}function If(e,t,n=Y){return r=>{Ha(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let u=0;u{let c=Ce(e[u],t),l=!1;c.subscribe(D(r,d=>{i[u]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Ha(e,t,n){e?X(n,e,t):t()}function Ua(e,t,n,r,o,i,s,a){let u=[],c=0,l=0,d=!1,f=()=>{d&&!u.length&&!c&&t.complete()},p=m=>c{i&&t.next(m),c++;let N=!1;A(n(m,l++)).subscribe(D(t,x=>{o?.(x),i?p(x):t.next(x)},()=>{N=!0},void 0,()=>{if(N)try{for(c--;u.length&&ch(x)):h(x)}f()}catch(x){t.error(x)}}))};return e.subscribe(D(t,p,()=>{d=!0,f()})),()=>{a?.()}}function Ae(e,t,n=1/0){return g(t)?Ae((r,o)=>Ne((i,s)=>t(r,i,o,s))(A(e(r,o))),n):(typeof t=="number"&&(n=t),v((r,o)=>Ua(r,o,e,n)))}function Xn(e=1/0){return Ae(Y,e)}function Ga(){return Xn(1)}function er(...e){return Ga()(Ce(e,Ee(e)))}function Ef(e){return new b(t=>{A(e()).subscribe(t)})}function Cf(...e){let t=Vn(e),{args:n,keys:r}=Kn(e),o=new b(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),u=s,c=s;for(let l=0;l{d||(d=!0,c--),a[l]=f},()=>u--,void 0,()=>{(!u||!d)&&(c||i.next(r?Jn(r,a):a),i.complete())}))}});return t?o.pipe(At(t)):o}var bf=["addListener","removeListener"],_f=["addEventListener","removeEventListener"],Mf=["on","off"];function Vo(e,t,n,r){if(g(n)&&(r=n,n=void 0),r)return Vo(e,t,n).pipe(At(r));let[o,i]=Tf(e)?_f.map(s=>a=>e[s](t,a,n)):xf(e)?bf.map(za(e,t)):Sf(e)?Mf.map(za(e,t)):[];if(!o&&Nt(e))return Ae(s=>Vo(s,t,n))(A(e));if(!o)throw new TypeError("Invalid event target");return new b(s=>{let a=(...u)=>s.next(1i(a)})}function za(e,t){return n=>r=>e[n](t,r)}function xf(e){return g(e.addListener)&&g(e.removeListener)}function Sf(e){return g(e.on)&&g(e.off)}function Tf(e){return g(e.addEventListener)&&g(e.removeEventListener)}function Wa(e=0,t,n=Sa){let r=-1;return t!=null&&(jn(t)?n=t:r=t),new b(o=>{let i=$a(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Nf(...e){let t=Ee(e),n=Ta(e,1/0),r=e;return r.length?r.length===1?A(r[0]):Xn(n)(Ce(r,t)):et}function rt(e,t){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function qa(e){return v((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let c=o;o=null,n.next(c)}s&&n.complete()},u=()=>{i=null,s&&n.complete()};t.subscribe(D(n,c=>{r=!0,o=c,i||A(e(c)).subscribe(i=D(n,a,u))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Af(e,t=Xt){return qa(()=>Wa(e,t))}function Bo(e){return v((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=A(e(s,Bo(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Ya(e,t,n,r,o){return(i,s)=>{let a=n,u=t,c=0;i.subscribe(D(s,l=>{let d=c++;u=a?e(u,l,d):(a=!0,l),r&&s.next(u)},o&&(()=>{a&&s.next(u),s.complete()})))}}function Of(e,t){return g(t)?Ae(e,t,1):Ae(e,1)}function Ff(e,t=Xt){return v((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let c=i;i=null,r.next(c)}};function u(){let c=s+e,l=t.now();if(l{i=c,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function en(e){return v((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function $o(e){return e<=0?()=>et:v((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Rf(e){return Ne(()=>e)}function Pf(e,t=Y){return e=e??kf,v((n,r)=>{let o,i=!0;n.subscribe(D(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function kf(e,t){return e===t}function tr(e=Lf){return v((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Lf(){return new nt}function Qa(e){return v((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Za(e,t){let n=arguments.length>=2;return r=>r.pipe(e?rt((o,i)=>e(o,i,r)):Y,$o(1),n?en(t):tr(()=>new nt))}function Ho(e){return e<=0?()=>et:v((t,n)=>{let r=[];t.subscribe(D(n,o=>{r.push(o),e{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function jf(e,t){let n=arguments.length>=2;return r=>r.pipe(e?rt((o,i)=>e(o,i,r)):Y,Ho(1),n?en(t):tr(()=>new nt))}function Vf(e,t){return v(Ya(e,t,arguments.length>=2,!0))}function Go(e={}){let{connector:t=()=>new ue,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,c=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},p=()=>{f(),s=u=void 0,l=d=!1},h=()=>{let m=s;p(),m?.unsubscribe()};return v((m,N)=>{c++,!d&&!l&&f();let x=u=u??t();N.add(()=>{c--,c===0&&!d&&!l&&(a=Uo(h,o))}),x.subscribe(N),!s&&c>0&&(s=new Te({next:ae=>x.next(ae),error:ae=>{d=!0,f(),a=Uo(p,n,ae),x.error(ae)},complete:()=>{l=!0,f(),a=Uo(p,r),x.complete()}}),A(m).subscribe(s))})(i)}}function Uo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Te({next:()=>{r.unsubscribe(),e()}});return A(t(...n)).subscribe(r)}function Bf(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Go({connector:()=>new Rn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function $f(e){return rt((t,n)=>e<=n)}function Hf(...e){let t=Ee(e);return v((n,r)=>{(t?er(e,n,t):er(e,n)).subscribe(r)})}function Uf(e,t){return v((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(D(r,u=>{o?.unsubscribe();let c=0,l=i++;A(e(u,l)).subscribe(o=D(r,d=>r.next(t?t(u,d,l,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ka(e){return v((t,n)=>{A(e).subscribe(D(n,()=>n.complete(),Qt)),!n.closed&&t.subscribe(n)})}function Gf(e,t=!1){return v((n,r)=>{let o=0;n.subscribe(D(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Ja(e,t,n){let r=g(e)||t||n?{next:e,error:t,complete:n}:e;return r?v((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(D(i,u=>{var c;(c=r.next)===null||c===void 0||c.call(r,u),i.next(u)},()=>{var u;a=!1,(u=r.complete)===null||u===void 0||u.call(r),i.complete()},u=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,u),i.error(u)},()=>{var u,c;a&&((u=r.unsubscribe)===null||u===void 0||u.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):Y}var Vu="https://g.co/ng/security#xss",M=class extends Error{constructor(t,n){super(Bu(t,n)),this.code=t}};function Bu(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function mn(e){return{toString:e}.toString()}var nr="__parameters__";function zf(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function $u(e,t,n){return mn(()=>{let r=zf(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(u,c,l){let d=u.hasOwnProperty(nr)?u[nr]:Object.defineProperty(u,nr,{value:[]})[nr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var ce=globalThis;function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function Wf(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Z(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(Z).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(` +`);return n===-1?t:t.substring(0,n)}function ai(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var qf=O({__forward_ref__:O});function Hu(e){return e.__forward_ref__=Hu,e.toString=function(){return Z(this())},e}function Q(e){return Uu(e)?e():e}function Uu(e){return typeof e=="function"&&e.hasOwnProperty(qf)&&e.__forward_ref__===Hu}function V(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Gu(e){return{providers:e.providers||[],imports:e.imports||[]}}function Lr(e){return Xa(e,zu)||Xa(e,Wu)}function sM(e){return Lr(e)!==null}function Xa(e,t){return e.hasOwnProperty(t)?e[t]:null}function Yf(e){let t=e&&(e[zu]||e[Wu]);return t||null}function eu(e){return e&&(e.hasOwnProperty(tu)||e.hasOwnProperty(Qf))?e[tu]:null}var zu=O({\u0275prov:O}),tu=O({\u0275inj:O}),Wu=O({ngInjectableDef:O}),Qf=O({ngInjectorDef:O}),R=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=V({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function qu(e){return e&&!!e.\u0275providers}var Zf=O({\u0275cmp:O}),Kf=O({\u0275dir:O}),Jf=O({\u0275pipe:O}),Xf=O({\u0275mod:O}),gr=O({\u0275fac:O}),tn=O({__NG_ELEMENT_ID__:O}),nu=O({__NG_ENV_ID__:O});function yn(e){return typeof e=="string"?e:e==null?"":String(e)}function ep(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():yn(e)}function tp(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,e)}function vs(e,t){throw new M(-201,!1)}var _=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(_||{}),ui;function Yu(){return ui}function ee(e){let t=ui;return ui=e,t}function Qu(e,t,n){let r=Lr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&_.Optional)return null;if(t!==void 0)return t;vs(e,"Injector")}var np={},nn=np,ci="__NG_DI_FLAG__",mr="ngTempTokenPath",rp="ngTokenPath",op=/\n/gm,ip="\u0275",ru="__source",Pt;function sp(){return Pt}function $e(e){let t=Pt;return Pt=e,t}function ap(e,t=_.Default){if(Pt===void 0)throw new M(-203,!1);return Pt===null?Qu(e,void 0,t):Pt.get(e,t&_.Optional?null:void 0,t)}function ne(e,t=_.Default){return(Yu()||ap)(Q(e),t)}function k(e,t=_.Default){return ne(e,jr(t))}function jr(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function li(e){let t=[];for(let n=0;n ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):Z(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(op,` + `)}`}var dp=Zu($u("Optional"),8);var fp=Zu($u("SkipSelf"),4);function ut(e,t){let n=e.hasOwnProperty(gr);return n?e[gr]:null}function pp(e,t,n){if(e.length!==t.length)return!1;for(let r=0;rArray.isArray(n)?ws(n,t):t(n))}function Ku(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function yr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function gp(e,t){let n=[];for(let r=0;rt;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Vr(e,t,n){let r=Dn(e,t);return r>=0?e[r|1]=n:(r=~r,mp(e,r,t,n)),r}function zo(e,t){let n=Dn(e,t);if(n>=0)return e[n|1]}function Dn(e,t){return yp(e,t,1)}function yp(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<t){s=i-1;break}}}for(;i-1){let i;for(;++oi?d="":d=o[l+1].toLowerCase(),r&2&&c!==d){if(me(r))return!1;s=!0}}}}return me(r)||s}function me(e){return(e&1)===0}function Cp(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!me(s)&&(t+=iu(i,o),o=""),r=s,i=i||!me(r);n++}return o!==""&&(t+=iu(i,o)),t}function Tp(e){return e.map(Sp).join(",")}function Np(e){let t=[],n=[],r=1,o=2;for(;r{let t=uc(e),n=bt(Ct({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ec.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||rn.Emulated,styles:e.styles||te,_:null,schemas:e.schemas||null,tView:null,id:""});cc(n);let r=e.dependencies;return n.directiveDefs=au(r,!1),n.pipeDefs=au(r,!0),n.id=Rp(n),n})}function Ap(e){return ct(e)||ic(e)}function Op(e){return e!==null}function oc(e){return mn(()=>({type:e.type,bootstrap:e.bootstrap||te,declarations:e.declarations||te,imports:e.imports||te,exports:e.exports||te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function su(e,t){if(e==null)return Lt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ue.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Ue.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Br(e){return mn(()=>{let t=uc(e);return cc(t),t})}function Es(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 ct(e){return e[Zf]||null}function ic(e){return e[Kf]||null}function sc(e){return e[Jf]||null}function Fp(e){let t=ct(e)||ic(e)||sc(e);return t!==null?t.standalone:!1}function ac(e,t){let n=e[Xf]||null;if(!n&&t===!0)throw new Error(`Type ${Z(e)} does not have '\u0275mod' property.`);return n}function uc(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Lt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||te,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:su(e.inputs,t),outputs:su(e.outputs),debugInfo:null}}function cc(e){e.features?.forEach(t=>t(e))}function au(e,t){if(!e)return null;let n=t?sc:Ap;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Op)}function Rp(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function Pp(e){return{\u0275providers:e}}function kp(...e){return{\u0275providers:lc(!0,e),\u0275fromNgModule:!0}}function lc(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ws(t,s=>{let a=s;fi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&dc(o,i),n}function dc(e,t){for(let n=0;n{t(i,r)})}}function fi(e,t,n,r){if(e=Q(e),!e)return!1;let o=null,i=eu(e),s=!i&&ct(e);if(!i&&!s){let u=e.ngModule;if(i=eu(u),i)o=u;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)fi(c,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let c;try{ws(i.imports,l=>{fi(l,t,n,r)&&(c||=[],c.push(l))})}finally{}c!==void 0&&dc(c,t)}if(!a){let c=ut(o)||(()=>new o);t({provide:o,useFactory:c,deps:te},o),t({provide:Xu,useValue:o,multi:!0},o),t({provide:Dr,useValue:()=>ne(o),multi:!0},o)}let u=i.providers;if(u!=null&&!a){let c=e;Cs(u,l=>{t(l,c)})}}else return!1;return o!==e&&e.providers!==void 0}function Cs(e,t){for(let n of e)qu(n)&&(n=n.\u0275providers),Array.isArray(n)?Cs(n,t):t(n)}var Lp=O({provide:String,useValue:O});function fc(e){return e!==null&&typeof e=="object"&&Lp in e}function jp(e){return!!(e&&e.useExisting)}function Vp(e){return!!(e&&e.useFactory)}function jt(e){return typeof e=="function"}function Bp(e){return!!e.useClass}var pc=new R(""),ur={},$p={},Wo;function bs(){return Wo===void 0&&(Wo=new vr),Wo}var Ge=class{},sn=class extends Ge{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,hi(t,s=>this.processProvider(s)),this.records.set(Ju,Ot(void 0,this)),o.has("environment")&&this.records.set(Ge,Ot(void 0,this));let i=this.records.get(pc);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Xu,te,_.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=C(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(),C(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=$e(this),r=ee(void 0),o;try{return t()}finally{$e(n),ee(r)}}get(t,n=nn,r=_.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(nu))return t[nu](this);r=jr(r);let o,i=$e(this),s=ee(void 0);try{if(!(r&_.SkipSelf)){let u=this.records.get(t);if(u===void 0){let c=Wp(t)&&Lr(t);c&&this.injectableDefInScope(c)?u=Ot(pi(t),ur):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u)}let a=r&_.Self?bs():this.parent;return n=r&_.Optional&&n===nn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[mr]=a[mr]||[]).unshift(Z(t)),i)throw a;return cp(a,t,"R3InjectorError",this.source)}else throw a}finally{ee(s),$e(i)}}resolveInjectorInitializers(){let t=C(null),n=$e(this),r=ee(void 0),o;try{let i=this.get(Dr,te,_.Self);for(let s of i)s()}finally{$e(n),ee(r),C(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Z(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(t){t=Q(t);let n=jt(t)?t:Q(t&&t.provide),r=Up(t);if(!jt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ot(void 0,ur,!0),o.factory=()=>li(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=C(null);try{return n.value===ur&&(n.value=$p,n.value=n.factory()),typeof n.value=="object"&&n.value&&zp(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{C(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Q(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 pi(e){let t=Lr(e),n=t!==null?t.factory:ut(e);if(n!==null)return n;if(e instanceof R)throw new M(204,!1);if(e instanceof Function)return Hp(e);throw new M(204,!1)}function Hp(e){if(e.length>0)throw new M(204,!1);let n=Yf(e);return n!==null?()=>n.factory(e):()=>new e}function Up(e){if(fc(e))return Ot(void 0,e.useValue);{let t=hc(e);return Ot(t,ur)}}function hc(e,t,n){let r;if(jt(e)){let o=Q(e);return ut(o)||pi(o)}else if(fc(e))r=()=>Q(e.useValue);else if(Vp(e))r=()=>e.useFactory(...li(e.deps||[]));else if(jp(e))r=()=>ne(Q(e.useExisting));else{let o=Q(e&&(e.useClass||e.provide));if(Gp(e))r=()=>new o(...li(e.deps));else return ut(o)||pi(o)}return r}function Ot(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Gp(e){return!!e.deps}function zp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Wp(e){return typeof e=="function"||typeof e=="object"&&e instanceof R}function hi(e,t){for(let n of e)Array.isArray(n)?hi(n,t):n&&qu(n)?hi(n.\u0275providers,t):t(n)}function uM(e,t){e instanceof sn&&e.assertNotDestroyed();let n,r=$e(e),o=ee(void 0);try{return t()}finally{$e(r),ee(o)}}function gc(){return Yu()!==void 0||sp()!=null}function qp(e){if(!gc())throw new M(-203,!1)}function Yp(e){return typeof e=="function"}var xe=0,w=1,y=2,U=3,De=4,ie=5,Vt=6,an=7,z=8,Bt=9,we=10,L=11,un=12,uu=13,zt=14,le=15,vn=16,Ft=17,Oe=18,$r=19,mc=20,He=21,cr=22,lt=23,G=25,_s=1;var dt=7,wr=8,$t=9,W=10,Ms=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Ms||{});function st(e){return Array.isArray(e)&&typeof e[_s]=="object"}function Pe(e){return Array.isArray(e)&&e[_s]===!0}function xs(e){return(e.flags&4)!==0}function Hr(e){return e.componentOffset>-1}function Ur(e){return(e.flags&1)===1}function Fe(e){return!!e.template}function Qp(e){return(e[y]&512)!==0}var gi=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function yc(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Ss(){return Dc}function Dc(e){return e.type.prototype.ngOnChanges&&(e.setInput=Kp),Zp}Ss.ngInherit=!0;function Zp(){let e=wc(this),t=e?.current;if(t){let n=e.previous;if(n===Lt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Kp(e,t,n,r,o){let i=this.declaredInputs[r],s=wc(e)||Jp(e,{previous:Lt,current:null}),a=s.current||(s.current={}),u=s.previous,c=u[i];a[i]=new gi(c&&c.currentValue,n,u===Lt),yc(e,t,o,n)}var vc="__ngSimpleChanges__";function wc(e){return e[vc]||null}function Jp(e,t){return e[vc]=t}var cu=null;var be=function(e,t,n){cu?.(e,t,n)},Ic="svg",Xp="math",eh=!1;function th(){return eh}function Me(e){for(;Array.isArray(e);)e=e[xe];return e}function nh(e){for(;Array.isArray(e);){if(typeof e[_s]=="object")return e;e=e[xe]}return null}function Ec(e,t){return Me(t[e])}function de(e,t){return Me(t[e.index])}function Ts(e,t){return e.data[t]}function Ns(e,t){return e[t]}function qe(e,t){let n=t[e];return st(n)?n:n[xe]}function rh(e){return(e[y]&4)===4}function As(e){return(e[y]&128)===128}function oh(e){return Pe(e[U])}function Ht(e,t){return t==null?null:e[t]}function Cc(e){e[Ft]=0}function ih(e){e[y]&1024||(e[y]|=1024,As(e)&&cn(e))}function sh(e,t){for(;e>0;)t=t[zt],e--;return t}function Os(e){return!!(e[y]&9216||e[lt]?.dirty)}function mi(e){e[we].changeDetectionScheduler?.notify(1),Os(e)?cn(e):e[y]&64&&(th()?(e[y]|=1024,cn(e)):e[we].changeDetectionScheduler?.notify())}function cn(e){e[we].changeDetectionScheduler?.notify();let t=ln(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!As(t)));)t=ln(t)}function bc(e,t){if((e[y]&256)===256)throw new M(911,!1);e[He]===null&&(e[He]=[]),e[He].push(t)}function ah(e,t){if(e[He]===null)return;let n=e[He].indexOf(t);n!==-1&&e[He].splice(n,1)}function ln(e){let t=e[U];return Pe(t)?t[U]:t}var E={lFrame:Rc(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function uh(){return E.lFrame.elementDepthCount}function ch(){E.lFrame.elementDepthCount++}function lh(){E.lFrame.elementDepthCount--}function _c(){return E.bindingsEnabled}function Mc(){return E.skipHydrationRootTNode!==null}function dh(e){return E.skipHydrationRootTNode===e}function fh(){E.skipHydrationRootTNode=null}function I(){return E.lFrame.lView}function j(){return E.lFrame.tView}function cM(e){return E.lFrame.contextLView=e,e[z]}function lM(e){return E.lFrame.contextLView=null,e}function q(){let e=xc();for(;e!==null&&e.type===64;)e=e.parent;return e}function xc(){return E.lFrame.currentTNode}function ph(){let e=E.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Dt(e,t){let n=E.lFrame;n.currentTNode=e,n.isParent=t}function Fs(){return E.lFrame.isParent}function Rs(){E.lFrame.isParent=!1}function hh(){return E.lFrame.contextLView}function Sc(){let e=E.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function gh(e){return E.lFrame.bindingIndex=e}function Ye(){return E.lFrame.bindingIndex++}function Tc(e){let t=E.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function mh(){return E.lFrame.inI18n}function yh(e,t){let n=E.lFrame;n.bindingIndex=n.bindingRootIndex=e,yi(t)}function Dh(){return E.lFrame.currentDirectiveIndex}function yi(e){E.lFrame.currentDirectiveIndex=e}function Nc(e){let t=E.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ac(){return E.lFrame.currentQueryIndex}function Ps(e){E.lFrame.currentQueryIndex=e}function vh(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[ie]:null}function Oc(e,t,n){if(n&_.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&_.Host);)if(o=vh(i),o===null||(i=i[zt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=E.lFrame=Fc();return r.currentTNode=t,r.lView=e,!0}function ks(e){let t=Fc(),n=e[w];E.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Fc(){let e=E.lFrame,t=e===null?null:e.child;return t===null?Rc(e):t}function Rc(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 Pc(){let e=E.lFrame;return E.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var kc=Pc;function Ls(){let e=Pc();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 wh(e){return(E.lFrame.contextLView=sh(e,E.lFrame.contextLView))[z]}function Qe(){return E.lFrame.selectedIndex}function ft(e){E.lFrame.selectedIndex=e}function wn(){let e=E.lFrame;return Ts(e.tView,e.selectedIndex)}function dM(){E.lFrame.currentNamespace=Ic}function fM(){Ih()}function Ih(){E.lFrame.currentNamespace=null}function Eh(){return E.lFrame.currentNamespace}var Lc=!0;function Gr(){return Lc}function zr(e){Lc=e}function Ch(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Dc(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 Wr(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[Ft]+=65536),(a>14>16&&(e[y]&3)===t&&(e[y]+=16384,lu(a,i)):lu(a,i)}var kt=-1,pt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function _h(e){return e instanceof pt}function Mh(e){return(e.flags&8)!==0}function xh(e){return(e.flags&16)!==0}function Vc(e){return e!==kt}function Ir(e){return e&32767}function Sh(e){return e>>16}function Er(e,t){let n=Sh(e),r=t;for(;n>0;)r=r[zt],n--;return r}var Di=!0;function Cr(e){let t=Di;return Di=e,t}var Th=256,Bc=Th-1,$c=5,Nh=0,_e={};function Ah(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(tn)&&(r=n[tn]),r==null&&(r=n[tn]=Nh++);let o=r&Bc,i=1<>$c)]|=i}function br(e,t){let n=Hc(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,Yo(r.data,e),Yo(t,null),Yo(r.blueprint,null));let o=js(e,t),i=e.injectorIndex;if(Vc(o)){let s=Ir(o),a=Er(o,t),u=a[w].data;for(let c=0;c<8;c++)t[i+c]=a[s+c]|u[s+c]}return t[i+8]=o,i}function Yo(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Hc(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function js(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=qc(o),r===null)return kt;if(n++,o=o[zt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return kt}function vi(e,t,n){Ah(e,t,n)}function Oh(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o>20,d=r?a:a+l,f=o?a+l:c;for(let p=d;p=u&&h.type===n)return p}if(o){let p=s[u];if(p&&Fe(p)&&p.type===n)return u}return null}function ht(e,t,n,r){let o=e[n],i=t.data;if(_h(o)){let s=o;s.resolving&&tp(ep(i[n]));let a=Cr(s.canSeeViewProviders);s.resolving=!0;let u,c=s.injectImpl?ee(s.injectImpl):null,l=Oc(e,r,_.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Ch(n,i[n],t)}finally{c!==null&&ee(c),Cr(a),s.resolving=!1,kc()}}return o}function Rh(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(tn)?e[tn]:void 0;return typeof t=="number"?t>=0?t&Bc:Ph:t}function du(e,t,n){let r=1<>$c)]&r)}function fu(e,t){return!(e&_.Self)&&!(e&_.Host&&t)}var at=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return zc(this._tNode,this._lView,t,jr(r),n)}};function Ph(){return new at(q(),I())}function pM(e){return mn(()=>{let t=e.prototype.constructor,n=t[gr]||wi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[gr]||wi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function wi(e){return Uu(e)?()=>{let t=wi(Q(e));return t&&t()}:ut(e)}function kh(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=Wc(i,s,n,r|_.Self,_e);if(a!==_e)return a;let u=i.parent;if(!u){let c=s[mc];if(c){let l=c.get(n,_e,r);if(l!==_e)return l}u=qc(s),s=s[zt]}i=u}return o}function qc(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[ie]:null}function Lh(e){return Oh(q(),e)}function pu(e,t=null,n=null,r){let o=Yc(e,t,n,r);return o.resolveInjectorInitializers(),o}function Yc(e,t=null,n=null,r,o=new Set){let i=[n||te,kp(e)];return r=r||(typeof e=="object"?void 0:Z(e)),new sn(i,t||bs(),r||null,o)}var qr=(()=>{let t=class t{static create(r,o){if(Array.isArray(r))return pu({name:""},o,r,"");{let i=r.name??"";return pu({name:i},r.parent,r.providers,i)}}};t.THROW_IF_NOT_FOUND=nn,t.NULL=new vr,t.\u0275prov=V({token:t,providedIn:"any",factory:()=>ne(Ju)}),t.__NG_ELEMENT_ID__=-1;let e=t;return e})();var jh="ngOriginalError";function Qo(e){return e[jh]}var gt=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Qo(t);for(;n&&Qo(n);)n=Qo(n);return n||null}},Qc=new R("",{providedIn:"root",factory:()=>k(gt).handleError.bind(void 0)}),Vs=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Vh,t.__NG_ENV_ID__=r=>r;let e=t;return e})(),Ii=class extends Vs{constructor(t){super(),this._lView=t}onDestroy(t){return bc(this._lView,t),()=>ah(this._lView,t)}};function Vh(){return new Ii(I())}function Bh(){return Wt(q(),I())}function Wt(e,t){return new vt(de(e,t))}var vt=(()=>{let t=class t{constructor(r){this.nativeElement=r}};t.__NG_ELEMENT_ID__=Bh;let e=t;return e})();function $h(e){return e instanceof vt?e.nativeElement:e}var Ei=class extends ue{constructor(t=!1){super(),this.destroyRef=void 0,this.__isAsync=t,gc()&&(this.destroyRef=k(Vs,{optional:!0})??void 0)}emit(t){let n=C(null);try{super.next(t)}finally{C(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Zo(i),o&&(o=Zo(o)),s&&(s=Zo(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof H&&t.add(a),a}};function Zo(e){return t=>{setTimeout(e,void 0,t)}}var it=Ei;function Hh(){return this._results[Symbol.iterator]()}var Ci=class e{get changes(){return this._changes??=new it}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Hh)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=hp(t);(this._changesDetected=!pp(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Zc(e){return(e.flags&128)===128}var Kc=new Map,Uh=0;function Gh(){return Uh++}function zh(e){Kc.set(e[$r],e)}function Wh(e){Kc.delete(e[$r])}var hu="__ngContext__";function ze(e,t){st(t)?(e[hu]=t[$r],zh(t)):e[hu]=t}function Jc(e){return el(e[un])}function Xc(e){return el(e[De])}function el(e){for(;e!==null&&!Pe(e);)e=e[De];return e}var bi;function hM(e){bi=e}function tl(){if(bi!==void 0)return bi;if(typeof document<"u")return document;throw new M(210,!1)}var gM=new R("",{providedIn:"root",factory:()=>qh}),qh="ng",Yh=new R(""),Qh=new R("",{providedIn:"platform",factory:()=>"unknown"});var mM=new R(""),yM=new R("",{providedIn:"root",factory:()=>tl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Zh="h",Kh="b";var Jh=()=>null;function Bs(e,t,n=!1){return Jh(e,t,n)}var nl=!1,Xh=new R("",{providedIn:"root",factory:()=>nl});var rr;function eg(){if(rr===void 0&&(rr=null,ce.trustedTypes))try{rr=ce.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return rr}function Yr(e){return eg()?.createHTML(e)||e}var or;function tg(){if(or===void 0&&(or=null,ce.trustedTypes))try{or=ce.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return or}function gu(e){return tg()?.createHTML(e)||e}var Re=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Vu})`}},_i=class extends Re{getTypeName(){return"HTML"}},Mi=class extends Re{getTypeName(){return"Style"}},xi=class extends Re{getTypeName(){return"Script"}},Si=class extends Re{getTypeName(){return"URL"}},Ti=class extends Re{getTypeName(){return"ResourceURL"}};function In(e){return e instanceof Re?e.changingThisBreaksApplicationSecurity:e}function rl(e,t){let n=ng(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Vu})`)}return n===t}function ng(e){return e instanceof Re&&e.getTypeName()||null}function DM(e){return new _i(e)}function vM(e){return new Mi(e)}function wM(e){return new xi(e)}function IM(e){return new Si(e)}function EM(e){return new Ti(e)}function rg(e){let t=new Ai(e);return og()?new Ni(t):t}var Ni=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{let n=new window.DOMParser().parseFromString(Yr(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}},Ai=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Yr(t),n}};function og(){try{return!!new window.DOMParser().parseFromString(Yr(""),"text/html")}catch{return!1}}var ig=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ol(e){return e=String(e),e.match(ig)?e:"unsafe:"+e}function ke(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function En(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var il=ke("area,br,col,hr,img,wbr"),sl=ke("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),al=ke("rp,rt"),sg=En(al,sl),ag=En(sl,ke("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ug=En(al,ke("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),mu=En(il,ag,ug,sg),ul=ke("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),cg=ke("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),lg=ke("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),dg=En(ul,cg,lg),fg=ke("script,style,template"),Oi=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=gg(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=hg(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=yu(t).toLowerCase();if(!mu.hasOwnProperty(n))return this.sanitizedSomething=!0,!fg.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o"),!0}endElement(t){let n=yu(t).toLowerCase();mu.hasOwnProperty(n)&&!il.hasOwnProperty(n)&&(this.buf.push(""))}chars(t){this.buf.push(Du(t))}};function pg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function hg(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw cl(t);return t}function gg(e){let t=e.firstChild;if(t&&pg(e,t))throw cl(t);return t}function yu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function cl(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var mg=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yg=/([^\#-~ |!])/g;function Du(e){return e.replace(/&/g,"&").replace(mg,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(yg,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}var ir;function Dg(e,t){let n=null;try{ir=ir||rg(e);let r=t?String(t):"";n=ir.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=ir.getInertBodyElement(r)}while(r!==i);let a=new Oi().sanitizeChildren(vu(n)||n);return Yr(a)}finally{if(n){let r=vu(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function vu(e){return"content"in e&&vg(e)?e.content:null}function vg(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var $s=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}($s||{});function CM(e){let t=ll();return t?gu(t.sanitize($s.HTML,e)||""):rl(e,"HTML")?gu(In(e)):Dg(tl(),yn(e))}function bM(e){let t=ll();return t?t.sanitize($s.URL,e)||"":rl(e,"URL")?In(e):ol(yn(e))}function ll(){let e=I();return e&&e[we].sanitizer}var wg=/^>|^->||--!>|)/g,Eg="\u200B$1\u200B";function Cg(e){return e.replace(wg,t=>t.replace(Ig,Eg))}function dl(e){return e instanceof Function?e():e}var _r=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(_r||{}),bg;function Hs(e,t){return bg(e,t)}function Rt(e,t,n,r,o){if(r!=null){let i,s=!1;Pe(r)?i=r:st(r)&&(s=!0,r=r[xe]);let a=Me(r);e===0&&n!==null?o==null?ml(t,n,a):Mr(t,n,a,o||null,!0):e===1&&n!==null?Mr(t,n,a,o||null,!0):e===2?Bg(t,a,s):e===3&&t.destroyNode(a),i!=null&&Hg(t,e,i,n,o)}}function _g(e,t){return e.createText(t)}function Mg(e,t,n){e.setValue(t,n)}function xg(e,t){return e.createComment(Cg(t))}function fl(e,t,n){return e.createElement(t,n)}function Sg(e,t){pl(e,t),t[xe]=null,t[ie]=null}function Tg(e,t,n,r,o,i){r[xe]=o,r[ie]=t,Kr(e,r,n,1,o,i)}function pl(e,t){t[we].changeDetectionScheduler?.notify(1),Kr(e,t,t[L],2,null,null)}function Ng(e){let t=e[un];if(!t)return Ko(e[w],e);for(;t;){let n=null;if(st(t))n=t[un];else{let r=t[W];r&&(n=r)}if(!n){for(;t&&!t[De]&&t!==e;)st(t)&&Ko(t[w],t),t=t[U];t===null&&(t=e),st(t)&&Ko(t[w],t),n=t&&t[De]}t=n}}function Ag(e,t,n,r){let o=W+r,i=n.length;r>0&&(n[o-1][De]=t),r0&&(e[n-1][De]=r[De]);let i=yr(e,W+t);Sg(r[w],r);let s=i[Oe];s!==null&&s.detachView(i[w]),r[U]=null,r[De]=null,r[y]&=-129}return r}function Qr(e,t){if(!(t[y]&256)){let n=t[L];n.destroyNode&&Kr(e,t,n,3,null,null),Ng(t)}}function Ko(e,t){if(t[y]&256)return;let n=C(null);try{t[y]&=-129,t[y]|=256,t[lt]&&_o(t[lt]),Rg(e,t),Fg(e,t),t[w].type===1&&t[L].destroy();let r=t[vn];if(r!==null&&Pe(t[U])){r!==t[U]&&hl(r,t);let o=t[Oe];o!==null&&o.detachView(e)}Wh(t)}finally{C(n)}}function Fg(e,t){let n=e.cleanup,r=t[an];if(n!==null)for(let i=0;i=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[an]=null);let o=t[He];if(o!==null){t[He]=null;for(let i=0;i-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===rn.None||i===rn.Emulated)return null}return de(r,n)}}function Mr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ml(e,t,n){e.appendChild(t,n)}function wu(e,t,n,r,o){r!==null?Mr(e,t,n,r,o):ml(e,t,n)}function kg(e,t,n,r){e.removeChild(t,n,r)}function Us(e,t){return e.parentNode(t)}function Lg(e,t){return e.nextSibling(t)}function yl(e,t,n){return Vg(e,t,n)}function jg(e,t,n){return e.type&40?de(e,n):null}var Vg=jg,Iu;function Zr(e,t,n,r){let o=gl(e,r,t),i=t[L],s=r.parent||t[ie],a=yl(s,r,t);if(o!=null)if(Array.isArray(n))for(let u=0;uG&&El(e,t,G,!1),be(s?2:0,o),n(r,o)}finally{ft(i),be(s?3:1,o)}}function zs(e,t,n){if(xs(t)){let r=C(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;snull;function Kg(e,t,n,r){let o=Al(t);o.push(n),e.firstCreatePass&&Ol(e).push(r,o.length-1)}function Jg(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Mc()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Eu(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,u=Ue.None;Array.isArray(s)?(a=s[0],u=s[1]):a=s;let c=i;if(o!==null){if(!o.hasOwnProperty(i))continue;c=o[i]}e===0?Cu(r,n,c,a,u):Cu(r,n,c,a)}return r}function Cu(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Xg(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],u=null,c=null;for(let l=r;l0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function om(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Hr(n)&&dm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||br(n,t),ze(r,t);let s=n.initialInputs;for(let a=o;a{cn(e.lView)},consumerOnSignalRead(){this.lView[lt]=this}}),Ll=100;function jl(e,t=!0,n=0){let r=e[we],o=r.rendererFactory,i=!1;i||o.begin?.();try{Mm(e,n)}catch(s){throw t&&Fl(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Mm(e,t){ki(e,t);let n=0;for(;Os(e);){if(n===Ll)throw new M(103,!1);n++,ki(e,1)}}function xm(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1;!i&&t[we].inlineEffectRunner?.flush(),ks(t);let s=null,a=null;!i&&Sm(e)&&(a=Em(t),s=Co(a));try{Cc(t),gh(e.bindingStartIndex),n!==null&&_l(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let d=e.preOrderCheckHooks;d!==null&&lr(t,d,null)}else{let d=e.preOrderHooks;d!==null&&dr(t,d,0,null),qo(t,0)}if(Tm(t),Vl(t,0),e.contentQueries!==null&&Nl(e,t),!i)if(u){let d=e.contentCheckHooks;d!==null&&lr(t,d)}else{let d=e.contentHooks;d!==null&&dr(t,d,1),qo(t,1)}zg(e,t);let c=e.components;c!==null&&$l(t,c,0);let l=e.viewQuery;if(l!==null&&Pi(2,l,r),!i)if(u){let d=e.viewCheckHooks;d!==null&&lr(t,d)}else{let d=e.viewHooks;d!==null&&dr(t,d,2),qo(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[cr]){for(let d of t[cr])d();t[cr]=null}i||(t[y]&=-73)}catch(u){throw cn(t),u}finally{a!==null&&(bo(a,s),bm(a)),Ls()}}function Sm(e){return e.type!==2}function Vl(e,t){for(let n=Jc(e);n!==null;n=Xc(n))for(let r=W;r-1&&(dn(t,r),yr(n,r))}this._attachedToViewContainer=!1}Qr(this._lView[w],this._lView)}onDestroy(t){bc(this._lView,t)}markForCheck(){Js(this._cdRefInjectingView||this._lView)}detach(){this._lView[y]&=-129}reattach(){mi(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,jl(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,pl(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t,mi(this._lView)}},Ut=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=Fm;let e=t;return e})(),Am=Ut,Om=class extends Am{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=to(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new mt(o)}};function Fm(){return ro(q(),I())}function ro(e,t){return e.type&4?new Om(t,e,Wt(e,t)):null}var SM=new RegExp(`^(\\d+)*(${Kh}|${Zh})*(.*)`);var Rm=()=>null;function pn(e,t){return Rm(e,t)}var Li=class{},ji=class{},Sr=class{};function Pm(e){let t=Error(`No component factory found for ${Z(e)}.`);return t[km]=e,t}var km="ngComponent";var Vi=class{resolveComponentFactory(t){throw Pm(t)}},oo=(()=>{let t=class t{};t.NULL=new Vi;let e=t;return e})(),Bi=class{},Xs=(()=>{let t=class t{constructor(){this.destroyNode=null}};t.__NG_ELEMENT_ID__=()=>Lm();let e=t;return e})();function Lm(){let e=I(),t=q(),n=qe(t.index,e);return(st(n)?n:e)[L]}var jm=(()=>{let t=class t{};t.\u0275prov=V({token:t,providedIn:"root",factory:()=>null});let e=t;return e})(),Jo={};var bu=new Set;function Cn(e){bu.has(e)||(bu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function _u(...e){}function Vm(){let e=typeof ce.requestAnimationFrame=="function",t=ce[e?"requestAnimationFrame":"setTimeout"],n=ce[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){let r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);let o=n[Zone.__symbol__("OriginalDelegate")];o&&(n=o)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}var ve=class e{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new it(!1),this.onMicrotaskEmpty=new it(!1),this.onStable=new it(!1),this.onError=new it(!1),typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=Vm().nativeRequestAnimationFrame,Hm(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new M(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,Bm,_u,_u);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)}},Bm={};function ea(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 $m(e){e.isCheckStableRunning||e.lastRequestAnimationFrameId!==-1||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ce,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,$i(e),e.isCheckStableRunning=!0,ea(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),$i(e))}function Hm(e){let t=()=>{$m(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{if(Um(a))return n.invokeTask(o,i,s,a);try{return Mu(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),xu(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Mu(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),xu(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&(i.change=="microTask"?(e._hasPendingMicrotasks=i.microTask,$i(e),ea(e)):i.change=="macroTask"&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function $i(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.lastRequestAnimationFrameId!==-1?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Mu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xu(e){e._nesting--,ea(e)}function Um(e){return!Array.isArray(e)||e.length!==1?!1:e[0].data?.__ignore_ng_zone__===!0}var Hl=(()=>{let t=class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let r=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of r)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};t.\u0275prov=V({token:t,providedIn:"root",factory:()=>new t});let e=t;return e})();function Tr(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s0&&wl(e,n,i.join(" "))}}function Zm(e,t,n){let r=e.projection=[];for(let o=0;o{let t=class t{};t.__NG_ELEMENT_ID__=Jm;let e=t;return e})();function Jm(){let e=q();return Gl(e,I())}var Xm=Yt,Ul=class extends Xm{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Wt(this._hostTNode,this._hostLView)}get injector(){return new at(this._hostTNode,this._hostLView)}get parentInjector(){let t=js(this._hostTNode,this._hostLView);if(Vc(t)){let n=Er(t,this._hostLView),r=Ir(t),o=n[w].data[r+8];return new at(o,n)}else return new at(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Tu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-W}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=pn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,fn(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Yp(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let u=s?t:new hn(ct(t)),c=r||this.parentInjector;if(!i&&u.ngModule==null){let m=(s?c:this.parentInjector).get(Ge,null);m&&(i=m)}let l=ct(u.componentType??{}),d=pn(this._lContainer,l?.id??null),f=d?.firstChild??null,p=u.create(c,o,f,i);return this.insertImpl(p.hostView,a,fn(this._hostTNode,d)),p}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(oh(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let u=o[U],c=new Ul(u,u[ie],u[U]);c.detach(c.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return no(s,o,i,r),t.attachToViewContainerRef(),Ku(Xo(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Tu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=dn(this._lContainer,n);r&&(yr(Xo(this._lContainer),n),Qr(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=dn(this._lContainer,n);return r&&yr(Xo(this._lContainer),n)!=null?new mt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Tu(e){return e[wr]}function Xo(e){return e[wr]||(e[wr]=[])}function Gl(e,t){let n,r=t[e.index];return Pe(r)?n=r:(n=Tl(r,t,null,e),t[e.index]=n,eo(t,n)),ty(n,t,e,r),new Ul(n,e,t)}function ey(e,t){let n=e[L],r=n.createComment(""),o=de(t,e),i=Us(n,o);return Mr(n,i,r,Lg(n,o),!1),r}var ty=oy,ny=()=>!1;function ry(e,t,n){return ny(e,t,n)}function oy(e,t,n,r){if(e[dt])return;let o;n.type&8?o=Me(r):o=ey(t,n),e[dt]=o}var Gi=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},zi=class e{constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let c=i[a+1],l=t[-u];for(let d=W;dt.trim())}function ql(e,t,n){e.queries===null&&(e.queries=new Wi),e.queries.track(new qi(t,n))}function py(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function ta(e,t){return e.queries.getByIndex(t)}function hy(e,t){let n=e[w],r=ta(n,t);return r.crossesNgTemplate?Yi(n,e,t,[]):zl(n,e,r,t)}function gy(e){return typeof e=="function"&&e[xn]!==void 0}function Yl(e){return gy(e)&&typeof e.set=="function"}function my(e){return Object.getPrototypeOf(e.prototype).constructor}function yy(e){let t=my(e.type),n=!0,r=[e];for(;t;){let o;if(Fe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new M(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=sr(e.inputs),s.inputTransforms=sr(e.inputTransforms),s.declaredInputs=sr(e.declaredInputs),s.outputs=sr(e.outputs);let a=o.hostBindings;a&&Ey(e,a);let u=o.viewQuery,c=o.contentQueries;if(u&&wy(e,u),c&&Iy(e,c),Dy(e,o),Wf(e.outputs,o.outputs),Fe(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=on(o.hostAttrs,n=on(n,o.hostAttrs))}}function sr(e){return e===Lt?{}:e===te?[]:e}function wy(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Iy(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Ey(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Cy(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}var We=class{},Qi=class{};var Zi=class extends We{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Nr(this);let o=ac(t);this._bootstrapComponents=dl(o.bootstrap),this._r3Injector=Yc(t,n,[{provide:We,useValue:this},{provide:oo,useValue:this.componentFactoryResolver},...r],Z(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}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)}},Ki=class extends Qi{constructor(t){super(),this.moduleType=t}create(t){return new Zi(this.moduleType,t,[])}};var Or=class extends We{constructor(t){super(),this.componentFactoryResolver=new Nr(this),this.instance=null;let n=new sn([...t.providers,{provide:We,useValue:this},{provide:oo,useValue:this.componentFactoryResolver}],t.parent||bs(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function by(e,t,n=null){return new Or({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var na=(()=>{let t=class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Zt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function Ql(e){return My(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function _y(e,t){if(Array.isArray(e))for(let n=0;n>17&32767}function Ry(e){return(e&2)==2}function Py(e,t){return e&131071|t<<17}function Xi(e){return e|2}function Gt(e){return(e&131068)>>2}function ei(e,t){return e&-131069|t<<2}function ky(e){return(e&1)===1}function es(e){return e|1}function Ly(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=yt(s),u=Gt(s);e[r]=n;let c=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Dn(d,l)>0)&&(c=!0)}else l=n;if(o)if(u!==0){let f=yt(e[a+1]);e[r+1]=ar(f,a),f!==0&&(e[f+1]=ei(e[f+1],r)),e[a+1]=Py(e[a+1],r)}else e[r+1]=ar(a,0),a!==0&&(e[a+1]=ei(e[a+1],r)),a=r;else e[r+1]=ar(u,0),a===0?a=r:e[u+1]=ei(e[u+1],r),u=r;c&&(e[r+1]=Xi(e[r+1])),Nu(e,l,r,!0),Nu(e,l,r,!1),jy(t,l,e,r,i),s=ar(a,u),i?t.classBindings=s:t.styleBindings=s}function jy(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Dn(i,t)>=0&&(n[r+1]=es(n[r+1]))}function Nu(e,t,n,r){let o=e[n+1],i=t===null,s=r?yt(o):Gt(o),a=!1;for(;s!==0&&(a===!1||i);){let u=e[s],c=e[s+1];Vy(u,t)&&(a=!0,e[s+1]=r?es(c):Xi(c)),s=r?yt(c):Gt(c)}a&&(e[n+1]=r?Xi(o):es(o))}function Vy(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Dn(e,t)>=0:!1}var ye={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function By(e){return e.substring(ye.key,ye.keyEnd)}function $y(e){return Hy(e),Jl(e,Xl(e,0,ye.textEnd))}function Jl(e,t){let n=ye.textEnd;return n===t?-1:(t=ye.keyEnd=Uy(e,ye.key=t,n),Xl(e,t,n))}function Hy(e){ye.key=0,ye.keyEnd=0,ye.value=0,ye.valueEnd=0,ye.textEnd=e.length}function Xl(e,t,n){for(;t32;)t++;return t}function Gy(e,t,n){let r=I(),o=Ye();if(re(r,o,t)){let i=j(),s=wn();Xr(i,s,r,e,t,r[L],n,!1)}return Gy}function ts(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Zs(e,n,i[s],s,r)}function ed(e,t,n){return nd(e,t,n,!1),ed}function zy(e,t){return nd(e,t,null,!0),zy}function NM(e){rd(Ky,td,e,!0)}function td(e,t){for(let n=$y(t);n>=0;n=Jl(t,n))Vr(e,By(t),!0)}function nd(e,t,n,r){let o=I(),i=j(),s=Tc(2);if(i.firstUpdatePass&&id(i,e,s,r),t!==Le&&re(o,s,t)){let a=i.data[Qe()];sd(i,a,o,o[L],e,o[s+1]=Xy(t,n),r,s)}}function rd(e,t,n,r){let o=j(),i=Tc(2);o.firstUpdatePass&&id(o,null,i,r);let s=I();if(n!==Le&&re(s,i,n)){let a=o.data[Qe()];if(ad(a,r)&&!od(o,i)){let u=r?a.classesWithoutHost:a.stylesWithoutHost;u!==null&&(n=ai(u,n||"")),ts(o,a,s,n,r)}else Jy(o,a,s,s[L],s[i+1],s[i+1]=Zy(e,t,n),r,i)}}function od(e,t){return t>=e.expandoStartIndex}function id(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Qe()],s=od(e,n);ad(i,r)&&t===null&&!s&&(t=!1),t=Wy(o,i,t,r),Ly(o,i,t,n,s,r)}}function Wy(e,t,n,r){let o=Nc(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ti(null,e,t,n,r),n=gn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ti(o,e,t,n,r),i===null){let u=qy(e,t,r);u!==void 0&&Array.isArray(u)&&(u=ti(null,e,t,u[1],r),u=gn(u,t.attrs,r),Yy(e,t,r,u))}else i=Qy(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function qy(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Gt(r)!==0)return e[yt(r)]}function Yy(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[yt(o)]=r}function Qy(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0;){let u=e[o],c=Array.isArray(u),l=c?u[1]:u,d=l===null,f=n[o+1];f===Le&&(f=d?te:void 0);let p=d?zo(f,r):l===r?f:void 0;if(c&&!Fr(p)&&(p=zo(u,r)),Fr(p)&&(a=p,s))return a;let h=e[o+1];o=s?yt(h):Gt(h)}if(t!==null){let u=i?t.residualClasses:t.residualStyles;u!=null&&(a=zo(u,r))}return a}function Fr(e){return e!==void 0}function Xy(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Z(In(e)))),e}function ad(e,t){return(e.flags&(t?8:16))!==0}function AM(e,t,n){let r=I(),o=Kl(r,e,t,n);rd(Vr,td,o,!0)}var ns=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function ni(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function eD(e,t,n){let r,o,i=0,s=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;i<=s&&i<=a;){let u=e.at(i),c=t[i],l=ni(i,u,i,c,n);if(l!==0){l<0&&e.updateValue(i,c),i++;continue}let d=e.at(s),f=t[a],p=ni(s,d,a,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,a--;continue}let h=n(i,u),m=n(s,d),N=n(i,c);if(Object.is(N,m)){let x=n(a,f);Object.is(x,h)?(e.swap(i,s),e.updateValue(s,f),a--,s--):e.move(s,i),e.updateValue(i,c),i++;continue}if(r??=new Rr,o??=Fu(e,i,s,n),rs(e,r,i,N))e.updateValue(i,c),i++,s++;else if(o.has(N))r.set(h,e.detach(i)),s--;else{let x=e.create(i,t[i]);e.attach(i,x),i++,s++}}for(;i<=a;)Ou(e,r,n,i,t[i]),i++}else if(t!=null){let a=t[Symbol.iterator](),u=a.next();for(;!u.done&&i<=s;){let c=e.at(i),l=u.value,d=ni(i,c,i,l,n);if(d!==0)d<0&&e.updateValue(i,l),i++,u=a.next();else{r??=new Rr,o??=Fu(e,i,s,n);let f=n(i,l);if(rs(e,r,i,f))e.updateValue(i,l),i++,s++,u=a.next();else if(!o.has(f))e.attach(i,e.create(i,l)),i++,s++,u=a.next();else{let p=n(i,c);r.set(p,e.detach(i)),s--}}}for(;!u.done;)Ou(e,r,n,e.length,u.value),u=a.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(a=>{e.destroy(a)})}function rs(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ou(e,t,n,r,o){if(rs(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Fu(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 Rr=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function OM(e,t,n){Cn("NgControlFlow");let r=I(),o=Ye(),i=as(r,G+e),s=0;if(re(r,o,t)){let a=C(null);try{if(Pl(i,s),t!==-1){let u=us(r[w],G+t),c=pn(i,u.tView.ssrId),l=to(r,u,n,{dehydratedView:c});no(i,l,s,fn(u,c))}}finally{C(a)}}else{let a=Rl(i,s);a!==void 0&&(a[z]=n)}}var os=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-W}};var is=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function FM(e,t,n,r,o,i,s,a,u,c,l,d,f){Cn("NgControlFlow");let p=u!==void 0,h=I(),m=a?s.bind(h[le][z]):s,N=new is(p,m);h[G+e]=N,Ji(e+1,t,n,r,o,i),p&&Ji(e+2,u,c,l,d,f)}var ss=class extends ns{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-W}at(t){return this.getLView(t)[z].$implicit}attach(t,n){let r=n[Vt];this.needsIndexUpdate||=t!==this.length,no(this.lContainer,n,t,fn(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,tD(this.lContainer,t)}create(t,n){let r=pn(this.lContainer,this.templateTNode.tView.ssrId);return to(this.hostLView,this.templateTNode,new os(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Qr(t[w],t)}updateValue(t,n){this.getLView(t)[z].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t(zr(!0),fl(r,o,Eh()));function sD(e,t,n,r,o){let i=t.consts,s=Ht(i,r),a=qt(t,e,8,"ng-container",s);s!==null&&Tr(a,s,!0);let u=Ht(i,o);return Qs(t,n,a,u),t.queries!==null&&t.queries.elementStart(t,a),a}function ld(e,t,n){let r=I(),o=j(),i=e+G,s=o.firstCreatePass?sD(i,o,r,t,n):o.data[i];Dt(s,!0);let a=uD(o,r,s,e);return r[i]=a,Gr()&&Zr(o,r,a,s),ze(a,r),Ur(s)&&(Ws(o,r,s),zs(o,s,r)),n!=null&&qs(r,s),ld}function dd(){let e=q(),t=j();return Fs()?Rs():(e=e.parent,Dt(e,!1)),t.firstCreatePass&&(Wr(t,e),xs(e)&&t.queries.elementEnd(e)),dd}function aD(e,t,n){return ld(e,t,n),dd(),aD}var uD=(e,t,n,r)=>(zr(!0),xg(t[L],""));function PM(){return I()}function cD(e,t,n){let r=I(),o=Ye();if(re(r,o,t)){let i=j(),s=wn();Xr(i,s,r,e,t,r[L],n,!0)}return cD}function lD(e,t,n){let r=I(),o=Ye();if(re(r,o,t)){let i=j(),s=wn(),a=Nc(i.data),u=mm(a,s,r);Xr(i,s,r,e,t,u,n,!0)}return lD}var ot=void 0;function dD(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var fD=["en",[["a","p"],["AM","PM"],ot],[["AM","PM"],ot,ot],[["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"]],ot,[["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"]],ot,[["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}",ot,"{1} 'at' {0}",ot],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",dD],ri={};function fe(e){let t=pD(e),n=Ru(t);if(n)return n;let r=t.split("-")[0];if(n=Ru(r),n)return n;if(r==="en")return fD;throw new M(701,!1)}function Ru(e){return e in ri||(ri[e]=ce.ng&&ce.ng.common&&ce.ng.common.locales&&ce.ng.common.locales[e]),ri[e]}var B=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}(B||{});function pD(e){return e.toLowerCase().replace(/_/g,"-")}var Pr="en-US";var hD=Pr;function gD(e){typeof e=="string"&&(hD=e.toLowerCase().replace(/_/g,"-"))}function mD(e,t,n,r){let o=I(),i=j(),s=q();return fd(i,o,o[L],s,e,t,r),mD}function yD(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;iu?a[u]:null}typeof s=="string"&&(i+=2)}return null}function fd(e,t,n,r,o,i,s){let a=Ur(r),c=e.firstCreatePass&&Ol(e),l=t[z],d=Al(t),f=!0;if(r.type&3||s){let m=de(r,t),N=s?s(m):m,x=d.length,ae=s?Se=>s(Me(Se[r.index])):r.index,J=null;if(!s&&a&&(J=yD(e,t,o,r.index)),J!==null){let Se=J.__ngLastListenerFn__||J;Se.__ngNextListenerFn__=i,J.__ngLastListenerFn__=i,f=!1}else{i=ku(r,t,l,i,!1);let Se=n.listen(N,o,i);d.push(i,Se),c&&c.push(o,ae,x,x+1)}}else i=ku(r,t,l,i,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[o])){let m=h.length;if(m)for(let N=0;N-1?qe(e.index,t):t;Js(a);let u=Pu(t,n,r,s),c=i.__ngNextListenerFn__;for(;c;)u=Pu(t,n,c,s)&&u,c=c.__ngNextListenerFn__;return o&&u===!1&&s.preventDefault(),u}}function kM(e=1){return wh(e)}function DD(e,t){let n=null,r=bp(e);for(let o=0;o=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function UM(e){let t=hh();return Ns(t,G+e)}function GM(e,t=""){let n=I(),r=j(),o=e+G,i=r.firstCreatePass?qt(r,o,1,t,null):r.data[o],s=wD(r,n,i,t,e);n[o]=s,Gr()&&Zr(r,n,s,i),Dt(i,!1)}var wD=(e,t,n,r,o)=>(zr(!0),_g(t[L],r));function ID(e){return pd("",e,""),ID}function pd(e,t,n){let r=I(),o=Kl(r,e,t,n);return o!==Le&&ym(r,Qe(),o),pd}function ED(e,t,n){Yl(t)&&(t=t());let r=I(),o=Ye();if(re(r,o,t)){let i=j(),s=wn();Xr(i,s,r,e,t,r[L],n,!1)}return ED}function zM(e,t){let n=Yl(e);return n&&e.set(t),n}function CD(e,t){let n=I(),r=j(),o=q();return fd(r,n,n[L],o,e,t),CD}function bD(e,t,n){let r=j();if(r.firstCreatePass){let o=Fe(e);cs(n,r.data,r.blueprint,o,!0),cs(t,r.data,r.blueprint,o,!1)}}function cs(e,t,n,r,o){if(e=Q(e),Array.isArray(e))for(let i=0;i>20;if(jt(e)||!e.multi){let p=new pt(c,o,oe),h=ii(u,t,o?l:l+f,d);h===-1?(vi(br(a,s),i,u),oi(i,e,t.length),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(p),s.push(p)):(n[h]=p,s[h]=p)}else{let p=ii(u,t,l+f,d),h=ii(u,t,l,l+f),m=p>=0&&n[p],N=h>=0&&n[h];if(o&&!N||!o&&!m){vi(br(a,s),i,u);let x=xD(o?MD:_D,n.length,o,r,c);!o&&N&&(n[h].providerFactory=x),oi(i,e,t.length,0),t.push(u),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(x),s.push(x)}else{let x=hd(n[o?h:p],c,!o&&r);oi(i,e,p>-1?p:h,x)}!o&&r&&N&&n[h].componentProviders++}}}function oi(e,t,n,r){let o=jt(t),i=Bp(t);if(o||i){let u=(i?Q(t.useClass):t).prototype.ngOnDestroy;if(u){let c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=c.indexOf(n);l===-1?c.push(n,[r,u]):c[l+1].push(r,u)}else c.push(n,u)}}}function hd(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ii(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>bD(r,o?o(e):e,t)}}var SD=(()=>{let t=class t{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let o=lc(!1,r.type),i=o.length>0?by([o],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,i)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};t.\u0275prov=V({token:t,providedIn:"environment",factory:()=>new t(ne(Ge))});let e=t;return e})();function qM(e){Cn("NgStandalone"),e.getStandaloneInjector=t=>t.get(SD).getOrCreateStandaloneInjector(e)}function gd(e,t){let n=e[t];return n===Le?void 0:n}function TD(e,t,n,r,o,i){let s=t+n;return re(e,s,o)?Zl(e,s+1,i?r.call(i,o):r(o)):gd(e,s+1)}function ND(e,t,n,r,o,i,s,a){let u=t+n;return Sy(e,u,o,i,s)?Zl(e,u+3,a?r.call(a,o,i,s):r(o,i,s)):gd(e,u+3)}function YM(e,t){let n=j(),r,o=e+G;n.firstCreatePass?(r=AD(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=ut(r.type,!0)),s,a=ee(oe);try{let u=Cr(!1),c=i();return Cr(u),vD(n,I(),o,c),c}finally{ee(a)}}function AD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function QM(e,t,n){let r=e+G,o=I(),i=Ns(o,r);return md(o,r)?TD(o,Sc(),t,i.transform,n,i):i.transform(n)}function ZM(e,t,n,r,o){let i=e+G,s=I(),a=Ns(s,i);return md(s,i)?ND(s,Sc(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function md(e,t){return e[w].data[t].pure}function KM(e,t){return ro(e,t)}var JM=(()=>{let t=class t{log(r){console.log(r)}warn(r){console.warn(r)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"platform"});let e=t;return e})();var OD=new R("");function io(e){return!!e&&typeof e.then=="function"}function ra(e){return!!e&&typeof e.subscribe=="function"}var FD=new R(""),yd=(()=>{let t=class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o}),this.appInits=k(FD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let i of this.appInits){let s=i();if(io(s))r.push(s);else if(ra(s)){let a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});r.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{o()}).catch(i=>{this.reject(i)}),r.length===0&&o(),this.initialized=!0}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})(),RD=new R("");function PD(){va(()=>{throw new M(600,!1)})}function kD(e){return e.isBoundToModule}function LD(e,t,n){try{let r=n();return io(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Dd=(()=>{let t=class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=k(Qc),this.afterRenderEffectManager=k(Hl),this.externalTestViews=new Set,this.beforeRender=new ue,this.afterTick=new ue,this.componentTypes=[],this.components=[],this.isStable=k(na).hasPendingTasks.pipe(Ne(r=>!r)),this._injector=k(Ge)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,o){let i=r instanceof Sr;if(!this._injector.get(yd).done){let p=!i&&Fp(r),h=!1;throw new M(405,h)}let a;i?a=r:a=this._injector.get(oo).resolveComponentFactory(r),this.componentTypes.push(a.componentType);let u=kD(a)?void 0:this._injector.get(We),c=o||a.selector,l=a.create(qr.NULL,[],c,u),d=l.location.nativeElement,f=l.injector.get(OD,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),si(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(r){if(this._runningTick)throw new M(101,!1);let o=C(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(r)}catch(i){this.internalErrorHandler(i)}finally{this.afterTick.next(),this._runningTick=!1,C(o)}}detectChangesInAttachedViews(r){let o=0,i=this.afterRenderEffectManager;for(;;){if(o===Ll)throw new M(103,!1);if(r){let s=o===0;this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:u}of this._views)jD(a,s,u)}if(o++,i.executeInternalCallbacks(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>ds(s))&&(i.execute(),![...this.externalTestViews.keys(),...this._views].some(({_lView:s})=>ds(s))))break}}attachView(r){let o=r;this._views.push(o),o.attachToAppRef(this)}detachView(r){let o=r;si(this._views,o),o.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let o=this._injector.get(RD,[]);[...this._bootstrapListeners,...o].forEach(i=>i(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>si(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new M(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function si(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function jD(e,t,n){!t&&!ds(e)||VD(e,n,t)}function ds(e){return Os(e)}function VD(e,t,n){let r;n?(r=0,e[y]|=1024):e[y]&64?r=0:r=1,jl(e,t,r)}var fs=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},XM=(()=>{let t=class t{compileModuleSync(r){return new Ki(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let o=this.compileModuleSync(r),i=ac(r),s=dl(i.declarations).reduce((a,u)=>{let c=ct(u);return c&&a.push(new hn(c)),a},[]);return new fs(o,s)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var BD=(()=>{let t=class t{constructor(){this.zone=k(ve),this.applicationRef=k(Dd)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function $D(e){return[{provide:ve,useFactory:e},{provide:Dr,multi:!0,useFactory:()=>{let t=k(BD,{optional:!0});return()=>t.initialize()}},{provide:Dr,multi:!0,useFactory:()=>{let t=k(zD);return()=>{t.initialize()}}},{provide:Qc,useFactory:HD}]}function HD(){let e=k(ve),t=k(gt);return n=>e.runOutsideAngular(()=>t.handleError(n))}function UD(e){let t=$D(()=>new ve(GD(e)));return Pp([[],t])}function GD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var zD=(()=>{let t=class t{constructor(){this.subscription=new H,this.initialized=!1,this.zone=k(ve),this.pendingTasks=k(na)}initialize(){if(this.initialized)return;this.initialized=!0;let r=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(r=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ve.assertNotInAngularZone(),queueMicrotask(()=>{r!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(r),r=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ve.assertInAngularZone(),r??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();function WD(){return typeof $localize<"u"&&$localize.locale||Pr}var so=new R("",{providedIn:"root",factory:()=>k(so,_.Optional|_.SkipSelf)||WD()});var vd=new R("");var hr=null;function qD(e=[],t){return qr.create({name:t,providers:[{provide:pc,useValue:"platform"},{provide:vd,useValue:new Set([()=>hr=null])},...e]})}function YD(e=[]){if(hr)return hr;let t=qD(e);return hr=t,PD(),QD(t),t}function QD(e){e.get(Yh,null)?.forEach(n=>n())}var ao=(()=>{let t=class t{};t.__NG_ELEMENT_ID__=ZD;let e=t;return e})();function ZD(e){return KD(q(),I(),(e&16)===16)}function KD(e,t,n){if(Hr(e)&&!n){let r=qe(e.index,t);return new mt(r,r)}else if(e.type&47){let r=t[le];return new mt(r,t)}return null}var ps=class{constructor(){}supports(t){return Ql(t)}create(t){return new hs(t)}},JD=(e,t)=>t,hs=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||JD}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new gs(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new kr),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new kr),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},gs=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},ms=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},kr=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new ms,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Lu(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r{let t=class t{constructor(r){this.factories=r}static create(r,o){if(o!=null){let i=o.factories.slice();r=r.concat(i)}return new t(r)}static extend(r){return{provide:t,useFactory:o=>t.create(r,o||ju()),deps:[[t,new fp,new dp]]}}find(r){let o=this.factories.find(i=>i.supports(r));if(o!=null)return o;throw new M(901,!1)}};t.\u0275prov=V({token:t,providedIn:"root",factory:ju});let e=t;return e})();function ex(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=YD(r),i=[UD(),...n||[]],a=new Or({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,u=a.get(ve);return u.run(()=>{a.resolveInjectorInitializers();let c=a.get(gt,null),l;u.runOutsideAngular(()=>{l=u.onError.subscribe({next:p=>{c.handleError(p)}})});let d=()=>a.destroy(),f=o.get(vd);return f.add(d),a.onDestroy(()=>{l.unsubscribe(),f.delete(d)}),LD(c,u,()=>{let p=a.get(yd);return p.runInitializers(),p.donePromise.then(()=>{let h=a.get(so,Pr);gD(h||Pr);let m=a.get(Dd);return t!==void 0&&m.bootstrap(t),m})})})}catch(t){return Promise.reject(t)}}function XD(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function ev(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function oa(e){let t=C(null);try{return e()}finally{C(t)}}var tv=new R("",{providedIn:"root",factory:()=>k(nv)}),nv=(()=>{let t=class t{};t.\u0275prov=V({token:t,providedIn:"root",factory:()=>new ys});let e=t;return e})(),ys=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=k(na),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},Ds=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=wa(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(gt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function rv(e,t){Cn("NgSignals"),!t?.injector&&qp(rv);let n=t?.injector??k(qr),r=t?.manualCleanup!==!0?n.get(Vs):null,o=new Ds(n.get(tv),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(ao,null,{optional:!0});return!i||!(i._lView[y]&8)?o.watcher.notify():(i._lView[cr]??=[]).push(o.watcher.notify),o}var Sd=null;function ia(){return Sd}function Ix(e){Sd??=e}var Id=class{};var Td=new R(""),Nd=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:()=>k(iv),providedIn:"platform"});let e=t;return e})();var iv=(()=>{let t=class t extends Nd{constructor(){super(),this._doc=k(Td),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ia().getBaseHref(this._doc)}onPopState(r){let o=ia().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",r,!1),()=>o.removeEventListener("popstate",r)}onHashChange(r){let o=ia().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",r,!1),()=>o.removeEventListener("hashchange",r)}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(r){this._location.pathname=r}pushState(r,o,i){this._history.pushState(r,o,i)}replaceState(r,o,i){this._history.replaceState(r,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:()=>new t,providedIn:"platform"});let e=t;return e})();function Ad(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Ed(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function wt(e){return e&&e[0]!=="?"?"?"+e:e}var pa=(()=>{let t=class t{historyGo(r){throw new Error("")}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=V({token:t,factory:()=>k(av),providedIn:"root"});let e=t;return e})(),sv=new R(""),av=(()=>{let t=class t extends pa{constructor(r,o){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??k(Td).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return Ad(this._baseHref,r)}path(r=!1){let o=this._platformLocation.pathname+wt(this._platformLocation.search),i=this._platformLocation.hash;return i&&r?`${o}${i}`:o}pushState(r,o,i,s){let a=this.prepareExternalUrl(i+wt(s));this._platformLocation.pushState(r,o,a)}replaceState(r,o,i,s){let a=this.prepareExternalUrl(i+wt(s));this._platformLocation.replaceState(r,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};t.\u0275fac=function(o){return new(o||t)(ne(Nd),ne(sv,8))},t.\u0275prov=V({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var uv=(()=>{let t=class t{constructor(r){this._subject=new it,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let o=this._locationStrategy.getBaseHref();this._basePath=dv(Ed(Cd(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,o=""){return this.path()==this.normalize(r+wt(o))}normalize(r){return t.stripTrailingSlash(lv(this._basePath,Cd(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,o="",i=null){this._locationStrategy.pushState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+wt(o)),i)}replaceState(r,o="",i=null){this._locationStrategy.replaceState(i,"",r,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+wt(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",o){this._urlChangeListeners.forEach(i=>i(r,o))}subscribe(r,o,i){return this._subject.subscribe({next:r,error:o,complete:i})}};t.normalizeQueryParams=wt,t.joinWithSlash=Ad,t.stripTrailingSlash=Ed,t.\u0275fac=function(o){return new(o||t)(ne(pa))},t.\u0275prov=V({token:t,factory:()=>cv(),providedIn:"root"});let e=t;return e})();function cv(){return new uv(ne(pa))}function lv(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function Cd(e){return e.replace(/\/index.html$/,"")}function dv(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var K=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(K||{}),F=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(F||{}),se=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(se||{}),Ze={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 fv(e){return fe(e)[B.LocaleId]}function pv(e,t,n){let r=fe(e),o=[r[B.DayPeriodsFormat],r[B.DayPeriodsStandalone]],i=pe(o,t);return pe(i,n)}function hv(e,t,n){let r=fe(e),o=[r[B.DaysFormat],r[B.DaysStandalone]],i=pe(o,t);return pe(i,n)}function gv(e,t,n){let r=fe(e),o=[r[B.MonthsFormat],r[B.MonthsStandalone]],i=pe(o,t);return pe(i,n)}function mv(e,t){let r=fe(e)[B.Eras];return pe(r,t)}function uo(e,t){let n=fe(e);return pe(n[B.DateFormat],t)}function co(e,t){let n=fe(e);return pe(n[B.TimeFormat],t)}function lo(e,t){let r=fe(e)[B.DateTimeFormat];return pe(r,t)}function Do(e,t){let n=fe(e),r=n[B.NumberSymbols][t];if(typeof r>"u"){if(t===Ze.CurrencyDecimal)return n[B.NumberSymbols][Ze.Decimal];if(t===Ze.CurrencyGroup)return n[B.NumberSymbols][Ze.Group]}return r}function Od(e){if(!e[B.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[B.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function yv(e){let t=fe(e);return Od(t),(t[B.ExtraData][2]||[]).map(r=>typeof r=="string"?sa(r):[sa(r[0]),sa(r[1])])}function Dv(e,t,n){let r=fe(e);Od(r);let o=[r[B.ExtraData][0],r[B.ExtraData][1]],i=pe(o,t)||[];return pe(i,n)||[]}function pe(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function sa(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var vv=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,fo={},wv=/((?:[^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]*)/,Ve=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(Ve||{}),T=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(T||{}),S=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(S||{});function Iv(e,t,n,r){let o=Nv(e);t=je(n,t)||t;let s=[],a;for(;t;)if(a=wv.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let u=o.getTimezoneOffset();r&&(u=Rd(r,u),o=Tv(o,r,!0));let c="";return s.forEach(l=>{let d=xv(l);c+=d?d(o,n,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function yo(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function je(e,t){let n=fv(e);if(fo[n]??={},fo[n][t])return fo[n][t];let r="";switch(t){case"shortDate":r=uo(e,se.Short);break;case"mediumDate":r=uo(e,se.Medium);break;case"longDate":r=uo(e,se.Long);break;case"fullDate":r=uo(e,se.Full);break;case"shortTime":r=co(e,se.Short);break;case"mediumTime":r=co(e,se.Medium);break;case"longTime":r=co(e,se.Long);break;case"fullTime":r=co(e,se.Full);break;case"short":let o=je(e,"shortTime"),i=je(e,"shortDate");r=po(lo(e,se.Short),[o,i]);break;case"medium":let s=je(e,"mediumTime"),a=je(e,"mediumDate");r=po(lo(e,se.Medium),[s,a]);break;case"long":let u=je(e,"longTime"),c=je(e,"longDate");r=po(lo(e,se.Long),[u,c]);break;case"full":let l=je(e,"fullTime"),d=je(e,"fullDate");r=po(lo(e,se.Full),[l,d]);break}return r&&(fo[n][t]=r),r}function po(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function Ie(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.length0||a>-n)&&(a+=n),e===T.Hours)a===0&&n===-12&&(a=12);else if(e===T.FractionalSeconds)return Ev(a,t);let u=Do(s,Ze.MinusSign);return Ie(a,t,u,r,o)}}function Cv(e,t){switch(e){case T.FullYear:return t.getFullYear();case T.Month:return t.getMonth();case T.Date:return t.getDate();case T.Hours:return t.getHours();case T.Minutes:return t.getMinutes();case T.Seconds:return t.getSeconds();case T.FractionalSeconds:return t.getMilliseconds();case T.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function P(e,t,n=K.Format,r=!1){return function(o,i){return bv(o,i,e,t,n,r)}}function bv(e,t,n,r,o,i){switch(n){case S.Months:return gv(t,o,r)[e.getMonth()];case S.Days:return hv(t,o,r)[e.getDay()];case S.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let c=yv(t),l=Dv(t,o,r),d=c.findIndex(f=>{if(Array.isArray(f)){let[p,h]=f,m=s>=p.hours&&a>=p.minutes,N=s0?Math.floor(o/60):Math.ceil(o/60);switch(e){case Ve.Short:return(o>=0?"+":"")+Ie(s,2,i)+Ie(Math.abs(o%60),2,i);case Ve.ShortGMT:return"GMT"+(o>=0?"+":"")+Ie(s,1,i);case Ve.Long:return"GMT"+(o>=0?"+":"")+Ie(s,2,i)+":"+Ie(Math.abs(o%60),2,i);case Ve.Extended:return r===0?"Z":(o>=0?"+":"")+Ie(s,2,i)+":"+Ie(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var _v=0,mo=4;function Mv(e){let t=yo(e,_v,1).getDay();return yo(e,0,1+(t<=mo?mo:mo+7)-t)}function Fd(e){let t=e.getDay(),n=t===0?-3:mo-t;return yo(e.getFullYear(),e.getMonth(),e.getDate()+n)}function aa(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=Fd(n),s=Mv(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Ie(o,e,Do(r,Ze.MinusSign))}}function go(e,t=!1){return function(n,r){let i=Fd(n).getFullYear();return Ie(i,e,Do(r,Ze.MinusSign),t)}}var ua={};function xv(e){if(ua[e])return ua[e];let t;switch(e){case"G":case"GG":case"GGG":t=P(S.Eras,F.Abbreviated);break;case"GGGG":t=P(S.Eras,F.Wide);break;case"GGGGG":t=P(S.Eras,F.Narrow);break;case"y":t=$(T.FullYear,1,0,!1,!0);break;case"yy":t=$(T.FullYear,2,0,!0,!0);break;case"yyy":t=$(T.FullYear,3,0,!1,!0);break;case"yyyy":t=$(T.FullYear,4,0,!1,!0);break;case"Y":t=go(1);break;case"YY":t=go(2,!0);break;case"YYY":t=go(3);break;case"YYYY":t=go(4);break;case"M":case"L":t=$(T.Month,1,1);break;case"MM":case"LL":t=$(T.Month,2,1);break;case"MMM":t=P(S.Months,F.Abbreviated);break;case"MMMM":t=P(S.Months,F.Wide);break;case"MMMMM":t=P(S.Months,F.Narrow);break;case"LLL":t=P(S.Months,F.Abbreviated,K.Standalone);break;case"LLLL":t=P(S.Months,F.Wide,K.Standalone);break;case"LLLLL":t=P(S.Months,F.Narrow,K.Standalone);break;case"w":t=aa(1);break;case"ww":t=aa(2);break;case"W":t=aa(1,!0);break;case"d":t=$(T.Date,1);break;case"dd":t=$(T.Date,2);break;case"c":case"cc":t=$(T.Day,1);break;case"ccc":t=P(S.Days,F.Abbreviated,K.Standalone);break;case"cccc":t=P(S.Days,F.Wide,K.Standalone);break;case"ccccc":t=P(S.Days,F.Narrow,K.Standalone);break;case"cccccc":t=P(S.Days,F.Short,K.Standalone);break;case"E":case"EE":case"EEE":t=P(S.Days,F.Abbreviated);break;case"EEEE":t=P(S.Days,F.Wide);break;case"EEEEE":t=P(S.Days,F.Narrow);break;case"EEEEEE":t=P(S.Days,F.Short);break;case"a":case"aa":case"aaa":t=P(S.DayPeriods,F.Abbreviated);break;case"aaaa":t=P(S.DayPeriods,F.Wide);break;case"aaaaa":t=P(S.DayPeriods,F.Narrow);break;case"b":case"bb":case"bbb":t=P(S.DayPeriods,F.Abbreviated,K.Standalone,!0);break;case"bbbb":t=P(S.DayPeriods,F.Wide,K.Standalone,!0);break;case"bbbbb":t=P(S.DayPeriods,F.Narrow,K.Standalone,!0);break;case"B":case"BB":case"BBB":t=P(S.DayPeriods,F.Abbreviated,K.Format,!0);break;case"BBBB":t=P(S.DayPeriods,F.Wide,K.Format,!0);break;case"BBBBB":t=P(S.DayPeriods,F.Narrow,K.Format,!0);break;case"h":t=$(T.Hours,1,-12);break;case"hh":t=$(T.Hours,2,-12);break;case"H":t=$(T.Hours,1);break;case"HH":t=$(T.Hours,2);break;case"m":t=$(T.Minutes,1);break;case"mm":t=$(T.Minutes,2);break;case"s":t=$(T.Seconds,1);break;case"ss":t=$(T.Seconds,2);break;case"S":t=$(T.FractionalSeconds,1);break;case"SS":t=$(T.FractionalSeconds,2);break;case"SSS":t=$(T.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=ho(Ve.Short);break;case"ZZZZZ":t=ho(Ve.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=ho(Ve.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=ho(Ve.Long);break;default:return null}return ua[e]=t,t}function Rd(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Sv(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Tv(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=Rd(t,o);return Sv(e,r*(i-o))}function Nv(e){if(bd(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 yo(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(vv))return Av(r)}let t=new Date(e);if(!bd(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function Av(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,u=Number(e[6]||0),c=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,u,c),t}function bd(e){return e instanceof Date&&!isNaN(e.valueOf())}function Ex(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 ca=/\s+/,_d=[],Cx=(()=>{let t=class t{constructor(r,o){this._ngEl=r,this._renderer=o,this.initialClasses=_d,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(ca):_d}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(ca):r}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let o of r)this._updateState(o,!0);else if(r!=null)for(let o of Object.keys(r))this._updateState(o,!!r[o]);this._applyStateDiff()}_updateState(r,o){let i=this.stateMap.get(r);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(r,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let o=r[0],i=r[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(r,o){r=r.trim(),r.length>0&&r.split(ca).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};t.\u0275fac=function(o){return new(o||t)(oe(vt),oe(Xs))},t.\u0275dir=Br({type:t,selectors:[["","ngClass",""]],inputs:{klass:[Ue.None,"class","klass"],ngClass:"ngClass"},standalone:!0});let e=t;return e})();var bx=(()=>{let t=class t{constructor(r,o){this._viewContainer=r,this._context=new la,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){Md("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){Md("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(r,o){return!0}};t.\u0275fac=function(o){return new(o||t)(oe(Yt),oe(Ut))},t.\u0275dir=Br({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let e=t;return e})(),la=class{constructor(){this.$implicit=null,this.ngIf=null}};function Md(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${Z(t)}'.`)}var _x=(()=>{let t=class t{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(this._shouldRecreateView(r)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(r,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};t.\u0275fac=function(o){return new(o||t)(oe(Yt))},t.\u0275dir=Br({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Ss]});let e=t;return e})();function Pd(e,t){return new M(2100,!1)}var da=class{createSubscription(t,n){return oa(()=>t.subscribe({next:n,error:r=>{throw r}}))}dispose(t){oa(()=>t.unsubscribe())}},fa=class{createSubscription(t,n){return t.then(n,r=>{throw r})}dispose(t){}},Ov=new fa,Fv=new da,Mx=(()=>{let t=class t{constructor(r){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=r}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(r){if(!this._obj){if(r)try{this.markForCheckOnValueUpdate=!1,this._subscribe(r)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return r!==this._obj?(this._dispose(),this.transform(r)):this._latestValue}_subscribe(r){this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,o=>this._updateLatestValue(r,o))}_selectStrategy(r){if(io(r))return Ov;if(ra(r))return Fv;throw Pd(t,r)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(r,o){r===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};t.\u0275fac=function(o){return new(o||t)(oe(ao,16))},t.\u0275pipe=Es({name:"async",type:t,pure:!1,standalone:!0});let e=t;return e})();var Rv="mediumDate",Pv=new R(""),kv=new R(""),xx=(()=>{let t=class t{constructor(r,o,i){this.locale=r,this.defaultTimezone=o,this.defaultOptions=i}transform(r,o,i,s){if(r==null||r===""||r!==r)return null;try{let a=o??this.defaultOptions?.dateFormat??Rv,u=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Iv(r,a,s||this.locale,u)}catch(a){throw Pd(t,a.message)}}};t.\u0275fac=function(o){return new(o||t)(oe(so,16),oe(Pv,24),oe(kv,24))},t.\u0275pipe=Es({name:"date",type:t,pure:!0,standalone:!0});let e=t;return e})();var Sx=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=oc({type:t}),t.\u0275inj=Gu({});let e=t;return e})(),Lv="browser",jv="server";function Tx(e){return e===Lv}function Nx(e){return e===jv}var xd=class{};var Be=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Be||{}),Fx="*";function Rx(e,t){return{type:Be.Trigger,name:e,definitions:t,options:{}}}function Px(e,t=null){return{type:Be.Animate,styles:t,timings:e}}function kx(e,t=null){return{type:Be.Sequence,steps:e,options:t}}function Lx(e){return{type:Be.Style,styles:e,offset:null}}function jx(e,t,n){return{type:Be.State,name:e,styles:t,options:n}}function Vx(e,t,n=null){return{type:Be.Transition,expr:e,animation:t,options:n}}function Bx(e=null){return{type:Be.AnimateChild,options:e}}function $x(e,t,n=null){return{type:Be.Query,selector:e,animation:t,options:n}}var kd=class{constructor(t=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(t),this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Ld=class{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let n=0,r=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++n==i&&this._onFinish()}),s.onDestroy(()=>{++r==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){let n=t*this.totalTime;this.players.forEach(r=>{let o=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(o)})}getPosition(){let t=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return t!=null?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){let n=t=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},Hx="!";export{Ct as a,bt as b,Vv as c,H as d,Xd as e,b as f,ko as g,Lo as h,ue as i,Zt as j,et as k,Ce as l,lf as m,df as n,ff as o,nt as p,Ne as q,wf as r,Ae as s,er as t,Ef as u,Cf as v,Vo as w,Nf as x,rt as y,Af as z,Bo as A,Of as B,Ff as C,en as D,$o as E,Rf as F,Pf as G,Qa as H,Za as I,Ho as J,jf as K,Vf as L,Go as M,Bf as N,$f as O,Hf as P,Uf as Q,Ka as R,Gf as S,Ja as T,M as U,Hu as V,V as W,Gu as X,sM as Y,R as Z,_,ne as $,k as aa,rn as ba,Ue as ca,aM as da,oc as ea,Br as fa,Es as ga,Pp as ha,pc as ia,Ge as ja,uM as ka,Ss as la,cM as ma,lM as na,dM as oa,fM as pa,pM as qa,Lh as ra,qr as sa,gt as ta,vt as ua,it as va,Ci as wa,hM as xa,gM as ya,Yh as za,Qh as Aa,mM as Ba,yM as Ca,In as Da,rl as Ea,DM as Fa,vM as Ga,wM as Ha,IM as Ia,EM as Ja,ol as Ka,Dg as La,$s as Ma,CM as Na,bM as Oa,_r as Pa,_M as Qa,oe as Ra,MM as Sa,Ut as Ta,Li as Ua,oo as Va,Bi as Wa,Xs as Xa,Cn as Ya,ve as Za,Yt as _a,gy as $a,yy as ab,Cy as bb,Qi as cb,by as db,na as eb,Ji as fb,Fy as gb,Gy as hb,ed as ib,zy as jb,NM as kb,AM as lb,OM as mb,FM as nb,RM as ob,ud as pb,cd as qb,oD as rb,ld as sb,dd as tb,aD as ub,PM as vb,cD as wb,lD as xb,mD as yb,kM as zb,LM as Ab,jM as Bb,VM as Cb,BM as Db,$M as Eb,HM as Fb,UM as Gb,GM as Hb,ID as Ib,pd as Jb,ED as Kb,zM as Lb,CD as Mb,WM as Nb,qM as Ob,YM as Pb,QM as Qb,ZM as Rb,KM as Sb,JM as Tb,io as Ub,RD as Vb,Dd as Wb,XM as Xb,ao as Yb,wd as Zb,ex as _b,XD as $b,ev as ac,rv as bc,ia as cc,Ix as dc,Id as ec,Td as fc,uv as gc,Ex as hc,Cx as ic,bx as jc,_x as kc,Mx as lc,xx as mc,Sx as nc,Lv as oc,Tx as pc,Nx as qc,xd as rc,Be as sc,Fx as tc,Rx as uc,Px as vc,kx as wc,Lx as xc,jx as yc,Vx as zc,Bx as Ac,$x as Bc,kd as Cc,Ld as Dc,Hx as Ec}; diff --git a/chunk-POP2DZ26.js b/chunk-R4B3TIJC.js similarity index 99% rename from chunk-POP2DZ26.js rename to chunk-R4B3TIJC.js index 6e42b14..651c190 100644 --- a/chunk-POP2DZ26.js +++ b/chunk-R4B3TIJC.js @@ -1 +1 @@ -import{Ac as Me,Fc as x,Gc as Ce,Hc as ue,U as E,W as gt,a as he,c as pt,vc as S,wc as B,zc as yt}from"./chunk-7H5Q5PKX.js";function _t(n){return new E(3e3,!1)}function Ht(){return new E(3100,!1)}function Yt(){return new E(3101,!1)}function Xt(n){return new E(3001,!1)}function Zt(n){return new E(3003,!1)}function Jt(n){return new E(3004,!1)}function xt(n,e){return new E(3005,!1)}function es(){return new E(3006,!1)}function ts(){return new E(3007,!1)}function ss(n,e){return new E(3008,!1)}function is(n){return new E(3002,!1)}function ns(n,e,t,s,i){return new E(3010,!1)}function rs(){return new E(3011,!1)}function as(){return new E(3012,!1)}function os(){return new E(3200,!1)}function ls(){return new E(3202,!1)}function hs(){return new E(3013,!1)}function us(n){return new E(3014,!1)}function cs(n){return new E(3015,!1)}function fs(n){return new E(3016,!1)}function ds(n){return new E(3500,!1)}function ms(n){return new E(3501,!1)}function ps(n,e){return new E(3404,!1)}function gs(n){return new E(3502,!1)}function ys(n){return new E(3503,!1)}function _s(){return new E(3300,!1)}function Es(n){return new E(3504,!1)}function Ss(n){return new E(3301,!1)}function Ts(n,e){return new E(3302,!1)}function vs(n){return new E(3303,!1)}function ws(n,e){return new E(3400,!1)}function bs(n){return new E(3401,!1)}function As(n){return new E(3402,!1)}function Ps(n,e){return new E(3505,!1)}var Ns=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function U(n){switch(n.length){case 0:return new x;case 1:return n[0];default:return new Ce(n)}}function It(n,e,t=new Map,s=new Map){let i=[],r=[],a=-1,o=null;if(e.forEach(l=>{let h=l.get("offset"),c=h==a,u=c&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case ue:g=t.get(y);break;case B:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}u.set(d,g)}),c||r.push(u),o=u,a=h}),i.length)throw gs(i);return r}function tt(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&ke(t,"start",n)));break;case"done":n.onDone(()=>s(t&&ke(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&ke(t,"destroy",n)));break}}function ke(n,e,t){let s=t.totalTime,i=!!t.disabled,r=st(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),a=n._data;return a!=null&&(r._data=a),r}function st(n,e,t,s,i="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!a}}function L(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function Et(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ms=typeof document>"u"?null:document.documentElement;function it(n){let e=n.parentNode||n.host||null;return e===Ms?null:e}function Cs(n){return n.substring(1,6)=="ebkit"}var H=null,St=!1;function ks(n){H||(H=Ds()||{},St=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Cs(n)&&(e=n in H.style,!e&&St&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in H.style)),e}function Ai(n){return Ns.has(n)}function Ds(){return typeof document<"u"?document.body:null}function zt(n,e){for(;e;){if(e===n)return!0;e=it(e)}return!1}function Kt(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var qt=(()=>{let e=class e{validateStyleProperty(s){return ks(s)}matchesElement(s,i){return!1}containsElement(s,i){return zt(s,i)}getParentElement(s){return it(s)}query(s,i,r){return Kt(s,i,r)}computeStyle(s,i,r){return r||""}animate(s,i,r,a,o,l=[],h){return new x(r,a)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac});let n=e;return n})(),ut=class ut{};ut.NOOP=new qt;var Tt=ut,Ie=class{},ze=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},Rs=1e3,Bt="{{",Os="}}",nt="ng-enter",ge="ng-leave",ce="ng-trigger",ye=".ng-trigger",vt="ng-animating",Ke=".ng-animating";function $(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:qe(parseFloat(e[1]),e[2])}function qe(n,e){switch(e){case"s":return n*Rs;default:return n}}function _e(n,e,t){return n.hasOwnProperty("duration")?n:Ls(n,e,t)}function Ls(n,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,a="";if(typeof n=="string"){let o=n.match(s);if(o===null)return e.push(_t(n)),{duration:0,delay:0,easing:""};i=qe(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=qe(parseFloat(l),o[4]));let h=o[5];h&&(a=h)}else i=n;if(!t){let o=!1,l=e.length;i<0&&(e.push(Ht()),o=!0),r<0&&(e.push(Yt()),o=!0),o&&e.splice(l,0,_t(n))}return{duration:i,delay:r,easing:a}}function Fs(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function wt(n){return Array.isArray(n)?new Map(...n):new Map(n)}function Q(n,e,t){e.forEach((s,i)=>{let r=rt(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function X(n,e){e.forEach((t,s)=>{let i=rt(s);n.style[i]=""})}function ie(n){return Array.isArray(n)?n.length==1?n[0]:yt(n):n}function Is(n,e,t){let s=e.params||{},i=Qt(n);i.length&&i.forEach(r=>{s.hasOwnProperty(r)||t.push(Xt(r))})}var Be=new RegExp(`${Bt}\\s*(.+?)\\s*${Os}`,"g");function Qt(n){let e=[];if(typeof n=="string"){let t;for(;t=Be.exec(n);)e.push(t[1]);Be.lastIndex=0}return e}function re(n,e,t){let s=`${n}`,i=s.replace(Be,(r,a)=>{let o=e[a];return o==null&&(t.push(Zt(a)),o=""),o.toString()});return i==s?n:i}var zs=/-+([a-z0-9])/g;function rt(n){return n.replace(zs,(...e)=>e[1].toUpperCase())}function Pi(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ks(n,e){return n===0||e===0}function qs(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,a)=>{s.has(a)||i.push(a),s.set(a,r)}),i.length)for(let r=1;ra.set(o,at(n,o)))}}return e}function O(n,e,t){switch(e.type){case S.Trigger:return n.visitTrigger(e,t);case S.State:return n.visitState(e,t);case S.Transition:return n.visitTransition(e,t);case S.Sequence:return n.visitSequence(e,t);case S.Group:return n.visitGroup(e,t);case S.Animate:return n.visitAnimate(e,t);case S.Keyframes:return n.visitKeyframes(e,t);case S.Style:return n.visitStyle(e,t);case S.Reference:return n.visitReference(e,t);case S.AnimateChild:return n.visitAnimateChild(e,t);case S.AnimateRef:return n.visitAnimateRef(e,t);case S.Query:return n.visitQuery(e,t);case S.Stagger:return n.visitStagger(e,t);default:throw Jt(e.type)}}function at(n,e){return window.getComputedStyle(n)[e]}var Bs=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Qe=class extends Ie{normalizePropertyName(e,t){return rt(e)}normalizeStyleValue(e,t,s,i){let r="",a=s.toString().trim();if(Bs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(xt(e,s))}return a+r}};var Ee="*";function Qs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>$s(s,t,e)):t.push(n),t}function $s(n,e,t){if(n[0]==":"){let l=Vs(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(cs(n)),e;let i=s[1],r=s[2],a=s[3];e.push(bt(i,a));let o=i==Ee&&a==Ee;r[0]=="<"&&!o&&e.push(bt(a,i))}function Vs(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var fe=new Set(["true","1"]),de=new Set(["false","0"]);function bt(n,e){let t=fe.has(n)||de.has(n),s=fe.has(e)||de.has(e);return(i,r)=>{let a=n==Ee||n==i,o=e==Ee||e==r;return!a&&t&&typeof i=="boolean"&&(a=i?fe.has(n):de.has(n)),!o&&s&&typeof r=="boolean"&&(o=r?fe.has(e):de.has(e)),a&&o}}var $t=":self",Us=new RegExp(`s*${$t}s*,?`,"g");function ot(n,e,t,s){return new $e(n).build(e,t,s)}var At="",$e=class{constructor(e){this._driver=e}build(e,t,s){let i=new Ve(t);return this._resetContextStyleTimingState(i),O(this,ie(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=At,e.collectedStyles=new Map,e.collectedStyles.set(At,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(es()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==S.State){let l=o,h=l.name;h.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=h}else if(o.type==S.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(ts())}),{type:S.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=i||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Qt(l).forEach(h=>{a.hasOwnProperty(h)||r.add(h)})})}),r.size&&t.errors.push(ss(e.name,[...r.values()]))}return{type:S.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,ie(e.animation),t),i=Qs(e.expr,t.errors);return{type:S.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:S.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:S.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=Hs(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Me({});if(r.type==S.Keyframes)i=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let h={};s.easing&&(h.easing=s.easing),a=Me(h)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:S.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===B?s.push(o):t.errors.push(is(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(Bt)>=0){r=!0;break}}}),{type:S.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let h=t.collectedStyles.get(t.currentQuerySelector),c=h.get(l),u=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(ns(l,c.startTime,c.endTime,r,i)),u=!1),r=c.startTime),u&&h.set(l,{startTime:r,endTime:i}),t.options&&Is(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:S.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(rs()),s;let i=1,r=0,a=[],o=!1,l=!1,h=0,c=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:Gs(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:S.Reference,animation:O(this,ie(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:S.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:S.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=js(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,ie(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:S.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(hs());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:_e(e.timings,t.errors,!0);return{type:S.Stagger,animation:O(this,ie(e.animation),t),timings:s,options:null}}};function js(n){let e=!!n.split(/\s*,\s*/).find(t=>t==$t);return e&&(n=n.replace(Us,"")),n=n.replace(/@\*/g,ye).replace(/@\w+/g,t=>ye+"-"+t.slice(1)).replace(/:animating/g,Ke),[n,e]}function Ws(n){return n?he({},n):null}var Ve=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function Gs(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Hs(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=_e(n,e).duration;return De(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=De(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=_e(t,e);return De(i.duration,i.delay,i.easing)}function Y(n){return n?(n=he({},n),n.params&&(n.params=Ws(n.params))):n={},n}function De(n,e,t){return{duration:n,delay:e,easing:t}}function lt(n,e,t,s,i,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}var se=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ys=1,Xs=":enter",Zs=new RegExp(Xs,"g"),Js=":leave",xs=new RegExp(Js,"g");function ht(n,e,t,s,i,r=new Map,a=new Map,o,l,h=[]){return new Ue().buildKeyframes(n,e,t,s,i,r,a,o,l,h)}var Ue=class{buildKeyframes(e,t,s,i,r,a,o,l,h,c=[]){h=h||new se;let u=new je(e,t,h,i,r,c,[]);u.options=l;let _=l.delay?$(l.delay):0;u.currentTimeline.delayNextStep(_),u.currentTimeline.setStyles([a],null,u.errors,l),O(this,s,u);let y=u.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,u.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[lt(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let a=typeof r=="number"?r:$(re(r,i?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let h=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,h.duration+h.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==S.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Se);let a=$(r.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?re(s,t.params,t.errors):s;return _e(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==S.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let h=l.offset||0;o.forwardTime(h*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?$(i.delay):0;r&&(t.previousNode.type===S.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Se);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((h,c)=>{t.currentQueryIndex=c;let u=t.createSubContext(e.options,h);r&&u.delayNextStep(r),h===t.element&&(l=u.currentTimeline),O(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let _=u.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-u+(i.startTime-s.currentTimeline.startTime)}},Se={},je=class n{constructor(e,t,s,i,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Se,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Te(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=$(s.duration)),s.delay!=null&&(i.delay=$(s.delay));let r=s.params;if(r){let a=i.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=re(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Se,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new We(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,a){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(Zs,"."+this._enterClassName),e=e.replace(xs,"."+this._leaveClassName);let l=s!=1,h=this._driver.query(this.element,e,l);s!==0&&(h=s<0?h.slice(h.length+s,h.length):h.slice(0,s)),o.push(...h)}return!r&&o.length==0&&a.push(us(t)),o}},Te=class n{constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Ys,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},a=ei(e,this._globalTimelineStyles);for(let[o,l]of a){let h=re(l,r,s);this._pendingStyles.set(o,h),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,h)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,l)=>{let h=new Map([...this._backFill,...o]);h.forEach((c,u)=>{c===ue?e.add(u):c===B&&t.add(u)}),s||h.set("offset",l/this.duration),i.push(h)});let r=[...e.values()],a=[...t.values()];if(s){let o=i[0],l=new Map(o);o.set("offset",0),l.set("offset",1),i=[o,l]}return lt(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}},We=class extends Te{constructor(e,t,s,i,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let h=new Map(e[0]);h.set("offset",Pt(o)),r.push(h);let c=e.length-1;for(let u=1;u<=c;u++){let _=new Map(e[u]),y=_.get("offset"),d=t+y*s;_.set("offset",Pt(d/a)),r.push(_)}s=a,t=0,i="",e=r}return lt(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function Pt(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function ei(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of i)t.set(r,a)}),t}function Nt(n,e,t,s,i,r,a,o,l,h,c,u,_){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:h,postStyleProps:c,totalTime:u,errors:_}}var Re={},ve=class{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return ti(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,a,o,l,h,c){let u=[],_=this.ast.options&&this.ast.options.params||Re,y=o&&o.params||Re,d=this.buildStyles(s,y,u),g=l&&l.params||Re,v=this.buildStyles(i,g,u),b=new Set,A=new Map,C=new Map,N=i==="void",Z={params:Vt(g,_),delay:this.ast.options?.delay},K=c?[]:ht(e,t,this.ast.animation,r,a,d,v,Z,h,u),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),u.length?Nt(t,this._triggerName,s,i,N,d,v,[],[],A,C,k,u):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let ct=L(C,j,new Set);D.postStyleProps.forEach(W=>ct.add(W)),j!==t&&b.add(j)}),Nt(t,this._triggerName,s,i,N,d,v,K,[...b.values()],A,C,k))}};function ti(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function Vt(n,e){let t=he({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var Ge=class{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=Vt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=re(a,i,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function si(n,e,t){return new He(n,e,t)}var He=class{constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new Ge(i.style,r,s))}),Mt(this.states,"true","1"),Mt(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new ve(e,i,this.states))}),this.fallbackTransition=ii(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(a=>a.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function ii(n,e,t){let s=[(a,o)=>!0],i={type:S.Sequence,steps:[],options:null},r={type:S.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new ve(n,r,e)}function Mt(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var ni=new se,Ye=class{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let s=[],i=[],r=ot(this._driver,t,s,i);if(s.length)throw ys(s);i.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=It(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),a,o=new Map;if(r?(a=ht(this._driver,t,r,nt,ge,new Map,new Map,s,ni,i),a.forEach(c=>{let u=L(o,c.element,new Map);c.postStyleProps.forEach(_=>u.set(_,null))})):(i.push(_s()),a=[]),i.length)throw Es(i);o.forEach((c,u)=>{c.forEach((_,y)=>{c.set(y,this._driver.computeStyle(u,y,B))})});let l=a.map(c=>{let u=o.get(c.element);return this._buildPlayer(c,new Map,u)}),h=U(l);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Ss(e);return t}listen(e,t,s,i){let r=st(t,"","","");return tt(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let a=i[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Ct="ng-animate-queued",ri=".ng-animate-queued",Oe="ng-animate-disabled",ai=".ng-animate-disabled",oi="ng-star-inserted",li=".ng-star-inserted",hi=[],Ut={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ui={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",ae=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),i=s?e.value:e;if(this.value=fi(i),s){let r=e,{value:a}=r,o=pt(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},ne="void",Le=new ae(ne),Xe=class{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw Ts(s,t);if(s==null||s.length==0)throw vs(t);if(!di(s))throw ws(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:i};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ce),I(e,ce+"-"+t),o.set(t,Le)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw bs(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),a=new oe(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),h=new ae(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),o.set(t,h),l||(l=Le),!(h.value===ne)&&l.value===h.value){if(!gi(l.params,h.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(h.value,h.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,h.value,e,h.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:h,player:a,isFallbackTransition:d}),d||(I(e,Ct),a.onStart(()=>{ee(e,Ct)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ye,!0);s.forEach(i=>{if(i[z])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(a=>a.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,h)=>{if(a.set(h,l.value),this._triggers.has(h)){let c=this.trigger(e,h,ne,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let a=r.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,h=s.get(a)||Le,c=new ae(ne),u=new oe(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:h,toState:c,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===Ut)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=st(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,tt(s.player,o.phase,l,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,a=i.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Ze=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s,i){this.bodyNode=e,this.driver=t,this._normalizer=s,this.scheduler=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,a)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Xe(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=i.get(o);if(l){let h=s.indexOf(l);s.splice(h+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(me(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!me(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Oe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Oe))}removeNode(e,t,s){if(me(t)){this.scheduler?.notify();let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return me(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ye,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Ke,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=Ut,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Oe)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ai,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw As(e)}_flushAnimations(e,t){let s=new se,i=[],r=new Map,a=[],o=new Map,l=new Map,h=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ri,!0);for(let p=0;p{let p=nt+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(m))}let C=new Map,N=Rt(_,Array.from(b));N.forEach((f,m)=>{let p=ge+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let le=F.get(p.triggerName);le.value=G,F.set(p.triggerName,le)}}T.destroy();return}}let q=!u||!this.driver.containsElement(u,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}let mt=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||mt.push(M)}),w.timelines=mt,s.append(P,w.timelines);let Gt={instruction:w,player:T,element:P};a.push(Gt),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))}}),w.postStyleProps.forEach((M,G)=>{let F=h.get(G);F||h.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))})});if(K.length){let f=[];K.forEach(m=>{f.push(Ps(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>Ot(f,l,h)),J=new Map;Dt(J,this.driver,A,h,B).forEach(f=>{Ot(f,l,h)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Dt(W,this.driver,new Set(f),l,ue)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Pe=[],ft=[],dt={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),i.push(p);return}let P=dt;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===dt)Pe.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),i.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ft.push(p),c.has(m)&&i.push(p)}),ft.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?mi(this,m,P):this.processLeaveNode(m)}return v.length=0,Pe.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Pe}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ne;o.forEach(h=>{h.queued||!l&&h.triggerName!=i||a.push(h)})}}return(s||i)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||i&&i!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let h=l.element,c=h!==r,u=L(s,h,[]);this._getPreviousPlayers(h,c,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),u.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,a){let o=t.triggerName,l=t.element,h=[],c=new Set,u=new Set,_=t.timelines.map(d=>{let g=d.element;c.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=pi((s.get(g)||hi).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=It(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&i&&u.add(g),b){let k=new oe(e,o,g);k.setRealPlayer(K),h.push(k)}return K});h.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>ci(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,vt));let y=U(_);return y.onDestroy(()=>{c.forEach(d=>ee(d,vt)),Q(l,t.toStyles)}),u.forEach(d=>{L(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},oe=class{constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s,this._player=new x,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>tt(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function ci(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function fi(n){return n??null}function me(n){return n&&n.nodeType===1}function di(n){return n=="start"||n=="done"}function kt(n,e){let t=n.style.display;return n.style.display=e??"none",t}function Dt(n,e,t,s,i){let r=[];t.forEach(l=>r.push(kt(l)));let a=[];s.forEach((l,h)=>{let c=new Map;l.forEach(u=>{let _=e.computeStyle(h,u,i);c.set(u,_),(!_||_.length==0)&&(h[z]=ui,a.push(h))}),n.set(h,c)});let o=0;return t.forEach(l=>kt(l,r[o++])),a}function Rt(n,e){let t=new Map;if(n.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let h=o.parentNode;return t.has(h)?l=h:i.has(h)?l=s:l=a(h),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(n,e){n.classList?.add(e)}function ee(n,e){n.classList?.remove(e)}function mi(n,e,t){U(t).onDone(()=>n.processLeaveNode(e))}function pi(n){let e=[];return jt(n,e),e}function jt(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var we=class{constructor(e,t,s,i){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(r,a)=>{},this._transitionEngine=new Ze(e.body,t,s,i),this._timelineEngine=new Ye(e.body,t,s),this._transitionEngine.onRemovalComplete=(r,a)=>this.onRemovalComplete(r,a)}registerTrigger(e,t,s,i,r){let a=e+"-"+i,o=this._triggerCache[a];if(!o){let l=[],h=[],c=ot(this._driver,r,l,h);if(l.length)throw ps(i,l);h.length&&void 0,o=si(i,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,a]=Et(s),o=i;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[a,o]=Et(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function yi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Fe(e[0]),e.length>1&&(s=Fe(e[e.length-1]))):e instanceof Map&&(t=Fe(e)),t||s?new Je(n,t,s):null}var te=class te{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let i=te.initialStylesByElement.get(e);i||te.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(te.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}};te.initialStylesByElement=new WeakMap;var Je=te;function Fe(n){let e=null;return n.forEach((t,s)=>{_i(s)&&(e=e||new Map,e.set(s,t))}),e}function _i(n){return n==="display"||n==="position"}var be=class{constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:at(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},xe=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return zt(e,t)}getParentElement(e){return it(e)}query(e,t,s){return Kt(e,t,s)}computeStyle(e,t,s){return at(e,t)}animate(e,t,s,i,r,a=[]){let o=i==0?"both":"forwards",l={duration:s,delay:i,fill:o};r&&(l.easing=r);let h=new Map,c=a.filter(y=>y instanceof be);Ks(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>h.set(g,d))});let u=Fs(t).map(y=>new Map(y));u=qs(e,u,h);let _=yi(e,u);return new be(e,u,l,_)}};function Ni(n,e,t){return n==="noop"?new we(e,new qt,new ze,t):new we(e,new xe,new Qe,t)}var Lt=class{constructor(e,t){this._driver=e;let s=[],i=[],r=ot(e,t,s,i);if(s.length)throw ds(s);i.length&&void 0,this._animationAst=r}buildTimelines(e,t,s,i,r){let a=Array.isArray(t)?wt(t):t,o=Array.isArray(s)?wt(s):s,l=[];r=r||new se;let h=ht(this._driver,e,this._animationAst,nt,ge,a,o,i,r,l);if(l.length)throw ms(l);return h}},pe="@",Wt="@.disabled",Ae=class{constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==pe&&t==Wt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},et=class extends Ae{constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==pe?t.charAt(1)=="."&&t==Wt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==pe){let i=Ei(e),r=t.slice(1),a="";return r.charAt(0)!=pe&&([r,a]=Si(r)),this.engine.listen(this.namespaceId,i,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function Ei(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Si(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var Ft=class{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,r)=>{let a=r?.parentNode(i);a&&r.removeChild(a,i)}}createRenderer(e,t){let s="",i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let h=this._rendererCache,c=h.get(i);if(!c){let u=()=>h.delete(i);c=new Ae(s,i,this.engine,u),h.set(i,c)}return c}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=h=>{Array.isArray(h)?h.forEach(o):this.engine.registerTrigger(r,a,e,h.name,h)};return t.data.animation.forEach(o),new et(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};export{Tt as AnimationDriver,qt as NoopAnimationDriver,Lt as \u0275Animation,we as \u0275AnimationEngine,et as \u0275AnimationRenderer,Ft as \u0275AnimationRendererFactory,Ie as \u0275AnimationStyleNormalizer,Ae as \u0275BaseAnimationRenderer,ze as \u0275NoopAnimationStyleNormalizer,xe as \u0275WebAnimationsDriver,be as \u0275WebAnimationsPlayer,Qe as \u0275WebAnimationsStyleNormalizer,Ks as \u0275allowPreviousPlayerStylesMerge,Pi as \u0275camelCaseToDashCase,zt as \u0275containsElement,Ni as \u0275createEngine,it as \u0275getParentElement,Kt as \u0275invokeQuery,Fs as \u0275normalizeKeyframes,ks as \u0275validateStyleProperty,Ai as \u0275validateWebAnimatableStyleProperty}; +import{Cc as x,Dc as Ce,Ec as ue,U as E,W as gt,a as he,c as pt,sc as S,tc as B,wc as yt,xc as Me}from"./chunk-J3SZN5G5.js";function _t(n){return new E(3e3,!1)}function Ht(){return new E(3100,!1)}function Yt(){return new E(3101,!1)}function Xt(n){return new E(3001,!1)}function Zt(n){return new E(3003,!1)}function Jt(n){return new E(3004,!1)}function xt(n,e){return new E(3005,!1)}function es(){return new E(3006,!1)}function ts(){return new E(3007,!1)}function ss(n,e){return new E(3008,!1)}function is(n){return new E(3002,!1)}function ns(n,e,t,s,i){return new E(3010,!1)}function rs(){return new E(3011,!1)}function as(){return new E(3012,!1)}function os(){return new E(3200,!1)}function ls(){return new E(3202,!1)}function hs(){return new E(3013,!1)}function us(n){return new E(3014,!1)}function cs(n){return new E(3015,!1)}function fs(n){return new E(3016,!1)}function ds(n){return new E(3500,!1)}function ms(n){return new E(3501,!1)}function ps(n,e){return new E(3404,!1)}function gs(n){return new E(3502,!1)}function ys(n){return new E(3503,!1)}function _s(){return new E(3300,!1)}function Es(n){return new E(3504,!1)}function Ss(n){return new E(3301,!1)}function Ts(n,e){return new E(3302,!1)}function vs(n){return new E(3303,!1)}function ws(n,e){return new E(3400,!1)}function bs(n){return new E(3401,!1)}function As(n){return new E(3402,!1)}function Ps(n,e){return new E(3505,!1)}var Ns=new Set(["-moz-outline-radius","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius-topleft","-moz-outline-radius-topright","-ms-grid-columns","-ms-grid-rows","-webkit-line-clamp","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","accent-color","all","backdrop-filter","background","background-color","background-position","background-size","block-size","border","border-block-end","border-block-end-color","border-block-end-width","border-block-start","border-block-start-color","border-block-start-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-width","border-color","border-end-end-radius","border-end-start-radius","border-image-outset","border-image-slice","border-image-width","border-inline-end","border-inline-end-color","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-width","border-left","border-left-color","border-left-width","border-radius","border-right","border-right-color","border-right-width","border-start-end-radius","border-start-start-radius","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-width","border-width","bottom","box-shadow","caret-color","clip","clip-path","color","column-count","column-gap","column-rule","column-rule-color","column-rule-width","column-width","columns","filter","flex","flex-basis","flex-grow","flex-shrink","font","font-size","font-size-adjust","font-stretch","font-variation-settings","font-weight","gap","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","inline-size","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","left","letter-spacing","line-clamp","line-height","margin","margin-block-end","margin-block-start","margin-bottom","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","mask","mask-border","mask-position","mask-size","max-block-size","max-height","max-inline-size","max-lines","max-width","min-block-size","min-height","min-inline-size","min-width","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","outline","outline-color","outline-offset","outline-width","padding","padding-block-end","padding-block-start","padding-bottom","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","perspective","perspective-origin","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-coordinate","scroll-snap-destination","scrollbar-color","shape-image-threshold","shape-margin","shape-outside","tab-size","text-decoration","text-decoration-color","text-decoration-thickness","text-emphasis","text-emphasis-color","text-indent","text-shadow","text-underline-offset","top","transform","transform-origin","translate","vertical-align","visibility","width","word-spacing","z-index","zoom"]);function U(n){switch(n.length){case 0:return new x;case 1:return n[0];default:return new Ce(n)}}function It(n,e,t=new Map,s=new Map){let i=[],r=[],a=-1,o=null;if(e.forEach(l=>{let h=l.get("offset"),c=h==a,u=c&&o||new Map;l.forEach((_,y)=>{let d=y,g=_;if(y!=="offset")switch(d=n.normalizePropertyName(d,i),g){case ue:g=t.get(y);break;case B:g=s.get(y);break;default:g=n.normalizeStyleValue(y,d,g,i);break}u.set(d,g)}),c||r.push(u),o=u,a=h}),i.length)throw gs(i);return r}function tt(n,e,t,s){switch(e){case"start":n.onStart(()=>s(t&&ke(t,"start",n)));break;case"done":n.onDone(()=>s(t&&ke(t,"done",n)));break;case"destroy":n.onDestroy(()=>s(t&&ke(t,"destroy",n)));break}}function ke(n,e,t){let s=t.totalTime,i=!!t.disabled,r=st(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,s??n.totalTime,i),a=n._data;return a!=null&&(r._data=a),r}function st(n,e,t,s,i="",r=0,a){return{element:n,triggerName:e,fromState:t,toState:s,phaseName:i,totalTime:r,disabled:!!a}}function L(n,e,t){let s=n.get(e);return s||n.set(e,s=t),s}function Et(n){let e=n.indexOf(":"),t=n.substring(1,e),s=n.slice(e+1);return[t,s]}var Ms=typeof document>"u"?null:document.documentElement;function it(n){let e=n.parentNode||n.host||null;return e===Ms?null:e}function Cs(n){return n.substring(1,6)=="ebkit"}var H=null,St=!1;function ks(n){H||(H=Ds()||{},St=H.style?"WebkitAppearance"in H.style:!1);let e=!0;return H.style&&!Cs(n)&&(e=n in H.style,!e&&St&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in H.style)),e}function Ai(n){return Ns.has(n)}function Ds(){return typeof document<"u"?document.body:null}function zt(n,e){for(;e;){if(e===n)return!0;e=it(e)}return!1}function Kt(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let s=n.querySelector(e);return s?[s]:[]}var qt=(()=>{let e=class e{validateStyleProperty(s){return ks(s)}matchesElement(s,i){return!1}containsElement(s,i){return zt(s,i)}getParentElement(s){return it(s)}query(s,i,r){return Kt(s,i,r)}computeStyle(s,i,r){return r||""}animate(s,i,r,a,o,l=[],h){return new x(r,a)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=gt({token:e,factory:e.\u0275fac});let n=e;return n})(),ut=class ut{};ut.NOOP=new qt;var Tt=ut,Ie=class{},ze=class{normalizePropertyName(e,t){return e}normalizeStyleValue(e,t,s,i){return s}},Rs=1e3,Bt="{{",Os="}}",nt="ng-enter",ge="ng-leave",ce="ng-trigger",ye=".ng-trigger",vt="ng-animating",Ke=".ng-animating";function $(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:qe(parseFloat(e[1]),e[2])}function qe(n,e){switch(e){case"s":return n*Rs;default:return n}}function _e(n,e,t){return n.hasOwnProperty("duration")?n:Ls(n,e,t)}function Ls(n,e,t){let s=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,r=0,a="";if(typeof n=="string"){let o=n.match(s);if(o===null)return e.push(_t(n)),{duration:0,delay:0,easing:""};i=qe(parseFloat(o[1]),o[2]);let l=o[3];l!=null&&(r=qe(parseFloat(l),o[4]));let h=o[5];h&&(a=h)}else i=n;if(!t){let o=!1,l=e.length;i<0&&(e.push(Ht()),o=!0),r<0&&(e.push(Yt()),o=!0),o&&e.splice(l,0,_t(n))}return{duration:i,delay:r,easing:a}}function Fs(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function wt(n){return Array.isArray(n)?new Map(...n):new Map(n)}function Q(n,e,t){e.forEach((s,i)=>{let r=rt(i);t&&!t.has(i)&&t.set(i,n.style[r]),n.style[r]=s})}function X(n,e){e.forEach((t,s)=>{let i=rt(s);n.style[i]=""})}function ie(n){return Array.isArray(n)?n.length==1?n[0]:yt(n):n}function Is(n,e,t){let s=e.params||{},i=Qt(n);i.length&&i.forEach(r=>{s.hasOwnProperty(r)||t.push(Xt(r))})}var Be=new RegExp(`${Bt}\\s*(.+?)\\s*${Os}`,"g");function Qt(n){let e=[];if(typeof n=="string"){let t;for(;t=Be.exec(n);)e.push(t[1]);Be.lastIndex=0}return e}function re(n,e,t){let s=`${n}`,i=s.replace(Be,(r,a)=>{let o=e[a];return o==null&&(t.push(Zt(a)),o=""),o.toString()});return i==s?n:i}var zs=/-+([a-z0-9])/g;function rt(n){return n.replace(zs,(...e)=>e[1].toUpperCase())}function Pi(n){return n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ks(n,e){return n===0||e===0}function qs(n,e,t){if(t.size&&e.length){let s=e[0],i=[];if(t.forEach((r,a)=>{s.has(a)||i.push(a),s.set(a,r)}),i.length)for(let r=1;ra.set(o,at(n,o)))}}return e}function O(n,e,t){switch(e.type){case S.Trigger:return n.visitTrigger(e,t);case S.State:return n.visitState(e,t);case S.Transition:return n.visitTransition(e,t);case S.Sequence:return n.visitSequence(e,t);case S.Group:return n.visitGroup(e,t);case S.Animate:return n.visitAnimate(e,t);case S.Keyframes:return n.visitKeyframes(e,t);case S.Style:return n.visitStyle(e,t);case S.Reference:return n.visitReference(e,t);case S.AnimateChild:return n.visitAnimateChild(e,t);case S.AnimateRef:return n.visitAnimateRef(e,t);case S.Query:return n.visitQuery(e,t);case S.Stagger:return n.visitStagger(e,t);default:throw Jt(e.type)}}function at(n,e){return window.getComputedStyle(n)[e]}var Bs=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Qe=class extends Ie{normalizePropertyName(e,t){return rt(e)}normalizeStyleValue(e,t,s,i){let r="",a=s.toString().trim();if(Bs.has(t)&&s!==0&&s!=="0")if(typeof s=="number")r="px";else{let o=s.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&o[1].length==0&&i.push(xt(e,s))}return a+r}};var Ee="*";function Qs(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(s=>$s(s,t,e)):t.push(n),t}function $s(n,e,t){if(n[0]==":"){let l=Vs(n,t);if(typeof l=="function"){e.push(l);return}n=l}let s=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(s==null||s.length<4)return t.push(cs(n)),e;let i=s[1],r=s[2],a=s[3];e.push(bt(i,a));let o=i==Ee&&a==Ee;r[0]=="<"&&!o&&e.push(bt(a,i))}function Vs(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,s)=>parseFloat(s)>parseFloat(t);case":decrement":return(t,s)=>parseFloat(s) *"}}var fe=new Set(["true","1"]),de=new Set(["false","0"]);function bt(n,e){let t=fe.has(n)||de.has(n),s=fe.has(e)||de.has(e);return(i,r)=>{let a=n==Ee||n==i,o=e==Ee||e==r;return!a&&t&&typeof i=="boolean"&&(a=i?fe.has(n):de.has(n)),!o&&s&&typeof r=="boolean"&&(o=r?fe.has(e):de.has(e)),a&&o}}var $t=":self",Us=new RegExp(`s*${$t}s*,?`,"g");function ot(n,e,t,s){return new $e(n).build(e,t,s)}var At="",$e=class{constructor(e){this._driver=e}build(e,t,s){let i=new Ve(t);return this._resetContextStyleTimingState(i),O(this,ie(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=At,e.collectedStyles=new Map,e.collectedStyles.set(At,new Map),e.currentTime=0}visitTrigger(e,t){let s=t.queryCount=0,i=t.depCount=0,r=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(es()),e.definitions.forEach(o=>{if(this._resetContextStyleTimingState(t),o.type==S.State){let l=o,h=l.name;h.toString().split(/\s*,\s*/).forEach(c=>{l.name=c,r.push(this.visitState(l,t))}),l.name=h}else if(o.type==S.Transition){let l=this.visitTransition(o,t);s+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push(ts())}),{type:S.Trigger,name:e.name,states:r,transitions:a,queryCount:s,depCount:i,options:null}}visitState(e,t){let s=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(s.containsDynamicStyles){let r=new Set,a=i||{};s.styles.forEach(o=>{o instanceof Map&&o.forEach(l=>{Qt(l).forEach(h=>{a.hasOwnProperty(h)||r.add(h)})})}),r.size&&t.errors.push(ss(e.name,[...r.values()]))}return{type:S.State,name:e.name,style:s,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let s=O(this,ie(e.animation),t),i=Qs(e.expr,t.errors);return{type:S.Transition,matchers:i,animation:s,queryCount:t.queryCount,depCount:t.depCount,options:Y(e.options)}}visitSequence(e,t){return{type:S.Sequence,steps:e.steps.map(s=>O(this,s,t)),options:Y(e.options)}}visitGroup(e,t){let s=t.currentTime,i=0,r=e.steps.map(a=>{t.currentTime=s;let o=O(this,a,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:S.Group,steps:r,options:Y(e.options)}}visitAnimate(e,t){let s=Hs(e.timings,t.errors);t.currentAnimateTimings=s;let i,r=e.styles?e.styles:Me({});if(r.type==S.Keyframes)i=this.visitKeyframes(r,t);else{let a=e.styles,o=!1;if(!a){o=!0;let h={};s.easing&&(h.easing=s.easing),a=Me(h)}t.currentTime+=s.duration+s.delay;let l=this.visitStyle(a,t);l.isEmptyStep=o,i=l}return t.currentAnimateTimings=null,{type:S.Animate,timings:s,style:i,options:null}}visitStyle(e,t){let s=this._makeStyleAst(e,t);return this._validateStyleAst(s,t),s}_makeStyleAst(e,t){let s=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of i)typeof o=="string"?o===B?s.push(o):t.errors.push(is(o)):s.push(new Map(Object.entries(o)));let r=!1,a=null;return s.forEach(o=>{if(o instanceof Map&&(o.has("easing")&&(a=o.get("easing"),o.delete("easing")),!r)){for(let l of o.values())if(l.toString().indexOf(Bt)>=0){r=!0;break}}}),{type:S.Style,styles:s,easing:a,offset:e.offset,containsDynamicStyles:r,options:null}}_validateStyleAst(e,t){let s=t.currentAnimateTimings,i=t.currentTime,r=t.currentTime;s&&r>0&&(r-=s.duration+s.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((o,l)=>{let h=t.collectedStyles.get(t.currentQuerySelector),c=h.get(l),u=!0;c&&(r!=i&&r>=c.startTime&&i<=c.endTime&&(t.errors.push(ns(l,c.startTime,c.endTime,r,i)),u=!1),r=c.startTime),u&&h.set(l,{startTime:r,endTime:i}),t.options&&Is(o,t.options,t.errors)})})}visitKeyframes(e,t){let s={type:S.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(rs()),s;let i=1,r=0,a=[],o=!1,l=!1,h=0,c=e.steps.map(b=>{let A=this._makeStyleAst(b,t),C=A.offset!=null?A.offset:Gs(A.styles),N=0;return C!=null&&(r++,N=A.offset=C),l=l||N<0||N>1,o=o||N0&&r{let C=_>0?A==y?1:_*A:a[A],N=C*v;t.currentTime=d+g.delay+N,g.duration=N,this._validateStyleAst(b,t),b.offset=C,s.styles.push(b)}),s}visitReference(e,t){return{type:S.Reference,animation:O(this,ie(e.animation),t),options:Y(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:S.AnimateChild,options:Y(e.options)}}visitAnimateRef(e,t){return{type:S.AnimateRef,animation:this.visitReference(e.animation,t),options:Y(e.options)}}visitQuery(e,t){let s=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[r,a]=js(e.selector);t.currentQuerySelector=s.length?s+" "+r:r,L(t.collectedStyles,t.currentQuerySelector,new Map);let o=O(this,ie(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=s,{type:S.Query,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:o,originalSelector:e.selector,options:Y(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(hs());let s=e.timings==="full"?{duration:0,delay:0,easing:"full"}:_e(e.timings,t.errors,!0);return{type:S.Stagger,animation:O(this,ie(e.animation),t),timings:s,options:null}}};function js(n){let e=!!n.split(/\s*,\s*/).find(t=>t==$t);return e&&(n=n.replace(Us,"")),n=n.replace(/@\*/g,ye).replace(/@\w+/g,t=>ye+"-"+t.slice(1)).replace(/:animating/g,Ke),[n,e]}function Ws(n){return n?he({},n):null}var Ve=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function Gs(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let s=t;e=parseFloat(s.get("offset")),s.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Hs(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let r=_e(n,e).duration;return De(r,0,"")}let t=n;if(t.split(/\s+/).some(r=>r.charAt(0)=="{"&&r.charAt(1)=="{")){let r=De(0,0,"");return r.dynamic=!0,r.strValue=t,r}let i=_e(t,e);return De(i.duration,i.delay,i.easing)}function Y(n){return n?(n=he({},n),n.params&&(n.params=Ws(n.params))):n={},n}function De(n,e,t){return{duration:n,delay:e,easing:t}}function lt(n,e,t,s,i,r,a=null,o=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:s,duration:i,delay:r,totalTime:i+r,easing:a,subTimeline:o}}var se=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let s=this._map.get(e);s||this._map.set(e,s=[]),s.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Ys=1,Xs=":enter",Zs=new RegExp(Xs,"g"),Js=":leave",xs=new RegExp(Js,"g");function ht(n,e,t,s,i,r=new Map,a=new Map,o,l,h=[]){return new Ue().buildKeyframes(n,e,t,s,i,r,a,o,l,h)}var Ue=class{buildKeyframes(e,t,s,i,r,a,o,l,h,c=[]){h=h||new se;let u=new je(e,t,h,i,r,c,[]);u.options=l;let _=l.delay?$(l.delay):0;u.currentTimeline.delayNextStep(_),u.currentTimeline.setStyles([a],null,u.errors,l),O(this,s,u);let y=u.timelines.filter(d=>d.containsAnimation());if(y.length&&o.size){let d;for(let g=y.length-1;g>=0;g--){let v=y[g];if(v.element===t){d=v;break}}d&&!d.allowOnlyTimelineStyles()&&d.setStyles([o],null,u.errors,l)}return y.length?y.map(d=>d.buildKeyframes()):[lt(t,[],[],[],0,_,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let s=t.subInstructions.get(t.element);if(s){let i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(s,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let s=t.createSubContext(e.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,s),this.visitReference(e.animation,s),t.transformIntoNewTimeline(s.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,s){for(let i of e){let r=i?.delay;if(r){let a=typeof r=="number"?r:$(re(r,i?.params??{},t.errors));s.delayNextStep(a)}}}_visitSubInstructions(e,t,s){let r=t.currentTimeline.currentTime,a=s.duration!=null?$(s.duration):null,o=s.delay!=null?$(s.delay):null;return a!==0&&e.forEach(l=>{let h=t.appendInstructionToTimeline(l,a,o);r=Math.max(r,h.duration+h.delay)}),r}visitReference(e,t){t.updateOptions(e.options,!0),O(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let s=t.subContextCount,i=t,r=e.options;if(r&&(r.params||r.delay)&&(i=t.createSubContext(r),i.transformIntoNewTimeline(),r.delay!=null)){i.previousNode.type==S.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Se);let a=$(r.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>O(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>s&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let s=[],i=t.currentTimeline.currentTime,r=e.options&&e.options.delay?$(e.options.delay):0;e.steps.forEach(a=>{let o=t.createSubContext(e.options);r&&o.delayNextStep(r),O(this,a,o),i=Math.max(i,o.currentTimeline.currentTime),s.push(o.currentTimeline)}),s.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let s=e.strValue,i=t.params?re(s,t.params,t.errors):s;return _e(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let s=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;s.delay&&(t.incrementTime(s.delay),i.snapshotCurrentStyles());let r=e.style;r.type==S.Keyframes?this.visitKeyframes(r,t):(t.incrementTime(s.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let s=t.currentTimeline,i=t.currentAnimateTimings;!i&&s.hasCurrentStyleProperties()&&s.forwardFrame();let r=i&&i.easing||e.easing;e.isEmptyStep?s.applyEmptyStep(r):s.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let s=t.currentAnimateTimings,i=t.currentTimeline.duration,r=s.duration,o=t.createSubContext().currentTimeline;o.easing=s.easing,e.styles.forEach(l=>{let h=l.offset||0;o.forwardTime(h*r),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e}visitQuery(e,t){let s=t.currentTimeline.currentTime,i=e.options||{},r=i.delay?$(i.delay):0;r&&(t.previousNode.type===S.Style||s==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Se);let a=s,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=o.length;let l=null;o.forEach((h,c)=>{t.currentQueryIndex=c;let u=t.createSubContext(e.options,h);r&&u.delayNextStep(r),h===t.element&&(l=u.currentTimeline),O(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let _=u.currentTimeline.currentTime;a=Math.max(a,_)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let s=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":l=o-l;break;case"full":l=s.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let u=c.currentTime;O(this,e.animation,t),t.previousNode=e,s.currentStaggerTime=i.currentTime-u+(i.startTime-s.currentTimeline.startTime)}},Se={},je=class n{constructor(e,t,s,i,r,a,o,l){this._driver=e,this.element=t,this.subInstructions=s,this._enterClassName=i,this._leaveClassName=r,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Se,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Te(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let s=e,i=this.options;s.duration!=null&&(i.duration=$(s.duration)),s.delay!=null&&(i.delay=$(s.delay));let r=s.params;if(r){let a=i.params;a||(a=this.options.params={}),Object.keys(r).forEach(o=>{(!t||!a.hasOwnProperty(o))&&(a[o]=re(r[o],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let s=e.params={};Object.keys(t).forEach(i=>{s[i]=t[i]})}}return e}createSubContext(e=null,t,s){let i=t||this.element,r=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,s||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=Se,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,s){let i={duration:t??e.duration,delay:this.currentTimeline.currentTime+(s??0)+e.delay,easing:""},r=new We(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,s,i,r,a){let o=[];if(i&&o.push(this.element),e.length>0){e=e.replace(Zs,"."+this._enterClassName),e=e.replace(xs,"."+this._leaveClassName);let l=s!=1,h=this._driver.query(this.element,e,l);s!==0&&(h=s<0?h.slice(h.length+s,h.length):h.slice(0,s)),o.push(...h)}return!r&&o.length==0&&a.push(us(t)),o}},Te=class n{constructor(e,t,s,i){this._driver=e,this.element=t,this.startTime=s,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Ys,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,s]of this._globalTimelineStyles)this._backFill.set(t,s||B),this._currentKeyframe.set(t,B);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,s,i){t&&this._previousKeyframe.set("easing",t);let r=i&&i.params||{},a=ei(e,this._globalTimelineStyles);for(let[o,l]of a){let h=re(l,r,s);this._pendingStyles.set(o,h),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??B),this._updateStyle(o,h)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,s)=>{let i=this._styleSummary.get(s);(!i||t.time>i.time)&&this._updateStyle(s,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,s=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((o,l)=>{let h=new Map([...this._backFill,...o]);h.forEach((c,u)=>{c===ue?e.add(u):c===B&&t.add(u)}),s||h.set("offset",l/this.duration),i.push(h)});let r=[...e.values()],a=[...t.values()];if(s){let o=i[0],l=new Map(o);o.set("offset",0),l.set("offset",1),i=[o,l]}return lt(this.element,i,r,a,this.duration,this.startTime,this.easing,!1)}},We=class extends Te{constructor(e,t,s,i,r,a,o=!1){super(e,t,a.delay),this.keyframes=s,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=o,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:s,easing:i}=this.timings;if(this._stretchStartingKeyframe&&t){let r=[],a=s+t,o=t/a,l=new Map(e[0]);l.set("offset",0),r.push(l);let h=new Map(e[0]);h.set("offset",Pt(o)),r.push(h);let c=e.length-1;for(let u=1;u<=c;u++){let _=new Map(e[u]),y=_.get("offset"),d=t+y*s;_.set("offset",Pt(d/a)),r.push(_)}s=a,t=0,i="",e=r}return lt(this.element,e,this.preStyleProps,this.postStyleProps,s,t,i,!0)}};function Pt(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function ei(n,e){let t=new Map,s;return n.forEach(i=>{if(i==="*"){s??=e.keys();for(let r of s)t.set(r,B)}else for(let[r,a]of i)t.set(r,a)}),t}function Nt(n,e,t,s,i,r,a,o,l,h,c,u,_){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:t,fromStyles:r,toState:s,toStyles:a,timelines:o,queriedElements:l,preStyleProps:h,postStyleProps:c,totalTime:u,errors:_}}var Re={},ve=class{constructor(e,t,s){this._triggerName=e,this.ast=t,this._stateStyles=s}match(e,t,s,i){return ti(this.ast.matchers,e,t,s,i)}buildStyles(e,t,s){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(t,s):new Map}build(e,t,s,i,r,a,o,l,h,c){let u=[],_=this.ast.options&&this.ast.options.params||Re,y=o&&o.params||Re,d=this.buildStyles(s,y,u),g=l&&l.params||Re,v=this.buildStyles(i,g,u),b=new Set,A=new Map,C=new Map,N=i==="void",Z={params:Vt(g,_),delay:this.ast.options?.delay},K=c?[]:ht(e,t,this.ast.animation,r,a,d,v,Z,h,u),k=0;return K.forEach(D=>{k=Math.max(D.duration+D.delay,k)}),u.length?Nt(t,this._triggerName,s,i,N,d,v,[],[],A,C,k,u):(K.forEach(D=>{let j=D.element,J=L(A,j,new Set);D.preStyleProps.forEach(W=>J.add(W));let ct=L(C,j,new Set);D.postStyleProps.forEach(W=>ct.add(W)),j!==t&&b.add(j)}),Nt(t,this._triggerName,s,i,N,d,v,K,[...b.values()],A,C,k))}};function ti(n,e,t,s,i){return n.some(r=>r(e,t,s,i))}function Vt(n,e){let t=he({},e);return Object.entries(n).forEach(([s,i])=>{i!=null&&(t[s]=i)}),t}var Ge=class{constructor(e,t,s){this.styles=e,this.defaultParams=t,this.normalizer=s}buildStyles(e,t){let s=new Map,i=Vt(e,this.defaultParams);return this.styles.styles.forEach(r=>{typeof r!="string"&&r.forEach((a,o)=>{a&&(a=re(a,i,t));let l=this.normalizer.normalizePropertyName(o,t);a=this.normalizer.normalizeStyleValue(o,l,a,t),s.set(o,a)})}),s}};function si(n,e,t){return new He(n,e,t)}var He=class{constructor(e,t,s){this.name=e,this.ast=t,this._normalizer=s,this.transitionFactories=[],this.states=new Map,t.states.forEach(i=>{let r=i.options&&i.options.params||{};this.states.set(i.name,new Ge(i.style,r,s))}),Mt(this.states,"true","1"),Mt(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new ve(e,i,this.states))}),this.fallbackTransition=ii(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,s,i){return this.transitionFactories.find(a=>a.match(e,t,s,i))||null}matchStyles(e,t,s){return this.fallbackTransition.buildStyles(e,t,s)}};function ii(n,e,t){let s=[(a,o)=>!0],i={type:S.Sequence,steps:[],options:null},r={type:S.Transition,animation:i,matchers:s,options:null,queryCount:0,depCount:0};return new ve(n,r,e)}function Mt(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var ni=new se,Ye=class{constructor(e,t,s){this.bodyNode=e,this._driver=t,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let s=[],i=[],r=ot(this._driver,t,s,i);if(s.length)throw ys(s);i.length&&void 0,this._animations.set(e,r)}_buildPlayer(e,t,s){let i=e.element,r=It(this._normalizer,e.keyframes,t,s);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,s={}){let i=[],r=this._animations.get(e),a,o=new Map;if(r?(a=ht(this._driver,t,r,nt,ge,new Map,new Map,s,ni,i),a.forEach(c=>{let u=L(o,c.element,new Map);c.postStyleProps.forEach(_=>u.set(_,null))})):(i.push(_s()),a=[]),i.length)throw Es(i);o.forEach((c,u)=>{c.forEach((_,y)=>{c.set(y,this._driver.computeStyle(u,y,B))})});let l=a.map(c=>{let u=o.get(c.element);return this._buildPlayer(c,new Map,u)}),h=U(l);return this._playersById.set(e,h),h.onDestroy(()=>this.destroy(e)),this.players.push(h),h}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let s=this.players.indexOf(t);s>=0&&this.players.splice(s,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Ss(e);return t}listen(e,t,s,i){let r=st(t,"","","");return tt(this._getPlayer(e),s,r,i),()=>{}}command(e,t,s,i){if(s=="register"){this.register(e,i[0]);return}if(s=="create"){let a=i[0]||{};this.create(e,t,a);return}let r=this._getPlayer(e);switch(s){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Ct="ng-animate-queued",ri=".ng-animate-queued",Oe="ng-animate-disabled",ai=".ng-animate-disabled",oi="ng-star-inserted",li=".ng-star-inserted",hi=[],Ut={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ui={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},z="__ng_removed",ae=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let s=e&&e.hasOwnProperty("value"),i=s?e.value:e;if(this.value=fi(i),s){let r=e,{value:a}=r,o=pt(r,["value"]);this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let s=this.options.params;Object.keys(t).forEach(i=>{s[i]==null&&(s[i]=t[i])})}}},ne="void",Le=new ae(ne),Xe=class{constructor(e,t,s){this.id=e,this.hostElement=t,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,I(t,this._hostClassName)}listen(e,t,s,i){if(!this._triggers.has(t))throw Ts(s,t);if(s==null||s.length==0)throw vs(t);if(!di(s))throw ws(s,t);let r=L(this._elementListeners,e,[]),a={name:t,phase:s,callback:i};r.push(a);let o=L(this._engine.statesByElement,e,new Map);return o.has(t)||(I(e,ce),I(e,ce+"-"+t),o.set(t,Le)),()=>{this._engine.afterFlush(()=>{let l=r.indexOf(a);l>=0&&r.splice(l,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw bs(e);return t}trigger(e,t,s,i=!0){let r=this._getTrigger(t),a=new oe(this.id,t,e),o=this._engine.statesByElement.get(e);o||(I(e,ce),I(e,ce+"-"+t),this._engine.statesByElement.set(e,o=new Map));let l=o.get(t),h=new ae(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&l&&h.absorbOptions(l.options),o.set(t,h),l||(l=Le),!(h.value===ne)&&l.value===h.value){if(!gi(l.params,h.params)){let g=[],v=r.matchStyles(l.value,l.params,g),b=r.matchStyles(h.value,h.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{X(e,v),Q(e,b)})}return}let _=L(this._engine.playersByElement,e,[]);_.forEach(g=>{g.namespaceId==this.id&&g.triggerName==t&&g.queued&&g.destroy()});let y=r.matchTransition(l.value,h.value,e,h.params),d=!1;if(!y){if(!i)return;y=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:y,fromState:l,toState:h,player:a,isFallbackTransition:d}),d||(I(e,Ct),a.onStart(()=>{ee(e,Ct)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let v=this._engine.playersByElement.get(e);if(v){let b=v.indexOf(a);b>=0&&v.splice(b,1)}}),this.players.push(a),_.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,s)=>{this._elementListeners.set(s,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(s=>s.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let s=this._engine.driver.query(e,ye,!0);s.forEach(i=>{if(i[z])return;let r=this._engine.fetchNamespacesByElement(i);r.size?r.forEach(a=>a.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,s,i){let r=this._engine.statesByElement.get(e),a=new Map;if(r){let o=[];if(r.forEach((l,h)=>{if(a.set(h,l.value),this._triggers.has(h)){let c=this.trigger(e,h,ne,i);c&&o.push(c)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),s&&U(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),s=this._engine.statesByElement.get(e);if(t&&s){let i=new Set;t.forEach(r=>{let a=r.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,h=s.get(a)||Le,c=new ae(ne),u=new oe(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:h,toState:c,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let s=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(s.totalAnimations){let r=s.players.length?s.playersByQueriedElement.get(e):[];if(r&&r.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(s.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)s.markElementAsRemoved(this.id,e,!1,t);else{let r=e[z];(!r||r===Ut)&&(s.afterFlush(()=>this.clearElementCache(e)),s.destroyInnerAnimations(e),s._onRemovalComplete(e,t))}}insertNode(e,t){I(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(s=>{let i=s.player;if(i.destroyed)return;let r=s.element,a=this._elementListeners.get(r);a&&a.forEach(o=>{if(o.name==s.triggerName){let l=st(r,s.triggerName,s.fromState.value,s.toState.value);l._data=e,tt(s.player,o.phase,l,o.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(s)}),this._queue=[],t.sort((s,i)=>{let r=s.transition.ast.depCount,a=i.transition.ast.depCount;return r==0||a==0?r-a:this._engine.driver.containsElement(s.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Ze=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,s,i){this.bodyNode=e,this.driver=t,this._normalizer=s,this.scheduler=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,a)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(s=>{s.queued&&e.push(s)})}),e}createNamespace(e,t){let s=new Xe(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(s,t):(this.newHostElements.set(t,s),this.collectEnterElement(t)),this._namespaceLookup[e]=s}_balanceNamespaceList(e,t){let s=this._namespaceList,i=this.namespacesByHostElement;if(s.length-1>=0){let a=!1,o=this.driver.getParentElement(t);for(;o;){let l=i.get(o);if(l){let h=s.indexOf(l);s.splice(h+1,0,e),a=!0;break}o=this.driver.getParentElement(o)}a||s.unshift(e)}else s.push(e);return i.set(t,e),e}register(e,t){let s=this._namespaceLookup[e];return s||(s=this.createNamespace(e,t)),s}registerTrigger(e,t,s){let i=this._namespaceLookup[e];i&&i.register(t,s)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let s=this._fetchNamespace(e);this.namespacesByHostElement.delete(s.hostElement);let i=this._namespaceList.indexOf(s);i>=0&&this._namespaceList.splice(i,1),s.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,s=this.statesByElement.get(e);if(s){for(let i of s.values())if(i.namespaceId){let r=this._fetchNamespace(i.namespaceId);r&&t.add(r)}}return t}trigger(e,t,s,i){if(me(t)){let r=this._fetchNamespace(e);if(r)return r.trigger(t,s,i),!0}return!1}insertNode(e,t,s,i){if(!me(t))return;let r=t[z];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,s)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),I(e,Oe)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ee(e,Oe))}removeNode(e,t,s){if(me(t)){this.scheduler?.notify();let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,s):this.markElementAsRemoved(e,t,!1,s);let r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,s)}else this._onRemovalComplete(t,s)}markElementAsRemoved(e,t,s,i,r){this.collectedLeaveElements.push(t),t[z]={namespaceId:e,setForRemoval:i,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:r}}listen(e,t,s,i,r){return me(t)?this._fetchNamespace(e).listen(t,s,i,r):()=>{}}_buildInstruction(e,t,s,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,s,i,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,ye,!0);t.forEach(s=>this.destroyActiveAnimationsForElement(s)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Ke,!0),t.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return U(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[z];if(t&&t.setForRemoval){if(e[z]=Ut,t.namespaceId){this.destroyInnerAnimations(e);let s=this._fetchNamespace(t.namespaceId);s&&s.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Oe)&&this.markElementAsDisabled(e,!1),this.driver.query(e,ai,!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,i)=>this._balanceNamespaceList(s,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;ss()),this._flushFns=[],this._whenQuietFns.length){let s=this._whenQuietFns;this._whenQuietFns=[],t.length?U(t).onDone(()=>{s.forEach(i=>i())}):s.forEach(i=>i())}}reportError(e){throw As(e)}_flushAnimations(e,t){let s=new se,i=[],r=new Map,a=[],o=new Map,l=new Map,h=new Map,c=new Set;this.disabledNodes.forEach(f=>{c.add(f);let m=this.driver.query(f,ri,!0);for(let p=0;p{let p=nt+g++;d.set(m,p),f.forEach(T=>I(T,p))});let v=[],b=new Set,A=new Set;for(let f=0;fb.add(T)):A.add(m))}let C=new Map,N=Rt(_,Array.from(b));N.forEach((f,m)=>{let p=ge+g++;C.set(m,p),f.forEach(T=>I(T,p))}),e.push(()=>{y.forEach((f,m)=>{let p=d.get(m);f.forEach(T=>ee(T,p))}),N.forEach((f,m)=>{let p=C.get(m);f.forEach(T=>ee(T,p))}),v.forEach(f=>{this.processLeaveNode(f)})});let Z=[],K=[];for(let f=this._namespaceList.length-1;f>=0;f--)this._namespaceList[f].drainQueuedTransitions(t).forEach(p=>{let T=p.player,P=p.element;if(Z.push(T),this.collectedEnterElements.length){let M=P[z];if(M&&M.setForMove){if(M.previousTriggersValues&&M.previousTriggersValues.has(p.triggerName)){let G=M.previousTriggersValues.get(p.triggerName),F=this.statesByElement.get(p.element);if(F&&F.has(p.triggerName)){let le=F.get(p.triggerName);le.value=G,F.set(p.triggerName,le)}}T.destroy();return}}let q=!u||!this.driver.containsElement(u,P),R=C.get(P),V=d.get(P),w=this._buildInstruction(p,s,V,R,q);if(w.errors&&w.errors.length){K.push(w);return}if(q){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}if(p.isFallbackTransition){T.onStart(()=>X(P,w.fromStyles)),T.onDestroy(()=>Q(P,w.toStyles)),i.push(T);return}let mt=[];w.timelines.forEach(M=>{M.stretchStartingKeyframe=!0,this.disabledNodes.has(M.element)||mt.push(M)}),w.timelines=mt,s.append(P,w.timelines);let Gt={instruction:w,player:T,element:P};a.push(Gt),w.queriedElements.forEach(M=>L(o,M,[]).push(T)),w.preStyleProps.forEach((M,G)=>{if(M.size){let F=l.get(G);F||l.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))}}),w.postStyleProps.forEach((M,G)=>{let F=h.get(G);F||h.set(G,F=new Set),M.forEach((le,Ne)=>F.add(Ne))})});if(K.length){let f=[];K.forEach(m=>{f.push(Ps(m.triggerName,m.errors))}),Z.forEach(m=>m.destroy()),this.reportError(f)}let k=new Map,D=new Map;a.forEach(f=>{let m=f.element;s.has(m)&&(D.set(m,m),this._beforeAnimationBuild(f.player.namespaceId,f.instruction,k))}),i.forEach(f=>{let m=f.element;this._getPreviousPlayers(m,!1,f.namespaceId,f.triggerName,null).forEach(T=>{L(k,m,[]).push(T),T.destroy()})});let j=v.filter(f=>Ot(f,l,h)),J=new Map;Dt(J,this.driver,A,h,B).forEach(f=>{Ot(f,l,h)&&j.push(f)});let W=new Map;y.forEach((f,m)=>{Dt(W,this.driver,new Set(f),l,ue)}),j.forEach(f=>{let m=J.get(f),p=W.get(f);J.set(f,new Map([...m?.entries()??[],...p?.entries()??[]]))});let Pe=[],ft=[],dt={};a.forEach(f=>{let{element:m,player:p,instruction:T}=f;if(s.has(m)){if(c.has(m)){p.onDestroy(()=>Q(m,T.toStyles)),p.disabled=!0,p.overrideTotalTime(T.totalTime),i.push(p);return}let P=dt;if(D.size>1){let R=m,V=[];for(;R=R.parentNode;){let w=D.get(R);if(w){P=w;break}V.push(R)}V.forEach(w=>D.set(w,P))}let q=this._buildAnimation(p.namespaceId,T,k,r,W,J);if(p.setRealPlayer(q),P===dt)Pe.push(p);else{let R=this.playersByElement.get(P);R&&R.length&&(p.parentPlayer=U(R)),i.push(p)}}else X(m,T.fromStyles),p.onDestroy(()=>Q(m,T.toStyles)),ft.push(p),c.has(m)&&i.push(p)}),ft.forEach(f=>{let m=r.get(f.element);if(m&&m.length){let p=U(m);f.setRealPlayer(p)}}),i.forEach(f=>{f.parentPlayer?f.syncPlayerEvents(f.parentPlayer):f.destroy()});for(let f=0;f!q.destroyed);P.length?mi(this,m,P):this.processLeaveNode(m)}return v.length=0,Pe.forEach(f=>{this.players.push(f),f.onDone(()=>{f.destroy();let m=this.players.indexOf(f);this.players.splice(m,1)}),f.play()}),Pe}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,s,i,r){let a=[];if(t){let o=this.playersByQueriedElement.get(e);o&&(a=o)}else{let o=this.playersByElement.get(e);if(o){let l=!r||r==ne;o.forEach(h=>{h.queued||!l&&h.triggerName!=i||a.push(h)})}}return(s||i)&&(a=a.filter(o=>!(s&&s!=o.namespaceId||i&&i!=o.triggerName))),a}_beforeAnimationBuild(e,t,s){let i=t.triggerName,r=t.element,a=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let h=l.element,c=h!==r,u=L(s,h,[]);this._getPreviousPlayers(h,c,a,o,t.toState).forEach(y=>{let d=y.getRealPlayer();d.beforeDestroy&&d.beforeDestroy(),y.destroy(),u.push(y)})}X(r,t.fromStyles)}_buildAnimation(e,t,s,i,r,a){let o=t.triggerName,l=t.element,h=[],c=new Set,u=new Set,_=t.timelines.map(d=>{let g=d.element;c.add(g);let v=g[z];if(v&&v.removedBeforeQueried)return new x(d.duration,d.delay);let b=g!==l,A=pi((s.get(g)||hi).map(k=>k.getRealPlayer())).filter(k=>{let D=k;return D.element?D.element===g:!1}),C=r.get(g),N=a.get(g),Z=It(this._normalizer,d.keyframes,C,N),K=this._buildPlayer(d,Z,A);if(d.subTimeline&&i&&u.add(g),b){let k=new oe(e,o,g);k.setRealPlayer(K),h.push(k)}return K});h.forEach(d=>{L(this.playersByQueriedElement,d.element,[]).push(d),d.onDone(()=>ci(this.playersByQueriedElement,d.element,d))}),c.forEach(d=>I(d,vt));let y=U(_);return y.onDestroy(()=>{c.forEach(d=>ee(d,vt)),Q(l,t.toStyles)}),u.forEach(d=>{L(i,d,[]).push(y)}),y}_buildPlayer(e,t,s){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,s):new x(e.duration,e.delay)}},oe=class{constructor(e,t,s){this.namespaceId=e,this.triggerName=t,this.element=s,this._player=new x,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,s)=>{t.forEach(i=>tt(e,s,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){L(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function ci(n,e,t){let s=n.get(e);if(s){if(s.length){let i=s.indexOf(t);s.splice(i,1)}s.length==0&&n.delete(e)}return s}function fi(n){return n??null}function me(n){return n&&n.nodeType===1}function di(n){return n=="start"||n=="done"}function kt(n,e){let t=n.style.display;return n.style.display=e??"none",t}function Dt(n,e,t,s,i){let r=[];t.forEach(l=>r.push(kt(l)));let a=[];s.forEach((l,h)=>{let c=new Map;l.forEach(u=>{let _=e.computeStyle(h,u,i);c.set(u,_),(!_||_.length==0)&&(h[z]=ui,a.push(h))}),n.set(h,c)});let o=0;return t.forEach(l=>kt(l,r[o++])),a}function Rt(n,e){let t=new Map;if(n.forEach(o=>t.set(o,[])),e.length==0)return t;let s=1,i=new Set(e),r=new Map;function a(o){if(!o)return s;let l=r.get(o);if(l)return l;let h=o.parentNode;return t.has(h)?l=h:i.has(h)?l=s:l=a(h),r.set(o,l),l}return e.forEach(o=>{let l=a(o);l!==s&&t.get(l).push(o)}),t}function I(n,e){n.classList?.add(e)}function ee(n,e){n.classList?.remove(e)}function mi(n,e,t){U(t).onDone(()=>n.processLeaveNode(e))}function pi(n){let e=[];return jt(n,e),e}function jt(n,e){for(let t=0;ti.add(r)):e.set(n,s),t.delete(n),!0}var we=class{constructor(e,t,s,i){this._driver=t,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(r,a)=>{},this._transitionEngine=new Ze(e.body,t,s,i),this._timelineEngine=new Ye(e.body,t,s),this._transitionEngine.onRemovalComplete=(r,a)=>this.onRemovalComplete(r,a)}registerTrigger(e,t,s,i,r){let a=e+"-"+i,o=this._triggerCache[a];if(!o){let l=[],h=[],c=ot(this._driver,r,l,h);if(l.length)throw ps(i,l);h.length&&void 0,o=si(i,c,this._normalizer),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,s,i){this._transitionEngine.insertNode(e,t,s,i)}onRemove(e,t,s){this._transitionEngine.removeNode(e,t,s)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,s,i){if(s.charAt(0)=="@"){let[r,a]=Et(s),o=i;this._timelineEngine.command(r,t,a,o)}else this._transitionEngine.trigger(e,t,s,i)}listen(e,t,s,i,r){if(s.charAt(0)=="@"){let[a,o]=Et(s);return this._timelineEngine.listen(a,t,o,r)}return this._transitionEngine.listen(e,t,s,i,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function yi(n,e){let t=null,s=null;return Array.isArray(e)&&e.length?(t=Fe(e[0]),e.length>1&&(s=Fe(e[e.length-1]))):e instanceof Map&&(t=Fe(e)),t||s?new Je(n,t,s):null}var te=class te{constructor(e,t,s){this._element=e,this._startStyles=t,this._endStyles=s,this._state=0;let i=te.initialStylesByElement.get(e);i||te.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Q(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Q(this._element,this._initialStyles),this._endStyles&&(Q(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(te.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),Q(this._element,this._initialStyles),this._state=3)}};te.initialStylesByElement=new WeakMap;var Je=te;function Fe(n){let e=null;return n.forEach((t,s)=>{_i(s)&&(e=e||new Map,e.set(s,t))}),e}function _i(n){return n==="display"||n==="position"}var be=class{constructor(e,t,s,i){this.element=e,this.keyframes=t,this.options=s,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(s=>{t.push(Object.fromEntries(s))}),t}_triggerWebAnimation(e,t,s){return e.animate(this._convertKeyframesToObject(t),s)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,i)=>{i!=="offset"&&e.set(i,this._finished?s:at(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(s=>s()),t.length=0}},xe=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return zt(e,t)}getParentElement(e){return it(e)}query(e,t,s){return Kt(e,t,s)}computeStyle(e,t,s){return at(e,t)}animate(e,t,s,i,r,a=[]){let o=i==0?"both":"forwards",l={duration:s,delay:i,fill:o};r&&(l.easing=r);let h=new Map,c=a.filter(y=>y instanceof be);Ks(s,i)&&c.forEach(y=>{y.currentSnapshot.forEach((d,g)=>h.set(g,d))});let u=Fs(t).map(y=>new Map(y));u=qs(e,u,h);let _=yi(e,u);return new be(e,u,l,_)}};function Ni(n,e,t){return n==="noop"?new we(e,new qt,new ze,t):new we(e,new xe,new Qe,t)}var Lt=class{constructor(e,t){this._driver=e;let s=[],i=[],r=ot(e,t,s,i);if(s.length)throw ds(s);i.length&&void 0,this._animationAst=r}buildTimelines(e,t,s,i,r){let a=Array.isArray(t)?wt(t):t,o=Array.isArray(s)?wt(s):s,l=[];r=r||new se;let h=ht(this._driver,e,this._animationAst,nt,ge,a,o,i,r,l);if(l.length)throw ms(l);return h}},pe="@",Wt="@.disabled",Ae=class{constructor(e,t,s,i){this.namespaceId=e,this.delegate=t,this.engine=s,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,s,i=!0){this.delegate.insertBefore(e,t,s),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,s){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,s,i){this.delegate.setAttribute(e,t,s,i)}removeAttribute(e,t,s){this.delegate.removeAttribute(e,t,s)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,s,i){this.delegate.setStyle(e,t,s,i)}removeStyle(e,t,s){this.delegate.removeStyle(e,t,s)}setProperty(e,t,s){t.charAt(0)==pe&&t==Wt?this.disableAnimations(e,!!s):this.delegate.setProperty(e,t,s)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,s){return this.delegate.listen(e,t,s)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},et=class extends Ae{constructor(e,t,s,i,r){super(t,s,i,r),this.factory=e,this.namespaceId=t}setProperty(e,t,s){t.charAt(0)==pe?t.charAt(1)=="."&&t==Wt?(s=s===void 0?!0:!!s,this.disableAnimations(e,s)):this.engine.process(this.namespaceId,e,t.slice(1),s):this.delegate.setProperty(e,t,s)}listen(e,t,s){if(t.charAt(0)==pe){let i=Ei(e),r=t.slice(1),a="";return r.charAt(0)!=pe&&([r,a]=Si(r)),this.engine.listen(this.namespaceId,i,r,a,o=>{let l=o._data||-1;this.factory.scheduleListenerCallback(l,s,o)})}return this.delegate.listen(e,t,s)}};function Ei(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Si(n){let e=n.indexOf("."),t=n.substring(0,e),s=n.slice(e+1);return[t,s]}var Ft=class{constructor(e,t,s){this.delegate=e,this.engine=t,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(i,r)=>{let a=r?.parentNode(i);a&&r.removeChild(a,i)}}createRenderer(e,t){let s="",i=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let h=this._rendererCache,c=h.get(i);if(!c){let u=()=>h.delete(i);c=new Ae(s,i,this.engine,u),h.set(i,c)}return c}let r=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let o=h=>{Array.isArray(h)?h.forEach(o):this.engine.registerTrigger(r,a,e,h.name,h)};return t.data.animation.forEach(o),new et(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,s){if(e>=0&&et(s));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(r=>{let[a,o]=r;a(o)}),this._animationCallbacksBuffer=[]})}),i.push([t,s])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};export{Tt as AnimationDriver,qt as NoopAnimationDriver,Lt as \u0275Animation,we as \u0275AnimationEngine,et as \u0275AnimationRenderer,Ft as \u0275AnimationRendererFactory,Ie as \u0275AnimationStyleNormalizer,Ae as \u0275BaseAnimationRenderer,ze as \u0275NoopAnimationStyleNormalizer,xe as \u0275WebAnimationsDriver,be as \u0275WebAnimationsPlayer,Qe as \u0275WebAnimationsStyleNormalizer,Ks as \u0275allowPreviousPlayerStylesMerge,Pi as \u0275camelCaseToDashCase,zt as \u0275containsElement,Ni as \u0275createEngine,it as \u0275getParentElement,Kt as \u0275invokeQuery,Fs as \u0275normalizeKeyframes,ks as \u0275validateStyleProperty,Ai as \u0275validateWebAnimatableStyleProperty}; diff --git a/index.html b/index.html index 86024bf..46993aa 100644 --- a/index.html +++ b/index.html @@ -10,8 +10,8 @@ + - + diff --git a/main-RYQ3TX3W.js b/main-RYQ3TX3W.js deleted file mode 100644 index 792dd73..0000000 --- a/main-RYQ3TX3W.js +++ /dev/null @@ -1,32 +0,0 @@ -import{$ as R,$a as ks,$b as Ii,A as zt,Aa as ii,Ab as Je,Ac as st,B as Si,Ba as nt,Bb as pe,Bc as bt,C as Or,Ca as Ln,Cb as As,Cc as xt,D as Es,Da as Qi,Db as je,Dc as Zd,E as Ye,Ea as Ji,Eb as Xe,Ec as Kd,F as pd,Fa as Sd,Fb as ce,G as On,Ga as Td,Gb as ue,H as Vt,Ha as Dd,Hb as wt,I as di,Ia as Id,Ib as be,J as Ss,Ja as Md,Jb as $t,K as gd,Ka as kd,Kb as et,L as bd,La as Ad,Lb as Ld,M as vd,Ma as lt,Mb as jd,N as Ts,Na as Is,Nb as zd,O as Fr,Oa as Lr,Ob as Se,P as It,Pa as jn,Pb as ye,Q as ot,Qa as z,Qb as Bn,R as Me,Ra as w,Rb as kt,S as _d,Sa as zn,Sb as ci,T as Le,Ta as dt,Tb as Ur,U as Ae,Ua as Rd,Ub as ui,V as Fn,Va as en,Vb as $r,W as U,Wa as jr,Wb as Wr,X as ne,Xa as zr,Xb as Rs,Y as yd,Ya as Ms,Yb as Wt,Z as W,Za as J,Zb as Os,_ as Ds,_a as ct,_b as tt,a as F,aa as L,ab as we,ac as Vd,b as ve,ba as Pn,bb as Te,bc as le,ca as P,cb as Od,cc as Gt,d as We,da as _e,db as Fd,dc as Bd,e as hd,ea as re,eb as Vr,ec as tn,f as Jt,fa as Y,fb as ae,fc as Hd,g as xs,ga as Pr,gb as De,gc as Ud,h as An,ha as ei,hb as ee,hc as te,i as Q,ia as wd,ib as ft,ic as nn,j as Ge,ja as Ki,jb as Ce,jc as Gr,k as Lt,ka as ti,kb as ut,kc as $d,l as it,la as qe,lb as Pd,lc as Hn,m as Z,ma as Ke,mb as Ee,mc as rn,n as Ci,na as Qe,nb as Br,nc as Wd,o as Xi,oa as Ti,ob as Hr,oc as Gd,p as fd,pa as xd,pb as j,pc as Yd,q as ie,qa as Ue,qb as B,qc as ni,r as Ei,ra as Bt,rb as ge,rc as qd,s as yt,sa as Mt,sb as Ht,sc as Xd,t as Rr,ta as Di,tb as Ut,tc as Fs,u as Rn,ua as se,ub as He,uc as Yr,v as Zi,va as me,vb as gt,w as md,wa as Nn,wb as Vn,x as jt,xa as Cd,xb as Nd,xc as Yt,y as ze,ya as Nr,yb as Oe,yc as At,z as Cs,za as Ed,zb as oe}from"./chunk-7H5Q5PKX.js";var $n=class{},Xr=class{},Mi=class i{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(r=>{let t=r.indexOf(":");if(t>0){let n=r.slice(0,t),o=n.toLowerCase(),s=r.slice(t+1).trim();this.maybeSetNormalizedName(n,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,t)=>{this.setHeaderEntries(t,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,t])=>{this.setHeaderEntries(r,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof i?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new i;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof i?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let t=e.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(e.name,r);let n=(e.op==="a"?this.headers.get(r):void 0)||[];n.push(...t),this.headers.set(r,n);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let t=(Array.isArray(r)?r:[r]).map(o=>o.toString()),n=e.toLowerCase();this.headers.set(n,t),this.maybeSetNormalizedName(e,n)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Ns=class{encodeKey(e){return Qd(e)}encodeValue(e){return Qd(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Pm(i,e){let r=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(n=>{let o=n.indexOf("="),[s,a]=o==-1?[e.decodeKey(n),""]:[e.decodeKey(n.slice(0,o)),e.decodeValue(n.slice(o+1))],l=r.get(s)||[];l.push(a),r.set(s,l)}),r}var Nm=/%(\d[a-f0-9])/gi,Lm={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Qd(i){return encodeURIComponent(i).replace(Nm,(e,r)=>Lm[r]??e)}function qr(i){return`${i}`}var hi=class i{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Ns,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Pm(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let t=e.fromObject[r],n=Array.isArray(t)?t.map(qr):[qr(t)];this.map.set(r,n)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(t=>{let n=e[t];Array.isArray(n)?n.forEach(o=>{r.push({param:t,value:o,op:"a"})}):r.push({param:t,value:n,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(t=>r+"="+this.encoder.encodeValue(t)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new i({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(qr(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let t=this.map.get(e.param)||[],n=t.indexOf(qr(e.value));n!==-1&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Ls=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function jm(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Jd(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function ec(i){return typeof Blob<"u"&&i instanceof Blob}function tc(i){return typeof FormData<"u"&&i instanceof FormData}function zm(i){return typeof URLSearchParams<"u"&&i instanceof URLSearchParams}var Un=class i{constructor(e,r,t,n){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(jm(this.method)||n?(this.body=t!==void 0?t:null,o=n):o=t,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Mi,this.context??=new Ls,!this.params)this.params=new hi,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),l=a===-1?"?":ah.set(m,e.setHeaders[m]),d)),e.setParams&&(c=Object.keys(e.setParams).reduce((h,m)=>h.set(m,e.setParams[m]),c)),new i(r,t,s,{params:c,headers:d,context:u,reportProgress:l,responseType:n,withCredentials:a,transferCache:o})}},on=function(i){return i[i.Sent=0]="Sent",i[i.UploadProgress=1]="UploadProgress",i[i.ResponseHeader=2]="ResponseHeader",i[i.DownloadProgress=3]="DownloadProgress",i[i.Response=4]="Response",i[i.User=5]="User",i}(on||{}),Wn=class{constructor(e,r=Qr.Ok,t="OK"){this.headers=e.headers||new Mi,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||t,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},js=class i extends Wn{constructor(e={}){super(e),this.type=on.ResponseHeader}clone(e={}){return new i({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Zr=class i extends Wn{constructor(e={}){super(e),this.type=on.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new i({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Kr=class extends Wn{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Qr=function(i){return i[i.Continue=100]="Continue",i[i.SwitchingProtocols=101]="SwitchingProtocols",i[i.Processing=102]="Processing",i[i.EarlyHints=103]="EarlyHints",i[i.Ok=200]="Ok",i[i.Created=201]="Created",i[i.Accepted=202]="Accepted",i[i.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",i[i.NoContent=204]="NoContent",i[i.ResetContent=205]="ResetContent",i[i.PartialContent=206]="PartialContent",i[i.MultiStatus=207]="MultiStatus",i[i.AlreadyReported=208]="AlreadyReported",i[i.ImUsed=226]="ImUsed",i[i.MultipleChoices=300]="MultipleChoices",i[i.MovedPermanently=301]="MovedPermanently",i[i.Found=302]="Found",i[i.SeeOther=303]="SeeOther",i[i.NotModified=304]="NotModified",i[i.UseProxy=305]="UseProxy",i[i.Unused=306]="Unused",i[i.TemporaryRedirect=307]="TemporaryRedirect",i[i.PermanentRedirect=308]="PermanentRedirect",i[i.BadRequest=400]="BadRequest",i[i.Unauthorized=401]="Unauthorized",i[i.PaymentRequired=402]="PaymentRequired",i[i.Forbidden=403]="Forbidden",i[i.NotFound=404]="NotFound",i[i.MethodNotAllowed=405]="MethodNotAllowed",i[i.NotAcceptable=406]="NotAcceptable",i[i.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",i[i.RequestTimeout=408]="RequestTimeout",i[i.Conflict=409]="Conflict",i[i.Gone=410]="Gone",i[i.LengthRequired=411]="LengthRequired",i[i.PreconditionFailed=412]="PreconditionFailed",i[i.PayloadTooLarge=413]="PayloadTooLarge",i[i.UriTooLong=414]="UriTooLong",i[i.UnsupportedMediaType=415]="UnsupportedMediaType",i[i.RangeNotSatisfiable=416]="RangeNotSatisfiable",i[i.ExpectationFailed=417]="ExpectationFailed",i[i.ImATeapot=418]="ImATeapot",i[i.MisdirectedRequest=421]="MisdirectedRequest",i[i.UnprocessableEntity=422]="UnprocessableEntity",i[i.Locked=423]="Locked",i[i.FailedDependency=424]="FailedDependency",i[i.TooEarly=425]="TooEarly",i[i.UpgradeRequired=426]="UpgradeRequired",i[i.PreconditionRequired=428]="PreconditionRequired",i[i.TooManyRequests=429]="TooManyRequests",i[i.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",i[i.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",i[i.InternalServerError=500]="InternalServerError",i[i.NotImplemented=501]="NotImplemented",i[i.BadGateway=502]="BadGateway",i[i.ServiceUnavailable=503]="ServiceUnavailable",i[i.GatewayTimeout=504]="GatewayTimeout",i[i.HttpVersionNotSupported=505]="HttpVersionNotSupported",i[i.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",i[i.InsufficientStorage=507]="InsufficientStorage",i[i.LoopDetected=508]="LoopDetected",i[i.NotExtended=510]="NotExtended",i[i.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",i}(Qr||{});function Ps(i,e){return{body:e,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials,transferCache:i.transferCache}}var Gn=(()=>{let e=class e{constructor(t){this.handler=t}request(t,n,o={}){let s;if(t instanceof Un)s=t;else{let d;o.headers instanceof Mi?d=o.headers:d=new Mi(o.headers);let c;o.params&&(o.params instanceof hi?c=o.params:c=new hi({fromObject:o.params})),s=new Un(t,n,o.body!==void 0?o.body:null,{headers:d,context:o.context,params:c,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=Z(s).pipe(Si(d=>this.handler.handle(d)));if(t instanceof Un||o.observe==="events")return a;let l=a.pipe(ze(d=>d instanceof Zr));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(ie(d=>{if(d.body!==null&&!(d.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return d.body}));case"blob":return l.pipe(ie(d=>{if(d.body!==null&&!(d.body instanceof Blob))throw new Error("Response is not a Blob.");return d.body}));case"text":return l.pipe(ie(d=>{if(d.body!==null&&typeof d.body!="string")throw new Error("Response is not a string.");return d.body}));case"json":default:return l.pipe(ie(d=>d.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,n={}){return this.request("DELETE",t,n)}get(t,n={}){return this.request("GET",t,n)}head(t,n={}){return this.request("HEAD",t,n)}jsonp(t,n){return this.request("JSONP",t,{params:new hi().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,n={}){return this.request("OPTIONS",t,n)}patch(t,n,o={}){return this.request("PATCH",t,Ps(o,n))}post(t,n,o={}){return this.request("POST",t,Ps(o,n))}put(t,n,o={}){return this.request("PUT",t,Ps(o,n))}};e.\u0275fac=function(n){return new(n||e)(R($n))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})();function Vm(i,e){return e(i)}function Bm(i,e,r){return(t,n)=>ti(r,()=>e(t,o=>i(o,n)))}var oc=new W(""),Hm=new W(""),Um=new W("");var ic=(()=>{let e=class e extends $n{constructor(t,n){super(),this.backend=t,this.injector=n,this.chain=null,this.pendingTasks=L(Vr);let o=L(Um,{optional:!0});this.backend=o??t}handle(t){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(oc),...this.injector.get(Hm,[])]));this.chain=o.reduceRight((s,a)=>Bm(s,a,this.injector),Vm)}let n=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Vt(()=>this.pendingTasks.remove(n)))}};e.\u0275fac=function(n){return new(n||e)(R(Xr),R(Ki))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})();var $m=/^\)\]\}',?\n/;function Wm(i){return"responseURL"in i&&i.responseURL?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):null}var nc=(()=>{let e=class e{constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new Ae(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?it(n.\u0275loadImpl()):Z(null)).pipe(ot(()=>new Jt(s=>{let a=n.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((p,f)=>a.setRequestHeader(p,f.join(","))),t.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let p=t.detectContentTypeHeader();p!==null&&a.setRequestHeader("Content-Type",p)}if(t.responseType){let p=t.responseType.toLowerCase();a.responseType=p!=="json"?p:"text"}let l=t.serializeBody(),d=null,c=()=>{if(d!==null)return d;let p=a.statusText||"OK",f=new Mi(a.getAllResponseHeaders()),_=Wm(a)||t.url;return d=new js({headers:f,status:a.status,statusText:p,url:_}),d},u=()=>{let{headers:p,status:f,statusText:_,url:v}=c(),y=null;f!==Qr.NoContent&&(y=typeof a.response>"u"?a.responseText:a.response),f===0&&(f=y?Qr.Ok:0);let M=f>=200&&f<300;if(t.responseType==="json"&&typeof y=="string"){let k=y;y=y.replace($m,"");try{y=y!==""?JSON.parse(y):null}catch(H){y=k,M&&(M=!1,y={error:H,text:y})}}M?(s.next(new Zr({body:y,headers:p,status:f,statusText:_,url:v||void 0})),s.complete()):s.error(new Kr({error:y,headers:p,status:f,statusText:_,url:v||void 0}))},h=p=>{let{url:f}=c(),_=new Kr({error:p,status:a.status||0,statusText:a.statusText||"Unknown Error",url:f||void 0});s.error(_)},m=!1,g=p=>{m||(s.next(c()),m=!0);let f={type:on.DownloadProgress,loaded:p.loaded};p.lengthComputable&&(f.total=p.total),t.responseType==="text"&&a.responseText&&(f.partialText=a.responseText),s.next(f)},b=p=>{let f={type:on.UploadProgress,loaded:p.loaded};p.lengthComputable&&(f.total=p.total),s.next(f)};return a.addEventListener("load",u),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),t.reportProgress&&(a.addEventListener("progress",g),l!==null&&a.upload&&a.upload.addEventListener("progress",b)),a.send(l),s.next({type:on.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",u),a.removeEventListener("timeout",h),t.reportProgress&&(a.removeEventListener("progress",g),l!==null&&a.upload&&a.upload.removeEventListener("progress",b)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(n){return new(n||e)(R(Yr))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})(),sc=new W(""),Gm="XSRF-TOKEN",Ym=new W("",{providedIn:"root",factory:()=>Gm}),qm="X-XSRF-TOKEN",Xm=new W("",{providedIn:"root",factory:()=>qm}),Jr=class{},Zm=(()=>{let e=class e{constructor(t,n,o){this.doc=t,this.platform=n,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Gr(t,this.cookieName),this.lastCookieString=t),this.lastToken}};e.\u0275fac=function(n){return new(n||e)(R(te),R(ii),R(Ym))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})();function Km(i,e){let r=i.url.toLowerCase();if(!L(sc)||i.method==="GET"||i.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(i);let t=L(Jr).getToken(),n=L(Xm);return t!=null&&!i.headers.has(n)&&(i=i.clone({headers:i.headers.set(n,t)})),e(i)}function ac(...i){let e=[Gn,nc,ic,{provide:$n,useExisting:ic},{provide:Xr,useExisting:nc},{provide:oc,useValue:Km,multi:!0},{provide:sc,useValue:!0},{provide:Jr,useClass:Zm}];for(let r of i)e.push(...r.\u0275providers);return ei(e)}var Bs=class extends Ud{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Hs=class i extends Bs{static makeCurrent(){Hd(new i)}onAndCancel(e,r,t){return e.addEventListener(r,t),()=>{e.removeEventListener(r,t)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=ep();return r==null?null:tp(r)}resetBaseElement(){Yn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Gr(document.cookie,e)}},Yn=null;function ep(){return Yn=Yn||document.querySelector("base"),Yn?Yn.getAttribute("href"):null}function tp(i){return new URL(i,document.baseURI).pathname}var ip=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})(),Us=new W(""),uc=(()=>{let e=class e{constructor(t,n){this._zone=n,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,n,o){return this._findPluginFor(n).addEventListener(t,n,o)}getZone(){return this._zone}_findPluginFor(t){let n=this._eventNameToPlugin.get(t);if(n)return n;if(n=this._plugins.find(s=>s.supports(t)),!n)throw new Ae(5101,!1);return this._eventNameToPlugin.set(t,n),n}};e.\u0275fac=function(n){return new(n||e)(R(Us),R(J))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})(),eo=class{constructor(e){this._doc=e}},zs="ng-app-id",hc=(()=>{let e=class e{constructor(t,n,o,s={}){this.doc=t,this.appId=n,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Fs(s),this.resetHostNodes()}addStyles(t){for(let n of t)this.changeUsageCount(n,1)===1&&this.onStyleAdded(n)}removeStyles(t){for(let n of t)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(n=>n.remove()),t.clear());for(let n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let n of this.getAllStyles())this.addStyleToHost(t,n)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let n of this.hostNodes)this.addStyleToHost(n,t)}onStyleRemoved(t){let n=this.styleRef;n.get(t)?.elements?.forEach(o=>o.remove()),n.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${zs}="${this.appId}"]`);if(t?.length){let n=new Map;return t.forEach(o=>{o.textContent!=null&&n.set(o.textContent,o)}),n}return null}changeUsageCount(t,n){let o=this.styleRef;if(o.has(t)){let s=o.get(t);return s.usage+=n,s.usage}return o.set(t,{usage:n,elements:[]}),n}getStyleElement(t,n){let o=this.styleNodesInDOM,s=o?.get(n);if(s?.parentNode===t)return o.delete(n),s.removeAttribute(zs),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=n,this.platformIsServer&&a.setAttribute(zs,this.appId),t.appendChild(a),a}}addStyleToHost(t,n){let o=this.getStyleElement(t,n),s=this.styleRef,a=s.get(n)?.elements;a?a.push(o):s.set(n,{elements:[o],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(n){return new(n||e)(R(te),R(Nr),R(Ln,8),R(ii))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})(),Vs={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Gs=/%COMP%/g,fc="%COMP%",np=`_nghost-${fc}`,rp=`_ngcontent-${fc}`,op=!0,sp=new W("",{providedIn:"root",factory:()=>op});function ap(i){return rp.replace(Gs,i)}function lp(i){return np.replace(Gs,i)}function mc(i,e){return e.map(r=>r.replace(Gs,i))}var to=(()=>{let e=class e{constructor(t,n,o,s,a,l,d,c=null){this.eventManager=t,this.sharedStylesHost=n,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=d,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=Fs(l),this.defaultRenderer=new qn(t,a,d,this.platformIsServer)}createRenderer(t,n){if(!t||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===Pn.ShadowDom&&(n=ve(F({},n),{encapsulation:Pn.Emulated}));let o=this.getOrCreateRenderer(t,n);return o instanceof io?o.applyToHost(t):o instanceof Xn&&o.applyStyles(),o}getOrCreateRenderer(t,n){let o=this.rendererByCompId,s=o.get(n.id);if(!s){let a=this.doc,l=this.ngZone,d=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(n.encapsulation){case Pn.Emulated:s=new io(d,c,n,this.appId,u,a,l,h);break;case Pn.ShadowDom:return new $s(d,c,t,n,a,l,this.nonce,h);default:s=new Xn(d,c,n,u,a,l,h);break}o.set(n.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(n){return new(n||e)(R(uc),R(hc),R(Nr),R(sp),R(te),R(ii),R(J),R(Ln))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})(),qn=class{constructor(e,r,t,n){this.eventManager=e,this.doc=r,this.ngZone=t,this.platformIsServer=n,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Vs[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(lc(e)?e.content:e).appendChild(r)}insertBefore(e,r,t){e&&(lc(e)?e.content:e).insertBefore(r,t)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new Ae(-5104,!1);return r||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,t,n){if(n){r=n+":"+r;let o=Vs[n];o?e.setAttributeNS(o,r,t):e.setAttribute(r,t)}else e.setAttribute(r,t)}removeAttribute(e,r,t){if(t){let n=Vs[t];n?e.removeAttributeNS(n,r):e.removeAttribute(`${t}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,t,n){n&(jn.DashCase|jn.Important)?e.style.setProperty(r,t,n&jn.Important?"important":""):e.style[r]=t}removeStyle(e,r,t){t&jn.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,t){e!=null&&(e[r]=t)}setValue(e,r){e.nodeValue=r}listen(e,r,t){if(typeof e=="string"&&(e=tn().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(t))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function lc(i){return i.tagName==="TEMPLATE"&&i.content!==void 0}var $s=class extends qn{constructor(e,r,t,n,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=r,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let d=mc(n.id,n.styles);for(let c of d){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=c,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,t){return super.insertBefore(this.nodeOrShadowRoot(e),r,t)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Xn=class extends qn{constructor(e,r,t,n,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=n,this.styles=l?mc(l,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},io=class extends Xn{constructor(e,r,t,n,o,s,a,l){let d=n+"-"+t.id;super(e,r,t,o,s,a,l,d),this.contentAttr=ap(d),this.hostAttr=lp(d)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let t=super.createElement(e,r);return super.setAttribute(t,this.contentAttr,""),t}},dp=(()=>{let e=class e extends eo{constructor(t){super(t)}supports(t){return!0}addEventListener(t,n,o){return t.addEventListener(n,o,!1),()=>this.removeEventListener(t,n,o)}removeEventListener(t,n,o){return t.removeEventListener(n,o)}};e.\u0275fac=function(n){return new(n||e)(R(te))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})(),dc=["alt","control","meta","shift"],cp={"\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"},up={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey},hp=(()=>{let e=class e extends eo{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,n,o){let s=e.parseEventName(n),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>tn().onAndCancel(t,s.domEventName,a))}static parseEventName(t){let n=t.toLowerCase().split("."),o=n.shift();if(n.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(n.pop()),a="",l=n.indexOf("code");if(l>-1&&(n.splice(l,1),a="code."),dc.forEach(c=>{let u=n.indexOf(c);u>-1&&(n.splice(u,1),a+=c+".")}),a+=s,n.length!=0||s.length===0)return null;let d={};return d.domEventName=o,d.fullKey=a,d}static matchEventFullKeyCode(t,n){let o=cp[t.key]||t.key,s="";return n.indexOf("code.")>-1&&(o=t.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),dc.forEach(a=>{if(a!==o){let l=up[a];l(t)&&(s+=a+".")}}),s+=o,s===n)}static eventCallback(t,n,o){return s=>{e.matchEventFullKeyCode(s,t)&&o.runGuarded(()=>n(s))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(n){return new(n||e)(R(te))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})();function pc(i,e){return Vd(F({rootComponent:i},fp(e)))}function fp(i){return{appProviders:[...vp,...i?.providers??[]],platformProviders:bp}}function mp(){Hs.makeCurrent()}function pp(){return new Di}function gp(){return Cd(document),document}var bp=[{provide:ii,useValue:qd},{provide:Ed,useValue:mp,multi:!0},{provide:te,useFactory:gp,deps:[]}];var vp=[{provide:wd,useValue:"root"},{provide:Di,useFactory:pp,deps:[]},{provide:Us,useClass:dp,multi:!0,deps:[te,J,ii]},{provide:Us,useClass:hp,multi:!0,deps:[te]},to,hc,uc,{provide:jr,useExisting:to},{provide:Yr,useClass:ip,deps:[]},[]];var gc=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(n){return new(n||e)(R(te))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Zn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:function(n){let o=null;return n?o=new(n||e):o=R(_p),o},providedIn:"root"});let i=e;return i})(),_p=(()=>{let e=class e extends Zn{constructor(t){super(),this._doc=t}sanitize(t,n){if(n==null)return null;switch(t){case lt.NONE:return n;case lt.HTML:return Ji(n,"HTML")?Qi(n):Ad(this._doc,String(n)).toString();case lt.STYLE:return Ji(n,"Style")?Qi(n):n;case lt.SCRIPT:if(Ji(n,"Script"))return Qi(n);throw new Ae(5200,!1);case lt.URL:return Ji(n,"URL")?Qi(n):kd(String(n));case lt.RESOURCE_URL:if(Ji(n,"ResourceURL"))return Qi(n);throw new Ae(5201,!1);default:throw new Ae(5202,!1)}}bypassSecurityTrustHtml(t){return Sd(t)}bypassSecurityTrustStyle(t){return Td(t)}bypassSecurityTrustScript(t){return Dd(t)}bypassSecurityTrustUrl(t){return Id(t)}bypassSecurityTrustResourceUrl(t){return Md(t)}};e.\u0275fac=function(n){return new(n||e)(R(te))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function bc(i){return i!==null&&typeof i=="object"&&"constructor"in i&&i.constructor===Object}function qs(i,e){i===void 0&&(i={}),e===void 0&&(e={}),Object.keys(e).forEach(r=>{typeof i[r]>"u"?i[r]=e[r]:bc(e[r])&&bc(i[r])&&Object.keys(e[r]).length>0&&qs(i[r],e[r])})}var vc={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Pe(){let i=typeof document<"u"?document:{};return qs(i,vc),i}var yp={document:vc,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(i){return typeof setTimeout>"u"?(i(),null):setTimeout(i,0)},cancelAnimationFrame(i){typeof setTimeout>"u"||clearTimeout(i)}};function Re(){let i=typeof window<"u"?window:{};return qs(i,yp),i}function ri(i){return i===void 0&&(i=""),i.trim().split(" ").filter(e=>!!e.trim())}function _c(i){let e=i;Object.keys(e).forEach(r=>{try{e[r]=null}catch{}try{delete e[r]}catch{}})}function Rt(i,e){return e===void 0&&(e=0),setTimeout(i,e)}function ht(){return Date.now()}function wp(i){let e=Re(),r;return e.getComputedStyle&&(r=e.getComputedStyle(i,null)),!r&&i.currentStyle&&(r=i.currentStyle),r||(r=i.style),r}function Kn(i,e){e===void 0&&(e="x");let r=Re(),t,n,o,s=wp(i);return r.WebKitCSSMatrix?(n=s.transform||s.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(a=>a.replace(",",".")).join(", ")),o=new r.WebKitCSSMatrix(n==="none"?"":n)):(o=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),t=o.toString().split(",")),e==="x"&&(r.WebKitCSSMatrix?n=o.m41:t.length===16?n=parseFloat(t[12]):n=parseFloat(t[4])),e==="y"&&(r.WebKitCSSMatrix?n=o.m42:t.length===16?n=parseFloat(t[13]):n=parseFloat(t[5])),n||0}function sn(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"}function xp(i){return typeof window<"u"&&typeof window.HTMLElement<"u"?i instanceof HTMLElement:i&&(i.nodeType===1||i.nodeType===11)}function mt(){let i=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let r=1;re.indexOf(o)<0);for(let o=0,s=n.length;oo?"next":"prev",c=(h,m)=>d==="next"&&h>=m||d==="prev"&&h<=m,u=()=>{a=new Date().getTime(),s===null&&(s=a);let h=Math.max(Math.min((a-s)/l,1),0),m=.5-Math.cos(h*Math.PI)/2,g=o+m*(r-o);if(c(g,r)&&(g=r),e.wrapperEl.scrollTo({[t]:g}),c(g,r)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[t]:g})}),n.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=n.requestAnimationFrame(u)};u()}function pt(i){return i.querySelector(".swiper-slide-transform")||i.shadowRoot&&i.shadowRoot.querySelector(".swiper-slide-transform")||i}function Ve(i,e){return e===void 0&&(e=""),[...i.children].filter(r=>r.matches(e))}function Qn(i){try{console.warn(i);return}catch{}}function Ze(i,e){e===void 0&&(e=[]);let r=document.createElement(i);return r.classList.add(...Array.isArray(e)?e:ri(e)),r}function Ai(i){let e=Re(),r=Pe(),t=i.getBoundingClientRect(),n=r.body,o=i.clientTop||n.clientTop||0,s=i.clientLeft||n.clientLeft||0,a=i===e?e.scrollY:i.scrollTop,l=i===e?e.scrollX:i.scrollLeft;return{top:t.top+a-o,left:t.left+l-s}}function yc(i,e){let r=[];for(;i.previousElementSibling;){let t=i.previousElementSibling;e?t.matches(e)&&r.push(t):r.push(t),i=t}return r}function wc(i,e){let r=[];for(;i.nextElementSibling;){let t=i.nextElementSibling;e?t.matches(e)&&r.push(t):r.push(t),i=t}return r}function oi(i,e){return Re().getComputedStyle(i,null).getPropertyValue(e)}function fi(i){let e=i,r;if(e){for(r=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(r+=1);return r}}function Ot(i,e){let r=[],t=i.parentElement;for(;t;)e?t.matches(e)&&r.push(t):r.push(t),t=t.parentElement;return r}function mi(i,e){function r(t){t.target===i&&(e.call(i,t),i.removeEventListener("transitionend",r))}e&&i.addEventListener("transitionend",r)}function Jn(i,e,r){let t=Re();return r?i[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(t.getComputedStyle(i,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(t.getComputedStyle(i,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):i.offsetWidth}function he(i){return(Array.isArray(i)?i:[i]).filter(e=>!!e)}var Zs;function Cp(){let i=Re(),e=Pe();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in i||i.DocumentTouch&&e instanceof i.DocumentTouch)}}function Sc(){return Zs||(Zs=Cp()),Zs}var Ks;function Ep(i){let{userAgent:e}=i===void 0?{}:i,r=Sc(),t=Re(),n=t.navigator.platform,o=e||t.navigator.userAgent,s={ios:!1,android:!1},a=t.screen.width,l=t.screen.height,d=o.match(/(Android);?[\s\/]+([\d.]+)?/),c=o.match(/(iPad).*OS\s([\d_]+)/),u=o.match(/(iPod)(.*OS\s([\d_]+))?/),h=!c&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m=n==="Win32",g=n==="MacIntel",b=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&g&&r.touch&&b.indexOf(`${a}x${l}`)>=0&&(c=o.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),g=!1),d&&!m&&(s.os="android",s.android=!0),(c||h||u)&&(s.os="ios",s.ios=!0),s}function Tc(i){return i===void 0&&(i={}),Ks||(Ks=Ep(i)),Ks}var Qs;function Sp(){let i=Re(),e=Tc(),r=!1;function t(){let a=i.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(t()){let a=String(i.navigator.userAgent);if(a.includes("Version/")){let[l,d]=a.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));r=l<16||l===16&&d<2}}let n=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(i.navigator.userAgent),o=t(),s=o||n&&e.ios;return{isSafari:r||o,needPerspectiveFix:r,need3dFix:s,isWebView:n}}function Tp(){return Qs||(Qs=Sp()),Qs}function Dp(i){let{swiper:e,on:r,emit:t}=i,n=Re(),o=null,s=null,a=()=>{!e||e.destroyed||!e.initialized||(t("beforeResize"),t("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(o=new ResizeObserver(u=>{s=n.requestAnimationFrame(()=>{let{width:h,height:m}=e,g=h,b=m;u.forEach(p=>{let{contentBoxSize:f,contentRect:_,target:v}=p;v&&v!==e.el||(g=_?_.width:(f[0]||f).inlineSize,b=_?_.height:(f[0]||f).blockSize)}),(g!==h||b!==m)&&a()})}),o.observe(e.el))},d=()=>{s&&n.cancelAnimationFrame(s),o&&o.unobserve&&e.el&&(o.unobserve(e.el),o=null)},c=()=>{!e||e.destroyed||!e.initialized||t("orientationchange")};r("init",()=>{if(e.params.resizeObserver&&typeof n.ResizeObserver<"u"){l();return}n.addEventListener("resize",a),n.addEventListener("orientationchange",c)}),r("destroy",()=>{d(),n.removeEventListener("resize",a),n.removeEventListener("orientationchange",c)})}function Ip(i){let{swiper:e,extendParams:r,on:t,emit:n}=i,o=[],s=Re(),a=function(c,u){u===void 0&&(u={});let h=s.MutationObserver||s.WebkitMutationObserver,m=new h(g=>{if(e.__preventObserver__)return;if(g.length===1){n("observerUpdate",g[0]);return}let b=function(){n("observerUpdate",g[0])};s.requestAnimationFrame?s.requestAnimationFrame(b):s.setTimeout(b,0)});m.observe(c,{attributes:typeof u.attributes>"u"?!0:u.attributes,childList:typeof u.childList>"u"?!0:u.childList,characterData:typeof u.characterData>"u"?!0:u.characterData}),o.push(m)},l=()=>{if(e.params.observer){if(e.params.observeParents){let c=Ot(e.hostEl);for(let u=0;u{o.forEach(c=>{c.disconnect()}),o.splice(0,o.length)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),t("init",l),t("destroy",d)}var Mp={on(i,e,r){let t=this;if(!t.eventsListeners||t.destroyed||typeof e!="function")return t;let n=r?"unshift":"push";return i.split(" ").forEach(o=>{t.eventsListeners[o]||(t.eventsListeners[o]=[]),t.eventsListeners[o][n](e)}),t},once(i,e,r){let t=this;if(!t.eventsListeners||t.destroyed||typeof e!="function")return t;function n(){t.off(i,n),n.__emitterProxy&&delete n.__emitterProxy;for(var o=arguments.length,s=new Array(o),a=0;a=0&&e.eventsAnyListeners.splice(r,1),e},off(i,e){let r=this;return!r.eventsListeners||r.destroyed||!r.eventsListeners||i.split(" ").forEach(t=>{typeof e>"u"?r.eventsListeners[t]=[]:r.eventsListeners[t]&&r.eventsListeners[t].forEach((n,o)=>{(n===e||n.__emitterProxy&&n.__emitterProxy===e)&&r.eventsListeners[t].splice(o,1)})}),r},emit(){let i=this;if(!i.eventsListeners||i.destroyed||!i.eventsListeners)return i;let e,r,t;for(var n=arguments.length,o=new Array(n),s=0;s{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(d=>{d.apply(t,[l,...r])}),i.eventsListeners&&i.eventsListeners[l]&&i.eventsListeners[l].forEach(d=>{d.apply(t,r)})}),i}};function kp(){let i=this,e,r,t=i.el;typeof i.params.width<"u"&&i.params.width!==null?e=i.params.width:e=t.clientWidth,typeof i.params.height<"u"&&i.params.height!==null?r=i.params.height:r=t.clientHeight,!(e===0&&i.isHorizontal()||r===0&&i.isVertical())&&(e=e-parseInt(oi(t,"padding-left")||0,10)-parseInt(oi(t,"padding-right")||0,10),r=r-parseInt(oi(t,"padding-top")||0,10)-parseInt(oi(t,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(r)&&(r=0),Object.assign(i,{width:e,height:r,size:i.isHorizontal()?e:r}))}function Ap(){let i=this;function e(S,O){return parseFloat(S.getPropertyValue(i.getDirectionLabel(O))||0)}let r=i.params,{wrapperEl:t,slidesEl:n,size:o,rtlTranslate:s,wrongRTL:a}=i,l=i.virtual&&r.virtual.enabled,d=l?i.virtual.slides.length:i.slides.length,c=Ve(n,`.${i.params.slideClass}, swiper-slide`),u=l?i.virtual.slides.length:c.length,h=[],m=[],g=[],b=r.slidesOffsetBefore;typeof b=="function"&&(b=r.slidesOffsetBefore.call(i));let p=r.slidesOffsetAfter;typeof p=="function"&&(p=r.slidesOffsetAfter.call(i));let f=i.snapGrid.length,_=i.slidesGrid.length,v=r.spaceBetween,y=-b,M=0,k=0;if(typeof o>"u")return;typeof v=="string"&&v.indexOf("%")>=0?v=parseFloat(v.replace("%",""))/100*o:typeof v=="string"&&(v=parseFloat(v)),i.virtualSize=-v,c.forEach(S=>{s?S.style.marginLeft="":S.style.marginRight="",S.style.marginBottom="",S.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(ki(t,"--swiper-centered-offset-before",""),ki(t,"--swiper-centered-offset-after",""));let H=r.grid&&r.grid.rows>1&&i.grid;H?i.grid.initSlides(c):i.grid&&i.grid.unsetSlides();let T,x=r.slidesPerView==="auto"&&r.breakpoints&&Object.keys(r.breakpoints).filter(S=>typeof r.breakpoints[S].slidesPerView<"u").length>0;for(let S=0;S1&&h.push(i.virtualSize-o)}if(l&&r.loop){let S=g[0]+v;if(r.slidesPerGroup>1){let O=Math.ceil((i.virtual.slidesBefore+i.virtual.slidesAfter)/r.slidesPerGroup),E=S*r.slidesPerGroup;for(let C=0;C!r.cssMode||r.loop?!0:E!==c.length-1).forEach(O=>{O.style[S]=`${v}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let S=0;g.forEach(E=>{S+=E+(v||0)}),S-=v;let O=S-o;h=h.map(E=>E<=0?-b:E>O?O+p:E)}if(r.centerInsufficientSlides){let S=0;if(g.forEach(O=>{S+=O+(v||0)}),S-=v,S{h[C]=E-O}),m.forEach((E,C)=>{m[C]=E+O})}}if(Object.assign(i,{slides:c,snapGrid:h,slidesGrid:m,slidesSizesGrid:g}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){ki(t,"--swiper-centered-offset-before",`${-h[0]}px`),ki(t,"--swiper-centered-offset-after",`${i.size/2-g[g.length-1]/2}px`);let S=-i.snapGrid[0],O=-i.slidesGrid[0];i.snapGrid=i.snapGrid.map(E=>E+S),i.slidesGrid=i.slidesGrid.map(E=>E+O)}if(u!==d&&i.emit("slidesLengthChange"),h.length!==f&&(i.params.watchOverflow&&i.checkOverflow(),i.emit("snapGridLengthChange")),m.length!==_&&i.emit("slidesGridLengthChange"),r.watchSlidesProgress&&i.updateSlidesOffset(),i.emit("slidesUpdated"),!l&&!r.cssMode&&(r.effect==="slide"||r.effect==="fade")){let S=`${r.containerModifierClass}backface-hidden`,O=i.el.classList.contains(S);u<=r.maxBackfaceHiddenSlides?O||i.el.classList.add(S):O&&i.el.classList.remove(S)}}function Rp(i){let e=this,r=[],t=e.virtual&&e.params.virtual.enabled,n=0,o;typeof i=="number"?e.setTransition(i):i===!0&&e.setTransition(e.params.speed);let s=a=>t?e.slides[e.getSlideIndexByData(a)]:e.slides[a];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(a=>{r.push(a)});else for(o=0;oe.slides.length&&!t)break;r.push(s(a))}else r.push(s(e.activeIndex));for(o=0;on?a:n}(n||n===0)&&(e.wrapperEl.style.height=`${n}px`)}function Op(){let i=this,e=i.slides,r=i.isElement?i.isHorizontal()?i.wrapperEl.offsetLeft:i.wrapperEl.offsetTop:0;for(let t=0;t"u"&&e.updateSlidesOffset();let s=-i;n&&(s=i),t.forEach(l=>{l.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=r.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:typeof a=="string"&&(a=parseFloat(a));for(let l=0;l=0&&m<=e.size-e.slidesSizesGrid[l];(m>=0&&m1&&g<=e.size||m<=0&&g>=e.size)&&(e.visibleSlides.push(d),e.visibleSlidesIndexes.push(l),t[l].classList.add(r.slideVisibleClass)),b&&t[l].classList.add(r.slideFullyVisibleClass),d.progress=n?-u:u,d.originalProgress=n?-h:h}}function Pp(i){let e=this;if(typeof i>"u"){let c=e.rtlTranslate?-1:1;i=e&&e.translate&&e.translate*c||0}let r=e.params,t=e.maxTranslate()-e.minTranslate(),{progress:n,isBeginning:o,isEnd:s,progressLoop:a}=e,l=o,d=s;if(t===0)n=0,o=!0,s=!0;else{n=(i-e.minTranslate())/t;let c=Math.abs(i-e.minTranslate())<1,u=Math.abs(i-e.maxTranslate())<1;o=c||n<=0,s=u||n>=1,c&&(n=0),u&&(n=1)}if(r.loop){let c=e.getSlideIndexByData(0),u=e.getSlideIndexByData(e.slides.length-1),h=e.slidesGrid[c],m=e.slidesGrid[u],g=e.slidesGrid[e.slidesGrid.length-1],b=Math.abs(i);b>=h?a=(b-h)/g:a=(b+g-m)/g,a>1&&(a-=1)}Object.assign(e,{progress:n,progressLoop:a,isBeginning:o,isEnd:s}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&e.updateSlidesProgress(i),o&&!l&&e.emit("reachBeginning toEdge"),s&&!d&&e.emit("reachEnd toEdge"),(l&&!o||d&&!s)&&e.emit("fromEdge"),e.emit("progress",n)}var Js=(i,e,r)=>{e&&!i.classList.contains(r)?i.classList.add(r):!e&&i.classList.contains(r)&&i.classList.remove(r)};function Np(){let i=this,{slides:e,params:r,slidesEl:t,activeIndex:n}=i,o=i.virtual&&r.virtual.enabled,s=i.grid&&r.grid&&r.grid.rows>1,a=u=>Ve(t,`.${r.slideClass}${u}, swiper-slide${u}`)[0],l,d,c;if(o)if(r.loop){let u=n-i.virtual.slidesBefore;u<0&&(u=i.virtual.slides.length+u),u>=i.virtual.slides.length&&(u-=i.virtual.slides.length),l=a(`[data-swiper-slide-index="${u}"]`)}else l=a(`[data-swiper-slide-index="${n}"]`);else s?(l=e.filter(u=>u.column===n)[0],c=e.filter(u=>u.column===n+1)[0],d=e.filter(u=>u.column===n-1)[0]):l=e[n];l&&(s||(c=wc(l,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!c&&(c=e[0]),d=yc(l,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!d===0&&(d=e[e.length-1]))),e.forEach(u=>{Js(u,u===l,r.slideActiveClass),Js(u,u===c,r.slideNextClass),Js(u,u===d,r.slidePrevClass)}),i.emitSlidesClasses()}var no=(i,e)=>{if(!i||i.destroyed||!i.params)return;let r=()=>i.isElement?"swiper-slide":`.${i.params.slideClass}`,t=e.closest(r());if(t){let n=t.querySelector(`.${i.params.lazyPreloaderClass}`);!n&&i.isElement&&(t.shadowRoot?n=t.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{t.shadowRoot&&(n=t.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`),n&&n.remove())})),n&&n.remove()}},ea=(i,e)=>{if(!i.slides[e])return;let r=i.slides[e].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},na=i=>{if(!i||i.destroyed||!i.params)return;let e=i.params.lazyPreloadPrevNext,r=i.slides.length;if(!r||!e||e<0)return;e=Math.min(e,r);let t=i.params.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(i.params.slidesPerView),n=i.activeIndex;if(i.params.grid&&i.params.grid.rows>1){let s=n,a=[s-e];a.push(...Array.from({length:e}).map((l,d)=>s+t+d)),i.slides.forEach((l,d)=>{a.includes(l.column)&&ea(i,d)});return}let o=n+t-1;if(i.params.rewind||i.params.loop)for(let s=n-e;s<=o+e;s+=1){let a=(s%r+r)%r;(ao)&&ea(i,a)}else for(let s=Math.max(n-e,0);s<=Math.min(o+e,r-1);s+=1)s!==n&&(s>o||s=e[o]&&t=e[o]&&t=e[o]&&(n=o);return r.normalizeSlideIndex&&(n<0||typeof n>"u")&&(n=0),n}function jp(i){let e=this,r=e.rtlTranslate?e.translate:-e.translate,{snapGrid:t,params:n,activeIndex:o,realIndex:s,snapIndex:a}=e,l=i,d,c=m=>{let g=m-e.virtual.slidesBefore;return g<0&&(g=e.virtual.slides.length+g),g>=e.virtual.slides.length&&(g-=e.virtual.slides.length),g};if(typeof l>"u"&&(l=Lp(e)),t.indexOf(r)>=0)d=t.indexOf(r);else{let m=Math.min(n.slidesPerGroupSkip,l);d=m+Math.floor((l-m)/n.slidesPerGroup)}if(d>=t.length&&(d=t.length-1),l===o&&!e.params.loop){d!==a&&(e.snapIndex=d,e.emit("snapIndexChange"));return}if(l===o&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(l);return}let u=e.grid&&n.grid&&n.grid.rows>1,h;if(e.virtual&&n.virtual.enabled&&n.loop)h=c(l);else if(u){let m=e.slides.filter(b=>b.column===l)[0],g=parseInt(m.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(e.slides.indexOf(m),0)),h=Math.floor(g/n.grid.rows)}else if(e.slides[l]){let m=e.slides[l].getAttribute("data-swiper-slide-index");m?h=parseInt(m,10):h=l}else h=l;Object.assign(e,{previousSnapIndex:a,snapIndex:d,previousRealIndex:s,realIndex:h,previousIndex:o,activeIndex:l}),e.initialized&&na(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(s!==h&&e.emit("realIndexChange"),e.emit("slideChange"))}function zp(i,e){let r=this,t=r.params,n=i.closest(`.${t.slideClass}, swiper-slide`);!n&&r.isElement&&e&&e.length>1&&e.includes(i)&&[...e.slice(e.indexOf(i)+1,e.length)].forEach(a=>{!n&&a.matches&&a.matches(`.${t.slideClass}, swiper-slide`)&&(n=a)});let o=!1,s;if(n){for(let a=0;al?c=l:t&&is?a="next":o"u"&&(e=o.params.speed);let b=Math.min(o.params.slidesPerGroupSkip,s),p=b+Math.floor((s-b)/o.params.slidesPerGroup);p>=l.length&&(p=l.length-1);let f=-l[p];if(a.normalizeSlideIndex)for(let v=0;v=M&&y=M&&y=M&&(s=v)}if(o.initialized&&s!==u&&(!o.allowSlideNext&&(h?f>o.translate&&f>o.minTranslate():fo.translate&&f>o.maxTranslate()&&(u||0)!==s))return!1;s!==(c||0)&&r&&o.emit("beforeSlideChangeStart"),o.updateProgress(f);let _;if(s>u?_="next":s0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[v?"scrollLeft":"scrollTop"]=y})):m[v?"scrollLeft":"scrollTop"]=y,M&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return Xs({swiper:o,targetPosition:y,side:v?"left":"top"}),!0;m.scrollTo({[v?"left":"top"]:y,behavior:"smooth"})}return!0}return o.setTransition(e),o.setTranslate(f),o.updateActiveIndex(s),o.updateSlidesClasses(),o.emit("beforeTransitionStart",e,t),o.transitionStart(r,_),e===0?o.transitionEnd(r,_):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(y){!o||o.destroyed||y.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(r,_))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function Qp(i,e,r,t){i===void 0&&(i=0),r===void 0&&(r=!0),typeof i=="string"&&(i=parseInt(i,10));let n=this;if(n.destroyed)return;typeof e>"u"&&(e=n.params.speed);let o=n.grid&&n.params.grid&&n.params.grid.rows>1,s=i;if(n.params.loop)if(n.virtual&&n.params.virtual.enabled)s=s+n.virtual.slidesBefore;else{let a;if(o){let h=s*n.params.grid.rows;a=n.slides.filter(m=>m.getAttribute("data-swiper-slide-index")*1===h)[0].column}else a=n.getSlideIndexByData(s);let l=o?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,{centeredSlides:d}=n.params,c=n.params.slidesPerView;c==="auto"?c=n.slidesPerViewDynamic():(c=Math.ceil(parseFloat(n.params.slidesPerView,10)),d&&c%2===0&&(c=c+1));let u=l-am.getAttribute("data-swiper-slide-index")*1===h)[0].column}else s=n.getSlideIndexByData(s)}return requestAnimationFrame(()=>{n.slideTo(s,e,r,t)}),n}function Jp(i,e,r){e===void 0&&(e=!0);let t=this,{enabled:n,params:o,animating:s}=t;if(!n||t.destroyed)return t;typeof i>"u"&&(i=t.params.speed);let a=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(a=Math.max(t.slidesPerViewDynamic("current",!0),1));let l=t.activeIndex{t.slideTo(t.activeIndex+l,i,e,r)}),!0}return o.rewind&&t.isEnd?t.slideTo(0,i,e,r):t.slideTo(t.activeIndex+l,i,e,r)}function eg(i,e,r){e===void 0&&(e=!0);let t=this,{params:n,snapGrid:o,slidesGrid:s,rtlTranslate:a,enabled:l,animating:d}=t;if(!l||t.destroyed)return t;typeof i>"u"&&(i=t.params.speed);let c=t.virtual&&n.virtual.enabled;if(n.loop){if(d&&!c&&n.loopPreventsSliding)return!1;t.loopFix({direction:"prev"}),t._clientLeft=t.wrapperEl.clientLeft}let u=a?t.translate:-t.translate;function h(f){return f<0?-Math.floor(Math.abs(f)):Math.floor(f)}let m=h(u),g=o.map(f=>h(f)),b=o[g.indexOf(m)-1];if(typeof b>"u"&&n.cssMode){let f;o.forEach((_,v)=>{m>=_&&(f=v)}),typeof f<"u"&&(b=o[f>0?f-1:f])}let p=0;if(typeof b<"u"&&(p=s.indexOf(b),p<0&&(p=t.activeIndex-1),n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(p=p-t.slidesPerViewDynamic("previous",!0)+1,p=Math.max(p,0))),n.rewind&&t.isBeginning){let f=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1;return t.slideTo(f,i,e,r)}else if(n.loop&&t.activeIndex===0&&n.cssMode)return requestAnimationFrame(()=>{t.slideTo(p,i,e,r)}),!0;return t.slideTo(p,i,e,r)}function tg(i,e,r){e===void 0&&(e=!0);let t=this;if(!t.destroyed)return typeof i>"u"&&(i=t.params.speed),t.slideTo(t.activeIndex,i,e,r)}function ig(i,e,r,t){e===void 0&&(e=!0),t===void 0&&(t=.5);let n=this;if(n.destroyed)return;typeof i>"u"&&(i=n.params.speed);let o=n.activeIndex,s=Math.min(n.params.slidesPerGroupSkip,o),a=s+Math.floor((o-s)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[a]){let d=n.snapGrid[a],c=n.snapGrid[a+1];l-d>(c-d)*t&&(o+=n.params.slidesPerGroup)}else{let d=n.snapGrid[a-1],c=n.snapGrid[a];l-d<=(c-d)*t&&(o-=n.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,n.slidesGrid.length-1),n.slideTo(o,i,e,r)}function ng(){let i=this;if(i.destroyed)return;let{params:e,slidesEl:r}=i,t=e.slidesPerView==="auto"?i.slidesPerViewDynamic():e.slidesPerView,n=i.clickedIndex,o,s=i.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(i.animating)return;o=parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?ni.slides.length-i.loopedSlides+t/2?(i.loopFix(),n=i.getSlideIndex(Ve(r,`${s}[data-swiper-slide-index="${o}"]`)[0]),Rt(()=>{i.slideTo(n)})):i.slideTo(n):n>i.slides.length-t?(i.loopFix(),n=i.getSlideIndex(Ve(r,`${s}[data-swiper-slide-index="${o}"]`)[0]),Rt(()=>{i.slideTo(n)})):i.slideTo(n)}else i.slideTo(n)}var rg={slideTo:Kp,slideToLoop:Qp,slideNext:Jp,slidePrev:eg,slideReset:tg,slideToClosest:ig,slideToClickedSlide:ng};function og(i){let e=this,{params:r,slidesEl:t}=e;if(!r.loop||e.virtual&&e.params.virtual.enabled)return;let n=()=>{Ve(t,`.${r.slideClass}, swiper-slide`).forEach((u,h)=>{u.setAttribute("data-swiper-slide-index",h)})},o=e.grid&&r.grid&&r.grid.rows>1,s=r.slidesPerGroup*(o?r.grid.rows:1),a=e.slides.length%s!==0,l=o&&e.slides.length%r.grid.rows!==0,d=c=>{for(let u=0;u1;d.length"u"?o=l.getSlideIndex(d.filter(C=>C.classList.contains(m.slideActiveClass))[0]):M=o;let k=t==="next"||!t,H=t==="prev"||!t,T=0,x=0,S=_?Math.ceil(d.length/m.grid.rows):d.length,E=(_?d[o].column:o)+(g&&typeof n>"u"?-b/2+.5:0);if(E=0;X-=1)d[X].column===V&&v.push(X)}else v.push(S-D-1)}}else if(E+b>S-f){x=Math.max(E-(S-f*2),p);for(let C=0;C{V.column===D&&y.push(X)}):y.push(D)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),H&&v.forEach(C=>{d[C].swiperLoopMoveDOM=!0,h.prepend(d[C]),d[C].swiperLoopMoveDOM=!1}),k&&y.forEach(C=>{d[C].swiperLoopMoveDOM=!0,h.append(d[C]),d[C].swiperLoopMoveDOM=!1}),l.recalcSlides(),m.slidesPerView==="auto"?l.updateSlides():_&&(v.length>0&&H||y.length>0&&k)&&l.slides.forEach((C,D)=>{l.grid.updateSlide(D,C,l.slides)}),m.watchSlidesProgress&&l.updateSlidesOffset(),r){if(v.length>0&&H){if(typeof e>"u"){let C=l.slidesGrid[M],V=l.slidesGrid[M+T]-C;a?l.setTranslate(l.translate-V):(l.slideTo(M+Math.ceil(T),0,!1,!0),n&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-V,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-V))}else if(n){let C=_?v.length/m.grid.rows:v.length;l.slideTo(l.activeIndex+C,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(y.length>0&&k)if(typeof e>"u"){let C=l.slidesGrid[M],V=l.slidesGrid[M-x]-C;a?l.setTranslate(l.translate-V):(l.slideTo(M-x,0,!1,!0),n&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-V,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-V))}else{let C=_?y.length/m.grid.rows:y.length;l.slideTo(l.activeIndex-C,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=u,l.controller&&l.controller.control&&!s){let C={slideRealIndex:e,direction:t,setTranslate:n,activeSlideIndex:o,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(D=>{!D.destroyed&&D.params.loop&&D.loopFix(ve(F({},C),{slideTo:D.params.slidesPerView===m.slidesPerView?r:!1}))}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix(ve(F({},C),{slideTo:l.controller.control.params.slidesPerView===m.slidesPerView?r:!1}))}l.emit("loopFix")}function ag(){let i=this,{params:e,slidesEl:r}=i;if(!e.loop||i.virtual&&i.params.virtual.enabled)return;i.recalcSlides();let t=[];i.slides.forEach(n=>{let o=typeof n.swiperSlideIndex>"u"?n.getAttribute("data-swiper-slide-index")*1:n.swiperSlideIndex;t[o]=n}),i.slides.forEach(n=>{n.removeAttribute("data-swiper-slide-index")}),t.forEach(n=>{r.append(n)}),i.recalcSlides(),i.slideTo(i.realIndex,0)}var lg={loopCreate:og,loopFix:sg,loopDestroy:ag};function dg(i){let e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;let r=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=i?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function cg(){let i=this;i.params.watchOverflow&&i.isLocked||i.params.cssMode||(i.isElement&&(i.__preventObserver__=!0),i[i.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",i.isElement&&requestAnimationFrame(()=>{i.__preventObserver__=!1}))}var ug={setGrabCursor:dg,unsetGrabCursor:cg};function hg(i,e){e===void 0&&(e=this);function r(t){if(!t||t===Pe()||t===Re())return null;t.assignedSlot&&(t=t.assignedSlot);let n=t.closest(i);return!n&&!t.getRootNode?null:n||r(t.getRootNode().host)}return r(e)}function xc(i,e,r){let t=Re(),{params:n}=i,o=n.edgeSwipeDetection,s=n.edgeSwipeThreshold;return o&&(r<=s||r>=t.innerWidth-s)?o==="prevent"?(e.preventDefault(),!0):!1:!0}function fg(i){let e=this,r=Pe(),t=i;t.originalEvent&&(t=t.originalEvent);let n=e.touchEventsData;if(t.type==="pointerdown"){if(n.pointerId!==null&&n.pointerId!==t.pointerId)return;n.pointerId=t.pointerId}else t.type==="touchstart"&&t.targetTouches.length===1&&(n.touchId=t.targetTouches[0].identifier);if(t.type==="touchstart"){xc(e,t,t.targetTouches[0].pageX);return}let{params:o,touches:s,enabled:a}=e;if(!a||!o.simulateTouch&&t.pointerType==="mouse"||e.animating&&o.preventInteractionOnTransition)return;!e.animating&&o.cssMode&&o.loop&&e.loopFix();let l=t.target;if(o.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(l)||"which"in t&&t.which===3||"button"in t&&t.button>0||n.isTouched&&n.isMoved)return;let d=!!o.noSwipingClass&&o.noSwipingClass!=="",c=t.composedPath?t.composedPath():t.path;d&&t.target&&t.target.shadowRoot&&c&&(l=c[0]);let u=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,h=!!(t.target&&t.target.shadowRoot);if(o.noSwiping&&(h?hg(u,l):l.closest(u))){e.allowClick=!0;return}if(o.swipeHandler&&!l.closest(o.swipeHandler))return;s.currentX=t.pageX,s.currentY=t.pageY;let m=s.currentX,g=s.currentY;if(!xc(e,t,m))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=m,s.startY=g,n.touchStartTime=ht(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,o.threshold>0&&(n.allowThresholdMove=!1);let b=!0;l.matches(n.focusableElements)&&(b=!1,l.nodeName==="SELECT"&&(n.isTouched=!1)),r.activeElement&&r.activeElement.matches(n.focusableElements)&&r.activeElement!==l&&r.activeElement.blur();let p=b&&e.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||p)&&!l.isContentEditable&&t.preventDefault(),o.freeMode&&o.freeMode.enabled&&e.freeMode&&e.animating&&!o.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",t)}function mg(i){let e=Pe(),r=this,t=r.touchEventsData,{params:n,touches:o,rtlTranslate:s,enabled:a}=r;if(!a||!n.simulateTouch&&i.pointerType==="mouse")return;let l=i;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(t.touchId!==null||l.pointerId!==t.pointerId))return;let d;if(l.type==="touchmove"){if(d=[...l.changedTouches].filter(k=>k.identifier===t.touchId)[0],!d||d.identifier!==t.touchId)return}else d=l;if(!t.isTouched){t.startMoving&&t.isScrolling&&r.emit("touchMoveOpposite",l);return}let c=d.pageX,u=d.pageY;if(l.preventedByNestedSwiper){o.startX=c,o.startY=u;return}if(!r.allowTouchMove){l.target.matches(t.focusableElements)||(r.allowClick=!1),t.isTouched&&(Object.assign(o,{startX:c,startY:u,currentX:c,currentY:u}),t.touchStartTime=ht());return}if(n.touchReleaseOnEdges&&!n.loop){if(r.isVertical()){if(uo.startY&&r.translate>=r.minTranslate()){t.isTouched=!1,t.isMoved=!1;return}}else if(co.startX&&r.translate>=r.minTranslate())return}if(e.activeElement&&l.target===e.activeElement&&l.target.matches(t.focusableElements)){t.isMoved=!0,r.allowClick=!1;return}t.allowTouchCallbacks&&r.emit("touchMove",l),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=c,o.currentY=u;let h=o.currentX-o.startX,m=o.currentY-o.startY;if(r.params.threshold&&Math.sqrt(h**2+m**2)"u"){let k;r.isHorizontal()&&o.currentY===o.startY||r.isVertical()&&o.currentX===o.startX?t.isScrolling=!1:h*h+m*m>=25&&(k=Math.atan2(Math.abs(m),Math.abs(h))*180/Math.PI,t.isScrolling=r.isHorizontal()?k>n.touchAngle:90-k>n.touchAngle)}if(t.isScrolling&&r.emit("touchMoveOpposite",l),typeof t.startMoving>"u"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(t.startMoving=!0),t.isScrolling||l.type==="touchmove"&&t.preventTouchMoveFromPointerMove){t.isTouched=!1;return}if(!t.startMoving)return;r.allowClick=!1,!n.cssMode&&l.cancelable&&l.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&l.stopPropagation();let g=r.isHorizontal()?h:m,b=r.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;n.oneWayMovement&&(g=Math.abs(g)*(s?1:-1),b=Math.abs(b)*(s?1:-1)),o.diff=g,g*=n.touchRatio,s&&(g=-g,b=-b);let p=r.touchesDirection;r.swipeDirection=g>0?"prev":"next",r.touchesDirection=b>0?"prev":"next";let f=r.params.loop&&!n.cssMode,_=r.touchesDirection==="next"&&r.allowSlideNext||r.touchesDirection==="prev"&&r.allowSlidePrev;if(!t.isMoved){if(f&&_&&r.loopFix({direction:r.swipeDirection}),t.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){let k=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});r.wrapperEl.dispatchEvent(k)}t.allowMomentumBounce=!1,n.grabCursor&&(r.allowSlideNext===!0||r.allowSlidePrev===!0)&&r.setGrabCursor(!0),r.emit("sliderFirstMove",l)}let v;if(new Date().getTime(),t.isMoved&&t.allowThresholdMove&&p!==r.touchesDirection&&f&&_&&Math.abs(g)>=1){Object.assign(o,{startX:c,startY:u,currentX:c,currentY:u,startTranslate:t.currentTranslate}),t.loopSwapReset=!0,t.startTranslate=t.currentTranslate;return}r.emit("sliderMove",l),t.isMoved=!0,t.currentTranslate=g+t.startTranslate;let y=!0,M=n.resistanceRatio;if(n.touchReleaseOnEdges&&(M=0),g>0?(f&&_&&!v&&t.allowThresholdMove&&t.currentTranslate>(n.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),t.currentTranslate>r.minTranslate()&&(y=!1,n.resistance&&(t.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+t.startTranslate+g)**M))):g<0&&(f&&_&&!v&&t.allowThresholdMove&&t.currentTranslate<(n.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]:r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-(n.slidesPerView==="auto"?r.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),t.currentTranslatet.startTranslate&&(t.currentTranslate=t.startTranslate),!r.allowSlidePrev&&!r.allowSlideNext&&(t.currentTranslate=t.startTranslate),n.threshold>0)if(Math.abs(g)>n.threshold||t.allowThresholdMove){if(!t.allowThresholdMove){t.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,t.currentTranslate=t.startTranslate,o.diff=r.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{t.currentTranslate=t.startTranslate;return}!n.followFinger||n.cssMode||((n.freeMode&&n.freeMode.enabled&&r.freeMode||n.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(t.currentTranslate),r.setTranslate(t.currentTranslate))}function pg(i){let e=this,r=e.touchEventsData,t=i;t.originalEvent&&(t=t.originalEvent);let n;if(t.type==="touchend"||t.type==="touchcancel"){if(n=[...t.changedTouches].filter(M=>M.identifier===r.touchId)[0],!n||n.identifier!==r.touchId)return}else{if(r.touchId!==null||t.pointerId!==r.pointerId)return;n=t}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(t.type)&&!(["pointercancel","contextmenu"].includes(t.type)&&(e.browser.isSafari||e.browser.isWebView)))return;r.pointerId=null,r.touchId=null;let{params:s,touches:a,rtlTranslate:l,slidesGrid:d,enabled:c}=e;if(!c||!s.simulateTouch&&t.pointerType==="mouse")return;if(r.allowTouchCallbacks&&e.emit("touchEnd",t),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&s.grabCursor&&e.setGrabCursor(!1),r.isMoved=!1,r.startMoving=!1;return}s.grabCursor&&r.isMoved&&r.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);let u=ht(),h=u-r.touchStartTime;if(e.allowClick){let M=t.path||t.composedPath&&t.composedPath();e.updateClickedSlide(M&&M[0]||t.target,M),e.emit("tap click",t),h<300&&u-r.lastClickTime<300&&e.emit("doubleTap doubleClick",t)}if(r.lastClickTime=ht(),Rt(()=>{e.destroyed||(e.allowClick=!0)}),!r.isTouched||!r.isMoved||!e.swipeDirection||a.diff===0&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset){r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;return}r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;let m;if(s.followFinger?m=l?e.translate:-e.translate:m=-r.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:m});return}let g=m>=-e.maxTranslate()&&!e.params.loop,b=0,p=e.slidesSizesGrid[0];for(let M=0;M=d[M]&&m=d[M])&&(b=M,p=d[d.length-1]-d[d.length-2])}let f=null,_=null;s.rewind&&(e.isBeginning?_=s.virtual&&s.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(f=0));let v=(m-d[b])/p,y=bs.longSwipesMs){if(!s.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(v>=s.longSwipesRatio?e.slideTo(s.rewind&&e.isEnd?f:b+y):e.slideTo(b)),e.swipeDirection==="prev"&&(v>1-s.longSwipesRatio?e.slideTo(b+y):_!==null&&v<0&&Math.abs(v)>s.longSwipesRatio?e.slideTo(_):e.slideTo(b))}else{if(!s.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(t.target===e.navigation.nextEl||t.target===e.navigation.prevEl)?t.target===e.navigation.nextEl?e.slideTo(b+y):e.slideTo(b):(e.swipeDirection==="next"&&e.slideTo(f!==null?f:b+y),e.swipeDirection==="prev"&&e.slideTo(_!==null?_:b))}}function Cc(){let i=this,{params:e,el:r}=i;if(r&&r.offsetWidth===0)return;e.breakpoints&&i.setBreakpoint();let{allowSlideNext:t,allowSlidePrev:n,snapGrid:o}=i,s=i.virtual&&i.params.virtual.enabled;i.allowSlideNext=!0,i.allowSlidePrev=!0,i.updateSize(),i.updateSlides(),i.updateSlidesClasses();let a=s&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&i.isEnd&&!i.isBeginning&&!i.params.centeredSlides&&!a?i.slideTo(i.slides.length-1,0,!1,!0):i.params.loop&&!s?i.slideToLoop(i.realIndex,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0),i.autoplay&&i.autoplay.running&&i.autoplay.paused&&(clearTimeout(i.autoplay.resizeTimeout),i.autoplay.resizeTimeout=setTimeout(()=>{i.autoplay&&i.autoplay.running&&i.autoplay.paused&&i.autoplay.resume()},500)),i.allowSlidePrev=n,i.allowSlideNext=t,i.params.watchOverflow&&o!==i.snapGrid&&i.checkOverflow()}function gg(i){let e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&i.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(i.stopPropagation(),i.stopImmediatePropagation())))}function bg(){let i=this,{wrapperEl:e,rtlTranslate:r,enabled:t}=i;if(!t)return;i.previousTranslate=i.translate,i.isHorizontal()?i.translate=-e.scrollLeft:i.translate=-e.scrollTop,i.translate===0&&(i.translate=0),i.updateActiveIndex(),i.updateSlidesClasses();let n,o=i.maxTranslate()-i.minTranslate();o===0?n=0:n=(i.translate-i.minTranslate())/o,n!==i.progress&&i.updateProgress(r?-i.translate:i.translate),i.emit("setTranslate",i.translate,!1)}function vg(i){let e=this;no(e,i.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function _g(){let i=this;i.documentTouchHandlerProceeded||(i.documentTouchHandlerProceeded=!0,i.params.touchReleaseOnEdges&&(i.el.style.touchAction="auto"))}var Ic=(i,e)=>{let r=Pe(),{params:t,el:n,wrapperEl:o,device:s}=i,a=!!t.nested,l=e==="on"?"addEventListener":"removeEventListener",d=e;r[l]("touchstart",i.onDocumentTouchStart,{passive:!1,capture:a}),n[l]("touchstart",i.onTouchStart,{passive:!1}),n[l]("pointerdown",i.onTouchStart,{passive:!1}),r[l]("touchmove",i.onTouchMove,{passive:!1,capture:a}),r[l]("pointermove",i.onTouchMove,{passive:!1,capture:a}),r[l]("touchend",i.onTouchEnd,{passive:!0}),r[l]("pointerup",i.onTouchEnd,{passive:!0}),r[l]("pointercancel",i.onTouchEnd,{passive:!0}),r[l]("touchcancel",i.onTouchEnd,{passive:!0}),r[l]("pointerout",i.onTouchEnd,{passive:!0}),r[l]("pointerleave",i.onTouchEnd,{passive:!0}),r[l]("contextmenu",i.onTouchEnd,{passive:!0}),(t.preventClicks||t.preventClicksPropagation)&&n[l]("click",i.onClick,!0),t.cssMode&&o[l]("scroll",i.onScroll),t.updateOnWindowResize?i[d](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",Cc,!0):i[d]("observerUpdate",Cc,!0),n[l]("load",i.onLoad,{capture:!0})};function yg(){let i=this,{params:e}=i;i.onTouchStart=fg.bind(i),i.onTouchMove=mg.bind(i),i.onTouchEnd=pg.bind(i),i.onDocumentTouchStart=_g.bind(i),e.cssMode&&(i.onScroll=bg.bind(i)),i.onClick=gg.bind(i),i.onLoad=vg.bind(i),Ic(i,"on")}function wg(){Ic(this,"off")}var xg={attachEvents:yg,detachEvents:wg},Ec=(i,e)=>i.grid&&e.grid&&e.grid.rows>1;function Cg(){let i=this,{realIndex:e,initialized:r,params:t,el:n}=i,o=t.breakpoints;if(!o||o&&Object.keys(o).length===0)return;let s=i.getBreakpoint(o,i.params.breakpointsBase,i.el);if(!s||i.currentBreakpoint===s)return;let l=(s in o?o[s]:void 0)||i.originalParams,d=Ec(i,t),c=Ec(i,l),u=i.params.grabCursor,h=l.grabCursor,m=t.enabled;d&&!c?(n.classList.remove(`${t.containerModifierClass}grid`,`${t.containerModifierClass}grid-column`),i.emitContainerClasses()):!d&&c&&(n.classList.add(`${t.containerModifierClass}grid`),(l.grid.fill&&l.grid.fill==="column"||!l.grid.fill&&t.grid.fill==="column")&&n.classList.add(`${t.containerModifierClass}grid-column`),i.emitContainerClasses()),u&&!h?i.unsetGrabCursor():!u&&h&&i.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(v=>{if(typeof l[v]>"u")return;let y=t[v]&&t[v].enabled,M=l[v]&&l[v].enabled;y&&!M&&i[v].disable(),!y&&M&&i[v].enable()});let g=l.direction&&l.direction!==t.direction,b=t.loop&&(l.slidesPerView!==t.slidesPerView||g),p=t.loop;g&&r&&i.changeDirection(),mt(i.params,l);let f=i.params.enabled,_=i.params.loop;Object.assign(i,{allowTouchMove:i.params.allowTouchMove,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev}),m&&!f?i.disable():!m&&f&&i.enable(),i.currentBreakpoint=s,i.emit("_beforeBreakpoint",l),r&&(b?(i.loopDestroy(),i.loopCreate(e),i.updateSlides()):!p&&_?(i.loopCreate(e),i.updateSlides()):p&&!_&&i.loopDestroy()),i.emit("breakpoint",l)}function Eg(i,e,r){if(e===void 0&&(e="window"),!i||e==="container"&&!r)return;let t=!1,n=Re(),o=e==="window"?n.innerHeight:r.clientHeight,s=Object.keys(i).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){let l=parseFloat(a.substr(1));return{value:o*l,point:a}}return{value:a,point:a}});s.sort((a,l)=>parseInt(a.value,10)-parseInt(l.value,10));for(let a=0;a{typeof t=="object"?Object.keys(t).forEach(n=>{t[n]&&r.push(e+n)}):typeof t=="string"&&r.push(e+t)}),r}function Dg(){let i=this,{classNames:e,params:r,rtl:t,el:n,device:o}=i,s=Tg(["initialized",r.direction,{"free-mode":i.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:t},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&r.grid.fill==="column"},{android:o.android},{ios:o.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);e.push(...s),n.classList.add(...e),i.emitContainerClasses()}function Ig(){let i=this,{el:e,classNames:r}=i;e.classList.remove(...r),i.emitContainerClasses()}var Mg={addClasses:Dg,removeClasses:Ig};function kg(){let i=this,{isLocked:e,params:r}=i,{slidesOffsetBefore:t}=r;if(t){let n=i.slides.length-1,o=i.slidesGrid[n]+i.slidesSizesGrid[n]+t*2;i.isLocked=i.size>o}else i.isLocked=i.snapGrid.length===1;r.allowSlideNext===!0&&(i.allowSlideNext=!i.isLocked),r.allowSlidePrev===!0&&(i.allowSlidePrev=!i.isLocked),e&&e!==i.isLocked&&(i.isEnd=!1),e!==i.isLocked&&i.emit(i.isLocked?"lock":"unlock")}var Ag={checkOverflow:kg},ro={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Rg(i,e){return function(t){t===void 0&&(t={});let n=Object.keys(t)[0],o=t[n];if(typeof o!="object"||o===null){mt(e,t);return}if(i[n]===!0&&(i[n]={enabled:!0}),n==="navigation"&&i[n]&&i[n].enabled&&!i[n].prevEl&&!i[n].nextEl&&(i[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&i[n]&&i[n].enabled&&!i[n].el&&(i[n].auto=!0),!(n in i&&"enabled"in o)){mt(e,t);return}typeof i[n]=="object"&&!("enabled"in i[n])&&(i[n].enabled=!0),i[n]||(i[n]={enabled:!1}),mt(e,t)}}var ta={eventsEmitter:Mp,update:Vp,translate:Gp,transition:Zp,slide:rg,loop:lg,grabCursor:ug,events:xg,breakpoints:Sg,checkOverflow:Ag,classes:Mg},ia={},Ct=class i{constructor(){let e,r;for(var t=arguments.length,n=new Array(t),o=0;o1){let c=[];return s.querySelectorAll(r.el).forEach(u=>{let h=mt({},r,{el:u});c.push(new i(h))}),c}let a=this;a.__swiper__=!0,a.support=Sc(),a.device=Tc({userAgent:r.userAgent}),a.browser=Tp(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],r.modules&&Array.isArray(r.modules)&&a.modules.push(...r.modules);let l={};a.modules.forEach(c=>{c({params:r,swiper:a,extendParams:Rg(r,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});let d=mt({},ro,l);return a.params=mt({},d,ia,r),a.originalParams=mt({},a.params),a.passedParams=mt({},r),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){let{slidesEl:r,params:t}=this,n=Ve(r,`.${t.slideClass}, swiper-slide`),o=fi(n[0]);return fi(e)-o}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(r=>r.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){let e=this,{slidesEl:r,params:t}=e;e.slides=Ve(r,`.${t.slideClass}, swiper-slide`)}enable(){let e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){let e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,r){let t=this;e=Math.min(Math.max(e,0),1);let n=t.minTranslate(),s=(t.maxTranslate()-n)*e+n;t.translateTo(s,typeof r>"u"?0:r),t.updateActiveIndex(),t.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let r=e.el.className.split(" ").filter(t=>t.indexOf("swiper")===0||t.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",r.join(" "))}getSlideClasses(e){let r=this;return r.destroyed?"":e.className.split(" ").filter(t=>t.indexOf("swiper-slide")===0||t.indexOf(r.params.slideClass)===0).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let r=[];e.slides.forEach(t=>{let n=e.getSlideClasses(t);r.push({slideEl:t,classNames:n}),e.emit("_slideClass",t,n)}),e.emit("_slideClasses",r)}slidesPerViewDynamic(e,r){e===void 0&&(e="current"),r===void 0&&(r=!1);let t=this,{params:n,slides:o,slidesGrid:s,slidesSizesGrid:a,size:l,activeIndex:d}=t,c=1;if(typeof n.slidesPerView=="number")return n.slidesPerView;if(n.centeredSlides){let u=o[d]?Math.ceil(o[d].swiperSlideSize):0,h;for(let m=d+1;ml&&(h=!0));for(let m=d-1;m>=0;m-=1)o[m]&&!h&&(u+=o[m].swiperSlideSize,c+=1,u>l&&(h=!0))}else if(e==="current")for(let u=d+1;u=0;u-=1)s[d]-s[u]{s.complete&&no(e,s)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function n(){let s=e.rtlTranslate?e.translate*-1:e.translate,a=Math.min(Math.max(s,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}let o;if(t.freeMode&&t.freeMode.enabled&&!t.cssMode)n(),t.autoHeight&&e.updateAutoHeight();else{if((t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!t.centeredSlides){let s=e.virtual&&t.virtual.enabled?e.virtual.slides:e.slides;o=e.slideTo(s.length-1,0,!1,!0)}else o=e.slideTo(e.activeIndex,0,!1,!0);o||n()}t.watchOverflow&&r!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,r){r===void 0&&(r=!0);let t=this,n=t.params.direction;return e||(e=n==="horizontal"?"vertical":"horizontal"),e===n||e!=="horizontal"&&e!=="vertical"||(t.el.classList.remove(`${t.params.containerModifierClass}${n}`),t.el.classList.add(`${t.params.containerModifierClass}${e}`),t.emitContainerClasses(),t.params.direction=e,t.slides.forEach(o=>{e==="vertical"?o.style.width="":o.style.height=""}),t.emit("changeDirection"),r&&t.update()),t}changeLanguageDirection(e){let r=this;r.rtl&&e==="rtl"||!r.rtl&&e==="ltr"||(r.rtl=e==="rtl",r.rtlTranslate=r.params.direction==="horizontal"&&r.rtl,r.rtl?(r.el.classList.add(`${r.params.containerModifierClass}rtl`),r.el.dir="rtl"):(r.el.classList.remove(`${r.params.containerModifierClass}rtl`),r.el.dir="ltr"),r.update())}mount(e){let r=this;if(r.mounted)return!0;let t=e||r.params.el;if(typeof t=="string"&&(t=document.querySelector(t)),!t)return!1;t.swiper=r,t.parentNode&&t.parentNode.host&&t.parentNode.host.nodeName===r.params.swiperElementNodeName.toUpperCase()&&(r.isElement=!0);let n=()=>`.${(r.params.wrapperClass||"").trim().split(" ").join(".")}`,s=t&&t.shadowRoot&&t.shadowRoot.querySelector?t.shadowRoot.querySelector(n()):Ve(t,n())[0];return!s&&r.params.createElements&&(s=Ze("div",r.params.wrapperClass),t.append(s),Ve(t,`.${r.params.slideClass}`).forEach(a=>{s.append(a)})),Object.assign(r,{el:t,wrapperEl:s,slidesEl:r.isElement&&!t.parentNode.host.slideSlots?t.parentNode.host:s,hostEl:r.isElement?t.parentNode.host:t,mounted:!0,rtl:t.dir.toLowerCase()==="rtl"||oi(t,"direction")==="rtl",rtlTranslate:r.params.direction==="horizontal"&&(t.dir.toLowerCase()==="rtl"||oi(t,"direction")==="rtl"),wrongRTL:oi(s,"display")==="-webkit-box"}),!0}init(e){let r=this;if(r.initialized||r.mount(e)===!1)return r;r.emit("beforeInit"),r.params.breakpoints&&r.setBreakpoint(),r.addClasses(),r.updateSize(),r.updateSlides(),r.params.watchOverflow&&r.checkOverflow(),r.params.grabCursor&&r.enabled&&r.setGrabCursor(),r.params.loop&&r.virtual&&r.params.virtual.enabled?r.slideTo(r.params.initialSlide+r.virtual.slidesBefore,0,r.params.runCallbacksOnInit,!1,!0):r.slideTo(r.params.initialSlide,0,r.params.runCallbacksOnInit,!1,!0),r.params.loop&&r.loopCreate(),r.attachEvents();let n=[...r.el.querySelectorAll('[loading="lazy"]')];return r.isElement&&n.push(...r.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(o=>{o.complete?no(r,o):o.addEventListener("load",s=>{no(r,s.target)})}),na(r),r.initialized=!0,na(r),r.emit("init"),r.emit("afterInit"),r}destroy(e,r){e===void 0&&(e=!0),r===void 0&&(r=!0);let t=this,{params:n,el:o,wrapperEl:s,slides:a}=t;return typeof t.params>"u"||t.destroyed||(t.emit("beforeDestroy"),t.initialized=!1,t.detachEvents(),n.loop&&t.loopDestroy(),r&&(t.removeClasses(),o.removeAttribute("style"),s.removeAttribute("style"),a&&a.length&&a.forEach(l=>{l.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),t.emit("destroy"),Object.keys(t.eventsListeners).forEach(l=>{t.off(l)}),e!==!1&&(t.el.swiper=null,_c(t)),t.destroyed=!0),null}static extendDefaults(e){mt(ia,e)}static get extendedDefaults(){return ia}static get defaults(){return ro}static installModule(e){i.prototype.__modules__||(i.prototype.__modules__=[]);let r=i.prototype.__modules__;typeof e=="function"&&r.indexOf(e)<0&&r.push(e)}static use(e){return Array.isArray(e)?(e.forEach(r=>i.installModule(r)),i):(i.installModule(e),i)}};Object.keys(ta).forEach(i=>{Object.keys(ta[i]).forEach(e=>{Ct.prototype[e]=ta[i][e]})});Ct.use([Dp,Ip]);function Mc(i){let{swiper:e,extendParams:r,on:t,emit:n}=i;r({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let o,s=Pe();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};let a=s.createElement("div");function l(g,b){let p=e.params.virtual;if(p.cache&&e.virtual.cache[b])return e.virtual.cache[b];let f;return p.renderSlide?(f=p.renderSlide.call(e,g,b),typeof f=="string"&&(a.innerHTML=f,f=a.children[0])):e.isElement?f=Ze("swiper-slide"):f=Ze("div",e.params.slideClass),f.setAttribute("data-swiper-slide-index",b),p.renderSlide||(f.innerHTML=g),p.cache&&(e.virtual.cache[b]=f),f}function d(g,b){let{slidesPerView:p,slidesPerGroup:f,centeredSlides:_,loop:v,initialSlide:y}=e.params;if(b&&!v&&y>0)return;let{addSlidesBefore:M,addSlidesAfter:k}=e.params.virtual,{from:H,to:T,slides:x,slidesGrid:S,offset:O}=e.virtual;e.params.cssMode||e.updateActiveIndex();let E=e.activeIndex||0,C;e.rtlTranslate?C="right":C=e.isHorizontal()?"left":"top";let D,V;_?(D=Math.floor(p/2)+f+k,V=Math.floor(p/2)+f+M):(D=p+(f-1)+k,V=(v?p:f)+M);let X=E-V,I=E+D;v||(X=Math.max(X,0),I=Math.min(I,x.length-1));let A=(e.slidesGrid[X]||0)-(e.slidesGrid[0]||0);v&&E>=V?(X-=V,_||(A+=e.slidesGrid[0])):v&&E{K.style[C]=`${A-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),n("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:A,from:X,to:I,slides:function(){let Ie=[];for(let at=X;at<=I;at+=1)Ie.push(x[at]);return Ie}()}),e.params.virtual.renderExternalUpdate?G():n("virtualUpdate");return}let de=[],N=[],$=K=>{let Ie=K;return K<0?Ie=x.length+K:Ie>=x.length&&(Ie=Ie-x.length),Ie};if(g)e.slides.filter(K=>K.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(K=>{K.remove()});else for(let K=H;K<=T;K+=1)if(KI){let Ie=$(K);e.slides.filter(at=>at.matches(`.${e.params.slideClass}[data-swiper-slide-index="${Ie}"], swiper-slide[data-swiper-slide-index="${Ie}"]`)).forEach(at=>{at.remove()})}let q=v?-x.length:0,Fe=v?x.length*2:x.length;for(let K=q;K=X&&K<=I){let Ie=$(K);typeof T>"u"||g?N.push(Ie):(K>T&&N.push(Ie),K{e.slidesEl.append(l(x[K],K))}),v)for(let K=de.length-1;K>=0;K-=1){let Ie=de[K];e.slidesEl.prepend(l(x[Ie],Ie))}else de.sort((K,Ie)=>Ie-K),de.forEach(K=>{e.slidesEl.prepend(l(x[K],K))});Ve(e.slidesEl,".swiper-slide, swiper-slide").forEach(K=>{K.style[C]=`${A-Math.abs(e.cssOverflowAdjustment())}px`}),G()}function c(g){if(typeof g=="object"&&"length"in g)for(let b=0;b{let M=_[y],k=M.getAttribute("data-swiper-slide-index");k&&M.setAttribute("data-swiper-slide-index",parseInt(k,10)+f),v[parseInt(y,10)+f]=M}),e.virtual.cache=v}d(!0),e.slideTo(p,0)}function h(g){if(typeof g>"u"||g===null)return;let b=e.activeIndex;if(Array.isArray(g))for(let p=g.length-1;p>=0;p-=1)e.params.virtual.cache&&(delete e.virtual.cache[g[p]],Object.keys(e.virtual.cache).forEach(f=>{f>g&&(e.virtual.cache[f-1]=e.virtual.cache[f],e.virtual.cache[f-1].setAttribute("data-swiper-slide-index",f-1),delete e.virtual.cache[f])})),e.virtual.slides.splice(g[p],1),g[p]{p>g&&(e.virtual.cache[p-1]=e.virtual.cache[p],e.virtual.cache[p-1].setAttribute("data-swiper-slide-index",p-1),delete e.virtual.cache[p])})),e.virtual.slides.splice(g,1),g{if(!e.params.virtual.enabled)return;let g;if(typeof e.passedParams.virtual.slides>"u"){let b=[...e.slidesEl.children].filter(p=>p.matches(`.${e.params.slideClass}, swiper-slide`));b&&b.length&&(e.virtual.slides=[...b],g=!0,b.forEach((p,f)=>{p.setAttribute("data-swiper-slide-index",f),e.virtual.cache[f]=p,p.remove()}))}g||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,d(!1,!0)}),t("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(o),o=setTimeout(()=>{d()},100)):d())}),t("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&ki(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:c,prependSlide:u,removeSlide:h,removeAllSlides:m,update:d})}function kc(i){let{swiper:e,extendParams:r,on:t,emit:n}=i,o=Pe(),s=Re();e.keyboard={enabled:!1},r({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function a(c){if(!e.enabled)return;let{rtlTranslate:u}=e,h=c;h.originalEvent&&(h=h.originalEvent);let m=h.keyCode||h.charCode,g=e.params.keyboard.pageUpDown,b=g&&m===33,p=g&&m===34,f=m===37,_=m===39,v=m===38,y=m===40;if(!e.allowSlideNext&&(e.isHorizontal()&&_||e.isVertical()&&y||p)||!e.allowSlidePrev&&(e.isHorizontal()&&f||e.isVertical()&&v||b))return!1;if(!(h.shiftKey||h.altKey||h.ctrlKey||h.metaKey)&&!(o.activeElement&&o.activeElement.nodeName&&(o.activeElement.nodeName.toLowerCase()==="input"||o.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(b||p||f||_||v||y)){let M=!1;if(Ot(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&Ot(e.el,`.${e.params.slideActiveClass}`).length===0)return;let k=e.el,H=k.clientWidth,T=k.clientHeight,x=s.innerWidth,S=s.innerHeight,O=Ai(k);u&&(O.left-=k.scrollLeft);let E=[[O.left,O.top],[O.left+H,O.top],[O.left,O.top+T],[O.left+H,O.top+T]];for(let C=0;C=0&&D[0]<=x&&D[1]>=0&&D[1]<=S){if(D[0]===0&&D[1]===0)continue;M=!0}}if(!M)return}e.isHorizontal()?((b||p||f||_)&&(h.preventDefault?h.preventDefault():h.returnValue=!1),((p||_)&&!u||(b||f)&&u)&&e.slideNext(),((b||f)&&!u||(p||_)&&u)&&e.slidePrev()):((b||p||v||y)&&(h.preventDefault?h.preventDefault():h.returnValue=!1),(p||y)&&e.slideNext(),(b||v)&&e.slidePrev()),n("keyPress",m)}}function l(){e.keyboard.enabled||(o.addEventListener("keydown",a),e.keyboard.enabled=!0)}function d(){e.keyboard.enabled&&(o.removeEventListener("keydown",a),e.keyboard.enabled=!1)}t("init",()=>{e.params.keyboard.enabled&&l()}),t("destroy",()=>{e.keyboard.enabled&&d()}),Object.assign(e.keyboard,{enable:l,disable:d})}function Ac(i){let{swiper:e,extendParams:r,on:t,emit:n}=i,o=Re();r({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let s,a=ht(),l,d=[];function c(v){let H=0,T=0,x=0,S=0;return"detail"in v&&(T=v.detail),"wheelDelta"in v&&(T=-v.wheelDelta/120),"wheelDeltaY"in v&&(T=-v.wheelDeltaY/120),"wheelDeltaX"in v&&(H=-v.wheelDeltaX/120),"axis"in v&&v.axis===v.HORIZONTAL_AXIS&&(H=T,T=0),x=H*10,S=T*10,"deltaY"in v&&(S=v.deltaY),"deltaX"in v&&(x=v.deltaX),v.shiftKey&&!x&&(x=S,S=0),(x||S)&&v.deltaMode&&(v.deltaMode===1?(x*=40,S*=40):(x*=800,S*=800)),x&&!H&&(H=x<1?-1:1),S&&!T&&(T=S<1?-1:1),{spinX:H,spinY:T,pixelX:x,pixelY:S}}function u(){e.enabled&&(e.mouseEntered=!0)}function h(){e.enabled&&(e.mouseEntered=!1)}function m(v){return e.params.mousewheel.thresholdDelta&&v.delta=6&&ht()-a<60?!0:(v.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),n("scroll",v.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),n("scroll",v.raw)),a=new o.Date().getTime(),!1)}function g(v){let y=e.params.mousewheel;if(v.direction<0){if(e.isEnd&&!e.params.loop&&y.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&y.releaseOnEdges)return!0;return!1}function b(v){let y=v,M=!0;if(!e.enabled||v.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;let k=e.params.mousewheel;e.params.cssMode&&y.preventDefault();let H=e.el;e.params.mousewheel.eventsTarget!=="container"&&(H=document.querySelector(e.params.mousewheel.eventsTarget));let T=H&&H.contains(y.target);if(!e.mouseEntered&&!T&&!k.releaseOnEdges)return!0;y.originalEvent&&(y=y.originalEvent);let x=0,S=e.rtlTranslate?-1:1,O=c(y);if(k.forceToAxis)if(e.isHorizontal())if(Math.abs(O.pixelX)>Math.abs(O.pixelY))x=-O.pixelX*S;else return!0;else if(Math.abs(O.pixelY)>Math.abs(O.pixelX))x=-O.pixelY;else return!0;else x=Math.abs(O.pixelX)>Math.abs(O.pixelY)?-O.pixelX*S:-O.pixelY;if(x===0)return!0;k.invert&&(x=-x);let E=e.getTranslate()+x*k.sensitivity;if(E>=e.minTranslate()&&(E=e.minTranslate()),E<=e.maxTranslate()&&(E=e.maxTranslate()),M=e.params.loop?!0:!(E===e.minTranslate()||E===e.maxTranslate()),M&&e.params.nested&&y.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){let C={time:ht(),delta:Math.abs(x),direction:Math.sign(x),raw:v};d.length>=2&&d.shift();let D=d.length?d[d.length-1]:void 0;if(d.push(C),D?(C.direction!==D.direction||C.delta>D.delta||C.time>D.time+150)&&m(C):m(C),g(C))return!0}else{let C={time:ht(),delta:Math.abs(x),direction:Math.sign(x)},D=l&&C.time=e.minTranslate()&&(V=e.minTranslate()),V<=e.maxTranslate()&&(V=e.maxTranslate()),e.setTransition(0),e.setTranslate(V),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!X&&e.isBeginning||!I&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:C.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(s),s=void 0,d.length>=15&&d.shift();let A=d.length?d[d.length-1]:void 0,G=d[0];if(d.push(C),A&&(C.delta>A.delta||C.direction!==A.direction))d.splice(0);else if(d.length>=15&&C.time-G.time<500&&G.delta-C.delta>=1&&C.delta<=6){let de=x>0?.8:.2;l=C,d.splice(0),s=Rt(()=>{e.slideToClosest(e.params.speed,!0,void 0,de)},0)}s||(s=Rt(()=>{l=C,d.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(D||n("scroll",y),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),k.releaseOnEdges&&(V===e.minTranslate()||V===e.maxTranslate()))return!0}}return y.preventDefault?y.preventDefault():y.returnValue=!1,!1}function p(v){let y=e.el;e.params.mousewheel.eventsTarget!=="container"&&(y=document.querySelector(e.params.mousewheel.eventsTarget)),y[v]("mouseenter",u),y[v]("mouseleave",h),y[v]("wheel",b)}function f(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",b),!0):e.mousewheel.enabled?!1:(p("addEventListener"),e.mousewheel.enabled=!0,!0)}function _(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,b),!0):e.mousewheel.enabled?(p("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}t("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&_(),e.params.mousewheel.enabled&&f()}),t("destroy",()=>{e.params.cssMode&&f(),e.mousewheel.enabled&&_()}),Object.assign(e.mousewheel,{enable:f,disable:_})}function an(i,e,r,t){return i.params.createElements&&Object.keys(t).forEach(n=>{if(!r[n]&&r.auto===!0){let o=Ve(i.el,`.${t[n]}`)[0];o||(o=Ze("div",t[n]),o.className=t[n],i.el.append(o)),r[n]=o,e[n]=o}}),r}function Rc(i){let{swiper:e,extendParams:r,on:t,emit:n}=i;r({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function o(g){let b;return g&&typeof g=="string"&&e.isElement&&(b=e.el.querySelector(g),b)?b:(g&&(typeof g=="string"&&(b=[...document.querySelectorAll(g)]),e.params.uniqueNavElements&&typeof g=="string"&&b&&b.length>1&&e.el.querySelectorAll(g).length===1?b=e.el.querySelector(g):b&&b.length===1&&(b=b[0])),g&&!b?g:b)}function s(g,b){let p=e.params.navigation;g=he(g),g.forEach(f=>{f&&(f.classList[b?"add":"remove"](...p.disabledClass.split(" ")),f.tagName==="BUTTON"&&(f.disabled=b),e.params.watchOverflow&&e.enabled&&f.classList[e.isLocked?"add":"remove"](p.lockClass))})}function a(){let{nextEl:g,prevEl:b}=e.navigation;if(e.params.loop){s(b,!1),s(g,!1);return}s(b,e.isBeginning&&!e.params.rewind),s(g,e.isEnd&&!e.params.rewind)}function l(g){g.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),n("navigationPrev"))}function d(g){g.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),n("navigationNext"))}function c(){let g=e.params.navigation;if(e.params.navigation=an(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(g.nextEl||g.prevEl))return;let b=o(g.nextEl),p=o(g.prevEl);Object.assign(e.navigation,{nextEl:b,prevEl:p}),b=he(b),p=he(p);let f=(_,v)=>{_&&_.addEventListener("click",v==="next"?d:l),!e.enabled&&_&&_.classList.add(...g.lockClass.split(" "))};b.forEach(_=>f(_,"next")),p.forEach(_=>f(_,"prev"))}function u(){let{nextEl:g,prevEl:b}=e.navigation;g=he(g),b=he(b);let p=(f,_)=>{f.removeEventListener("click",_==="next"?d:l),f.classList.remove(...e.params.navigation.disabledClass.split(" "))};g.forEach(f=>p(f,"next")),b.forEach(f=>p(f,"prev"))}t("init",()=>{e.params.navigation.enabled===!1?m():(c(),a())}),t("toEdge fromEdge lock unlock",()=>{a()}),t("destroy",()=>{u()}),t("enable disable",()=>{let{nextEl:g,prevEl:b}=e.navigation;if(g=he(g),b=he(b),e.enabled){a();return}[...g,...b].filter(p=>!!p).forEach(p=>p.classList.add(e.params.navigation.lockClass))}),t("click",(g,b)=>{let{nextEl:p,prevEl:f}=e.navigation;p=he(p),f=he(f);let _=b.target;if(e.params.navigation.hideOnClick&&!f.includes(_)&&!p.includes(_)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===_||e.pagination.el.contains(_)))return;let v;p.length?v=p[0].classList.contains(e.params.navigation.hiddenClass):f.length&&(v=f[0].classList.contains(e.params.navigation.hiddenClass)),n(v===!0?"navigationShow":"navigationHide"),[...p,...f].filter(y=>!!y).forEach(y=>y.classList.toggle(e.params.navigation.hiddenClass))}});let h=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),c(),a()},m=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),u()};Object.assign(e.navigation,{enable:h,disable:m,update:a,init:c,destroy:u})}function Et(i){return i===void 0&&(i=""),`.${i.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Oc(i){let{swiper:e,extendParams:r,on:t,emit:n}=i,o="swiper-pagination";r({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:f=>f,formatFractionTotal:f=>f,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,bullets:[]};let s,a=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function d(f,_){let{bulletActiveClass:v}=e.params.pagination;f&&(f=f[`${_==="prev"?"previous":"next"}ElementSibling`],f&&(f.classList.add(`${v}-${_}`),f=f[`${_==="prev"?"previous":"next"}ElementSibling`],f&&f.classList.add(`${v}-${_}-${_}`)))}function c(f){let _=f.target.closest(Et(e.params.pagination.bulletClass));if(!_)return;f.preventDefault();let v=fi(_)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===v)return;e.slideToLoop(v)}else e.slideTo(v)}function u(){let f=e.rtl,_=e.params.pagination;if(l())return;let v=e.pagination.el;v=he(v);let y,M,k=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,H=e.params.loop?Math.ceil(k/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(M=e.previousRealIndex||0,y=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(y=e.snapIndex,M=e.previousSnapIndex):(M=e.previousIndex||0,y=e.activeIndex||0),_.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){let T=e.pagination.bullets,x,S,O;if(_.dynamicBullets&&(s=Jn(T[0],e.isHorizontal()?"width":"height",!0),v.forEach(E=>{E.style[e.isHorizontal()?"width":"height"]=`${s*(_.dynamicMainBullets+4)}px`}),_.dynamicMainBullets>1&&M!==void 0&&(a+=y-(M||0),a>_.dynamicMainBullets-1?a=_.dynamicMainBullets-1:a<0&&(a=0)),x=Math.max(y-a,0),S=x+(Math.min(T.length,_.dynamicMainBullets)-1),O=(S+x)/2),T.forEach(E=>{let C=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(D=>`${_.bulletActiveClass}${D}`)].map(D=>typeof D=="string"&&D.includes(" ")?D.split(" "):D).flat();E.classList.remove(...C)}),v.length>1)T.forEach(E=>{let C=fi(E);C===y?E.classList.add(..._.bulletActiveClass.split(" ")):e.isElement&&E.setAttribute("part","bullet"),_.dynamicBullets&&(C>=x&&C<=S&&E.classList.add(...`${_.bulletActiveClass}-main`.split(" ")),C===x&&d(E,"prev"),C===S&&d(E,"next"))});else{let E=T[y];if(E&&E.classList.add(..._.bulletActiveClass.split(" ")),e.isElement&&T.forEach((C,D)=>{C.setAttribute("part",D===y?"bullet-active":"bullet")}),_.dynamicBullets){let C=T[x],D=T[S];for(let V=x;V<=S;V+=1)T[V]&&T[V].classList.add(...`${_.bulletActiveClass}-main`.split(" "));d(C,"prev"),d(D,"next")}}if(_.dynamicBullets){let E=Math.min(T.length,_.dynamicMainBullets+4),C=(s*E-s)/2-O*s,D=f?"right":"left";T.forEach(V=>{V.style[e.isHorizontal()?D:"top"]=`${C}px`})}}v.forEach((T,x)=>{if(_.type==="fraction"&&(T.querySelectorAll(Et(_.currentClass)).forEach(S=>{S.textContent=_.formatFractionCurrent(y+1)}),T.querySelectorAll(Et(_.totalClass)).forEach(S=>{S.textContent=_.formatFractionTotal(H)})),_.type==="progressbar"){let S;_.progressbarOpposite?S=e.isHorizontal()?"vertical":"horizontal":S=e.isHorizontal()?"horizontal":"vertical";let O=(y+1)/H,E=1,C=1;S==="horizontal"?E=O:C=O,T.querySelectorAll(Et(_.progressbarFillClass)).forEach(D=>{D.style.transform=`translate3d(0,0,0) scaleX(${E}) scaleY(${C})`,D.style.transitionDuration=`${e.params.speed}ms`})}_.type==="custom"&&_.renderCustom?(T.innerHTML=_.renderCustom(e,y+1,H),x===0&&n("paginationRender",T)):(x===0&&n("paginationRender",T),n("paginationUpdate",T)),e.params.watchOverflow&&e.enabled&&T.classList[e.isLocked?"add":"remove"](_.lockClass)})}function h(){let f=e.params.pagination;if(l())return;let _=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length,v=e.pagination.el;v=he(v);let y="";if(f.type==="bullets"){let M=e.params.loop?Math.ceil(_/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&M>_&&(M=_);for(let k=0;k`}f.type==="fraction"&&(f.renderFraction?y=f.renderFraction.call(e,f.currentClass,f.totalClass):y=` / `),f.type==="progressbar"&&(f.renderProgressbar?y=f.renderProgressbar.call(e,f.progressbarFillClass):y=``),e.pagination.bullets=[],v.forEach(M=>{f.type!=="custom"&&(M.innerHTML=y||""),f.type==="bullets"&&e.pagination.bullets.push(...M.querySelectorAll(Et(f.bulletClass)))}),f.type!=="custom"&&n("paginationRender",v[0])}function m(){e.params.pagination=an(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});let f=e.params.pagination;if(!f.el)return;let _;typeof f.el=="string"&&e.isElement&&(_=e.el.querySelector(f.el)),!_&&typeof f.el=="string"&&(_=[...document.querySelectorAll(f.el)]),_||(_=f.el),!(!_||_.length===0)&&(e.params.uniqueNavElements&&typeof f.el=="string"&&Array.isArray(_)&&_.length>1&&(_=[...e.el.querySelectorAll(f.el)],_.length>1&&(_=_.filter(v=>Ot(v,".swiper")[0]===e.el)[0])),Array.isArray(_)&&_.length===1&&(_=_[0]),Object.assign(e.pagination,{el:_}),_=he(_),_.forEach(v=>{f.type==="bullets"&&f.clickable&&v.classList.add(...(f.clickableClass||"").split(" ")),v.classList.add(f.modifierClass+f.type),v.classList.add(e.isHorizontal()?f.horizontalClass:f.verticalClass),f.type==="bullets"&&f.dynamicBullets&&(v.classList.add(`${f.modifierClass}${f.type}-dynamic`),a=0,f.dynamicMainBullets<1&&(f.dynamicMainBullets=1)),f.type==="progressbar"&&f.progressbarOpposite&&v.classList.add(f.progressbarOppositeClass),f.clickable&&v.addEventListener("click",c),e.enabled||v.classList.add(f.lockClass)}))}function g(){let f=e.params.pagination;if(l())return;let _=e.pagination.el;_&&(_=he(_),_.forEach(v=>{v.classList.remove(f.hiddenClass),v.classList.remove(f.modifierClass+f.type),v.classList.remove(e.isHorizontal()?f.horizontalClass:f.verticalClass),f.clickable&&(v.classList.remove(...(f.clickableClass||"").split(" ")),v.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(v=>v.classList.remove(...f.bulletActiveClass.split(" ")))}t("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;let f=e.params.pagination,{el:_}=e.pagination;_=he(_),_.forEach(v=>{v.classList.remove(f.horizontalClass,f.verticalClass),v.classList.add(e.isHorizontal()?f.horizontalClass:f.verticalClass)})}),t("init",()=>{e.params.pagination.enabled===!1?p():(m(),h(),u())}),t("activeIndexChange",()=>{typeof e.snapIndex>"u"&&u()}),t("snapIndexChange",()=>{u()}),t("snapGridLengthChange",()=>{h(),u()}),t("destroy",()=>{g()}),t("enable disable",()=>{let{el:f}=e.pagination;f&&(f=he(f),f.forEach(_=>_.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),t("lock unlock",()=>{u()}),t("click",(f,_)=>{let v=_.target,y=he(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&y&&y.length>0&&!v.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&v===e.navigation.nextEl||e.navigation.prevEl&&v===e.navigation.prevEl))return;let M=y[0].classList.contains(e.params.pagination.hiddenClass);n(M===!0?"paginationShow":"paginationHide"),y.forEach(k=>k.classList.toggle(e.params.pagination.hiddenClass))}});let b=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:f}=e.pagination;f&&(f=he(f),f.forEach(_=>_.classList.remove(e.params.pagination.paginationDisabledClass))),m(),h(),u()},p=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:f}=e.pagination;f&&(f=he(f),f.forEach(_=>_.classList.add(e.params.pagination.paginationDisabledClass))),g()};Object.assign(e.pagination,{enable:b,disable:p,render:h,update:u,init:m,destroy:g})}function Fc(i){let{swiper:e,extendParams:r,on:t,emit:n}=i,o=Pe(),s=!1,a=null,l=null,d,c,u,h;r({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;let{scrollbar:E,rtlTranslate:C}=e,{dragEl:D,el:V}=E,X=e.params.scrollbar,I=e.params.loop?e.progressLoop:e.progress,A=c,G=(u-c)*I;C?(G=-G,G>0?(A=c-G,G=0):-G+c>u&&(A=u+G)):G<0?(A=c+G,G=0):G+c>u&&(A=u-G),e.isHorizontal()?(D.style.transform=`translate3d(${G}px, 0, 0)`,D.style.width=`${A}px`):(D.style.transform=`translate3d(0px, ${G}px, 0)`,D.style.height=`${A}px`),X.hide&&(clearTimeout(a),V.style.opacity=1,a=setTimeout(()=>{V.style.opacity=0,V.style.transitionDuration="400ms"},1e3))}function g(E){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${E}ms`)}function b(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;let{scrollbar:E}=e,{dragEl:C,el:D}=E;C.style.width="",C.style.height="",u=e.isHorizontal()?D.offsetWidth:D.offsetHeight,h=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=u*h:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?C.style.width=`${c}px`:C.style.height=`${c}px`,h>=1?D.style.display="none":D.style.display="",e.params.scrollbar.hide&&(D.style.opacity=0),e.params.watchOverflow&&e.enabled&&E.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function p(E){return e.isHorizontal()?E.clientX:E.clientY}function f(E){let{scrollbar:C,rtlTranslate:D}=e,{el:V}=C,X;X=(p(E)-Ai(V)[e.isHorizontal()?"left":"top"]-(d!==null?d:c/2))/(u-c),X=Math.max(Math.min(X,1),0),D&&(X=1-X);let I=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*X;e.updateProgress(I),e.setTranslate(I),e.updateActiveIndex(),e.updateSlidesClasses()}function _(E){let C=e.params.scrollbar,{scrollbar:D,wrapperEl:V}=e,{el:X,dragEl:I}=D;s=!0,d=E.target===I?p(E)-E.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,E.preventDefault(),E.stopPropagation(),V.style.transitionDuration="100ms",I.style.transitionDuration="100ms",f(E),clearTimeout(l),X.style.transitionDuration="0ms",C.hide&&(X.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),n("scrollbarDragStart",E)}function v(E){let{scrollbar:C,wrapperEl:D}=e,{el:V,dragEl:X}=C;s&&(E.preventDefault&&E.cancelable?E.preventDefault():E.returnValue=!1,f(E),D.style.transitionDuration="0ms",V.style.transitionDuration="0ms",X.style.transitionDuration="0ms",n("scrollbarDragMove",E))}function y(E){let C=e.params.scrollbar,{scrollbar:D,wrapperEl:V}=e,{el:X}=D;s&&(s=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",V.style.transitionDuration=""),C.hide&&(clearTimeout(l),l=Rt(()=>{X.style.opacity=0,X.style.transitionDuration="400ms"},1e3)),n("scrollbarDragEnd",E),C.snapOnRelease&&e.slideToClosest())}function M(E){let{scrollbar:C,params:D}=e,V=C.el;if(!V)return;let X=V,I=D.passiveListeners?{passive:!1,capture:!1}:!1,A=D.passiveListeners?{passive:!0,capture:!1}:!1;if(!X)return;let G=E==="on"?"addEventListener":"removeEventListener";X[G]("pointerdown",_,I),o[G]("pointermove",v,I),o[G]("pointerup",y,A)}function k(){!e.params.scrollbar.el||!e.scrollbar.el||M("on")}function H(){!e.params.scrollbar.el||!e.scrollbar.el||M("off")}function T(){let{scrollbar:E,el:C}=e;e.params.scrollbar=an(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});let D=e.params.scrollbar;if(!D.el)return;let V;if(typeof D.el=="string"&&e.isElement&&(V=e.el.querySelector(D.el)),!V&&typeof D.el=="string"){if(V=o.querySelectorAll(D.el),!V.length)return}else V||(V=D.el);e.params.uniqueNavElements&&typeof D.el=="string"&&V.length>1&&C.querySelectorAll(D.el).length===1&&(V=C.querySelector(D.el)),V.length>0&&(V=V[0]),V.classList.add(e.isHorizontal()?D.horizontalClass:D.verticalClass);let X;V&&(X=V.querySelector(Et(e.params.scrollbar.dragClass)),X||(X=Ze("div",e.params.scrollbar.dragClass),V.append(X))),Object.assign(E,{el:V,dragEl:X}),D.draggable&&k(),V&&V.classList[e.enabled?"remove":"add"](...ri(e.params.scrollbar.lockClass))}function x(){let E=e.params.scrollbar,C=e.scrollbar.el;C&&C.classList.remove(...ri(e.isHorizontal()?E.horizontalClass:E.verticalClass)),H()}t("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;let E=e.params.scrollbar,{el:C}=e.scrollbar;C=he(C),C.forEach(D=>{D.classList.remove(E.horizontalClass,E.verticalClass),D.classList.add(e.isHorizontal()?E.horizontalClass:E.verticalClass)})}),t("init",()=>{e.params.scrollbar.enabled===!1?O():(T(),b(),m())}),t("update resize observerUpdate lock unlock changeDirection",()=>{b()}),t("setTranslate",()=>{m()}),t("setTransition",(E,C)=>{g(C)}),t("enable disable",()=>{let{el:E}=e.scrollbar;E&&E.classList[e.enabled?"remove":"add"](...ri(e.params.scrollbar.lockClass))}),t("destroy",()=>{x()});let S=()=>{e.el.classList.remove(...ri(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...ri(e.params.scrollbar.scrollbarDisabledClass)),T(),b(),m()},O=()=>{e.el.classList.add(...ri(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...ri(e.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(e.scrollbar,{enable:S,disable:O,updateSize:b,setTranslate:m,init:T,destroy:x})}function Pc(i){let{swiper:e,extendParams:r,on:t}=i;r({parallax:{enabled:!1}});let n="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",o=(l,d)=>{let{rtl:c}=e,u=c?-1:1,h=l.getAttribute("data-swiper-parallax")||"0",m=l.getAttribute("data-swiper-parallax-x"),g=l.getAttribute("data-swiper-parallax-y"),b=l.getAttribute("data-swiper-parallax-scale"),p=l.getAttribute("data-swiper-parallax-opacity"),f=l.getAttribute("data-swiper-parallax-rotate");if(m||g?(m=m||"0",g=g||"0"):e.isHorizontal()?(m=h,g="0"):(g=h,m="0"),m.indexOf("%")>=0?m=`${parseInt(m,10)*d*u}%`:m=`${m*d*u}px`,g.indexOf("%")>=0?g=`${parseInt(g,10)*d}%`:g=`${g*d}px`,typeof p<"u"&&p!==null){let v=p-(p-1)*(1-Math.abs(d));l.style.opacity=v}let _=`translate3d(${m}, ${g}, 0px)`;if(typeof b<"u"&&b!==null){let v=b-(b-1)*(1-Math.abs(d));_+=` scale(${v})`}if(f&&typeof f<"u"&&f!==null){let v=f*d*-1;_+=` rotate(${v}deg)`}l.style.transform=_},s=()=>{let{el:l,slides:d,progress:c,snapGrid:u,isElement:h}=e,m=Ve(l,n);e.isElement&&m.push(...Ve(e.hostEl,n)),m.forEach(g=>{o(g,c)}),d.forEach((g,b)=>{let p=g.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(p+=Math.ceil(b/2)-c*(u.length-1)),p=Math.min(Math.max(p,-1),1),g.querySelectorAll(`${n}, [data-swiper-parallax-rotate]`).forEach(f=>{o(f,p)})})},a=function(l){l===void 0&&(l=e.params.speed);let{el:d,hostEl:c}=e,u=[...d.querySelectorAll(n)];e.isElement&&u.push(...c.querySelectorAll(n)),u.forEach(h=>{let m=parseInt(h.getAttribute("data-swiper-parallax-duration"),10)||l;l===0&&(m=0),h.style.transitionDuration=`${m}ms`})};t("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),t("init",()=>{e.params.parallax.enabled&&s()}),t("setTranslate",()=>{e.params.parallax.enabled&&s()}),t("setTransition",(l,d)=>{e.params.parallax.enabled&&a(d)})}function Nc(i){let{swiper:e,extendParams:r,on:t,emit:n}=i,o=Re();r({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let s=1,a=!1,l,d,c=[],u={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},h={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},m={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},g=1;Object.defineProperty(e.zoom,"scale",{get(){return g},set(N){if(g!==N){let $=u.imageEl,q=u.slideEl;n("zoomChange",N,$,q)}g=N}});function b(){if(c.length<2)return 1;let N=c[0].pageX,$=c[0].pageY,q=c[1].pageX,Fe=c[1].pageY;return Math.sqrt((q-N)**2+(Fe-$)**2)}function p(){let N=e.params.zoom,$=u.imageWrapEl.getAttribute("data-swiper-zoom")||N.maxRatio;if(N.limitToOriginalSize&&u.imageEl&&u.imageEl.naturalWidth){let q=u.imageEl.naturalWidth/u.imageEl.offsetWidth;return Math.min(q,$)}return $}function f(){if(c.length<2)return{x:null,y:null};let N=u.imageEl.getBoundingClientRect();return[(c[0].pageX+(c[1].pageX-c[0].pageX)/2-N.x-o.scrollX)/s,(c[0].pageY+(c[1].pageY-c[0].pageY)/2-N.y-o.scrollY)/s]}function _(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function v(N){let $=_();return!!(N.target.matches($)||e.slides.filter(q=>q.contains(N.target)).length>0)}function y(N){let $=`.${e.params.zoom.containerClass}`;return!!(N.target.matches($)||[...e.hostEl.querySelectorAll($)].filter(q=>q.contains(N.target)).length>0)}function M(N){if(N.pointerType==="mouse"&&c.splice(0,c.length),!v(N))return;let $=e.params.zoom;if(l=!1,d=!1,c.push(N),!(c.length<2)){if(l=!0,u.scaleStart=b(),!u.slideEl){u.slideEl=N.target.closest(`.${e.params.slideClass}, swiper-slide`),u.slideEl||(u.slideEl=e.slides[e.activeIndex]);let q=u.slideEl.querySelector(`.${$.containerClass}`);if(q&&(q=q.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=q,q?u.imageWrapEl=Ot(u.imageEl,`.${$.containerClass}`)[0]:u.imageWrapEl=void 0,!u.imageWrapEl){u.imageEl=void 0;return}u.maxRatio=p()}if(u.imageEl){let[q,Fe]=f();u.originX=q,u.originY=Fe,u.imageEl.style.transitionDuration="0ms"}a=!0}}function k(N){if(!v(N))return;let $=e.params.zoom,q=e.zoom,Fe=c.findIndex(K=>K.pointerId===N.pointerId);Fe>=0&&(c[Fe]=N),!(c.length<2)&&(d=!0,u.scaleMove=b(),u.imageEl&&(q.scale=u.scaleMove/u.scaleStart*s,q.scale>u.maxRatio&&(q.scale=u.maxRatio-1+(q.scale-u.maxRatio+1)**.5),q.scale<$.minRatio&&(q.scale=$.minRatio+1-($.minRatio-q.scale+1)**.5),u.imageEl.style.transform=`translate3d(0,0,0) scale(${q.scale})`))}function H(N){if(!v(N)||N.pointerType==="mouse"&&N.type==="pointerout")return;let $=e.params.zoom,q=e.zoom,Fe=c.findIndex(K=>K.pointerId===N.pointerId);Fe>=0&&c.splice(Fe,1),!(!l||!d)&&(l=!1,d=!1,u.imageEl&&(q.scale=Math.max(Math.min(q.scale,u.maxRatio),$.minRatio),u.imageEl.style.transitionDuration=`${e.params.speed}ms`,u.imageEl.style.transform=`translate3d(0,0,0) scale(${q.scale})`,s=q.scale,a=!1,q.scale>1&&u.slideEl?u.slideEl.classList.add(`${$.zoomedSlideClass}`):q.scale<=1&&u.slideEl&&u.slideEl.classList.remove(`${$.zoomedSlideClass}`),q.scale===1&&(u.originX=0,u.originY=0,u.slideEl=void 0)))}let T;function x(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function S(){clearTimeout(T),e.touchEventsData.preventTouchMoveFromPointerMove=!0,T=setTimeout(()=>{x()})}function O(N){let $=e.device;if(!u.imageEl||h.isTouched)return;$.android&&N.cancelable&&N.preventDefault(),h.isTouched=!0;let q=c.length>0?c[0]:N;h.touchesStart.x=q.pageX,h.touchesStart.y=q.pageY}function E(N){if(!v(N)||!y(N))return;let $=e.zoom;if(!u.imageEl||!h.isTouched||!u.slideEl)return;h.isMoved||(h.width=u.imageEl.offsetWidth||u.imageEl.clientWidth,h.height=u.imageEl.offsetHeight||u.imageEl.clientHeight,h.startX=Kn(u.imageWrapEl,"x")||0,h.startY=Kn(u.imageWrapEl,"y")||0,u.slideWidth=u.slideEl.offsetWidth,u.slideHeight=u.slideEl.offsetHeight,u.imageWrapEl.style.transitionDuration="0ms");let q=h.width*$.scale,Fe=h.height*$.scale;if(q0?c[0].pageX:N.pageX,h.touchesCurrent.y=c.length>0?c[0].pageY:N.pageY,Math.max(Math.abs(h.touchesCurrent.x-h.touchesStart.x),Math.abs(h.touchesCurrent.y-h.touchesStart.y))>5&&(e.allowClick=!1),!h.isMoved&&!a){if(e.isHorizontal()&&(Math.floor(h.minX)===Math.floor(h.startX)&&h.touchesCurrent.xh.touchesStart.x)){h.isTouched=!1,x();return}if(!e.isHorizontal()&&(Math.floor(h.minY)===Math.floor(h.startY)&&h.touchesCurrent.yh.touchesStart.y)){h.isTouched=!1,x();return}}N.cancelable&&N.preventDefault(),N.stopPropagation(),S(),h.isMoved=!0;let Ie=($.scale-s)/(u.maxRatio-e.params.zoom.minRatio),{originX:at,originY:qi}=u;h.currentX=h.touchesCurrent.x-h.touchesStart.x+h.startX+Ie*(h.width-at*2),h.currentY=h.touchesCurrent.y-h.touchesStart.y+h.startY+Ie*(h.height-qi*2),h.currentXh.maxX&&(h.currentX=h.maxX-1+(h.currentX-h.maxX+1)**.8),h.currentYh.maxY&&(h.currentY=h.maxY-1+(h.currentY-h.maxY+1)**.8),m.prevPositionX||(m.prevPositionX=h.touchesCurrent.x),m.prevPositionY||(m.prevPositionY=h.touchesCurrent.y),m.prevTime||(m.prevTime=Date.now()),m.x=(h.touchesCurrent.x-m.prevPositionX)/(Date.now()-m.prevTime)/2,m.y=(h.touchesCurrent.y-m.prevPositionY)/(Date.now()-m.prevTime)/2,Math.abs(h.touchesCurrent.x-m.prevPositionX)<2&&(m.x=0),Math.abs(h.touchesCurrent.y-m.prevPositionY)<2&&(m.y=0),m.prevPositionX=h.touchesCurrent.x,m.prevPositionY=h.touchesCurrent.y,m.prevTime=Date.now(),u.imageWrapEl.style.transform=`translate3d(${h.currentX}px, ${h.currentY}px,0)`}function C(){let N=e.zoom;if(!u.imageEl)return;if(!h.isTouched||!h.isMoved){h.isTouched=!1,h.isMoved=!1;return}h.isTouched=!1,h.isMoved=!1;let $=300,q=300,Fe=m.x*$,K=h.currentX+Fe,Ie=m.y*q,at=h.currentY+Ie;m.x!==0&&($=Math.abs((K-h.currentX)/m.x)),m.y!==0&&(q=Math.abs((at-h.currentY)/m.y));let qi=Math.max($,q);h.currentX=K,h.currentY=at;let Mr=h.width*N.scale,Qt=h.height*N.scale;h.minX=Math.min(u.slideWidth/2-Mr/2,0),h.maxX=-h.minX,h.minY=Math.min(u.slideHeight/2-Qt/2,0),h.maxY=-h.minY,h.currentX=Math.max(Math.min(h.currentX,h.maxX),h.minX),h.currentY=Math.max(Math.min(h.currentY,h.maxY),h.minY),u.imageWrapEl.style.transitionDuration=`${qi}ms`,u.imageWrapEl.style.transform=`translate3d(${h.currentX}px, ${h.currentY}px,0)`}function D(){let N=e.zoom;u.slideEl&&e.activeIndex!==e.slides.indexOf(u.slideEl)&&(u.imageEl&&(u.imageEl.style.transform="translate3d(0,0,0) scale(1)"),u.imageWrapEl&&(u.imageWrapEl.style.transform="translate3d(0,0,0)"),u.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),N.scale=1,s=1,u.slideEl=void 0,u.imageEl=void 0,u.imageWrapEl=void 0,u.originX=0,u.originY=0)}function V(N){let $=e.zoom,q=e.params.zoom;if(!u.slideEl){N&&N.target&&(u.slideEl=N.target.closest(`.${e.params.slideClass}, swiper-slide`)),u.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?u.slideEl=Ve(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:u.slideEl=e.slides[e.activeIndex]);let kn=u.slideEl.querySelector(`.${q.containerClass}`);kn&&(kn=kn.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=kn,kn?u.imageWrapEl=Ot(u.imageEl,`.${q.containerClass}`)[0]:u.imageWrapEl=void 0}if(!u.imageEl||!u.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),u.slideEl.classList.add(`${q.zoomedSlideClass}`);let Fe,K,Ie,at,qi,Mr,Qt,xi,ad,ld,dd,cd,kr,Ar,vs,_s,ys,ws;typeof h.touchesStart.x>"u"&&N?(Fe=N.pageX,K=N.pageY):(Fe=h.touchesStart.x,K=h.touchesStart.y);let Mn=typeof N=="number"?N:null;s===1&&Mn&&(Fe=void 0,K=void 0);let ud=p();$.scale=Mn||ud,s=Mn||ud,N&&!(s===1&&Mn)?(ys=u.slideEl.offsetWidth,ws=u.slideEl.offsetHeight,Ie=Ai(u.slideEl).left+o.scrollX,at=Ai(u.slideEl).top+o.scrollY,qi=Ie+ys/2-Fe,Mr=at+ws/2-K,ad=u.imageEl.offsetWidth||u.imageEl.clientWidth,ld=u.imageEl.offsetHeight||u.imageEl.clientHeight,dd=ad*$.scale,cd=ld*$.scale,kr=Math.min(ys/2-dd/2,0),Ar=Math.min(ws/2-cd/2,0),vs=-kr,_s=-Ar,Qt=qi*$.scale,xi=Mr*$.scale,Qtvs&&(Qt=vs),xi_s&&(xi=_s)):(Qt=0,xi=0),Mn&&$.scale===1&&(u.originX=0,u.originY=0),u.imageWrapEl.style.transitionDuration="300ms",u.imageWrapEl.style.transform=`translate3d(${Qt}px, ${xi}px,0)`,u.imageEl.style.transitionDuration="300ms",u.imageEl.style.transform=`translate3d(0,0,0) scale(${$.scale})`}function X(){let N=e.zoom,$=e.params.zoom;if(!u.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?u.slideEl=Ve(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:u.slideEl=e.slides[e.activeIndex];let q=u.slideEl.querySelector(`.${$.containerClass}`);q&&(q=q.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=q,q?u.imageWrapEl=Ot(u.imageEl,`.${$.containerClass}`)[0]:u.imageWrapEl=void 0}!u.imageEl||!u.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),N.scale=1,s=1,u.imageWrapEl.style.transitionDuration="300ms",u.imageWrapEl.style.transform="translate3d(0,0,0)",u.imageEl.style.transitionDuration="300ms",u.imageEl.style.transform="translate3d(0,0,0) scale(1)",u.slideEl.classList.remove(`${$.zoomedSlideClass}`),u.slideEl=void 0,u.originX=0,u.originY=0)}function I(N){let $=e.zoom;$.scale&&$.scale!==1?X():V(N)}function A(){let N=e.params.passiveListeners?{passive:!0,capture:!1}:!1,$=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:N,activeListenerWithCapture:$}}function G(){let N=e.zoom;if(N.enabled)return;N.enabled=!0;let{passiveListener:$,activeListenerWithCapture:q}=A();e.wrapperEl.addEventListener("pointerdown",M,$),e.wrapperEl.addEventListener("pointermove",k,q),["pointerup","pointercancel","pointerout"].forEach(Fe=>{e.wrapperEl.addEventListener(Fe,H,$)}),e.wrapperEl.addEventListener("pointermove",E,q)}function de(){let N=e.zoom;if(!N.enabled)return;N.enabled=!1;let{passiveListener:$,activeListenerWithCapture:q}=A();e.wrapperEl.removeEventListener("pointerdown",M,$),e.wrapperEl.removeEventListener("pointermove",k,q),["pointerup","pointercancel","pointerout"].forEach(Fe=>{e.wrapperEl.removeEventListener(Fe,H,$)}),e.wrapperEl.removeEventListener("pointermove",E,q)}t("init",()=>{e.params.zoom.enabled&&G()}),t("destroy",()=>{de()}),t("touchStart",(N,$)=>{e.zoom.enabled&&O($)}),t("touchEnd",(N,$)=>{e.zoom.enabled&&C()}),t("doubleTap",(N,$)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&I($)}),t("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&D()}),t("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&D()}),Object.assign(e.zoom,{enable:G,disable:de,in:V,out:X,toggle:I})}function Lc(i){let{swiper:e,extendParams:r,on:t}=i;r({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function n(d,c){let u=function(){let b,p,f;return(_,v)=>{for(p=-1,b=_.length;b-p>1;)f=b+p>>1,_[f]<=v?p=f:b=f;return b}}();this.x=d,this.y=c,this.lastIndex=d.length-1;let h,m;return this.interpolate=function(b){return b?(m=u(this.x,b),h=m-1,(b-this.x[h])*(this.y[m]-this.y[h])/(this.x[m]-this.x[h])+this.y[h]):0},this}function o(d){e.controller.spline=e.params.loop?new n(e.slidesGrid,d.slidesGrid):new n(e.snapGrid,d.snapGrid)}function s(d,c){let u=e.controller.control,h,m,g=e.constructor;function b(p){if(p.destroyed)return;let f=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(o(p),m=-e.controller.spline.interpolate(-f)),(!m||e.params.controller.by==="container")&&(h=(p.maxTranslate()-p.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(h)||!Number.isFinite(h))&&(h=1),m=(f-e.minTranslate())*h+p.minTranslate()),e.params.controller.inverse&&(m=p.maxTranslate()-m),p.updateProgress(m),p.setTranslate(m,e),p.updateActiveIndex(),p.updateSlidesClasses()}if(Array.isArray(u))for(let p=0;p{b.updateAutoHeight()}),mi(b.wrapperEl,()=>{h&&b.transitionEnd()})))}if(Array.isArray(h))for(m=0;m{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){let d=document.querySelector(e.params.controller.control);if(d&&d.swiper)e.controller.control=d.swiper;else if(d){let c=u=>{e.controller.control=u.detail[0],e.update(),d.removeEventListener("init",c)};d.addEventListener("init",c)}return}e.controller.control=e.params.controller.control}),t("update",()=>{l()}),t("resize",()=>{l()}),t("observerUpdate",()=>{l()}),t("setTranslate",(d,c,u)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(c,u)}),t("setTransition",(d,c,u)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(c,u)}),Object.assign(e.controller,{setTranslate:s,setTransition:a})}function jc(i){let{swiper:e,extendParams:r,on:t}=i;r({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let n=null,o,s,a=new Date().getTime();function l(I){let A=n;A.length!==0&&(A.innerHTML="",A.innerHTML=I)}function d(I){I===void 0&&(I=16);let A=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(I).replace(/x/g,A)}function c(I){I=he(I),I.forEach(A=>{A.setAttribute("tabIndex","0")})}function u(I){I=he(I),I.forEach(A=>{A.setAttribute("tabIndex","-1")})}function h(I,A){I=he(I),I.forEach(G=>{G.setAttribute("role",A)})}function m(I,A){I=he(I),I.forEach(G=>{G.setAttribute("aria-roledescription",A)})}function g(I,A){I=he(I),I.forEach(G=>{G.setAttribute("aria-controls",A)})}function b(I,A){I=he(I),I.forEach(G=>{G.setAttribute("aria-label",A)})}function p(I,A){I=he(I),I.forEach(G=>{G.setAttribute("id",A)})}function f(I,A){I=he(I),I.forEach(G=>{G.setAttribute("aria-live",A)})}function _(I){I=he(I),I.forEach(A=>{A.setAttribute("aria-disabled",!0)})}function v(I){I=he(I),I.forEach(A=>{A.setAttribute("aria-disabled",!1)})}function y(I){if(I.keyCode!==13&&I.keyCode!==32)return;let A=e.params.a11y,G=I.target;if(!(e.pagination&&e.pagination.el&&(G===e.pagination.el||e.pagination.el.contains(I.target))&&!I.target.matches(Et(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){let de=he(e.navigation.prevEl);he(e.navigation.nextEl).includes(G)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?l(A.lastSlideMessage):l(A.nextSlideMessage)),de.includes(G)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?l(A.firstSlideMessage):l(A.prevSlideMessage))}e.pagination&&G.matches(Et(e.params.pagination.bulletClass))&&G.click()}}function M(){if(e.params.loop||e.params.rewind||!e.navigation)return;let{nextEl:I,prevEl:A}=e.navigation;A&&(e.isBeginning?(_(A),u(A)):(v(A),c(A))),I&&(e.isEnd?(_(I),u(I)):(v(I),c(I)))}function k(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function H(){return k()&&e.params.pagination.clickable}function T(){let I=e.params.a11y;k()&&e.pagination.bullets.forEach(A=>{e.params.pagination.clickable&&(c(A),e.params.pagination.renderBullet||(h(A,"button"),b(A,I.paginationBulletMessage.replace(/\{\{index\}\}/,fi(A)+1)))),A.matches(Et(e.params.pagination.bulletActiveClass))?A.setAttribute("aria-current","true"):A.removeAttribute("aria-current")})}let x=(I,A,G)=>{c(I),I.tagName!=="BUTTON"&&(h(I,"button"),I.addEventListener("keydown",y)),b(I,G),g(I,A)},S=I=>{s&&s!==I.target&&!s.contains(I.target)&&(o=!0),e.a11y.clicked=!0},O=()=>{o=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},E=I=>{a=new Date().getTime()},C=I=>{if(e.a11y.clicked||new Date().getTime()-a<100)return;let A=I.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!A||!e.slides.includes(A))return;s=A;let G=e.slides.indexOf(A)===e.activeIndex,de=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(A);G||de||I.sourceCapabilities&&I.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{o||(e.slideTo(e.slides.indexOf(A),0),o=!1)}))},D=()=>{let I=e.params.a11y;I.itemRoleDescriptionMessage&&m(e.slides,I.itemRoleDescriptionMessage),I.slideRole&&h(e.slides,I.slideRole);let A=e.slides.length;I.slideLabelMessage&&e.slides.forEach((G,de)=>{let N=e.params.loop?parseInt(G.getAttribute("data-swiper-slide-index"),10):de,$=I.slideLabelMessage.replace(/\{\{index\}\}/,N+1).replace(/\{\{slidesLength\}\}/,A);b(G,$)})},V=()=>{let I=e.params.a11y;e.el.append(n);let A=e.el;I.containerRoleDescriptionMessage&&m(A,I.containerRoleDescriptionMessage),I.containerMessage&&b(A,I.containerMessage);let G=e.wrapperEl,de=I.id||G.getAttribute("id")||`swiper-wrapper-${d(16)}`,N=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";p(G,de),f(G,N),D();let{nextEl:$,prevEl:q}=e.navigation?e.navigation:{};$=he($),q=he(q),$&&$.forEach(K=>x(K,de,I.nextSlideMessage)),q&&q.forEach(K=>x(K,de,I.prevSlideMessage)),H()&&he(e.pagination.el).forEach(Ie=>{Ie.addEventListener("keydown",y)}),Pe().addEventListener("visibilitychange",E),e.el.addEventListener("focus",C,!0),e.el.addEventListener("focus",C,!0),e.el.addEventListener("pointerdown",S,!0),e.el.addEventListener("pointerup",O,!0)};function X(){n&&n.remove();let{nextEl:I,prevEl:A}=e.navigation?e.navigation:{};I=he(I),A=he(A),I&&I.forEach(de=>de.removeEventListener("keydown",y)),A&&A.forEach(de=>de.removeEventListener("keydown",y)),H()&&he(e.pagination.el).forEach(N=>{N.removeEventListener("keydown",y)}),Pe().removeEventListener("visibilitychange",E),e.el.removeEventListener("focus",C,!0),e.el.removeEventListener("pointerdown",S,!0),e.el.removeEventListener("pointerup",O,!0)}t("beforeInit",()=>{n=Ze("span",e.params.a11y.notificationClass),n.setAttribute("aria-live","assertive"),n.setAttribute("aria-atomic","true")}),t("afterInit",()=>{e.params.a11y.enabled&&V()}),t("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&D()}),t("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&M()}),t("paginationUpdate",()=>{e.params.a11y.enabled&&T()}),t("destroy",()=>{e.params.a11y.enabled&&X()})}function zc(i){let{swiper:e,extendParams:r,on:t}=i;r({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let n=!1,o={},s=m=>m.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),a=m=>{let g=Re(),b;m?b=new URL(m):b=g.location;let p=b.pathname.slice(1).split("/").filter(y=>y!==""),f=p.length,_=p[f-2],v=p[f-1];return{key:_,value:v}},l=(m,g)=>{let b=Re();if(!n||!e.params.history.enabled)return;let p;e.params.url?p=new URL(e.params.url):p=b.location;let f=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${g}"]`):e.slides[g],_=s(f.getAttribute("data-history"));if(e.params.history.root.length>0){let y=e.params.history.root;y[y.length-1]==="/"&&(y=y.slice(0,y.length-1)),_=`${y}/${m?`${m}/`:""}${_}`}else p.pathname.includes(m)||(_=`${m?`${m}/`:""}${_}`);e.params.history.keepQuery&&(_+=p.search);let v=b.history.state;v&&v.value===_||(e.params.history.replaceState?b.history.replaceState({value:_},null,_):b.history.pushState({value:_},null,_))},d=(m,g,b)=>{if(g)for(let p=0,f=e.slides.length;p{o=a(e.params.url),d(e.params.speed,o.value,!1)},u=()=>{let m=Re();if(e.params.history){if(!m.history||!m.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(n=!0,o=a(e.params.url),!o.key&&!o.value){e.params.history.replaceState||m.addEventListener("popstate",c);return}d(0,o.value,e.params.runCallbacksOnInit),e.params.history.replaceState||m.addEventListener("popstate",c)}},h=()=>{let m=Re();e.params.history.replaceState||m.removeEventListener("popstate",c)};t("init",()=>{e.params.history.enabled&&u()}),t("destroy",()=>{e.params.history.enabled&&h()}),t("transitionEnd _freeModeNoMomentumRelease",()=>{n&&l(e.params.history.key,e.activeIndex)}),t("slideChange",()=>{n&&e.params.cssMode&&l(e.params.history.key,e.activeIndex)})}function Vc(i){let{swiper:e,extendParams:r,emit:t,on:n}=i,o=!1,s=Pe(),a=Re();r({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(h,m){if(e.virtual&&e.params.virtual.enabled){let g=e.slides.filter(p=>p.getAttribute("data-hash")===m)[0];return g?parseInt(g.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(Ve(e.slidesEl,`.${e.params.slideClass}[data-hash="${m}"], swiper-slide[data-hash="${m}"]`)[0])}}});let l=()=>{t("hashChange");let h=s.location.hash.replace("#",""),m=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],g=m?m.getAttribute("data-hash"):"";if(h!==g){let b=e.params.hashNavigation.getSlideIndex(e,h);if(typeof b>"u"||Number.isNaN(b))return;e.slideTo(b)}},d=()=>{if(!o||!e.params.hashNavigation.enabled)return;let h=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],m=h?h.getAttribute("data-hash")||h.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&a.history&&a.history.replaceState?(a.history.replaceState(null,null,`#${m}`||""),t("hashSet")):(s.location.hash=m||"",t("hashSet"))},c=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;o=!0;let h=s.location.hash.replace("#","");if(h){let g=e.params.hashNavigation.getSlideIndex(e,h);e.slideTo(g||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&a.addEventListener("hashchange",l)},u=()=>{e.params.hashNavigation.watchState&&a.removeEventListener("hashchange",l)};n("init",()=>{e.params.hashNavigation.enabled&&c()}),n("destroy",()=>{e.params.hashNavigation.enabled&&u()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{o&&d()}),n("slideChange",()=>{o&&e.params.cssMode&&d()})}function Bc(i){let{swiper:e,extendParams:r,on:t,emit:n,params:o}=i;e.autoplay={running:!1,paused:!1,timeLeft:0},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let s,a,l=o&&o.autoplay?o.autoplay.delay:3e3,d=o&&o.autoplay?o.autoplay.delay:3e3,c,u=new Date().getTime(),h,m,g,b,p,f,_;function v(A){!e||e.destroyed||!e.wrapperEl||A.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",v),!_&&S())}let y=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?h=!0:h&&(d=c,h=!1);let A=e.autoplay.paused?c:u+d-new Date().getTime();e.autoplay.timeLeft=A,n("autoplayTimeLeft",A,A/l),a=requestAnimationFrame(()=>{y()})},M=()=>{let A;return e.virtual&&e.params.virtual.enabled?A=e.slides.filter(de=>de.classList.contains("swiper-slide-active"))[0]:A=e.slides[e.activeIndex],A?parseInt(A.getAttribute("data-swiper-autoplay"),10):void 0},k=A=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),y();let G=typeof A>"u"?e.params.autoplay.delay:A;l=e.params.autoplay.delay,d=e.params.autoplay.delay;let de=M();!Number.isNaN(de)&&de>0&&typeof A>"u"&&(G=de,l=de,d=de),c=G;let N=e.params.speed,$=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(N,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,N,!0,!0),n("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(N,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,N,!0,!0),n("autoplay")),e.params.cssMode&&(u=new Date().getTime(),requestAnimationFrame(()=>{k()})))};return G>0?(clearTimeout(s),s=setTimeout(()=>{$()},G)):requestAnimationFrame(()=>{$()}),G},H=()=>{u=new Date().getTime(),e.autoplay.running=!0,k(),n("autoplayStart")},T=()=>{e.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(a),n("autoplayStop")},x=(A,G)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(s),A||(f=!0);let de=()=>{n("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",v):S()};if(e.autoplay.paused=!0,G){p&&(c=e.params.autoplay.delay),p=!1,de();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-u),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),de())},S=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(u=new Date().getTime(),f?(f=!1,k(c)):k(),e.autoplay.paused=!1,n("autoplayResume"))},O=()=>{if(e.destroyed||!e.autoplay.running)return;let A=Pe();A.visibilityState==="hidden"&&(f=!0,x(!0)),A.visibilityState==="visible"&&S()},E=A=>{A.pointerType==="mouse"&&(f=!0,_=!0,!(e.animating||e.autoplay.paused)&&x(!0))},C=A=>{A.pointerType==="mouse"&&(_=!1,e.autoplay.paused&&S())},D=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",E),e.el.addEventListener("pointerleave",C))},V=()=>{e.el.removeEventListener("pointerenter",E),e.el.removeEventListener("pointerleave",C)},X=()=>{Pe().addEventListener("visibilitychange",O)},I=()=>{Pe().removeEventListener("visibilitychange",O)};t("init",()=>{e.params.autoplay.enabled&&(D(),X(),H())}),t("destroy",()=>{V(),I(),e.autoplay.running&&T()}),t("_freeModeStaticRelease",()=>{(g||f)&&S()}),t("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?T():x(!0,!0)}),t("beforeTransitionStart",(A,G,de)=>{e.destroyed||!e.autoplay.running||(de||!e.params.autoplay.disableOnInteraction?x(!0,!0):T())}),t("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){T();return}m=!0,g=!1,f=!1,b=setTimeout(()=>{f=!0,g=!0,x(!0)},200)}}),t("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!m)){if(clearTimeout(b),clearTimeout(s),e.params.autoplay.disableOnInteraction){g=!1,m=!1;return}g&&e.params.cssMode&&S(),g=!1,m=!1}}),t("slideChange",()=>{e.destroyed||!e.autoplay.running||(p=!0)}),Object.assign(e.autoplay,{start:H,stop:T,pause:x,resume:S})}function Hc(i){let{swiper:e,extendParams:r,on:t}=i;r({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let n=!1,o=!1;e.thumbs={swiper:null};function s(){let d=e.thumbs.swiper;if(!d||d.destroyed)return;let c=d.clickedIndex,u=d.clickedSlide;if(u&&u.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof c>"u"||c===null)return;let h;d.params.loop?h=parseInt(d.clickedSlide.getAttribute("data-swiper-slide-index"),10):h=c,e.params.loop?e.slideToLoop(h):e.slideTo(h)}function a(){let{thumbs:d}=e.params;if(n)return!1;n=!0;let c=e.constructor;if(d.swiper instanceof c)e.thumbs.swiper=d.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update();else if(sn(d.swiper)){let u=Object.assign({},d.swiper);Object.assign(u,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new c(u),o=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",s),!0}function l(d){let c=e.thumbs.swiper;if(!c||c.destroyed)return;let u=c.params.slidesPerView==="auto"?c.slidesPerViewDynamic():c.params.slidesPerView,h=1,m=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(h=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(h=1),h=Math.floor(h),c.slides.forEach(p=>p.classList.remove(m)),c.params.loop||c.params.virtual&&c.params.virtual.enabled)for(let p=0;p{f.classList.add(m)});else for(let p=0;py.getAttribute("data-swiper-slide-index")===`${e.realIndex}`)[0];f=c.slides.indexOf(v),_=e.activeIndex>e.previousIndex?"next":"prev"}else f=e.realIndex,_=f>e.previousIndex?"next":"prev";b&&(f+=_==="next"?g:-1*g),c.visibleSlidesIndexes&&c.visibleSlidesIndexes.indexOf(f)<0&&(c.params.centeredSlides?f>p?f=f-Math.floor(u/2)+1:f=f+Math.floor(u/2)-1:f>p&&c.params.slidesPerGroup,c.slideTo(f,d?0:void 0))}}t("beforeInit",()=>{let{thumbs:d}=e.params;if(!(!d||!d.swiper))if(typeof d.swiper=="string"||d.swiper instanceof HTMLElement){let c=Pe(),u=()=>{let m=typeof d.swiper=="string"?c.querySelector(d.swiper):d.swiper;if(m&&m.swiper)d.swiper=m.swiper,a(),l(!0);else if(m){let g=b=>{d.swiper=b.detail[0],m.removeEventListener("init",g),a(),l(!0),d.swiper.update(),e.update()};m.addEventListener("init",g)}return m},h=()=>{if(e.destroyed)return;u()||requestAnimationFrame(h)};requestAnimationFrame(h)}else a(),l(!0)}),t("slideChange update resize observerUpdate",()=>{l()}),t("setTransition",(d,c)=>{let u=e.thumbs.swiper;!u||u.destroyed||u.setTransition(c)}),t("beforeDestroy",()=>{let d=e.thumbs.swiper;!d||d.destroyed||o&&d.destroy()}),Object.assign(e.thumbs,{init:a,update:l})}function Uc(i){let{swiper:e,extendParams:r,emit:t,once:n}=i;r({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function o(){if(e.params.cssMode)return;let l=e.getTranslate();e.setTranslate(l),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function s(){if(e.params.cssMode)return;let{touchEventsData:l,touches:d}=e;l.velocities.length===0&&l.velocities.push({position:d[e.isHorizontal()?"startX":"startY"],time:l.touchStartTime}),l.velocities.push({position:d[e.isHorizontal()?"currentX":"currentY"],time:ht()})}function a(l){let{currentPos:d}=l;if(e.params.cssMode)return;let{params:c,wrapperEl:u,rtlTranslate:h,snapGrid:m,touchEventsData:g}=e,p=ht()-g.touchStartTime;if(d<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(d>-e.maxTranslate()){e.slides.length1){let T=g.velocities.pop(),x=g.velocities.pop(),S=T.position-x.position,O=T.time-x.time;e.velocity=S/O,e.velocity/=2,Math.abs(e.velocity)150||ht()-T.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,g.velocities.length=0;let f=1e3*c.freeMode.momentumRatio,_=e.velocity*f,v=e.translate+_;h&&(v=-v);let y=!1,M,k=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio,H;if(ve.minTranslate())c.freeMode.momentumBounce?(v-e.minTranslate()>k&&(v=e.minTranslate()+k),M=e.minTranslate(),y=!0,g.allowMomentumBounce=!0):v=e.minTranslate(),c.loop&&c.centeredSlides&&(H=!0);else if(c.freeMode.sticky){let T;for(let x=0;x-v){T=x;break}Math.abs(m[T]-v){e.loopFix()}),e.velocity!==0){if(h?f=Math.abs((-v-e.translate)/e.velocity):f=Math.abs((v-e.translate)/e.velocity),c.freeMode.sticky){let T=Math.abs((h?-v:v)-e.translate),x=e.slidesSizesGrid[e.activeIndex];T{!e||e.destroyed||!g.allowMomentumBounce||(t("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(M),mi(u,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(t("_freeModeNoMomentumRelease"),e.updateProgress(v),e.setTransition(f),e.setTranslate(v),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,mi(u,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(v),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&t("_freeModeNoMomentumRelease");(!c.freeMode.momentum||p>=c.longSwipesMs)&&(t("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:o,onTouchMove:s,onTouchEnd:a}})}function $c(i){let{swiper:e,extendParams:r,on:t}=i;r({grid:{rows:1,fill:"column"}});let n,o,s,a,l=()=>{let b=e.params.spaceBetween;return typeof b=="string"&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*e.size:typeof b=="string"&&(b=parseFloat(b)),b},d=b=>{let{slidesPerView:p}=e.params,{rows:f,fill:_}=e.params.grid,v=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:b.length;s=Math.floor(v/f),Math.floor(v/f)===v/f?n=v:n=Math.ceil(v/f)*f,p!=="auto"&&_==="row"&&(n=Math.max(n,p*f)),o=n/f},c=()=>{e.slides&&e.slides.forEach(b=>{b.swiperSlideGridSet&&(b.style.height="",b.style[e.getDirectionLabel("margin-top")]="")})},u=(b,p,f)=>{let{slidesPerGroup:_}=e.params,v=l(),{rows:y,fill:M}=e.params.grid,k=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:f.length,H,T,x;if(M==="row"&&_>1){let S=Math.floor(b/(_*y)),O=b-y*_*S,E=S===0?_:Math.min(Math.ceil((k-S*y*_)/y),_);x=Math.floor(O/E),T=O-x*E+S*_,H=T+x*n/y,p.style.order=H}else M==="column"?(T=Math.floor(b/y),x=b-T*y,(T>s||T===s&&x===y-1)&&(x+=1,x>=y&&(x=0,T+=1))):(x=Math.floor(b/o),T=b-x*o);p.row=x,p.column=T,p.style.height=`calc((100% - ${(y-1)*v}px) / ${y})`,p.style[e.getDirectionLabel("margin-top")]=x!==0?v&&`${v}px`:"",p.swiperSlideGridSet=!0},h=(b,p)=>{let{centeredSlides:f,roundLengths:_}=e.params,v=l(),{rows:y}=e.params.grid;if(e.virtualSize=(b+v)*n,e.virtualSize=Math.ceil(e.virtualSize/y)-v,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+v}px`),f){let M=[];for(let k=0;k{a=e.params.grid&&e.params.grid.rows>1},g=()=>{let{params:b,el:p}=e,f=b.grid&&b.grid.rows>1;a&&!f?(p.classList.remove(`${b.containerModifierClass}grid`,`${b.containerModifierClass}grid-column`),s=1,e.emitContainerClasses()):!a&&f&&(p.classList.add(`${b.containerModifierClass}grid`),b.grid.fill==="column"&&p.classList.add(`${b.containerModifierClass}grid-column`),e.emitContainerClasses()),a=f};t("init",m),t("update",g),e.grid={initSlides:d,unsetSlides:c,updateSlide:u,updateWrapperSize:h}}function Og(i){let e=this,{params:r,slidesEl:t}=e;r.loop&&e.loopDestroy();let n=o=>{if(typeof o=="string"){let s=document.createElement("div");s.innerHTML=o,t.append(s.children[0]),s.innerHTML=""}else t.append(o)};if(typeof i=="object"&&"length"in i)for(let o=0;o{if(typeof a=="string"){let l=document.createElement("div");l.innerHTML=a,n.prepend(l.children[0]),l.innerHTML=""}else n.prepend(a)};if(typeof i=="object"&&"length"in i){for(let a=0;a=a){r.appendSlide(e);return}let l=s>i?s+1:s,d=[];for(let c=a-1;c>=i;c-=1){let u=r.slides[c];u.remove(),d.unshift(u)}if(typeof e=="object"&&"length"in e){for(let c=0;ci?s+e.length:s}else o.append(e);for(let c=0;c{if(r.params.effect!==e)return;r.classNames.push(`${r.params.containerModifierClass}${e}`),a&&a()&&r.classNames.push(`${r.params.containerModifierClass}3d`);let u=s?s():{};Object.assign(r.params,u),Object.assign(r.originalParams,u)}),t("setTranslate",()=>{r.params.effect===e&&n()}),t("setTransition",(u,h)=>{r.params.effect===e&&o(h)}),t("transitionEnd",()=>{if(r.params.effect===e&&l){if(!d||!d().slideShadows)return;r.slides.forEach(u=>{u.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(h=>h.remove())}),l()}});let c;t("virtualUpdate",()=>{r.params.effect===e&&(r.slides.length||(c=!0),requestAnimationFrame(()=>{c&&r.slides&&r.slides.length&&(n(),c=!1)}))})}function qt(i,e){let r=pt(e);return r!==e&&(r.style.backfaceVisibility="hidden",r.style["-webkit-backface-visibility"]="hidden"),r}function pi(i){let{swiper:e,duration:r,transformElements:t,allSlides:n}=i,{activeIndex:o}=e,s=a=>a.parentElement?a.parentElement:e.slides.filter(d=>d.shadowRoot&&d.shadowRoot===a.parentNode)[0];if(e.params.virtualTranslate&&r!==0){let a=!1,l;n?l=t:l=t.filter(d=>{let c=d.classList.contains("swiper-slide-transform")?s(d):d;return e.getSlideIndex(c)===o}),l.forEach(d=>{mi(d,()=>{if(a||!e||e.destroyed)return;a=!0,e.animating=!1;let c=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(c)})})}}function Gc(i){let{swiper:e,extendParams:r,on:t}=i;r({fadeEffect:{crossFade:!1}}),St({effect:"fade",swiper:e,on:t,setTranslate:()=>{let{slides:s}=e,a=e.params.fadeEffect;for(let l=0;l{let a=e.slides.map(l=>pt(l));a.forEach(l=>{l.style.transitionDuration=`${s}ms`}),pi({swiper:e,duration:s,transformElements:a,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Yc(i){let{swiper:e,extendParams:r,on:t}=i;r({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});let n=(l,d,c)=>{let u=c?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),h=c?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");u||(u=Ze("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"left":"top"}`.split(" ")),l.append(u)),h||(h=Ze("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"right":"bottom"}`.split(" ")),l.append(h)),u&&(u.style.opacity=Math.max(-d,0)),h&&(h.style.opacity=Math.max(d,0))};St({effect:"cube",swiper:e,on:t,setTranslate:()=>{let{el:l,wrapperEl:d,slides:c,width:u,height:h,rtlTranslate:m,size:g,browser:b}=e,p=e.params.cubeEffect,f=e.isHorizontal(),_=e.virtual&&e.params.virtual.enabled,v=0,y;p.shadow&&(f?(y=e.wrapperEl.querySelector(".swiper-cube-shadow"),y||(y=Ze("div","swiper-cube-shadow"),e.wrapperEl.append(y)),y.style.height=`${u}px`):(y=l.querySelector(".swiper-cube-shadow"),y||(y=Ze("div","swiper-cube-shadow"),l.append(y))));for(let k=0;k-1&&(v=T*90+O*90,m&&(v=-T*90-O*90),e.browser&&e.browser.need3dFix&&Math.abs(v)/90%2===1&&(v+=.001)),H.style.transform=V,p.slideShadows&&n(H,O,f)}if(d.style.transformOrigin=`50% 50% -${g/2}px`,d.style["-webkit-transform-origin"]=`50% 50% -${g/2}px`,p.shadow)if(f)y.style.transform=`translate3d(0px, ${u/2+p.shadowOffset}px, ${-u/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${p.shadowScale})`;else{let k=Math.abs(v)-Math.floor(Math.abs(v)/90)*90,H=1.5-(Math.sin(k*2*Math.PI/360)/2+Math.cos(k*2*Math.PI/360)/2),T=p.shadowScale,x=p.shadowScale/H,S=p.shadowOffset;y.style.transform=`scale3d(${T}, 1, ${x}) translate3d(0px, ${h/2+S}px, ${-h/2/x}px) rotateX(-89.99deg)`}let M=(b.isSafari||b.isWebView)&&b.needPerspectiveFix?-g/2:0;d.style.transform=`translate3d(0px,0,${M}px) rotateX(${e.isHorizontal()?0:v}deg) rotateY(${e.isHorizontal()?-v:0}deg)`,d.style.setProperty("--swiper-cube-translate-z",`${M}px`)},setTransition:l=>{let{el:d,slides:c}=e;if(c.forEach(u=>{u.style.transitionDuration=`${l}ms`,u.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(h=>{h.style.transitionDuration=`${l}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){let u=d.querySelector(".swiper-cube-shadow");u&&(u.style.transitionDuration=`${l}ms`)}},recreateShadows:()=>{let l=e.isHorizontal();e.slides.forEach(d=>{let c=Math.max(Math.min(d.progress,1),-1);n(d,c,l)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Xt(i,e,r){let t=`swiper-slide-shadow${r?`-${r}`:""}${i?` swiper-slide-shadow-${i}`:""}`,n=pt(e),o=n.querySelector(`.${t.split(" ").join(".")}`);return o||(o=Ze("div",t.split(" ")),n.append(o)),o}function qc(i){let{swiper:e,extendParams:r,on:t}=i;r({flipEffect:{slideShadows:!0,limitRotation:!0}});let n=(l,d)=>{let c=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),u=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");c||(c=Xt("flip",l,e.isHorizontal()?"left":"top")),u||(u=Xt("flip",l,e.isHorizontal()?"right":"bottom")),c&&(c.style.opacity=Math.max(-d,0)),u&&(u.style.opacity=Math.max(d,0))};St({effect:"flip",swiper:e,on:t,setTranslate:()=>{let{slides:l,rtlTranslate:d}=e,c=e.params.flipEffect;for(let u=0;u{let d=e.slides.map(c=>pt(c));d.forEach(c=>{c.style.transitionDuration=`${l}ms`,c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${l}ms`})}),pi({swiper:e,duration:l,transformElements:d})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(l=>{let d=l.progress;e.params.flipEffect.limitRotation&&(d=Math.max(Math.min(l.progress,1),-1)),n(l,d)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Xc(i){let{swiper:e,extendParams:r,on:t}=i;r({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),St({effect:"coverflow",swiper:e,on:t,setTranslate:()=>{let{width:s,height:a,slides:l,slidesSizesGrid:d}=e,c=e.params.coverflowEffect,u=e.isHorizontal(),h=e.translate,m=u?-h+s/2:-h+a/2,g=u?c.rotate:-c.rotate,b=c.depth;for(let p=0,f=l.length;p0?k:0),I&&(I.style.opacity=-k>0?-k:0)}}},setTransition:s=>{e.slides.map(l=>pt(l)).forEach(l=>{l.style.transitionDuration=`${s}ms`,l.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>{d.style.transitionDuration=`${s}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function Zc(i){let{swiper:e,extendParams:r,on:t}=i;r({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});let n=a=>typeof a=="string"?a:`${a}px`;St({effect:"creative",swiper:e,on:t,setTranslate:()=>{let{slides:a,wrapperEl:l,slidesSizesGrid:d}=e,c=e.params.creativeEffect,{progressMultiplier:u}=c,h=e.params.centeredSlides;if(h){let m=d[0]/2-e.params.slidesOffsetBefore||0;l.style.transform=`translateX(calc(50% - ${m}px))`}for(let m=0;m0&&(k=c.prev,M=!0),v.forEach((C,D)=>{v[D]=`calc(${C}px + (${n(k.translate[D])} * ${Math.abs(p*u)}))`}),y.forEach((C,D)=>{let V=k.rotate[D]*Math.abs(p*u);e.browser&&e.browser.need3dFix&&Math.abs(V)/90%2===1&&(V+=.001),y[D]=V}),g.style.zIndex=-Math.abs(Math.round(b))+a.length;let H=v.join(", "),T=`rotateX(${y[0]}deg) rotateY(${y[1]}deg) rotateZ(${y[2]}deg)`,x=f<0?`scale(${1+(1-k.scale)*f*u})`:`scale(${1-(1-k.scale)*f*u})`,S=f<0?1+(1-k.opacity)*f*u:1-(1-k.opacity)*f*u,O=`translate3d(${H}) ${T} ${x}`;if(M&&k.shadow||!M){let C=g.querySelector(".swiper-slide-shadow");if(!C&&k.shadow&&(C=Xt("creative",g)),C){let D=c.shadowPerProgress?p*(1/c.limitProgress):p;C.style.opacity=Math.min(Math.max(Math.abs(D),0),1)}}let E=qt(c,g);E.style.transform=O,E.style.opacity=S,k.origin&&(E.style.transformOrigin=k.origin)}},setTransition:a=>{let l=e.slides.map(d=>pt(d));l.forEach(d=>{d.style.transitionDuration=`${a}ms`,d.querySelectorAll(".swiper-slide-shadow").forEach(c=>{c.style.transitionDuration=`${a}ms`})}),pi({swiper:e,duration:a,transformElements:l,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function Kc(i){let{swiper:e,extendParams:r,on:t}=i;r({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),St({effect:"cards",swiper:e,on:t,setTranslate:()=>{let{slides:s,activeIndex:a,rtlTranslate:l}=e,d=e.params.cardsEffect,{startTranslate:c,isTouched:u}=e.touchEventsData,h=l?-e.translate:e.translate;for(let m=0;m0&&p<1&&(u||e.params.cssMode)&&h-1&&(u||e.params.cssMode)&&h>c;if(x||S){let D=(1-Math.abs((Math.abs(p)-.5)/.5))**.5;k+=-28*p*D,M+=-.5*D,H+=96*D,v=`${-25*D*Math.abs(p)}%`}if(p<0?_=`calc(${_}px ${l?"-":"+"} (${H*Math.abs(p)}%))`:p>0?_=`calc(${_}px ${l?"-":"+"} (-${H*Math.abs(p)}%))`:_=`${_}px`,!e.isHorizontal()){let D=v;v=_,_=D}let O=p<0?`${1+(1-M)*p}`:`${1-(1-M)*p}`,E=` - translate3d(${_}, ${v}, ${y}px) - rotateZ(${d.rotate?l?-k:k:0}deg) - scale(${O}) - `;if(d.slideShadows){let D=g.querySelector(".swiper-slide-shadow");D||(D=Xt("cards",g)),D&&(D.style.opacity=Math.min(Math.max((Math.abs(p)-.5)/.5,0),1))}g.style.zIndex=-Math.abs(Math.round(b))+s.length;let C=qt(d,g);C.style.transform=E}},setTransition:s=>{let a=e.slides.map(l=>pt(l));a.forEach(l=>{l.style.transitionDuration=`${s}ms`,l.querySelectorAll(".swiper-slide-shadow").forEach(d=>{d.style.transitionDuration=`${s}ms`})}),pi({swiper:e,duration:s,transformElements:a})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}var jg=[Mc,kc,Ac,Rc,Oc,Fc,Pc,Nc,Lc,jc,zc,Vc,Bc,Hc,Uc,$c,Wc,Gc,Yc,qc,Xc,Zc,Kc];Ct.use(jg);var ln=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Ri(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"&&!i.__swiper__}function oo(i,e){let r=["__proto__","constructor","prototype"];Object.keys(e).filter(t=>r.indexOf(t)<0).forEach(t=>{typeof i[t]>"u"?i[t]=e[t]:Ri(e[t])&&Ri(i[t])&&Object.keys(e[t]).length>0?e[t].__swiper__?i[t]=e[t]:oo(i[t],e[t]):i[t]=e[t]})}function Qc(i){return i===void 0&&(i={}),i.navigation&&typeof i.navigation.nextEl>"u"&&typeof i.navigation.prevEl>"u"}function Jc(i){return i===void 0&&(i={}),i.pagination&&typeof i.pagination.el>"u"}function eu(i){return i===void 0&&(i={}),i.scrollbar&&typeof i.scrollbar.el>"u"}function dn(i){return i===void 0&&(i=""),i.replace(/-[a-z]/g,e=>e.toUpperCase().replace("-",""))}function tu(i){let{swiper:e,slides:r,passedParams:t,changedParams:n,nextEl:o,prevEl:s,scrollbarEl:a,paginationEl:l}=i,d=n.filter(x=>x!=="children"&&x!=="direction"&&x!=="wrapperClass"),{params:c,pagination:u,navigation:h,scrollbar:m,virtual:g,thumbs:b}=e,p,f,_,v,y,M,k,H;n.includes("thumbs")&&t.thumbs&&t.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(p=!0),n.includes("controller")&&t.controller&&t.controller.control&&c.controller&&!c.controller.control&&(f=!0),n.includes("pagination")&&t.pagination&&(t.pagination.el||l)&&(c.pagination||c.pagination===!1)&&u&&!u.el&&(_=!0),n.includes("scrollbar")&&t.scrollbar&&(t.scrollbar.el||a)&&(c.scrollbar||c.scrollbar===!1)&&m&&!m.el&&(v=!0),n.includes("navigation")&&t.navigation&&(t.navigation.prevEl||s)&&(t.navigation.nextEl||o)&&(c.navigation||c.navigation===!1)&&h&&!h.prevEl&&!h.nextEl&&(y=!0);let T=x=>{e[x]&&(e[x].destroy(),x==="navigation"?(e.isElement&&(e[x].prevEl.remove(),e[x].nextEl.remove()),c[x].prevEl=void 0,c[x].nextEl=void 0,e[x].prevEl=void 0,e[x].nextEl=void 0):(e.isElement&&e[x].el.remove(),c[x].el=void 0,e[x].el=void 0))};n.includes("loop")&&e.isElement&&(c.loop&&!t.loop?M=!0:!c.loop&&t.loop?k=!0:H=!0),d.forEach(x=>{if(Ri(c[x])&&Ri(t[x]))Object.assign(c[x],t[x]),(x==="navigation"||x==="pagination"||x==="scrollbar")&&"enabled"in t[x]&&!t[x].enabled&&T(x);else{let S=t[x];(S===!0||S===!1)&&(x==="navigation"||x==="pagination"||x==="scrollbar")?S===!1&&T(x):c[x]=t[x]}}),d.includes("controller")&&!f&&e.controller&&e.controller.control&&c.controller&&c.controller.control&&(e.controller.control=c.controller.control),n.includes("children")&&r&&g&&c.virtual.enabled?(g.slides=r,g.update(!0)):n.includes("virtual")&&g&&c.virtual.enabled&&(r&&(g.slides=r),g.update(!0)),n.includes("children")&&r&&c.loop&&(H=!0),p&&b.init()&&b.update(!0),f&&(e.controller.control=c.controller.control),_&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),e.el.appendChild(l)),l&&(c.pagination.el=l),u.init(),u.render(),u.update()),v&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),e.el.appendChild(a)),a&&(c.scrollbar.el=a),m.init(),m.updateSize(),m.setTranslate()),y&&(e.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),o.innerHTML=e.hostEl.constructor.nextButtonSvg,o.part.add("button-next"),e.el.appendChild(o)),(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-prev"),s.innerHTML=e.hostEl.constructor.prevButtonSvg,s.part.add("button-prev"),e.el.appendChild(s))),o&&(c.navigation.nextEl=o),s&&(c.navigation.prevEl=s),h.init(),h.update()),n.includes("allowSlideNext")&&(e.allowSlideNext=t.allowSlideNext),n.includes("allowSlidePrev")&&(e.allowSlidePrev=t.allowSlidePrev),n.includes("direction")&&e.changeDirection(t.direction,!1),(M||H)&&e.loopDestroy(),(k||H)&&e.loopCreate(),e.update()}var iu=i=>{if(parseFloat(i)===Number(i))return Number(i);if(i==="true"||i==="")return!0;if(i==="false")return!1;if(i==="null")return null;if(i!=="undefined"){if(typeof i=="string"&&i.includes("{")&&i.includes("}")&&i.includes('"')){let e;try{e=JSON.parse(i)}catch{e=i}return e}return i}},nu=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function ra(i,e,r){let t={},n={};oo(t,ro);let o=[...ln,"on"],s=o.map(l=>l.replace(/_/,""));o.forEach(l=>{l=l.replace("_",""),typeof i[l]<"u"&&(n[l]=i[l])});let a=[...i.attributes];return typeof e=="string"&&typeof r<"u"&&a.push({name:e,value:Ri(r)?F({},r):r}),a.forEach(l=>{let d=nu.filter(c=>l.name.indexOf(`${c}-`)===0)[0];if(d){let c=dn(d),u=dn(l.name.split(`${d}-`)[1]);typeof n[c]>"u"&&(n[c]={}),n[c]===!0&&(n[c]={enabled:!0}),n[c][u]=iu(l.value)}else{let c=dn(l.name);if(!s.includes(c))return;let u=iu(l.value);n[c]&&nu.includes(l.name)&&!Ri(u)?(n[c].constructor!==Object&&(n[c]={}),n[c].enabled=!!u):n[c]=u}}),oo(t,n),t.navigation?t.navigation=F({prevEl:".swiper-button-prev",nextEl:".swiper-button-next"},t.navigation!==!0?t.navigation:{}):t.navigation===!1&&delete t.navigation,t.scrollbar?t.scrollbar=F({el:".swiper-scrollbar"},t.scrollbar!==!0?t.scrollbar:{}):t.scrollbar===!1&&delete t.scrollbar,t.pagination?t.pagination=F({el:".swiper-pagination"},t.pagination!==!0?t.pagination:{}):t.pagination===!1&&delete t.pagination,{params:t,passedParams:n}}var zg=":host{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{width:100%;height:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}",Vg="::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}::slotted(.swiper-slide-shadow){background:rgba(0,0,0,.15)}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear;width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-zoom-container){width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-width:100%;max-height:100%;object-fit:contain}",oa=class{},ou=typeof window>"u"||typeof HTMLElement>"u"?oa:HTMLElement,ru=` - `,su=(i,e)=>{if(typeof CSSStyleSheet<"u"&&i.adoptedStyleSheets){let r=new CSSStyleSheet;r.replaceSync(e),i.adoptedStyleSheets=[r]}else{let r=document.createElement("style");r.rel="stylesheet",r.textContent=e,i.appendChild(r)}},so=class extends ou{constructor(){super(),this.attachShadow({mode:"open"})}static get nextButtonSvg(){return ru}static get prevButtonSvg(){return ru.replace("/>",' transform-origin="center" transform="rotate(180)"/>')}cssStyles(){return[zg,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join(` -`)}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){let e=this.slideSlots||0,r=[...this.querySelectorAll("[slot^=slide-]")].map(t=>parseInt(t.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=r.length?Math.max(...r)+1:0,!!this.rendered){if(this.slideSlots>e)for(let t=e;t=0;n-=1)n>this.slideSlots&&t[n].remove()}}}render(){if(this.rendered)return;this.calcSlideSlots();let e=this.cssStyles();this.slideSlots>0&&(e=e.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),e.length&&su(this.shadowRoot,e),this.cssLinks().forEach(t=>{if(this.shadowRoot.querySelector(`link[href="${t}"]`))return;let o=document.createElement("link");o.rel="stylesheet",o.href=t,this.shadowRoot.appendChild(o)});let r=document.createElement("div");r.classList.add("swiper"),r.part="container",r.innerHTML=` - -
- - ${Array.from({length:this.slideSlots}).map((t,n)=>` - - - - `).join("")} -
- - ${Qc(this.passedParams)?` -
${this.constructor.prevButtonSvg}
-
${this.constructor.nextButtonSvg}
- `:""} - ${Jc(this.passedParams)?` -
- `:""} - ${eu(this.passedParams)?` -
- `:""} - `,this.shadowRoot.appendChild(r),this.rendered=!0}initialize(){var e=this;if(this.initialized)return;this.initialized=!0;let{params:r,passedParams:t}=ra(this);this.swiperParams=r,this.passedParams=t,delete this.swiperParams.init,this.render(),this.swiper=new Ct(this.shadowRoot.querySelector(".swiper"),ve(F(F({},r.virtual?{}:{observer:!0,observeSlideChildren:this.slideSlots>0}),r),{touchEventsTarget:"container",onAny:function(n){n==="observerUpdate"&&e.calcSlideSlots();let o=r.eventsPrefix?`${r.eventsPrefix}${n.toLowerCase()}`:n.toLowerCase();for(var s=arguments.length,a=new Array(s>1?s-1:0),l=1;lr.includes("_")).map(r=>r.replace(/[A-Z]/g,t=>`-${t}`).replace("_","").toLowerCase())}};ln.forEach(i=>{i!=="init"&&(i=i.replace("_",""),Object.defineProperty(so.prototype,i,{configurable:!0,get(){return(this.passedParams||{})[i]},set(e){this.passedParams||(this.passedParams={}),this.passedParams[i]=e,this.initialized&&this.updateSwiperOnPropChange(i,e)}}))});var sa=class extends ou{constructor(){super(),this.attachShadow({mode:"open"})}render(){let e=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(su(this.shadowRoot,Vg),this.shadowRoot.appendChild(document.createElement("slot")),e){let r=document.createElement("div");r.classList.add("swiper-lazy-preloader"),r.part.add("preloader"),this.shadowRoot.appendChild(r)}}initialize(){this.render()}connectedCallback(){this.initialize()}},au=()=>{typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",so),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",sa))};typeof window<"u"&&(window.SwiperElementRegisterParams=i=>{ln.push(...i)});var fe="primary",mr=Symbol("RouteTitle"),ua=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function mn(i){return new ua(i)}function Hg(i,e,r){let t=r.path.split("/");if(t.length>i.length||r.pathMatch==="full"&&(e.hasChildren()||t.lengtht[o]===n)}else return i===e}function mu(i){return i.length>0?i[i.length-1]:null}function vi(i){return Xi(i)?i:Wr(i)?it(Promise.resolve(i)):Z(i)}var $g={exact:gu,subset:bu},pu={exact:Wg,subset:Gg,ignored:()=>!0};function lu(i,e,r){return $g[r.paths](i.root,e.root,r.matrixParams)&&pu[r.queryParams](i.queryParams,e.queryParams)&&!(r.fragment==="exact"&&i.fragment!==e.fragment)}function Wg(i,e){return Zt(i,e)}function gu(i,e,r){if(!Fi(i.segments,e.segments)||!co(i.segments,e.segments,r)||i.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!i.children[t]||!gu(i.children[t],e.children[t],r))return!1;return!0}function Gg(i,e){return Object.keys(e).length<=Object.keys(i).length&&Object.keys(e).every(r=>fu(i[r],e[r]))}function bu(i,e,r){return vu(i,e,e.segments,r)}function vu(i,e,r,t){if(i.segments.length>r.length){let n=i.segments.slice(0,r.length);return!(!Fi(n,r)||e.hasChildren()||!co(n,r,t))}else if(i.segments.length===r.length){if(!Fi(i.segments,r)||!co(i.segments,r,t))return!1;for(let n in e.children)if(!i.children[n]||!bu(i.children[n],e.children[n],t))return!1;return!0}else{let n=r.slice(0,i.segments.length),o=r.slice(i.segments.length);return!Fi(i.segments,n)||!co(i.segments,n,t)||!i.children[fe]?!1:vu(i.children[fe],e,o,t)}}function co(i,e,r){return e.every((t,n)=>pu[r](i[n].parameters,t.parameters))}var gi=class{constructor(e=new ke([],{}),r={},t=null){this.root=e,this.queryParams=r,this.fragment=t}get queryParamMap(){return this._queryParamMap??=mn(this.queryParams),this._queryParamMap}toString(){return Xg.serialize(this)}},ke=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return uo(this)}},Oi=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=mn(this.parameters),this._parameterMap}toString(){return yu(this)}};function Yg(i,e){return Fi(i,e)&&i.every((r,t)=>Zt(r.parameters,e[t].parameters))}function Fi(i,e){return i.length!==e.length?!1:i.every((r,t)=>r.path===e[t].path)}function qg(i,e){let r=[];return Object.entries(i.children).forEach(([t,n])=>{t===fe&&(r=r.concat(e(n,t)))}),Object.entries(i.children).forEach(([t,n])=>{t!==fe&&(r=r.concat(e(n,t)))}),r}var ja=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:()=>new fo,providedIn:"root"});let i=e;return i})(),fo=class{parse(e){let r=new ma(e);return new gi(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${er(e.root,!0)}`,t=Qg(e.queryParams),n=typeof e.fragment=="string"?`#${Zg(e.fragment)}`:"";return`${r}${t}${n}`}},Xg=new fo;function uo(i){return i.segments.map(e=>yu(e)).join("/")}function er(i,e){if(!i.hasChildren())return uo(i);if(e){let r=i.children[fe]?er(i.children[fe],!1):"",t=[];return Object.entries(i.children).forEach(([n,o])=>{n!==fe&&t.push(`${n}:${er(o,!1)}`)}),t.length>0?`${r}(${t.join("//")})`:r}else{let r=qg(i,(t,n)=>n===fe?[er(i.children[fe],!1)]:[`${n}:${er(t,!1)}`]);return Object.keys(i.children).length===1&&i.children[fe]!=null?`${uo(i)}/${r[0]}`:`${uo(i)}/(${r.join("//")})`}}function _u(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ao(i){return _u(i).replace(/%3B/gi,";")}function Zg(i){return encodeURI(i)}function fa(i){return _u(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ho(i){return decodeURIComponent(i)}function du(i){return ho(i.replace(/\+/g,"%20"))}function yu(i){return`${fa(i.path)}${Kg(i.parameters)}`}function Kg(i){return Object.entries(i).map(([e,r])=>`;${fa(e)}=${fa(r)}`).join("")}function Qg(i){let e=Object.entries(i).map(([r,t])=>Array.isArray(t)?t.map(n=>`${ao(r)}=${ao(n)}`).join("&"):`${ao(r)}=${ao(t)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var Jg=/^[^\/()?;#]+/;function aa(i){let e=i.match(Jg);return e?e[0]:""}var eb=/^[^\/()?;=#]+/;function tb(i){let e=i.match(eb);return e?e[0]:""}var ib=/^[^=?&#]+/;function nb(i){let e=i.match(ib);return e?e[0]:""}var rb=/^[^&#]+/;function ob(i){let e=i.match(rb);return e?e[0]:""}var ma=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new ke([],{}):new ke([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(t[fe]=new ke(e,r)),t}parseSegment(){let e=aa(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new Ae(4009,!1);return this.capture(e),new Oi(ho(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=tb(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let n=aa(this.remaining);n&&(t=n,this.capture(t))}e[ho(r)]=ho(t)}parseQueryParam(e){let r=nb(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let s=ob(this.remaining);s&&(t=s,this.capture(t))}let n=du(r),o=du(t);if(e.hasOwnProperty(n)){let s=e[n];Array.isArray(s)||(s=[s],e[n]=s),s.push(o)}else e[n]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=aa(this.remaining),n=this.remaining[t.length];if(n!=="/"&&n!==")"&&n!==";")throw new Ae(4010,!1);let o;t.indexOf(":")>-1?(o=t.slice(0,t.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=fe);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[fe]:new ke([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new Ae(4011,!1)}};function wu(i){return i.segments.length>0?new ke([],{[fe]:i}):i}function xu(i){let e={};for(let[t,n]of Object.entries(i.children)){let o=xu(n);if(t===fe&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[t]=o)}let r=new ke(i.segments,e);return sb(r)}function sb(i){if(i.numberOfChildren===1&&i.children[fe]){let e=i.children[fe];return new ke(i.segments.concat(e.segments),e.children)}return i}function pn(i){return i instanceof gi}function ab(i,e,r=null,t=null){let n=Cu(i);return Eu(n,e,r,t)}function Cu(i){let e;function r(o){let s={};for(let l of o.children){let d=r(l);s[l.outlet]=d}let a=new ke(o.url,s);return o===i&&(e=a),a}let t=r(i.root),n=wu(t);return e??n}function Eu(i,e,r,t){let n=i;for(;n.parent;)n=n.parent;if(e.length===0)return la(n,n,n,r,t);let o=lb(e);if(o.toRoot())return la(n,n,new ke([],{}),r,t);let s=db(o,n,i),a=s.processChildren?nr(s.segmentGroup,s.index,o.commands):Tu(s.segmentGroup,s.index,o.commands);return la(n,s.segmentGroup,a,r,t)}function mo(i){return typeof i=="object"&&i!=null&&!i.outlets&&!i.segmentPath}function sr(i){return typeof i=="object"&&i!=null&&i.outlets}function la(i,e,r,t,n){let o={};t&&Object.entries(t).forEach(([l,d])=>{o[l]=Array.isArray(d)?d.map(c=>`${c}`):`${d}`});let s;i===e?s=r:s=Su(i,e,r);let a=wu(xu(s));return new gi(a,o,n)}function Su(i,e,r){let t={};return Object.entries(i.children).forEach(([n,o])=>{o===e?t[n]=r:t[n]=Su(o,e,r)}),new ke(i.segments,t)}var po=class{constructor(e,r,t){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=t,e&&t.length>0&&mo(t[0]))throw new Ae(4003,!1);let n=t.find(sr);if(n&&n!==mu(t))throw new Ae(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function lb(i){if(typeof i[0]=="string"&&i.length===1&&i[0]==="/")return new po(!0,0,i);let e=0,r=!1,t=i.reduce((n,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,d])=>{a[l]=typeof d=="string"?d.split("/"):d}),[...n,{outlets:a}]}if(o.segmentPath)return[...n,o.segmentPath]}return typeof o!="string"?[...n,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?r=!0:a===".."?e++:a!=""&&n.push(a))}),n):[...n,o]},[]);return new po(r,e,t)}var hn=class{constructor(e,r,t){this.segmentGroup=e,this.processChildren=r,this.index=t}};function db(i,e,r){if(i.isAbsolute)return new hn(e,!0,0);if(!r)return new hn(e,!1,NaN);if(r.parent===null)return new hn(r,!0,0);let t=mo(i.commands[0])?0:1,n=r.segments.length-1+t;return cb(r,n,i.numberOfDoubleDots)}function cb(i,e,r){let t=i,n=e,o=r;for(;o>n;){if(o-=n,t=t.parent,!t)throw new Ae(4005,!1);n=t.segments.length}return new hn(t,!1,n-o)}function ub(i){return sr(i[0])?i[0].outlets:{[fe]:i}}function Tu(i,e,r){if(i??=new ke([],{}),i.segments.length===0&&i.hasChildren())return nr(i,e,r);let t=hb(i,e,r),n=r.slice(t.commandIndex);if(t.match&&t.pathIndexo!==fe)&&i.children[fe]&&i.numberOfChildren===1&&i.children[fe].segments.length===0){let o=nr(i.children[fe],e,r);return new ke(i.segments,o.children)}return Object.entries(t).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(n[o]=Tu(i.children[o],e,s))}),Object.entries(i.children).forEach(([o,s])=>{t[o]===void 0&&(n[o]=s)}),new ke(i.segments,n)}}function hb(i,e,r){let t=0,n=e,o={match:!1,pathIndex:0,commandIndex:0};for(;n=r.length)return o;let s=i.segments[n],a=r[t];if(sr(a))break;let l=`${a}`,d=t0&&l===void 0)break;if(l&&d&&typeof d=="object"&&d.outlets===void 0){if(!uu(l,d,s))return o;t+=2}else{if(!uu(l,{},s))return o;t++}n++}return{match:!0,pathIndex:n,commandIndex:t}}function pa(i,e,r){let t=i.segments.slice(0,e),n=0;for(;n{typeof t=="string"&&(t=[t]),t!==null&&(e[r]=pa(new ke([],{}),0,t))}),e}function cu(i){let e={};return Object.entries(i).forEach(([r,t])=>e[r]=`${t}`),e}function uu(i,e,r){return i==r.path&&Zt(e,r.parameters)}var rr="imperative",rt=function(i){return i[i.NavigationStart=0]="NavigationStart",i[i.NavigationEnd=1]="NavigationEnd",i[i.NavigationCancel=2]="NavigationCancel",i[i.NavigationError=3]="NavigationError",i[i.RoutesRecognized=4]="RoutesRecognized",i[i.ResolveStart=5]="ResolveStart",i[i.ResolveEnd=6]="ResolveEnd",i[i.GuardsCheckStart=7]="GuardsCheckStart",i[i.GuardsCheckEnd=8]="GuardsCheckEnd",i[i.RouteConfigLoadStart=9]="RouteConfigLoadStart",i[i.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",i[i.ChildActivationStart=11]="ChildActivationStart",i[i.ChildActivationEnd=12]="ChildActivationEnd",i[i.ActivationStart=13]="ActivationStart",i[i.ActivationEnd=14]="ActivationEnd",i[i.Scroll=15]="Scroll",i[i.NavigationSkipped=16]="NavigationSkipped",i}(rt||{}),Tt=class{constructor(e,r){this.id=e,this.url=r}},ar=class extends Tt{constructor(e,r,t="imperative",n=null){super(e,r),this.type=rt.NavigationStart,this.navigationTrigger=t,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Pi=class extends Tt{constructor(e,r,t){super(e,r),this.urlAfterRedirects=t,this.type=rt.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},_t=function(i){return i[i.Redirect=0]="Redirect",i[i.SupersededByNewNavigation=1]="SupersededByNewNavigation",i[i.NoDataFromResolver=2]="NoDataFromResolver",i[i.GuardRejected=3]="GuardRejected",i}(_t||{}),ga=function(i){return i[i.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",i[i.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",i}(ga||{}),bi=class extends Tt{constructor(e,r,t,n){super(e,r),this.reason=t,this.code=n,this.type=rt.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Ni=class extends Tt{constructor(e,r,t,n){super(e,r),this.reason=t,this.code=n,this.type=rt.NavigationSkipped}},lr=class extends Tt{constructor(e,r,t,n){super(e,r),this.error=t,this.target=n,this.type=rt.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},go=class extends Tt{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=rt.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ba=class extends Tt{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=rt.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},va=class extends Tt{constructor(e,r,t,n,o){super(e,r),this.urlAfterRedirects=t,this.state=n,this.shouldActivate=o,this.type=rt.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},_a=class extends Tt{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=rt.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ya=class extends Tt{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=rt.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wa=class{constructor(e){this.route=e,this.type=rt.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},xa=class{constructor(e){this.route=e,this.type=rt.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ca=class{constructor(e){this.snapshot=e,this.type=rt.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ea=class{constructor(e){this.snapshot=e,this.type=rt.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sa=class{constructor(e){this.snapshot=e,this.type=rt.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Ta=class{constructor(e){this.snapshot=e,this.type=rt.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var dr=class{},cr=class{constructor(e){this.url=e}};var Da=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new xo,this.attachRef=null}},xo=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){let o=this.getOrCreateContext(t);o.outlet=n,this.contexts.set(t,o)}onChildOutletDestroyed(t){let n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new Da,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),bo=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Ia(e,this._root);return r?r.children.map(t=>t.value):[]}firstChild(e){let r=Ia(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Ma(e,this._root);return r.length<2?[]:r[r.length-2].children.map(n=>n.value).filter(n=>n!==e)}pathFromRoot(e){return Ma(e,this._root).map(r=>r.value)}};function Ia(i,e){if(i===e.value)return e;for(let r of e.children){let t=Ia(i,r);if(t)return t}return null}function Ma(i,e){if(i===e.value)return[e];for(let r of e.children){let t=Ma(i,r);if(t.length)return t.unshift(e),t}return[]}var vt=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function un(i){let e={};return i&&i.children.forEach(r=>e[r.value.outlet]=r),e}var vo=class extends bo{constructor(e,r){super(e),this.snapshot=r,Va(this,e)}toString(){return this.snapshot.toString()}};function Du(i){let e=mb(i),r=new Ge([new Oi("",{})]),t=new Ge({}),n=new Ge({}),o=new Ge({}),s=new Ge(""),a=new gn(r,t,o,s,n,fe,i,e.root);return a.snapshot=e.root,new vo(new vt(a,[]),e)}function mb(i){let e={},r={},t={},n="",o=new ur([],e,t,n,r,fe,i,null,{});return new _o("",new vt(o,[]))}var gn=class{constructor(e,r,t,n,o,s,a,l){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=t,this.fragmentSubject=n,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ie(d=>d[mr]))??Z(void 0),this.url=e,this.params=r,this.queryParams=t,this.fragment=n,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(ie(e=>mn(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ie(e=>mn(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function za(i,e,r="emptyOnly"){let t,{routeConfig:n}=i;return e!==null&&(r==="always"||n?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:F(F({},e.params),i.params),data:F(F({},e.data),i.data),resolve:F(F(F(F({},i.data),e.data),n?.data),i._resolvedData)}:t={params:F({},i.params),data:F({},i.data),resolve:F(F({},i.data),i._resolvedData??{})},n&&Mu(n)&&(t.resolve[mr]=n.title),t}var ur=class{get title(){return this.data?.[mr]}constructor(e,r,t,n,o,s,a,l,d){this.url=e,this.params=r,this.queryParams=t,this.fragment=n,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=d}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??=mn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=mn(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},_o=class extends bo{constructor(e,r){super(r),this.url=e,Va(this,r)}toString(){return Iu(this._root)}};function Va(i,e){e.value._routerState=i,e.children.forEach(r=>Va(i,r))}function Iu(i){let e=i.children.length>0?` { ${i.children.map(Iu).join(", ")} } `:"";return`${i.value}${e}`}function da(i){if(i.snapshot){let e=i.snapshot,r=i._futureSnapshot;i.snapshot=r,Zt(e.queryParams,r.queryParams)||i.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&i.fragmentSubject.next(r.fragment),Zt(e.params,r.params)||i.paramsSubject.next(r.params),Ug(e.url,r.url)||i.urlSubject.next(r.url),Zt(e.data,r.data)||i.dataSubject.next(r.data)}else i.snapshot=i._futureSnapshot,i.dataSubject.next(i._futureSnapshot.data)}function ka(i,e){let r=Zt(i.params,e.params)&&Yg(i.url,e.url),t=!i.parent!=!e.parent;return r&&!t&&(!i.parent||ka(i.parent,e.parent))}function Mu(i){return typeof i.title=="string"||i.title===null}var Ba=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=fe,this.activateEvents=new me,this.deactivateEvents=new me,this.attachEvents=new me,this.detachEvents=new me,this.parentContexts=L(xo),this.location=L(ct),this.changeDetector=L(tt),this.environmentInjector=L(Ki),this.inputBinder=L(Ha,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:n,previousValue:o}=t.name;if(n)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(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Ae(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Ae(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Ae(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,n){this.activated=t,this._activatedRoute=n,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,n){if(this.isActivated)throw new Ae(4013,!1);this._activatedRoute=t;let o=this.location,a=t.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,d=new Aa(t,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:d,environmentInjector:n??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Y({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[qe]});let i=e;return i})(),Aa=class{constructor(e,r,t){this.route=e,this.childContexts=r,this.parent=t,this.__ngOutletInjector=!0}get(e,r){return e===gn?this.route:e===xo?this.childContexts:this.parent.get(e,r)}},Ha=new W("");function pb(i,e,r){let t=hr(i,e._root,r?r._root:void 0);return new vo(t,e)}function hr(i,e,r){if(r&&i.shouldReuseRoute(e.value,r.value.snapshot)){let t=r.value;t._futureSnapshot=e.value;let n=gb(i,e,r);return new vt(t,n)}else{if(i.shouldAttach(e.value)){let o=i.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>hr(i,a)),s}}let t=bb(e.value),n=e.children.map(o=>hr(i,o));return new vt(t,n)}}function gb(i,e,r){return e.children.map(t=>{for(let n of r.children)if(i.shouldReuseRoute(t.value,n.value.snapshot))return hr(i,t,n);return hr(i,t)})}function bb(i){return new gn(new Ge(i.url),new Ge(i.params),new Ge(i.queryParams),new Ge(i.fragment),new Ge(i.data),i.outlet,i.component,i)}var ku="ngNavigationCancelingError";function Au(i,e){let{redirectTo:r,navigationBehaviorOptions:t}=pn(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,n=Ru(!1,_t.Redirect);return n.url=r,n.navigationBehaviorOptions=t,n}function Ru(i,e){let r=new Error(`NavigationCancelingError: ${i||""}`);return r[ku]=!0,r.cancellationCode=e,r}function vb(i){return Ou(i)&&pn(i.url)}function Ou(i){return!!i&&i[ku]}var _b=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=_e({type:e,selectors:[["ng-component"]],standalone:!0,features:[ye],decls:1,vars:0,template:function(n,o){n&1&&ge(0,"router-outlet")},dependencies:[Ba],encapsulation:2});let i=e;return i})();function yb(i,e){return i.providers&&!i._injector&&(i._injector=Fd(i.providers,e,`Route: ${i.path}`)),i._injector??e}function Ua(i){let e=i.children&&i.children.map(Ua),r=e?ve(F({},i),{children:e}):F({},i);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==fe&&(r.component=_b),r}function Kt(i){return i.outlet||fe}function wb(i,e){let r=i.filter(t=>Kt(t)===e);return r.push(...i.filter(t=>Kt(t)!==e)),r}function pr(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let e=i.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var xb=(i,e,r,t)=>ie(n=>(new Ra(e,n.targetRouterState,n.currentRouterState,r,t).activate(i),n)),Ra=class{constructor(e,r,t,n,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=t,this.forwardEvent=n,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,t,e),da(this.futureState.root),this.activateChildRoutes(r,t,e)}deactivateChildRoutes(e,r,t){let n=un(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,n[s],t),delete n[s]}),Object.values(n).forEach(o=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(e,r,t){let n=e.value,o=r?r.value:null;if(n===o)if(n.component){let s=t.getContext(n.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,t);else o&&this.deactivateRouteAndItsChildren(r,t)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let t=r.getContext(e.value.outlet),n=t&&e.value.component?t.children:r,o=un(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,n);if(t&&t.outlet){let s=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let t=r.getContext(e.value.outlet),n=t&&e.value.component?t.children:r,o=un(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,n);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,r,t){let n=un(r);e.children.forEach(o=>{this.activateRoutes(o,n[o.value.outlet],t),this.forwardEvent(new Ta(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Ea(e.value.snapshot))}activateRoutes(e,r,t){let n=e.value,o=r?r.value:null;if(da(n),n===o)if(n.component){let s=t.getOrCreateContext(n.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,t);else if(n.component){let s=t.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){let a=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.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),da(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=pr(n.snapshot);s.attachRef=null,s.route=n,s.injector=a,s.outlet&&s.outlet.activateWith(n,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,t)}},yo=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},fn=class{constructor(e,r){this.component=e,this.route=r}};function Cb(i,e,r){let t=i._root,n=e?e._root:null;return tr(t,n,r,[t.value])}function Eb(i){let e=i.routeConfig?i.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:i,guards:e}}function vn(i,e){let r=Symbol(),t=e.get(i,r);return t===r?typeof i=="function"&&!yd(i)?i:e.get(i):t}function tr(i,e,r,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=un(e);return i.children.forEach(s=>{Sb(s,o[s.value.outlet],r,t.concat([s.value]),n),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>or(a,r.getContext(s),n)),n}function Sb(i,e,r,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=i.value,s=e?e.value:null,a=r?r.getContext(i.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=Tb(s,o,o.routeConfig.runGuardsAndResolvers);l?n.canActivateChecks.push(new yo(t)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?tr(i,e,a?a.children:null,t,n):tr(i,e,r,t,n),l&&a&&a.outlet&&a.outlet.isActivated&&n.canDeactivateChecks.push(new fn(a.outlet.component,s))}else s&&or(e,a,n),n.canActivateChecks.push(new yo(t)),o.component?tr(i,null,a?a.children:null,t,n):tr(i,null,r,t,n);return n}function Tb(i,e,r){if(typeof r=="function")return r(i,e);switch(r){case"pathParamsChange":return!Fi(i.url,e.url);case"pathParamsOrQueryParamsChange":return!Fi(i.url,e.url)||!Zt(i.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ka(i,e)||!Zt(i.queryParams,e.queryParams);case"paramsChange":default:return!ka(i,e)}}function or(i,e,r){let t=un(i),n=i.value;Object.entries(t).forEach(([o,s])=>{n.component?e?or(s,e.children.getContext(o),r):or(s,null,r):or(s,e,r)}),n.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new fn(e.outlet.component,n)):r.canDeactivateChecks.push(new fn(null,n)):r.canDeactivateChecks.push(new fn(null,n))}function gr(i){return typeof i=="function"}function Db(i){return typeof i=="boolean"}function Ib(i){return i&&gr(i.canLoad)}function Mb(i){return i&&gr(i.canActivate)}function kb(i){return i&&gr(i.canActivateChild)}function Ab(i){return i&&gr(i.canDeactivate)}function Rb(i){return i&&gr(i.canMatch)}function Fu(i){return i instanceof fd||i?.name==="EmptyError"}var lo=Symbol("INITIAL_VALUE");function bn(){return ot(i=>Ei(i.map(e=>e.pipe(Ye(1),It(lo)))).pipe(ie(e=>{for(let r of e)if(r!==!0){if(r===lo)return lo;if(r===!1||r instanceof gi)return r}return!0}),ze(e=>e!==lo),Ye(1)))}function Ob(i,e){return yt(r=>{let{targetSnapshot:t,currentSnapshot:n,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?Z(ve(F({},r),{guardsResult:!0})):Fb(s,t,n,i).pipe(yt(a=>a&&Db(a)?Pb(t,o,i,e):Z(a)),ie(a=>ve(F({},r),{guardsResult:a})))})}function Fb(i,e,r,t){return it(i).pipe(yt(n=>Vb(n.component,n.route,r,e,t)),di(n=>n!==!0,!0))}function Pb(i,e,r,t){return it(e).pipe(Si(n=>Rr(Lb(n.route.parent,t),Nb(n.route,t),zb(i,n.path,r),jb(i,n.route,r))),di(n=>n!==!0,!0))}function Nb(i,e){return i!==null&&e&&e(new Sa(i)),Z(!0)}function Lb(i,e){return i!==null&&e&&e(new Ca(i)),Z(!0)}function jb(i,e,r){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return Z(!0);let n=t.map(o=>Rn(()=>{let s=pr(e)??r,a=vn(o,s),l=Mb(a)?a.canActivate(e,i):ti(s,()=>a(e,i));return vi(l).pipe(di())}));return Z(n).pipe(bn())}function zb(i,e,r){let t=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>Eb(s)).filter(s=>s!==null).map(s=>Rn(()=>{let a=s.guards.map(l=>{let d=pr(s.node)??r,c=vn(l,d),u=kb(c)?c.canActivateChild(t,i):ti(d,()=>c(t,i));return vi(u).pipe(di())});return Z(a).pipe(bn())}));return Z(o).pipe(bn())}function Vb(i,e,r,t,n){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return Z(!0);let s=o.map(a=>{let l=pr(e)??n,d=vn(a,l),c=Ab(d)?d.canDeactivate(i,e,r,t):ti(l,()=>d(i,e,r,t));return vi(c).pipe(di())});return Z(s).pipe(bn())}function Bb(i,e,r,t){let n=e.canLoad;if(n===void 0||n.length===0)return Z(!0);let o=n.map(s=>{let a=vn(s,i),l=Ib(a)?a.canLoad(e,r):ti(i,()=>a(e,r));return vi(l)});return Z(o).pipe(bn(),Pu(t))}function Pu(i){return hd(Le(e=>{if(pn(e))throw Au(i,e)}),ie(e=>e===!0))}function Hb(i,e,r,t){let n=e.canMatch;if(!n||n.length===0)return Z(!0);let o=n.map(s=>{let a=vn(s,i),l=Rb(a)?a.canMatch(e,r):ti(i,()=>a(e,r));return vi(l)});return Z(o).pipe(bn(),Pu(t))}var fr=class{constructor(e){this.segmentGroup=e||null}},wo=class extends Error{constructor(e){super(),this.urlTree=e}};function cn(i){return Ci(new fr(i))}function Ub(i){return Ci(new Ae(4e3,!1))}function $b(i){return Ci(Ru(!1,_t.GuardRejected))}var Oa=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let t=[],n=r.root;for(;;){if(t=t.concat(n.segments),n.numberOfChildren===0)return Z(t);if(n.numberOfChildren>1||!n.children[fe])return Ub(e.redirectTo);n=n.children[fe]}}applyRedirectCommands(e,r,t){let n=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,t);if(r.startsWith("/"))throw new wo(n);return n}applyRedirectCreateUrlTree(e,r,t,n){let o=this.createSegmentGroup(e,r.root,t,n);return new gi(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let t={};return Object.entries(e).forEach(([n,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);t[n]=r[a]}else t[n]=o}),t}createSegmentGroup(e,r,t,n){let o=this.createSegments(e,r.segments,t,n),s={};return Object.entries(r.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,t,n)}),new ke(o,s)}createSegments(e,r,t,n){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,n):this.findOrReturn(o,t))}findPosParam(e,r,t){let n=t[r.path.substring(1)];if(!n)throw new Ae(4001,!1);return n}findOrReturn(e,r){let t=0;for(let n of r){if(n.path===e.path)return r.splice(t),n;t++}return e}},Fa={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Wb(i,e,r,t,n){let o=$a(i,e,r);return o.matched?(t=yb(e,t),Hb(t,e,r,n).pipe(ie(s=>s===!0?o:F({},Fa)))):Z(o)}function $a(i,e,r){if(e.path==="**")return Gb(r);if(e.path==="")return e.pathMatch==="full"&&(i.hasChildren()||r.length>0)?F({},Fa):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let n=(e.matcher||Hg)(r,i,e);if(!n)return F({},Fa);let o={};Object.entries(n.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=n.consumed.length>0?F(F({},o),n.consumed[n.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:n.consumed,remainingSegments:r.slice(n.consumed.length),parameters:s,positionalParamSegments:n.posParams??{}}}function Gb(i){return{matched:!0,parameters:i.length>0?mu(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function hu(i,e,r,t){return r.length>0&&Xb(i,r,t)?{segmentGroup:new ke(e,qb(t,new ke(r,i.children))),slicedSegments:[]}:r.length===0&&Zb(i,r,t)?{segmentGroup:new ke(i.segments,Yb(i,r,t,i.children)),slicedSegments:r}:{segmentGroup:new ke(i.segments,i.children),slicedSegments:r}}function Yb(i,e,r,t){let n={};for(let o of r)if(Co(i,e,o)&&!t[Kt(o)]){let s=new ke([],{});n[Kt(o)]=s}return F(F({},t),n)}function qb(i,e){let r={};r[fe]=e;for(let t of i)if(t.path===""&&Kt(t)!==fe){let n=new ke([],{});r[Kt(t)]=n}return r}function Xb(i,e,r){return r.some(t=>Co(i,e,t)&&Kt(t)!==fe)}function Zb(i,e,r){return r.some(t=>Co(i,e,t))}function Co(i,e,r){return(i.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Kb(i,e,r,t){return Kt(i)!==t&&(t===fe||!Co(e,r,i))?!1:$a(e,i,r).matched}function Qb(i,e,r){return e.length===0&&!i.children[r]}var Pa=class{};function Jb(i,e,r,t,n,o,s="emptyOnly"){return new Na(i,e,r,t,n,s,o).recognize()}var ev=31,Na=class{constructor(e,r,t,n,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=t,this.config=n,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Oa(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new Ae(4002,`'${e.segmentGroup}'`)}recognize(){let e=hu(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(ie(r=>{let t=new ur([],Object.freeze({}),Object.freeze(F({},this.urlTree.queryParams)),this.urlTree.fragment,{},fe,this.rootComponentType,null,{}),n=new vt(t,r),o=new _o("",n),s=ab(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,fe).pipe(zt(t=>{if(t instanceof wo)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof fr?this.noMatchError(t):t}))}inheritParamsAndData(e,r){let t=e.value,n=za(t,r,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(o=>this.inheritParamsAndData(o,t))}processSegmentGroup(e,r,t,n){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,r,t):this.processSegment(e,r,t,t.segments,n,!0).pipe(ie(o=>o instanceof vt?[o]:[]))}processChildren(e,r,t){let n=[];for(let o of Object.keys(t.children))o==="primary"?n.unshift(o):n.push(o);return it(n).pipe(Si(o=>{let s=t.children[o],a=wb(r,o);return this.processSegmentGroup(e,a,s,o)}),bd((o,s)=>(o.push(...s),o)),Es(null),gd(),yt(o=>{if(o===null)return cn(t);let s=Nu(o);return tv(s),Z(s)}))}processSegment(e,r,t,n,o,s){return it(r).pipe(Si(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,t,n,o,s).pipe(zt(l=>{if(l instanceof fr)return Z(null);throw l}))),di(a=>!!a),zt(a=>{if(Fu(a))return Qb(t,n,o)?Z(new Pa):cn(t);throw a}))}processSegmentAgainstRoute(e,r,t,n,o,s,a){return Kb(t,n,o,s)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,n,t,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,n,r,t,o,s):cn(n):cn(n)}expandSegmentAgainstRouteUsingRedirect(e,r,t,n,o,s){let{matched:a,consumedSegments:l,positionalParamSegments:d,remainingSegments:c}=$a(r,n,o);if(!a)return cn(r);n.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>ev&&(this.allowRedirects=!1));let u=this.applyRedirects.applyRedirectCommands(l,n.redirectTo,d);return this.applyRedirects.lineralizeSegments(n,u).pipe(yt(h=>this.processSegment(e,t,r,h.concat(c),s,!1)))}matchSegmentAgainstRoute(e,r,t,n,o){let s=Wb(r,t,n,e,this.urlSerializer);return t.path==="**"&&(r.children={}),s.pipe(ot(a=>a.matched?(e=t._injector??e,this.getChildConfig(e,t,n).pipe(ot(({routes:l})=>{let d=t._loadedInjector??e,{consumedSegments:c,remainingSegments:u,parameters:h}=a,m=new ur(c,h,Object.freeze(F({},this.urlTree.queryParams)),this.urlTree.fragment,nv(t),Kt(t),t.component??t._loadedComponent??null,t,rv(t)),{segmentGroup:g,slicedSegments:b}=hu(r,c,u,l);if(b.length===0&&g.hasChildren())return this.processChildren(d,l,g).pipe(ie(f=>f===null?null:new vt(m,f)));if(l.length===0&&b.length===0)return Z(new vt(m,[]));let p=Kt(t)===o;return this.processSegment(d,l,g,b,p?fe:o,!0).pipe(ie(f=>new vt(m,f instanceof vt?[f]:[])))}))):cn(r)))}getChildConfig(e,r,t){return r.children?Z({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?Z({routes:r._loadedRoutes,injector:r._loadedInjector}):Bb(e,r,t,this.urlSerializer).pipe(yt(n=>n?this.configLoader.loadChildren(e,r).pipe(Le(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):$b(r))):Z({routes:[],injector:e})}};function tv(i){i.sort((e,r)=>e.value.outlet===fe?-1:r.value.outlet===fe?1:e.value.outlet.localeCompare(r.value.outlet))}function iv(i){let e=i.value.routeConfig;return e&&e.path===""}function Nu(i){let e=[],r=new Set;for(let t of i){if(!iv(t)){e.push(t);continue}let n=e.find(o=>t.value.routeConfig===o.value.routeConfig);n!==void 0?(n.children.push(...t.children),r.add(n)):e.push(t)}for(let t of r){let n=Nu(t.children);e.push(new vt(t.value,n))}return e.filter(t=>!r.has(t))}function nv(i){return i.data||{}}function rv(i){return i.resolve||{}}function ov(i,e,r,t,n,o){return yt(s=>Jb(i,e,r,t,s.extractedUrl,n,o).pipe(ie(({state:a,tree:l})=>ve(F({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function sv(i,e){return yt(r=>{let{targetSnapshot:t,guards:{canActivateChecks:n}}=r;if(!n.length)return Z(r);let o=new Set(n.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let d of Lu(l))s.add(d);let a=0;return it(s).pipe(Si(l=>o.has(l)?av(l,t,i,e):(l.data=za(l,l.parent,i).resolve,Z(void 0))),Le(()=>a++),Ss(1),yt(l=>a===s.size?Z(r):Lt))})}function Lu(i){let e=i.children.map(r=>Lu(r)).flat();return[i,...e]}function av(i,e,r,t){let n=i.routeConfig,o=i._resolve;return n?.title!==void 0&&!Mu(n)&&(o[mr]=n.title),lv(o,i,e,t).pipe(ie(s=>(i._resolvedData=s,i.data=za(i,i.parent,r).resolve,null)))}function lv(i,e,r,t){let n=ha(i);if(n.length===0)return Z({});let o={};return it(n).pipe(yt(s=>dv(i[s],e,r,t).pipe(di(),Le(a=>{o[s]=a}))),Ss(1),pd(o),zt(s=>Fu(s)?Lt:Ci(s)))}function dv(i,e,r,t){let n=pr(e)??t,o=vn(i,n),s=o.resolve?o.resolve(e,r):ti(n,()=>o(e,r));return vi(s)}function ca(i){return ot(e=>{let r=i(e);return r?it(r).pipe(ie(()=>e)):Z(e)})}var ju=(()=>{let e=class e{buildTitle(t){let n,o=t.root;for(;o!==void 0;)n=this.getResolvedTitleForRoute(o)??n,o=o.children.find(s=>s.outlet===fe);return n}getResolvedTitleForRoute(t){return t.data[mr]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:()=>L(cv),providedIn:"root"});let i=e;return i})(),cv=(()=>{let e=class e extends ju{constructor(t){super(),this.title=t}updateTitle(t){let n=this.buildTitle(t);n!==void 0&&this.title.setTitle(n)}};e.\u0275fac=function(n){return new(n||e)(R(gc))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Wa=new W("",{providedIn:"root",factory:()=>({})}),Ga=new W(""),uv=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=L(Os)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return Z(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let n=vi(t.loadComponent()).pipe(ie(zu),Le(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),Vt(()=>{this.componentLoaders.delete(t)})),o=new An(n,()=>new Q).pipe(xs());return this.componentLoaders.set(t,o),o}loadChildren(t,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return Z({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let s=hv(n,this.compiler,t,this.onLoadEndListener).pipe(Vt(()=>{this.childrenLoaders.delete(n)})),a=new An(s,()=>new Q).pipe(xs());return this.childrenLoaders.set(n,a),a}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function hv(i,e,r,t){return vi(i.loadChildren()).pipe(ie(zu),yt(n=>n instanceof Od||Array.isArray(n)?Z(n):it(e.compileModuleAsync(n))),ie(n=>{t&&t(i);let o,s,a=!1;return Array.isArray(n)?(s=n,a=!0):(o=n.create(r).injector,s=o.get(Ga,[],{optional:!0,self:!0}).flat()),{routes:s.map(Ua),injector:o}}))}function fv(i){return i&&typeof i=="object"&&"default"in i}function zu(i){return fv(i)?i.default:i}var Ya=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:()=>L(mv),providedIn:"root"});let i=e;return i})(),mv=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),pv=new W("");var gv=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Q,this.transitionAbortSubject=new Q,this.configLoader=L(uv),this.environmentInjector=L(Ki),this.urlSerializer=L(ja),this.rootContexts=L(xo),this.location=L(nn),this.inputBindingEnabled=L(Ha,{optional:!0})!==null,this.titleStrategy=L(ju),this.options=L(Wa,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=L(Ya),this.createViewTransition=L(pv,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>Z(void 0),this.rootComponentType=null;let t=o=>this.events.next(new wa(o)),n=o=>this.events.next(new xa(o));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let n=++this.navigationId;this.transitions?.next(ve(F(F({},this.transitions.value),t),{id:n}))}setupNavigations(t,n,o){return this.transitions=new Ge({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:rr,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ze(s=>s.id!==0),ie(s=>ve(F({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),ot(s=>{let a=!1,l=!1;return Z(s).pipe(ot(d=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",_t.SupersededByNewNavigation),Lt;this.currentTransition=s,this.currentNavigation={id:d.id,initialUrl:d.rawUrl,extractedUrl:d.extractedUrl,trigger:d.source,extras:d.extras,previousNavigation:this.lastSuccessfulNavigation?ve(F({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let c=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=d.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!c&&u!=="reload"){let h="";return this.events.next(new Ni(d.id,this.urlSerializer.serialize(d.rawUrl),h,ga.IgnoredSameUrlNavigation)),d.resolve(null),Lt}if(this.urlHandlingStrategy.shouldProcessUrl(d.rawUrl))return Z(d).pipe(ot(h=>{let m=this.transitions?.getValue();return this.events.next(new ar(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),m!==this.transitions?.getValue()?Lt:Promise.resolve(h)}),ov(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),Le(h=>{s.targetSnapshot=h.targetSnapshot,s.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation=ve(F({},this.currentNavigation),{finalUrl:h.urlAfterRedirects});let m=new go(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(m)}));if(c&&this.urlHandlingStrategy.shouldProcessUrl(d.currentRawUrl)){let{id:h,extractedUrl:m,source:g,restoredState:b,extras:p}=d,f=new ar(h,this.urlSerializer.serialize(m),g,b);this.events.next(f);let _=Du(this.rootComponentType).snapshot;return this.currentTransition=s=ve(F({},d),{targetSnapshot:_,urlAfterRedirects:m,extras:ve(F({},p),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=m,Z(s)}else{let h="";return this.events.next(new Ni(d.id,this.urlSerializer.serialize(d.extractedUrl),h,ga.IgnoredByUrlHandlingStrategy)),d.resolve(null),Lt}}),Le(d=>{let c=new ba(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(c)}),ie(d=>(this.currentTransition=s=ve(F({},d),{guards:Cb(d.targetSnapshot,d.currentSnapshot,this.rootContexts)}),s)),Ob(this.environmentInjector,d=>this.events.next(d)),Le(d=>{if(s.guardsResult=d.guardsResult,pn(d.guardsResult))throw Au(this.urlSerializer,d.guardsResult);let c=new va(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);this.events.next(c)}),ze(d=>d.guardsResult?!0:(this.cancelNavigationTransition(d,"",_t.GuardRejected),!1)),ca(d=>{if(d.guards.canActivateChecks.length)return Z(d).pipe(Le(c=>{let u=new _a(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),ot(c=>{let u=!1;return Z(c).pipe(sv(this.paramsInheritanceStrategy,this.environmentInjector),Le({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(c,"",_t.NoDataFromResolver)}}))}),Le(c=>{let u=new ya(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}))}),ca(d=>{let c=u=>{let h=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(u.routeConfig).pipe(Le(m=>{u.component=m}),ie(()=>{})));for(let m of u.children)h.push(...c(m));return h};return Ei(c(d.targetSnapshot.root)).pipe(Es(null),Ye(1))}),ca(()=>this.afterPreactivation()),ot(()=>{let{currentSnapshot:d,targetSnapshot:c}=s,u=this.createViewTransition?.(this.environmentInjector,d.root,c.root);return u?it(u).pipe(ie(()=>s)):Z(s)}),ie(d=>{let c=pb(t.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return this.currentTransition=s=ve(F({},d),{targetRouterState:c}),this.currentNavigation.targetRouterState=c,s}),Le(()=>{this.events.next(new dr)}),xb(this.rootContexts,t.routeReuseStrategy,d=>this.events.next(d),this.inputBindingEnabled),Ye(1),Le({next:d=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Pi(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects))),this.titleStrategy?.updateTitle(d.targetRouterState.snapshot),d.resolve(!0)},complete:()=>{a=!0}}),Me(this.transitionAbortSubject.pipe(Le(d=>{throw d}))),Vt(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",_t.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),zt(d=>{if(l=!0,Ou(d))this.events.next(new bi(s.id,this.urlSerializer.serialize(s.extractedUrl),d.message,d.cancellationCode)),vb(d)?this.events.next(new cr(d.url)):s.resolve(!1);else{this.events.next(new lr(s.id,this.urlSerializer.serialize(s.extractedUrl),d,s.targetSnapshot??void 0));try{s.resolve(t.errorHandler(d))}catch(c){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(c)}}return Lt}))}))}cancelNavigationTransition(t,n,o){let s=new bi(t.id,this.urlSerializer.serialize(t.extractedUrl),n,o);this.events.next(s),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function bv(i){return i!==rr}var vv=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:()=>L(_v),providedIn:"root"});let i=e;return i})(),La=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},_v=(()=>{let e=class e extends La{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(e)))(o||e)}})(),e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Vu=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:()=>L(yv),providedIn:"root"});let i=e;return i})(),yv=(()=>{let e=class e extends Vu{constructor(){super(...arguments),this.location=L(nn),this.urlSerializer=L(ja),this.options=L(Wa,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=L(Ya),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new gi,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Du(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(n=>{n.type==="popstate"&&t(n.url,n.state)})}handleRouterEvent(t,n){if(t instanceof ar)this.stateMemento=this.createStateMemento();else if(t instanceof Ni)this.rawUrlTree=n.initialUrl;else if(t instanceof go){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(o,n)}}else t instanceof dr?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n))):t instanceof bi&&(t.code===_t.GuardRejected||t.code===_t.NoDataFromResolver)?this.restoreHistory(n):t instanceof lr?this.restoreHistory(n,!0):t instanceof Pi&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,n){let o=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(o)||n.extras.replaceUrl){let s=this.browserPageId,a=F(F({},n.extras.state),this.generateNgRouterState(n.id,s));this.location.replaceState(o,"",a)}else{let s=F(F({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(t,n=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===t.finalUrl&&s===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,n){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:n}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(e)))(o||e)}})(),e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),ir=function(i){return i[i.COMPLETE=0]="COMPLETE",i[i.FAILED=1]="FAILED",i[i.REDIRECTING=2]="REDIRECTING",i}(ir||{});function wv(i,e){i.events.pipe(ze(r=>r instanceof Pi||r instanceof bi||r instanceof lr||r instanceof Ni),ie(r=>r instanceof Pi||r instanceof Ni?ir.COMPLETE:(r instanceof bi?r.code===_t.Redirect||r.code===_t.SupersededByNewNavigation:!1)?ir.REDIRECTING:ir.FAILED),ze(r=>r!==ir.REDIRECTING),Ye(1)).subscribe(()=>{e()})}function xv(i){throw i}var Cv={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ev={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Bu=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=L($r),this.stateManager=L(Vu),this.options=L(Wa,{optional:!0})||{},this.pendingTasks=L(Vr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=L(gv),this.urlSerializer=L(ja),this.location=L(nn),this.urlHandlingStrategy=L(Ya),this._events=new Q,this.errorHandler=this.options.errorHandler||xv,this.navigated=!1,this.routeReuseStrategy=L(vv),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=L(Ga,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!L(Ha,{optional:!0}),this.eventsSubscription=new We,this.isNgZoneEnabled=L(J)instanceof J&&J.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(n=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(n,s),n instanceof bi&&n.code!==_t.Redirect&&n.code!==_t.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof Pi)this.navigated=!0;else if(n instanceof cr){let a=this.urlHandlingStrategy.merge(n.url,o.currentRawUrl),l={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||bv(o.source)};this.scheduleNavigation(a,rr,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Tv(n)&&this._events.next(n)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),rr,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",n)},0)})}navigateToSyncWithBrowser(t,n,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let d=F({},o);delete d.navigationId,delete d.\u0275routerPageId,Object.keys(d).length!==0&&(s.state=d)}let l=this.parseUrl(t);this.scheduleNavigation(l,n,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Ua),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,n={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:d}=n,c=d?this.currentUrlTree.fragment:a,u=null;switch(l){case"merge":u=F(F({},this.currentUrlTree.queryParams),s);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=s||null}u!==null&&(u=this.removeEmptyProps(u));let h;try{let m=o?o.snapshot:this.routerState.snapshot.root;h=Cu(m)}catch{(typeof t[0]!="string"||!t[0].startsWith("/"))&&(t=[]),h=this.currentUrlTree.root}return Eu(h,t,u,c??null)}navigateByUrl(t,n={skipLocationChange:!1}){let o=pn(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,rr,null,n)}navigate(t,n={skipLocationChange:!1}){return Sv(t),this.navigateByUrl(this.createUrlTree(t,n),n)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,n){let o;if(n===!0?o=F({},Cv):n===!1?o=F({},Ev):o=n,pn(t))return lu(this.currentUrlTree,t,o);let s=this.parseUrl(t);return lu(this.currentUrlTree,s,o)}removeEmptyProps(t){return Object.entries(t).reduce((n,[o,s])=>(s!=null&&(n[o]=s),n),{})}scheduleNavigation(t,n,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,d,c;a?(l=a.resolve,d=a.reject,c=a.promise):c=new Promise((h,m)=>{l=h,d=m});let u=this.pendingTasks.add();return wv(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:s,resolve:l,reject:d,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(h=>Promise.reject(h))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Sv(i){for(let e=0;er.\u0275providers)])}function Iv(i){return i.routerState.root}function Mv(){let i=L(Mt);return e=>{let r=i.get(Wt);if(e!==r.components[0])return;let t=i.get(Bu),n=i.get(kv);i.get(Av)===1&&t.initialNavigation(),i.get(Rv,null,Ds.Optional)?.setUpPreloading(),i.get(Dv,null,Ds.Optional)?.init(),t.resetRootComponentType(r.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe())}}var kv=new W("",{factory:()=>new Q}),Av=new W("",{providedIn:"root",factory:()=>1});var Rv=new W("");var Ov=new W("cdk-dir-doc",{providedIn:"root",factory:Fv});function Fv(){return L(te)}var Pv=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Nv(i){let e=i?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?Pv.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var si=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new me,t){let n=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.value=Nv(n||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(n){return new(n||e)(R(Ov,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var _i=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({});let i=e;return i})();var Xa;try{Xa=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Xa=!1}var Be=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Xd(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Xa)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(n){return new(n||e)(R(ii))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var br;function Lv(){if(br==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>br=!0}))}finally{br=br||!1}return br}function _n(i){return Lv()?i:!!i.capture}var Li;function Uu(){if(Li==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Li=!1,Li;if("scrollBehavior"in document.documentElement.style)Li=!0;else{let i=Element.prototype.scrollTo;i?Li=!/\{\s*\[native code\]\s*\}/.test(i.toString()):Li=!1}}return Li}var qa;function jv(){if(qa==null){let i=typeof document<"u"?document.head:null;qa=!!(i&&(i.createShadowRoot||i.attachShadow))}return qa}function $u(i){if(jv()){let e=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Ft(i){return i.composedPath?i.composedPath()[0]:i.target}function vr(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Za=class{constructor(e){this._box=e,this._destroyed=new Q,this._resizeSubject=new Q,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(r=>this._resizeSubject.next(r)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new Jt(r=>{let t=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),t.unsubscribe(),this._elementObservables.delete(e)}}).pipe(ze(r=>r.some(t=>t.target===e)),Ts({bufferSize:1,refCount:!0}),Me(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Wu=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=L(J),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,t]of this._observers)t.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(t,n){let o=n?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new Za(o)),this._observers.get(o).observe(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Ka(i){return i!=null&&`${i}`!="false"}function yn(i){return Array.isArray(i)?i:[i]}function $e(i){return i==null?"":typeof i=="string"?i:`${i}px`}function ai(i){return i instanceof se?i.nativeElement:i}var zv=(()=>{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Gu=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({providers:[zv]});let i=e;return i})();function Pt(i,...e){return e.length?e.some(r=>i[r]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var Yu=new Set,ji,Vv=(()=>{let e=class e{constructor(t,n){this._platform=t,this._nonce=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Hv}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&Bv(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(n){return new(n||e)(R(Be),R(Ln,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Bv(i,e){if(!Yu.has(i))try{ji||(ji=document.createElement("style"),e&&ji.setAttribute("nonce",e),ji.setAttribute("type","text/css"),document.head.appendChild(ji)),ji.sheet&&(ji.sheet.insertRule(`@media ${i} {body{ }}`,0),Yu.add(i))}catch(r){console.error(r)}}function Hv(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var Xu=(()=>{let e=class e{constructor(t,n){this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new Q}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return qu(yn(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=qu(yn(t)).map(a=>this._registerQuery(a).observable),s=Ei(o);return s=Rr(s.pipe(Ye(1)),s.pipe(Fr(1),Or(0))),s.pipe(ie(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:d,query:c})=>{l.matches=l.matches||d,l.breakpoints[c]=d}),l}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let n=this._mediaMatcher.matchMedia(t),s={observable:new Jt(a=>{let l=d=>this._zone.run(()=>a.next(d));return n.addListener(l),()=>{n.removeListener(l)}}).pipe(It(n),ie(({matches:a})=>({query:t,matches:a})),Me(this._destroySubject)),mql:n};return this._queries.set(t,s),s}};e.\u0275fac=function(n){return new(n||e)(R(Vv),R(J))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function qu(i){return i.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var Qu=" ";function Ju(i,e,r){let t=eh(i,e);r=r.trim(),!t.some(n=>n.trim()===r)&&(t.push(r),i.setAttribute(e,t.join(Qu)))}function il(i,e,r){let t=eh(i,e);r=r.trim();let n=t.filter(o=>o!==r);n.length?i.setAttribute(e,n.join(Qu)):i.removeAttribute(e)}function eh(i,e){return i.getAttribute(e)?.match(/\S+/g)??[]}var Do=class{constructor(e,r){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Q,this._typeaheadSubscription=We.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new Q,this.change=new Q,e instanceof Nn?this._itemChangesSubscription=e.changes.subscribe(t=>this._itemsChanged(t.toArray())):ks(e)&&(this._effectRef=Bd(()=>this._itemsChanged(e()),{injector:r}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Le(r=>this._pressedLetters.push(r)),Or(e),ze(()=>this._pressedLetters.length>0),ie(()=>this._pressedLetters.join(""))).subscribe(r=>{let t=this._getItemsArray();for(let n=1;n!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let r=this._getItemsArray(),t=typeof e=="number"?e:r.indexOf(e),n=r[t];this._activeItem=n??null,this._activeItemIndex=t}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let t=1;t<=r.length;t++){let n=(this._activeItemIndex+e*t+r.length)%r.length,o=r[n];if(!this._skipPredicateFn(o)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let t=this._getItemsArray();if(t[e]){for(;this._skipPredicateFn(t[e]);)if(e+=r,!t[e])return;this.setActiveItem(e)}}_getItemsArray(){return ks(this._items)?this._items():this._items instanceof Nn?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let r=e.indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}},Io=class extends Do{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},Mo=class extends Do{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};function nl(i){return i.buttons===0||i.detail===0}function rl(i){let e=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var i0=new W("cdk-input-modality-detector-options"),n0={ignoreKeys:[18,17,224,91,16]},th=650,wn=_n({passive:!0,capture:!0}),r0=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(t,n,o,s){this._platform=t,this._mostRecentTarget=null,this._modality=new Ge(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ft(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(rl(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ft(a)},this._options=F(F({},n0),s),this.modalityDetected=this._modality.pipe(Fr(1)),this.modalityChanged=this.modalityDetected.pipe(On()),t.isBrowser&&n.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,wn),o.addEventListener("mousedown",this._onMousedown,wn),o.addEventListener("touchstart",this._onTouchstart,wn)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,wn),document.removeEventListener("mousedown",this._onMousedown,wn),document.removeEventListener("touchstart",this._onTouchstart,wn))}};e.\u0275fac=function(n){return new(n||e)(R(Be),R(J),R(te),R(i0,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),o0=new W("liveAnnouncerElement",{providedIn:"root",factory:s0});function s0(){return null}var a0=new W("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),l0=0,ih=(()=>{let e=class e{constructor(t,n,o,s){this._ngZone=n,this._defaultOptions=s,this._document=o,this._liveElement=t||this._createLiveElement()}announce(t,...n){let o=this._defaultOptions,s,a;return n.length===1&&typeof n[0]=="number"?a=n[0]:[s,a]=n,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let t="cdk-live-announcer-element",n=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let e=class e{constructor(t,n,o,s,a){this._ngZone=t,this._platform=n,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Q,this._rootNodeFocusAndBlurListener=l=>{let d=Ft(l);for(let c=d;c;c=c.parentElement)l.type==="focus"?this._onFocus(l,c):this._onBlur(l,c)},this._document=s,this._detectionMode=a?.detectionMode||To.IMMEDIATE}monitor(t,n=!1){let o=ai(t);if(!this._platform.isBrowser||o.nodeType!==1)return Z();let s=$u(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return n&&(a.checkChildren=!0),a.subject;let l={checkChildren:n,subject:new Q,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(t){let n=ai(t),o=this._elementInfo.get(n);o&&(o.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(o))}focusVia(t,n,o){let s=ai(t),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([l,d])=>this._originChanged(l,n,d)):(this._setOrigin(n),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((t,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===To.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,n){t.classList.toggle("cdk-focused",!!n),t.classList.toggle("cdk-touch-focused",n==="touch"),t.classList.toggle("cdk-keyboard-focused",n==="keyboard"),t.classList.toggle("cdk-mouse-focused",n==="mouse"),t.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(t,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&n,this._detectionMode===To.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?th:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,n){let o=this._elementInfo.get(n),s=Ft(t);!o||!o.checkChildren&&n!==s||this._originChanged(n,this._getFocusOrigin(s),o)}_onBlur(t,n){let o=this._elementInfo.get(n);!o||o.checkChildren&&t.relatedTarget instanceof Node&&n.contains(t.relatedTarget)||(this._setClasses(n),this._emitOrigin(o,null))}_emitOrigin(t,n){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(n))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let n=t.rootNode,o=this._rootNodeFocusListenerCount.get(n)||0;o||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,So),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,So)}),this._rootNodeFocusListenerCount.set(n,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Me(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(t){let n=t.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let o=this._rootNodeFocusListenerCount.get(n);o>1?this._rootNodeFocusListenerCount.set(n,o-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,So),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,So),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,n,o){this._setClasses(t,n),this._emitOrigin(o,n),this._lastFocusOrigin=n}_getClosestElementsInfo(t){let n=[];return this._elementInfo.forEach((o,s)=>{(s===t||o.checkChildren&&s.contains(t))&&n.push([s,o])}),n}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:n,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!n||n===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let s=t.labels;if(s){for(let a=0;a{let e=class e{constructor(t,n){this._platform=t,this._document=n,this._breakpointSubscription=L(Xu).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return zi.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let n=this._document.defaultView||window,o=n&&n.getComputedStyle?n.getComputedStyle(t):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return zi.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return zi.BLACK_ON_WHITE}return zi.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(Qa,Zu,Ku),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===zi.BLACK_ON_WHITE?t.add(Qa,Zu):n===zi.WHITE_ON_BLACK&&t.add(Qa,Ku)}}};e.\u0275fac=function(n){return new(n||e)(R(Be),R(te))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var u0=["text"],h0=[[["mat-icon"]],"*"],f0=["mat-icon","*"];function m0(i,e){if(i&1&&ge(0,"mat-pseudo-checkbox",1),i&2){let r=oe();ee("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function p0(i,e){if(i&1&&ge(0,"mat-pseudo-checkbox",3),i&2){let r=oe();ee("disabled",r.disabled)}}function g0(i,e){if(i&1&&(j(0,"span",4),be(1),B()),i&2){let r=oe();z(),et("(",r.group.label,")")}}function b0(){return!0}var v0=new W("mat-sanity-checks",{providedIn:"root",factory:b0}),Ne=(()=>{let e=class e{constructor(t,n,o){this._sanityChecks=n,this._document=o,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return vr()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}};e.\u0275fac=function(n){return new(n||e)(R(nh),R(v0,8),R(te))},e.\u0275mod=re({type:e}),e.\u0275inj=ne({imports:[_i,_i]});let i=e;return i})();var yr=class{constructor(e,r,t,n,o){this._defaultMatcher=e,this.ngControl=r,this._parentFormGroup=t,this._parentForm=n,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,r=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,n=this.ngControl?this.ngControl.control:null,o=t?.isErrorState(n,r)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}};var hh=(()=>{let e=class e{isErrorState(t,n){return!!(t&&t.invalid&&(t.touched||n&&n.submitted))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Dt=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(Dt||{}),ll=class{constructor(e,r,t,n=!1){this._renderer=e,this.element=r,this.config=t,this._animationForciblyDisabledThroughCss=n,this.state=Dt.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},rh=_n({passive:!0,capture:!0}),dl=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let r=Ft(e);r&&this._events.get(e.type)?.forEach((t,n)=>{(n===r||n.contains(r))&&t.forEach(o=>o.handleEvent(e))})}}addHandler(e,r,t,n){let o=this._events.get(r);if(o){let s=o.get(t);s?s.add(n):o.set(t,new Set([n]))}else this._events.set(r,new Map([[t,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,rh)})}removeHandler(e,r,t){let n=this._events.get(e);if(!n)return;let o=n.get(r);o&&(o.delete(t),o.size===0&&n.delete(r),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,rh)))}},oh={enterDuration:225,exitDuration:150},_0=800,sh=_n({passive:!0,capture:!0}),ah=["mousedown","touchstart"],lh=["mouseup","mouseleave","touchend","touchcancel"],_r=class _r{constructor(e,r,t,n){this._target=e,this._ngZone=r,this._platform=n,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=ai(t))}fadeInRipple(e,r,t={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=F(F({},oh),t.animation);t.centered&&(e=n.left+n.width/2,r=n.top+n.height/2);let s=t.radius||y0(e,r,n),a=e-n.left,l=r-n.top,d=o.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=`${a-s}px`,c.style.top=`${l-s}px`,c.style.height=`${s*2}px`,c.style.width=`${s*2}px`,t.color!=null&&(c.style.backgroundColor=t.color),c.style.transitionDuration=`${d}ms`,this._containerElement.appendChild(c);let u=window.getComputedStyle(c),h=u.transitionProperty,m=u.transitionDuration,g=h==="none"||m==="0s"||m==="0s, 0s"||n.width===0&&n.height===0,b=new ll(this,c,t,g);c.style.transform="scale3d(1, 1, 1)",b.state=Dt.FADING_IN,t.persistent||(this._mostRecentTransientRipple=b);let p=null;return!g&&(d||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let f=()=>this._finishRippleTransition(b),_=()=>this._destroyRipple(b);c.addEventListener("transitionend",f),c.addEventListener("transitioncancel",_),p={onTransitionEnd:f,onTransitionCancel:_}}),this._activeRipples.set(b,p),(g||!d)&&this._finishRippleTransition(b),b}fadeOutRipple(e){if(e.state===Dt.FADING_OUT||e.state===Dt.HIDDEN)return;let r=e.element,t=F(F({},oh),e.config.animation);r.style.transitionDuration=`${t.exitDuration}ms`,r.style.opacity="0",e.state=Dt.FADING_OUT,(e._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=ai(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,ah.forEach(t=>{_r._eventManager.addHandler(this._ngZone,t,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{lh.forEach(r=>{this._triggerElement.addEventListener(r,this,sh)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===Dt.FADING_IN?this._startFadeOutTransition(e):e.state===Dt.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:t}=e.config;e.state=Dt.VISIBLE,!t&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=Dt.HIDDEN,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel)),e.element.remove()}_onMousedown(e){let r=nl(e),t=this._lastTouchStartEvent&&Date.now(){let r=e.state===Dt.VISIBLE||e.config.terminateOnPointerUp&&e.state===Dt.FADING_IN;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(ah.forEach(r=>_r._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&lh.forEach(r=>e.removeEventListener(r,this,sh)))}};_r._eventManager=new dl;var cl=_r;function y0(i,e,r){let t=Math.max(Math.abs(i-r.left),Math.abs(i-r.right)),n=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(t*t+n*n)}var fh=new W("mat-ripple-global-options"),mh=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,n,o,s,a){this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new cl(this,n,t,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:F(F(F({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,n=0,o){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,n,F(F({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,F(F({},this.rippleConfig),t))}};e.\u0275fac=function(n){return new(n||e)(w(se),w(J),w(Be),w(fh,8),w(nt,8))},e.\u0275dir=Y({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,o){n&2&&Ce("mat-ripple-unbounded",o.unbounded)},inputs:{color:[P.None,"matRippleColor","color"],unbounded:[P.None,"matRippleUnbounded","unbounded"],centered:[P.None,"matRippleCentered","centered"],radius:[P.None,"matRippleRadius","radius"],animation:[P.None,"matRippleAnimation","animation"],disabled:[P.None,"matRippleDisabled","disabled"],trigger:[P.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let i=e;return i})(),hl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({imports:[Ne,Ne]});let i=e;return i})(),w0=(()=>{let e=class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(n){return new(n||e)(w(nt,8))},e.\u0275cmp=_e({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,o){n&2&&Ce("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[ye],decls:0,vars:0,template:function(n,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let i=e;return i})(),x0=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({imports:[Ne]});let i=e;return i})(),fl=new W("MAT_OPTION_PARENT_COMPONENT");var ml=new W("MatOptgroup");var C0=0,ul=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},Fo=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,n,o,s){this._element=t,this._changeDetectorRef=n,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${C0++}`,this.onSelectionChange=new me,this._stateChanges=new Q}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,n){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!Pt(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new ul(this,t))}};e.\u0275fac=function(n){return new(n||e)(w(se),w(tt),w(fl,8),w(ml,8))},e.\u0275cmp=_e({type:e,selectors:[["mat-option"]],viewQuery:function(n,o){if(n&1&&Xe(u0,7),n&2){let s;ce(s=ue())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,o){n&1&&Oe("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),n&2&&(Vn("id",o.id),De("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),Ce("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[P.HasDecoratorInputTransform,"disabled","disabled",le]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[Te,ye],ngContentSelectors:f0,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(n,o){n&1&&(Je(h0),ae(0,m0,1,2,"mat-pseudo-checkbox",1),pe(1),j(2,"span",2,0),pe(4,1),B(),ae(5,p0,1,1,"mat-pseudo-checkbox",3)(6,g0,2,1,"span",4),ge(7,"div",5)),n&2&&(Ee(0,o.multiple?0:-1),z(5),Ee(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),z(),Ee(6,o.group&&o.group._inert?6:-1),z(),ee("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[w0,mh],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let i=e;return i})();function ph(i,e,r){if(r.length){let t=e.toArray(),n=r.toArray(),o=0;for(let s=0;sr+t?Math.max(0,i-t+e):r}var pl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({imports:[hl,Ne,x0]});let i=e;return i})(),dh={capture:!0},ch=["focus","click","mouseenter","touchstart"],sl="mat-ripple-loader-uninitialized",al="mat-ripple-loader-class-name",uh="mat-ripple-loader-centered",Oo="mat-ripple-loader-disabled",bh=(()=>{let e=class e{constructor(){this._document=L(te,{optional:!0}),this._animationMode=L(nt,{optional:!0}),this._globalRippleOptions=L(fh,{optional:!0}),this._platform=L(Be),this._ngZone=L(J),this._hosts=new Map,this._onInteraction=t=>{if(!(t.target instanceof HTMLElement))return;let o=t.target.closest(`[${sl}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let t of ch)this._document?.addEventListener(t,this._onInteraction,dh)})}ngOnDestroy(){let t=this._hosts.keys();for(let n of t)this.destroyRipple(n);for(let n of ch)this._document?.removeEventListener(n,this._onInteraction,dh)}configureRipple(t,n){t.setAttribute(sl,""),(n.className||!t.hasAttribute(al))&&t.setAttribute(al,n.className||""),n.centered&&t.setAttribute(uh,""),n.disabled&&t.setAttribute(Oo,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,n){let o=this._hosts.get(t);if(o){o.disabled=n;return}n?t.setAttribute(Oo,""):t.removeAttribute(Oo)}_createRipple(t){if(!this._document)return;let n=this._hosts.get(t);if(n)return n;t.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",t.getAttribute(al)),t.append(o);let s=new mh(new se(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=t,s.centered=t.hasAttribute(uh),s.disabled=t.hasAttribute(Oo),this.attachRipple(t,s),s}attachRipple(t,n){t.removeAttribute(sl),this._hosts.set(t,n)}destroyRipple(t){let n=this._hosts.get(t);n&&(n.ngOnDestroy(),this._hosts.delete(t))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var E0=["notch"],S0=["matFormFieldNotchedOutline",""],T0=["*"],D0=["textField"],I0=["iconPrefixContainer"],M0=["textPrefixContainer"],k0=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],A0=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function R0(i,e){i&1&&ge(0,"span",17)}function O0(i,e){if(i&1&&(j(0,"label",16),pe(1,1),ae(2,R0,1,0,"span",17),B()),i&2){let r=oe(2);ee("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),De("for",r._control.id),z(2),Ee(2,!r.hideRequiredMarker&&r._control.required?2:-1)}}function F0(i,e){if(i&1&&ae(0,O0,3,5,"label",16),i&2){let r=oe();Ee(0,r._hasFloatingLabel()?0:-1)}}function P0(i,e){i&1&&ge(0,"div",5)}function N0(i,e){}function L0(i,e){if(i&1&&ae(0,N0,0,0,"ng-template",11),i&2){oe(2);let r=wt(1);ee("ngTemplateOutlet",r)}}function j0(i,e){if(i&1&&(j(0,"div",7),ae(1,L0,1,1,null,11),B()),i&2){let r=oe();ee("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),z(),Ee(1,r._forceDisplayInfixLabel()?-1:1)}}function z0(i,e){i&1&&(j(0,"div",8,2),pe(2,2),B())}function V0(i,e){i&1&&(j(0,"div",9,3),pe(2,3),B())}function B0(i,e){}function H0(i,e){if(i&1&&ae(0,B0,0,0,"ng-template",11),i&2){oe();let r=wt(1);ee("ngTemplateOutlet",r)}}function U0(i,e){i&1&&(j(0,"div",12),pe(1,4),B())}function $0(i,e){i&1&&(j(0,"div",13),pe(1,5),B())}function W0(i,e){i&1&&ge(0,"div",14)}function G0(i,e){if(i&1&&(j(0,"div",18),pe(1,6),B()),i&2){let r=oe();ee("@transitionMessages",r._subscriptAnimationState)}}function Y0(i,e){if(i&1&&(j(0,"mat-hint",20),be(1),B()),i&2){let r=oe(2);ee("id",r._hintLabelId),z(),$t(r.hintLabel)}}function q0(i,e){if(i&1&&(j(0,"div",19),ae(1,Y0,2,2,"mat-hint",20),pe(2,7),ge(3,"div",21),pe(4,8),B()),i&2){let r=oe();ee("@transitionMessages",r._subscriptAnimationState),z(),Ee(1,r.hintLabel?1:-1)}}var No=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Y({type:e,selectors:[["mat-label"]],standalone:!0});let i=e;return i})();var X0=new W("MatError");var Z0=0,_h=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${Z0++}`}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Y({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,o){n&2&&(Vn("id",o.id),De("align",null),Ce("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let i=e;return i})(),K0=new W("MatPrefix");var Q0=new W("MatSuffix");var Dh=new W("FloatingLabelParent"),yh=(()=>{let e=class e{get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(t){this._elementRef=t,this._floating=!1,this._monitorResize=!1,this._resizeObserver=L(Wu),this._ngZone=L(J),this._parent=L(Dh),this._resizeSubscription=new We}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return J0(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};e.\u0275fac=function(n){return new(n||e)(w(se))},e.\u0275dir=Y({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,o){n&2&&Ce("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let i=e;return i})();function J0(i){let e=i;if(e.offsetParent!==null)return e.scrollWidth;let r=e.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);let t=r.scrollWidth;return r.remove(),t}var wh="mdc-line-ripple--active",Po="mdc-line-ripple--deactivating",xh=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains(Po);o.propertyName==="opacity"&&a&&s.remove(wh,Po)},n.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let t=this._elementRef.nativeElement.classList;t.remove(Po),t.add(wh)}deactivate(){this._elementRef.nativeElement.classList.add(Po)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(n){return new(n||e)(w(se),w(J))},e.\u0275dir=Y({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let i=e;return i})(),Ch=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._ngZone=n,this.open=!1}ngAfterViewInit(){let t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){!this.open||!t?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};e.\u0275fac=function(n){return new(n||e)(w(se),w(J))},e.\u0275cmp=_e({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,o){if(n&1&&Xe(E0,5),n&2){let s;ce(s=ue())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,o){n&2&&Ce("mdc-notched-outline--notched",o.open)},inputs:{open:[P.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[ye],attrs:S0,ngContentSelectors:T0,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(n,o){n&1&&(Je(),ge(0,"div",1),j(1,"div",2,0),pe(3),B(),ge(4,"div",3))},encapsulation:2,changeDetection:0});let i=e;return i})(),e_={transitionMessages:Yt("transitionMessages",[bt("enter",st({opacity:1,transform:"translateY(0%)"})),xt("void => enter",[st({opacity:0,transform:"translateY(-5px)"}),At("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Lo=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Y({type:e});let i=e;return i})();var jo=new W("MatFormField"),t_=new W("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Eh=0,Sh="fill",i_="auto",Th="fixed",n_="translateY(-50%)",Ih=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Ka(t)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||i_}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){let n=this._appearance,o=t||this._defaults?.appearance||Sh;this._appearance=o,this._appearance==="outline"&&this._appearance!==n&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Th}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||Th}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,n,o,s,a,l,d,c){this._elementRef=t,this._changeDetectorRef=n,this._ngZone=o,this._dir=s,this._platform=a,this._defaults=l,this._animationMode=d,this._hideRequiredMarker=!1,this.color="primary",this._appearance=Sh,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${Eh++}`,this._hintLabelId=`mat-mdc-hint-${Eh++}`,this._subscriptAnimationState="",this._destroyed=new Q,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${t.controlType}`),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Me(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),jt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Me(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(Me(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(t){let n=this._control?this._control.ngControl:null;return n&&n[t]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&t.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let n=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;n?t.push(n.id):this._hintLabel&&t.push(this._hintLabelId),o&&t.push(o.id)}else this._errorChildren&&t.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let t=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){t.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let n=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=n?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0,l=this._dir.value==="rtl"?"-1":"1",d=`${s+a}px`,u=`calc(${l} * (${d} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;t.style.transform=`var( - --mat-mdc-form-field-label-transform, - ${n_} translateX(${u}) - )`}_isAttachedToDom(){let t=this._elementRef.nativeElement;if(t.getRootNode){let n=t.getRootNode();return n&&n!==t}return document.documentElement.contains(t)}};e.\u0275fac=function(n){return new(n||e)(w(se),w(tt),w(J),w(si),w(Be),w(t_,8),w(nt,8),w(te))},e.\u0275cmp=_e({type:e,selectors:[["mat-form-field"]],contentQueries:function(n,o,s){if(n&1&&(je(s,No,5),je(s,No,7),je(s,Lo,5),je(s,K0,5),je(s,Q0,5),je(s,X0,5),je(s,_h,5)),n&2){let a;ce(a=ue())&&(o._labelChildNonStatic=a.first),ce(a=ue())&&(o._labelChildStatic=a.first),ce(a=ue())&&(o._formFieldControl=a.first),ce(a=ue())&&(o._prefixChildren=a),ce(a=ue())&&(o._suffixChildren=a),ce(a=ue())&&(o._errorChildren=a),ce(a=ue())&&(o._hintChildren=a)}},viewQuery:function(n,o){if(n&1&&(Xe(D0,5),Xe(I0,5),Xe(M0,5),Xe(yh,5),Xe(Ch,5),Xe(xh,5)),n&2){let s;ce(s=ue())&&(o._textField=s.first),ce(s=ue())&&(o._iconPrefixContainer=s.first),ce(s=ue())&&(o._textPrefixContainer=s.first),ce(s=ue())&&(o._floatingLabel=s.first),ce(s=ue())&&(o._notchedOutline=s.first),ce(s=ue())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(n,o){n&2&&Ce("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[Se([{provide:jo,useExisting:e},{provide:Dh,useExisting:e}]),ye],ngContentSelectors:A0,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(n,o){if(n&1){let s=gt();Je(k0),ae(0,F0,1,1,"ng-template",null,0,ui),j(2,"div",4,1),Oe("click",function(l){return Ke(s),Qe(o._control.onContainerClick(l))}),ae(4,P0,1,0,"div",5),j(5,"div",6),ae(6,j0,2,2,"div",7)(7,z0,3,0,"div",8)(8,V0,3,0,"div",9),j(9,"div",10),ae(10,H0,1,1,null,11),pe(11),B(),ae(12,U0,2,0,"div",12)(13,$0,2,0,"div",13),B(),ae(14,W0,1,0,"div",14),B(),j(15,"div",15),ae(16,G0,2,1)(17,q0,5,2),B()}if(n&2){let s;z(2),Ce("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),z(2),Ee(4,!o._hasOutline()&&!o._control.disabled?4:-1),z(2),Ee(6,o._hasOutline()?6:-1),z(),Ee(7,o._hasIconPrefix?7:-1),z(),Ee(8,o._hasTextPrefix?8:-1),z(2),Ee(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),z(2),Ee(12,o._hasTextSuffix?12:-1),z(),Ee(13,o._hasIconSuffix?13:-1),z(),Ee(14,o._hasOutline()?-1:14),z(),Ce("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),z(),Ee(16,(s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[yh,Ch,rn,xh,_h],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[e_.transitionMessages]},changeDetection:0});let i=e;return i})(),Vi=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({imports:[Ne,ni,Gu,Ne]});let i=e;return i})();function Vo(i){return i&&typeof i.connect=="function"&&!(i instanceof An)}var En=function(i){return i[i.REPLACED=0]="REPLACED",i[i.INSERTED=1]="INSERTED",i[i.MOVED=2]="MOVED",i[i.REMOVED=3]="REMOVED",i}(En||{}),wr=new W("_ViewRepeater"),Sn=class{applyChanges(e,r,t,n,o){e.forEachOperation((s,a,l)=>{let d,c;if(s.previousIndex==null){let u=t(s,a,l);d=r.createEmbeddedView(u.templateRef,u.context,u.index),c=En.INSERTED}else l==null?(r.remove(a),c=En.REMOVED):(d=r.get(a),r.move(d,l),c=En.MOVED);o&&o({context:d?.context,operation:c,record:s})})}detach(){}};var zo=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,r,t=!0,n){this._multiple=e,this._emitChanges=t,this.compareWith=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Q,r&&r.length&&(e?r.forEach(o=>this._markSelected(o)):this._markSelected(r[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(t=>this._markSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...e){this._verifyValueAssignment(e),e.forEach(t=>this._unmarkSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...e){this._verifyValueAssignment(e);let r=this.selected,t=new Set(e);e.forEach(o=>this._markSelected(o)),r.filter(o=>!t.has(this._getConcreteValue(o,t))).forEach(o=>this._unmarkSelected(o));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let r=this._hasQueuedChanges();return e&&this._emitChangeEvent(),r}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,r){if(this.compareWith){r=r??this._selection;for(let t of r)if(this.compareWith(e,t))return t;return e}else return e}};var Bo=(()=>{let e=class e{constructor(){this._listeners=[]}notify(t,n){for(let o of this._listeners)o(t,n)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(n=>t!==n)}}ngOnDestroy(){this._listeners=[]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var o_=20,kh=(()=>{let e=class e{constructor(t,n,o){this._ngZone=t,this._platform=n,this._scrolled=new Q,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let n=this.scrollContainers.get(t);n&&(n.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=o_){return this._platform.isBrowser?new Jt(n=>{this._globalSubscription||this._addGlobalListener();let o=t>0?this._scrolled.pipe(Cs(t)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Z()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(t,n){let o=this.getAncestorScrollContainers(t);return this.scrolled(n).pipe(ze(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(t){let n=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,t)&&n.push(s)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,n){let o=ai(n),s=t.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return md(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(n){return new(n||e)(R(J),R(Be),R(te,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var s_=20,Bi=(()=>{let e=class e{constructor(t,n,o){this._platform=t,this._change=new Q,this._changeListener=s=>{this._change.next(s)},this._document=o,n.runOutsideAngular(()=>{if(t.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:n,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+n,height:o,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,n=this._getWindow(),o=t.documentElement,s=o.getBoundingClientRect(),a=-s.top||t.body.scrollTop||n.scrollY||o.scrollTop||0,l=-s.left||t.body.scrollLeft||n.scrollX||o.scrollLeft||0;return{top:a,left:l}}change(t=s_){return t>0?this._change.pipe(Cs(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(n){return new(n||e)(R(Be),R(J),R(te,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Ho=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({});let i=e;return i})(),xr=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({imports:[_i,Ho,_i,Ho]});let i=e;return i})();var Cr=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},bl=class extends Cr{constructor(e,r,t,n,o){super(),this.component=e,this.viewContainerRef=r,this.injector=t,this.componentFactoryResolver=n,this.projectableNodes=o}},Hi=class extends Cr{constructor(e,r,t,n){super(),this.templateRef=e,this.viewContainerRef=r,this.context=t,this.injector=n}get origin(){return this.templateRef.elementRef}attach(e,r=this.context){return this.context=r,super.attach(e)}detach(){return this.context=void 0,super.detach()}},vl=class extends Cr{constructor(e){super(),this.element=e instanceof se?e.nativeElement:e}},Uo=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof bl)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Hi)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof vl)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var $o=class extends Uo{constructor(e,r,t,n,o){super(),this.outletElement=e,this._componentFactoryResolver=r,this._appRef=t,this._defaultInjector=n,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(e){let t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector||Mt.NULL),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=e,n}attachTemplatePortal(e){let r=e.viewContainerRef,t=r.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return t.rootNodes.forEach(n=>this.outletElement.appendChild(n)),t.detectChanges(),this.setDisposeFn(()=>{let n=r.indexOf(t);n!==-1&&r.remove(n)}),this._attachedPortal=e,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var Ah=(()=>{let e=class e extends Uo{constructor(t,n,o){super(),this._componentFactoryResolver=t,this._viewContainerRef=n,this._isInitialized=!1,this.attached=new me,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");s.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let n=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,s=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),a=n.createComponent(s,n.length,t.injector||n.injector,t.projectableNodes||void 0);return n!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=t,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(t){t.setAttachedHost(this);let n=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n}_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}};e.\u0275fac=function(n){return new(n||e)(w(en),w(ct),w(te))},e.\u0275dir=Y({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[P.None,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[we]});let i=e;return i})();var Wo=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({});let i=e;return i})();var Rh=Uu(),_l=class{constructor(e,r){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=$e(-this._previousScrollPosition.left),e.style.top=$e(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,r=this._document.body,t=e.style,n=r.style,o=t.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Rh&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Rh&&(t.scrollBehavior=o,n.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,t=this._viewportRuler.getViewportSize();return r.scrollHeight>t.height||r.scrollWidth>t.width}};var yl=class{constructor(e,r,t,n){this._scrollDispatcher=e,this._ngZone=r,this._viewportRuler=t,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(ze(r=>!r||!this._overlayRef.overlayElement.contains(r.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Go=class{enable(){}disable(){}attach(){}};function wl(i,e){return e.some(r=>{let t=i.bottomr.bottom,o=i.rightr.right;return t||n||o||s})}function Oh(i,e){return e.some(r=>{let t=i.topr.bottom,o=i.leftr.right;return t||n||o||s})}var xl=class{constructor(e,r,t,n){this._scrollDispatcher=e,this._viewportRuler=r,this._ngZone=t,this._config=n,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();wl(r,[{width:t,height:n,bottom:n,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},l_=(()=>{let e=class e{constructor(t,n,o,s){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=o,this.noop=()=>new Go,this.close=a=>new yl(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new _l(this._viewportRuler,this._document),this.reposition=a=>new xl(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(n){return new(n||e)(R(kh),R(Bi),R(J),R(te))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Yo=class{constructor(e){if(this.scrollStrategy=new Go,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let r=Object.keys(e);for(let t of r)e[t]!==void 0&&(this[t]=e[t])}}};var Cl=class{constructor(e,r){this.connectionPair=e,this.scrollableViewProperties=r}};var jh=(()=>{let e=class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let n=this._attachedOverlays.indexOf(t);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(n){return new(n||e)(R(te))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),d_=(()=>{let e=class e extends jh{constructor(t,n){super(t),this._ngZone=n,this._keydownListener=o=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};e.\u0275fac=function(n){return new(n||e)(R(te),R(J,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),c_=(()=>{let e=class e extends jh{constructor(t,n,o){super(t),this._platform=n,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=Ft(s)},this._clickListener=s=>{let a=Ft(s),l=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let d=this._attachedOverlays.slice();for(let c=d.length-1;c>-1;c--){let u=d[c];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(a)||u.overlayElement.contains(l))break;let h=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(s)):h.next(s)}}}add(t){if(super.add(t),!this._isAttached){let n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(n){return new(n||e)(R(te),R(Be),R(J,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),zh=(()=>{let e=class e{constructor(t,n){this._platform=n,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||vr()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let s=0;sthis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new Q,this._outsidePointerEvents=new Q,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let r=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Ye(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof r?.onDestroy=="function"&&r.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),r}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=F(F({},this._config),e),this._updateElementSize()}setDirection(e){this._config=ve(F({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=$e(this._config.width),e.height=$e(this._config.height),e.minWidth=$e(this._config.minWidth),e.minHeight=$e(this._config.minHeight),e.maxWidth=$e(this._config.maxWidth),e.maxHeight=$e(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,r,t){let n=yn(r||[]).filter(o=>!!o);n.length&&(t?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(Me(jt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},Fh="cdk-overlay-connected-position-bounding-box",u_=/([A-Za-z%]+)$/,Sl=class{get positions(){return this._preferredPositions}constructor(e,r,t,n,o){this._viewportRuler=r,this._document=t,this._platform=n,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Q,this._resizeSubscription=We.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(Fh),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,r=this._overlayRect,t=this._viewportRect,n=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,n,a),d=this._getOverlayPoint(l,r,a),c=this._getOverlayFit(d,r,t,a);if(c.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(c,d,t)){o.push({position:a,origin:l,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleAreal&&(l=c,a=d)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ui(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Fh),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,r)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,r,t){let n;if(t.originX=="center")n=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;n=t.originX=="start"?s:a}r.left<0&&(n-=r.left);let o;return t.originY=="center"?o=e.top+e.height/2:o=t.originY=="top"?e.top:e.bottom,r.top<0&&(o-=r.top),{x:n,y:o}}_getOverlayPoint(e,r,t){let n;t.overlayX=="center"?n=-r.width/2:t.overlayX==="start"?n=this._isRtl()?-r.width:0:n=this._isRtl()?0:-r.width;let o;return t.overlayY=="center"?o=-r.height/2:o=t.overlayY=="top"?0:-r.height,{x:e.x+n,y:e.y+o}}_getOverlayFit(e,r,t,n){let o=Nh(r),{x:s,y:a}=e,l=this._getOffset(n,"x"),d=this._getOffset(n,"y");l&&(s+=l),d&&(a+=d);let c=0-s,u=s+o.width-t.width,h=0-a,m=a+o.height-t.height,g=this._subtractOverflows(o.width,c,u),b=this._subtractOverflows(o.height,h,m),p=g*b;return{visibleArea:p,isCompletelyWithinViewport:o.width*o.height===p,fitsInViewportVertically:b===o.height,fitsInViewportHorizontally:g==o.width}}_canFitWithFlexibleDimensions(e,r,t){if(this._hasFlexibleDimensions){let n=t.bottom-r.y,o=t.right-r.x,s=Ph(this._overlayRef.getConfig().minHeight),a=Ph(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||s!=null&&s<=n,d=e.fitsInViewportHorizontally||a!=null&&a<=o;return l&&d}return!1}_pushOverlayOnScreen(e,r,t){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=Nh(r),o=this._viewportRect,s=Math.max(e.x+n.width-o.width,0),a=Math.max(e.y+n.height-o.height,0),l=Math.max(o.top-t.top-e.y,0),d=Math.max(o.left-t.left-e.x,0),c=0,u=0;return n.width<=o.width?c=d||-s:c=e.xg&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-g/2)}let l=r.overlayX==="start"&&!n||r.overlayX==="end"&&n,d=r.overlayX==="end"&&!n||r.overlayX==="start"&&n,c,u,h;if(d)h=t.width-e.x+this._viewportMargin*2,c=e.x-this._viewportMargin;else if(l)u=e.x,c=t.right-e.x;else{let m=Math.min(t.right-e.x+t.left,e.x),g=this._lastBoundingBoxSize.width;c=m*2,u=e.x-m,c>g&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-g/2)}return{top:s,left:u,bottom:a,right:h,width:c,height:o}}_setBoundingBoxStyles(e,r){let t=this._calculateBoundingBoxRect(e,r);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;n.height=$e(t.height),n.top=$e(t.top),n.bottom=$e(t.bottom),n.width=$e(t.width),n.left=$e(t.left),n.right=$e(t.right),r.overlayX==="center"?n.alignItems="center":n.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?n.justifyContent="center":n.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(n.maxHeight=$e(o)),s&&(n.maxWidth=$e(s))}this._lastBoundingBoxSize=t,Ui(this._boundingBox.style,n)}_resetBoundingBoxStyles(){Ui(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ui(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,r){let t={},n=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(n){let c=this._viewportRuler.getViewportScrollPosition();Ui(t,this._getExactOverlayY(r,e,c)),Ui(t,this._getExactOverlayX(r,e,c))}else t.position="static";let a="",l=this._getOffset(r,"x"),d=this._getOffset(r,"y");l&&(a+=`translateX(${l}px) `),d&&(a+=`translateY(${d}px)`),t.transform=a.trim(),s.maxHeight&&(n?t.maxHeight=$e(s.maxHeight):o&&(t.maxHeight="")),s.maxWidth&&(n?t.maxWidth=$e(s.maxWidth):o&&(t.maxWidth="")),Ui(this._pane.style,t)}_getExactOverlayY(e,r,t){let n={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;n.bottom=`${s-(o.y+this._overlayRect.height)}px`}else n.top=$e(o.y);return n}_getExactOverlayX(e,r,t){let n={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;n.right=`${a-(o.x+this._overlayRect.width)}px`}else n.left=$e(o.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),r=this._pane.getBoundingClientRect(),t=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Oh(e,t),isOriginOutsideView:wl(e,t),isOverlayClipped:Oh(r,t),isOverlayOutsideView:wl(r,t)}}_subtractOverflows(e,...r){return r.reduce((t,n)=>t-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+e-this._viewportMargin,bottom:t.top+r-this._viewportMargin,width:e-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,r){return r==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&yn(e).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof se)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let r=e.width||0,t=e.height||0;return{top:e.y,bottom:e.y+t,left:e.x,right:e.x+r,height:t,width:r}}};function Ui(i,e){for(let r in e)e.hasOwnProperty(r)&&(i[r]=e[r]);return i}function Ph(i){if(typeof i!="number"&&i!=null){let[e,r]=i.split(u_);return!r||r==="px"?parseFloat(e):null}return i||null}function Nh(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function h_(i,e){return i===e?!0:i.isOriginClipped===e.isOriginClipped&&i.isOriginOutsideView===e.isOriginOutsideView&&i.isOverlayClipped===e.isOverlayClipped&&i.isOverlayOutsideView===e.isOverlayOutsideView}var Lh="cdk-global-overlay-wrapper",Tl=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let r=e.getConfig();this._overlayRef=e,this._width&&!r.width&&e.updateSize({width:this._width}),this._height&&!r.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(Lh),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:n,height:o,maxWidth:s,maxHeight:a}=t,l=(n==="100%"||n==="100vw")&&(!s||s==="100%"||s==="100vw"),d=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),c=this._xPosition,u=this._xOffset,h=this._overlayRef.getConfig().direction==="rtl",m="",g="",b="";l?b="flex-start":c==="center"?(b="center",h?g=u:m=u):h?c==="left"||c==="end"?(b="flex-end",m=u):(c==="right"||c==="start")&&(b="flex-start",g=u):c==="left"||c==="start"?(b="flex-start",m=u):(c==="right"||c==="end")&&(b="flex-end",g=u),e.position=this._cssPosition,e.marginLeft=l?"0":m,e.marginTop=d?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,r.justifyContent=b,r.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,t=r.style;r.classList.remove(Lh),t.justifyContent=t.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},f_=(()=>{let e=class e{constructor(t,n,o,s){this._viewportRuler=t,this._document=n,this._platform=o,this._overlayContainer=s}global(){return new Tl}flexibleConnectedTo(t){return new Sl(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(n){return new(n||e)(R(Bi),R(te),R(Be),R(zh))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),m_=0,$i=(()=>{let e=class e{constructor(t,n,o,s,a,l,d,c,u,h,m,g){this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=d,this._document=c,this._directionality=u,this._location=h,this._outsideClickDispatcher=m,this._animationsModuleType=g}create(t){let n=this._createHostElement(),o=this._createPaneElement(n),s=this._createPortalOutlet(o),a=new Yo(t);return a.direction=a.direction||this._directionality.value,new El(s,n,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(t){let n=this._document.createElement("div");return n.id=`cdk-overlay-${m_++}`,n.classList.add("cdk-overlay-pane"),t.appendChild(n),n}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Wt)),new $o(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(n){return new(n||e)(R(l_),R(zh),R(en),R(f_),R(d_),R(Mt),R(J),R(te),R(si),R(nn),R(c_),R(nt,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),p_=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Vh=new W("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=L($i);return()=>i.scrollStrategies.reposition()}}),qo=(()=>{let e=class e{constructor(t){this.elementRef=t}};e.\u0275fac=function(n){return new(n||e)(w(se))},e.\u0275dir=Y({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let i=e;return i})(),Dl=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,n,o,s,a){this._overlay=t,this._dir=a,this._backdropSubscription=We.EMPTY,this._attachSubscription=We.EMPTY,this._detachSubscription=We.EMPTY,this._positionSubscription=We.EMPTY,this._disposeOnNavigation=!1,this._ngZone=L(J),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new me,this.positionChange=new me,this.attach=new me,this.detach=new me,this.overlayKeydown=new me,this.overlayOutsideClick=new me,this._templatePortal=new Hi(n,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=p_);let t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!Pt(n)&&(n.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{this.overlayOutsideClick.next(n)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),n=new Yo({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(n.width=this.width),(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(t){let n=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof qo?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(_d(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(w($i),w(dt),w(ct),w(Vh),w(si,8))},e.\u0275dir=Y({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[P.None,"cdkConnectedOverlayOrigin","origin"],positions:[P.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[P.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[P.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[P.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[P.None,"cdkConnectedOverlayWidth","width"],height:[P.None,"cdkConnectedOverlayHeight","height"],minWidth:[P.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[P.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[P.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[P.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[P.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[P.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[P.None,"cdkConnectedOverlayOpen","open"],disableClose:[P.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[P.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[P.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",le],lockPosition:[P.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",le],flexibleDimensions:[P.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",le],growAfterOpen:[P.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",le],push:[P.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",le],disposeOnNavigation:[P.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",le]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Te,qe]});let i=e;return i})();function g_(i){return()=>i.scrollStrategies.reposition()}var b_={provide:Vh,deps:[$i],useFactory:g_},Bh=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({providers:[$i,b_],imports:[_i,Wo,xr,xr]});let i=e;return i})();var Xh=(()=>{let e=class e{constructor(t,n){this._renderer=t,this._elementRef=n,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(n){return new(n||e)(w(zr),w(se))},e.\u0275dir=Y({type:e});let i=e;return i})(),v_=(()=>{let e=class e extends Xh{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(e)))(o||e)}})(),e.\u0275dir=Y({type:e,features:[we]});let i=e;return i})(),Zh=new W("");var __={provide:Zh,useExisting:Fn(()=>Kh),multi:!0};function y_(){let i=tn()?tn().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var w_=new W(""),Kh=(()=>{let e=class e extends Xh{constructor(t,n,o){super(t,n),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!y_())}writeValue(t){let n=t??"";this.setProperty("value",n)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(n){return new(n||e)(w(zr),w(se),w(w_,8))},e.\u0275dir=Y({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(n,o){n&1&&Oe("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[Se([__]),we]});let i=e;return i})();function wi(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function Qh(i){return i!=null&&typeof i.length=="number"}var kl=new W(""),Al=new W(""),x_=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Zo=class{static min(e){return C_(e)}static max(e){return E_(e)}static required(e){return S_(e)}static requiredTrue(e){return T_(e)}static email(e){return D_(e)}static minLength(e){return I_(e)}static maxLength(e){return M_(e)}static pattern(e){return k_(e)}static nullValidator(e){return Jh(e)}static compose(e){return sf(e)}static composeAsync(e){return af(e)}};function C_(i){return e=>{if(wi(e.value)||wi(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(wi(e.value)||wi(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>i?{max:{max:i,actual:e.value}}:null}}function S_(i){return wi(i.value)?{required:!0}:null}function T_(i){return i.value===!0?null:{required:!0}}function D_(i){return wi(i.value)||x_.test(i.value)?null:{email:!0}}function I_(i){return e=>wi(e.value)||!Qh(e.value)?null:e.value.lengthQh(e.value)&&e.value.length>i?{maxlength:{requiredLength:i,actualLength:e.value.length}}:null}function k_(i){if(!i)return Jh;let e,r;return typeof i=="string"?(r="",i.charAt(0)!=="^"&&(r+="^"),r+=i,i.charAt(i.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=i.toString(),e=i),t=>{if(wi(t.value))return null;let n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}function Jh(i){return null}function ef(i){return i!=null}function tf(i){return Wr(i)?it(i):i}function nf(i){let e={};return i.forEach(r=>{e=r!=null?F(F({},e),r):e}),Object.keys(e).length===0?null:e}function rf(i,e){return e.map(r=>r(i))}function A_(i){return!i.validate}function of(i){return i.map(e=>A_(e)?e:r=>e.validate(r))}function sf(i){if(!i)return null;let e=i.filter(ef);return e.length==0?null:function(r){return nf(rf(r,e))}}function Rl(i){return i!=null?sf(of(i)):null}function af(i){if(!i)return null;let e=i.filter(ef);return e.length==0?null:function(r){let t=rf(r,e).map(tf);return Zi(t).pipe(ie(nf))}}function Ol(i){return i!=null?af(of(i)):null}function Hh(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function lf(i){return i._rawValidators}function df(i){return i._rawAsyncValidators}function Il(i){return i?Array.isArray(i)?i:[i]:[]}function Ko(i,e){return Array.isArray(i)?i.includes(e):i===e}function Uh(i,e){let r=Il(e);return Il(i).forEach(n=>{Ko(r,n)||r.push(n)}),r}function $h(i,e){return Il(e).filter(r=>!Ko(i,r))}var Qo=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Rl(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=Ol(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},Wi=class extends Qo{get formDirective(){return null}get path(){return null}},Gi=class extends Qo{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Ml=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},R_={"[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"},aD=ve(F({},R_),{"[class.ng-submitted]":"isSubmitted"}),cf=(()=>{let e=class e extends Ml{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(w(Gi,2))},e.\u0275dir=Y({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){n&2&&Ce("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)},features:[we]});let i=e;return i})();var Er="VALID",Xo="INVALID",Tn="PENDING",Sr="DISABLED";function uf(i){return(rs(i)?i.validators:i)||null}function O_(i){return Array.isArray(i)?Rl(i):i||null}function hf(i,e){return(rs(e)?e.asyncValidators:i)||null}function F_(i){return Array.isArray(i)?Ol(i):i||null}function rs(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function P_(i,e,r){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new Ae(1e3,"");if(!t[r])throw new Ae(1001,"")}function N_(i,e,r){i._forEachChild((t,n)=>{if(r[n]===void 0)throw new Ae(1002,"")})}var Jo=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Er}get invalid(){return this.status===Xo}get pending(){return this.status==Tn}get disabled(){return this.status===Sr}get enabled(){return this.status!==Sr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Uh(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Uh(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators($h(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators($h(e,this._rawAsyncValidators))}hasValidator(e){return Ko(this._rawValidators,e)}hasAsyncValidator(e){return Ko(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Tn,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Sr,this.errors=null,this._forEachChild(t=>{t.disable(ve(F({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ve(F({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=Er,this._forEachChild(t=>{t.enable(ve(F({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(ve(F({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Er||this.status===Tn)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Sr:Er}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Tn,this._hasOwnPendingAsyncValidator=!0;let r=tf(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((t,n)=>t&&t._find(n),this)}getError(e,r){let t=r?this.get(r):this;return t&&t.errors?t.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new me,this.statusChanges=new me}_calculateStatus(){return this._allControlsDisabled()?Sr:this.errors?Xo:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Tn)?Tn:this._anyControlsHaveStatus(Xo)?Xo:Er}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){rs(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=O_(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=F_(this._rawAsyncValidators)}},es=class extends Jo{constructor(e,r,t){super(uf(r),hf(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,t={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){N_(this,!0,e),Object.keys(e).forEach(t=>{P_(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(t=>{let n=this.controls[t];n&&n.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,n)=>{t.reset(e?e[n]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,t)=>(e[t]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,t)=>t._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let t=this.controls[r];t&&e(t,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,t]of Object.entries(this.controls))if(this.contains(r)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,t,n)=>((t.enabled||this.disabled)&&(r[n]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((n,o)=>{t=r(t,n,o)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var os=new W("CallSetDisabledState",{providedIn:"root",factory:()=>Fl}),Fl="always";function L_(i,e){return[...e.path,i]}function ts(i,e,r=Fl){Pl(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),z_(i,e),B_(i,e),V_(i,e),j_(i,e)}function Wh(i,e,r=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),ns(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function is(i,e){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function j_(i,e){if(e.valueAccessor.setDisabledState){let r=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(r),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}function Pl(i,e){let r=lf(i);e.validator!==null?i.setValidators(Hh(r,e.validator)):typeof r=="function"&&i.setValidators([r]);let t=df(i);e.asyncValidator!==null?i.setAsyncValidators(Hh(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let n=()=>i.updateValueAndValidity();is(e._rawValidators,n),is(e._rawAsyncValidators,n)}function ns(i,e){let r=!1;if(i!==null){if(e.validator!==null){let n=lf(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(s=>s!==e.validator);o.length!==n.length&&(r=!0,i.setValidators(o))}}if(e.asyncValidator!==null){let n=df(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(s=>s!==e.asyncValidator);o.length!==n.length&&(r=!0,i.setAsyncValidators(o))}}}let t=()=>{};return is(e._rawValidators,t),is(e._rawAsyncValidators,t),r}function z_(i,e){e.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&ff(i,e)})}function V_(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&ff(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function ff(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function B_(i,e){let r=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};i.registerOnChange(r),e._registerOnDestroy(()=>{i._unregisterOnChange(r)})}function mf(i,e){i==null,Pl(i,e)}function H_(i,e){return ns(i,e)}function U_(i,e){if(!i.hasOwnProperty("model"))return!1;let r=i.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function $_(i){return Object.getPrototypeOf(i.constructor)===v_}function pf(i,e){i._syncPendingControls(),e.forEach(r=>{let t=r.control;t.updateOn==="submit"&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function W_(i,e){if(!e)return null;Array.isArray(e);let r,t,n;return e.forEach(o=>{o.constructor===Kh?r=o:$_(o)?t=o:n=o}),n||t||r||null}function G_(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}var Y_={provide:Wi,useExisting:Fn(()=>Nl)},Tr=Promise.resolve(),Nl=(()=>{let e=class e extends Wi{constructor(t,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new me,this.form=new es({},Rl(t),Ol(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Tr.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),ts(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Tr.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Tr.then(()=>{let n=this._findContainer(t.path),o=new es({});mf(o,t),n.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Tr.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){Tr.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,pf(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(n){return new(n||e)(w(kl,10),w(Al,10),w(os,8))},e.\u0275dir=Y({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){n&1&&Oe("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[P.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Se([Y_]),we]});let i=e;return i})();function Gh(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}function Yh(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var gf=class extends Jo{constructor(e=null,r,t){super(uf(r),hf(t,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),rs(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Yh(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Gh(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Gh(this._onDisabledChange,e)}_forEachChild(e){}_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(e){Yh(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var q_=i=>i instanceof gf;var X_={provide:Gi,useExisting:Fn(()=>Ll)},qh=Promise.resolve(),Ll=(()=>{let e=class e extends Gi{constructor(t,n,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new gf,this._registered=!1,this.name="",this.update=new me,this._parent=t,this._setValidators(n),this._setAsyncValidators(o),this.valueAccessor=W_(this,s)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),U_(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){ts(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){qh.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,o=n!==0&&le(n);qh.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?L_(t,this._parent):[t]}};e.\u0275fac=function(n){return new(n||e)(w(Wi,9),w(kl,10),w(Al,10),w(Zh,10),w(tt,8),w(os,8))},e.\u0275dir=Y({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[P.None,"disabled","isDisabled"],model:[P.None,"ngModel","model"],options:[P.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Se([X_]),we,qe]});let i=e;return i})();var Z_={provide:Wi,useExisting:Fn(()=>jl)},jl=(()=>{let e=class e extends Wi{constructor(t,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new me,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ns(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let n=this.form.get(t.path);return ts(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){Wh(t.control||null,t,!1),G_(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this.submitted=!0,pf(this.form,this.directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,o=this.form.get(t.path);n!==o&&(Wh(n||null,t),q_(o)&&(ts(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);mf(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&H_(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Pl(this.form,this),this._oldForm&&ns(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(n){return new(n||e)(w(kl,10),w(Al,10),w(os,8))},e.\u0275dir=Y({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,o){n&1&&Oe("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[P.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Se([Z_]),we,qe]});let i=e;return i})();var K_=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({});let i=e;return i})();var bf=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:os,useValue:t.callSetDisabledState??Fl}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({imports:[K_]});let i=e;return i})();var Q_=["trigger"],J_=["panel"],ey=[[["mat-select-trigger"]],"*"],ty=["mat-select-trigger","*"];function iy(i,e){if(i&1&&(j(0,"span",4),be(1),B()),i&2){let r=oe();z(),$t(r.placeholder)}}function ny(i,e){i&1&&pe(0)}function ry(i,e){if(i&1&&(j(0,"span",11),be(1),B()),i&2){let r=oe(2);z(),$t(r.triggerValue)}}function oy(i,e){if(i&1&&(j(0,"span",10),ae(1,ny,1,0)(2,ry,2,1),B()),i&2){let r=oe();z(),Ee(1,r.customTrigger?1:2)}}function sy(i,e){if(i&1){let r=gt();j(0,"div",12,1),Oe("@transformPanel.done",function(n){Ke(r);let o=oe();return Qe(o._panelDoneAnimatingStream.next(n.toState))})("keydown",function(n){Ke(r);let o=oe();return Qe(o._handleKeydown(n))}),pe(2,1),B()}if(i&2){let r=oe();Pd("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",r._getPanelTheme(),""),ee("ngClass",r.panelClass)("@transformPanel","showing"),De("id",r.id+"-panel")("aria-multiselectable",r.multiple)("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby())}}var ay={transformPanelWrap:Yt("transformPanelWrap",[xt("* => void",Kd("@transformPanel",[Zd()],{optional:!0}))]),transformPanel:Yt("transformPanel",[bt("void",st({opacity:0,transform:"scale(1, 0.8)"})),xt("void => showing",At("120ms cubic-bezier(0, 0, 0.2, 1)",st({opacity:1,transform:"scale(1, 1)"}))),xt("* => void",At("100ms linear",st({opacity:0})))])};var _f=0,yf=new W("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let i=L($i);return()=>i.scrollStrategies.reposition()}});function ly(i){return()=>i.scrollStrategies.reposition()}var dy=new W("MAT_SELECT_CONFIG"),cy={provide:yf,deps:[$i],useFactory:ly},uy=new W("MatSelectTrigger"),zl=class{constructor(e,r){this.source=e,this.value=r}},wf=(()=>{let e=class e{_scrollOptionIntoView(t){let n=this.options.toArray()[t];if(n){let o=this.panel.nativeElement,s=ph(t,this.options,this.optionGroups),a=n._getHostElement();t===0&&s===1?o.scrollTop=0:o.scrollTop=gh(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new zl(this,t)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Zo.required)??!1}set required(t){this._required=t,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._selectionModel,this._multiple=t}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,n,o,s,a,l,d,c,u,h,m,g,b,p){this._viewportRuler=t,this._changeDetectorRef=n,this._elementRef=a,this._dir=l,this._parentFormField=u,this.ngControl=h,this._liveAnnouncer=b,this._defaultOptions=p,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(f,_)=>f===_,this._uid=`mat-select-${_f++}`,this._triggerAriaLabelledBy=null,this._destroy=new Q,this.stateChanges=new Q,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${_f++}`,this._panelDoneAnimatingStream=new Q,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new Q,this.optionSelectionChanges=Rn(()=>{let f=this.options;return f?f.changes.pipe(It(f),ot(()=>jt(...f.map(_=>_.onSelectionChange)))):this._initialized.pipe(ot(()=>this.optionSelectionChanges))}),this.openedChange=new me,this._openedStream=this.openedChange.pipe(ze(f=>f),ie(()=>{})),this._closedStream=this.openedChange.pipe(ze(f=>!f),ie(()=>{})),this.selectionChange=new me,this.valueChange=new me,this._trackedModal=null,this._skipPredicate=f=>this.panelOpen?!1:f.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),p?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=p.typeaheadDebounceInterval),this._errorStateTracker=new yr(s,h,c,d,this.stateChanges),this._scrollStrategyFactory=g,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(m)||0,this.id=this.id}ngOnInit(){this._selectionModel=new zo(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(On(),Me(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(Me(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Me(this._destroy)).subscribe(t=>{t.added.forEach(n=>n.select()),t.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(It(null),Me(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let t=this._getTriggerAriaLabelledby(),n=this.ngControl;if(t!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?o.setAttribute("aria-labelledby",t):o.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(this._previousControl!==void 0&&n.disabled!==null&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;let n=`${this.id}-panel`;this._trackedModal&&il(this._trackedModal,"aria-owns",n),Ju(t,"aria-owns",n),this._trackedModal=t}_clearFromModal(){if(!this._trackedModal)return;let t=`${this.id}-panel`;il(this._trackedModal,"aria-owns",t),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let t=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){let n=t.keyCode,o=n===40||n===38||n===37||n===39,s=n===13||n===32,a=this._keyManager;if(!a.isTyping()&&s&&!Pt(t)||(this.multiple||t.altKey)&&o)t.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;a.onKeydown(t);let d=this.selected;d&&l!==d&&this._liveAnnouncer.announce(d.viewValue,1e4)}}_handleOpenKeydown(t){let n=this._keyManager,o=t.keyCode,s=o===40||o===38,a=n.isTyping();if(s&&t.altKey)t.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&n.activeItem&&!Pt(t))t.preventDefault(),n.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&t.ctrlKey){t.preventDefault();let l=this.options.some(d=>!d.disabled&&!d.selected);this.options.forEach(d=>{d.disabled||(l?d.select():d.deselect())})}else{let l=n.activeItemIndex;n.onKeydown(t),this._multiple&&s&&t.shiftKey&&n.activeItem&&n.activeItemIndex!==l&&n.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ye(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{let n=this._selectOptionByValue(t);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){let n=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,t)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(t){return t!==this._value||this._multiple&&Array.isArray(t)?(this.options&&this._setSelectionByValue(t),this._value=t,!0):!1}_getOverlayWidth(t){return this.panelWidth==="auto"?(t instanceof qo?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Io(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let t=jt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Me(t)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),jt(...this.options.map(n=>n._stateChanges)).pipe(Me(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,n){let o=this._selectionModel.isSelected(t);t.value==null&&!this._multiple?(t.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(t.value)):(o!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),n&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),n&&this.focus())),o!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let t=this.options.toArray();this._selectionModel.sort((n,o)=>this.sortComparator?this.sortComparator(n,o,t):t.indexOf(n)-t.indexOf(o)),this.stateChanges.next()}}_propagateChanges(t){let n;this.multiple?n=this.selected.map(o=>o.value):n=this.selected?this.selected.value:t,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let n=0;n0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),n=t?t+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(n){return new(n||e)(w(Bi),w(tt),w(J),w(hh),w(se),w(si,8),w(Nl,8),w(jl,8),w(jo,8),w(Gi,10),Bt("tabindex"),w(yf),w(ih),w(dy,8))},e.\u0275cmp=_e({type:e,selectors:[["mat-select"]],contentQueries:function(n,o,s){if(n&1&&(je(s,uy,5),je(s,Fo,5),je(s,ml,5)),n&2){let a;ce(a=ue())&&(o.customTrigger=a.first),ce(a=ue())&&(o.options=a),ce(a=ue())&&(o.optionGroups=a)}},viewQuery:function(n,o){if(n&1&&(Xe(Q_,5),Xe(J_,5),Xe(Dl,5)),n&2){let s;ce(s=ue())&&(o.trigger=s.first),ce(s=ue())&&(o.panel=s.first),ce(s=ue())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(n,o){n&1&&Oe("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),n&2&&(De("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),Ce("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[P.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[P.HasDecoratorInputTransform,"disabled","disabled",le],disableRipple:[P.HasDecoratorInputTransform,"disableRipple","disableRipple",le],tabIndex:[P.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>t==null?0:Gt(t)],hideSingleSelectionIndicator:[P.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",le],placeholder:"placeholder",required:[P.HasDecoratorInputTransform,"required","required",le],multiple:[P.HasDecoratorInputTransform,"multiple","multiple",le],disableOptionCentering:[P.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",le],compareWith:"compareWith",value:"value",ariaLabel:[P.None,"aria-label","ariaLabel"],ariaLabelledby:[P.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[P.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",Gt],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Se([{provide:Lo,useExisting:e},{provide:fl,useExisting:e}]),Te,qe,ye],ngContentSelectors:ty,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(n,o){if(n&1){let s=gt();Je(ey),j(0,"div",2,0),Oe("click",function(){return Ke(s),Qe(o.open())}),j(3,"div",3),ae(4,iy,2,1,"span",4)(5,oy,3,1),B(),j(6,"div",5)(7,"div",6),Ti(),j(8,"svg",7),ge(9,"path",8),B()()()(),ae(10,sy,3,9,"ng-template",9),Oe("backdropClick",function(){return Ke(s),Qe(o.close())})("attach",function(){return Ke(s),Qe(o._onAttached())})("detach",function(){return Ke(s),Qe(o.close())})}if(n&2){let s=wt(1);z(3),De("id",o._valueId),z(),Ee(4,o.empty?4:5),z(6),ee("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[qo,Dl,$d],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[ay.transformPanel]},changeDetection:0});let i=e;return i})();var xf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({providers:[cy],imports:[ni,Bh,pl,Ne,Ho,Vi,pl,Ne]});let i=e;return i})();var my=[[["caption"]],[["colgroup"],["col"]],"*"],py=["caption","colgroup, col","*"];function gy(i,e){i&1&&pe(0,2)}function by(i,e){i&1&&(j(0,"thead",0),He(1,1),B(),j(2,"tbody",0),He(3,2)(4,3),B(),j(5,"tfoot",0),He(6,4),B())}function vy(i,e){i&1&&He(0,1)(1,2)(2,3)(3,4)}var Nt=new W("CDK_TABLE");var us=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(w(dt))},e.\u0275dir=Y({type:e,selectors:[["","cdkCellDef",""]],standalone:!0});let i=e;return i})(),hs=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(w(dt))},e.\u0275dir=Y({type:e,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let i=e;return i})(),Sf=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(w(dt))},e.\u0275dir=Y({type:e,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let i=e;return i})(),Dn=(()=>{let e=class e{get name(){return this._name}set name(t){this._setNameInput(t)}get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){t!==this._stickyEnd&&(this._stickyEnd=t,this._hasStickyChanged=!0)}constructor(t){this._table=t,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};e.\u0275fac=function(n){return new(n||e)(w(Nt,8))},e.\u0275dir=Y({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,o,s){if(n&1&&(je(s,us,5),je(s,hs,5),je(s,Sf,5)),n&2){let a;ce(a=ue())&&(o.cell=a.first),ce(a=ue())&&(o.headerCell=a.first),ce(a=ue())&&(o.footerCell=a.first)}},inputs:{name:[P.None,"cdkColumnDef","name"],sticky:[P.HasDecoratorInputTransform,"sticky","sticky",le],stickyEnd:[P.HasDecoratorInputTransform,"stickyEnd","stickyEnd",le]},standalone:!0,features:[Se([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),Te]});let i=e;return i})(),as=class{constructor(e,r){r.nativeElement.classList.add(...e._columnCssClassName)}},Tf=(()=>{let e=class e extends as{constructor(t,n){super(t,n)}};e.\u0275fac=function(n){return new(n||e)(w(Dn),w(se))},e.\u0275dir=Y({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[we]});let i=e;return i})();var Df=(()=>{let e=class e extends as{constructor(t,n){super(t,n);let o=t._table?._getCellRole();o&&n.nativeElement.setAttribute("role",o)}};e.\u0275fac=function(n){return new(n||e)(w(Dn),w(se))},e.\u0275dir=Y({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[we]});let i=e;return i})(),ls=class{constructor(){this.tasks=[],this.endTasks=[]}},ds=new W("_COALESCED_STYLE_SCHEDULER"),Bl=(()=>{let e=class e{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new Q}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new ls,this._getScheduleObservable().pipe(Me(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let t=this._currentSchedule;this._currentSchedule=new ls;for(let n of t.tasks)n();for(let n of t.endTasks)n()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?it(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Ye(1))}};e.\u0275fac=function(n){return new(n||e)(R(J))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})();var Hl=(()=>{let e=class e{constructor(t,n){this.template=t,this._differs=n}ngOnChanges(t){if(!this._columnsDiffer){let n=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(n).create(),this._columnsDiffer.diff(n)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof Dr?t.headerCell.template:this instanceof Ul?t.footerCell.template:t.cell.template}};e.\u0275fac=function(n){return new(n||e)(w(dt),w(Ii))},e.\u0275dir=Y({type:e,features:[qe]});let i=e;return i})(),Dr=(()=>{let e=class e extends Hl{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,n,o){super(t,n),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(n){return new(n||e)(w(dt),w(Ii),w(Nt,8))},e.\u0275dir=Y({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[P.None,"cdkHeaderRowDef","columns"],sticky:[P.HasDecoratorInputTransform,"cdkHeaderRowDefSticky","sticky",le]},standalone:!0,features:[Te,we,qe]});let i=e;return i})(),Ul=(()=>{let e=class e extends Hl{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,n,o){super(t,n),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(n){return new(n||e)(w(dt),w(Ii),w(Nt,8))},e.\u0275dir=Y({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[P.None,"cdkFooterRowDef","columns"],sticky:[P.HasDecoratorInputTransform,"cdkFooterRowDefSticky","sticky",le]},standalone:!0,features:[Te,we,qe]});let i=e;return i})(),fs=(()=>{let e=class e extends Hl{constructor(t,n,o){super(t,n),this._table=o}};e.\u0275fac=function(n){return new(n||e)(w(dt),w(Ii),w(Nt,8))},e.\u0275dir=Y({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:[P.None,"cdkRowDefColumns","columns"],when:[P.None,"cdkRowDefWhen","when"]},standalone:!0,features:[we]});let i=e;return i})(),Yi=(()=>{let e=class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}};e.mostRecentCellOutlet=null,e.\u0275fac=function(n){return new(n||e)(w(ct))},e.\u0275dir=Y({type:e,selectors:[["","cdkCellOutlet",""]],standalone:!0});let i=e;return i})(),$l=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=_e({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[ye],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&He(0,0)},dependencies:[Yi],encapsulation:2});let i=e;return i})();var Wl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=_e({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[ye],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&He(0,0)},dependencies:[Yi],encapsulation:2});let i=e;return i})(),If=(()=>{let e=class e{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}};e.\u0275fac=function(n){return new(n||e)(w(dt))},e.\u0275dir=Y({type:e,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let i=e;return i})(),Cf=["top","bottom","left","right"],Vl=class{constructor(e,r,t,n,o=!0,s=!0,a){this._isNativeHtmlTable=e,this._stickCellCss=r,this.direction=t,this._coalescedStyleScheduler=n,this._isBrowser=o,this._needsPositionStickyOnElement=s,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${r}-border-elem-top`,bottom:`${r}-border-elem-bottom`,left:`${r}-border-elem-left`,right:`${r}-border-elem-right`}}clearStickyPositioning(e,r){let t=[];for(let n of e)if(n.nodeType===n.ELEMENT_NODE){t.push(n);for(let o=0;o{for(let n of t)this._removeStickyStyle(n,r)})}updateStickyColumns(e,r,t,n=!0){if(!e.length||!this._isBrowser||!(r.some(o=>o)||t.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=e[0],s=o.children.length,a=this._getCellWidths(o,n),l=this._getStickyStartColumnPositions(a,r),d=this._getStickyEndColumnPositions(a,t),c=r.lastIndexOf(!0),u=t.indexOf(!0),h=this.direction==="rtl",m=h?"right":"left",g=h?"left":"right";for(let b of e)for(let p=0;pr[p]?b:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:u===-1?[]:a.slice(u).map((b,p)=>t[p+u]?b:null).reverse()}))})}stickRows(e,r,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let n=t==="bottom"?e.slice().reverse():e,o=t==="bottom"?r.slice().reverse():r,s=[],a=[],l=[];for(let c=0,u=0;c{let t=e.querySelector("tfoot");t&&(r.some(n=>!n)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(e,r){for(let n of r)e.style[n]="",e.classList.remove(this._borderCellCss[n]);Cf.some(n=>r.indexOf(n)===-1&&e.style[n])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,r,t,n){e.classList.add(this._stickCellCss),n&&e.classList.add(this._borderCellCss[r]),e.style[r]=`${t}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let r={top:100,bottom:10,left:1,right:1},t=0;for(let n of Cf)e.style[n]&&(t+=r[n]);return t?`${t}`:""}_getCellWidths(e,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],n=e.children;for(let o=0;o0;o--)r[o]&&(t[o]=n,n+=e[o]);return t}};var cs=new W("CDK_SPL");var Gl=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=L(Nt);o._rowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(w(ct),w(se))},e.\u0275dir=Y({type:e,selectors:[["","rowOutlet",""]],standalone:!0});let i=e;return i})(),Yl=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=L(Nt);o._headerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(w(ct),w(se))},e.\u0275dir=Y({type:e,selectors:[["","headerRowOutlet",""]],standalone:!0});let i=e;return i})(),ql=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=L(Nt);o._footerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(w(ct),w(se))},e.\u0275dir=Y({type:e,selectors:[["","footerRowOutlet",""]],standalone:!0});let i=e;return i})(),Xl=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=L(Nt);o._noDataRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(w(ct),w(se))},e.\u0275dir=Y({type:e,selectors:[["","noDataRowOutlet",""]],standalone:!0});let i=e;return i})();var Zl=(()=>{let e=class e{_getCellRole(){if(this._cellRoleInternal===void 0){let t=this._elementRef.nativeElement.getAttribute("role"),n=t==="grid"||t==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&n==="cell"?null:n}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=t,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=t,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(t,n,o,s,a,l,d,c,u,h,m,g){this._differs=t,this._changeDetectorRef=n,this._elementRef=o,this._dir=a,this._platform=d,this._viewRepeater=c,this._coalescedStyleScheduler=u,this._viewportRuler=h,this._stickyPositioningListener=m,this._ngZone=g,this._onDestroy=new Q,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new me,this.viewChange=new Ge({start:0,end:Number.MAX_VALUE}),s||o.nativeElement.setAttribute("role","table"),this._document=l,this._isServer=!d.isBrowser,this._isNativeHtmlTable=o.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((t,n)=>this.trackBy?this.trackBy(n.dataIndex,n.data):n),this._viewportRuler.change().pipe(Me(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(t=>{t?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),Vo(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let t=this._dataDiffer.diff(this._renderRows);if(!t){this._updateNoDataRow(),this.contentChanged.next();return}let n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,n,(o,s,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{o.operation===En.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(o=>{let s=n.get(o.currentIndex);s.context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&J.isInAngularZone()?this._ngZone.onStable.pipe(Ye(1),Me(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){let t=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=Ef(this._headerRowOutlet,"thead");o&&(o.style.display=t.length?"":"none")}let n=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let t=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=Ef(this._footerRowOutlet,"tfoot");o&&(o.style.display=t.length?"":"none")}let n=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let t=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...n,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((s,a)=>{this._addStickyColumnStyles([s],this._headerRowDefs[a])}),this._rowDefs.forEach(s=>{let a=[];for(let l=0;l{this._addStickyColumnStyles([s],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(s=>s.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let t=[],n=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let l=o&&o.has(a)?o.get(a):[];if(l.length){let d=l.shift();return d.dataIndex=n,d}else return{data:t,rowDef:a,dataIndex:n}})}_cacheColumnDefs(){this._columnDefsByName.clear(),ss(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=ss(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=ss(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=ss(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let t=this._rowDefs.filter(n=>!n.when);!this.multiTemplateDataRows&&t.length>1,this._defaultRowDef=t[0]}_renderUpdatedColumns(){let t=(a,l)=>a||!!l.getColumnsDiff(),n=this._rowDefs.reduce(t,!1);n&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(t,!1);o&&this._forceRenderHeaderRows();let s=this._footerRowDefs.reduce(t,!1);return s&&this._forceRenderFooterRows(),n||o||s}_switchDataSource(t){this._data=[],Vo(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;Vo(this.dataSource)?t=this.dataSource.connect(this):Xi(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Z(this.dataSource)),this._renderChangeSubscription=t.pipe(Me(this._onDestroy)).subscribe(n=>{this._data=n||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,n)=>this._renderRow(this._headerRowOutlet,t,n)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,n)=>this._renderRow(this._footerRowOutlet,t,n)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,n){let o=Array.from(n.columns||[]).map(l=>{let d=this._columnDefsByName.get(l);return d}),s=o.map(l=>l.sticky),a=o.map(l=>l.stickyEnd);this._stickyStyler.updateStickyColumns(t,s,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){let n=[];for(let o=0;o!s.when||s.when(n,t));else{let s=this._rowDefs.find(a=>a.when&&a.when(n,t))||this._defaultRowDef;s&&o.push(s)}return o.length,o}_getEmbeddedViewArgs(t,n){let o=t.rowDef,s={$implicit:t.data};return{templateRef:o.template,context:s,index:n}}_renderRow(t,n,o,s={}){let a=t.viewContainer.createEmbeddedView(n.template,s,o);return this._renderCellTemplateForItem(n,s),a}_renderCellTemplateForItem(t,n){for(let o of this._getCellTemplates(t))Yi.mostRecentCellOutlet&&Yi.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let t=this._rowOutlet.viewContainer;for(let n=0,o=t.length;n{let o=this._columnDefsByName.get(n);return t.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let t=(n,o)=>n||o.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let t=this._dir?this._dir.value:"ltr";this._stickyStyler=new Vl(this._isNativeHtmlTable,this.stickyCssClass,t,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Z()).pipe(Me(this._onDestroy)).subscribe(n=>{this._stickyStyler.direction=n,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(n=>!n._table||n._table===this)}_updateNoDataRow(){let t=this._customNoDataRow||this._noDataRow;if(!t)return;let n=this._rowOutlet.viewContainer.length===0;if(n===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(n){let s=o.createEmbeddedView(t.templateRef),a=s.rootNodes[0];s.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(t._contentClassName))}else o.clear();this._isShowingNoDataRow=n,this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(n){return new(n||e)(w(Ii),w(tt),w(se),Bt("role"),w(si,8),w(te),w(Be),w(wr),w(ds),w(Bi),w(cs,12),w(J,8))},e.\u0275cmp=_e({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,o,s){if(n&1&&(je(s,If,5),je(s,Dn,5),je(s,fs,5),je(s,Dr,5),je(s,Ul,5)),n&2){let a;ce(a=ue())&&(o._noDataRow=a.first),ce(a=ue())&&(o._contentColumnDefs=a),ce(a=ue())&&(o._contentRowDefs=a),ce(a=ue())&&(o._contentHeaderRowDefs=a),ce(a=ue())&&(o._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(n,o){n&2&&Ce("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[P.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",le],fixedLayout:[P.HasDecoratorInputTransform,"fixedLayout","fixedLayout",le]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[Se([{provide:Nt,useExisting:e},{provide:wr,useClass:Sn},{provide:ds,useClass:Bl},{provide:cs,useValue:null}]),Te,ye],ngContentSelectors:py,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(Je(my),pe(0),pe(1,1),ae(2,gy,1,0)(3,by,7,0)(4,vy,4,0)),n&2&&(z(2),Ee(2,o._isServer?2:-1),z(),Ee(3,o._isNativeHtmlTable?3:4))},dependencies:[Yl,Gl,Xl,ql],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let i=e;return i})();function ss(i,e){return i.concat(Array.from(e))}function Ef(i,e){let r=e.toUpperCase(),t=i.viewContainer.element.nativeElement;for(;t;){let n=t.nodeType===1?t.nodeName:null;if(n===r)return t;if(n==="TABLE")break;t=t.parentNode}return null}var Mf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({imports:[xr]});let i=e;return i})();var _y=[[["caption"]],[["colgroup"],["col"]],"*"],yy=["caption","colgroup, col","*"];function wy(i,e){i&1&&pe(0,2)}function xy(i,e){i&1&&(j(0,"thead",0),He(1,1),B(),j(2,"tbody",2),He(3,3)(4,4),B(),j(5,"tfoot",0),He(6,5),B())}function Cy(i,e){i&1&&He(0,1)(1,3)(2,4)(3,5)}var kf=(()=>{let e=class e extends Zl{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(n,o){n&2&&Ce("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[Se([{provide:Zl,useExisting:e},{provide:Nt,useExisting:e},{provide:ds,useClass:Bl},{provide:wr,useClass:Sn},{provide:cs,useValue:null}]),we,ye],ngContentSelectors:yy,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(Je(_y),pe(0),pe(1,1),ae(2,wy,1,0)(3,xy,7,0)(4,Cy,4,0)),n&2&&(z(2),Ee(2,o._isServer?2:-1),z(),Ee(3,o._isNativeHtmlTable?3:4))},dependencies:[Yl,Gl,Xl,ql],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});let i=e;return i})(),Af=(()=>{let e=class e extends us{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(e)))(o||e)}})(),e.\u0275dir=Y({type:e,selectors:[["","matCellDef",""]],standalone:!0,features:[Se([{provide:us,useExisting:e}]),we]});let i=e;return i})(),Rf=(()=>{let e=class e extends hs{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(e)))(o||e)}})(),e.\u0275dir=Y({type:e,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[Se([{provide:hs,useExisting:e}]),we]});let i=e;return i})();var Of=(()=>{let e=class e extends Dn{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(e)))(o||e)}})(),e.\u0275dir=Y({type:e,selectors:[["","matColumnDef",""]],inputs:{name:[P.None,"matColumnDef","name"]},standalone:!0,features:[Se([{provide:Dn,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),we]});let i=e;return i})(),Ff=(()=>{let e=class e extends Tf{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(e)))(o||e)}})(),e.\u0275dir=Y({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[we]});let i=e;return i})();var Pf=(()=>{let e=class e extends Df{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(e)))(o||e)}})(),e.\u0275dir=Y({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[we]});let i=e;return i})();var Nf=(()=>{let e=class e extends Dr{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(e)))(o||e)}})(),e.\u0275dir=Y({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[P.None,"matHeaderRowDef","columns"],sticky:[P.HasDecoratorInputTransform,"matHeaderRowDefSticky","sticky",le]},standalone:!0,features:[Se([{provide:Dr,useExisting:e}]),Te,we]});let i=e;return i})();var Lf=(()=>{let e=class e extends fs{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(e)))(o||e)}})(),e.\u0275dir=Y({type:e,selectors:[["","matRowDef",""]],inputs:{columns:[P.None,"matRowDefColumns","columns"],when:[P.None,"matRowDefWhen","when"]},standalone:!0,features:[Se([{provide:fs,useExisting:e}]),we]});let i=e;return i})(),jf=(()=>{let e=class e extends $l{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[Se([{provide:$l,useExisting:e}]),we,ye],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&He(0,0)},dependencies:[Yi],encapsulation:2});let i=e;return i})();var zf=(()=>{let e=class e extends Wl{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[Se([{provide:Wl,useExisting:e}]),we,ye],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&He(0,0)},dependencies:[Yi],encapsulation:2});let i=e;return i})();var Vf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({imports:[Ne,Mf,Ne]});let i=e;return i})();var Bf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({});let i=e;return i})();var Hf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({imports:[Ne,Vi,Vi,Bf,Ne]});let i=e;return i})();var Sy=["*"],ms;function Ty(){if(ms===void 0&&(ms=null,typeof window<"u")){let i=window;i.trustedTypes!==void 0&&(ms=i.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return ms}function Ir(i){return Ty()?.createHTML(i)||i}function Uf(i){return Error(`Unable to find icon with the name "${i}"`)}function Dy(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function $f(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function Wf(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}var li=class{constructor(e,r,t){this.url=e,this.svgText=r,this.options=t}},Iy=(()=>{let e=class e{constructor(t,n,o,s){this._httpClient=t,this._sanitizer=n,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(t,n,o){return this.addSvgIconInNamespace("",t,n,o)}addSvgIconLiteral(t,n,o){return this.addSvgIconLiteralInNamespace("",t,n,o)}addSvgIconInNamespace(t,n,o,s){return this._addSvgIconConfig(t,n,new li(o,null,s))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,n,o,s){let a=this._sanitizer.sanitize(lt.HTML,o);if(!a)throw Wf(o);let l=Ir(a);return this._addSvgIconConfig(t,n,new li("",l,s))}addSvgIconSet(t,n){return this.addSvgIconSetInNamespace("",t,n)}addSvgIconSetLiteral(t,n){return this.addSvgIconSetLiteralInNamespace("",t,n)}addSvgIconSetInNamespace(t,n,o){return this._addSvgIconSetConfig(t,new li(n,null,o))}addSvgIconSetLiteralInNamespace(t,n,o){let s=this._sanitizer.sanitize(lt.HTML,n);if(!s)throw Wf(n);let a=Ir(s);return this._addSvgIconSetConfig(t,new li("",a,o))}registerFontClassAlias(t,n=t){return this._fontCssClassesByAlias.set(t,n),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){let n=this._sanitizer.sanitize(lt.RESOURCE_URL,t);if(!n)throw $f(t);let o=this._cachedIconsByUrl.get(n);return o?Z(ps(o)):this._loadSvgIconFromConfig(new li(t,null)).pipe(Le(s=>this._cachedIconsByUrl.set(n,s)),ie(s=>ps(s)))}getNamedSvgIcon(t,n=""){let o=Gf(n,t),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(n,t),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(n);return a?this._getSvgFromIconSetConfigs(t,a):Ci(Uf(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?Z(ps(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(ie(n=>ps(n)))}_getSvgFromIconSetConfigs(t,n){let o=this._extractIconWithNameFromAnySet(t,n);if(o)return Z(o);let s=n.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(zt(l=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(lt.RESOURCE_URL,a.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(c)),Z(null)})));return Zi(s).pipe(ie(()=>{let a=this._extractIconWithNameFromAnySet(t,n);if(!a)throw Uf(t);return a}))}_extractIconWithNameFromAnySet(t,n){for(let o=n.length-1;o>=0;o--){let s=n[o];if(s.svgText&&s.svgText.toString().indexOf(t)>-1){let a=this._svgElementFromConfig(s),l=this._extractSvgIconFromSet(a,t,s.options);if(l)return l}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Le(n=>t.svgText=n),ie(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?Z(null):this._fetchIcon(t).pipe(Le(n=>t.svgText=n))}_extractSvgIconFromSet(t,n,o){let s=t.querySelector(`[id="${n}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let l=this._svgElementFromString(Ir(""));return l.appendChild(a),this._setSvgAttributes(l,o)}_svgElementFromString(t){let n=this._document.createElement("DIV");n.innerHTML=t;let o=n.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(t){let n=this._svgElementFromString(Ir("")),o=t.attributes;for(let s=0;sIr(c)),Vt(()=>this._inProgressUrlFetches.delete(a)),vd());return this._inProgressUrlFetches.set(a,d),d}_addSvgIconConfig(t,n,o){return this._svgIconConfigs.set(Gf(t,n),o),this}_addSvgIconSetConfig(t,n){let o=this._iconSetConfigs.get(t);return o?o.push(n):this._iconSetConfigs.set(t,[n]),this}_svgElementFromConfig(t){if(!t.svgElement){let n=this._svgElementFromString(t.svgText);this._setSvgAttributes(n,t.options),t.svgElement=n}return t.svgElement}_getIconConfigFromResolvers(t,n){for(let o=0;oe?e.pathname+e.search:""}}var Yf=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Oy=Yf.map(i=>`[${i}]`).join(", "),Fy=/^url\(['"]?#(.*?)['"]?\)$/,qf=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){let n=this._cleanupFontValue(t);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){let n=this._cleanupFontValue(t);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}constructor(t,n,o,s,a,l){this._elementRef=t,this._iconRegistry=n,this._location=s,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=We.EMPTY,l&&(l.color&&(this.color=this._defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),o||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let n=t.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();let n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,n=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){let o=t.childNodes[n];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>t.classList.remove(o)),n.forEach(o=>t.classList.add(o)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return typeof t=="string"?t.trim().split(" ")[0]:t}_prependPathToReferences(t){let n=this._elementsWithExternalReferences;n&&n.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${t}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(t){let n=t.querySelectorAll(Oy),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{let l=n[s],d=l.getAttribute(a),c=d?d.match(Fy):null;if(c){let u=o.get(l);u||(u=[],o.set(l,u)),u.push({name:a,value:c[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[n,o]=this._splitIconName(t);n&&(this._svgNamespace=n),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,n).pipe(Ye(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${n}:${o}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}};e.\u0275fac=function(n){return new(n||e)(w(se),w(Iy),Bt("aria-hidden"),w(Ay),w(Di),w(ky,8))},e.\u0275cmp=_e({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,o){n&2&&(De("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),ut(o.color?"mat-"+o.color:""),Ce("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[P.HasDecoratorInputTransform,"inline","inline",le],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[Te,ye],ngContentSelectors:Sy,decls:1,vars:0,template:function(n,o){n&1&&(Je(),pe(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let i=e;return i})(),Xf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({imports:[Ne,Ne]});let i=e;return i})();var Ny=0,Kl=new W("CdkAccordion"),Zf=(()=>{let e=class e{constructor(){this._stateChanges=new Q,this._openCloseAllActions=new Q,this.id=`cdk-accordion-${Ny++}`,this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Y({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[P.HasDecoratorInputTransform,"multi","multi",le]},exportAs:["cdkAccordion"],standalone:!0,features:[Se([{provide:Kl,useExisting:e}]),Te,qe]});let i=e;return i})(),Ly=0,Kf=(()=>{let e=class e{get expanded(){return this._expanded}set expanded(t){if(this._expanded!==t){if(this._expanded=t,this.expandedChange.emit(t),t){this.opened.emit();let n=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,n)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}constructor(t,n,o){this.accordion=t,this._changeDetectorRef=n,this._expansionDispatcher=o,this._openCloseAllSubscription=We.EMPTY,this.closed=new me,this.opened=new me,this.destroyed=new me,this.expandedChange=new me,this.id=`cdk-accordion-child-${Ly++}`,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=o.listen((s,a)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===a&&this.id!==s&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}};e.\u0275fac=function(n){return new(n||e)(w(Kl,12),w(tt),w(Bo))},e.\u0275dir=Y({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[P.HasDecoratorInputTransform,"expanded","expanded",le],disabled:[P.HasDecoratorInputTransform,"disabled","disabled",le]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[Se([{provide:Kl,useValue:void 0}]),Te]});let i=e;return i})(),Qf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({});let i=e;return i})();var jy=["body"],zy=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Vy=["mat-expansion-panel-header","*","mat-action-row"];function By(i,e){}var Hy=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Uy=["mat-panel-title","mat-panel-description","*"];function $y(i,e){if(i&1&&(j(0,"span",1),Ti(),j(1,"svg",2),ge(2,"path",3),B()()),i&2){let r=oe();ee("@indicatorRotate",r._getExpandedState())}}var Ql=new W("MAT_ACCORDION"),Jf="225ms cubic-bezier(0.4,0.0,0.2,1)",tm={indicatorRotate:Yt("indicatorRotate",[bt("collapsed, void",st({transform:"rotate(0deg)"})),bt("expanded",st({transform:"rotate(180deg)"})),xt("expanded <=> collapsed, void => collapsed",At(Jf))]),bodyExpansion:Yt("bodyExpansion",[bt("collapsed, void",st({height:"0px",visibility:"hidden"})),bt("expanded",st({height:"*",visibility:""})),xt("expanded <=> collapsed, void => collapsed",At(Jf))])},im=new W("MAT_EXPANSION_PANEL"),Wy=(()=>{let e=class e{constructor(t,n){this._template=t,this._expansionPanel=n}};e.\u0275fac=function(n){return new(n||e)(w(dt),w(im,8))},e.\u0275dir=Y({type:e,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0});let i=e;return i})(),Gy=0,nm=new W("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),Jl=(()=>{let e=class e extends Kf{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=t}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}constructor(t,n,o,s,a,l,d){super(t,n,o),this._viewContainerRef=s,this._animationMode=l,this._hideToggle=!1,this.afterExpand=new me,this.afterCollapse=new me,this._inputChanges=new Q,this._headerId=`mat-expansion-panel-header-${Gy++}`,this.accordion=t,this._document=a,this._animationsDisabled=l==="NoopAnimations",d&&(this.hideToggle=d.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(It(null),ze(()=>this.expanded&&!this._portal),Ye(1)).subscribe(()=>{this._portal=new Hi(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){let t=this._document.activeElement,n=this._body.nativeElement;return t===n||n.contains(t)}return!1}_animationStarted(t){!em(t)&&!this._animationsDisabled&&this._body&&this._body?.nativeElement.setAttribute("inert","")}_animationDone(t){em(t)||(t.toState==="expanded"?this.afterExpand.emit():t.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}};e.\u0275fac=function(n){return new(n||e)(w(Ql,12),w(tt),w(Bo),w(ct),w(te),w(nt,8),w(nm,8))},e.\u0275cmp=_e({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(n,o,s){if(n&1&&je(s,Wy,5),n&2){let a;ce(a=ue())&&(o._lazyContent=a.first)}},viewQuery:function(n,o){if(n&1&&Xe(jy,5),n&2){let s;ce(s=ue())&&(o._body=s.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(n,o){n&2&&Ce("mat-expanded",o.expanded)("_mat-animation-noopable",o._animationsDisabled)("mat-expansion-panel-spacing",o._hasSpacing())},inputs:{hideToggle:[P.HasDecoratorInputTransform,"hideToggle","hideToggle",le],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[Se([{provide:Ql,useValue:void 0},{provide:im,useExisting:e}]),Te,we,qe,ye],ngContentSelectors:Vy,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(n,o){if(n&1){let s=gt();Je(zy),pe(0),j(1,"div",1,0),Oe("@bodyExpansion.start",function(l){return Ke(s),Qe(o._animationStarted(l))})("@bodyExpansion.done",function(l){return Ke(s),Qe(o._animationDone(l))}),j(3,"div",2),pe(4,1),ae(5,By,0,0,"ng-template",3),B(),pe(6,2),B()}n&2&&(z(),ee("@bodyExpansion",o._getExpandedState())("id",o.id),De("aria-labelledby",o._headerId),z(4),ee("cdkPortalOutlet",o._portal))},dependencies:[Ah],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[tm.bodyExpansion]},changeDetection:0});let i=e;return i})();function em(i){return i.fromState==="void"}var ed=(()=>{let e=class e{constructor(t,n,o,s,a,l,d){this.panel=t,this._element=n,this._focusMonitor=o,this._changeDetectorRef=s,this._animationMode=l,this._parentChangeSubscription=We.EMPTY,this.tabIndex=0;let c=t.accordion?t.accordion._stateChanges.pipe(ze(u=>!!(u.hideToggle||u.togglePosition))):Lt;this.tabIndex=parseInt(d||"")||0,this._parentChangeSubscription=jt(t.opened,t.closed,c,t._inputChanges.pipe(ze(u=>!!(u.hideToggle||u.disabled||u.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(ze(()=>t._containsFocus())).subscribe(()=>o.focusVia(n,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case 32:case 13:Pt(t)||(t.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t);return}}focus(t,n){t?this._focusMonitor.focusVia(this._element,t,n):this._element.nativeElement.focus(n)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}};e.\u0275fac=function(n){return new(n||e)(w(Jl,1),w(se),w(Ro),w(tt),w(nm,8),w(nt,8),Bt("tabindex"))},e.\u0275cmp=_e({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(n,o){n&1&&Oe("click",function(){return o._toggle()})("keydown",function(a){return o._keydown(a)}),n&2&&(De("id",o.panel._headerId)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o._getPanelId())("aria-expanded",o._isExpanded())("aria-disabled",o.panel.disabled),ft("height",o._getHeaderHeight()),Ce("mat-expanded",o._isExpanded())("mat-expansion-toggle-indicator-after",o._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",o._getTogglePosition()==="before")("_mat-animation-noopable",o._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[P.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>t==null?0:Gt(t)]},standalone:!0,features:[Te,ye],ngContentSelectors:Uy,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(n,o){n&1&&(Je(Hy),j(0,"span",0),pe(1),pe(2,1),pe(3,2),B(),ae(4,$y,3,1,"span",1)),n&2&&(Ce("mat-content-hide-toggle",!o._showToggle()),z(4),Ee(4,o._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color);display:inline-block;display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color);display:none;display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[tm.indicatorRotate]},changeDetection:0});let i=e;return i})(),rm=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Y({type:e,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"],standalone:!0});let i=e;return i})(),om=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Y({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0});let i=e;return i})(),sm=(()=>{let e=class e extends Zf{constructor(){super(...arguments),this._ownHeaders=new Nn,this.hideToggle=!1,this.displayMode="default",this.togglePosition="after"}ngAfterContentInit(){this._headers.changes.pipe(It(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(n=>n.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Mo(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(e)))(o||e)}})(),e.\u0275dir=Y({type:e,selectors:[["mat-accordion"]],contentQueries:function(n,o,s){if(n&1&&je(s,ed,5),n&2){let a;ce(a=ue())&&(o._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(n,o){n&2&&Ce("mat-accordion-multi",o.multi)},inputs:{hideToggle:[P.HasDecoratorInputTransform,"hideToggle","hideToggle",le],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],standalone:!0,features:[Se([{provide:Ql,useExisting:e}]),Te,we]});let i=e;return i})(),am=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({imports:[Ne,Qf,Wo]});let i=e;return i})();var qy=["determinateSpinner"];function Xy(i,e){if(i&1&&(Ti(),j(0,"svg",11),ge(1,"circle",12),B()),i&2){let r=oe();De("viewBox",r._viewBox()),z(),ft("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeCircumference()/2,"px")("stroke-width",r._circleStrokeWidth(),"%"),De("r",r._circleRadius())}}var Zy=new W("mat-progress-spinner-default-options",{providedIn:"root",factory:Ky});function Ky(){return{diameter:lm}}var lm=100,Qy=10,dm=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}constructor(t,n,o){this._elementRef=t,this._defaultColor="primary",this._value=0,this._diameter=lm,this._noopAnimations=n==="NoopAnimations"&&!!o&&!o._forceAnimations,this.mode=t.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",o&&(o.color&&(this.color=this._defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,t||0))}get diameter(){return this._diameter}set diameter(t){this._diameter=t||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(t){this._strokeWidth=t||0}_circleRadius(){return(this.diameter-Qy)/2}_viewBox(){let t=this._circleRadius()*2+this.strokeWidth;return`0 0 ${t} ${t}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}};e.\u0275fac=function(n){return new(n||e)(w(se),w(nt,8),w(Zy))},e.\u0275cmp=_e({type:e,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(n,o){if(n&1&&Xe(qy,5),n&2){let s;ce(s=ue())&&(o._determinateCircle=s.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(n,o){n&2&&(De("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",o.mode==="determinate"?o.value:null)("mode",o.mode),ut("mat-"+o.color),ft("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),Ce("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate",o.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[P.HasDecoratorInputTransform,"value","value",Gt],diameter:[P.HasDecoratorInputTransform,"diameter","diameter",Gt],strokeWidth:[P.HasDecoratorInputTransform,"strokeWidth","strokeWidth",Gt]},exportAs:["matProgressSpinner"],standalone:!0,features:[Te,ye],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(n,o){if(n&1&&(ae(0,Xy,2,8,"ng-template",null,0,ui),j(2,"div",2,1),Ti(),j(4,"svg",3),ge(5,"circle",4),B()(),xd(),j(6,"div",5)(7,"div",6)(8,"div",7),He(9,8),B(),j(10,"div",9),He(11,8),B(),j(12,"div",10),He(13,8),B()()()),n&2){let s=wt(1);z(4),De("viewBox",o._viewBox()),z(),ft("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),De("r",o._circleRadius()),z(4),ee("ngTemplateOutlet",s),z(2),ee("ngTemplateOutlet",s),z(2),ee("ngTemplateOutlet",s)}},dependencies:[rn],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0});let i=e;return i})();var cm=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({imports:[ni,Ne]});let i=e;return i})();var um=(()=>{let e=class e{transform(t){if(isNaN(t))return"";let n=t.toString();return t>=1e12?n=(t/1e12).toFixed(2)+"T":t>=1e9?n=(t/1e9).toFixed(2)+"B":t>=1e6?n=(t/1e6).toFixed(2)+"M":t>=1e3&&(n=(t/1e3).toFixed(2)+"K"),n}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=Pr({name:"numberFormatter",type:e,pure:!0,standalone:!0});let i=e;return i})();var hm="https://block-watch.onrender.com/api/v1",fm=(()=>{let e=class e{constructor(){this.http=L(Gn)}getTransactions(t){return this.http.get(`${hm}/transactions/transactions/`,{params:{usdGTE:t}})}getTransactionsGroup(t){return this.http.get(`${hm}/transactions/transactions/group/`,{params:{usdGTE:t}})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var mm=(()=>{let e=class e{constructor(){this.destroyed$=new Q}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Y({type:e,selectors:[["destroyDirective"]],standalone:!0});let i=e;return i})();var pm=(()=>{let e=class e{constructor(){}setItem(t,n){localStorage.setItem(t,JSON.stringify(n))}getItem(t){let n=localStorage.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch(o){return console.error("Error parsing localStorage item:",t,o),null}}removeItem(t){localStorage.removeItem(t)}clear(){localStorage.clear()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var gm=(()=>{let e=class e{transform(t){return`https://static.arkhamintelligence.com/tokens/${t}.png`}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=Pr({name:"tokenName",type:e,pure:!0,standalone:!0});let i=e;return i})();var ew=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],tw=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var iw=["mat-mini-fab",""],nw='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}';var rw=new W("MAT_BUTTON_CONFIG");var ow=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],sw=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,t)}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}constructor(t,n,o,s){this._elementRef=t,this._platform=n,this._ngZone=o,this._animationMode=s,this._focusMonitor=L(Ro),this._rippleLoader=L(bh),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=L(rw,{optional:!0}),l=t.nativeElement,d=l.classList;this.disabledInteractive=a?.disabledInteractive??!1,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:c,mdcClasses:u}of ow)l.hasAttribute(c)&&d.add(...u)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",n){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,n):this._elementRef.nativeElement.focus(n)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(n){zn()},e.\u0275dir=Y({type:e,inputs:{color:"color",disableRipple:[P.HasDecoratorInputTransform,"disableRipple","disableRipple",le],disabled:[P.HasDecoratorInputTransform,"disabled","disabled",le],ariaDisabled:[P.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",le],disabledInteractive:[P.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",le]},features:[Te]});let i=e;return i})();var aw=new W("mat-mdc-fab-default-options",{providedIn:"root",factory:vm});function vm(){return{color:"accent"}}var bm=vm();var _m=(()=>{let e=class e extends sw{constructor(t,n,o,s,a){super(t,n,o,s),this._options=a,this._isFab=!0,this._options=this._options||bm,this.color=this._options.color||bm.color}};e.\u0275fac=function(n){return new(n||e)(w(se),w(Be),w(J),w(nt,8),w(aw,8))},e.\u0275cmp=_e({type:e,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(n,o){n&2&&(De("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),ut(o.color?"mat-"+o.color:""),Ce("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[we,ye],attrs:iw,ngContentSelectors:tw,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(Je(ew),ge(0,"span",0),pe(1),j(2,"span",1),pe(3,1),B(),pe(4,2),ge(5,"span",2)(6,"span",3)),n&2&&Ce("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[nw],encapsulation:2,changeDetection:0});let i=e;return i})();var ym=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=re({type:e}),e.\u0275inj=ne({imports:[Ne,hl,Ne]});let i=e;return i})();var wm=["toast-component",""];function dw(i,e){if(i&1){let r=gt();j(0,"button",5),Oe("click",function(){Ke(r);let n=oe();return Qe(n.remove())}),j(1,"span",6),be(2,"\xD7"),B()()}}function cw(i,e){if(i&1&&(Ht(0),be(1),Ut()),i&2){let r=oe(2);z(),et("[",r.duplicatesCount+1,"]")}}function uw(i,e){if(i&1&&(j(0,"div"),be(1),ae(2,cw,2,1,"ng-container",4),B()),i&2){let r=oe();ut(r.options.titleClass),De("aria-label",r.title),z(),et(" ",r.title," "),z(),ee("ngIf",r.duplicatesCount)}}function hw(i,e){if(i&1&&ge(0,"div",7),i&2){let r=oe();ut(r.options.messageClass),ee("innerHTML",r.message,Is)}}function fw(i,e){if(i&1&&(j(0,"div",8),be(1),B()),i&2){let r=oe();ut(r.options.messageClass),De("aria-label",r.message),z(),et(" ",r.message," ")}}function mw(i,e){if(i&1&&(j(0,"div"),ge(1,"div",9),B()),i&2){let r=oe();z(),ft("width",r.width+"%")}}function pw(i,e){if(i&1){let r=gt();j(0,"button",5),Oe("click",function(){Ke(r);let n=oe();return Qe(n.remove())}),j(1,"span",6),be(2,"\xD7"),B()()}}function gw(i,e){if(i&1&&(Ht(0),be(1),Ut()),i&2){let r=oe(2);z(),et("[",r.duplicatesCount+1,"]")}}function bw(i,e){if(i&1&&(j(0,"div"),be(1),ae(2,gw,2,1,"ng-container",4),B()),i&2){let r=oe();ut(r.options.titleClass),De("aria-label",r.title),z(),et(" ",r.title," "),z(),ee("ngIf",r.duplicatesCount)}}function vw(i,e){if(i&1&&ge(0,"div",7),i&2){let r=oe();ut(r.options.messageClass),ee("innerHTML",r.message,Is)}}function _w(i,e){if(i&1&&(j(0,"div",8),be(1),B()),i&2){let r=oe();ut(r.options.messageClass),De("aria-label",r.message),z(),et(" ",r.message," ")}}function yw(i,e){if(i&1&&(j(0,"div"),ge(1,"div",9),B()),i&2){let r=oe();z(),ft("width",r.width+"%")}}var td=class{_attachedHost;component;viewContainerRef;injector;constructor(e,r){this.component=e,this.injector=r}attach(e,r){return this._attachedHost=e,e.attach(this,r)}detach(){let e=this._attachedHost;if(e)return this._attachedHost=void 0,e.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},id=class{_attachedPortal;_disposeFn;attach(e,r){return this._attachedPortal=e,this.attachComponentPortal(e,r)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(e){this._disposeFn=e}},nd=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new Q;_activate=new Q;_manualClose=new Q;_resetTimeout=new Q;_countDuplicate=new Q;constructor(e){this._overlayRef=e}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(e,r){e&&this._resetTimeout.next(),r&&this._countDuplicate.next(++this.duplicatesCount)}},In=class{toastId;config;message;title;toastType;toastRef;_onTap=new Q;_onAction=new Q;constructor(e,r,t,n,o,s){this.toastId=e,this.config=r,this.message=t,this.title=n,this.toastType=o,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(e){this._onAction.next(e)}onAction(){return this._onAction.asObservable()}},xm={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},Cm=new W("ToastConfig"),rd=class extends id{_hostDomElement;_componentFactoryResolver;_appRef;constructor(e,r,t){super(),this._hostDomElement=e,this._componentFactoryResolver=r,this._appRef=t}attachComponentPortal(e,r){let t=this._componentFactoryResolver.resolveComponentFactory(e.component),n;return n=t.create(e.injector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()}),r?this._hostDomElement.insertBefore(this._getComponentRootNode(n),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(n)),n}_getComponentRootNode(e){return e.hostView.rootNodes[0]}},ww=(()=>{class i{_document=L(te);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let r=this._document.createElement("div");r.classList.add("overlay-container"),r.setAttribute("aria-live","polite"),this._document.body.appendChild(r),this._containerElement=r}static \u0275fac=function(t){return new(t||i)};static \u0275prov=U({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),od=class{_portalHost;constructor(e){this._portalHost=e}attach(e,r=!0){return this._portalHost.attach(e,r)}detach(){return this._portalHost.detach()}},xw=(()=>{class i{_overlayContainer=L(ww);_componentFactoryResolver=L(en);_appRef=L(Wt);_document=L(te);_paneElements=new Map;create(r,t){return this._createOverlayRef(this.getPaneElement(r,t))}getPaneElement(r="",t){return this._paneElements.get(t)||this._paneElements.set(t,{}),this._paneElements.get(t)[r]||(this._paneElements.get(t)[r]=this._createPaneElement(r,t)),this._paneElements.get(t)[r]}_createPaneElement(r,t){let n=this._document.createElement("div");return n.id="toast-container",n.classList.add(r),n.classList.add("toast-container"),t?t.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalHost(r){return new rd(r,this._componentFactoryResolver,this._appRef)}_createOverlayRef(r){return new od(this._createPortalHost(r))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=U({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),gs=(()=>{class i{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(r,t,n,o,s){this.overlay=t,this._injector=n,this.sanitizer=o,this.ngZone=s,this.toastrConfig=F(F({},r.default),r.config),r.config.iconClasses&&(this.toastrConfig.iconClasses=F(F({},r.default.iconClasses),r.config.iconClasses))}show(r,t,n={},o=""){return this._preBuildNotification(o,r,t,this.applyConfig(n))}success(r,t,n={}){let o=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(o,r,t,this.applyConfig(n))}error(r,t,n={}){let o=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(o,r,t,this.applyConfig(n))}info(r,t,n={}){let o=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(o,r,t,this.applyConfig(n))}warning(r,t,n={}){let o=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(o,r,t,this.applyConfig(n))}clear(r){for(let t of this.toasts)if(r!==void 0){if(t.toastId===r){t.toastRef.manualClose();return}}else t.toastRef.manualClose()}remove(r){let t=this._findToast(r);if(!t||(t.activeToast.toastRef.close(),this.toasts.splice(t.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActivethis._buildNotification(r,t,n,o)):this._buildNotification(r,t,n,o)}_buildNotification(r,t,n,o){if(!o.toastComponent)throw new Error("toastComponent required");let s=this.findDuplicate(n,t,this.toastrConfig.resetTimeoutOnDuplicate&&o.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&n||t)&&this.toastrConfig.preventDuplicates&&s!==null)return s;this.previousToastMessage=t;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let l=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;let d=t;t&&o.enableHtml&&(d=this.sanitizer.sanitize(lt.HTML,t));let c=new nd(l),u=new In(this.index,o,d,n,r,c),h=[{provide:In,useValue:u}],m=Mt.create({providers:h,parent:this._injector}),g=new td(o.toastComponent,m),b=l.attach(g,o.newestOnTop);c.componentInstance=b.instance;let p={toastId:this.index,title:n||"",message:t||"",toastRef:c,onShown:c.afterActivate(),onHidden:c.afterClosed(),onTap:u.onTap(),onAction:u.onAction(),portal:b};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{p.toastRef.activate()})),this.toasts.push(p),p}static \u0275fac=function(t){return new(t||i)(R(Cm),R(xw),R(Mt),R(Zn),R(J))};static \u0275prov=U({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Cw=(()=>{class i{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";state;get displayStyle(){if(this.state.value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(r,t,n){this.toastrService=r,this.toastPackage=t,this.ngZone=n,this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=ve(F({},this.state),{value:"active"}),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width===0||this.width===100||!this.options.timeOut)return;let r=new Date().getTime(),t=this.hideTime-r;this.width=t/this.options.timeOut*100,this.options.progressAnimation==="increasing"&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=ve(F({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state.value!=="removed"&&(clearTimeout(this.timeout),this.state=ve(F({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state.value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state.value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state.value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(r,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(r),t)):this.timeout=setTimeout(()=>r(),t)}outsideInterval(r,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(r),t)):this.intervalId=setInterval(()=>r(),t)}runInsideAngular(r){this.ngZone?this.ngZone.run(()=>r()):r()}static \u0275fac=function(t){return new(t||i)(w(gs),w(In),w(J))};static \u0275cmp=_e({type:i,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(t,n){t&1&&Oe("click",function(){return n.tapToast()})("mouseenter",function(){return n.stickAround()})("mouseleave",function(){return n.delayedHideToast()}),t&2&&(Nd("@flyInOut",n.state),ut(n.toastClasses),ft("display",n.displayStyle))},standalone:!0,features:[ye],attrs:wm,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(t,n){t&1&&ae(0,dw,3,0,"button",0)(1,uw,3,5,"div",1)(2,hw,1,3,"div",2)(3,fw,2,4,"div",3)(4,mw,2,2,"div",4),t&2&&(ee("ngIf",n.options.closeButton),z(),ee("ngIf",n.title),z(),ee("ngIf",n.message&&n.options.enableHtml),z(),ee("ngIf",n.message&&!n.options.enableHtml),z(),ee("ngIf",n.options.progressBar))},dependencies:[Hn],encapsulation:2,data:{animation:[Yt("flyInOut",[bt("inactive",st({opacity:0})),bt("active",st({opacity:1})),bt("removed",st({opacity:0})),xt("inactive => active",At("{{ easeTime }}ms {{ easing }}")),xt("active => removed",At("{{ easeTime }}ms {{ easing }}"))])]}})}return i})(),Ew=ve(F({},xm),{toastComponent:Cw}),Em=(i={})=>ei([{provide:Cm,useValue:{default:Ew,config:i}}]);var Sw=(()=>{class i{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";get displayStyle(){return this.state==="inactive"?"none":null}state="inactive";timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(r,t,n){this.toastrService=r,this.toastPackage=t,this.appRef=n,this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width===0||this.width===100||!this.options.timeOut)return;let r=new Date().getTime(),t=this.hideTime-r;this.width=t/this.options.timeOut*100,this.options.progressAnimation==="increasing"&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state!=="removed"&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(t){return new(t||i)(w(gs),w(In),w(Wt))};static \u0275cmp=_e({type:i,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(t,n){t&1&&Oe("click",function(){return n.tapToast()})("mouseenter",function(){return n.stickAround()})("mouseleave",function(){return n.delayedHideToast()}),t&2&&(ut(n.toastClasses),ft("display",n.displayStyle))},standalone:!0,features:[ye],attrs:wm,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(t,n){t&1&&ae(0,pw,3,0,"button",0)(1,bw,3,5,"div",1)(2,vw,1,3,"div",2)(3,_w,2,4,"div",3)(4,yw,2,2,"div",4),t&2&&(ee("ngIf",n.options.closeButton),z(),ee("ngIf",n.title),z(),ee("ngIf",n.message&&n.options.enableHtml),z(),ee("ngIf",n.message&&!n.options.enableHtml),z(),ee("ngIf",n.options.progressBar))},dependencies:[Hn],encapsulation:2})}return i})(),dk=ve(F({},xm),{toastComponent:Sw});var Tw=(i,e)=>e.value,Dw=(i,e)=>e.id,Iw=(i,e)=>e.tokenId,bs=i=>({vm:i});function Mw(i,e){i&1&&(j(0,"div",6),ge(1,"mat-spinner"),B())}function kw(i,e){if(i&1){let r=gt();j(0,"div",4)(1,"div",5),ae(2,Mw,2,0,"div",6),j(3,"div",7)(4,"div",8)(5,"div",9),He(6,10),B(),j(7,"div",9),He(8,10),B()()()(),j(9,"div",11)(10,"button",12),Oe("click",function(){Ke(r);let n=oe();return Qe(n.getTransactionsList())}),j(11,"mat-icon"),be(12,"cached"),B()()()()}if(i&2){let r=e.ngIf;oe();let t=wt(5),n=wt(7);z(2),Ee(2,r.isLoading?2:-1),z(4),ee("ngTemplateOutlet",t)("ngTemplateOutletContext",Bn(5,bs,r)),z(2),ee("ngTemplateOutlet",n)("ngTemplateOutletContext",Bn(7,bs,r))}}function Aw(i,e){if(i&1&&(j(0,"mat-option",14),be(1),B()),i&2){let r=e.$implicit;ee("value",r.value),z(),$t(r.viewValue)}}function Rw(i,e){if(i&1){let r=gt();j(0,"mat-form-field")(1,"mat-label"),be(2,"Volume"),B(),j(3,"mat-select",13),zd("ngModelChange",function(n){Ke(r);let o=oe(2);return jd(o.selectedVolume,n)||(o.selectedVolume=n),Qe(n)}),Oe("ngModelChange",function(){Ke(r);let n=oe(2);return Qe(n.onVolumeChange())}),Br(4,Aw,2,2,"mat-option",14,Tw),B()()}if(i&2){let r=oe(2);z(3),Ld("ngModel",r.selectedVolume),z(),Hr(r.volumeOptions)}}function Ow(i,e){if(i&1&&ae(0,Rw,6,1,"mat-form-field"),i&2){let r=e.vm;Ee(0,r.isLoading?-1:0)}}function Fw(i,e){if(i&1&&(j(0,"div",19)(1,"b"),be(2),kt(3,"date"),B(),j(4,"span"),be(5),kt(6,"currency"),B(),j(7,"span"),be(8),kt(9,"numberFormatter"),B()()),i&2){let r=e.$implicit;z(2),et(" ",Ur(3,3,r.blockTimestamp,"HH:mm","UTC+3")," "),z(3),et(" ",ci(6,7,r.historicalUSD/r.unitValue)," "),z(3),et("",ci(9,9,r.historicalUSD),"$")}}function Pw(i,e){if(i&1&&(j(0,"mat-expansion-panel")(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"div",15)(4,"span"),be(5),kt(6,"date"),B(),j(7,"span"),be(8),kt(9,"numberFormatter"),B()()(),j(10,"mat-panel-description")(11,"a",16)(12,"div",17),ge(13,"img",18),kt(14,"tokenName"),B(),j(15,"b"),be(16),B()()()(),Br(17,Fw,10,11,"div",19,Iw),B()),i&2){let r=e.$implicit;z(5),et(" ",Ur(6,7,r.transactions[0].blockTimestamp,"HH:mm","UTC+3")," "),z(3),et("",ci(9,11,r.totalValue),"$"),z(3),As("href","https://www.google.com/search?q=",r.tokenSymbol,"+coin&sourceid=chrome&ie=UTF-8",Lr),z(2),ee("src",ci(14,13,r.tokenId),Lr)("alt",r.tokenId),z(3),$t(r.tokenSymbol),z(),Hr(r.transactions)}}function Nw(i,e){if(i&1&&(He(0,10),j(1,"mat-accordion"),Br(2,Pw,19,15,"mat-expansion-panel",null,Dw),B()),i&2){let r=e.vm;oe();let t=wt(3);ee("ngTemplateOutlet",t)("ngTemplateOutletContext",Bn(2,bs,r)),z(2),Hr(r.groups)}}function Lw(i,e){i&1&&(j(0,"th",30),be(1,"Time"),B())}function jw(i,e){if(i&1&&(j(0,"td",31),be(1),kt(2,"date"),B()),i&2){let r=e.$implicit;z(),et(" ",Ur(2,1,r.blockTimestamp,"HH:mm","UTC+3")," ")}}function zw(i,e){i&1&&(j(0,"th",30),be(1,"Price"),B())}function Vw(i,e){if(i&1&&(j(0,"td",31)(1,"span"),be(2),kt(3,"currency"),B()()),i&2){let r=e.$implicit;z(2),$t(ci(3,1,r.historicalUSD/r.unitValue))}}function Bw(i,e){i&1&&(j(0,"th",30),be(1,"Name"),B())}function Hw(i,e){if(i&1&&(j(0,"td",31)(1,"span",32)(2,"b"),be(3),B(),j(4,"div",33),ge(5,"img",18),B()()()),i&2){let r=e.$implicit;z(3),$t(r.tokenSymbol),z(2),As("src","https://static.arkhamintelligence.com/tokens/",r.tokenId,".png",Lr),ee("alt",r.tokenId)}}function Uw(i,e){i&1&&(j(0,"th",30),be(1,"Amount"),B())}function $w(i,e){if(i&1&&(j(0,"td",31)(1,"span"),be(2),kt(3,"numberFormatter"),B()()),i&2){let r=e.$implicit;z(2),et("",ci(3,1,r.historicalUSD),"$")}}function Ww(i,e){i&1&&ge(0,"tr",34)}function Gw(i,e){i&1&&ge(0,"tr",35)}function Yw(i,e){if(i&1&&(He(0,10),j(1,"div",20)(2,"table",21),Ht(3,22),ae(4,Lw,2,0,"th",23)(5,jw,3,5,"td",24),Ut(),Ht(6,25),ae(7,zw,2,0,"th",23)(8,Vw,4,3,"td",24),Ut(),Ht(9,26),ae(10,Bw,2,0,"th",23)(11,Hw,6,4,"td",24),Ut(),Ht(12,27),ae(13,Uw,2,0,"th",23)(14,$w,4,3,"td",24),Ut(),ae(15,Ww,1,0,"tr",28)(16,Gw,1,0,"tr",29),B()()),i&2){let r=e.vm,t=oe(),n=wt(3);ee("ngTemplateOutlet",n)("ngTemplateOutletContext",Bn(5,bs,r)),z(2),ee("dataSource",r.transactionsList),z(13),ee("matHeaderRowDef",t.displayedColumns),z(),ee("matRowDefColumns",t.displayedColumns)}}var Sm="volume",Tm=(()=>{let e=class e extends mm{constructor(){super(...arguments),this.homeApiService=L(fm),this.localStorageService=L(pm),this.toastrService=L(gs),this.displayedColumns=["time","price","name","amount"],this.groups$=new Ge([]),this.transactionsList$=new Ge([]),this.isLoading$=new Ge(!1),this.vm$=Ei(this.isLoading$,this.groups$,this.transactionsList$).pipe(ie(([t,n,o])=>({isLoading:t,groups:n,transactionsList:o}))),this.volumeOptions=[{value:1e3,viewValue:"1000"},{value:1e4,viewValue:"10 000"},{value:1e5,viewValue:"100 000"},{value:1e6,viewValue:"1 000 000"},{value:1e9,viewValue:"1 000 000 000"}],this.selectedVolume=this.localStorageService.getItem(Sm)||1e6}ngOnInit(){this.getTransactionsList()}onVolumeChange(){this.localStorageService.setItem(Sm,this.selectedVolume),this.getTransactionsList()}getTransactionsList(){this.isLoading$.next(!0),Zi([this.homeApiService.getTransactions(this.selectedVolume),this.homeApiService.getTransactionsGroup(this.selectedVolume)]).pipe(Le(([t,n])=>{this.transactionsList$.next(t),this.groups$.next(n),this.initSwiper()}),zt(t=>(this.toastrService.error(t.message),Z(t))),Vt(()=>this.isLoading$.next(!1)),Me(this.destroyed$)).subscribe()}initSwiper(){let t=new Ct(".mySwiper",{modules:[],spaceBetween:40})}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ue(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["crt-home"]],standalone:!0,features:[we,ye],decls:8,vars:3,consts:[["filterTemplate",""],["accordionPanel",""],["tableTemplate",""],["class","home",4,"ngIf"],[1,"home"],[1,"home__inner"],[1,"home__loader"],[1,"swiper","mySwiper"],[1,"swiper-wrapper"],[1,"swiper-slide"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"home__action-refresh"],["mat-mini-fab","","color","primary",3,"click"],[3,"ngModelChange","ngModel"],[3,"value"],[1,"home__panel-description"],["target","_blank",1,"home__panel-title",3,"href"],[1,"home__panel-title-img"],[3,"src","alt"],[1,"home__panel-body"],[1,"home__table"],["mat-table","",1,"mat-elevation-z8",3,"dataSource"],["matColumnDef","time"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","price"],["matColumnDef","name"],["matColumnDef","amount"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["target","_blank",1,"home__table-name"],[1,"home__table-name-img"],["mat-header-row",""],["mat-row",""]],template:function(n,o){n&1&&(ae(0,kw,13,9,"div",3),kt(1,"async"),ae(2,Ow,1,1,"ng-template",null,0,ui)(4,Nw,4,4,"ng-template",null,1,ui)(6,Yw,17,7,"ng-template",null,2,ui)),n&2&&ee("ngIf",ci(1,1,o.vm$))},dependencies:[Vf,kf,Rf,Nf,Of,Af,Lf,Ff,Pf,jf,zf,xf,Ih,No,wf,Fo,Vi,Hf,am,sm,Jl,ed,om,rm,Xf,qf,ym,_m,bf,cf,Ll,ni,Hn,rn,Wd,Yd,Gd,um,cm,dm,gm],styles:["[_nghost-%COMP%] .mat-expansion-panel-body{display:flex;flex-direction:column;gap:10px;border-top:1px solid #d0d0d9;padding-block-start:12px}.home[_ngcontent-%COMP%]{position:relative}.home__table-name[_ngcontent-%COMP%]{display:flex;align-items:center;gap:7px}.home__table-name-img[_ngcontent-%COMP%]{width:22px;height:22px}.home__table-name[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;height:auto}.home__panel-title[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;color:#000}.home__panel-title-img[_ngcontent-%COMP%]{margin-inline-end:10px;width:22px;height:22px}.home__panel-title-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;height:auto}.home__panel-description[_ngcontent-%COMP%]{display:flex;align-items:center;gap:20px}.home__panel-body[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr)}.home__loader[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-block-start:50px}.home__action-refresh[_ngcontent-%COMP%]{position:fixed;right:10px;bottom:10px;z-index:1}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.mdc-data-table__cell[_ngcontent-%COMP%]{padding:0 10px}.swiper[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:0});let i=e;return i})();var Dm=[{path:"",component:Tm}];var Im=[...Dm];var qw="@",Xw=(()=>{let e=class e{constructor(t,n,o,s,a){this.doc=t,this.delegate=n,this.zone=o,this.animationType=s,this.moduleImpl=a,this._rendererFactoryPromise=null,this.scheduler=L(Rd,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-POP2DZ26.js")).catch(n=>{throw new Ae(5300,!1)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:o})=>{this._engine=n(this.animationType,this.doc,this.scheduler);let s=new o(this.delegate,this._engine,this.zone);return this.delegate=s,s})}createRenderer(t,n){let o=this.delegate.createRenderer(t,n);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let s=new sd(o);return n?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(a=>{let l=a.createRenderer(t,n);s.use(l)}).catch(a=>{s.use(o)}),s}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};e.\u0275fac=function(n){zn()},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})(),sd=class{constructor(e){this.delegate=e,this.replay=[],this.\u0275type=1}use(e){if(this.delegate=e,this.replay!==null){for(let r of this.replay)r(e);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(e,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}get destroyNode(){return this.delegate.destroyNode}appendChild(e,r){this.delegate.appendChild(e,r)}insertBefore(e,r,t,n){this.delegate.insertBefore(e,r,t,n)}removeChild(e,r,t){this.delegate.removeChild(e,r,t)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,t,n){this.delegate.setAttribute(e,r,t,n)}removeAttribute(e,r,t){this.delegate.removeAttribute(e,r,t)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,t,n){this.delegate.setStyle(e,r,t,n)}removeStyle(e,r,t){this.delegate.removeStyle(e,r,t)}setProperty(e,r,t){this.shouldReplay(r)&&this.replay.push(n=>n.setProperty(e,r,t)),this.delegate.setProperty(e,r,t)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,t){return this.shouldReplay(r)&&this.replay.push(n=>n.listen(e,r,t)),this.delegate.listen(e,r,t)}shouldReplay(e){return this.replay!==null&&e.startsWith(qw)}};function Mm(i="animations"){return Ms("NgAsyncAnimations"),ei([{provide:jr,useFactory:(e,r,t)=>new Xw(e,r,t,i),deps:[te,to,J]},{provide:nt,useValue:i==="noop"?"NoopAnimations":"BrowserAnimations"}])}var km={providers:[Hu(Im),Mm(),ac(),Em({timeOut:1e4,positionClass:"toast-bottom-right",preventDuplicates:!0})]};var Am=(()=>{let e=class e{constructor(){this.title="crt"}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=_e({type:e,selectors:[["app-root"]],standalone:!0,features:[ye],decls:2,vars:0,consts:[[1,"box-container"]],template:function(n,o){n&1&&(j(0,"div",0),ge(1,"router-outlet"),B())},dependencies:[Ba],styles:[".box-container[_ngcontent-%COMP%]{padding:5px}"]});let i=e;return i})();au();pc(Am,km).catch(i=>console.error(i)); diff --git a/main-ZGBSEDDK.js b/main-ZGBSEDDK.js new file mode 100644 index 0000000..2648b9b --- /dev/null +++ b/main-ZGBSEDDK.js @@ -0,0 +1,32 @@ +import{$ as R,$a as _s,$b as me,A as At,Aa as Ht,Ab as et,Ac as jc,B as wi,Ba as ot,Bb as ve,Bc as Vc,C as Tr,Ca as kn,Cb as Ve,D as us,Da as qi,Db as qe,E as Ge,Ea as Xi,Eb as fe,F as ic,Fa as fc,Fb as he,G as Tn,Ga as hc,Gb as Ci,H as Rt,Ha as mc,Hb as _e,I as ti,Ia as pc,Ib as vt,J as fs,Ja as gc,Jb as st,K as nc,Ka as bc,Kb as Tc,L as rc,La as vc,Lb as Dc,M as oc,Ma as it,Mb as Ic,N as hs,Na as gs,Nb as Re,O as Dr,Oa as bs,Ob as be,P as ii,Pa as An,Pb as Wt,Q as Qe,Qa as V,Qb as oi,R as Ce,Ra as E,Rb as Mc,S as sc,Sa as Rn,Sb as Or,T as Fe,Ta as dt,Tb as Fr,U as De,Ua as _c,Ub as Pr,V as Dn,Va as On,Vb as ys,W as U,Wa as kr,Wb as Ot,X as ie,Xa as Ar,Xb as ws,Y as ac,Ya as vs,Yb as at,Z as Y,Za as Q,Zb as Ei,_ as ms,_a as gt,_b as kc,a as F,aa as N,ab as Se,ac as si,b as pe,ba as In,bb as Pe,bc as Ac,ca as L,cb as yc,cc as Zi,d as Ke,da as ge,db as wc,dc as Rc,e as Jl,ea as ne,eb as Rr,ec as Oc,f as jt,fa as Z,fb as ce,fc as te,g as cs,ga as Ir,gb as Me,gc as Ki,h as Cn,ha as Vt,hb as oe,hc as Nr,i as J,ia as lc,ib as bt,ic as Fc,j as We,ja as Yi,jb as ke,jc as xs,k as Jt,ka as Bt,kb as nt,kc as Lr,l as Xe,la as Je,lb as xc,lc as Pc,m as X,ma as mt,mb as we,mc as Nc,n as yi,na as pt,nb as Cc,nc as St,o as Wi,oa as Mn,ob as Ec,oc as Lc,p as ec,pa as cc,pb as j,pc as zc,q as ee,qa as $e,qb as $,qc as Cs,r as En,ra as ni,rb as ue,rc as zr,s as ht,sa as Et,sb as Ut,t as Sr,ta as xi,tb as $t,u as Sn,ua as re,ub as Ye,uc as Si,v as Gi,va as Ee,vb as ri,vc as ai,w as tc,wa as ps,wb as Fn,x as ei,xa as dc,xb as Sc,xc as Tt,y as Ue,ya as Mr,yb as Ne,yc as li,z as ds,za as uc,zb as de,zc as Gt}from"./chunk-J3SZN5G5.js";var Nn=class{},Vr=class{},Ti=class i{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(r=>{let t=r.indexOf(":");if(t>0){let n=r.slice(0,t),o=n.toLowerCase(),s=r.slice(t+1).trim();this.maybeSetNormalizedName(n,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,t)=>{this.setHeaderEntries(t,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,t])=>{this.setHeaderEntries(r,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof i?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new i;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof i?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let t=e.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(e.name,r);let n=(e.op==="a"?this.headers.get(r):void 0)||[];n.push(...t),this.headers.set(r,n);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let t=(Array.isArray(r)?r:[r]).map(o=>o.toString()),n=e.toLowerCase();this.headers.set(n,t),this.maybeSetNormalizedName(e,n)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var Ss=class{encodeKey(e){return Bc(e)}encodeValue(e){return Bc(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function fm(i,e){let r=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(n=>{let o=n.indexOf("="),[s,a]=o==-1?[e.decodeKey(n),""]:[e.decodeKey(n.slice(0,o)),e.decodeValue(n.slice(o+1))],l=r.get(s)||[];l.push(a),r.set(s,l)}),r}var hm=/%(\d[a-f0-9])/gi,mm={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Bc(i){return encodeURIComponent(i).replace(hm,(e,r)=>mm[r]??e)}function jr(i){return`${i}`}var ci=class i{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Ss,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=fm(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let t=e.fromObject[r],n=Array.isArray(t)?t.map(jr):[jr(t)];this.map.set(r,n)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(t=>{let n=e[t];Array.isArray(n)?n.forEach(o=>{r.push({param:t,value:o,op:"a"})}):r.push({param:t,value:n,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(t=>r+"="+this.encoder.encodeValue(t)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new i({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(jr(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let t=this.map.get(e.param)||[],n=t.indexOf(jr(e.value));n!==-1&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var Ts=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function pm(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Hc(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function Uc(i){return typeof Blob<"u"&&i instanceof Blob}function $c(i){return typeof FormData<"u"&&i instanceof FormData}function gm(i){return typeof URLSearchParams<"u"&&i instanceof URLSearchParams}var Pn=class i{constructor(e,r,t,n){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(pm(this.method)||n?(this.body=t!==void 0?t:null,o=n):o=t,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Ti,this.context??=new Ts,!this.params)this.params=new ci,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),l=a===-1?"?":af.set(m,e.setHeaders[m]),c)),e.setParams&&(d=Object.keys(e.setParams).reduce((f,m)=>f.set(m,e.setParams[m]),d)),new i(r,t,s,{params:d,headers:c,context:u,reportProgress:l,responseType:n,withCredentials:a,transferCache:o})}},Qi=function(i){return i[i.Sent=0]="Sent",i[i.UploadProgress=1]="UploadProgress",i[i.ResponseHeader=2]="ResponseHeader",i[i.DownloadProgress=3]="DownloadProgress",i[i.Response=4]="Response",i[i.User=5]="User",i}(Qi||{}),Ln=class{constructor(e,r=Ur.Ok,t="OK"){this.headers=e.headers||new Ti,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||t,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Ds=class i extends Ln{constructor(e={}){super(e),this.type=Qi.ResponseHeader}clone(e={}){return new i({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Br=class i extends Ln{constructor(e={}){super(e),this.type=Qi.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new i({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},Hr=class extends Ln{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Ur=function(i){return i[i.Continue=100]="Continue",i[i.SwitchingProtocols=101]="SwitchingProtocols",i[i.Processing=102]="Processing",i[i.EarlyHints=103]="EarlyHints",i[i.Ok=200]="Ok",i[i.Created=201]="Created",i[i.Accepted=202]="Accepted",i[i.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",i[i.NoContent=204]="NoContent",i[i.ResetContent=205]="ResetContent",i[i.PartialContent=206]="PartialContent",i[i.MultiStatus=207]="MultiStatus",i[i.AlreadyReported=208]="AlreadyReported",i[i.ImUsed=226]="ImUsed",i[i.MultipleChoices=300]="MultipleChoices",i[i.MovedPermanently=301]="MovedPermanently",i[i.Found=302]="Found",i[i.SeeOther=303]="SeeOther",i[i.NotModified=304]="NotModified",i[i.UseProxy=305]="UseProxy",i[i.Unused=306]="Unused",i[i.TemporaryRedirect=307]="TemporaryRedirect",i[i.PermanentRedirect=308]="PermanentRedirect",i[i.BadRequest=400]="BadRequest",i[i.Unauthorized=401]="Unauthorized",i[i.PaymentRequired=402]="PaymentRequired",i[i.Forbidden=403]="Forbidden",i[i.NotFound=404]="NotFound",i[i.MethodNotAllowed=405]="MethodNotAllowed",i[i.NotAcceptable=406]="NotAcceptable",i[i.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",i[i.RequestTimeout=408]="RequestTimeout",i[i.Conflict=409]="Conflict",i[i.Gone=410]="Gone",i[i.LengthRequired=411]="LengthRequired",i[i.PreconditionFailed=412]="PreconditionFailed",i[i.PayloadTooLarge=413]="PayloadTooLarge",i[i.UriTooLong=414]="UriTooLong",i[i.UnsupportedMediaType=415]="UnsupportedMediaType",i[i.RangeNotSatisfiable=416]="RangeNotSatisfiable",i[i.ExpectationFailed=417]="ExpectationFailed",i[i.ImATeapot=418]="ImATeapot",i[i.MisdirectedRequest=421]="MisdirectedRequest",i[i.UnprocessableEntity=422]="UnprocessableEntity",i[i.Locked=423]="Locked",i[i.FailedDependency=424]="FailedDependency",i[i.TooEarly=425]="TooEarly",i[i.UpgradeRequired=426]="UpgradeRequired",i[i.PreconditionRequired=428]="PreconditionRequired",i[i.TooManyRequests=429]="TooManyRequests",i[i.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",i[i.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",i[i.InternalServerError=500]="InternalServerError",i[i.NotImplemented=501]="NotImplemented",i[i.BadGateway=502]="BadGateway",i[i.ServiceUnavailable=503]="ServiceUnavailable",i[i.GatewayTimeout=504]="GatewayTimeout",i[i.HttpVersionNotSupported=505]="HttpVersionNotSupported",i[i.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",i[i.InsufficientStorage=507]="InsufficientStorage",i[i.LoopDetected=508]="LoopDetected",i[i.NotExtended=510]="NotExtended",i[i.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",i}(Ur||{});function Es(i,e){return{body:e,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials,transferCache:i.transferCache}}var zn=(()=>{let e=class e{constructor(t){this.handler=t}request(t,n,o={}){let s;if(t instanceof Pn)s=t;else{let c;o.headers instanceof Ti?c=o.headers:c=new Ti(o.headers);let d;o.params&&(o.params instanceof ci?d=o.params:d=new ci({fromObject:o.params})),s=new Pn(t,n,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=X(s).pipe(wi(c=>this.handler.handle(c)));if(t instanceof Pn||o.observe==="events")return a;let l=a.pipe(Ue(c=>c instanceof Br));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(ee(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(ee(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(ee(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(ee(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,n={}){return this.request("DELETE",t,n)}get(t,n={}){return this.request("GET",t,n)}head(t,n={}){return this.request("HEAD",t,n)}jsonp(t,n){return this.request("JSONP",t,{params:new ci().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,n={}){return this.request("OPTIONS",t,n)}patch(t,n,o={}){return this.request("PATCH",t,Es(o,n))}post(t,n,o={}){return this.request("POST",t,Es(o,n))}put(t,n,o={}){return this.request("PUT",t,Es(o,n))}};e.\u0275fac=function(n){return new(n||e)(R(Nn))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})();function bm(i,e){return e(i)}function vm(i,e,r){return(t,n)=>Bt(r,()=>e(t,o=>i(o,n)))}var Yc=new Y(""),_m=new Y(""),ym=new Y("");var Wc=(()=>{let e=class e extends Nn{constructor(t,n){super(),this.backend=t,this.injector=n,this.chain=null,this.pendingTasks=N(Rr);let o=N(ym,{optional:!0});this.backend=o??t}handle(t){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Yc),...this.injector.get(_m,[])]));this.chain=o.reduceRight((s,a)=>vm(s,a,this.injector),bm)}let n=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Rt(()=>this.pendingTasks.remove(n)))}};e.\u0275fac=function(n){return new(n||e)(R(Vr),R(Yi))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})();var wm=/^\)\]\}',?\n/;function xm(i){return"responseURL"in i&&i.responseURL?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):null}var Gc=(()=>{let e=class e{constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new De(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?Xe(n.\u0275loadImpl()):X(null)).pipe(Qe(()=>new jt(s=>{let a=n.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((p,h)=>a.setRequestHeader(p,h.join(","))),t.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let p=t.detectContentTypeHeader();p!==null&&a.setRequestHeader("Content-Type",p)}if(t.responseType){let p=t.responseType.toLowerCase();a.responseType=p!=="json"?p:"text"}let l=t.serializeBody(),c=null,d=()=>{if(c!==null)return c;let p=a.statusText||"OK",h=new Ti(a.getAllResponseHeaders()),_=xm(a)||t.url;return c=new Ds({headers:h,status:a.status,statusText:p,url:_}),c},u=()=>{let{headers:p,status:h,statusText:_,url:v}=d(),y=null;h!==Ur.NoContent&&(y=typeof a.response>"u"?a.responseText:a.response),h===0&&(h=y?Ur.Ok:0);let M=h>=200&&h<300;if(t.responseType==="json"&&typeof y=="string"){let k=y;y=y.replace(wm,"");try{y=y!==""?JSON.parse(y):null}catch(B){y=k,M&&(M=!1,y={error:B,text:y})}}M?(s.next(new Br({body:y,headers:p,status:h,statusText:_,url:v||void 0})),s.complete()):s.error(new Hr({error:y,headers:p,status:h,statusText:_,url:v||void 0}))},f=p=>{let{url:h}=d(),_=new Hr({error:p,status:a.status||0,statusText:a.statusText||"Unknown Error",url:h||void 0});s.error(_)},m=!1,g=p=>{m||(s.next(d()),m=!0);let h={type:Qi.DownloadProgress,loaded:p.loaded};p.lengthComputable&&(h.total=p.total),t.responseType==="text"&&a.responseText&&(h.partialText=a.responseText),s.next(h)},b=p=>{let h={type:Qi.UploadProgress,loaded:p.loaded};p.lengthComputable&&(h.total=p.total),s.next(h)};return a.addEventListener("load",u),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),t.reportProgress&&(a.addEventListener("progress",g),l!==null&&a.upload&&a.upload.addEventListener("progress",b)),a.send(l),s.next({type:Qi.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",u),a.removeEventListener("timeout",f),t.reportProgress&&(a.removeEventListener("progress",g),l!==null&&a.upload&&a.upload.removeEventListener("progress",b)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(n){return new(n||e)(R(zr))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})(),qc=new Y(""),Cm="XSRF-TOKEN",Em=new Y("",{providedIn:"root",factory:()=>Cm}),Sm="X-XSRF-TOKEN",Tm=new Y("",{providedIn:"root",factory:()=>Sm}),$r=class{},Dm=(()=>{let e=class e{constructor(t,n,o){this.doc=t,this.platform=n,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Nr(t,this.cookieName),this.lastCookieString=t),this.lastToken}};e.\u0275fac=function(n){return new(n||e)(R(te),R(Ht),R(Em))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})();function Im(i,e){let r=i.url.toLowerCase();if(!N(qc)||i.method==="GET"||i.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(i);let t=N($r).getToken(),n=N(Tm);return t!=null&&!i.headers.has(n)&&(i=i.clone({headers:i.headers.set(n,t)})),e(i)}function Xc(...i){let e=[zn,Gc,Wc,{provide:Nn,useExisting:Wc},{provide:Vr,useExisting:Gc},{provide:Yc,useValue:Im,multi:!0},{provide:qc,useValue:!0},{provide:$r,useClass:Dm}];for(let r of i)e.push(...r.\u0275providers);return Vt(e)}var As=class extends Oc{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Rs=class i extends As{static makeCurrent(){Rc(new i)}onAndCancel(e,r,t){return e.addEventListener(r,t),()=>{e.removeEventListener(r,t)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=Am();return r==null?null:Rm(r)}resetBaseElement(){jn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Nr(document.cookie,e)}},jn=null;function Am(){return jn=jn||document.querySelector("base"),jn?jn.getAttribute("href"):null}function Rm(i){return new URL(i,document.baseURI).pathname}var Om=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})(),Os=new Y(""),Jc=(()=>{let e=class e{constructor(t,n){this._zone=n,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,n,o){return this._findPluginFor(n).addEventListener(t,n,o)}getZone(){return this._zone}_findPluginFor(t){let n=this._eventNameToPlugin.get(t);if(n)return n;if(n=this._plugins.find(s=>s.supports(t)),!n)throw new De(5101,!1);return this._eventNameToPlugin.set(t,n),n}};e.\u0275fac=function(n){return new(n||e)(R(Os),R(Q))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})(),Wr=class{constructor(e){this._doc=e}},Ms="ng-app-id",ed=(()=>{let e=class e{constructor(t,n,o,s={}){this.doc=t,this.appId=n,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Cs(s),this.resetHostNodes()}addStyles(t){for(let n of t)this.changeUsageCount(n,1)===1&&this.onStyleAdded(n)}removeStyles(t){for(let n of t)this.changeUsageCount(n,-1)<=0&&this.onStyleRemoved(n)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(n=>n.remove()),t.clear());for(let n of this.getAllStyles())this.onStyleRemoved(n);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let n of this.getAllStyles())this.addStyleToHost(t,n)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let n of this.hostNodes)this.addStyleToHost(n,t)}onStyleRemoved(t){let n=this.styleRef;n.get(t)?.elements?.forEach(o=>o.remove()),n.delete(t)}collectServerRenderedStyles(){let t=this.doc.head?.querySelectorAll(`style[${Ms}="${this.appId}"]`);if(t?.length){let n=new Map;return t.forEach(o=>{o.textContent!=null&&n.set(o.textContent,o)}),n}return null}changeUsageCount(t,n){let o=this.styleRef;if(o.has(t)){let s=o.get(t);return s.usage+=n,s.usage}return o.set(t,{usage:n,elements:[]}),n}getStyleElement(t,n){let o=this.styleNodesInDOM,s=o?.get(n);if(s?.parentNode===t)return o.delete(n),s.removeAttribute(Ms),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=n,this.platformIsServer&&a.setAttribute(Ms,this.appId),t.appendChild(a),a}}addStyleToHost(t,n){let o=this.getStyleElement(t,n),s=this.styleRef,a=s.get(n)?.elements;a?a.push(o):s.set(n,{elements:[o],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(n){return new(n||e)(R(te),R(Mr),R(kn,8),R(Ht))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})(),ks={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Ns=/%COMP%/g,td="%COMP%",Fm=`_nghost-${td}`,Pm=`_ngcontent-${td}`,Nm=!0,Lm=new Y("",{providedIn:"root",factory:()=>Nm});function zm(i){return Pm.replace(Ns,i)}function jm(i){return Fm.replace(Ns,i)}function id(i,e){return e.map(r=>r.replace(Ns,i))}var Gr=(()=>{let e=class e{constructor(t,n,o,s,a,l,c,d=null){this.eventManager=t,this.sharedStylesHost=n,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=Cs(l),this.defaultRenderer=new Vn(t,a,c,this.platformIsServer)}createRenderer(t,n){if(!t||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===In.ShadowDom&&(n=pe(F({},n),{encapsulation:In.Emulated}));let o=this.getOrCreateRenderer(t,n);return o instanceof Yr?o.applyToHost(t):o instanceof Bn&&o.applyStyles(),o}getOrCreateRenderer(t,n){let o=this.rendererByCompId,s=o.get(n.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(n.encapsulation){case In.Emulated:s=new Yr(c,d,n,this.appId,u,a,l,f);break;case In.ShadowDom:return new Fs(c,d,t,n,a,l,this.nonce,f);default:s=new Bn(c,d,n,u,a,l,f);break}o.set(n.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(n){return new(n||e)(R(Jc),R(ed),R(Mr),R(Lm),R(te),R(Ht),R(Q),R(kn))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})(),Vn=class{constructor(e,r,t,n){this.eventManager=e,this.doc=r,this.ngZone=t,this.platformIsServer=n,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(ks[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Zc(e)?e.content:e).appendChild(r)}insertBefore(e,r,t){e&&(Zc(e)?e.content:e).insertBefore(r,t)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new De(-5104,!1);return r||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,t,n){if(n){r=n+":"+r;let o=ks[n];o?e.setAttributeNS(o,r,t):e.setAttribute(r,t)}else e.setAttribute(r,t)}removeAttribute(e,r,t){if(t){let n=ks[t];n?e.removeAttributeNS(n,r):e.removeAttribute(`${t}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,t,n){n&(An.DashCase|An.Important)?e.style.setProperty(r,t,n&An.Important?"important":""):e.style[r]=t}removeStyle(e,r,t){t&An.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,t){e!=null&&(e[r]=t)}setValue(e,r){e.nodeValue=r}listen(e,r,t){if(typeof e=="string"&&(e=Zi().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(t))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Zc(i){return i.tagName==="TEMPLATE"&&i.content!==void 0}var Fs=class extends Vn{constructor(e,r,t,n,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=r,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=id(n.id,n.styles);for(let d of c){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,t){return super.insertBefore(this.nodeOrShadowRoot(e),r,t)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Bn=class extends Vn{constructor(e,r,t,n,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=n,this.styles=l?id(l,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Yr=class extends Bn{constructor(e,r,t,n,o,s,a,l){let c=n+"-"+t.id;super(e,r,t,o,s,a,l,c),this.contentAttr=zm(c),this.hostAttr=jm(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let t=super.createElement(e,r);return super.setAttribute(t,this.contentAttr,""),t}},Vm=(()=>{let e=class e extends Wr{constructor(t){super(t)}supports(t){return!0}addEventListener(t,n,o){return t.addEventListener(n,o,!1),()=>this.removeEventListener(t,n,o)}removeEventListener(t,n,o){return t.removeEventListener(n,o)}};e.\u0275fac=function(n){return new(n||e)(R(te))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})(),Kc=["alt","control","meta","shift"],Bm={"\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"},Hm={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey},Um=(()=>{let e=class e extends Wr{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,n,o){let s=e.parseEventName(n),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Zi().onAndCancel(t,s.domEventName,a))}static parseEventName(t){let n=t.toLowerCase().split("."),o=n.shift();if(n.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(n.pop()),a="",l=n.indexOf("code");if(l>-1&&(n.splice(l,1),a="code."),Kc.forEach(d=>{let u=n.indexOf(d);u>-1&&(n.splice(u,1),a+=d+".")}),a+=s,n.length!=0||s.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(t,n){let o=Bm[t.key]||t.key,s="";return n.indexOf("code.")>-1&&(o=t.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Kc.forEach(a=>{if(a!==o){let l=Hm[a];l(t)&&(s+=a+".")}}),s+=o,s===n)}static eventCallback(t,n,o){return s=>{e.matchEventFullKeyCode(s,t)&&o.runGuarded(()=>n(s))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(n){return new(n||e)(R(te))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})();function nd(i,e){return kc(F({rootComponent:i},$m(e)))}function $m(i){return{appProviders:[...Xm,...i?.providers??[]],platformProviders:qm}}function Wm(){Rs.makeCurrent()}function Gm(){return new xi}function Ym(){return dc(document),document}var qm=[{provide:Ht,useValue:Lc},{provide:uc,useValue:Wm,multi:!0},{provide:te,useFactory:Ym,deps:[]}];var Xm=[{provide:lc,useValue:"root"},{provide:xi,useFactory:Gm,deps:[]},{provide:Os,useClass:Vm,multi:!0,deps:[te,Q,Ht]},{provide:Os,useClass:Um,multi:!0,deps:[te]},Gr,ed,Jc,{provide:kr,useExisting:Gr},{provide:zr,useClass:Om,deps:[]},[]];var rd=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(n){return new(n||e)(R(te))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Hn=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:function(n){let o=null;return n?o=new(n||e):o=R(Zm),o},providedIn:"root"});let i=e;return i})(),Zm=(()=>{let e=class e extends Hn{constructor(t){super(),this._doc=t}sanitize(t,n){if(n==null)return null;switch(t){case it.NONE:return n;case it.HTML:return Xi(n,"HTML")?qi(n):vc(this._doc,String(n)).toString();case it.STYLE:return Xi(n,"Style")?qi(n):n;case it.SCRIPT:if(Xi(n,"Script"))return qi(n);throw new De(5200,!1);case it.URL:return Xi(n,"URL")?qi(n):bc(String(n));case it.RESOURCE_URL:if(Xi(n,"ResourceURL"))return qi(n);throw new De(5201,!1);default:throw new De(5202,!1)}}bypassSecurityTrustHtml(t){return fc(t)}bypassSecurityTrustStyle(t){return hc(t)}bypassSecurityTrustScript(t){return mc(t)}bypassSecurityTrustUrl(t){return pc(t)}bypassSecurityTrustResourceUrl(t){return gc(t)}};e.\u0275fac=function(n){return new(n||e)(R(te))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function od(i){return i!==null&&typeof i=="object"&&"constructor"in i&&i.constructor===Object}function zs(i,e){i===void 0&&(i={}),e===void 0&&(e={}),Object.keys(e).forEach(r=>{typeof i[r]>"u"?i[r]=e[r]:od(e[r])&&od(i[r])&&Object.keys(e[r]).length>0&&zs(i[r],e[r])})}var sd={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Oe(){let i=typeof document<"u"?document:{};return zs(i,sd),i}var Km={document:sd,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(i){return typeof setTimeout>"u"?(i(),null):setTimeout(i,0)},cancelAnimationFrame(i){typeof setTimeout>"u"||clearTimeout(i)}};function Ie(){let i=typeof window<"u"?window:{};return zs(i,Km),i}function Yt(i){return i===void 0&&(i=""),i.trim().split(" ").filter(e=>!!e.trim())}function ad(i){let e=i;Object.keys(e).forEach(r=>{try{e[r]=null}catch{}try{delete e[r]}catch{}})}function Dt(i,e){return e===void 0&&(e=0),setTimeout(i,e)}function rt(){return Date.now()}function Qm(i){let e=Ie(),r;return e.getComputedStyle&&(r=e.getComputedStyle(i,null)),!r&&i.currentStyle&&(r=i.currentStyle),r||(r=i.style),r}function Un(i,e){e===void 0&&(e="x");let r=Ie(),t,n,o,s=Qm(i);return r.WebKitCSSMatrix?(n=s.transform||s.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(a=>a.replace(",",".")).join(", ")),o=new r.WebKitCSSMatrix(n==="none"?"":n)):(o=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),t=o.toString().split(",")),e==="x"&&(r.WebKitCSSMatrix?n=o.m41:t.length===16?n=parseFloat(t[12]):n=parseFloat(t[4])),e==="y"&&(r.WebKitCSSMatrix?n=o.m42:t.length===16?n=parseFloat(t[13]):n=parseFloat(t[5])),n||0}function Ji(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"}function Jm(i){return typeof window<"u"&&typeof window.HTMLElement<"u"?i instanceof HTMLElement:i&&(i.nodeType===1||i.nodeType===11)}function lt(){let i=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let r=1;re.indexOf(o)<0);for(let o=0,s=n.length;oo?"next":"prev",d=(f,m)=>c==="next"&&f>=m||c==="prev"&&f<=m,u=()=>{a=new Date().getTime(),s===null&&(s=a);let f=Math.max(Math.min((a-s)/l,1),0),m=.5-Math.cos(f*Math.PI)/2,g=o+m*(r-o);if(d(g,r)&&(g=r),e.wrapperEl.scrollTo({[t]:g}),d(g,r)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[t]:g})}),n.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=n.requestAnimationFrame(u)};u()}function ct(i){return i.querySelector(".swiper-slide-transform")||i.shadowRoot&&i.shadowRoot.querySelector(".swiper-slide-transform")||i}function Le(i,e){return e===void 0&&(e=""),[...i.children].filter(r=>r.matches(e))}function $n(i){try{console.warn(i);return}catch{}}function He(i,e){e===void 0&&(e=[]);let r=document.createElement(i);return r.classList.add(...Array.isArray(e)?e:Yt(e)),r}function Ii(i){let e=Ie(),r=Oe(),t=i.getBoundingClientRect(),n=r.body,o=i.clientTop||n.clientTop||0,s=i.clientLeft||n.clientLeft||0,a=i===e?e.scrollY:i.scrollTop,l=i===e?e.scrollX:i.scrollLeft;return{top:t.top+a-o,left:t.left+l-s}}function ld(i,e){let r=[];for(;i.previousElementSibling;){let t=i.previousElementSibling;e?t.matches(e)&&r.push(t):r.push(t),i=t}return r}function cd(i,e){let r=[];for(;i.nextElementSibling;){let t=i.nextElementSibling;e?t.matches(e)&&r.push(t):r.push(t),i=t}return r}function qt(i,e){return Ie().getComputedStyle(i,null).getPropertyValue(e)}function di(i){let e=i,r;if(e){for(r=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(r+=1);return r}}function It(i,e){let r=[],t=i.parentElement;for(;t;)e?t.matches(e)&&r.push(t):r.push(t),t=t.parentElement;return r}function ui(i,e){function r(t){t.target===i&&(e.call(i,t),i.removeEventListener("transitionend",r))}e&&i.addEventListener("transitionend",r)}function Wn(i,e,r){let t=Ie();return r?i[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(t.getComputedStyle(i,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(t.getComputedStyle(i,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):i.offsetWidth}function ae(i){return(Array.isArray(i)?i:[i]).filter(e=>!!e)}var Vs;function ep(){let i=Ie(),e=Oe();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in i||i.DocumentTouch&&e instanceof i.DocumentTouch)}}function hd(){return Vs||(Vs=ep()),Vs}var Bs;function tp(i){let{userAgent:e}=i===void 0?{}:i,r=hd(),t=Ie(),n=t.navigator.platform,o=e||t.navigator.userAgent,s={ios:!1,android:!1},a=t.screen.width,l=t.screen.height,c=o.match(/(Android);?[\s\/]+([\d.]+)?/),d=o.match(/(iPad).*OS\s([\d_]+)/),u=o.match(/(iPod)(.*OS\s([\d_]+))?/),f=!d&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m=n==="Win32",g=n==="MacIntel",b=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&g&&r.touch&&b.indexOf(`${a}x${l}`)>=0&&(d=o.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),g=!1),c&&!m&&(s.os="android",s.android=!0),(d||f||u)&&(s.os="ios",s.ios=!0),s}function md(i){return i===void 0&&(i={}),Bs||(Bs=tp(i)),Bs}var Hs;function ip(){let i=Ie(),e=md(),r=!1;function t(){let a=i.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(t()){let a=String(i.navigator.userAgent);if(a.includes("Version/")){let[l,c]=a.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));r=l<16||l===16&&c<2}}let n=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(i.navigator.userAgent),o=t(),s=o||n&&e.ios;return{isSafari:r||o,needPerspectiveFix:r,need3dFix:s,isWebView:n}}function np(){return Hs||(Hs=ip()),Hs}function rp(i){let{swiper:e,on:r,emit:t}=i,n=Ie(),o=null,s=null,a=()=>{!e||e.destroyed||!e.initialized||(t("beforeResize"),t("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(o=new ResizeObserver(u=>{s=n.requestAnimationFrame(()=>{let{width:f,height:m}=e,g=f,b=m;u.forEach(p=>{let{contentBoxSize:h,contentRect:_,target:v}=p;v&&v!==e.el||(g=_?_.width:(h[0]||h).inlineSize,b=_?_.height:(h[0]||h).blockSize)}),(g!==f||b!==m)&&a()})}),o.observe(e.el))},c=()=>{s&&n.cancelAnimationFrame(s),o&&o.unobserve&&e.el&&(o.unobserve(e.el),o=null)},d=()=>{!e||e.destroyed||!e.initialized||t("orientationchange")};r("init",()=>{if(e.params.resizeObserver&&typeof n.ResizeObserver<"u"){l();return}n.addEventListener("resize",a),n.addEventListener("orientationchange",d)}),r("destroy",()=>{c(),n.removeEventListener("resize",a),n.removeEventListener("orientationchange",d)})}function op(i){let{swiper:e,extendParams:r,on:t,emit:n}=i,o=[],s=Ie(),a=function(d,u){u===void 0&&(u={});let f=s.MutationObserver||s.WebkitMutationObserver,m=new f(g=>{if(e.__preventObserver__)return;if(g.length===1){n("observerUpdate",g[0]);return}let b=function(){n("observerUpdate",g[0])};s.requestAnimationFrame?s.requestAnimationFrame(b):s.setTimeout(b,0)});m.observe(d,{attributes:typeof u.attributes>"u"?!0:u.attributes,childList:typeof u.childList>"u"?!0:u.childList,characterData:typeof u.characterData>"u"?!0:u.characterData}),o.push(m)},l=()=>{if(e.params.observer){if(e.params.observeParents){let d=It(e.hostEl);for(let u=0;u{o.forEach(d=>{d.disconnect()}),o.splice(0,o.length)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),t("init",l),t("destroy",c)}var sp={on(i,e,r){let t=this;if(!t.eventsListeners||t.destroyed||typeof e!="function")return t;let n=r?"unshift":"push";return i.split(" ").forEach(o=>{t.eventsListeners[o]||(t.eventsListeners[o]=[]),t.eventsListeners[o][n](e)}),t},once(i,e,r){let t=this;if(!t.eventsListeners||t.destroyed||typeof e!="function")return t;function n(){t.off(i,n),n.__emitterProxy&&delete n.__emitterProxy;for(var o=arguments.length,s=new Array(o),a=0;a=0&&e.eventsAnyListeners.splice(r,1),e},off(i,e){let r=this;return!r.eventsListeners||r.destroyed||!r.eventsListeners||i.split(" ").forEach(t=>{typeof e>"u"?r.eventsListeners[t]=[]:r.eventsListeners[t]&&r.eventsListeners[t].forEach((n,o)=>{(n===e||n.__emitterProxy&&n.__emitterProxy===e)&&r.eventsListeners[t].splice(o,1)})}),r},emit(){let i=this;if(!i.eventsListeners||i.destroyed||!i.eventsListeners)return i;let e,r,t;for(var n=arguments.length,o=new Array(n),s=0;s{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(c=>{c.apply(t,[l,...r])}),i.eventsListeners&&i.eventsListeners[l]&&i.eventsListeners[l].forEach(c=>{c.apply(t,r)})}),i}};function ap(){let i=this,e,r,t=i.el;typeof i.params.width<"u"&&i.params.width!==null?e=i.params.width:e=t.clientWidth,typeof i.params.height<"u"&&i.params.height!==null?r=i.params.height:r=t.clientHeight,!(e===0&&i.isHorizontal()||r===0&&i.isVertical())&&(e=e-parseInt(qt(t,"padding-left")||0,10)-parseInt(qt(t,"padding-right")||0,10),r=r-parseInt(qt(t,"padding-top")||0,10)-parseInt(qt(t,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(r)&&(r=0),Object.assign(i,{width:e,height:r,size:i.isHorizontal()?e:r}))}function lp(){let i=this;function e(S,O){return parseFloat(S.getPropertyValue(i.getDirectionLabel(O))||0)}let r=i.params,{wrapperEl:t,slidesEl:n,size:o,rtlTranslate:s,wrongRTL:a}=i,l=i.virtual&&r.virtual.enabled,c=l?i.virtual.slides.length:i.slides.length,d=Le(n,`.${i.params.slideClass}, swiper-slide`),u=l?i.virtual.slides.length:d.length,f=[],m=[],g=[],b=r.slidesOffsetBefore;typeof b=="function"&&(b=r.slidesOffsetBefore.call(i));let p=r.slidesOffsetAfter;typeof p=="function"&&(p=r.slidesOffsetAfter.call(i));let h=i.snapGrid.length,_=i.slidesGrid.length,v=r.spaceBetween,y=-b,M=0,k=0;if(typeof o>"u")return;typeof v=="string"&&v.indexOf("%")>=0?v=parseFloat(v.replace("%",""))/100*o:typeof v=="string"&&(v=parseFloat(v)),i.virtualSize=-v,d.forEach(S=>{s?S.style.marginLeft="":S.style.marginRight="",S.style.marginBottom="",S.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(Di(t,"--swiper-centered-offset-before",""),Di(t,"--swiper-centered-offset-after",""));let B=r.grid&&r.grid.rows>1&&i.grid;B?i.grid.initSlides(d):i.grid&&i.grid.unsetSlides();let T,w=r.slidesPerView==="auto"&&r.breakpoints&&Object.keys(r.breakpoints).filter(S=>typeof r.breakpoints[S].slidesPerView<"u").length>0;for(let S=0;S1&&f.push(i.virtualSize-o)}if(l&&r.loop){let S=g[0]+v;if(r.slidesPerGroup>1){let O=Math.ceil((i.virtual.slidesBefore+i.virtual.slidesAfter)/r.slidesPerGroup),C=S*r.slidesPerGroup;for(let x=0;x!r.cssMode||r.loop?!0:C!==d.length-1).forEach(O=>{O.style[S]=`${v}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let S=0;g.forEach(C=>{S+=C+(v||0)}),S-=v;let O=S-o;f=f.map(C=>C<=0?-b:C>O?O+p:C)}if(r.centerInsufficientSlides){let S=0;if(g.forEach(O=>{S+=O+(v||0)}),S-=v,S{f[x]=C-O}),m.forEach((C,x)=>{m[x]=C+O})}}if(Object.assign(i,{slides:d,snapGrid:f,slidesGrid:m,slidesSizesGrid:g}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){Di(t,"--swiper-centered-offset-before",`${-f[0]}px`),Di(t,"--swiper-centered-offset-after",`${i.size/2-g[g.length-1]/2}px`);let S=-i.snapGrid[0],O=-i.slidesGrid[0];i.snapGrid=i.snapGrid.map(C=>C+S),i.slidesGrid=i.slidesGrid.map(C=>C+O)}if(u!==c&&i.emit("slidesLengthChange"),f.length!==h&&(i.params.watchOverflow&&i.checkOverflow(),i.emit("snapGridLengthChange")),m.length!==_&&i.emit("slidesGridLengthChange"),r.watchSlidesProgress&&i.updateSlidesOffset(),i.emit("slidesUpdated"),!l&&!r.cssMode&&(r.effect==="slide"||r.effect==="fade")){let S=`${r.containerModifierClass}backface-hidden`,O=i.el.classList.contains(S);u<=r.maxBackfaceHiddenSlides?O||i.el.classList.add(S):O&&i.el.classList.remove(S)}}function cp(i){let e=this,r=[],t=e.virtual&&e.params.virtual.enabled,n=0,o;typeof i=="number"?e.setTransition(i):i===!0&&e.setTransition(e.params.speed);let s=a=>t?e.slides[e.getSlideIndexByData(a)]:e.slides[a];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(a=>{r.push(a)});else for(o=0;oe.slides.length&&!t)break;r.push(s(a))}else r.push(s(e.activeIndex));for(o=0;on?a:n}(n||n===0)&&(e.wrapperEl.style.height=`${n}px`)}function dp(){let i=this,e=i.slides,r=i.isElement?i.isHorizontal()?i.wrapperEl.offsetLeft:i.wrapperEl.offsetTop:0;for(let t=0;t"u"&&e.updateSlidesOffset();let s=-i;n&&(s=i),t.forEach(l=>{l.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let a=r.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*e.size:typeof a=="string"&&(a=parseFloat(a));for(let l=0;l=0&&m<=e.size-e.slidesSizesGrid[l];(m>=0&&m1&&g<=e.size||m<=0&&g>=e.size)&&(e.visibleSlides.push(c),e.visibleSlidesIndexes.push(l),t[l].classList.add(r.slideVisibleClass)),b&&t[l].classList.add(r.slideFullyVisibleClass),c.progress=n?-u:u,c.originalProgress=n?-f:f}}function fp(i){let e=this;if(typeof i>"u"){let d=e.rtlTranslate?-1:1;i=e&&e.translate&&e.translate*d||0}let r=e.params,t=e.maxTranslate()-e.minTranslate(),{progress:n,isBeginning:o,isEnd:s,progressLoop:a}=e,l=o,c=s;if(t===0)n=0,o=!0,s=!0;else{n=(i-e.minTranslate())/t;let d=Math.abs(i-e.minTranslate())<1,u=Math.abs(i-e.maxTranslate())<1;o=d||n<=0,s=u||n>=1,d&&(n=0),u&&(n=1)}if(r.loop){let d=e.getSlideIndexByData(0),u=e.getSlideIndexByData(e.slides.length-1),f=e.slidesGrid[d],m=e.slidesGrid[u],g=e.slidesGrid[e.slidesGrid.length-1],b=Math.abs(i);b>=f?a=(b-f)/g:a=(b+g-m)/g,a>1&&(a-=1)}Object.assign(e,{progress:n,progressLoop:a,isBeginning:o,isEnd:s}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&e.updateSlidesProgress(i),o&&!l&&e.emit("reachBeginning toEdge"),s&&!c&&e.emit("reachEnd toEdge"),(l&&!o||c&&!s)&&e.emit("fromEdge"),e.emit("progress",n)}var Us=(i,e,r)=>{e&&!i.classList.contains(r)?i.classList.add(r):!e&&i.classList.contains(r)&&i.classList.remove(r)};function hp(){let i=this,{slides:e,params:r,slidesEl:t,activeIndex:n}=i,o=i.virtual&&r.virtual.enabled,s=i.grid&&r.grid&&r.grid.rows>1,a=u=>Le(t,`.${r.slideClass}${u}, swiper-slide${u}`)[0],l,c,d;if(o)if(r.loop){let u=n-i.virtual.slidesBefore;u<0&&(u=i.virtual.slides.length+u),u>=i.virtual.slides.length&&(u-=i.virtual.slides.length),l=a(`[data-swiper-slide-index="${u}"]`)}else l=a(`[data-swiper-slide-index="${n}"]`);else s?(l=e.filter(u=>u.column===n)[0],d=e.filter(u=>u.column===n+1)[0],c=e.filter(u=>u.column===n-1)[0]):l=e[n];l&&(s||(d=cd(l,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!d&&(d=e[0]),c=ld(l,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!c===0&&(c=e[e.length-1]))),e.forEach(u=>{Us(u,u===l,r.slideActiveClass),Us(u,u===d,r.slideNextClass),Us(u,u===c,r.slidePrevClass)}),i.emitSlidesClasses()}var qr=(i,e)=>{if(!i||i.destroyed||!i.params)return;let r=()=>i.isElement?"swiper-slide":`.${i.params.slideClass}`,t=e.closest(r());if(t){let n=t.querySelector(`.${i.params.lazyPreloaderClass}`);!n&&i.isElement&&(t.shadowRoot?n=t.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{t.shadowRoot&&(n=t.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`),n&&n.remove())})),n&&n.remove()}},$s=(i,e)=>{if(!i.slides[e])return;let r=i.slides[e].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},Ys=i=>{if(!i||i.destroyed||!i.params)return;let e=i.params.lazyPreloadPrevNext,r=i.slides.length;if(!r||!e||e<0)return;e=Math.min(e,r);let t=i.params.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(i.params.slidesPerView),n=i.activeIndex;if(i.params.grid&&i.params.grid.rows>1){let s=n,a=[s-e];a.push(...Array.from({length:e}).map((l,c)=>s+t+c)),i.slides.forEach((l,c)=>{a.includes(l.column)&&$s(i,c)});return}let o=n+t-1;if(i.params.rewind||i.params.loop)for(let s=n-e;s<=o+e;s+=1){let a=(s%r+r)%r;(ao)&&$s(i,a)}else for(let s=Math.max(n-e,0);s<=Math.min(o+e,r-1);s+=1)s!==n&&(s>o||s=e[o]&&t=e[o]&&t=e[o]&&(n=o);return r.normalizeSlideIndex&&(n<0||typeof n>"u")&&(n=0),n}function pp(i){let e=this,r=e.rtlTranslate?e.translate:-e.translate,{snapGrid:t,params:n,activeIndex:o,realIndex:s,snapIndex:a}=e,l=i,c,d=m=>{let g=m-e.virtual.slidesBefore;return g<0&&(g=e.virtual.slides.length+g),g>=e.virtual.slides.length&&(g-=e.virtual.slides.length),g};if(typeof l>"u"&&(l=mp(e)),t.indexOf(r)>=0)c=t.indexOf(r);else{let m=Math.min(n.slidesPerGroupSkip,l);c=m+Math.floor((l-m)/n.slidesPerGroup)}if(c>=t.length&&(c=t.length-1),l===o&&!e.params.loop){c!==a&&(e.snapIndex=c,e.emit("snapIndexChange"));return}if(l===o&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(l);return}let u=e.grid&&n.grid&&n.grid.rows>1,f;if(e.virtual&&n.virtual.enabled&&n.loop)f=d(l);else if(u){let m=e.slides.filter(b=>b.column===l)[0],g=parseInt(m.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(e.slides.indexOf(m),0)),f=Math.floor(g/n.grid.rows)}else if(e.slides[l]){let m=e.slides[l].getAttribute("data-swiper-slide-index");m?f=parseInt(m,10):f=l}else f=l;Object.assign(e,{previousSnapIndex:a,snapIndex:c,previousRealIndex:s,realIndex:f,previousIndex:o,activeIndex:l}),e.initialized&&Ys(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(s!==f&&e.emit("realIndexChange"),e.emit("slideChange"))}function gp(i,e){let r=this,t=r.params,n=i.closest(`.${t.slideClass}, swiper-slide`);!n&&r.isElement&&e&&e.length>1&&e.includes(i)&&[...e.slice(e.indexOf(i)+1,e.length)].forEach(a=>{!n&&a.matches&&a.matches(`.${t.slideClass}, swiper-slide`)&&(n=a)});let o=!1,s;if(n){for(let a=0;al?d=l:t&&is?a="next":o"u"&&(e=o.params.speed);let b=Math.min(o.params.slidesPerGroupSkip,s),p=b+Math.floor((s-b)/o.params.slidesPerGroup);p>=l.length&&(p=l.length-1);let h=-l[p];if(a.normalizeSlideIndex)for(let v=0;v=M&&y=M&&y=M&&(s=v)}if(o.initialized&&s!==u&&(!o.allowSlideNext&&(f?h>o.translate&&h>o.minTranslate():ho.translate&&h>o.maxTranslate()&&(u||0)!==s))return!1;s!==(d||0)&&r&&o.emit("beforeSlideChangeStart"),o.updateProgress(h);let _;if(s>u?_="next":s0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[v?"scrollLeft":"scrollTop"]=y})):m[v?"scrollLeft":"scrollTop"]=y,M&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return js({swiper:o,targetPosition:y,side:v?"left":"top"}),!0;m.scrollTo({[v?"left":"top"]:y,behavior:"smooth"})}return!0}return o.setTransition(e),o.setTranslate(h),o.updateActiveIndex(s),o.updateSlidesClasses(),o.emit("beforeTransitionStart",e,t),o.transitionStart(r,_),e===0?o.transitionEnd(r,_):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(y){!o||o.destroyed||y.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(r,_))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function Mp(i,e,r,t){i===void 0&&(i=0),r===void 0&&(r=!0),typeof i=="string"&&(i=parseInt(i,10));let n=this;if(n.destroyed)return;typeof e>"u"&&(e=n.params.speed);let o=n.grid&&n.params.grid&&n.params.grid.rows>1,s=i;if(n.params.loop)if(n.virtual&&n.params.virtual.enabled)s=s+n.virtual.slidesBefore;else{let a;if(o){let f=s*n.params.grid.rows;a=n.slides.filter(m=>m.getAttribute("data-swiper-slide-index")*1===f)[0].column}else a=n.getSlideIndexByData(s);let l=o?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,{centeredSlides:c}=n.params,d=n.params.slidesPerView;d==="auto"?d=n.slidesPerViewDynamic():(d=Math.ceil(parseFloat(n.params.slidesPerView,10)),c&&d%2===0&&(d=d+1));let u=l-am.getAttribute("data-swiper-slide-index")*1===f)[0].column}else s=n.getSlideIndexByData(s)}return requestAnimationFrame(()=>{n.slideTo(s,e,r,t)}),n}function kp(i,e,r){e===void 0&&(e=!0);let t=this,{enabled:n,params:o,animating:s}=t;if(!n||t.destroyed)return t;typeof i>"u"&&(i=t.params.speed);let a=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(a=Math.max(t.slidesPerViewDynamic("current",!0),1));let l=t.activeIndex{t.slideTo(t.activeIndex+l,i,e,r)}),!0}return o.rewind&&t.isEnd?t.slideTo(0,i,e,r):t.slideTo(t.activeIndex+l,i,e,r)}function Ap(i,e,r){e===void 0&&(e=!0);let t=this,{params:n,snapGrid:o,slidesGrid:s,rtlTranslate:a,enabled:l,animating:c}=t;if(!l||t.destroyed)return t;typeof i>"u"&&(i=t.params.speed);let d=t.virtual&&n.virtual.enabled;if(n.loop){if(c&&!d&&n.loopPreventsSliding)return!1;t.loopFix({direction:"prev"}),t._clientLeft=t.wrapperEl.clientLeft}let u=a?t.translate:-t.translate;function f(h){return h<0?-Math.floor(Math.abs(h)):Math.floor(h)}let m=f(u),g=o.map(h=>f(h)),b=o[g.indexOf(m)-1];if(typeof b>"u"&&n.cssMode){let h;o.forEach((_,v)=>{m>=_&&(h=v)}),typeof h<"u"&&(b=o[h>0?h-1:h])}let p=0;if(typeof b<"u"&&(p=s.indexOf(b),p<0&&(p=t.activeIndex-1),n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(p=p-t.slidesPerViewDynamic("previous",!0)+1,p=Math.max(p,0))),n.rewind&&t.isBeginning){let h=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1;return t.slideTo(h,i,e,r)}else if(n.loop&&t.activeIndex===0&&n.cssMode)return requestAnimationFrame(()=>{t.slideTo(p,i,e,r)}),!0;return t.slideTo(p,i,e,r)}function Rp(i,e,r){e===void 0&&(e=!0);let t=this;if(!t.destroyed)return typeof i>"u"&&(i=t.params.speed),t.slideTo(t.activeIndex,i,e,r)}function Op(i,e,r,t){e===void 0&&(e=!0),t===void 0&&(t=.5);let n=this;if(n.destroyed)return;typeof i>"u"&&(i=n.params.speed);let o=n.activeIndex,s=Math.min(n.params.slidesPerGroupSkip,o),a=s+Math.floor((o-s)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[a]){let c=n.snapGrid[a],d=n.snapGrid[a+1];l-c>(d-c)*t&&(o+=n.params.slidesPerGroup)}else{let c=n.snapGrid[a-1],d=n.snapGrid[a];l-c<=(d-c)*t&&(o-=n.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,n.slidesGrid.length-1),n.slideTo(o,i,e,r)}function Fp(){let i=this;if(i.destroyed)return;let{params:e,slidesEl:r}=i,t=e.slidesPerView==="auto"?i.slidesPerViewDynamic():e.slidesPerView,n=i.clickedIndex,o,s=i.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(i.animating)return;o=parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?ni.slides.length-i.loopedSlides+t/2?(i.loopFix(),n=i.getSlideIndex(Le(r,`${s}[data-swiper-slide-index="${o}"]`)[0]),Dt(()=>{i.slideTo(n)})):i.slideTo(n):n>i.slides.length-t?(i.loopFix(),n=i.getSlideIndex(Le(r,`${s}[data-swiper-slide-index="${o}"]`)[0]),Dt(()=>{i.slideTo(n)})):i.slideTo(n)}else i.slideTo(n)}var Pp={slideTo:Ip,slideToLoop:Mp,slideNext:kp,slidePrev:Ap,slideReset:Rp,slideToClosest:Op,slideToClickedSlide:Fp};function Np(i){let e=this,{params:r,slidesEl:t}=e;if(!r.loop||e.virtual&&e.params.virtual.enabled)return;let n=()=>{Le(t,`.${r.slideClass}, swiper-slide`).forEach((u,f)=>{u.setAttribute("data-swiper-slide-index",f)})},o=e.grid&&r.grid&&r.grid.rows>1,s=r.slidesPerGroup*(o?r.grid.rows:1),a=e.slides.length%s!==0,l=o&&e.slides.length%r.grid.rows!==0,c=d=>{for(let u=0;u1;c.length"u"?o=l.getSlideIndex(c.filter(x=>x.classList.contains(m.slideActiveClass))[0]):M=o;let k=t==="next"||!t,B=t==="prev"||!t,T=0,w=0,S=_?Math.ceil(c.length/m.grid.rows):c.length,C=(_?c[o].column:o)+(g&&typeof n>"u"?-b/2+.5:0);if(C=0;q-=1)c[q].column===z&&v.push(q)}else v.push(S-D-1)}}else if(C+b>S-h){w=Math.max(C-(S-h*2),p);for(let x=0;x{z.column===D&&y.push(q)}):y.push(D)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),B&&v.forEach(x=>{c[x].swiperLoopMoveDOM=!0,f.prepend(c[x]),c[x].swiperLoopMoveDOM=!1}),k&&y.forEach(x=>{c[x].swiperLoopMoveDOM=!0,f.append(c[x]),c[x].swiperLoopMoveDOM=!1}),l.recalcSlides(),m.slidesPerView==="auto"?l.updateSlides():_&&(v.length>0&&B||y.length>0&&k)&&l.slides.forEach((x,D)=>{l.grid.updateSlide(D,x,l.slides)}),m.watchSlidesProgress&&l.updateSlidesOffset(),r){if(v.length>0&&B){if(typeof e>"u"){let x=l.slidesGrid[M],z=l.slidesGrid[M+T]-x;a?l.setTranslate(l.translate-z):(l.slideTo(M+Math.ceil(T),0,!1,!0),n&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-z,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-z))}else if(n){let x=_?v.length/m.grid.rows:v.length;l.slideTo(l.activeIndex+x,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(y.length>0&&k)if(typeof e>"u"){let x=l.slidesGrid[M],z=l.slidesGrid[M-w]-x;a?l.setTranslate(l.translate-z):(l.slideTo(M-w,0,!1,!0),n&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-z,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-z))}else{let x=_?y.length/m.grid.rows:y.length;l.slideTo(l.activeIndex-x,0,!1,!0)}}if(l.allowSlidePrev=d,l.allowSlideNext=u,l.controller&&l.controller.control&&!s){let x={slideRealIndex:e,direction:t,setTranslate:n,activeSlideIndex:o,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(D=>{!D.destroyed&&D.params.loop&&D.loopFix(pe(F({},x),{slideTo:D.params.slidesPerView===m.slidesPerView?r:!1}))}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix(pe(F({},x),{slideTo:l.controller.control.params.slidesPerView===m.slidesPerView?r:!1}))}l.emit("loopFix")}function zp(){let i=this,{params:e,slidesEl:r}=i;if(!e.loop||i.virtual&&i.params.virtual.enabled)return;i.recalcSlides();let t=[];i.slides.forEach(n=>{let o=typeof n.swiperSlideIndex>"u"?n.getAttribute("data-swiper-slide-index")*1:n.swiperSlideIndex;t[o]=n}),i.slides.forEach(n=>{n.removeAttribute("data-swiper-slide-index")}),t.forEach(n=>{r.append(n)}),i.recalcSlides(),i.slideTo(i.realIndex,0)}var jp={loopCreate:Np,loopFix:Lp,loopDestroy:zp};function Vp(i){let e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;let r=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=i?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Bp(){let i=this;i.params.watchOverflow&&i.isLocked||i.params.cssMode||(i.isElement&&(i.__preventObserver__=!0),i[i.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",i.isElement&&requestAnimationFrame(()=>{i.__preventObserver__=!1}))}var Hp={setGrabCursor:Vp,unsetGrabCursor:Bp};function Up(i,e){e===void 0&&(e=this);function r(t){if(!t||t===Oe()||t===Ie())return null;t.assignedSlot&&(t=t.assignedSlot);let n=t.closest(i);return!n&&!t.getRootNode?null:n||r(t.getRootNode().host)}return r(e)}function dd(i,e,r){let t=Ie(),{params:n}=i,o=n.edgeSwipeDetection,s=n.edgeSwipeThreshold;return o&&(r<=s||r>=t.innerWidth-s)?o==="prevent"?(e.preventDefault(),!0):!1:!0}function $p(i){let e=this,r=Oe(),t=i;t.originalEvent&&(t=t.originalEvent);let n=e.touchEventsData;if(t.type==="pointerdown"){if(n.pointerId!==null&&n.pointerId!==t.pointerId)return;n.pointerId=t.pointerId}else t.type==="touchstart"&&t.targetTouches.length===1&&(n.touchId=t.targetTouches[0].identifier);if(t.type==="touchstart"){dd(e,t,t.targetTouches[0].pageX);return}let{params:o,touches:s,enabled:a}=e;if(!a||!o.simulateTouch&&t.pointerType==="mouse"||e.animating&&o.preventInteractionOnTransition)return;!e.animating&&o.cssMode&&o.loop&&e.loopFix();let l=t.target;if(o.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(l)||"which"in t&&t.which===3||"button"in t&&t.button>0||n.isTouched&&n.isMoved)return;let c=!!o.noSwipingClass&&o.noSwipingClass!=="",d=t.composedPath?t.composedPath():t.path;c&&t.target&&t.target.shadowRoot&&d&&(l=d[0]);let u=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,f=!!(t.target&&t.target.shadowRoot);if(o.noSwiping&&(f?Up(u,l):l.closest(u))){e.allowClick=!0;return}if(o.swipeHandler&&!l.closest(o.swipeHandler))return;s.currentX=t.pageX,s.currentY=t.pageY;let m=s.currentX,g=s.currentY;if(!dd(e,t,m))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=m,s.startY=g,n.touchStartTime=rt(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,o.threshold>0&&(n.allowThresholdMove=!1);let b=!0;l.matches(n.focusableElements)&&(b=!1,l.nodeName==="SELECT"&&(n.isTouched=!1)),r.activeElement&&r.activeElement.matches(n.focusableElements)&&r.activeElement!==l&&r.activeElement.blur();let p=b&&e.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||p)&&!l.isContentEditable&&t.preventDefault(),o.freeMode&&o.freeMode.enabled&&e.freeMode&&e.animating&&!o.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",t)}function Wp(i){let e=Oe(),r=this,t=r.touchEventsData,{params:n,touches:o,rtlTranslate:s,enabled:a}=r;if(!a||!n.simulateTouch&&i.pointerType==="mouse")return;let l=i;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(t.touchId!==null||l.pointerId!==t.pointerId))return;let c;if(l.type==="touchmove"){if(c=[...l.changedTouches].filter(k=>k.identifier===t.touchId)[0],!c||c.identifier!==t.touchId)return}else c=l;if(!t.isTouched){t.startMoving&&t.isScrolling&&r.emit("touchMoveOpposite",l);return}let d=c.pageX,u=c.pageY;if(l.preventedByNestedSwiper){o.startX=d,o.startY=u;return}if(!r.allowTouchMove){l.target.matches(t.focusableElements)||(r.allowClick=!1),t.isTouched&&(Object.assign(o,{startX:d,startY:u,currentX:d,currentY:u}),t.touchStartTime=rt());return}if(n.touchReleaseOnEdges&&!n.loop){if(r.isVertical()){if(uo.startY&&r.translate>=r.minTranslate()){t.isTouched=!1,t.isMoved=!1;return}}else if(do.startX&&r.translate>=r.minTranslate())return}if(e.activeElement&&l.target===e.activeElement&&l.target.matches(t.focusableElements)){t.isMoved=!0,r.allowClick=!1;return}t.allowTouchCallbacks&&r.emit("touchMove",l),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=d,o.currentY=u;let f=o.currentX-o.startX,m=o.currentY-o.startY;if(r.params.threshold&&Math.sqrt(f**2+m**2)"u"){let k;r.isHorizontal()&&o.currentY===o.startY||r.isVertical()&&o.currentX===o.startX?t.isScrolling=!1:f*f+m*m>=25&&(k=Math.atan2(Math.abs(m),Math.abs(f))*180/Math.PI,t.isScrolling=r.isHorizontal()?k>n.touchAngle:90-k>n.touchAngle)}if(t.isScrolling&&r.emit("touchMoveOpposite",l),typeof t.startMoving>"u"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(t.startMoving=!0),t.isScrolling||l.type==="touchmove"&&t.preventTouchMoveFromPointerMove){t.isTouched=!1;return}if(!t.startMoving)return;r.allowClick=!1,!n.cssMode&&l.cancelable&&l.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&l.stopPropagation();let g=r.isHorizontal()?f:m,b=r.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;n.oneWayMovement&&(g=Math.abs(g)*(s?1:-1),b=Math.abs(b)*(s?1:-1)),o.diff=g,g*=n.touchRatio,s&&(g=-g,b=-b);let p=r.touchesDirection;r.swipeDirection=g>0?"prev":"next",r.touchesDirection=b>0?"prev":"next";let h=r.params.loop&&!n.cssMode,_=r.touchesDirection==="next"&&r.allowSlideNext||r.touchesDirection==="prev"&&r.allowSlidePrev;if(!t.isMoved){if(h&&_&&r.loopFix({direction:r.swipeDirection}),t.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){let k=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});r.wrapperEl.dispatchEvent(k)}t.allowMomentumBounce=!1,n.grabCursor&&(r.allowSlideNext===!0||r.allowSlidePrev===!0)&&r.setGrabCursor(!0),r.emit("sliderFirstMove",l)}let v;if(new Date().getTime(),t.isMoved&&t.allowThresholdMove&&p!==r.touchesDirection&&h&&_&&Math.abs(g)>=1){Object.assign(o,{startX:d,startY:u,currentX:d,currentY:u,startTranslate:t.currentTranslate}),t.loopSwapReset=!0,t.startTranslate=t.currentTranslate;return}r.emit("sliderMove",l),t.isMoved=!0,t.currentTranslate=g+t.startTranslate;let y=!0,M=n.resistanceRatio;if(n.touchReleaseOnEdges&&(M=0),g>0?(h&&_&&!v&&t.allowThresholdMove&&t.currentTranslate>(n.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),t.currentTranslate>r.minTranslate()&&(y=!1,n.resistance&&(t.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+t.startTranslate+g)**M))):g<0&&(h&&_&&!v&&t.allowThresholdMove&&t.currentTranslate<(n.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]:r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-(n.slidesPerView==="auto"?r.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),t.currentTranslatet.startTranslate&&(t.currentTranslate=t.startTranslate),!r.allowSlidePrev&&!r.allowSlideNext&&(t.currentTranslate=t.startTranslate),n.threshold>0)if(Math.abs(g)>n.threshold||t.allowThresholdMove){if(!t.allowThresholdMove){t.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,t.currentTranslate=t.startTranslate,o.diff=r.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{t.currentTranslate=t.startTranslate;return}!n.followFinger||n.cssMode||((n.freeMode&&n.freeMode.enabled&&r.freeMode||n.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(t.currentTranslate),r.setTranslate(t.currentTranslate))}function Gp(i){let e=this,r=e.touchEventsData,t=i;t.originalEvent&&(t=t.originalEvent);let n;if(t.type==="touchend"||t.type==="touchcancel"){if(n=[...t.changedTouches].filter(M=>M.identifier===r.touchId)[0],!n||n.identifier!==r.touchId)return}else{if(r.touchId!==null||t.pointerId!==r.pointerId)return;n=t}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(t.type)&&!(["pointercancel","contextmenu"].includes(t.type)&&(e.browser.isSafari||e.browser.isWebView)))return;r.pointerId=null,r.touchId=null;let{params:s,touches:a,rtlTranslate:l,slidesGrid:c,enabled:d}=e;if(!d||!s.simulateTouch&&t.pointerType==="mouse")return;if(r.allowTouchCallbacks&&e.emit("touchEnd",t),r.allowTouchCallbacks=!1,!r.isTouched){r.isMoved&&s.grabCursor&&e.setGrabCursor(!1),r.isMoved=!1,r.startMoving=!1;return}s.grabCursor&&r.isMoved&&r.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);let u=rt(),f=u-r.touchStartTime;if(e.allowClick){let M=t.path||t.composedPath&&t.composedPath();e.updateClickedSlide(M&&M[0]||t.target,M),e.emit("tap click",t),f<300&&u-r.lastClickTime<300&&e.emit("doubleTap doubleClick",t)}if(r.lastClickTime=rt(),Dt(()=>{e.destroyed||(e.allowClick=!0)}),!r.isTouched||!r.isMoved||!e.swipeDirection||a.diff===0&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset){r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;return}r.isTouched=!1,r.isMoved=!1,r.startMoving=!1;let m;if(s.followFinger?m=l?e.translate:-e.translate:m=-r.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:m});return}let g=m>=-e.maxTranslate()&&!e.params.loop,b=0,p=e.slidesSizesGrid[0];for(let M=0;M=c[M]&&m=c[M])&&(b=M,p=c[c.length-1]-c[c.length-2])}let h=null,_=null;s.rewind&&(e.isBeginning?_=s.virtual&&s.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(h=0));let v=(m-c[b])/p,y=bs.longSwipesMs){if(!s.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(v>=s.longSwipesRatio?e.slideTo(s.rewind&&e.isEnd?h:b+y):e.slideTo(b)),e.swipeDirection==="prev"&&(v>1-s.longSwipesRatio?e.slideTo(b+y):_!==null&&v<0&&Math.abs(v)>s.longSwipesRatio?e.slideTo(_):e.slideTo(b))}else{if(!s.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(t.target===e.navigation.nextEl||t.target===e.navigation.prevEl)?t.target===e.navigation.nextEl?e.slideTo(b+y):e.slideTo(b):(e.swipeDirection==="next"&&e.slideTo(h!==null?h:b+y),e.swipeDirection==="prev"&&e.slideTo(_!==null?_:b))}}function ud(){let i=this,{params:e,el:r}=i;if(r&&r.offsetWidth===0)return;e.breakpoints&&i.setBreakpoint();let{allowSlideNext:t,allowSlidePrev:n,snapGrid:o}=i,s=i.virtual&&i.params.virtual.enabled;i.allowSlideNext=!0,i.allowSlidePrev=!0,i.updateSize(),i.updateSlides(),i.updateSlidesClasses();let a=s&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&i.isEnd&&!i.isBeginning&&!i.params.centeredSlides&&!a?i.slideTo(i.slides.length-1,0,!1,!0):i.params.loop&&!s?i.slideToLoop(i.realIndex,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0),i.autoplay&&i.autoplay.running&&i.autoplay.paused&&(clearTimeout(i.autoplay.resizeTimeout),i.autoplay.resizeTimeout=setTimeout(()=>{i.autoplay&&i.autoplay.running&&i.autoplay.paused&&i.autoplay.resume()},500)),i.allowSlidePrev=n,i.allowSlideNext=t,i.params.watchOverflow&&o!==i.snapGrid&&i.checkOverflow()}function Yp(i){let e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&i.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(i.stopPropagation(),i.stopImmediatePropagation())))}function qp(){let i=this,{wrapperEl:e,rtlTranslate:r,enabled:t}=i;if(!t)return;i.previousTranslate=i.translate,i.isHorizontal()?i.translate=-e.scrollLeft:i.translate=-e.scrollTop,i.translate===0&&(i.translate=0),i.updateActiveIndex(),i.updateSlidesClasses();let n,o=i.maxTranslate()-i.minTranslate();o===0?n=0:n=(i.translate-i.minTranslate())/o,n!==i.progress&&i.updateProgress(r?-i.translate:i.translate),i.emit("setTranslate",i.translate,!1)}function Xp(i){let e=this;qr(e,i.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Zp(){let i=this;i.documentTouchHandlerProceeded||(i.documentTouchHandlerProceeded=!0,i.params.touchReleaseOnEdges&&(i.el.style.touchAction="auto"))}var gd=(i,e)=>{let r=Oe(),{params:t,el:n,wrapperEl:o,device:s}=i,a=!!t.nested,l=e==="on"?"addEventListener":"removeEventListener",c=e;r[l]("touchstart",i.onDocumentTouchStart,{passive:!1,capture:a}),n[l]("touchstart",i.onTouchStart,{passive:!1}),n[l]("pointerdown",i.onTouchStart,{passive:!1}),r[l]("touchmove",i.onTouchMove,{passive:!1,capture:a}),r[l]("pointermove",i.onTouchMove,{passive:!1,capture:a}),r[l]("touchend",i.onTouchEnd,{passive:!0}),r[l]("pointerup",i.onTouchEnd,{passive:!0}),r[l]("pointercancel",i.onTouchEnd,{passive:!0}),r[l]("touchcancel",i.onTouchEnd,{passive:!0}),r[l]("pointerout",i.onTouchEnd,{passive:!0}),r[l]("pointerleave",i.onTouchEnd,{passive:!0}),r[l]("contextmenu",i.onTouchEnd,{passive:!0}),(t.preventClicks||t.preventClicksPropagation)&&n[l]("click",i.onClick,!0),t.cssMode&&o[l]("scroll",i.onScroll),t.updateOnWindowResize?i[c](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",ud,!0):i[c]("observerUpdate",ud,!0),n[l]("load",i.onLoad,{capture:!0})};function Kp(){let i=this,{params:e}=i;i.onTouchStart=$p.bind(i),i.onTouchMove=Wp.bind(i),i.onTouchEnd=Gp.bind(i),i.onDocumentTouchStart=Zp.bind(i),e.cssMode&&(i.onScroll=qp.bind(i)),i.onClick=Yp.bind(i),i.onLoad=Xp.bind(i),gd(i,"on")}function Qp(){gd(this,"off")}var Jp={attachEvents:Kp,detachEvents:Qp},fd=(i,e)=>i.grid&&e.grid&&e.grid.rows>1;function eg(){let i=this,{realIndex:e,initialized:r,params:t,el:n}=i,o=t.breakpoints;if(!o||o&&Object.keys(o).length===0)return;let s=i.getBreakpoint(o,i.params.breakpointsBase,i.el);if(!s||i.currentBreakpoint===s)return;let l=(s in o?o[s]:void 0)||i.originalParams,c=fd(i,t),d=fd(i,l),u=i.params.grabCursor,f=l.grabCursor,m=t.enabled;c&&!d?(n.classList.remove(`${t.containerModifierClass}grid`,`${t.containerModifierClass}grid-column`),i.emitContainerClasses()):!c&&d&&(n.classList.add(`${t.containerModifierClass}grid`),(l.grid.fill&&l.grid.fill==="column"||!l.grid.fill&&t.grid.fill==="column")&&n.classList.add(`${t.containerModifierClass}grid-column`),i.emitContainerClasses()),u&&!f?i.unsetGrabCursor():!u&&f&&i.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(v=>{if(typeof l[v]>"u")return;let y=t[v]&&t[v].enabled,M=l[v]&&l[v].enabled;y&&!M&&i[v].disable(),!y&&M&&i[v].enable()});let g=l.direction&&l.direction!==t.direction,b=t.loop&&(l.slidesPerView!==t.slidesPerView||g),p=t.loop;g&&r&&i.changeDirection(),lt(i.params,l);let h=i.params.enabled,_=i.params.loop;Object.assign(i,{allowTouchMove:i.params.allowTouchMove,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev}),m&&!h?i.disable():!m&&h&&i.enable(),i.currentBreakpoint=s,i.emit("_beforeBreakpoint",l),r&&(b?(i.loopDestroy(),i.loopCreate(e),i.updateSlides()):!p&&_?(i.loopCreate(e),i.updateSlides()):p&&!_&&i.loopDestroy()),i.emit("breakpoint",l)}function tg(i,e,r){if(e===void 0&&(e="window"),!i||e==="container"&&!r)return;let t=!1,n=Ie(),o=e==="window"?n.innerHeight:r.clientHeight,s=Object.keys(i).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){let l=parseFloat(a.substr(1));return{value:o*l,point:a}}return{value:a,point:a}});s.sort((a,l)=>parseInt(a.value,10)-parseInt(l.value,10));for(let a=0;a{typeof t=="object"?Object.keys(t).forEach(n=>{t[n]&&r.push(e+n)}):typeof t=="string"&&r.push(e+t)}),r}function rg(){let i=this,{classNames:e,params:r,rtl:t,el:n,device:o}=i,s=ng(["initialized",r.direction,{"free-mode":i.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:t},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&r.grid.fill==="column"},{android:o.android},{ios:o.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);e.push(...s),n.classList.add(...e),i.emitContainerClasses()}function og(){let i=this,{el:e,classNames:r}=i;e.classList.remove(...r),i.emitContainerClasses()}var sg={addClasses:rg,removeClasses:og};function ag(){let i=this,{isLocked:e,params:r}=i,{slidesOffsetBefore:t}=r;if(t){let n=i.slides.length-1,o=i.slidesGrid[n]+i.slidesSizesGrid[n]+t*2;i.isLocked=i.size>o}else i.isLocked=i.snapGrid.length===1;r.allowSlideNext===!0&&(i.allowSlideNext=!i.isLocked),r.allowSlidePrev===!0&&(i.allowSlidePrev=!i.isLocked),e&&e!==i.isLocked&&(i.isEnd=!1),e!==i.isLocked&&i.emit(i.isLocked?"lock":"unlock")}var lg={checkOverflow:ag},Xr={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function cg(i,e){return function(t){t===void 0&&(t={});let n=Object.keys(t)[0],o=t[n];if(typeof o!="object"||o===null){lt(e,t);return}if(i[n]===!0&&(i[n]={enabled:!0}),n==="navigation"&&i[n]&&i[n].enabled&&!i[n].prevEl&&!i[n].nextEl&&(i[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&i[n]&&i[n].enabled&&!i[n].el&&(i[n].auto=!0),!(n in i&&"enabled"in o)){lt(e,t);return}typeof i[n]=="object"&&!("enabled"in i[n])&&(i[n].enabled=!0),i[n]||(i[n]={enabled:!1}),lt(e,t)}}var Ws={eventsEmitter:sp,update:bp,translate:Cp,transition:Dp,slide:Pp,loop:jp,grabCursor:Hp,events:Jp,breakpoints:ig,checkOverflow:lg,classes:sg},Gs={},_t=class i{constructor(){let e,r;for(var t=arguments.length,n=new Array(t),o=0;o1){let d=[];return s.querySelectorAll(r.el).forEach(u=>{let f=lt({},r,{el:u});d.push(new i(f))}),d}let a=this;a.__swiper__=!0,a.support=hd(),a.device=md({userAgent:r.userAgent}),a.browser=np(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],r.modules&&Array.isArray(r.modules)&&a.modules.push(...r.modules);let l={};a.modules.forEach(d=>{d({params:r,swiper:a,extendParams:cg(r,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});let c=lt({},Xr,l);return a.params=lt({},c,Gs,r),a.originalParams=lt({},a.params),a.passedParams=lt({},r),a.params&&a.params.on&&Object.keys(a.params.on).forEach(d=>{a.on(d,a.params.on[d])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){let{slidesEl:r,params:t}=this,n=Le(r,`.${t.slideClass}, swiper-slide`),o=di(n[0]);return di(e)-o}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(r=>r.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){let e=this,{slidesEl:r,params:t}=e;e.slides=Le(r,`.${t.slideClass}, swiper-slide`)}enable(){let e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){let e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,r){let t=this;e=Math.min(Math.max(e,0),1);let n=t.minTranslate(),s=(t.maxTranslate()-n)*e+n;t.translateTo(s,typeof r>"u"?0:r),t.updateActiveIndex(),t.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let r=e.el.className.split(" ").filter(t=>t.indexOf("swiper")===0||t.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",r.join(" "))}getSlideClasses(e){let r=this;return r.destroyed?"":e.className.split(" ").filter(t=>t.indexOf("swiper-slide")===0||t.indexOf(r.params.slideClass)===0).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let r=[];e.slides.forEach(t=>{let n=e.getSlideClasses(t);r.push({slideEl:t,classNames:n}),e.emit("_slideClass",t,n)}),e.emit("_slideClasses",r)}slidesPerViewDynamic(e,r){e===void 0&&(e="current"),r===void 0&&(r=!1);let t=this,{params:n,slides:o,slidesGrid:s,slidesSizesGrid:a,size:l,activeIndex:c}=t,d=1;if(typeof n.slidesPerView=="number")return n.slidesPerView;if(n.centeredSlides){let u=o[c]?Math.ceil(o[c].swiperSlideSize):0,f;for(let m=c+1;ml&&(f=!0));for(let m=c-1;m>=0;m-=1)o[m]&&!f&&(u+=o[m].swiperSlideSize,d+=1,u>l&&(f=!0))}else if(e==="current")for(let u=c+1;u=0;u-=1)s[c]-s[u]{s.complete&&qr(e,s)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function n(){let s=e.rtlTranslate?e.translate*-1:e.translate,a=Math.min(Math.max(s,e.maxTranslate()),e.minTranslate());e.setTranslate(a),e.updateActiveIndex(),e.updateSlidesClasses()}let o;if(t.freeMode&&t.freeMode.enabled&&!t.cssMode)n(),t.autoHeight&&e.updateAutoHeight();else{if((t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!t.centeredSlides){let s=e.virtual&&t.virtual.enabled?e.virtual.slides:e.slides;o=e.slideTo(s.length-1,0,!1,!0)}else o=e.slideTo(e.activeIndex,0,!1,!0);o||n()}t.watchOverflow&&r!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,r){r===void 0&&(r=!0);let t=this,n=t.params.direction;return e||(e=n==="horizontal"?"vertical":"horizontal"),e===n||e!=="horizontal"&&e!=="vertical"||(t.el.classList.remove(`${t.params.containerModifierClass}${n}`),t.el.classList.add(`${t.params.containerModifierClass}${e}`),t.emitContainerClasses(),t.params.direction=e,t.slides.forEach(o=>{e==="vertical"?o.style.width="":o.style.height=""}),t.emit("changeDirection"),r&&t.update()),t}changeLanguageDirection(e){let r=this;r.rtl&&e==="rtl"||!r.rtl&&e==="ltr"||(r.rtl=e==="rtl",r.rtlTranslate=r.params.direction==="horizontal"&&r.rtl,r.rtl?(r.el.classList.add(`${r.params.containerModifierClass}rtl`),r.el.dir="rtl"):(r.el.classList.remove(`${r.params.containerModifierClass}rtl`),r.el.dir="ltr"),r.update())}mount(e){let r=this;if(r.mounted)return!0;let t=e||r.params.el;if(typeof t=="string"&&(t=document.querySelector(t)),!t)return!1;t.swiper=r,t.parentNode&&t.parentNode.host&&t.parentNode.host.nodeName===r.params.swiperElementNodeName.toUpperCase()&&(r.isElement=!0);let n=()=>`.${(r.params.wrapperClass||"").trim().split(" ").join(".")}`,s=t&&t.shadowRoot&&t.shadowRoot.querySelector?t.shadowRoot.querySelector(n()):Le(t,n())[0];return!s&&r.params.createElements&&(s=He("div",r.params.wrapperClass),t.append(s),Le(t,`.${r.params.slideClass}`).forEach(a=>{s.append(a)})),Object.assign(r,{el:t,wrapperEl:s,slidesEl:r.isElement&&!t.parentNode.host.slideSlots?t.parentNode.host:s,hostEl:r.isElement?t.parentNode.host:t,mounted:!0,rtl:t.dir.toLowerCase()==="rtl"||qt(t,"direction")==="rtl",rtlTranslate:r.params.direction==="horizontal"&&(t.dir.toLowerCase()==="rtl"||qt(t,"direction")==="rtl"),wrongRTL:qt(s,"display")==="-webkit-box"}),!0}init(e){let r=this;if(r.initialized||r.mount(e)===!1)return r;r.emit("beforeInit"),r.params.breakpoints&&r.setBreakpoint(),r.addClasses(),r.updateSize(),r.updateSlides(),r.params.watchOverflow&&r.checkOverflow(),r.params.grabCursor&&r.enabled&&r.setGrabCursor(),r.params.loop&&r.virtual&&r.params.virtual.enabled?r.slideTo(r.params.initialSlide+r.virtual.slidesBefore,0,r.params.runCallbacksOnInit,!1,!0):r.slideTo(r.params.initialSlide,0,r.params.runCallbacksOnInit,!1,!0),r.params.loop&&r.loopCreate(),r.attachEvents();let n=[...r.el.querySelectorAll('[loading="lazy"]')];return r.isElement&&n.push(...r.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(o=>{o.complete?qr(r,o):o.addEventListener("load",s=>{qr(r,s.target)})}),Ys(r),r.initialized=!0,Ys(r),r.emit("init"),r.emit("afterInit"),r}destroy(e,r){e===void 0&&(e=!0),r===void 0&&(r=!0);let t=this,{params:n,el:o,wrapperEl:s,slides:a}=t;return typeof t.params>"u"||t.destroyed||(t.emit("beforeDestroy"),t.initialized=!1,t.detachEvents(),n.loop&&t.loopDestroy(),r&&(t.removeClasses(),o.removeAttribute("style"),s.removeAttribute("style"),a&&a.length&&a.forEach(l=>{l.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),t.emit("destroy"),Object.keys(t.eventsListeners).forEach(l=>{t.off(l)}),e!==!1&&(t.el.swiper=null,ad(t)),t.destroyed=!0),null}static extendDefaults(e){lt(Gs,e)}static get extendedDefaults(){return Gs}static get defaults(){return Xr}static installModule(e){i.prototype.__modules__||(i.prototype.__modules__=[]);let r=i.prototype.__modules__;typeof e=="function"&&r.indexOf(e)<0&&r.push(e)}static use(e){return Array.isArray(e)?(e.forEach(r=>i.installModule(r)),i):(i.installModule(e),i)}};Object.keys(Ws).forEach(i=>{Object.keys(Ws[i]).forEach(e=>{_t.prototype[e]=Ws[i][e]})});_t.use([rp,op]);function bd(i){let{swiper:e,extendParams:r,on:t,emit:n}=i;r({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let o,s=Oe();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};let a=s.createElement("div");function l(g,b){let p=e.params.virtual;if(p.cache&&e.virtual.cache[b])return e.virtual.cache[b];let h;return p.renderSlide?(h=p.renderSlide.call(e,g,b),typeof h=="string"&&(a.innerHTML=h,h=a.children[0])):e.isElement?h=He("swiper-slide"):h=He("div",e.params.slideClass),h.setAttribute("data-swiper-slide-index",b),p.renderSlide||(h.innerHTML=g),p.cache&&(e.virtual.cache[b]=h),h}function c(g,b){let{slidesPerView:p,slidesPerGroup:h,centeredSlides:_,loop:v,initialSlide:y}=e.params;if(b&&!v&&y>0)return;let{addSlidesBefore:M,addSlidesAfter:k}=e.params.virtual,{from:B,to:T,slides:w,slidesGrid:S,offset:O}=e.virtual;e.params.cssMode||e.updateActiveIndex();let C=e.activeIndex||0,x;e.rtlTranslate?x="right":x=e.isHorizontal()?"left":"top";let D,z;_?(D=Math.floor(p/2)+h+k,z=Math.floor(p/2)+h+M):(D=p+(h-1)+k,z=(v?p:h)+M);let q=C-z,I=C+D;v||(q=Math.max(q,0),I=Math.min(I,w.length-1));let A=(e.slidesGrid[q]||0)-(e.slidesGrid[0]||0);v&&C>=z?(q-=z,_||(A+=e.slidesGrid[0])):v&&C{K.style[x]=`${A-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),n("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:A,from:q,to:I,slides:function(){let xe=[];for(let tt=q;tt<=I;tt+=1)xe.push(w[tt]);return xe}()}),e.params.virtual.renderExternalUpdate?W():n("virtualUpdate");return}let se=[],P=[],H=K=>{let xe=K;return K<0?xe=w.length+K:xe>=w.length&&(xe=xe-w.length),xe};if(g)e.slides.filter(K=>K.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(K=>{K.remove()});else for(let K=B;K<=T;K+=1)if(KI){let xe=H(K);e.slides.filter(tt=>tt.matches(`.${e.params.slideClass}[data-swiper-slide-index="${xe}"], swiper-slide[data-swiper-slide-index="${xe}"]`)).forEach(tt=>{tt.remove()})}let G=v?-w.length:0,Ae=v?w.length*2:w.length;for(let K=G;K=q&&K<=I){let xe=H(K);typeof T>"u"||g?P.push(xe):(K>T&&P.push(xe),K{e.slidesEl.append(l(w[K],K))}),v)for(let K=se.length-1;K>=0;K-=1){let xe=se[K];e.slidesEl.prepend(l(w[xe],xe))}else se.sort((K,xe)=>xe-K),se.forEach(K=>{e.slidesEl.prepend(l(w[K],K))});Le(e.slidesEl,".swiper-slide, swiper-slide").forEach(K=>{K.style[x]=`${A-Math.abs(e.cssOverflowAdjustment())}px`}),W()}function d(g){if(typeof g=="object"&&"length"in g)for(let b=0;b{let M=_[y],k=M.getAttribute("data-swiper-slide-index");k&&M.setAttribute("data-swiper-slide-index",parseInt(k,10)+h),v[parseInt(y,10)+h]=M}),e.virtual.cache=v}c(!0),e.slideTo(p,0)}function f(g){if(typeof g>"u"||g===null)return;let b=e.activeIndex;if(Array.isArray(g))for(let p=g.length-1;p>=0;p-=1)e.params.virtual.cache&&(delete e.virtual.cache[g[p]],Object.keys(e.virtual.cache).forEach(h=>{h>g&&(e.virtual.cache[h-1]=e.virtual.cache[h],e.virtual.cache[h-1].setAttribute("data-swiper-slide-index",h-1),delete e.virtual.cache[h])})),e.virtual.slides.splice(g[p],1),g[p]{p>g&&(e.virtual.cache[p-1]=e.virtual.cache[p],e.virtual.cache[p-1].setAttribute("data-swiper-slide-index",p-1),delete e.virtual.cache[p])})),e.virtual.slides.splice(g,1),g{if(!e.params.virtual.enabled)return;let g;if(typeof e.passedParams.virtual.slides>"u"){let b=[...e.slidesEl.children].filter(p=>p.matches(`.${e.params.slideClass}, swiper-slide`));b&&b.length&&(e.virtual.slides=[...b],g=!0,b.forEach((p,h)=>{p.setAttribute("data-swiper-slide-index",h),e.virtual.cache[h]=p,p.remove()}))}g||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,c(!1,!0)}),t("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(o),o=setTimeout(()=>{c()},100)):c())}),t("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&Di(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:d,prependSlide:u,removeSlide:f,removeAllSlides:m,update:c})}function vd(i){let{swiper:e,extendParams:r,on:t,emit:n}=i,o=Oe(),s=Ie();e.keyboard={enabled:!1},r({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function a(d){if(!e.enabled)return;let{rtlTranslate:u}=e,f=d;f.originalEvent&&(f=f.originalEvent);let m=f.keyCode||f.charCode,g=e.params.keyboard.pageUpDown,b=g&&m===33,p=g&&m===34,h=m===37,_=m===39,v=m===38,y=m===40;if(!e.allowSlideNext&&(e.isHorizontal()&&_||e.isVertical()&&y||p)||!e.allowSlidePrev&&(e.isHorizontal()&&h||e.isVertical()&&v||b))return!1;if(!(f.shiftKey||f.altKey||f.ctrlKey||f.metaKey)&&!(o.activeElement&&o.activeElement.nodeName&&(o.activeElement.nodeName.toLowerCase()==="input"||o.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(b||p||h||_||v||y)){let M=!1;if(It(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&It(e.el,`.${e.params.slideActiveClass}`).length===0)return;let k=e.el,B=k.clientWidth,T=k.clientHeight,w=s.innerWidth,S=s.innerHeight,O=Ii(k);u&&(O.left-=k.scrollLeft);let C=[[O.left,O.top],[O.left+B,O.top],[O.left,O.top+T],[O.left+B,O.top+T]];for(let x=0;x=0&&D[0]<=w&&D[1]>=0&&D[1]<=S){if(D[0]===0&&D[1]===0)continue;M=!0}}if(!M)return}e.isHorizontal()?((b||p||h||_)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),((p||_)&&!u||(b||h)&&u)&&e.slideNext(),((b||h)&&!u||(p||_)&&u)&&e.slidePrev()):((b||p||v||y)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),(p||y)&&e.slideNext(),(b||v)&&e.slidePrev()),n("keyPress",m)}}function l(){e.keyboard.enabled||(o.addEventListener("keydown",a),e.keyboard.enabled=!0)}function c(){e.keyboard.enabled&&(o.removeEventListener("keydown",a),e.keyboard.enabled=!1)}t("init",()=>{e.params.keyboard.enabled&&l()}),t("destroy",()=>{e.keyboard.enabled&&c()}),Object.assign(e.keyboard,{enable:l,disable:c})}function _d(i){let{swiper:e,extendParams:r,on:t,emit:n}=i,o=Ie();r({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let s,a=rt(),l,c=[];function d(v){let B=0,T=0,w=0,S=0;return"detail"in v&&(T=v.detail),"wheelDelta"in v&&(T=-v.wheelDelta/120),"wheelDeltaY"in v&&(T=-v.wheelDeltaY/120),"wheelDeltaX"in v&&(B=-v.wheelDeltaX/120),"axis"in v&&v.axis===v.HORIZONTAL_AXIS&&(B=T,T=0),w=B*10,S=T*10,"deltaY"in v&&(S=v.deltaY),"deltaX"in v&&(w=v.deltaX),v.shiftKey&&!w&&(w=S,S=0),(w||S)&&v.deltaMode&&(v.deltaMode===1?(w*=40,S*=40):(w*=800,S*=800)),w&&!B&&(B=w<1?-1:1),S&&!T&&(T=S<1?-1:1),{spinX:B,spinY:T,pixelX:w,pixelY:S}}function u(){e.enabled&&(e.mouseEntered=!0)}function f(){e.enabled&&(e.mouseEntered=!1)}function m(v){return e.params.mousewheel.thresholdDelta&&v.delta=6&&rt()-a<60?!0:(v.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),n("scroll",v.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),n("scroll",v.raw)),a=new o.Date().getTime(),!1)}function g(v){let y=e.params.mousewheel;if(v.direction<0){if(e.isEnd&&!e.params.loop&&y.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&y.releaseOnEdges)return!0;return!1}function b(v){let y=v,M=!0;if(!e.enabled||v.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;let k=e.params.mousewheel;e.params.cssMode&&y.preventDefault();let B=e.el;e.params.mousewheel.eventsTarget!=="container"&&(B=document.querySelector(e.params.mousewheel.eventsTarget));let T=B&&B.contains(y.target);if(!e.mouseEntered&&!T&&!k.releaseOnEdges)return!0;y.originalEvent&&(y=y.originalEvent);let w=0,S=e.rtlTranslate?-1:1,O=d(y);if(k.forceToAxis)if(e.isHorizontal())if(Math.abs(O.pixelX)>Math.abs(O.pixelY))w=-O.pixelX*S;else return!0;else if(Math.abs(O.pixelY)>Math.abs(O.pixelX))w=-O.pixelY;else return!0;else w=Math.abs(O.pixelX)>Math.abs(O.pixelY)?-O.pixelX*S:-O.pixelY;if(w===0)return!0;k.invert&&(w=-w);let C=e.getTranslate()+w*k.sensitivity;if(C>=e.minTranslate()&&(C=e.minTranslate()),C<=e.maxTranslate()&&(C=e.maxTranslate()),M=e.params.loop?!0:!(C===e.minTranslate()||C===e.maxTranslate()),M&&e.params.nested&&y.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){let x={time:rt(),delta:Math.abs(w),direction:Math.sign(w),raw:v};c.length>=2&&c.shift();let D=c.length?c[c.length-1]:void 0;if(c.push(x),D?(x.direction!==D.direction||x.delta>D.delta||x.time>D.time+150)&&m(x):m(x),g(x))return!0}else{let x={time:rt(),delta:Math.abs(w),direction:Math.sign(w)},D=l&&x.time=e.minTranslate()&&(z=e.minTranslate()),z<=e.maxTranslate()&&(z=e.maxTranslate()),e.setTransition(0),e.setTranslate(z),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!q&&e.isBeginning||!I&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:x.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(s),s=void 0,c.length>=15&&c.shift();let A=c.length?c[c.length-1]:void 0,W=c[0];if(c.push(x),A&&(x.delta>A.delta||x.direction!==A.direction))c.splice(0);else if(c.length>=15&&x.time-W.time<500&&W.delta-x.delta>=1&&x.delta<=6){let se=w>0?.8:.2;l=x,c.splice(0),s=Dt(()=>{e.slideToClosest(e.params.speed,!0,void 0,se)},0)}s||(s=Dt(()=>{l=x,c.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(D||n("scroll",y),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),k.releaseOnEdges&&(z===e.minTranslate()||z===e.maxTranslate()))return!0}}return y.preventDefault?y.preventDefault():y.returnValue=!1,!1}function p(v){let y=e.el;e.params.mousewheel.eventsTarget!=="container"&&(y=document.querySelector(e.params.mousewheel.eventsTarget)),y[v]("mouseenter",u),y[v]("mouseleave",f),y[v]("wheel",b)}function h(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",b),!0):e.mousewheel.enabled?!1:(p("addEventListener"),e.mousewheel.enabled=!0,!0)}function _(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,b),!0):e.mousewheel.enabled?(p("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}t("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&_(),e.params.mousewheel.enabled&&h()}),t("destroy",()=>{e.params.cssMode&&h(),e.mousewheel.enabled&&_()}),Object.assign(e.mousewheel,{enable:h,disable:_})}function en(i,e,r,t){return i.params.createElements&&Object.keys(t).forEach(n=>{if(!r[n]&&r.auto===!0){let o=Le(i.el,`.${t[n]}`)[0];o||(o=He("div",t[n]),o.className=t[n],i.el.append(o)),r[n]=o,e[n]=o}}),r}function yd(i){let{swiper:e,extendParams:r,on:t,emit:n}=i;r({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function o(g){let b;return g&&typeof g=="string"&&e.isElement&&(b=e.el.querySelector(g),b)?b:(g&&(typeof g=="string"&&(b=[...document.querySelectorAll(g)]),e.params.uniqueNavElements&&typeof g=="string"&&b&&b.length>1&&e.el.querySelectorAll(g).length===1?b=e.el.querySelector(g):b&&b.length===1&&(b=b[0])),g&&!b?g:b)}function s(g,b){let p=e.params.navigation;g=ae(g),g.forEach(h=>{h&&(h.classList[b?"add":"remove"](...p.disabledClass.split(" ")),h.tagName==="BUTTON"&&(h.disabled=b),e.params.watchOverflow&&e.enabled&&h.classList[e.isLocked?"add":"remove"](p.lockClass))})}function a(){let{nextEl:g,prevEl:b}=e.navigation;if(e.params.loop){s(b,!1),s(g,!1);return}s(b,e.isBeginning&&!e.params.rewind),s(g,e.isEnd&&!e.params.rewind)}function l(g){g.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),n("navigationPrev"))}function c(g){g.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),n("navigationNext"))}function d(){let g=e.params.navigation;if(e.params.navigation=en(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(g.nextEl||g.prevEl))return;let b=o(g.nextEl),p=o(g.prevEl);Object.assign(e.navigation,{nextEl:b,prevEl:p}),b=ae(b),p=ae(p);let h=(_,v)=>{_&&_.addEventListener("click",v==="next"?c:l),!e.enabled&&_&&_.classList.add(...g.lockClass.split(" "))};b.forEach(_=>h(_,"next")),p.forEach(_=>h(_,"prev"))}function u(){let{nextEl:g,prevEl:b}=e.navigation;g=ae(g),b=ae(b);let p=(h,_)=>{h.removeEventListener("click",_==="next"?c:l),h.classList.remove(...e.params.navigation.disabledClass.split(" "))};g.forEach(h=>p(h,"next")),b.forEach(h=>p(h,"prev"))}t("init",()=>{e.params.navigation.enabled===!1?m():(d(),a())}),t("toEdge fromEdge lock unlock",()=>{a()}),t("destroy",()=>{u()}),t("enable disable",()=>{let{nextEl:g,prevEl:b}=e.navigation;if(g=ae(g),b=ae(b),e.enabled){a();return}[...g,...b].filter(p=>!!p).forEach(p=>p.classList.add(e.params.navigation.lockClass))}),t("click",(g,b)=>{let{nextEl:p,prevEl:h}=e.navigation;p=ae(p),h=ae(h);let _=b.target;if(e.params.navigation.hideOnClick&&!h.includes(_)&&!p.includes(_)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===_||e.pagination.el.contains(_)))return;let v;p.length?v=p[0].classList.contains(e.params.navigation.hiddenClass):h.length&&(v=h[0].classList.contains(e.params.navigation.hiddenClass)),n(v===!0?"navigationShow":"navigationHide"),[...p,...h].filter(y=>!!y).forEach(y=>y.classList.toggle(e.params.navigation.hiddenClass))}});let f=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),d(),a()},m=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),u()};Object.assign(e.navigation,{enable:f,disable:m,update:a,init:d,destroy:u})}function yt(i){return i===void 0&&(i=""),`.${i.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function wd(i){let{swiper:e,extendParams:r,on:t,emit:n}=i,o="swiper-pagination";r({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:h=>h,formatFractionTotal:h=>h,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,bullets:[]};let s,a=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function c(h,_){let{bulletActiveClass:v}=e.params.pagination;h&&(h=h[`${_==="prev"?"previous":"next"}ElementSibling`],h&&(h.classList.add(`${v}-${_}`),h=h[`${_==="prev"?"previous":"next"}ElementSibling`],h&&h.classList.add(`${v}-${_}-${_}`)))}function d(h){let _=h.target.closest(yt(e.params.pagination.bulletClass));if(!_)return;h.preventDefault();let v=di(_)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===v)return;e.slideToLoop(v)}else e.slideTo(v)}function u(){let h=e.rtl,_=e.params.pagination;if(l())return;let v=e.pagination.el;v=ae(v);let y,M,k=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,B=e.params.loop?Math.ceil(k/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(M=e.previousRealIndex||0,y=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(y=e.snapIndex,M=e.previousSnapIndex):(M=e.previousIndex||0,y=e.activeIndex||0),_.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){let T=e.pagination.bullets,w,S,O;if(_.dynamicBullets&&(s=Wn(T[0],e.isHorizontal()?"width":"height",!0),v.forEach(C=>{C.style[e.isHorizontal()?"width":"height"]=`${s*(_.dynamicMainBullets+4)}px`}),_.dynamicMainBullets>1&&M!==void 0&&(a+=y-(M||0),a>_.dynamicMainBullets-1?a=_.dynamicMainBullets-1:a<0&&(a=0)),w=Math.max(y-a,0),S=w+(Math.min(T.length,_.dynamicMainBullets)-1),O=(S+w)/2),T.forEach(C=>{let x=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(D=>`${_.bulletActiveClass}${D}`)].map(D=>typeof D=="string"&&D.includes(" ")?D.split(" "):D).flat();C.classList.remove(...x)}),v.length>1)T.forEach(C=>{let x=di(C);x===y?C.classList.add(..._.bulletActiveClass.split(" ")):e.isElement&&C.setAttribute("part","bullet"),_.dynamicBullets&&(x>=w&&x<=S&&C.classList.add(...`${_.bulletActiveClass}-main`.split(" ")),x===w&&c(C,"prev"),x===S&&c(C,"next"))});else{let C=T[y];if(C&&C.classList.add(..._.bulletActiveClass.split(" ")),e.isElement&&T.forEach((x,D)=>{x.setAttribute("part",D===y?"bullet-active":"bullet")}),_.dynamicBullets){let x=T[w],D=T[S];for(let z=w;z<=S;z+=1)T[z]&&T[z].classList.add(...`${_.bulletActiveClass}-main`.split(" "));c(x,"prev"),c(D,"next")}}if(_.dynamicBullets){let C=Math.min(T.length,_.dynamicMainBullets+4),x=(s*C-s)/2-O*s,D=h?"right":"left";T.forEach(z=>{z.style[e.isHorizontal()?D:"top"]=`${x}px`})}}v.forEach((T,w)=>{if(_.type==="fraction"&&(T.querySelectorAll(yt(_.currentClass)).forEach(S=>{S.textContent=_.formatFractionCurrent(y+1)}),T.querySelectorAll(yt(_.totalClass)).forEach(S=>{S.textContent=_.formatFractionTotal(B)})),_.type==="progressbar"){let S;_.progressbarOpposite?S=e.isHorizontal()?"vertical":"horizontal":S=e.isHorizontal()?"horizontal":"vertical";let O=(y+1)/B,C=1,x=1;S==="horizontal"?C=O:x=O,T.querySelectorAll(yt(_.progressbarFillClass)).forEach(D=>{D.style.transform=`translate3d(0,0,0) scaleX(${C}) scaleY(${x})`,D.style.transitionDuration=`${e.params.speed}ms`})}_.type==="custom"&&_.renderCustom?(T.innerHTML=_.renderCustom(e,y+1,B),w===0&&n("paginationRender",T)):(w===0&&n("paginationRender",T),n("paginationUpdate",T)),e.params.watchOverflow&&e.enabled&&T.classList[e.isLocked?"add":"remove"](_.lockClass)})}function f(){let h=e.params.pagination;if(l())return;let _=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length,v=e.pagination.el;v=ae(v);let y="";if(h.type==="bullets"){let M=e.params.loop?Math.ceil(_/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&M>_&&(M=_);for(let k=0;k`}h.type==="fraction"&&(h.renderFraction?y=h.renderFraction.call(e,h.currentClass,h.totalClass):y=` / `),h.type==="progressbar"&&(h.renderProgressbar?y=h.renderProgressbar.call(e,h.progressbarFillClass):y=``),e.pagination.bullets=[],v.forEach(M=>{h.type!=="custom"&&(M.innerHTML=y||""),h.type==="bullets"&&e.pagination.bullets.push(...M.querySelectorAll(yt(h.bulletClass)))}),h.type!=="custom"&&n("paginationRender",v[0])}function m(){e.params.pagination=en(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});let h=e.params.pagination;if(!h.el)return;let _;typeof h.el=="string"&&e.isElement&&(_=e.el.querySelector(h.el)),!_&&typeof h.el=="string"&&(_=[...document.querySelectorAll(h.el)]),_||(_=h.el),!(!_||_.length===0)&&(e.params.uniqueNavElements&&typeof h.el=="string"&&Array.isArray(_)&&_.length>1&&(_=[...e.el.querySelectorAll(h.el)],_.length>1&&(_=_.filter(v=>It(v,".swiper")[0]===e.el)[0])),Array.isArray(_)&&_.length===1&&(_=_[0]),Object.assign(e.pagination,{el:_}),_=ae(_),_.forEach(v=>{h.type==="bullets"&&h.clickable&&v.classList.add(...(h.clickableClass||"").split(" ")),v.classList.add(h.modifierClass+h.type),v.classList.add(e.isHorizontal()?h.horizontalClass:h.verticalClass),h.type==="bullets"&&h.dynamicBullets&&(v.classList.add(`${h.modifierClass}${h.type}-dynamic`),a=0,h.dynamicMainBullets<1&&(h.dynamicMainBullets=1)),h.type==="progressbar"&&h.progressbarOpposite&&v.classList.add(h.progressbarOppositeClass),h.clickable&&v.addEventListener("click",d),e.enabled||v.classList.add(h.lockClass)}))}function g(){let h=e.params.pagination;if(l())return;let _=e.pagination.el;_&&(_=ae(_),_.forEach(v=>{v.classList.remove(h.hiddenClass),v.classList.remove(h.modifierClass+h.type),v.classList.remove(e.isHorizontal()?h.horizontalClass:h.verticalClass),h.clickable&&(v.classList.remove(...(h.clickableClass||"").split(" ")),v.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(v=>v.classList.remove(...h.bulletActiveClass.split(" ")))}t("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;let h=e.params.pagination,{el:_}=e.pagination;_=ae(_),_.forEach(v=>{v.classList.remove(h.horizontalClass,h.verticalClass),v.classList.add(e.isHorizontal()?h.horizontalClass:h.verticalClass)})}),t("init",()=>{e.params.pagination.enabled===!1?p():(m(),f(),u())}),t("activeIndexChange",()=>{typeof e.snapIndex>"u"&&u()}),t("snapIndexChange",()=>{u()}),t("snapGridLengthChange",()=>{f(),u()}),t("destroy",()=>{g()}),t("enable disable",()=>{let{el:h}=e.pagination;h&&(h=ae(h),h.forEach(_=>_.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),t("lock unlock",()=>{u()}),t("click",(h,_)=>{let v=_.target,y=ae(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&y&&y.length>0&&!v.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&v===e.navigation.nextEl||e.navigation.prevEl&&v===e.navigation.prevEl))return;let M=y[0].classList.contains(e.params.pagination.hiddenClass);n(M===!0?"paginationShow":"paginationHide"),y.forEach(k=>k.classList.toggle(e.params.pagination.hiddenClass))}});let b=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:h}=e.pagination;h&&(h=ae(h),h.forEach(_=>_.classList.remove(e.params.pagination.paginationDisabledClass))),m(),f(),u()},p=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:h}=e.pagination;h&&(h=ae(h),h.forEach(_=>_.classList.add(e.params.pagination.paginationDisabledClass))),g()};Object.assign(e.pagination,{enable:b,disable:p,render:f,update:u,init:m,destroy:g})}function xd(i){let{swiper:e,extendParams:r,on:t,emit:n}=i,o=Oe(),s=!1,a=null,l=null,c,d,u,f;r({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;let{scrollbar:C,rtlTranslate:x}=e,{dragEl:D,el:z}=C,q=e.params.scrollbar,I=e.params.loop?e.progressLoop:e.progress,A=d,W=(u-d)*I;x?(W=-W,W>0?(A=d-W,W=0):-W+d>u&&(A=u+W)):W<0?(A=d+W,W=0):W+d>u&&(A=u-W),e.isHorizontal()?(D.style.transform=`translate3d(${W}px, 0, 0)`,D.style.width=`${A}px`):(D.style.transform=`translate3d(0px, ${W}px, 0)`,D.style.height=`${A}px`),q.hide&&(clearTimeout(a),z.style.opacity=1,a=setTimeout(()=>{z.style.opacity=0,z.style.transitionDuration="400ms"},1e3))}function g(C){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${C}ms`)}function b(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;let{scrollbar:C}=e,{dragEl:x,el:D}=C;x.style.width="",x.style.height="",u=e.isHorizontal()?D.offsetWidth:D.offsetHeight,f=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?d=u*f:d=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?x.style.width=`${d}px`:x.style.height=`${d}px`,f>=1?D.style.display="none":D.style.display="",e.params.scrollbar.hide&&(D.style.opacity=0),e.params.watchOverflow&&e.enabled&&C.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function p(C){return e.isHorizontal()?C.clientX:C.clientY}function h(C){let{scrollbar:x,rtlTranslate:D}=e,{el:z}=x,q;q=(p(C)-Ii(z)[e.isHorizontal()?"left":"top"]-(c!==null?c:d/2))/(u-d),q=Math.max(Math.min(q,1),0),D&&(q=1-q);let I=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*q;e.updateProgress(I),e.setTranslate(I),e.updateActiveIndex(),e.updateSlidesClasses()}function _(C){let x=e.params.scrollbar,{scrollbar:D,wrapperEl:z}=e,{el:q,dragEl:I}=D;s=!0,c=C.target===I?p(C)-C.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,C.preventDefault(),C.stopPropagation(),z.style.transitionDuration="100ms",I.style.transitionDuration="100ms",h(C),clearTimeout(l),q.style.transitionDuration="0ms",x.hide&&(q.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),n("scrollbarDragStart",C)}function v(C){let{scrollbar:x,wrapperEl:D}=e,{el:z,dragEl:q}=x;s&&(C.preventDefault&&C.cancelable?C.preventDefault():C.returnValue=!1,h(C),D.style.transitionDuration="0ms",z.style.transitionDuration="0ms",q.style.transitionDuration="0ms",n("scrollbarDragMove",C))}function y(C){let x=e.params.scrollbar,{scrollbar:D,wrapperEl:z}=e,{el:q}=D;s&&(s=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",z.style.transitionDuration=""),x.hide&&(clearTimeout(l),l=Dt(()=>{q.style.opacity=0,q.style.transitionDuration="400ms"},1e3)),n("scrollbarDragEnd",C),x.snapOnRelease&&e.slideToClosest())}function M(C){let{scrollbar:x,params:D}=e,z=x.el;if(!z)return;let q=z,I=D.passiveListeners?{passive:!1,capture:!1}:!1,A=D.passiveListeners?{passive:!0,capture:!1}:!1;if(!q)return;let W=C==="on"?"addEventListener":"removeEventListener";q[W]("pointerdown",_,I),o[W]("pointermove",v,I),o[W]("pointerup",y,A)}function k(){!e.params.scrollbar.el||!e.scrollbar.el||M("on")}function B(){!e.params.scrollbar.el||!e.scrollbar.el||M("off")}function T(){let{scrollbar:C,el:x}=e;e.params.scrollbar=en(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});let D=e.params.scrollbar;if(!D.el)return;let z;if(typeof D.el=="string"&&e.isElement&&(z=e.el.querySelector(D.el)),!z&&typeof D.el=="string"){if(z=o.querySelectorAll(D.el),!z.length)return}else z||(z=D.el);e.params.uniqueNavElements&&typeof D.el=="string"&&z.length>1&&x.querySelectorAll(D.el).length===1&&(z=x.querySelector(D.el)),z.length>0&&(z=z[0]),z.classList.add(e.isHorizontal()?D.horizontalClass:D.verticalClass);let q;z&&(q=z.querySelector(yt(e.params.scrollbar.dragClass)),q||(q=He("div",e.params.scrollbar.dragClass),z.append(q))),Object.assign(C,{el:z,dragEl:q}),D.draggable&&k(),z&&z.classList[e.enabled?"remove":"add"](...Yt(e.params.scrollbar.lockClass))}function w(){let C=e.params.scrollbar,x=e.scrollbar.el;x&&x.classList.remove(...Yt(e.isHorizontal()?C.horizontalClass:C.verticalClass)),B()}t("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;let C=e.params.scrollbar,{el:x}=e.scrollbar;x=ae(x),x.forEach(D=>{D.classList.remove(C.horizontalClass,C.verticalClass),D.classList.add(e.isHorizontal()?C.horizontalClass:C.verticalClass)})}),t("init",()=>{e.params.scrollbar.enabled===!1?O():(T(),b(),m())}),t("update resize observerUpdate lock unlock changeDirection",()=>{b()}),t("setTranslate",()=>{m()}),t("setTransition",(C,x)=>{g(x)}),t("enable disable",()=>{let{el:C}=e.scrollbar;C&&C.classList[e.enabled?"remove":"add"](...Yt(e.params.scrollbar.lockClass))}),t("destroy",()=>{w()});let S=()=>{e.el.classList.remove(...Yt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Yt(e.params.scrollbar.scrollbarDisabledClass)),T(),b(),m()},O=()=>{e.el.classList.add(...Yt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Yt(e.params.scrollbar.scrollbarDisabledClass)),w()};Object.assign(e.scrollbar,{enable:S,disable:O,updateSize:b,setTranslate:m,init:T,destroy:w})}function Cd(i){let{swiper:e,extendParams:r,on:t}=i;r({parallax:{enabled:!1}});let n="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",o=(l,c)=>{let{rtl:d}=e,u=d?-1:1,f=l.getAttribute("data-swiper-parallax")||"0",m=l.getAttribute("data-swiper-parallax-x"),g=l.getAttribute("data-swiper-parallax-y"),b=l.getAttribute("data-swiper-parallax-scale"),p=l.getAttribute("data-swiper-parallax-opacity"),h=l.getAttribute("data-swiper-parallax-rotate");if(m||g?(m=m||"0",g=g||"0"):e.isHorizontal()?(m=f,g="0"):(g=f,m="0"),m.indexOf("%")>=0?m=`${parseInt(m,10)*c*u}%`:m=`${m*c*u}px`,g.indexOf("%")>=0?g=`${parseInt(g,10)*c}%`:g=`${g*c}px`,typeof p<"u"&&p!==null){let v=p-(p-1)*(1-Math.abs(c));l.style.opacity=v}let _=`translate3d(${m}, ${g}, 0px)`;if(typeof b<"u"&&b!==null){let v=b-(b-1)*(1-Math.abs(c));_+=` scale(${v})`}if(h&&typeof h<"u"&&h!==null){let v=h*c*-1;_+=` rotate(${v}deg)`}l.style.transform=_},s=()=>{let{el:l,slides:c,progress:d,snapGrid:u,isElement:f}=e,m=Le(l,n);e.isElement&&m.push(...Le(e.hostEl,n)),m.forEach(g=>{o(g,d)}),c.forEach((g,b)=>{let p=g.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(p+=Math.ceil(b/2)-d*(u.length-1)),p=Math.min(Math.max(p,-1),1),g.querySelectorAll(`${n}, [data-swiper-parallax-rotate]`).forEach(h=>{o(h,p)})})},a=function(l){l===void 0&&(l=e.params.speed);let{el:c,hostEl:d}=e,u=[...c.querySelectorAll(n)];e.isElement&&u.push(...d.querySelectorAll(n)),u.forEach(f=>{let m=parseInt(f.getAttribute("data-swiper-parallax-duration"),10)||l;l===0&&(m=0),f.style.transitionDuration=`${m}ms`})};t("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),t("init",()=>{e.params.parallax.enabled&&s()}),t("setTranslate",()=>{e.params.parallax.enabled&&s()}),t("setTransition",(l,c)=>{e.params.parallax.enabled&&a(c)})}function Ed(i){let{swiper:e,extendParams:r,on:t,emit:n}=i,o=Ie();r({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let s=1,a=!1,l,c,d=[],u={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},f={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},m={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},g=1;Object.defineProperty(e.zoom,"scale",{get(){return g},set(P){if(g!==P){let H=u.imageEl,G=u.slideEl;n("zoomChange",P,H,G)}g=P}});function b(){if(d.length<2)return 1;let P=d[0].pageX,H=d[0].pageY,G=d[1].pageX,Ae=d[1].pageY;return Math.sqrt((G-P)**2+(Ae-H)**2)}function p(){let P=e.params.zoom,H=u.imageWrapEl.getAttribute("data-swiper-zoom")||P.maxRatio;if(P.limitToOriginalSize&&u.imageEl&&u.imageEl.naturalWidth){let G=u.imageEl.naturalWidth/u.imageEl.offsetWidth;return Math.min(G,H)}return H}function h(){if(d.length<2)return{x:null,y:null};let P=u.imageEl.getBoundingClientRect();return[(d[0].pageX+(d[1].pageX-d[0].pageX)/2-P.x-o.scrollX)/s,(d[0].pageY+(d[1].pageY-d[0].pageY)/2-P.y-o.scrollY)/s]}function _(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function v(P){let H=_();return!!(P.target.matches(H)||e.slides.filter(G=>G.contains(P.target)).length>0)}function y(P){let H=`.${e.params.zoom.containerClass}`;return!!(P.target.matches(H)||[...e.hostEl.querySelectorAll(H)].filter(G=>G.contains(P.target)).length>0)}function M(P){if(P.pointerType==="mouse"&&d.splice(0,d.length),!v(P))return;let H=e.params.zoom;if(l=!1,c=!1,d.push(P),!(d.length<2)){if(l=!0,u.scaleStart=b(),!u.slideEl){u.slideEl=P.target.closest(`.${e.params.slideClass}, swiper-slide`),u.slideEl||(u.slideEl=e.slides[e.activeIndex]);let G=u.slideEl.querySelector(`.${H.containerClass}`);if(G&&(G=G.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=G,G?u.imageWrapEl=It(u.imageEl,`.${H.containerClass}`)[0]:u.imageWrapEl=void 0,!u.imageWrapEl){u.imageEl=void 0;return}u.maxRatio=p()}if(u.imageEl){let[G,Ae]=h();u.originX=G,u.originY=Ae,u.imageEl.style.transitionDuration="0ms"}a=!0}}function k(P){if(!v(P))return;let H=e.params.zoom,G=e.zoom,Ae=d.findIndex(K=>K.pointerId===P.pointerId);Ae>=0&&(d[Ae]=P),!(d.length<2)&&(c=!0,u.scaleMove=b(),u.imageEl&&(G.scale=u.scaleMove/u.scaleStart*s,G.scale>u.maxRatio&&(G.scale=u.maxRatio-1+(G.scale-u.maxRatio+1)**.5),G.scaleK.pointerId===P.pointerId);Ae>=0&&d.splice(Ae,1),!(!l||!c)&&(l=!1,c=!1,u.imageEl&&(G.scale=Math.max(Math.min(G.scale,u.maxRatio),H.minRatio),u.imageEl.style.transitionDuration=`${e.params.speed}ms`,u.imageEl.style.transform=`translate3d(0,0,0) scale(${G.scale})`,s=G.scale,a=!1,G.scale>1&&u.slideEl?u.slideEl.classList.add(`${H.zoomedSlideClass}`):G.scale<=1&&u.slideEl&&u.slideEl.classList.remove(`${H.zoomedSlideClass}`),G.scale===1&&(u.originX=0,u.originY=0,u.slideEl=void 0)))}let T;function w(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function S(){clearTimeout(T),e.touchEventsData.preventTouchMoveFromPointerMove=!0,T=setTimeout(()=>{w()})}function O(P){let H=e.device;if(!u.imageEl||f.isTouched)return;H.android&&P.cancelable&&P.preventDefault(),f.isTouched=!0;let G=d.length>0?d[0]:P;f.touchesStart.x=G.pageX,f.touchesStart.y=G.pageY}function C(P){if(!v(P)||!y(P))return;let H=e.zoom;if(!u.imageEl||!f.isTouched||!u.slideEl)return;f.isMoved||(f.width=u.imageEl.offsetWidth||u.imageEl.clientWidth,f.height=u.imageEl.offsetHeight||u.imageEl.clientHeight,f.startX=Un(u.imageWrapEl,"x")||0,f.startY=Un(u.imageWrapEl,"y")||0,u.slideWidth=u.slideEl.offsetWidth,u.slideHeight=u.slideEl.offsetHeight,u.imageWrapEl.style.transitionDuration="0ms");let G=f.width*H.scale,Ae=f.height*H.scale;if(G0?d[0].pageX:P.pageX,f.touchesCurrent.y=d.length>0?d[0].pageY:P.pageY,Math.max(Math.abs(f.touchesCurrent.x-f.touchesStart.x),Math.abs(f.touchesCurrent.y-f.touchesStart.y))>5&&(e.allowClick=!1),!f.isMoved&&!a){if(e.isHorizontal()&&(Math.floor(f.minX)===Math.floor(f.startX)&&f.touchesCurrent.xf.touchesStart.x)){f.isTouched=!1,w();return}if(!e.isHorizontal()&&(Math.floor(f.minY)===Math.floor(f.startY)&&f.touchesCurrent.yf.touchesStart.y)){f.isTouched=!1,w();return}}P.cancelable&&P.preventDefault(),P.stopPropagation(),S(),f.isMoved=!0;let xe=(H.scale-s)/(u.maxRatio-e.params.zoom.minRatio),{originX:tt,originY:$i}=u;f.currentX=f.touchesCurrent.x-f.touchesStart.x+f.startX+xe*(f.width-tt*2),f.currentY=f.touchesCurrent.y-f.touchesStart.y+f.startY+xe*(f.height-$i*2),f.currentXf.maxX&&(f.currentX=f.maxX-1+(f.currentX-f.maxX+1)**.8),f.currentYf.maxY&&(f.currentY=f.maxY-1+(f.currentY-f.maxY+1)**.8),m.prevPositionX||(m.prevPositionX=f.touchesCurrent.x),m.prevPositionY||(m.prevPositionY=f.touchesCurrent.y),m.prevTime||(m.prevTime=Date.now()),m.x=(f.touchesCurrent.x-m.prevPositionX)/(Date.now()-m.prevTime)/2,m.y=(f.touchesCurrent.y-m.prevPositionY)/(Date.now()-m.prevTime)/2,Math.abs(f.touchesCurrent.x-m.prevPositionX)<2&&(m.x=0),Math.abs(f.touchesCurrent.y-m.prevPositionY)<2&&(m.y=0),m.prevPositionX=f.touchesCurrent.x,m.prevPositionY=f.touchesCurrent.y,m.prevTime=Date.now(),u.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function x(){let P=e.zoom;if(!u.imageEl)return;if(!f.isTouched||!f.isMoved){f.isTouched=!1,f.isMoved=!1;return}f.isTouched=!1,f.isMoved=!1;let H=300,G=300,Ae=m.x*H,K=f.currentX+Ae,xe=m.y*G,tt=f.currentY+xe;m.x!==0&&(H=Math.abs((K-f.currentX)/m.x)),m.y!==0&&(G=Math.abs((tt-f.currentY)/m.y));let $i=Math.max(H,G);f.currentX=K,f.currentY=tt;let xr=f.width*P.scale,zt=f.height*P.scale;f.minX=Math.min(u.slideWidth/2-xr/2,0),f.maxX=-f.minX,f.minY=Math.min(u.slideHeight/2-zt/2,0),f.maxY=-f.minY,f.currentX=Math.max(Math.min(f.currentX,f.maxX),f.minX),f.currentY=Math.max(Math.min(f.currentY,f.maxY),f.minY),u.imageWrapEl.style.transitionDuration=`${$i}ms`,u.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function D(){let P=e.zoom;u.slideEl&&e.activeIndex!==e.slides.indexOf(u.slideEl)&&(u.imageEl&&(u.imageEl.style.transform="translate3d(0,0,0) scale(1)"),u.imageWrapEl&&(u.imageWrapEl.style.transform="translate3d(0,0,0)"),u.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),P.scale=1,s=1,u.slideEl=void 0,u.imageEl=void 0,u.imageWrapEl=void 0,u.originX=0,u.originY=0)}function z(P){let H=e.zoom,G=e.params.zoom;if(!u.slideEl){P&&P.target&&(u.slideEl=P.target.closest(`.${e.params.slideClass}, swiper-slide`)),u.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?u.slideEl=Le(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:u.slideEl=e.slides[e.activeIndex]);let xn=u.slideEl.querySelector(`.${G.containerClass}`);xn&&(xn=xn.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=xn,xn?u.imageWrapEl=It(u.imageEl,`.${G.containerClass}`)[0]:u.imageWrapEl=void 0}if(!u.imageEl||!u.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),u.slideEl.classList.add(`${G.zoomedSlideClass}`);let Ae,K,xe,tt,$i,xr,zt,_i,ql,Xl,Zl,Kl,Cr,Er,os,ss,as,ls;typeof f.touchesStart.x>"u"&&P?(Ae=P.pageX,K=P.pageY):(Ae=f.touchesStart.x,K=f.touchesStart.y);let wn=typeof P=="number"?P:null;s===1&&wn&&(Ae=void 0,K=void 0);let Ql=p();H.scale=wn||Ql,s=wn||Ql,P&&!(s===1&&wn)?(as=u.slideEl.offsetWidth,ls=u.slideEl.offsetHeight,xe=Ii(u.slideEl).left+o.scrollX,tt=Ii(u.slideEl).top+o.scrollY,$i=xe+as/2-Ae,xr=tt+ls/2-K,ql=u.imageEl.offsetWidth||u.imageEl.clientWidth,Xl=u.imageEl.offsetHeight||u.imageEl.clientHeight,Zl=ql*H.scale,Kl=Xl*H.scale,Cr=Math.min(as/2-Zl/2,0),Er=Math.min(ls/2-Kl/2,0),os=-Cr,ss=-Er,zt=$i*H.scale,_i=xr*H.scale,ztos&&(zt=os),_iss&&(_i=ss)):(zt=0,_i=0),wn&&H.scale===1&&(u.originX=0,u.originY=0),u.imageWrapEl.style.transitionDuration="300ms",u.imageWrapEl.style.transform=`translate3d(${zt}px, ${_i}px,0)`,u.imageEl.style.transitionDuration="300ms",u.imageEl.style.transform=`translate3d(0,0,0) scale(${H.scale})`}function q(){let P=e.zoom,H=e.params.zoom;if(!u.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?u.slideEl=Le(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:u.slideEl=e.slides[e.activeIndex];let G=u.slideEl.querySelector(`.${H.containerClass}`);G&&(G=G.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),u.imageEl=G,G?u.imageWrapEl=It(u.imageEl,`.${H.containerClass}`)[0]:u.imageWrapEl=void 0}!u.imageEl||!u.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),P.scale=1,s=1,u.imageWrapEl.style.transitionDuration="300ms",u.imageWrapEl.style.transform="translate3d(0,0,0)",u.imageEl.style.transitionDuration="300ms",u.imageEl.style.transform="translate3d(0,0,0) scale(1)",u.slideEl.classList.remove(`${H.zoomedSlideClass}`),u.slideEl=void 0,u.originX=0,u.originY=0)}function I(P){let H=e.zoom;H.scale&&H.scale!==1?q():z(P)}function A(){let P=e.params.passiveListeners?{passive:!0,capture:!1}:!1,H=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:P,activeListenerWithCapture:H}}function W(){let P=e.zoom;if(P.enabled)return;P.enabled=!0;let{passiveListener:H,activeListenerWithCapture:G}=A();e.wrapperEl.addEventListener("pointerdown",M,H),e.wrapperEl.addEventListener("pointermove",k,G),["pointerup","pointercancel","pointerout"].forEach(Ae=>{e.wrapperEl.addEventListener(Ae,B,H)}),e.wrapperEl.addEventListener("pointermove",C,G)}function se(){let P=e.zoom;if(!P.enabled)return;P.enabled=!1;let{passiveListener:H,activeListenerWithCapture:G}=A();e.wrapperEl.removeEventListener("pointerdown",M,H),e.wrapperEl.removeEventListener("pointermove",k,G),["pointerup","pointercancel","pointerout"].forEach(Ae=>{e.wrapperEl.removeEventListener(Ae,B,H)}),e.wrapperEl.removeEventListener("pointermove",C,G)}t("init",()=>{e.params.zoom.enabled&&W()}),t("destroy",()=>{se()}),t("touchStart",(P,H)=>{e.zoom.enabled&&O(H)}),t("touchEnd",(P,H)=>{e.zoom.enabled&&x()}),t("doubleTap",(P,H)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&I(H)}),t("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&D()}),t("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&D()}),Object.assign(e.zoom,{enable:W,disable:se,in:z,out:q,toggle:I})}function Sd(i){let{swiper:e,extendParams:r,on:t}=i;r({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function n(c,d){let u=function(){let b,p,h;return(_,v)=>{for(p=-1,b=_.length;b-p>1;)h=b+p>>1,_[h]<=v?p=h:b=h;return b}}();this.x=c,this.y=d,this.lastIndex=c.length-1;let f,m;return this.interpolate=function(b){return b?(m=u(this.x,b),f=m-1,(b-this.x[f])*(this.y[m]-this.y[f])/(this.x[m]-this.x[f])+this.y[f]):0},this}function o(c){e.controller.spline=e.params.loop?new n(e.slidesGrid,c.slidesGrid):new n(e.snapGrid,c.snapGrid)}function s(c,d){let u=e.controller.control,f,m,g=e.constructor;function b(p){if(p.destroyed)return;let h=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(o(p),m=-e.controller.spline.interpolate(-h)),(!m||e.params.controller.by==="container")&&(f=(p.maxTranslate()-p.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(f)||!Number.isFinite(f))&&(f=1),m=(h-e.minTranslate())*f+p.minTranslate()),e.params.controller.inverse&&(m=p.maxTranslate()-m),p.updateProgress(m),p.setTranslate(m,e),p.updateActiveIndex(),p.updateSlidesClasses()}if(Array.isArray(u))for(let p=0;p{b.updateAutoHeight()}),ui(b.wrapperEl,()=>{f&&b.transitionEnd()})))}if(Array.isArray(f))for(m=0;m{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){let c=document.querySelector(e.params.controller.control);if(c&&c.swiper)e.controller.control=c.swiper;else if(c){let d=u=>{e.controller.control=u.detail[0],e.update(),c.removeEventListener("init",d)};c.addEventListener("init",d)}return}e.controller.control=e.params.controller.control}),t("update",()=>{l()}),t("resize",()=>{l()}),t("observerUpdate",()=>{l()}),t("setTranslate",(c,d,u)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(d,u)}),t("setTransition",(c,d,u)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(d,u)}),Object.assign(e.controller,{setTranslate:s,setTransition:a})}function Td(i){let{swiper:e,extendParams:r,on:t}=i;r({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),e.a11y={clicked:!1};let n=null,o,s,a=new Date().getTime();function l(I){let A=n;A.length!==0&&(A.innerHTML="",A.innerHTML=I)}function c(I){I===void 0&&(I=16);let A=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(I).replace(/x/g,A)}function d(I){I=ae(I),I.forEach(A=>{A.setAttribute("tabIndex","0")})}function u(I){I=ae(I),I.forEach(A=>{A.setAttribute("tabIndex","-1")})}function f(I,A){I=ae(I),I.forEach(W=>{W.setAttribute("role",A)})}function m(I,A){I=ae(I),I.forEach(W=>{W.setAttribute("aria-roledescription",A)})}function g(I,A){I=ae(I),I.forEach(W=>{W.setAttribute("aria-controls",A)})}function b(I,A){I=ae(I),I.forEach(W=>{W.setAttribute("aria-label",A)})}function p(I,A){I=ae(I),I.forEach(W=>{W.setAttribute("id",A)})}function h(I,A){I=ae(I),I.forEach(W=>{W.setAttribute("aria-live",A)})}function _(I){I=ae(I),I.forEach(A=>{A.setAttribute("aria-disabled",!0)})}function v(I){I=ae(I),I.forEach(A=>{A.setAttribute("aria-disabled",!1)})}function y(I){if(I.keyCode!==13&&I.keyCode!==32)return;let A=e.params.a11y,W=I.target;if(!(e.pagination&&e.pagination.el&&(W===e.pagination.el||e.pagination.el.contains(I.target))&&!I.target.matches(yt(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){let se=ae(e.navigation.prevEl);ae(e.navigation.nextEl).includes(W)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?l(A.lastSlideMessage):l(A.nextSlideMessage)),se.includes(W)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?l(A.firstSlideMessage):l(A.prevSlideMessage))}e.pagination&&W.matches(yt(e.params.pagination.bulletClass))&&W.click()}}function M(){if(e.params.loop||e.params.rewind||!e.navigation)return;let{nextEl:I,prevEl:A}=e.navigation;A&&(e.isBeginning?(_(A),u(A)):(v(A),d(A))),I&&(e.isEnd?(_(I),u(I)):(v(I),d(I)))}function k(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function B(){return k()&&e.params.pagination.clickable}function T(){let I=e.params.a11y;k()&&e.pagination.bullets.forEach(A=>{e.params.pagination.clickable&&(d(A),e.params.pagination.renderBullet||(f(A,"button"),b(A,I.paginationBulletMessage.replace(/\{\{index\}\}/,di(A)+1)))),A.matches(yt(e.params.pagination.bulletActiveClass))?A.setAttribute("aria-current","true"):A.removeAttribute("aria-current")})}let w=(I,A,W)=>{d(I),I.tagName!=="BUTTON"&&(f(I,"button"),I.addEventListener("keydown",y)),b(I,W),g(I,A)},S=I=>{s&&s!==I.target&&!s.contains(I.target)&&(o=!0),e.a11y.clicked=!0},O=()=>{o=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},C=I=>{a=new Date().getTime()},x=I=>{if(e.a11y.clicked||new Date().getTime()-a<100)return;let A=I.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!A||!e.slides.includes(A))return;s=A;let W=e.slides.indexOf(A)===e.activeIndex,se=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(A);W||se||I.sourceCapabilities&&I.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{o||(e.slideTo(e.slides.indexOf(A),0),o=!1)}))},D=()=>{let I=e.params.a11y;I.itemRoleDescriptionMessage&&m(e.slides,I.itemRoleDescriptionMessage),I.slideRole&&f(e.slides,I.slideRole);let A=e.slides.length;I.slideLabelMessage&&e.slides.forEach((W,se)=>{let P=e.params.loop?parseInt(W.getAttribute("data-swiper-slide-index"),10):se,H=I.slideLabelMessage.replace(/\{\{index\}\}/,P+1).replace(/\{\{slidesLength\}\}/,A);b(W,H)})},z=()=>{let I=e.params.a11y;e.el.append(n);let A=e.el;I.containerRoleDescriptionMessage&&m(A,I.containerRoleDescriptionMessage),I.containerMessage&&b(A,I.containerMessage);let W=e.wrapperEl,se=I.id||W.getAttribute("id")||`swiper-wrapper-${c(16)}`,P=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";p(W,se),h(W,P),D();let{nextEl:H,prevEl:G}=e.navigation?e.navigation:{};H=ae(H),G=ae(G),H&&H.forEach(K=>w(K,se,I.nextSlideMessage)),G&&G.forEach(K=>w(K,se,I.prevSlideMessage)),B()&&ae(e.pagination.el).forEach(xe=>{xe.addEventListener("keydown",y)}),Oe().addEventListener("visibilitychange",C),e.el.addEventListener("focus",x,!0),e.el.addEventListener("focus",x,!0),e.el.addEventListener("pointerdown",S,!0),e.el.addEventListener("pointerup",O,!0)};function q(){n&&n.remove();let{nextEl:I,prevEl:A}=e.navigation?e.navigation:{};I=ae(I),A=ae(A),I&&I.forEach(se=>se.removeEventListener("keydown",y)),A&&A.forEach(se=>se.removeEventListener("keydown",y)),B()&&ae(e.pagination.el).forEach(P=>{P.removeEventListener("keydown",y)}),Oe().removeEventListener("visibilitychange",C),e.el.removeEventListener("focus",x,!0),e.el.removeEventListener("pointerdown",S,!0),e.el.removeEventListener("pointerup",O,!0)}t("beforeInit",()=>{n=He("span",e.params.a11y.notificationClass),n.setAttribute("aria-live","assertive"),n.setAttribute("aria-atomic","true")}),t("afterInit",()=>{e.params.a11y.enabled&&z()}),t("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&D()}),t("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&M()}),t("paginationUpdate",()=>{e.params.a11y.enabled&&T()}),t("destroy",()=>{e.params.a11y.enabled&&q()})}function Dd(i){let{swiper:e,extendParams:r,on:t}=i;r({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let n=!1,o={},s=m=>m.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),a=m=>{let g=Ie(),b;m?b=new URL(m):b=g.location;let p=b.pathname.slice(1).split("/").filter(y=>y!==""),h=p.length,_=p[h-2],v=p[h-1];return{key:_,value:v}},l=(m,g)=>{let b=Ie();if(!n||!e.params.history.enabled)return;let p;e.params.url?p=new URL(e.params.url):p=b.location;let h=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${g}"]`):e.slides[g],_=s(h.getAttribute("data-history"));if(e.params.history.root.length>0){let y=e.params.history.root;y[y.length-1]==="/"&&(y=y.slice(0,y.length-1)),_=`${y}/${m?`${m}/`:""}${_}`}else p.pathname.includes(m)||(_=`${m?`${m}/`:""}${_}`);e.params.history.keepQuery&&(_+=p.search);let v=b.history.state;v&&v.value===_||(e.params.history.replaceState?b.history.replaceState({value:_},null,_):b.history.pushState({value:_},null,_))},c=(m,g,b)=>{if(g)for(let p=0,h=e.slides.length;p{o=a(e.params.url),c(e.params.speed,o.value,!1)},u=()=>{let m=Ie();if(e.params.history){if(!m.history||!m.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(n=!0,o=a(e.params.url),!o.key&&!o.value){e.params.history.replaceState||m.addEventListener("popstate",d);return}c(0,o.value,e.params.runCallbacksOnInit),e.params.history.replaceState||m.addEventListener("popstate",d)}},f=()=>{let m=Ie();e.params.history.replaceState||m.removeEventListener("popstate",d)};t("init",()=>{e.params.history.enabled&&u()}),t("destroy",()=>{e.params.history.enabled&&f()}),t("transitionEnd _freeModeNoMomentumRelease",()=>{n&&l(e.params.history.key,e.activeIndex)}),t("slideChange",()=>{n&&e.params.cssMode&&l(e.params.history.key,e.activeIndex)})}function Id(i){let{swiper:e,extendParams:r,emit:t,on:n}=i,o=!1,s=Oe(),a=Ie();r({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(f,m){if(e.virtual&&e.params.virtual.enabled){let g=e.slides.filter(p=>p.getAttribute("data-hash")===m)[0];return g?parseInt(g.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(Le(e.slidesEl,`.${e.params.slideClass}[data-hash="${m}"], swiper-slide[data-hash="${m}"]`)[0])}}});let l=()=>{t("hashChange");let f=s.location.hash.replace("#",""),m=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],g=m?m.getAttribute("data-hash"):"";if(f!==g){let b=e.params.hashNavigation.getSlideIndex(e,f);if(typeof b>"u"||Number.isNaN(b))return;e.slideTo(b)}},c=()=>{if(!o||!e.params.hashNavigation.enabled)return;let f=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],m=f?f.getAttribute("data-hash")||f.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&a.history&&a.history.replaceState?(a.history.replaceState(null,null,`#${m}`||""),t("hashSet")):(s.location.hash=m||"",t("hashSet"))},d=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;o=!0;let f=s.location.hash.replace("#","");if(f){let g=e.params.hashNavigation.getSlideIndex(e,f);e.slideTo(g||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&a.addEventListener("hashchange",l)},u=()=>{e.params.hashNavigation.watchState&&a.removeEventListener("hashchange",l)};n("init",()=>{e.params.hashNavigation.enabled&&d()}),n("destroy",()=>{e.params.hashNavigation.enabled&&u()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{o&&c()}),n("slideChange",()=>{o&&e.params.cssMode&&c()})}function Md(i){let{swiper:e,extendParams:r,on:t,emit:n,params:o}=i;e.autoplay={running:!1,paused:!1,timeLeft:0},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let s,a,l=o&&o.autoplay?o.autoplay.delay:3e3,c=o&&o.autoplay?o.autoplay.delay:3e3,d,u=new Date().getTime(),f,m,g,b,p,h,_;function v(A){!e||e.destroyed||!e.wrapperEl||A.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",v),!_&&S())}let y=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?f=!0:f&&(c=d,f=!1);let A=e.autoplay.paused?d:u+c-new Date().getTime();e.autoplay.timeLeft=A,n("autoplayTimeLeft",A,A/l),a=requestAnimationFrame(()=>{y()})},M=()=>{let A;return e.virtual&&e.params.virtual.enabled?A=e.slides.filter(se=>se.classList.contains("swiper-slide-active"))[0]:A=e.slides[e.activeIndex],A?parseInt(A.getAttribute("data-swiper-autoplay"),10):void 0},k=A=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(a),y();let W=typeof A>"u"?e.params.autoplay.delay:A;l=e.params.autoplay.delay,c=e.params.autoplay.delay;let se=M();!Number.isNaN(se)&&se>0&&typeof A>"u"&&(W=se,l=se,c=se),d=W;let P=e.params.speed,H=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(P,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,P,!0,!0),n("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(P,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,P,!0,!0),n("autoplay")),e.params.cssMode&&(u=new Date().getTime(),requestAnimationFrame(()=>{k()})))};return W>0?(clearTimeout(s),s=setTimeout(()=>{H()},W)):requestAnimationFrame(()=>{H()}),W},B=()=>{u=new Date().getTime(),e.autoplay.running=!0,k(),n("autoplayStart")},T=()=>{e.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(a),n("autoplayStop")},w=(A,W)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(s),A||(h=!0);let se=()=>{n("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",v):S()};if(e.autoplay.paused=!0,W){p&&(d=e.params.autoplay.delay),p=!1,se();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-u),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),se())},S=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(u=new Date().getTime(),h?(h=!1,k(d)):k(),e.autoplay.paused=!1,n("autoplayResume"))},O=()=>{if(e.destroyed||!e.autoplay.running)return;let A=Oe();A.visibilityState==="hidden"&&(h=!0,w(!0)),A.visibilityState==="visible"&&S()},C=A=>{A.pointerType==="mouse"&&(h=!0,_=!0,!(e.animating||e.autoplay.paused)&&w(!0))},x=A=>{A.pointerType==="mouse"&&(_=!1,e.autoplay.paused&&S())},D=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",C),e.el.addEventListener("pointerleave",x))},z=()=>{e.el.removeEventListener("pointerenter",C),e.el.removeEventListener("pointerleave",x)},q=()=>{Oe().addEventListener("visibilitychange",O)},I=()=>{Oe().removeEventListener("visibilitychange",O)};t("init",()=>{e.params.autoplay.enabled&&(D(),q(),B())}),t("destroy",()=>{z(),I(),e.autoplay.running&&T()}),t("_freeModeStaticRelease",()=>{(g||h)&&S()}),t("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?T():w(!0,!0)}),t("beforeTransitionStart",(A,W,se)=>{e.destroyed||!e.autoplay.running||(se||!e.params.autoplay.disableOnInteraction?w(!0,!0):T())}),t("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){T();return}m=!0,g=!1,h=!1,b=setTimeout(()=>{h=!0,g=!0,w(!0)},200)}}),t("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!m)){if(clearTimeout(b),clearTimeout(s),e.params.autoplay.disableOnInteraction){g=!1,m=!1;return}g&&e.params.cssMode&&S(),g=!1,m=!1}}),t("slideChange",()=>{e.destroyed||!e.autoplay.running||(p=!0)}),Object.assign(e.autoplay,{start:B,stop:T,pause:w,resume:S})}function kd(i){let{swiper:e,extendParams:r,on:t}=i;r({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let n=!1,o=!1;e.thumbs={swiper:null};function s(){let c=e.thumbs.swiper;if(!c||c.destroyed)return;let d=c.clickedIndex,u=c.clickedSlide;if(u&&u.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof d>"u"||d===null)return;let f;c.params.loop?f=parseInt(c.clickedSlide.getAttribute("data-swiper-slide-index"),10):f=d,e.params.loop?e.slideToLoop(f):e.slideTo(f)}function a(){let{thumbs:c}=e.params;if(n)return!1;n=!0;let d=e.constructor;if(c.swiper instanceof d)e.thumbs.swiper=c.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update();else if(Ji(c.swiper)){let u=Object.assign({},c.swiper);Object.assign(u,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new d(u),o=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",s),!0}function l(c){let d=e.thumbs.swiper;if(!d||d.destroyed)return;let u=d.params.slidesPerView==="auto"?d.slidesPerViewDynamic():d.params.slidesPerView,f=1,m=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(f=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(f=1),f=Math.floor(f),d.slides.forEach(p=>p.classList.remove(m)),d.params.loop||d.params.virtual&&d.params.virtual.enabled)for(let p=0;p{h.classList.add(m)});else for(let p=0;py.getAttribute("data-swiper-slide-index")===`${e.realIndex}`)[0];h=d.slides.indexOf(v),_=e.activeIndex>e.previousIndex?"next":"prev"}else h=e.realIndex,_=h>e.previousIndex?"next":"prev";b&&(h+=_==="next"?g:-1*g),d.visibleSlidesIndexes&&d.visibleSlidesIndexes.indexOf(h)<0&&(d.params.centeredSlides?h>p?h=h-Math.floor(u/2)+1:h=h+Math.floor(u/2)-1:h>p&&d.params.slidesPerGroup,d.slideTo(h,c?0:void 0))}}t("beforeInit",()=>{let{thumbs:c}=e.params;if(!(!c||!c.swiper))if(typeof c.swiper=="string"||c.swiper instanceof HTMLElement){let d=Oe(),u=()=>{let m=typeof c.swiper=="string"?d.querySelector(c.swiper):c.swiper;if(m&&m.swiper)c.swiper=m.swiper,a(),l(!0);else if(m){let g=b=>{c.swiper=b.detail[0],m.removeEventListener("init",g),a(),l(!0),c.swiper.update(),e.update()};m.addEventListener("init",g)}return m},f=()=>{if(e.destroyed)return;u()||requestAnimationFrame(f)};requestAnimationFrame(f)}else a(),l(!0)}),t("slideChange update resize observerUpdate",()=>{l()}),t("setTransition",(c,d)=>{let u=e.thumbs.swiper;!u||u.destroyed||u.setTransition(d)}),t("beforeDestroy",()=>{let c=e.thumbs.swiper;!c||c.destroyed||o&&c.destroy()}),Object.assign(e.thumbs,{init:a,update:l})}function Ad(i){let{swiper:e,extendParams:r,emit:t,once:n}=i;r({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function o(){if(e.params.cssMode)return;let l=e.getTranslate();e.setTranslate(l),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function s(){if(e.params.cssMode)return;let{touchEventsData:l,touches:c}=e;l.velocities.length===0&&l.velocities.push({position:c[e.isHorizontal()?"startX":"startY"],time:l.touchStartTime}),l.velocities.push({position:c[e.isHorizontal()?"currentX":"currentY"],time:rt()})}function a(l){let{currentPos:c}=l;if(e.params.cssMode)return;let{params:d,wrapperEl:u,rtlTranslate:f,snapGrid:m,touchEventsData:g}=e,p=rt()-g.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length1){let T=g.velocities.pop(),w=g.velocities.pop(),S=T.position-w.position,O=T.time-w.time;e.velocity=S/O,e.velocity/=2,Math.abs(e.velocity)150||rt()-T.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.freeMode.momentumVelocityRatio,g.velocities.length=0;let h=1e3*d.freeMode.momentumRatio,_=e.velocity*h,v=e.translate+_;f&&(v=-v);let y=!1,M,k=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio,B;if(ve.minTranslate())d.freeMode.momentumBounce?(v-e.minTranslate()>k&&(v=e.minTranslate()+k),M=e.minTranslate(),y=!0,g.allowMomentumBounce=!0):v=e.minTranslate(),d.loop&&d.centeredSlides&&(B=!0);else if(d.freeMode.sticky){let T;for(let w=0;w-v){T=w;break}Math.abs(m[T]-v){e.loopFix()}),e.velocity!==0){if(f?h=Math.abs((-v-e.translate)/e.velocity):h=Math.abs((v-e.translate)/e.velocity),d.freeMode.sticky){let T=Math.abs((f?-v:v)-e.translate),w=e.slidesSizesGrid[e.activeIndex];T{!e||e.destroyed||!g.allowMomentumBounce||(t("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(M),ui(u,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(t("_freeModeNoMomentumRelease"),e.updateProgress(v),e.setTransition(h),e.setTranslate(v),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,ui(u,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(v),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&t("_freeModeNoMomentumRelease");(!d.freeMode.momentum||p>=d.longSwipesMs)&&(t("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:o,onTouchMove:s,onTouchEnd:a}})}function Rd(i){let{swiper:e,extendParams:r,on:t}=i;r({grid:{rows:1,fill:"column"}});let n,o,s,a,l=()=>{let b=e.params.spaceBetween;return typeof b=="string"&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*e.size:typeof b=="string"&&(b=parseFloat(b)),b},c=b=>{let{slidesPerView:p}=e.params,{rows:h,fill:_}=e.params.grid,v=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:b.length;s=Math.floor(v/h),Math.floor(v/h)===v/h?n=v:n=Math.ceil(v/h)*h,p!=="auto"&&_==="row"&&(n=Math.max(n,p*h)),o=n/h},d=()=>{e.slides&&e.slides.forEach(b=>{b.swiperSlideGridSet&&(b.style.height="",b.style[e.getDirectionLabel("margin-top")]="")})},u=(b,p,h)=>{let{slidesPerGroup:_}=e.params,v=l(),{rows:y,fill:M}=e.params.grid,k=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:h.length,B,T,w;if(M==="row"&&_>1){let S=Math.floor(b/(_*y)),O=b-y*_*S,C=S===0?_:Math.min(Math.ceil((k-S*y*_)/y),_);w=Math.floor(O/C),T=O-w*C+S*_,B=T+w*n/y,p.style.order=B}else M==="column"?(T=Math.floor(b/y),w=b-T*y,(T>s||T===s&&w===y-1)&&(w+=1,w>=y&&(w=0,T+=1))):(w=Math.floor(b/o),T=b-w*o);p.row=w,p.column=T,p.style.height=`calc((100% - ${(y-1)*v}px) / ${y})`,p.style[e.getDirectionLabel("margin-top")]=w!==0?v&&`${v}px`:"",p.swiperSlideGridSet=!0},f=(b,p)=>{let{centeredSlides:h,roundLengths:_}=e.params,v=l(),{rows:y}=e.params.grid;if(e.virtualSize=(b+v)*n,e.virtualSize=Math.ceil(e.virtualSize/y)-v,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+v}px`),h){let M=[];for(let k=0;k{a=e.params.grid&&e.params.grid.rows>1},g=()=>{let{params:b,el:p}=e,h=b.grid&&b.grid.rows>1;a&&!h?(p.classList.remove(`${b.containerModifierClass}grid`,`${b.containerModifierClass}grid-column`),s=1,e.emitContainerClasses()):!a&&h&&(p.classList.add(`${b.containerModifierClass}grid`),b.grid.fill==="column"&&p.classList.add(`${b.containerModifierClass}grid-column`),e.emitContainerClasses()),a=h};t("init",m),t("update",g),e.grid={initSlides:c,unsetSlides:d,updateSlide:u,updateWrapperSize:f}}function dg(i){let e=this,{params:r,slidesEl:t}=e;r.loop&&e.loopDestroy();let n=o=>{if(typeof o=="string"){let s=document.createElement("div");s.innerHTML=o,t.append(s.children[0]),s.innerHTML=""}else t.append(o)};if(typeof i=="object"&&"length"in i)for(let o=0;o{if(typeof a=="string"){let l=document.createElement("div");l.innerHTML=a,n.prepend(l.children[0]),l.innerHTML=""}else n.prepend(a)};if(typeof i=="object"&&"length"in i){for(let a=0;a=a){r.appendSlide(e);return}let l=s>i?s+1:s,c=[];for(let d=a-1;d>=i;d-=1){let u=r.slides[d];u.remove(),c.unshift(u)}if(typeof e=="object"&&"length"in e){for(let d=0;di?s+e.length:s}else o.append(e);for(let d=0;d{if(r.params.effect!==e)return;r.classNames.push(`${r.params.containerModifierClass}${e}`),a&&a()&&r.classNames.push(`${r.params.containerModifierClass}3d`);let u=s?s():{};Object.assign(r.params,u),Object.assign(r.originalParams,u)}),t("setTranslate",()=>{r.params.effect===e&&n()}),t("setTransition",(u,f)=>{r.params.effect===e&&o(f)}),t("transitionEnd",()=>{if(r.params.effect===e&&l){if(!c||!c().slideShadows)return;r.slides.forEach(u=>{u.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>f.remove())}),l()}});let d;t("virtualUpdate",()=>{r.params.effect===e&&(r.slides.length||(d=!0),requestAnimationFrame(()=>{d&&r.slides&&r.slides.length&&(n(),d=!1)}))})}function Ft(i,e){let r=ct(e);return r!==e&&(r.style.backfaceVisibility="hidden",r.style["-webkit-backface-visibility"]="hidden"),r}function fi(i){let{swiper:e,duration:r,transformElements:t,allSlides:n}=i,{activeIndex:o}=e,s=a=>a.parentElement?a.parentElement:e.slides.filter(c=>c.shadowRoot&&c.shadowRoot===a.parentNode)[0];if(e.params.virtualTranslate&&r!==0){let a=!1,l;n?l=t:l=t.filter(c=>{let d=c.classList.contains("swiper-slide-transform")?s(c):c;return e.getSlideIndex(d)===o}),l.forEach(c=>{ui(c,()=>{if(a||!e||e.destroyed)return;a=!0,e.animating=!1;let d=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(d)})})}}function Fd(i){let{swiper:e,extendParams:r,on:t}=i;r({fadeEffect:{crossFade:!1}}),wt({effect:"fade",swiper:e,on:t,setTranslate:()=>{let{slides:s}=e,a=e.params.fadeEffect;for(let l=0;l{let a=e.slides.map(l=>ct(l));a.forEach(l=>{l.style.transitionDuration=`${s}ms`}),fi({swiper:e,duration:s,transformElements:a,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Pd(i){let{swiper:e,extendParams:r,on:t}=i;r({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});let n=(l,c,d)=>{let u=d?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),f=d?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");u||(u=He("div",`swiper-slide-shadow-cube swiper-slide-shadow-${d?"left":"top"}`.split(" ")),l.append(u)),f||(f=He("div",`swiper-slide-shadow-cube swiper-slide-shadow-${d?"right":"bottom"}`.split(" ")),l.append(f)),u&&(u.style.opacity=Math.max(-c,0)),f&&(f.style.opacity=Math.max(c,0))};wt({effect:"cube",swiper:e,on:t,setTranslate:()=>{let{el:l,wrapperEl:c,slides:d,width:u,height:f,rtlTranslate:m,size:g,browser:b}=e,p=e.params.cubeEffect,h=e.isHorizontal(),_=e.virtual&&e.params.virtual.enabled,v=0,y;p.shadow&&(h?(y=e.wrapperEl.querySelector(".swiper-cube-shadow"),y||(y=He("div","swiper-cube-shadow"),e.wrapperEl.append(y)),y.style.height=`${u}px`):(y=l.querySelector(".swiper-cube-shadow"),y||(y=He("div","swiper-cube-shadow"),l.append(y))));for(let k=0;k-1&&(v=T*90+O*90,m&&(v=-T*90-O*90),e.browser&&e.browser.need3dFix&&Math.abs(v)/90%2===1&&(v+=.001)),B.style.transform=z,p.slideShadows&&n(B,O,h)}if(c.style.transformOrigin=`50% 50% -${g/2}px`,c.style["-webkit-transform-origin"]=`50% 50% -${g/2}px`,p.shadow)if(h)y.style.transform=`translate3d(0px, ${u/2+p.shadowOffset}px, ${-u/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${p.shadowScale})`;else{let k=Math.abs(v)-Math.floor(Math.abs(v)/90)*90,B=1.5-(Math.sin(k*2*Math.PI/360)/2+Math.cos(k*2*Math.PI/360)/2),T=p.shadowScale,w=p.shadowScale/B,S=p.shadowOffset;y.style.transform=`scale3d(${T}, 1, ${w}) translate3d(0px, ${f/2+S}px, ${-f/2/w}px) rotateX(-89.99deg)`}let M=(b.isSafari||b.isWebView)&&b.needPerspectiveFix?-g/2:0;c.style.transform=`translate3d(0px,0,${M}px) rotateX(${e.isHorizontal()?0:v}deg) rotateY(${e.isHorizontal()?-v:0}deg)`,c.style.setProperty("--swiper-cube-translate-z",`${M}px`)},setTransition:l=>{let{el:c,slides:d}=e;if(d.forEach(u=>{u.style.transitionDuration=`${l}ms`,u.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>{f.style.transitionDuration=`${l}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){let u=c.querySelector(".swiper-cube-shadow");u&&(u.style.transitionDuration=`${l}ms`)}},recreateShadows:()=>{let l=e.isHorizontal();e.slides.forEach(c=>{let d=Math.max(Math.min(c.progress,1),-1);n(c,d,l)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Pt(i,e,r){let t=`swiper-slide-shadow${r?`-${r}`:""}${i?` swiper-slide-shadow-${i}`:""}`,n=ct(e),o=n.querySelector(`.${t.split(" ").join(".")}`);return o||(o=He("div",t.split(" ")),n.append(o)),o}function Nd(i){let{swiper:e,extendParams:r,on:t}=i;r({flipEffect:{slideShadows:!0,limitRotation:!0}});let n=(l,c)=>{let d=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),u=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");d||(d=Pt("flip",l,e.isHorizontal()?"left":"top")),u||(u=Pt("flip",l,e.isHorizontal()?"right":"bottom")),d&&(d.style.opacity=Math.max(-c,0)),u&&(u.style.opacity=Math.max(c,0))};wt({effect:"flip",swiper:e,on:t,setTranslate:()=>{let{slides:l,rtlTranslate:c}=e,d=e.params.flipEffect;for(let u=0;u{let c=e.slides.map(d=>ct(d));c.forEach(d=>{d.style.transitionDuration=`${l}ms`,d.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${l}ms`})}),fi({swiper:e,duration:l,transformElements:c})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(l=>{let c=l.progress;e.params.flipEffect.limitRotation&&(c=Math.max(Math.min(l.progress,1),-1)),n(l,c)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Ld(i){let{swiper:e,extendParams:r,on:t}=i;r({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),wt({effect:"coverflow",swiper:e,on:t,setTranslate:()=>{let{width:s,height:a,slides:l,slidesSizesGrid:c}=e,d=e.params.coverflowEffect,u=e.isHorizontal(),f=e.translate,m=u?-f+s/2:-f+a/2,g=u?d.rotate:-d.rotate,b=d.depth;for(let p=0,h=l.length;p0?k:0),I&&(I.style.opacity=-k>0?-k:0)}}},setTransition:s=>{e.slides.map(l=>ct(l)).forEach(l=>{l.style.transitionDuration=`${s}ms`,l.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(c=>{c.style.transitionDuration=`${s}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function zd(i){let{swiper:e,extendParams:r,on:t}=i;r({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});let n=a=>typeof a=="string"?a:`${a}px`;wt({effect:"creative",swiper:e,on:t,setTranslate:()=>{let{slides:a,wrapperEl:l,slidesSizesGrid:c}=e,d=e.params.creativeEffect,{progressMultiplier:u}=d,f=e.params.centeredSlides;if(f){let m=c[0]/2-e.params.slidesOffsetBefore||0;l.style.transform=`translateX(calc(50% - ${m}px))`}for(let m=0;m0&&(k=d.prev,M=!0),v.forEach((x,D)=>{v[D]=`calc(${x}px + (${n(k.translate[D])} * ${Math.abs(p*u)}))`}),y.forEach((x,D)=>{let z=k.rotate[D]*Math.abs(p*u);e.browser&&e.browser.need3dFix&&Math.abs(z)/90%2===1&&(z+=.001),y[D]=z}),g.style.zIndex=-Math.abs(Math.round(b))+a.length;let B=v.join(", "),T=`rotateX(${y[0]}deg) rotateY(${y[1]}deg) rotateZ(${y[2]}deg)`,w=h<0?`scale(${1+(1-k.scale)*h*u})`:`scale(${1-(1-k.scale)*h*u})`,S=h<0?1+(1-k.opacity)*h*u:1-(1-k.opacity)*h*u,O=`translate3d(${B}) ${T} ${w}`;if(M&&k.shadow||!M){let x=g.querySelector(".swiper-slide-shadow");if(!x&&k.shadow&&(x=Pt("creative",g)),x){let D=d.shadowPerProgress?p*(1/d.limitProgress):p;x.style.opacity=Math.min(Math.max(Math.abs(D),0),1)}}let C=Ft(d,g);C.style.transform=O,C.style.opacity=S,k.origin&&(C.style.transformOrigin=k.origin)}},setTransition:a=>{let l=e.slides.map(c=>ct(c));l.forEach(c=>{c.style.transitionDuration=`${a}ms`,c.querySelectorAll(".swiper-slide-shadow").forEach(d=>{d.style.transitionDuration=`${a}ms`})}),fi({swiper:e,duration:a,transformElements:l,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function jd(i){let{swiper:e,extendParams:r,on:t}=i;r({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),wt({effect:"cards",swiper:e,on:t,setTranslate:()=>{let{slides:s,activeIndex:a,rtlTranslate:l}=e,c=e.params.cardsEffect,{startTranslate:d,isTouched:u}=e.touchEventsData,f=l?-e.translate:e.translate;for(let m=0;m0&&p<1&&(u||e.params.cssMode)&&f-1&&(u||e.params.cssMode)&&f>d;if(w||S){let D=(1-Math.abs((Math.abs(p)-.5)/.5))**.5;k+=-28*p*D,M+=-.5*D,B+=96*D,v=`${-25*D*Math.abs(p)}%`}if(p<0?_=`calc(${_}px ${l?"-":"+"} (${B*Math.abs(p)}%))`:p>0?_=`calc(${_}px ${l?"-":"+"} (-${B*Math.abs(p)}%))`:_=`${_}px`,!e.isHorizontal()){let D=v;v=_,_=D}let O=p<0?`${1+(1-M)*p}`:`${1-(1-M)*p}`,C=` + translate3d(${_}, ${v}, ${y}px) + rotateZ(${c.rotate?l?-k:k:0}deg) + scale(${O}) + `;if(c.slideShadows){let D=g.querySelector(".swiper-slide-shadow");D||(D=Pt("cards",g)),D&&(D.style.opacity=Math.min(Math.max((Math.abs(p)-.5)/.5,0),1))}g.style.zIndex=-Math.abs(Math.round(b))+s.length;let x=Ft(c,g);x.style.transform=C}},setTransition:s=>{let a=e.slides.map(l=>ct(l));a.forEach(l=>{l.style.transitionDuration=`${s}ms`,l.querySelectorAll(".swiper-slide-shadow").forEach(c=>{c.style.transitionDuration=`${s}ms`})}),fi({swiper:e,duration:s,transformElements:a})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}var pg=[bd,vd,_d,yd,wd,xd,Cd,Ed,Sd,Td,Dd,Id,Md,kd,Ad,Rd,Od,Fd,Pd,Nd,Ld,zd,jd];_t.use(pg);var tn=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Mi(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"&&!i.__swiper__}function Zr(i,e){let r=["__proto__","constructor","prototype"];Object.keys(e).filter(t=>r.indexOf(t)<0).forEach(t=>{typeof i[t]>"u"?i[t]=e[t]:Mi(e[t])&&Mi(i[t])&&Object.keys(e[t]).length>0?e[t].__swiper__?i[t]=e[t]:Zr(i[t],e[t]):i[t]=e[t]})}function Vd(i){return i===void 0&&(i={}),i.navigation&&typeof i.navigation.nextEl>"u"&&typeof i.navigation.prevEl>"u"}function Bd(i){return i===void 0&&(i={}),i.pagination&&typeof i.pagination.el>"u"}function Hd(i){return i===void 0&&(i={}),i.scrollbar&&typeof i.scrollbar.el>"u"}function nn(i){return i===void 0&&(i=""),i.replace(/-[a-z]/g,e=>e.toUpperCase().replace("-",""))}function Ud(i){let{swiper:e,slides:r,passedParams:t,changedParams:n,nextEl:o,prevEl:s,scrollbarEl:a,paginationEl:l}=i,c=n.filter(w=>w!=="children"&&w!=="direction"&&w!=="wrapperClass"),{params:d,pagination:u,navigation:f,scrollbar:m,virtual:g,thumbs:b}=e,p,h,_,v,y,M,k,B;n.includes("thumbs")&&t.thumbs&&t.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(p=!0),n.includes("controller")&&t.controller&&t.controller.control&&d.controller&&!d.controller.control&&(h=!0),n.includes("pagination")&&t.pagination&&(t.pagination.el||l)&&(d.pagination||d.pagination===!1)&&u&&!u.el&&(_=!0),n.includes("scrollbar")&&t.scrollbar&&(t.scrollbar.el||a)&&(d.scrollbar||d.scrollbar===!1)&&m&&!m.el&&(v=!0),n.includes("navigation")&&t.navigation&&(t.navigation.prevEl||s)&&(t.navigation.nextEl||o)&&(d.navigation||d.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(y=!0);let T=w=>{e[w]&&(e[w].destroy(),w==="navigation"?(e.isElement&&(e[w].prevEl.remove(),e[w].nextEl.remove()),d[w].prevEl=void 0,d[w].nextEl=void 0,e[w].prevEl=void 0,e[w].nextEl=void 0):(e.isElement&&e[w].el.remove(),d[w].el=void 0,e[w].el=void 0))};n.includes("loop")&&e.isElement&&(d.loop&&!t.loop?M=!0:!d.loop&&t.loop?k=!0:B=!0),c.forEach(w=>{if(Mi(d[w])&&Mi(t[w]))Object.assign(d[w],t[w]),(w==="navigation"||w==="pagination"||w==="scrollbar")&&"enabled"in t[w]&&!t[w].enabled&&T(w);else{let S=t[w];(S===!0||S===!1)&&(w==="navigation"||w==="pagination"||w==="scrollbar")?S===!1&&T(w):d[w]=t[w]}}),c.includes("controller")&&!h&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),n.includes("children")&&r&&g&&d.virtual.enabled?(g.slides=r,g.update(!0)):n.includes("virtual")&&g&&d.virtual.enabled&&(r&&(g.slides=r),g.update(!0)),n.includes("children")&&r&&d.loop&&(B=!0),p&&b.init()&&b.update(!0),h&&(e.controller.control=d.controller.control),_&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),e.el.appendChild(l)),l&&(d.pagination.el=l),u.init(),u.render(),u.update()),v&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),e.el.appendChild(a)),a&&(d.scrollbar.el=a),m.init(),m.updateSize(),m.setTranslate()),y&&(e.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),o.innerHTML=e.hostEl.constructor.nextButtonSvg,o.part.add("button-next"),e.el.appendChild(o)),(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-prev"),s.innerHTML=e.hostEl.constructor.prevButtonSvg,s.part.add("button-prev"),e.el.appendChild(s))),o&&(d.navigation.nextEl=o),s&&(d.navigation.prevEl=s),f.init(),f.update()),n.includes("allowSlideNext")&&(e.allowSlideNext=t.allowSlideNext),n.includes("allowSlidePrev")&&(e.allowSlidePrev=t.allowSlidePrev),n.includes("direction")&&e.changeDirection(t.direction,!1),(M||B)&&e.loopDestroy(),(k||B)&&e.loopCreate(),e.update()}var $d=i=>{if(parseFloat(i)===Number(i))return Number(i);if(i==="true"||i==="")return!0;if(i==="false")return!1;if(i==="null")return null;if(i!=="undefined"){if(typeof i=="string"&&i.includes("{")&&i.includes("}")&&i.includes('"')){let e;try{e=JSON.parse(i)}catch{e=i}return e}return i}},Wd=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function qs(i,e,r){let t={},n={};Zr(t,Xr);let o=[...tn,"on"],s=o.map(l=>l.replace(/_/,""));o.forEach(l=>{l=l.replace("_",""),typeof i[l]<"u"&&(n[l]=i[l])});let a=[...i.attributes];return typeof e=="string"&&typeof r<"u"&&a.push({name:e,value:Mi(r)?F({},r):r}),a.forEach(l=>{let c=Wd.filter(d=>l.name.indexOf(`${d}-`)===0)[0];if(c){let d=nn(c),u=nn(l.name.split(`${c}-`)[1]);typeof n[d]>"u"&&(n[d]={}),n[d]===!0&&(n[d]={enabled:!0}),n[d][u]=$d(l.value)}else{let d=nn(l.name);if(!s.includes(d))return;let u=$d(l.value);n[d]&&Wd.includes(l.name)&&!Mi(u)?(n[d].constructor!==Object&&(n[d]={}),n[d].enabled=!!u):n[d]=u}}),Zr(t,n),t.navigation?t.navigation=F({prevEl:".swiper-button-prev",nextEl:".swiper-button-next"},t.navigation!==!0?t.navigation:{}):t.navigation===!1&&delete t.navigation,t.scrollbar?t.scrollbar=F({el:".swiper-scrollbar"},t.scrollbar!==!0?t.scrollbar:{}):t.scrollbar===!1&&delete t.scrollbar,t.pagination?t.pagination=F({el:".swiper-pagination"},t.pagination!==!0?t.pagination:{}):t.pagination===!1&&delete t.pagination,{params:t,passedParams:n}}var gg=":host{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{width:100%;height:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}",bg="::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}::slotted(.swiper-slide-shadow){background:rgba(0,0,0,.15)}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear;width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-zoom-container){width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-width:100%;max-height:100%;object-fit:contain}",Xs=class{},Yd=typeof window>"u"||typeof HTMLElement>"u"?Xs:HTMLElement,Gd=` + `,qd=(i,e)=>{if(typeof CSSStyleSheet<"u"&&i.adoptedStyleSheets){let r=new CSSStyleSheet;r.replaceSync(e),i.adoptedStyleSheets=[r]}else{let r=document.createElement("style");r.rel="stylesheet",r.textContent=e,i.appendChild(r)}},Kr=class extends Yd{constructor(){super(),this.attachShadow({mode:"open"})}static get nextButtonSvg(){return Gd}static get prevButtonSvg(){return Gd.replace("/>",' transform-origin="center" transform="rotate(180)"/>')}cssStyles(){return[gg,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join(` +`)}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){let e=this.slideSlots||0,r=[...this.querySelectorAll("[slot^=slide-]")].map(t=>parseInt(t.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=r.length?Math.max(...r)+1:0,!!this.rendered){if(this.slideSlots>e)for(let t=e;t=0;n-=1)n>this.slideSlots&&t[n].remove()}}}render(){if(this.rendered)return;this.calcSlideSlots();let e=this.cssStyles();this.slideSlots>0&&(e=e.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),e.length&&qd(this.shadowRoot,e),this.cssLinks().forEach(t=>{if(this.shadowRoot.querySelector(`link[href="${t}"]`))return;let o=document.createElement("link");o.rel="stylesheet",o.href=t,this.shadowRoot.appendChild(o)});let r=document.createElement("div");r.classList.add("swiper"),r.part="container",r.innerHTML=` + +
+ + ${Array.from({length:this.slideSlots}).map((t,n)=>` + + + + `).join("")} +
+ + ${Vd(this.passedParams)?` +
${this.constructor.prevButtonSvg}
+
${this.constructor.nextButtonSvg}
+ `:""} + ${Bd(this.passedParams)?` +
+ `:""} + ${Hd(this.passedParams)?` +
+ `:""} + `,this.shadowRoot.appendChild(r),this.rendered=!0}initialize(){var e=this;if(this.initialized)return;this.initialized=!0;let{params:r,passedParams:t}=qs(this);this.swiperParams=r,this.passedParams=t,delete this.swiperParams.init,this.render(),this.swiper=new _t(this.shadowRoot.querySelector(".swiper"),pe(F(F({},r.virtual?{}:{observer:!0,observeSlideChildren:this.slideSlots>0}),r),{touchEventsTarget:"container",onAny:function(n){n==="observerUpdate"&&e.calcSlideSlots();let o=r.eventsPrefix?`${r.eventsPrefix}${n.toLowerCase()}`:n.toLowerCase();for(var s=arguments.length,a=new Array(s>1?s-1:0),l=1;lr.includes("_")).map(r=>r.replace(/[A-Z]/g,t=>`-${t}`).replace("_","").toLowerCase())}};tn.forEach(i=>{i!=="init"&&(i=i.replace("_",""),Object.defineProperty(Kr.prototype,i,{configurable:!0,get(){return(this.passedParams||{})[i]},set(e){this.passedParams||(this.passedParams={}),this.passedParams[i]=e,this.initialized&&this.updateSwiperOnPropChange(i,e)}}))});var Zs=class extends Yd{constructor(){super(),this.attachShadow({mode:"open"})}render(){let e=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(qd(this.shadowRoot,bg),this.shadowRoot.appendChild(document.createElement("slot")),e){let r=document.createElement("div");r.classList.add("swiper-lazy-preloader"),r.part.add("preloader"),this.shadowRoot.appendChild(r)}}initialize(){this.render()}connectedCallback(){this.initialize()}},Xd=()=>{typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",Kr),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",Zs))};typeof window<"u"&&(window.SwiperElementRegisterParams=i=>{tn.push(...i)});var le="primary",sr=Symbol("RouteTitle"),ta=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function ln(i){return new ta(i)}function _g(i,e,r){let t=r.path.split("/");if(t.length>i.length||r.pathMatch==="full"&&(e.hasChildren()||t.lengtht[o]===n)}else return i===e}function iu(i){return i.length>0?i[i.length-1]:null}function pi(i){return Wi(i)?i:Pr(i)?Xe(Promise.resolve(i)):X(i)}var wg={exact:ru,subset:ou},nu={exact:xg,subset:Cg,ignored:()=>!0};function Zd(i,e,r){return wg[r.paths](i.root,e.root,r.matrixParams)&&nu[r.queryParams](i.queryParams,e.queryParams)&&!(r.fragment==="exact"&&i.fragment!==e.fragment)}function xg(i,e){return Nt(i,e)}function ru(i,e,r){if(!Ai(i.segments,e.segments)||!eo(i.segments,e.segments,r)||i.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!i.children[t]||!ru(i.children[t],e.children[t],r))return!1;return!0}function Cg(i,e){return Object.keys(e).length<=Object.keys(i).length&&Object.keys(e).every(r=>tu(i[r],e[r]))}function ou(i,e,r){return su(i,e,e.segments,r)}function su(i,e,r,t){if(i.segments.length>r.length){let n=i.segments.slice(0,r.length);return!(!Ai(n,r)||e.hasChildren()||!eo(n,r,t))}else if(i.segments.length===r.length){if(!Ai(i.segments,r)||!eo(i.segments,r,t))return!1;for(let n in e.children)if(!i.children[n]||!ou(i.children[n],e.children[n],t))return!1;return!0}else{let n=r.slice(0,i.segments.length),o=r.slice(i.segments.length);return!Ai(i.segments,n)||!eo(i.segments,n,t)||!i.children[le]?!1:su(i.children[le],e,o,t)}}function eo(i,e,r){return e.every((t,n)=>nu[r](i[n].parameters,t.parameters))}var hi=class{constructor(e=new Te([],{}),r={},t=null){this.root=e,this.queryParams=r,this.fragment=t}get queryParamMap(){return this._queryParamMap??=ln(this.queryParams),this._queryParamMap}toString(){return Tg.serialize(this)}},Te=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return to(this)}},ki=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=ln(this.parameters),this._parameterMap}toString(){return lu(this)}};function Eg(i,e){return Ai(i,e)&&i.every((r,t)=>Nt(r.parameters,e[t].parameters))}function Ai(i,e){return i.length!==e.length?!1:i.every((r,t)=>r.path===e[t].path)}function Sg(i,e){let r=[];return Object.entries(i.children).forEach(([t,n])=>{t===le&&(r=r.concat(e(n,t)))}),Object.entries(i.children).forEach(([t,n])=>{t!==le&&(r=r.concat(e(n,t)))}),r}var Ia=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:()=>new no,providedIn:"root"});let i=e;return i})(),no=class{parse(e){let r=new ra(e);return new hi(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Gn(e.root,!0)}`,t=Mg(e.queryParams),n=typeof e.fragment=="string"?`#${Dg(e.fragment)}`:"";return`${r}${t}${n}`}},Tg=new no;function to(i){return i.segments.map(e=>lu(e)).join("/")}function Gn(i,e){if(!i.hasChildren())return to(i);if(e){let r=i.children[le]?Gn(i.children[le],!1):"",t=[];return Object.entries(i.children).forEach(([n,o])=>{n!==le&&t.push(`${n}:${Gn(o,!1)}`)}),t.length>0?`${r}(${t.join("//")})`:r}else{let r=Sg(i,(t,n)=>n===le?[Gn(i.children[le],!1)]:[`${n}:${Gn(t,!1)}`]);return Object.keys(i.children).length===1&&i.children[le]!=null?`${to(i)}/${r[0]}`:`${to(i)}/(${r.join("//")})`}}function au(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Qr(i){return au(i).replace(/%3B/gi,";")}function Dg(i){return encodeURI(i)}function na(i){return au(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function io(i){return decodeURIComponent(i)}function Kd(i){return io(i.replace(/\+/g,"%20"))}function lu(i){return`${na(i.path)}${Ig(i.parameters)}`}function Ig(i){return Object.entries(i).map(([e,r])=>`;${na(e)}=${na(r)}`).join("")}function Mg(i){let e=Object.entries(i).map(([r,t])=>Array.isArray(t)?t.map(n=>`${Qr(r)}=${Qr(n)}`).join("&"):`${Qr(r)}=${Qr(t)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var kg=/^[^\/()?;#]+/;function Ks(i){let e=i.match(kg);return e?e[0]:""}var Ag=/^[^\/()?;=#]+/;function Rg(i){let e=i.match(Ag);return e?e[0]:""}var Og=/^[^=?&#]+/;function Fg(i){let e=i.match(Og);return e?e[0]:""}var Pg=/^[^&#]+/;function Ng(i){let e=i.match(Pg);return e?e[0]:""}var ra=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Te([],{}):new Te([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(t[le]=new Te(e,r)),t}parseSegment(){let e=Ks(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new De(4009,!1);return this.capture(e),new ki(io(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=Rg(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let n=Ks(this.remaining);n&&(t=n,this.capture(t))}e[io(r)]=io(t)}parseQueryParam(e){let r=Fg(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let s=Ng(this.remaining);s&&(t=s,this.capture(t))}let n=Kd(r),o=Kd(t);if(e.hasOwnProperty(n)){let s=e[n];Array.isArray(s)||(s=[s],e[n]=s),s.push(o)}else e[n]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=Ks(this.remaining),n=this.remaining[t.length];if(n!=="/"&&n!==")"&&n!==";")throw new De(4010,!1);let o;t.indexOf(":")>-1?(o=t.slice(0,t.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=le);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[le]:new Te([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new De(4011,!1)}};function cu(i){return i.segments.length>0?new Te([],{[le]:i}):i}function du(i){let e={};for(let[t,n]of Object.entries(i.children)){let o=du(n);if(t===le&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[t]=o)}let r=new Te(i.segments,e);return Lg(r)}function Lg(i){if(i.numberOfChildren===1&&i.children[le]){let e=i.children[le];return new Te(i.segments.concat(e.segments),e.children)}return i}function cn(i){return i instanceof hi}function zg(i,e,r=null,t=null){let n=uu(i);return fu(n,e,r,t)}function uu(i){let e;function r(o){let s={};for(let l of o.children){let c=r(l);s[l.outlet]=c}let a=new Te(o.url,s);return o===i&&(e=a),a}let t=r(i.root),n=cu(t);return e??n}function fu(i,e,r,t){let n=i;for(;n.parent;)n=n.parent;if(e.length===0)return Qs(n,n,n,r,t);let o=jg(e);if(o.toRoot())return Qs(n,n,new Te([],{}),r,t);let s=Vg(o,n,i),a=s.processChildren?Xn(s.segmentGroup,s.index,o.commands):mu(s.segmentGroup,s.index,o.commands);return Qs(n,s.segmentGroup,a,r,t)}function ro(i){return typeof i=="object"&&i!=null&&!i.outlets&&!i.segmentPath}function Qn(i){return typeof i=="object"&&i!=null&&i.outlets}function Qs(i,e,r,t,n){let o={};t&&Object.entries(t).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let s;i===e?s=r:s=hu(i,e,r);let a=cu(du(s));return new hi(a,o,n)}function hu(i,e,r){let t={};return Object.entries(i.children).forEach(([n,o])=>{o===e?t[n]=r:t[n]=hu(o,e,r)}),new Te(i.segments,t)}var oo=class{constructor(e,r,t){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=t,e&&t.length>0&&ro(t[0]))throw new De(4003,!1);let n=t.find(Qn);if(n&&n!==iu(t))throw new De(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function jg(i){if(typeof i[0]=="string"&&i.length===1&&i[0]==="/")return new oo(!0,0,i);let e=0,r=!1,t=i.reduce((n,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...n,{outlets:a}]}if(o.segmentPath)return[...n,o.segmentPath]}return typeof o!="string"?[...n,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?r=!0:a===".."?e++:a!=""&&n.push(a))}),n):[...n,o]},[]);return new oo(r,e,t)}var sn=class{constructor(e,r,t){this.segmentGroup=e,this.processChildren=r,this.index=t}};function Vg(i,e,r){if(i.isAbsolute)return new sn(e,!0,0);if(!r)return new sn(e,!1,NaN);if(r.parent===null)return new sn(r,!0,0);let t=ro(i.commands[0])?0:1,n=r.segments.length-1+t;return Bg(r,n,i.numberOfDoubleDots)}function Bg(i,e,r){let t=i,n=e,o=r;for(;o>n;){if(o-=n,t=t.parent,!t)throw new De(4005,!1);n=t.segments.length}return new sn(t,!1,n-o)}function Hg(i){return Qn(i[0])?i[0].outlets:{[le]:i}}function mu(i,e,r){if(i??=new Te([],{}),i.segments.length===0&&i.hasChildren())return Xn(i,e,r);let t=Ug(i,e,r),n=r.slice(t.commandIndex);if(t.match&&t.pathIndexo!==le)&&i.children[le]&&i.numberOfChildren===1&&i.children[le].segments.length===0){let o=Xn(i.children[le],e,r);return new Te(i.segments,o.children)}return Object.entries(t).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(n[o]=mu(i.children[o],e,s))}),Object.entries(i.children).forEach(([o,s])=>{t[o]===void 0&&(n[o]=s)}),new Te(i.segments,n)}}function Ug(i,e,r){let t=0,n=e,o={match:!1,pathIndex:0,commandIndex:0};for(;n=r.length)return o;let s=i.segments[n],a=r[t];if(Qn(a))break;let l=`${a}`,c=t0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!Jd(l,c,s))return o;t+=2}else{if(!Jd(l,{},s))return o;t++}n++}return{match:!0,pathIndex:n,commandIndex:t}}function oa(i,e,r){let t=i.segments.slice(0,e),n=0;for(;n{typeof t=="string"&&(t=[t]),t!==null&&(e[r]=oa(new Te([],{}),0,t))}),e}function Qd(i){let e={};return Object.entries(i).forEach(([r,t])=>e[r]=`${t}`),e}function Jd(i,e,r){return i==r.path&&Nt(e,r.parameters)}var Zn="imperative",Ze=function(i){return i[i.NavigationStart=0]="NavigationStart",i[i.NavigationEnd=1]="NavigationEnd",i[i.NavigationCancel=2]="NavigationCancel",i[i.NavigationError=3]="NavigationError",i[i.RoutesRecognized=4]="RoutesRecognized",i[i.ResolveStart=5]="ResolveStart",i[i.ResolveEnd=6]="ResolveEnd",i[i.GuardsCheckStart=7]="GuardsCheckStart",i[i.GuardsCheckEnd=8]="GuardsCheckEnd",i[i.RouteConfigLoadStart=9]="RouteConfigLoadStart",i[i.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",i[i.ChildActivationStart=11]="ChildActivationStart",i[i.ChildActivationEnd=12]="ChildActivationEnd",i[i.ActivationStart=13]="ActivationStart",i[i.ActivationEnd=14]="ActivationEnd",i[i.Scroll=15]="Scroll",i[i.NavigationSkipped=16]="NavigationSkipped",i}(Ze||{}),xt=class{constructor(e,r){this.id=e,this.url=r}},Jn=class extends xt{constructor(e,r,t="imperative",n=null){super(e,r),this.type=Ze.NavigationStart,this.navigationTrigger=t,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ri=class extends xt{constructor(e,r,t){super(e,r),this.urlAfterRedirects=t,this.type=Ze.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ft=function(i){return i[i.Redirect=0]="Redirect",i[i.SupersededByNewNavigation=1]="SupersededByNewNavigation",i[i.NoDataFromResolver=2]="NoDataFromResolver",i[i.GuardRejected=3]="GuardRejected",i}(ft||{}),sa=function(i){return i[i.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",i[i.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",i}(sa||{}),mi=class extends xt{constructor(e,r,t,n){super(e,r),this.reason=t,this.code=n,this.type=Ze.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Oi=class extends xt{constructor(e,r,t,n){super(e,r),this.reason=t,this.code=n,this.type=Ze.NavigationSkipped}},er=class extends xt{constructor(e,r,t,n){super(e,r),this.error=t,this.target=n,this.type=Ze.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},so=class extends xt{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=Ze.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},aa=class extends xt{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=Ze.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},la=class extends xt{constructor(e,r,t,n,o){super(e,r),this.urlAfterRedirects=t,this.state=n,this.shouldActivate=o,this.type=Ze.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},ca=class extends xt{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=Ze.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},da=class extends xt{constructor(e,r,t,n){super(e,r),this.urlAfterRedirects=t,this.state=n,this.type=Ze.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ua=class{constructor(e){this.route=e,this.type=Ze.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},fa=class{constructor(e){this.route=e,this.type=Ze.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},ha=class{constructor(e){this.snapshot=e,this.type=Ze.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ma=class{constructor(e){this.snapshot=e,this.type=Ze.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},pa=class{constructor(e){this.snapshot=e,this.type=Ze.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ga=class{constructor(e){this.snapshot=e,this.type=Ze.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var tr=class{},ir=class{constructor(e){this.url=e}};var ba=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new ho,this.attachRef=null}},ho=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,n){let o=this.getOrCreateContext(t);o.outlet=n,this.contexts.set(t,o)}onChildOutletDestroyed(t){let n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new ba,this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),ao=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=va(e,this._root);return r?r.children.map(t=>t.value):[]}firstChild(e){let r=va(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=_a(e,this._root);return r.length<2?[]:r[r.length-2].children.map(n=>n.value).filter(n=>n!==e)}pathFromRoot(e){return _a(e,this._root).map(r=>r.value)}};function va(i,e){if(i===e.value)return e;for(let r of e.children){let t=va(i,r);if(t)return t}return null}function _a(i,e){if(i===e.value)return[e];for(let r of e.children){let t=_a(i,r);if(t.length)return t.unshift(e),t}return[]}var ut=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function on(i){let e={};return i&&i.children.forEach(r=>e[r.value.outlet]=r),e}var lo=class extends ao{constructor(e,r){super(e),this.snapshot=r,ka(this,e)}toString(){return this.snapshot.toString()}};function pu(i){let e=Wg(i),r=new We([new ki("",{})]),t=new We({}),n=new We({}),o=new We({}),s=new We(""),a=new dn(r,t,o,s,n,le,i,e.root);return a.snapshot=e.root,new lo(new ut(a,[]),e)}function Wg(i){let e={},r={},t={},n="",o=new nr([],e,t,n,r,le,i,null,{});return new co("",new ut(o,[]))}var dn=class{constructor(e,r,t,n,o,s,a,l){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=t,this.fragmentSubject=n,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ee(c=>c[sr]))??X(void 0),this.url=e,this.params=r,this.queryParams=t,this.fragment=n,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(ee(e=>ln(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ee(e=>ln(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ma(i,e,r="emptyOnly"){let t,{routeConfig:n}=i;return e!==null&&(r==="always"||n?.path===""||!e.component&&!e.routeConfig?.loadComponent)?t={params:F(F({},e.params),i.params),data:F(F({},e.data),i.data),resolve:F(F(F(F({},i.data),e.data),n?.data),i._resolvedData)}:t={params:F({},i.params),data:F({},i.data),resolve:F(F({},i.data),i._resolvedData??{})},n&&bu(n)&&(t.resolve[sr]=n.title),t}var nr=class{get title(){return this.data?.[sr]}constructor(e,r,t,n,o,s,a,l,c){this.url=e,this.params=r,this.queryParams=t,this.fragment=n,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}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??=ln(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ln(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},co=class extends ao{constructor(e,r){super(r),this.url=e,ka(this,r)}toString(){return gu(this._root)}};function ka(i,e){e.value._routerState=i,e.children.forEach(r=>ka(i,r))}function gu(i){let e=i.children.length>0?` { ${i.children.map(gu).join(", ")} } `:"";return`${i.value}${e}`}function Js(i){if(i.snapshot){let e=i.snapshot,r=i._futureSnapshot;i.snapshot=r,Nt(e.queryParams,r.queryParams)||i.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&i.fragmentSubject.next(r.fragment),Nt(e.params,r.params)||i.paramsSubject.next(r.params),yg(e.url,r.url)||i.urlSubject.next(r.url),Nt(e.data,r.data)||i.dataSubject.next(r.data)}else i.snapshot=i._futureSnapshot,i.dataSubject.next(i._futureSnapshot.data)}function ya(i,e){let r=Nt(i.params,e.params)&&Eg(i.url,e.url),t=!i.parent!=!e.parent;return r&&!t&&(!i.parent||ya(i.parent,e.parent))}function bu(i){return typeof i.title=="string"||i.title===null}var Aa=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=le,this.activateEvents=new Ee,this.deactivateEvents=new Ee,this.attachEvents=new Ee,this.detachEvents=new Ee,this.parentContexts=N(ho),this.location=N(gt),this.changeDetector=N(at),this.environmentInjector=N(Yi),this.inputBinder=N(Ra,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:n,previousValue:o}=t.name;if(n)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(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new De(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new De(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new De(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,n){this.activated=t,this._activatedRoute=n,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,n){if(this.isActivated)throw new De(4013,!1);this._activatedRoute=t;let o=this.location,a=t.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new wa(t,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:n??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Z({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Je]});let i=e;return i})(),wa=class{constructor(e,r,t){this.route=e,this.childContexts=r,this.parent=t,this.__ngOutletInjector=!0}get(e,r){return e===dn?this.route:e===ho?this.childContexts:this.parent.get(e,r)}},Ra=new Y("");function Gg(i,e,r){let t=rr(i,e._root,r?r._root:void 0);return new lo(t,e)}function rr(i,e,r){if(r&&i.shouldReuseRoute(e.value,r.value.snapshot)){let t=r.value;t._futureSnapshot=e.value;let n=Yg(i,e,r);return new ut(t,n)}else{if(i.shouldAttach(e.value)){let o=i.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>rr(i,a)),s}}let t=qg(e.value),n=e.children.map(o=>rr(i,o));return new ut(t,n)}}function Yg(i,e,r){return e.children.map(t=>{for(let n of r.children)if(i.shouldReuseRoute(t.value,n.value.snapshot))return rr(i,t,n);return rr(i,t)})}function qg(i){return new dn(new We(i.url),new We(i.params),new We(i.queryParams),new We(i.fragment),new We(i.data),i.outlet,i.component,i)}var vu="ngNavigationCancelingError";function _u(i,e){let{redirectTo:r,navigationBehaviorOptions:t}=cn(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,n=yu(!1,ft.Redirect);return n.url=r,n.navigationBehaviorOptions=t,n}function yu(i,e){let r=new Error(`NavigationCancelingError: ${i||""}`);return r[vu]=!0,r.cancellationCode=e,r}function Xg(i){return wu(i)&&cn(i.url)}function wu(i){return!!i&&i[vu]}var Zg=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ge({type:e,selectors:[["ng-component"]],standalone:!0,features:[be],decls:1,vars:0,template:function(n,o){n&1&&ue(0,"router-outlet")},dependencies:[Aa],encapsulation:2});let i=e;return i})();function Kg(i,e){return i.providers&&!i._injector&&(i._injector=wc(i.providers,e,`Route: ${i.path}`)),i._injector??e}function Oa(i){let e=i.children&&i.children.map(Oa),r=e?pe(F({},i),{children:e}):F({},i);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==le&&(r.component=Zg),r}function Lt(i){return i.outlet||le}function Qg(i,e){let r=i.filter(t=>Lt(t)===e);return r.push(...i.filter(t=>Lt(t)!==e)),r}function ar(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let e=i.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var Jg=(i,e,r,t)=>ee(n=>(new xa(e,n.targetRouterState,n.currentRouterState,r,t).activate(i),n)),xa=class{constructor(e,r,t,n,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=t,this.forwardEvent=n,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,t,e),Js(this.futureState.root),this.activateChildRoutes(r,t,e)}deactivateChildRoutes(e,r,t){let n=on(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,n[s],t),delete n[s]}),Object.values(n).forEach(o=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(e,r,t){let n=e.value,o=r?r.value:null;if(n===o)if(n.component){let s=t.getContext(n.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,t);else o&&this.deactivateRouteAndItsChildren(r,t)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let t=r.getContext(e.value.outlet),n=t&&e.value.component?t.children:r,o=on(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,n);if(t&&t.outlet){let s=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let t=r.getContext(e.value.outlet),n=t&&e.value.component?t.children:r,o=on(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,n);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,r,t){let n=on(r);e.children.forEach(o=>{this.activateRoutes(o,n[o.value.outlet],t),this.forwardEvent(new ga(o.value.snapshot))}),e.children.length&&this.forwardEvent(new ma(e.value.snapshot))}activateRoutes(e,r,t){let n=e.value,o=r?r.value:null;if(Js(n),n===o)if(n.component){let s=t.getOrCreateContext(n.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,t);else if(n.component){let s=t.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){let a=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.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),Js(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=ar(n.snapshot);s.attachRef=null,s.route=n,s.injector=a,s.outlet&&s.outlet.activateWith(n,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,t)}},uo=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},an=class{constructor(e,r){this.component=e,this.route=r}};function eb(i,e,r){let t=i._root,n=e?e._root:null;return Yn(t,n,r,[t.value])}function tb(i){let e=i.routeConfig?i.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:i,guards:e}}function fn(i,e){let r=Symbol(),t=e.get(i,r);return t===r?typeof i=="function"&&!ac(i)?i:e.get(i):t}function Yn(i,e,r,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=on(e);return i.children.forEach(s=>{ib(s,o[s.value.outlet],r,t.concat([s.value]),n),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>Kn(a,r.getContext(s),n)),n}function ib(i,e,r,t,n={canDeactivateChecks:[],canActivateChecks:[]}){let o=i.value,s=e?e.value:null,a=r?r.getContext(i.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=nb(s,o,o.routeConfig.runGuardsAndResolvers);l?n.canActivateChecks.push(new uo(t)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Yn(i,e,a?a.children:null,t,n):Yn(i,e,r,t,n),l&&a&&a.outlet&&a.outlet.isActivated&&n.canDeactivateChecks.push(new an(a.outlet.component,s))}else s&&Kn(e,a,n),n.canActivateChecks.push(new uo(t)),o.component?Yn(i,null,a?a.children:null,t,n):Yn(i,null,r,t,n);return n}function nb(i,e,r){if(typeof r=="function")return r(i,e);switch(r){case"pathParamsChange":return!Ai(i.url,e.url);case"pathParamsOrQueryParamsChange":return!Ai(i.url,e.url)||!Nt(i.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!ya(i,e)||!Nt(i.queryParams,e.queryParams);case"paramsChange":default:return!ya(i,e)}}function Kn(i,e,r){let t=on(i),n=i.value;Object.entries(t).forEach(([o,s])=>{n.component?e?Kn(s,e.children.getContext(o),r):Kn(s,null,r):Kn(s,e,r)}),n.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new an(e.outlet.component,n)):r.canDeactivateChecks.push(new an(null,n)):r.canDeactivateChecks.push(new an(null,n))}function lr(i){return typeof i=="function"}function rb(i){return typeof i=="boolean"}function ob(i){return i&&lr(i.canLoad)}function sb(i){return i&&lr(i.canActivate)}function ab(i){return i&&lr(i.canActivateChild)}function lb(i){return i&&lr(i.canDeactivate)}function cb(i){return i&&lr(i.canMatch)}function xu(i){return i instanceof ec||i?.name==="EmptyError"}var Jr=Symbol("INITIAL_VALUE");function un(){return Qe(i=>En(i.map(e=>e.pipe(Ge(1),ii(Jr)))).pipe(ee(e=>{for(let r of e)if(r!==!0){if(r===Jr)return Jr;if(r===!1||r instanceof hi)return r}return!0}),Ue(e=>e!==Jr),Ge(1)))}function db(i,e){return ht(r=>{let{targetSnapshot:t,currentSnapshot:n,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?X(pe(F({},r),{guardsResult:!0})):ub(s,t,n,i).pipe(ht(a=>a&&rb(a)?fb(t,o,i,e):X(a)),ee(a=>pe(F({},r),{guardsResult:a})))})}function ub(i,e,r,t){return Xe(i).pipe(ht(n=>bb(n.component,n.route,r,e,t)),ti(n=>n!==!0,!0))}function fb(i,e,r,t){return Xe(e).pipe(wi(n=>Sr(mb(n.route.parent,t),hb(n.route,t),gb(i,n.path,r),pb(i,n.route,r))),ti(n=>n!==!0,!0))}function hb(i,e){return i!==null&&e&&e(new pa(i)),X(!0)}function mb(i,e){return i!==null&&e&&e(new ha(i)),X(!0)}function pb(i,e,r){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return X(!0);let n=t.map(o=>Sn(()=>{let s=ar(e)??r,a=fn(o,s),l=sb(a)?a.canActivate(e,i):Bt(s,()=>a(e,i));return pi(l).pipe(ti())}));return X(n).pipe(un())}function gb(i,e,r){let t=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>tb(s)).filter(s=>s!==null).map(s=>Sn(()=>{let a=s.guards.map(l=>{let c=ar(s.node)??r,d=fn(l,c),u=ab(d)?d.canActivateChild(t,i):Bt(c,()=>d(t,i));return pi(u).pipe(ti())});return X(a).pipe(un())}));return X(o).pipe(un())}function bb(i,e,r,t,n){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return X(!0);let s=o.map(a=>{let l=ar(e)??n,c=fn(a,l),d=lb(c)?c.canDeactivate(i,e,r,t):Bt(l,()=>c(i,e,r,t));return pi(d).pipe(ti())});return X(s).pipe(un())}function vb(i,e,r,t){let n=e.canLoad;if(n===void 0||n.length===0)return X(!0);let o=n.map(s=>{let a=fn(s,i),l=ob(a)?a.canLoad(e,r):Bt(i,()=>a(e,r));return pi(l)});return X(o).pipe(un(),Cu(t))}function Cu(i){return Jl(Fe(e=>{if(cn(e))throw _u(i,e)}),ee(e=>e===!0))}function _b(i,e,r,t){let n=e.canMatch;if(!n||n.length===0)return X(!0);let o=n.map(s=>{let a=fn(s,i),l=cb(a)?a.canMatch(e,r):Bt(i,()=>a(e,r));return pi(l)});return X(o).pipe(un(),Cu(t))}var or=class{constructor(e){this.segmentGroup=e||null}},fo=class extends Error{constructor(e){super(),this.urlTree=e}};function rn(i){return yi(new or(i))}function yb(i){return yi(new De(4e3,!1))}function wb(i){return yi(yu(!1,ft.GuardRejected))}var Ca=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let t=[],n=r.root;for(;;){if(t=t.concat(n.segments),n.numberOfChildren===0)return X(t);if(n.numberOfChildren>1||!n.children[le])return yb(e.redirectTo);n=n.children[le]}}applyRedirectCommands(e,r,t){let n=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,t);if(r.startsWith("/"))throw new fo(n);return n}applyRedirectCreateUrlTree(e,r,t,n){let o=this.createSegmentGroup(e,r.root,t,n);return new hi(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let t={};return Object.entries(e).forEach(([n,o])=>{if(typeof o=="string"&&o.startsWith(":")){let a=o.substring(1);t[n]=r[a]}else t[n]=o}),t}createSegmentGroup(e,r,t,n){let o=this.createSegments(e,r.segments,t,n),s={};return Object.entries(r.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,t,n)}),new Te(o,s)}createSegments(e,r,t,n){return r.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,n):this.findOrReturn(o,t))}findPosParam(e,r,t){let n=t[r.path.substring(1)];if(!n)throw new De(4001,!1);return n}findOrReturn(e,r){let t=0;for(let n of r){if(n.path===e.path)return r.splice(t),n;t++}return e}},Ea={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function xb(i,e,r,t,n){let o=Fa(i,e,r);return o.matched?(t=Kg(e,t),_b(t,e,r,n).pipe(ee(s=>s===!0?o:F({},Ea)))):X(o)}function Fa(i,e,r){if(e.path==="**")return Cb(r);if(e.path==="")return e.pathMatch==="full"&&(i.hasChildren()||r.length>0)?F({},Ea):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let n=(e.matcher||_g)(r,i,e);if(!n)return F({},Ea);let o={};Object.entries(n.posParams??{}).forEach(([a,l])=>{o[a]=l.path});let s=n.consumed.length>0?F(F({},o),n.consumed[n.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:n.consumed,remainingSegments:r.slice(n.consumed.length),parameters:s,positionalParamSegments:n.posParams??{}}}function Cb(i){return{matched:!0,parameters:i.length>0?iu(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function eu(i,e,r,t){return r.length>0&&Tb(i,r,t)?{segmentGroup:new Te(e,Sb(t,new Te(r,i.children))),slicedSegments:[]}:r.length===0&&Db(i,r,t)?{segmentGroup:new Te(i.segments,Eb(i,r,t,i.children)),slicedSegments:r}:{segmentGroup:new Te(i.segments,i.children),slicedSegments:r}}function Eb(i,e,r,t){let n={};for(let o of r)if(mo(i,e,o)&&!t[Lt(o)]){let s=new Te([],{});n[Lt(o)]=s}return F(F({},t),n)}function Sb(i,e){let r={};r[le]=e;for(let t of i)if(t.path===""&&Lt(t)!==le){let n=new Te([],{});r[Lt(t)]=n}return r}function Tb(i,e,r){return r.some(t=>mo(i,e,t)&&Lt(t)!==le)}function Db(i,e,r){return r.some(t=>mo(i,e,t))}function mo(i,e,r){return(i.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Ib(i,e,r,t){return Lt(i)!==t&&(t===le||!mo(e,r,i))?!1:Fa(e,i,r).matched}function Mb(i,e,r){return e.length===0&&!i.children[r]}var Sa=class{};function kb(i,e,r,t,n,o,s="emptyOnly"){return new Ta(i,e,r,t,n,s,o).recognize()}var Ab=31,Ta=class{constructor(e,r,t,n,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=t,this.config=n,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Ca(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new De(4002,`'${e.segmentGroup}'`)}recognize(){let e=eu(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(ee(r=>{let t=new nr([],Object.freeze({}),Object.freeze(F({},this.urlTree.queryParams)),this.urlTree.fragment,{},le,this.rootComponentType,null,{}),n=new ut(t,r),o=new co("",n),s=zg(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(o._root,null),{state:o,tree:s}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,le).pipe(At(t=>{if(t instanceof fo)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof or?this.noMatchError(t):t}))}inheritParamsAndData(e,r){let t=e.value,n=Ma(t,r,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(o=>this.inheritParamsAndData(o,t))}processSegmentGroup(e,r,t,n){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,r,t):this.processSegment(e,r,t,t.segments,n,!0).pipe(ee(o=>o instanceof ut?[o]:[]))}processChildren(e,r,t){let n=[];for(let o of Object.keys(t.children))o==="primary"?n.unshift(o):n.push(o);return Xe(n).pipe(wi(o=>{let s=t.children[o],a=Qg(r,o);return this.processSegmentGroup(e,a,s,o)}),rc((o,s)=>(o.push(...s),o)),us(null),nc(),ht(o=>{if(o===null)return rn(t);let s=Eu(o);return Rb(s),X(s)}))}processSegment(e,r,t,n,o,s){return Xe(r).pipe(wi(a=>this.processSegmentAgainstRoute(a._injector??e,r,a,t,n,o,s).pipe(At(l=>{if(l instanceof or)return X(null);throw l}))),ti(a=>!!a),At(a=>{if(xu(a))return Mb(t,n,o)?X(new Sa):rn(t);throw a}))}processSegmentAgainstRoute(e,r,t,n,o,s,a){return Ib(t,n,o,s)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,n,t,o,s):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,n,r,t,o,s):rn(n):rn(n)}expandSegmentAgainstRouteUsingRedirect(e,r,t,n,o,s){let{matched:a,consumedSegments:l,positionalParamSegments:c,remainingSegments:d}=Fa(r,n,o);if(!a)return rn(r);n.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Ab&&(this.allowRedirects=!1));let u=this.applyRedirects.applyRedirectCommands(l,n.redirectTo,c);return this.applyRedirects.lineralizeSegments(n,u).pipe(ht(f=>this.processSegment(e,t,r,f.concat(d),s,!1)))}matchSegmentAgainstRoute(e,r,t,n,o){let s=xb(r,t,n,e,this.urlSerializer);return t.path==="**"&&(r.children={}),s.pipe(Qe(a=>a.matched?(e=t._injector??e,this.getChildConfig(e,t,n).pipe(Qe(({routes:l})=>{let c=t._loadedInjector??e,{consumedSegments:d,remainingSegments:u,parameters:f}=a,m=new nr(d,f,Object.freeze(F({},this.urlTree.queryParams)),this.urlTree.fragment,Fb(t),Lt(t),t.component??t._loadedComponent??null,t,Pb(t)),{segmentGroup:g,slicedSegments:b}=eu(r,d,u,l);if(b.length===0&&g.hasChildren())return this.processChildren(c,l,g).pipe(ee(h=>h===null?null:new ut(m,h)));if(l.length===0&&b.length===0)return X(new ut(m,[]));let p=Lt(t)===o;return this.processSegment(c,l,g,b,p?le:o,!0).pipe(ee(h=>new ut(m,h instanceof ut?[h]:[])))}))):rn(r)))}getChildConfig(e,r,t){return r.children?X({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?X({routes:r._loadedRoutes,injector:r._loadedInjector}):vb(e,r,t,this.urlSerializer).pipe(ht(n=>n?this.configLoader.loadChildren(e,r).pipe(Fe(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):wb(r))):X({routes:[],injector:e})}};function Rb(i){i.sort((e,r)=>e.value.outlet===le?-1:r.value.outlet===le?1:e.value.outlet.localeCompare(r.value.outlet))}function Ob(i){let e=i.value.routeConfig;return e&&e.path===""}function Eu(i){let e=[],r=new Set;for(let t of i){if(!Ob(t)){e.push(t);continue}let n=e.find(o=>t.value.routeConfig===o.value.routeConfig);n!==void 0?(n.children.push(...t.children),r.add(n)):e.push(t)}for(let t of r){let n=Eu(t.children);e.push(new ut(t.value,n))}return e.filter(t=>!r.has(t))}function Fb(i){return i.data||{}}function Pb(i){return i.resolve||{}}function Nb(i,e,r,t,n,o){return ht(s=>kb(i,e,r,t,s.extractedUrl,n,o).pipe(ee(({state:a,tree:l})=>pe(F({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function Lb(i,e){return ht(r=>{let{targetSnapshot:t,guards:{canActivateChecks:n}}=r;if(!n.length)return X(r);let o=new Set(n.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of Su(l))s.add(c);let a=0;return Xe(s).pipe(wi(l=>o.has(l)?zb(l,t,i,e):(l.data=Ma(l,l.parent,i).resolve,X(void 0))),Fe(()=>a++),fs(1),ht(l=>a===s.size?X(r):Jt))})}function Su(i){let e=i.children.map(r=>Su(r)).flat();return[i,...e]}function zb(i,e,r,t){let n=i.routeConfig,o=i._resolve;return n?.title!==void 0&&!bu(n)&&(o[sr]=n.title),jb(o,i,e,t).pipe(ee(s=>(i._resolvedData=s,i.data=Ma(i,i.parent,r).resolve,null)))}function jb(i,e,r,t){let n=ia(i);if(n.length===0)return X({});let o={};return Xe(n).pipe(ht(s=>Vb(i[s],e,r,t).pipe(ti(),Fe(a=>{o[s]=a}))),fs(1),ic(o),At(s=>xu(s)?Jt:yi(s)))}function Vb(i,e,r,t){let n=ar(e)??t,o=fn(i,n),s=o.resolve?o.resolve(e,r):Bt(n,()=>o(e,r));return pi(s)}function ea(i){return Qe(e=>{let r=i(e);return r?Xe(r).pipe(ee(()=>e)):X(e)})}var Tu=(()=>{let e=class e{buildTitle(t){let n,o=t.root;for(;o!==void 0;)n=this.getResolvedTitleForRoute(o)??n,o=o.children.find(s=>s.outlet===le);return n}getResolvedTitleForRoute(t){return t.data[sr]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:()=>N(Bb),providedIn:"root"});let i=e;return i})(),Bb=(()=>{let e=class e extends Tu{constructor(t){super(),this.title=t}updateTitle(t){let n=this.buildTitle(t);n!==void 0&&this.title.setTitle(n)}};e.\u0275fac=function(n){return new(n||e)(R(rd))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Pa=new Y("",{providedIn:"root",factory:()=>({})}),Na=new Y(""),Hb=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=N(ws)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return X(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let n=pi(t.loadComponent()).pipe(ee(Du),Fe(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),Rt(()=>{this.componentLoaders.delete(t)})),o=new Cn(n,()=>new J).pipe(cs());return this.componentLoaders.set(t,o),o}loadChildren(t,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return X({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let s=Ub(n,this.compiler,t,this.onLoadEndListener).pipe(Rt(()=>{this.childrenLoaders.delete(n)})),a=new Cn(s,()=>new J).pipe(cs());return this.childrenLoaders.set(n,a),a}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Ub(i,e,r,t){return pi(i.loadChildren()).pipe(ee(Du),ht(n=>n instanceof yc||Array.isArray(n)?X(n):Xe(e.compileModuleAsync(n))),ee(n=>{t&&t(i);let o,s,a=!1;return Array.isArray(n)?(s=n,a=!0):(o=n.create(r).injector,s=o.get(Na,[],{optional:!0,self:!0}).flat()),{routes:s.map(Oa),injector:o}}))}function $b(i){return i&&typeof i=="object"&&"default"in i}function Du(i){return $b(i)?i.default:i}var La=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:()=>N(Wb),providedIn:"root"});let i=e;return i})(),Wb=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Gb=new Y("");var Yb=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new J,this.transitionAbortSubject=new J,this.configLoader=N(Hb),this.environmentInjector=N(Yi),this.urlSerializer=N(Ia),this.rootContexts=N(ho),this.location=N(Ki),this.inputBindingEnabled=N(Ra,{optional:!0})!==null,this.titleStrategy=N(Tu),this.options=N(Pa,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=N(La),this.createViewTransition=N(Gb,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>X(void 0),this.rootComponentType=null;let t=o=>this.events.next(new ua(o)),n=o=>this.events.next(new fa(o));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=t}complete(){this.transitions?.complete()}handleNavigationRequest(t){let n=++this.navigationId;this.transitions?.next(pe(F(F({},this.transitions.value),t),{id:n}))}setupNavigations(t,n,o){return this.transitions=new We({id:0,currentUrlTree:n,currentRawUrl:n,extractedUrl:this.urlHandlingStrategy.extract(n),urlAfterRedirects:this.urlHandlingStrategy.extract(n),rawUrl:n,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Zn,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ue(s=>s.id!==0),ee(s=>pe(F({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Qe(s=>{let a=!1,l=!1;return X(s).pipe(Qe(c=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",ft.SupersededByNewNavigation),Jt;this.currentTransition=s,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?pe(F({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let d=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=c.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!d&&u!=="reload"){let f="";return this.events.next(new Oi(c.id,this.urlSerializer.serialize(c.rawUrl),f,sa.IgnoredSameUrlNavigation)),c.resolve(null),Jt}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return X(c).pipe(Qe(f=>{let m=this.transitions?.getValue();return this.events.next(new Jn(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),m!==this.transitions?.getValue()?Jt:Promise.resolve(f)}),Nb(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),Fe(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=pe(F({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let m=new so(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(m)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:m,source:g,restoredState:b,extras:p}=c,h=new Jn(f,this.urlSerializer.serialize(m),g,b);this.events.next(h);let _=pu(this.rootComponentType).snapshot;return this.currentTransition=s=pe(F({},c),{targetSnapshot:_,urlAfterRedirects:m,extras:pe(F({},p),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=m,X(s)}else{let f="";return this.events.next(new Oi(c.id,this.urlSerializer.serialize(c.extractedUrl),f,sa.IgnoredByUrlHandlingStrategy)),c.resolve(null),Jt}}),Fe(c=>{let d=new aa(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),ee(c=>(this.currentTransition=s=pe(F({},c),{guards:eb(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),db(this.environmentInjector,c=>this.events.next(c)),Fe(c=>{if(s.guardsResult=c.guardsResult,cn(c.guardsResult))throw _u(this.urlSerializer,c.guardsResult);let d=new la(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(d)}),Ue(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",ft.GuardRejected),!1)),ea(c=>{if(c.guards.canActivateChecks.length)return X(c).pipe(Fe(d=>{let u=new ca(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),Qe(d=>{let u=!1;return X(d).pipe(Lb(this.paramsInheritanceStrategy,this.environmentInjector),Fe({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",ft.NoDataFromResolver)}}))}),Fe(d=>{let u=new da(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),ea(c=>{let d=u=>{let f=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(u.routeConfig).pipe(Fe(m=>{u.component=m}),ee(()=>{})));for(let m of u.children)f.push(...d(m));return f};return En(d(c.targetSnapshot.root)).pipe(us(null),Ge(1))}),ea(()=>this.afterPreactivation()),Qe(()=>{let{currentSnapshot:c,targetSnapshot:d}=s,u=this.createViewTransition?.(this.environmentInjector,c.root,d.root);return u?Xe(u).pipe(ee(()=>s)):X(s)}),ee(c=>{let d=Gg(t.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=pe(F({},c),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,s}),Fe(()=>{this.events.next(new tr)}),Jg(this.rootContexts,t.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Ge(1),Fe({next:c=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ri(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Ce(this.transitionAbortSubject.pipe(Fe(c=>{throw c}))),Rt(()=>{!a&&!l&&this.cancelNavigationTransition(s,"",ft.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),At(c=>{if(l=!0,wu(c))this.events.next(new mi(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),Xg(c)?this.events.next(new ir(c.url)):s.resolve(!1);else{this.events.next(new er(s.id,this.urlSerializer.serialize(s.extractedUrl),c,s.targetSnapshot??void 0));try{s.resolve(t.errorHandler(c))}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return Jt}))}))}cancelNavigationTransition(t,n,o){let s=new mi(t.id,this.urlSerializer.serialize(t.extractedUrl),n,o);this.events.next(s),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function qb(i){return i!==Zn}var Xb=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:()=>N(Zb),providedIn:"root"});let i=e;return i})(),Da=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},Zb=(()=>{let e=class e extends Da{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=$e(e)))(o||e)}})(),e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Iu=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:()=>N(Kb),providedIn:"root"});let i=e;return i})(),Kb=(()=>{let e=class e extends Iu{constructor(){super(...arguments),this.location=N(Ki),this.urlSerializer=N(Ia),this.options=N(Pa,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=N(La),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new hi,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=pu(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(n=>{n.type==="popstate"&&t(n.url,n.state)})}handleRouterEvent(t,n){if(t instanceof Jn)this.stateMemento=this.createStateMemento();else if(t instanceof Oi)this.rawUrlTree=n.initialUrl;else if(t instanceof so){if(this.urlUpdateStrategy==="eager"&&!n.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl);this.setBrowserUrl(o,n)}}else t instanceof tr?(this.currentUrlTree=n.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(n.finalUrl,n.initialUrl),this.routerState=n.targetRouterState,this.urlUpdateStrategy==="deferred"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,n))):t instanceof mi&&(t.code===ft.GuardRejected||t.code===ft.NoDataFromResolver)?this.restoreHistory(n):t instanceof er?this.restoreHistory(n,!0):t instanceof Ri&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,n){let o=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(o)||n.extras.replaceUrl){let s=this.browserPageId,a=F(F({},n.extras.state),this.generateNgRouterState(n.id,s));this.location.replaceState(o,"",a)}else{let s=F(F({},n.extras.state),this.generateNgRouterState(n.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(t,n=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===t.finalUrl&&s===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,n){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:n}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=$e(e)))(o||e)}})(),e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),qn=function(i){return i[i.COMPLETE=0]="COMPLETE",i[i.FAILED=1]="FAILED",i[i.REDIRECTING=2]="REDIRECTING",i}(qn||{});function Qb(i,e){i.events.pipe(Ue(r=>r instanceof Ri||r instanceof mi||r instanceof er||r instanceof Oi),ee(r=>r instanceof Ri||r instanceof Oi?qn.COMPLETE:(r instanceof mi?r.code===ft.Redirect||r.code===ft.SupersededByNewNavigation:!1)?qn.REDIRECTING:qn.FAILED),Ue(r=>r!==qn.REDIRECTING),Ge(1)).subscribe(()=>{e()})}function Jb(i){throw i}var ev={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},tv={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Mu=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=N(Fr),this.stateManager=N(Iu),this.options=N(Pa,{optional:!0})||{},this.pendingTasks=N(Rr),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=N(Yb),this.urlSerializer=N(Ia),this.location=N(Ki),this.urlHandlingStrategy=N(La),this._events=new J,this.errorHandler=this.options.errorHandler||Jb,this.navigated=!1,this.routeReuseStrategy=N(Xb),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=N(Na,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!N(Ra,{optional:!0}),this.eventsSubscription=new Ke,this.isNgZoneEnabled=N(Q)instanceof Q&&Q.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(n=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(n,s),n instanceof mi&&n.code!==ft.Redirect&&n.code!==ft.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof Ri)this.navigated=!0;else if(n instanceof ir){let a=this.urlHandlingStrategy.merge(n.url,o.currentRawUrl),l={info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||qb(o.source)};this.scheduleNavigation(a,Zn,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}nv(n)&&this._events.next(n)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Zn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,n)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(t,"popstate",n)},0)})}navigateToSyncWithBrowser(t,n,o){let s={replaceUrl:!0},a=o?.navigationId?o:null;if(o){let c=F({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let l=this.parseUrl(t);this.scheduleNavigation(l,n,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Oa),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,n={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:c}=n,d=c?this.currentUrlTree.fragment:a,u=null;switch(l){case"merge":u=F(F({},this.currentUrlTree.queryParams),s);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=s||null}u!==null&&(u=this.removeEmptyProps(u));let f;try{let m=o?o.snapshot:this.routerState.snapshot.root;f=uu(m)}catch{(typeof t[0]!="string"||!t[0].startsWith("/"))&&(t=[]),f=this.currentUrlTree.root}return fu(f,t,u,d??null)}navigateByUrl(t,n={skipLocationChange:!1}){let o=cn(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,Zn,null,n)}navigate(t,n={skipLocationChange:!1}){return iv(t),this.navigateByUrl(this.createUrlTree(t,n),n)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,n){let o;if(n===!0?o=F({},ev):n===!1?o=F({},tv):o=n,cn(t))return Zd(this.currentUrlTree,t,o);let s=this.parseUrl(t);return Zd(this.currentUrlTree,s,o)}removeEmptyProps(t){return Object.entries(t).reduce((n,[o,s])=>(s!=null&&(n[o]=s),n),{})}scheduleNavigation(t,n,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,c,d;a?(l=a.resolve,c=a.reject,d=a.promise):d=new Promise((f,m)=>{l=f,c=m});let u=this.pendingTasks.add();return Qb(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:s,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(f=>Promise.reject(f))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function iv(i){for(let e=0;er.\u0275providers)])}function ov(i){return i.routerState.root}function sv(){let i=N(Et);return e=>{let r=i.get(Ot);if(e!==r.components[0])return;let t=i.get(Mu),n=i.get(av);i.get(lv)===1&&t.initialNavigation(),i.get(cv,null,ms.Optional)?.setUpPreloading(),i.get(rv,null,ms.Optional)?.init(),t.resetRootComponentType(r.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe())}}var av=new Y("",{factory:()=>new J}),lv=new Y("",{providedIn:"root",factory:()=>1});var cv=new Y("");var dv=new Y("cdk-dir-doc",{providedIn:"root",factory:uv});function uv(){return N(te)}var fv=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function hv(i){let e=i?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?fv.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var Xt=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new Ee,t){let n=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.value=hv(n||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(n){return new(n||e)(R(dv,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var gi=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({});let i=e;return i})();var ja;try{ja=typeof Intl<"u"&&Intl.v8BreakIterator}catch{ja=!1}var ze=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?zc(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||ja)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(n){return new(n||e)(R(Ht))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var cr;function mv(){if(cr==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>cr=!0}))}finally{cr=cr||!1}return cr}function hn(i){return mv()?i:!!i.capture}var Fi;function Au(){if(Fi==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Fi=!1,Fi;if("scrollBehavior"in document.documentElement.style)Fi=!0;else{let i=Element.prototype.scrollTo;i?Fi=!/\{\s*\[native code\]\s*\}/.test(i.toString()):Fi=!1}}return Fi}var za;function pv(){if(za==null){let i=typeof document<"u"?document.head:null;za=!!(i&&(i.createShadowRoot||i.attachShadow))}return za}function Ru(i){if(pv()){let e=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Mt(i){return i.composedPath?i.composedPath()[0]:i.target}function dr(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Va=class{constructor(e){this._box=e,this._destroyed=new J,this._resizeSubject=new J,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(r=>this._resizeSubject.next(r)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new jt(r=>{let t=this._resizeSubject.subscribe(r);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),t.unsubscribe(),this._elementObservables.delete(e)}}).pipe(Ue(r=>r.some(t=>t.target===e)),hs({bufferSize:1,refCount:!0}),Ce(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Ou=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=N(Q),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,t]of this._observers)t.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(t,n){let o=n?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new Va(o)),this._observers.get(o).observe(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Ba(i){return i!=null&&`${i}`!="false"}function mn(i){return Array.isArray(i)?i:[i]}function Be(i){return i==null?"":typeof i=="string"?i:`${i}px`}function Zt(i){return i instanceof re?i.nativeElement:i}var gv=(()=>{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Fu=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({providers:[gv]});let i=e;return i})();function Kt(i,...e){return e.length?e.some(r=>i[r]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}var Pu=new Set,Pi,bv=(()=>{let e=class e{constructor(t,n){this._platform=t,this._nonce=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):_v}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&vv(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(n){return new(n||e)(R(ze),R(kn,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function vv(i,e){if(!Pu.has(i))try{Pi||(Pi=document.createElement("style"),e&&Pi.setAttribute("nonce",e),Pi.setAttribute("type","text/css"),document.head.appendChild(Pi)),Pi.sheet&&(Pi.sheet.insertRule(`@media ${i} {body{ }}`,0),Pu.add(i))}catch(r){console.error(r)}}function _v(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var Lu=(()=>{let e=class e{constructor(t,n){this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new J}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Nu(mn(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=Nu(mn(t)).map(a=>this._registerQuery(a).observable),s=En(o);return s=Sr(s.pipe(Ge(1)),s.pipe(Dr(1),Tr(0))),s.pipe(ee(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let n=this._mediaMatcher.matchMedia(t),s={observable:new jt(a=>{let l=c=>this._zone.run(()=>a.next(c));return n.addListener(l),()=>{n.removeListener(l)}}).pipe(ii(n),ee(({matches:a})=>({query:t,matches:a})),Ce(this._destroySubject)),mql:n};return this._queries.set(t,s),s}};e.\u0275fac=function(n){return new(n||e)(R(bv),R(Q))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Nu(i){return i.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var Vu=" ";function Bu(i,e,r){let t=Hu(i,e);r=r.trim(),!t.some(n=>n.trim()===r)&&(t.push(r),i.setAttribute(e,t.join(Vu)))}function Ya(i,e,r){let t=Hu(i,e);r=r.trim();let n=t.filter(o=>o!==r);n.length?i.setAttribute(e,n.join(Vu)):i.removeAttribute(e)}function Hu(i,e){return i.getAttribute(e)?.match(/\S+/g)??[]}var Ua=class{constructor(e,r){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new J,this._typeaheadSubscription=Ke.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new J,this.change=new J,e instanceof ps?this._itemChangesSubscription=e.changes.subscribe(t=>this._itemsChanged(t.toArray())):_s(e)&&(this._effectRef=Ac(()=>this._itemsChanged(e()),{injector:r}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Fe(r=>this._pressedLetters.push(r)),Tr(e),Ue(()=>this._pressedLetters.length>0),ee(()=>this._pressedLetters.join(""))).subscribe(r=>{let t=this._getItemsArray();for(let n=1;n!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&n){this.setNextItemActive();break}else return;case 38:if(this._vertical&&n){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&n){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&n){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&n){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let r=this._getItemsArray(),t=typeof e=="number"?e:r.indexOf(e),n=r[t];this._activeItem=n??null,this._activeItemIndex=t}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let t=1;t<=r.length;t++){let n=(this._activeItemIndex+e*t+r.length)%r.length,o=r[n];if(!this._skipPredicateFn(o)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let t=this._getItemsArray();if(t[e]){for(;this._skipPredicateFn(t[e]);)if(e+=r,!t[e])return;this.setActiveItem(e)}}_getItemsArray(){return _s(this._items)?this._items():this._items instanceof ps?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let r=e.indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}},vo=class extends Ua{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}};function qa(i){return i.buttons===0||i.detail===0}function Xa(i){let e=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var Ov=new Y("cdk-input-modality-detector-options"),Fv={ignoreKeys:[18,17,224,91,16]},Uu=650,pn=hn({passive:!0,capture:!0}),Pv=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(t,n,o,s){this._platform=t,this._mostRecentTarget=null,this._modality=new We(null),this._lastTouchMs=0,this._onKeydown=a=>{this._options?.ignoreKeys?.some(l=>l===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Mt(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(Xa(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Mt(a)},this._options=F(F({},Fv),s),this.modalityDetected=this._modality.pipe(Dr(1)),this.modalityChanged=this.modalityDetected.pipe(Tn()),t.isBrowser&&n.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,pn),o.addEventListener("mousedown",this._onMousedown,pn),o.addEventListener("touchstart",this._onTouchstart,pn)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,pn),document.removeEventListener("mousedown",this._onMousedown,pn),document.removeEventListener("touchstart",this._onTouchstart,pn))}};e.\u0275fac=function(n){return new(n||e)(R(ze),R(Q),R(te),R(Ov,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Nv=new Y("liveAnnouncerElement",{providedIn:"root",factory:Lv});function Lv(){return null}var zv=new Y("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),jv=0,$u=(()=>{let e=class e{constructor(t,n,o,s){this._ngZone=n,this._defaultOptions=s,this._document=o,this._liveElement=t||this._createLiveElement()}announce(t,...n){let o=this._defaultOptions,s,a;return n.length===1&&typeof n[0]=="number"?a=n[0]:[s,a]=n,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let t="cdk-live-announcer-element",n=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let e=class e{constructor(t,n,o,s,a){this._ngZone=t,this._platform=n,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new J,this._rootNodeFocusAndBlurListener=l=>{let c=Mt(l);for(let d=c;d;d=d.parentElement)l.type==="focus"?this._onFocus(l,d):this._onBlur(l,d)},this._document=s,this._detectionMode=a?.detectionMode||bo.IMMEDIATE}monitor(t,n=!1){let o=Zt(t);if(!this._platform.isBrowser||o.nodeType!==1)return X();let s=Ru(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return n&&(a.checkChildren=!0),a.subject;let l={checkChildren:n,subject:new J,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(t){let n=Zt(t),o=this._elementInfo.get(n);o&&(o.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(o))}focusVia(t,n,o){let s=Zt(t),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([l,c])=>this._originChanged(l,n,c)):(this._setOrigin(n),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((t,n)=>this.stopMonitoring(n))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===bo.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,n){t.classList.toggle("cdk-focused",!!n),t.classList.toggle("cdk-touch-focused",n==="touch"),t.classList.toggle("cdk-keyboard-focused",n==="keyboard"),t.classList.toggle("cdk-mouse-focused",n==="mouse"),t.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(t,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&n,this._detectionMode===bo.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Uu:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,n){let o=this._elementInfo.get(n),s=Mt(t);!o||!o.checkChildren&&n!==s||this._originChanged(n,this._getFocusOrigin(s),o)}_onBlur(t,n){let o=this._elementInfo.get(n);!o||o.checkChildren&&t.relatedTarget instanceof Node&&n.contains(t.relatedTarget)||(this._setClasses(n),this._emitOrigin(o,null))}_emitOrigin(t,n){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(n))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let n=t.rootNode,o=this._rootNodeFocusListenerCount.get(n)||0;o||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,go),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,go)}),this._rootNodeFocusListenerCount.set(n,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ce(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(t){let n=t.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let o=this._rootNodeFocusListenerCount.get(n);o>1?this._rootNodeFocusListenerCount.set(n,o-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,go),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,go),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,n,o){this._setClasses(t,n),this._emitOrigin(o,n),this._lastFocusOrigin=n}_getClosestElementsInfo(t){let n=[];return this._elementInfo.forEach((o,s)=>{(s===t||o.checkChildren&&s.contains(t))&&n.push([s,o])}),n}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:n,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!n||n===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let s=t.labels;if(s){for(let a=0;a{let e=class e{constructor(t,n){this._platform=t,this._document=n,this._breakpointSubscription=N(Lu).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Ni.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let n=this._document.defaultView||window,o=n&&n.getComputedStyle?n.getComputedStyle(t):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Ni.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Ni.BLACK_ON_WHITE}return Ni.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(Ha,zu,ju),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===Ni.BLACK_ON_WHITE?t.add(Ha,zu):n===Ni.WHITE_ON_BLACK&&t.add(Ha,ju)}}};e.\u0275fac=function(n){return new(n||e)(R(ze),R(te))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Hv=["text"],Uv=[[["mat-icon"]],"*"],$v=["mat-icon","*"];function Wv(i,e){if(i&1&&ue(0,"mat-pseudo-checkbox",1),i&2){let r=de();oe("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function Gv(i,e){if(i&1&&ue(0,"mat-pseudo-checkbox",3),i&2){let r=de();oe("disabled",r.disabled)}}function Yv(i,e){if(i&1&&(j(0,"span",4),_e(1),$()),i&2){let r=de();V(),st("(",r.group.label,")")}}function qv(){return!0}var Xv=new Y("mat-sanity-checks",{providedIn:"root",factory:qv}),je=(()=>{let e=class e{constructor(t,n,o){this._sanityChecks=n,this._document=o,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return dr()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}};e.\u0275fac=function(n){return new(n||e)(R(Gu),R(Xv,8),R(te))},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({imports:[gi,gi]});let i=e;return i})();var fr=class{constructor(e,r,t,n,o){this._defaultMatcher=e,this.ngControl=r,this._parentFormGroup=t,this._parentForm=n,this._stateChanges=o,this.errorState=!1}updateErrorState(){let e=this.errorState,r=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,n=this.ngControl?this.ngControl.control:null,o=t?.isErrorState(n,r)??!1;o!==e&&(this.errorState=o,this._stateChanges.next())}};var nf=(()=>{let e=class e{isErrorState(t,n){return!!(t&&t.invalid&&(t.touched||n&&n.submitted))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Ct=function(i){return i[i.FADING_IN=0]="FADING_IN",i[i.VISIBLE=1]="VISIBLE",i[i.FADING_OUT=2]="FADING_OUT",i[i.HIDDEN=3]="HIDDEN",i}(Ct||{}),Qa=class{constructor(e,r,t,n=!1){this._renderer=e,this.element=r,this.config=t,this._animationForciblyDisabledThroughCss=n,this.state=Ct.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},qu=hn({passive:!0,capture:!0}),Ja=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let r=Mt(e);r&&this._events.get(e.type)?.forEach((t,n)=>{(n===r||n.contains(r))&&t.forEach(o=>o.handleEvent(e))})}}addHandler(e,r,t,n){let o=this._events.get(r);if(o){let s=o.get(t);s?s.add(n):o.set(t,new Set([n]))}else this._events.set(r,new Map([[t,new Set([n])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,qu)})}removeHandler(e,r,t){let n=this._events.get(e);if(!n)return;let o=n.get(r);o&&(o.delete(t),o.size===0&&n.delete(r),n.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,qu)))}},Xu={enterDuration:225,exitDuration:150},Zv=800,Zu=hn({passive:!0,capture:!0}),Ku=["mousedown","touchstart"],Qu=["mouseup","mouseleave","touchend","touchcancel"],ur=class ur{constructor(e,r,t,n){this._target=e,this._ngZone=r,this._platform=n,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=Zt(t))}fadeInRipple(e,r,t={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=F(F({},Xu),t.animation);t.centered&&(e=n.left+n.width/2,r=n.top+n.height/2);let s=t.radius||Kv(e,r,n),a=e-n.left,l=r-n.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,t.color!=null&&(d.style.backgroundColor=t.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),f=u.transitionProperty,m=u.transitionDuration,g=f==="none"||m==="0s"||m==="0s, 0s"||n.width===0&&n.height===0,b=new Qa(this,d,t,g);d.style.transform="scale3d(1, 1, 1)",b.state=Ct.FADING_IN,t.persistent||(this._mostRecentTransientRipple=b);let p=null;return!g&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let h=()=>this._finishRippleTransition(b),_=()=>this._destroyRipple(b);d.addEventListener("transitionend",h),d.addEventListener("transitioncancel",_),p={onTransitionEnd:h,onTransitionCancel:_}}),this._activeRipples.set(b,p),(g||!c)&&this._finishRippleTransition(b),b}fadeOutRipple(e){if(e.state===Ct.FADING_OUT||e.state===Ct.HIDDEN)return;let r=e.element,t=F(F({},Xu),e.config.animation);r.style.transitionDuration=`${t.exitDuration}ms`,r.style.opacity="0",e.state=Ct.FADING_OUT,(e._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=Zt(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,Ku.forEach(t=>{ur._eventManager.addHandler(this._ngZone,t,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Qu.forEach(r=>{this._triggerElement.addEventListener(r,this,Zu)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===Ct.FADING_IN?this._startFadeOutTransition(e):e.state===Ct.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:t}=e.config;e.state=Ct.VISIBLE,!t&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=Ct.HIDDEN,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel)),e.element.remove()}_onMousedown(e){let r=qa(e),t=this._lastTouchStartEvent&&Date.now(){let r=e.state===Ct.VISIBLE||e.config.terminateOnPointerUp&&e.state===Ct.FADING_IN;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(Ku.forEach(r=>ur._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&Qu.forEach(r=>e.removeEventListener(r,this,Zu)))}};ur._eventManager=new Ja;var el=ur;function Kv(i,e,r){let t=Math.max(Math.abs(i-r.left),Math.abs(i-r.right)),n=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(t*t+n*n)}var rf=new Y("mat-ripple-global-options"),of=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,n,o,s,a){this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new el(this,n,t,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:F(F(F({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,n=0,o){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,n,F(F({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,F(F({},this.rippleConfig),t))}};e.\u0275fac=function(n){return new(n||e)(E(re),E(Q),E(ze),E(rf,8),E(ot,8))},e.\u0275dir=Z({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,o){n&2&&ke("mat-ripple-unbounded",o.unbounded)},inputs:{color:[L.None,"matRippleColor","color"],unbounded:[L.None,"matRippleUnbounded","unbounded"],centered:[L.None,"matRippleCentered","centered"],radius:[L.None,"matRippleRadius","radius"],animation:[L.None,"matRippleAnimation","animation"],disabled:[L.None,"matRippleDisabled","disabled"],trigger:[L.None,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let i=e;return i})(),il=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({imports:[je,je]});let i=e;return i})(),Qv=(()=>{let e=class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(n){return new(n||e)(E(ot,8))},e.\u0275cmp=ge({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,o){n&2&&ke("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[be],decls:0,vars:0,template:function(n,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let i=e;return i})(),Jv=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({imports:[je]});let i=e;return i})(),nl=new Y("MAT_OPTION_PARENT_COMPONENT");var rl=new Y("MatOptgroup");var e0=0,tl=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},Eo=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,n,o,s){this._element=t,this._changeDetectorRef=n,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id=`mat-option-${e0++}`,this.onSelectionChange=new Ee,this._stateChanges=new J}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,n){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(n)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){(t.keyCode===13||t.keyCode===32)&&!Kt(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new tl(this,t))}};e.\u0275fac=function(n){return new(n||e)(E(re),E(at),E(nl,8),E(rl,8))},e.\u0275cmp=ge({type:e,selectors:[["mat-option"]],viewQuery:function(n,o){if(n&1&&qe(Hv,7),n&2){let s;fe(s=he())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,o){n&1&&Ne("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),n&2&&(Fn("id",o.id),Me("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),ke("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[L.HasDecoratorInputTransform,"disabled","disabled",me]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[Pe,be],ngContentSelectors:$v,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(n,o){n&1&&(et(Uv),ce(0,Wv,1,2,"mat-pseudo-checkbox",1),ve(1),j(2,"span",2,0),ve(4,1),$(),ce(5,Gv,1,1,"mat-pseudo-checkbox",3)(6,Yv,2,1,"span",4),ue(7,"div",5)),n&2&&(we(0,o.multiple?0:-1),V(5),we(5,!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),V(),we(6,o.group&&o.group._inert?6:-1),V(),oe("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[Qv,of],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let i=e;return i})();function sf(i,e,r){if(r.length){let t=e.toArray(),n=r.toArray(),o=0;for(let s=0;sr+t?Math.max(0,i-t+e):r}var ol=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({imports:[il,je,Jv]});let i=e;return i})(),Ju={capture:!0},ef=["focus","click","mouseenter","touchstart"],Za="mat-ripple-loader-uninitialized",Ka="mat-ripple-loader-class-name",tf="mat-ripple-loader-centered",wo="mat-ripple-loader-disabled",lf=(()=>{let e=class e{constructor(){this._document=N(te,{optional:!0}),this._animationMode=N(ot,{optional:!0}),this._globalRippleOptions=N(rf,{optional:!0}),this._platform=N(ze),this._ngZone=N(Q),this._hosts=new Map,this._onInteraction=t=>{if(!(t.target instanceof HTMLElement))return;let o=t.target.closest(`[${Za}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let t of ef)this._document?.addEventListener(t,this._onInteraction,Ju)})}ngOnDestroy(){let t=this._hosts.keys();for(let n of t)this.destroyRipple(n);for(let n of ef)this._document?.removeEventListener(n,this._onInteraction,Ju)}configureRipple(t,n){t.setAttribute(Za,""),(n.className||!t.hasAttribute(Ka))&&t.setAttribute(Ka,n.className||""),n.centered&&t.setAttribute(tf,""),n.disabled&&t.setAttribute(wo,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,n){let o=this._hosts.get(t);if(o){o.disabled=n;return}n?t.setAttribute(wo,""):t.removeAttribute(wo)}_createRipple(t){if(!this._document)return;let n=this._hosts.get(t);if(n)return n;t.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",t.getAttribute(Ka)),t.append(o);let s=new of(new re(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=t,s.centered=t.hasAttribute(tf),s.disabled=t.hasAttribute(wo),this.attachRipple(t,s),s}attachRipple(t,n){t.removeAttribute(Za),this._hosts.set(t,n)}destroyRipple(t){let n=this._hosts.get(t);n&&(n.ngOnDestroy(),this._hosts.delete(t))}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var t0=["notch"],i0=["matFormFieldNotchedOutline",""],n0=["*"],r0=["textField"],o0=["iconPrefixContainer"],s0=["textPrefixContainer"],a0=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],l0=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function c0(i,e){i&1&&ue(0,"span",17)}function d0(i,e){if(i&1&&(j(0,"label",16),ve(1,1),ce(2,c0,1,0,"span",17),$()),i&2){let r=de(2);oe("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),Me("for",r._control.id),V(2),we(2,!r.hideRequiredMarker&&r._control.required?2:-1)}}function u0(i,e){if(i&1&&ce(0,d0,3,5,"label",16),i&2){let r=de();we(0,r._hasFloatingLabel()?0:-1)}}function f0(i,e){i&1&&ue(0,"div",5)}function h0(i,e){}function m0(i,e){if(i&1&&ce(0,h0,0,0,"ng-template",11),i&2){de(2);let r=Ci(1);oe("ngTemplateOutlet",r)}}function p0(i,e){if(i&1&&(j(0,"div",7),ce(1,m0,1,1,null,11),$()),i&2){let r=de();oe("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),V(),we(1,r._forceDisplayInfixLabel()?-1:1)}}function g0(i,e){i&1&&(j(0,"div",8,2),ve(2,2),$())}function b0(i,e){i&1&&(j(0,"div",9,3),ve(2,3),$())}function v0(i,e){}function _0(i,e){if(i&1&&ce(0,v0,0,0,"ng-template",11),i&2){de();let r=Ci(1);oe("ngTemplateOutlet",r)}}function y0(i,e){i&1&&(j(0,"div",12),ve(1,4),$())}function w0(i,e){i&1&&(j(0,"div",13),ve(1,5),$())}function x0(i,e){i&1&&ue(0,"div",14)}function C0(i,e){if(i&1&&(j(0,"div",18),ve(1,6),$()),i&2){let r=de();oe("@transitionMessages",r._subscriptAnimationState)}}function E0(i,e){if(i&1&&(j(0,"mat-hint",20),_e(1),$()),i&2){let r=de(2);oe("id",r._hintLabelId),V(),vt(r.hintLabel)}}function S0(i,e){if(i&1&&(j(0,"div",19),ce(1,E0,2,2,"mat-hint",20),ve(2,7),ue(3,"div",21),ve(4,8),$()),i&2){let r=de();oe("@transitionMessages",r._subscriptAnimationState),V(),we(1,r.hintLabel?1:-1)}}var To=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Z({type:e,selectors:[["mat-label"]],standalone:!0});let i=e;return i})();var T0=new Y("MatError");var D0=0,df=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${D0++}`}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Z({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(n,o){n&2&&(Fn("id",o.id),Me("align",null),ke("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let i=e;return i})(),I0=new Y("MatPrefix");var M0=new Y("MatSuffix");var vf=new Y("FloatingLabelParent"),uf=(()=>{let e=class e{get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(t){this._elementRef=t,this._floating=!1,this._monitorResize=!1,this._resizeObserver=N(Ou),this._ngZone=N(Q),this._parent=N(vf),this._resizeSubscription=new Ke}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return k0(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};e.\u0275fac=function(n){return new(n||e)(E(re))},e.\u0275dir=Z({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(n,o){n&2&&ke("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let i=e;return i})();function k0(i){let e=i;if(e.offsetParent!==null)return e.scrollWidth;let r=e.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);let t=r.scrollWidth;return r.remove(),t}var ff="mdc-line-ripple--active",So="mdc-line-ripple--deactivating",hf=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains(So);o.propertyName==="opacity"&&a&&s.remove(ff,So)},n.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let t=this._elementRef.nativeElement.classList;t.remove(So),t.add(ff)}deactivate(){this._elementRef.nativeElement.classList.add(So)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(n){return new(n||e)(E(re),E(Q))},e.\u0275dir=Z({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let i=e;return i})(),mf=(()=>{let e=class e{constructor(t,n){this._elementRef=t,this._ngZone=n,this.open=!1}ngAfterViewInit(){let t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){!this.open||!t?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${t}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}};e.\u0275fac=function(n){return new(n||e)(E(re),E(Q))},e.\u0275cmp=ge({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(n,o){if(n&1&&qe(t0,5),n&2){let s;fe(s=he())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(n,o){n&2&&ke("mdc-notched-outline--notched",o.open)},inputs:{open:[L.None,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[be],attrs:i0,ngContentSelectors:n0,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(n,o){n&1&&(et(),ue(0,"div",1),j(1,"div",2,0),ve(3),$(),ue(4,"div",3))},encapsulation:2,changeDetection:0});let i=e;return i})(),A0={transitionMessages:Si("transitionMessages",[li("enter",Tt({opacity:1,transform:"translateY(0%)"})),Gt("void => enter",[Tt({opacity:0,transform:"translateY(-5px)"}),ai("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Do=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Z({type:e});let i=e;return i})();var Io=new Y("MatFormField"),R0=new Y("MAT_FORM_FIELD_DEFAULT_OPTIONS"),pf=0,gf="fill",O0="auto",bf="fixed",F0="translateY(-50%)",_f=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Ba(t)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||O0}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){let n=this._appearance,o=t||this._defaults?.appearance||gf;this._appearance=o,this._appearance==="outline"&&this._appearance!==n&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||bf}set subscriptSizing(t){this._subscriptSizing=t||this._defaults?.subscriptSizing||bf}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,n,o,s,a,l,c,d){this._elementRef=t,this._changeDetectorRef=n,this._ngZone=o,this._dir=s,this._platform=a,this._defaults=l,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance=gf,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${pf++}`,this._hintLabelId=`mat-mdc-hint-${pf++}`,this._subscriptAnimationState="",this._destroyed=new J,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${t.controlType}`),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Ce(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),ei(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Ce(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(Ce(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(t){let n=this._control?this._control.ngControl:null;return n&&n[t]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&t.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let n=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;n?t.push(n.id):this._hintLabel&&t.push(this._hintLabelId),o&&t.push(o.id)}else this._errorChildren&&t.push(...this._errorChildren.map(n=>n.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let t=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){t.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let n=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,s=n?.getBoundingClientRect().width??0,a=o?.getBoundingClientRect().width??0,l=this._dir.value==="rtl"?"-1":"1",c=`${s+a}px`,u=`calc(${l} * (${c} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;t.style.transform=`var( + --mat-mdc-form-field-label-transform, + ${F0} translateX(${u}) + )`}_isAttachedToDom(){let t=this._elementRef.nativeElement;if(t.getRootNode){let n=t.getRootNode();return n&&n!==t}return document.documentElement.contains(t)}};e.\u0275fac=function(n){return new(n||e)(E(re),E(at),E(Q),E(Xt),E(ze),E(R0,8),E(ot,8),E(te))},e.\u0275cmp=ge({type:e,selectors:[["mat-form-field"]],contentQueries:function(n,o,s){if(n&1&&(Ve(s,To,5),Ve(s,To,7),Ve(s,Do,5),Ve(s,I0,5),Ve(s,M0,5),Ve(s,T0,5),Ve(s,df,5)),n&2){let a;fe(a=he())&&(o._labelChildNonStatic=a.first),fe(a=he())&&(o._labelChildStatic=a.first),fe(a=he())&&(o._formFieldControl=a.first),fe(a=he())&&(o._prefixChildren=a),fe(a=he())&&(o._suffixChildren=a),fe(a=he())&&(o._errorChildren=a),fe(a=he())&&(o._hintChildren=a)}},viewQuery:function(n,o){if(n&1&&(qe(r0,5),qe(o0,5),qe(s0,5),qe(uf,5),qe(mf,5),qe(hf,5)),n&2){let s;fe(s=he())&&(o._textField=s.first),fe(s=he())&&(o._iconPrefixContainer=s.first),fe(s=he())&&(o._textPrefixContainer=s.first),fe(s=he())&&(o._floatingLabel=s.first),fe(s=he())&&(o._notchedOutline=s.first),fe(s=he())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(n,o){n&2&&ke("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[Re([{provide:Io,useExisting:e},{provide:vf,useExisting:e}]),be],ngContentSelectors:l0,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(n,o){if(n&1){let s=ri();et(a0),ce(0,u0,1,1,"ng-template",null,0,Or),j(2,"div",4,1),Ne("click",function(l){return mt(s),pt(o._control.onContainerClick(l))}),ce(4,f0,1,0,"div",5),j(5,"div",6),ce(6,p0,2,2,"div",7)(7,g0,3,0,"div",8)(8,b0,3,0,"div",9),j(9,"div",10),ce(10,_0,1,1,null,11),ve(11),$(),ce(12,y0,2,0,"div",12)(13,w0,2,0,"div",13),$(),ce(14,x0,1,0,"div",14),$(),j(15,"div",15),ce(16,C0,2,1)(17,S0,5,2),$()}if(n&2){let s;V(2),ke("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),V(2),we(4,!o._hasOutline()&&!o._control.disabled?4:-1),V(2),we(6,o._hasOutline()?6:-1),V(),we(7,o._hasIconPrefix?7:-1),V(),we(8,o._hasTextPrefix?8:-1),V(2),we(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),V(2),we(12,o._hasTextSuffix?12:-1),V(),we(13,o._hasIconSuffix?13:-1),V(),we(14,o._hasOutline()?-1:14),V(),ke("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),V(),we(16,(s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[uf,mf,Lr,hf,df],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[A0.transitionMessages]},changeDetection:0});let i=e;return i})(),Li=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({imports:[je,St,Fu,je]});let i=e;return i})();function ko(i){return i&&typeof i.connect=="function"&&!(i instanceof Cn)}var gn=function(i){return i[i.REPLACED=0]="REPLACED",i[i.INSERTED=1]="INSERTED",i[i.MOVED=2]="MOVED",i[i.REMOVED=3]="REMOVED",i}(gn||{}),hr=new Y("_ViewRepeater"),bn=class{applyChanges(e,r,t,n,o){e.forEachOperation((s,a,l)=>{let c,d;if(s.previousIndex==null){let u=t(s,a,l);c=r.createEmbeddedView(u.templateRef,u.context,u.index),d=gn.INSERTED}else l==null?(r.remove(a),d=gn.REMOVED):(c=r.get(a),r.move(c,l),d=gn.MOVED);o&&o({context:c?.context,operation:d,record:s})})}detach(){}};var Mo=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,r,t=!0,n){this._multiple=e,this._emitChanges=t,this.compareWith=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new J,r&&r.length&&(e?r.forEach(o=>this._markSelected(o)):this._markSelected(r[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(t=>this._markSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...e){this._verifyValueAssignment(e),e.forEach(t=>this._unmarkSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...e){this._verifyValueAssignment(e);let r=this.selected,t=new Set(e);e.forEach(o=>this._markSelected(o)),r.filter(o=>!t.has(this._getConcreteValue(o,t))).forEach(o=>this._unmarkSelected(o));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let r=this._hasQueuedChanges();return e&&this._emitChangeEvent(),r}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,r){if(this.compareWith){r=r??this._selection;for(let t of r)if(this.compareWith(e,t))return t;return e}else return e}};var N0=20,yf=(()=>{let e=class e{constructor(t,n,o){this._ngZone=t,this._platform=n,this._scrolled=new J,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let n=this.scrollContainers.get(t);n&&(n.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=N0){return this._platform.isBrowser?new jt(n=>{this._globalSubscription||this._addGlobalListener();let o=t>0?this._scrolled.pipe(ds(t)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):X()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(t,n){let o=this.getAncestorScrollContainers(t);return this.scrolled(n).pipe(Ue(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(t){let n=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,t)&&n.push(s)}),n}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,n){let o=Zt(n),s=t.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return tc(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(n){return new(n||e)(R(Q),R(ze),R(te,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var L0=20,zi=(()=>{let e=class e{constructor(t,n,o){this._platform=t,this._change=new J,this._changeListener=s=>{this._change.next(s)},this._document=o,n.runOutsideAngular(()=>{if(t.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:n,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+n,height:o,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,n=this._getWindow(),o=t.documentElement,s=o.getBoundingClientRect(),a=-s.top||t.body.scrollTop||n.scrollY||o.scrollTop||0,l=-s.left||t.body.scrollLeft||n.scrollX||o.scrollLeft||0;return{top:a,left:l}}change(t=L0){return t>0?this._change.pipe(ds(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(n){return new(n||e)(R(ze),R(Q),R(te,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Ao=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({});let i=e;return i})(),mr=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({imports:[gi,Ao,gi,Ao]});let i=e;return i})();var pr=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},al=class extends pr{constructor(e,r,t,n,o){super(),this.component=e,this.viewContainerRef=r,this.injector=t,this.componentFactoryResolver=n,this.projectableNodes=o}},gr=class extends pr{constructor(e,r,t,n){super(),this.templateRef=e,this.viewContainerRef=r,this.context=t,this.injector=n}get origin(){return this.templateRef.elementRef}attach(e,r=this.context){return this.context=r,super.attach(e)}detach(){return this.context=void 0,super.detach()}},ll=class extends pr{constructor(e){super(),this.element=e instanceof re?e.nativeElement:e}},cl=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof al)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof gr)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof ll)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Ro=class extends cl{constructor(e,r,t,n,o){super(),this.outletElement=e,this._componentFactoryResolver=r,this._appRef=t,this._defaultInjector=n,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(e){let t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),n;return e.viewContainerRef?(n=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>n.destroy())):(n=t.create(e.injector||this._defaultInjector||Et.NULL),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=e,n}attachTemplatePortal(e){let r=e.viewContainerRef,t=r.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return t.rootNodes.forEach(n=>this.outletElement.appendChild(n)),t.detectChanges(),this.setDisposeFn(()=>{let n=r.indexOf(t);n!==-1&&r.remove(n)}),this._attachedPortal=e,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var wf=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({});let i=e;return i})();var xf=Au(),dl=class{constructor(e,r){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Be(-this._previousScrollPosition.left),e.style.top=Be(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,r=this._document.body,t=e.style,n=r.style,o=t.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),xf&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),xf&&(t.scrollBehavior=o,n.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,t=this._viewportRuler.getViewportSize();return r.scrollHeight>t.height||r.scrollWidth>t.width}};var ul=class{constructor(e,r,t,n){this._scrollDispatcher=e,this._ngZone=r,this._viewportRuler=t,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(Ue(r=>!r||!this._overlayRef.overlayElement.contains(r.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},Oo=class{enable(){}disable(){}attach(){}};function fl(i,e){return e.some(r=>{let t=i.bottomr.bottom,o=i.rightr.right;return t||n||o||s})}function Cf(i,e){return e.some(r=>{let t=i.topr.bottom,o=i.leftr.right;return t||n||o||s})}var hl=class{constructor(e,r,t,n){this._scrollDispatcher=e,this._viewportRuler=r,this._ngZone=t,this._config=n,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:n}=this._viewportRuler.getViewportSize();fl(r,[{width:t,height:n,bottom:n,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},j0=(()=>{let e=class e{constructor(t,n,o,s){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=o,this.noop=()=>new Oo,this.close=a=>new ul(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new dl(this._viewportRuler,this._document),this.reposition=a=>new hl(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(n){return new(n||e)(R(yf),R(zi),R(Q),R(te))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Fo=class{constructor(e){if(this.scrollStrategy=new Oo,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let r=Object.keys(e);for(let t of r)e[t]!==void 0&&(this[t]=e[t])}}};var ml=class{constructor(e,r){this.connectionPair=e,this.scrollableViewProperties=r}};var If=(()=>{let e=class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let n=this._attachedOverlays.indexOf(t);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(n){return new(n||e)(R(te))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),V0=(()=>{let e=class e extends If{constructor(t,n){super(t),this._ngZone=n,this._keydownListener=o=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};e.\u0275fac=function(n){return new(n||e)(R(te),R(Q,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),B0=(()=>{let e=class e extends If{constructor(t,n,o){super(t),this._platform=n,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=Mt(s)},this._clickListener=s=>{let a=Mt(s),l=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){let u=c[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(a)||u.overlayElement.contains(l))break;let f=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>f.next(s)):f.next(s)}}}add(t){if(super.add(t),!this._isAttached){let n=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(n)):this._addEventListeners(n),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(n){return new(n||e)(R(te),R(ze),R(Q,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Mf=(()=>{let e=class e{constructor(t,n){this._platform=n,this._document=t}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||dr()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let s=0;sthis._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new J,this._outsidePointerEvents=new J,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let r=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Ge(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof r?.onDestroy=="function"&&r.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),r}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=F(F({},this._config),e),this._updateElementSize()}setDirection(e){this._config=pe(F({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=Be(this._config.width),e.height=Be(this._config.height),e.minWidth=Be(this._config.minWidth),e.minHeight=Be(this._config.minHeight),e.maxWidth=Be(this._config.maxWidth),e.maxHeight=Be(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,r,t){let n=mn(r||[]).filter(o=>!!o);n.length&&(t?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(Ce(ei(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},Ef="cdk-overlay-connected-position-bounding-box",H0=/([A-Za-z%]+)$/,gl=class{get positions(){return this._preferredPositions}constructor(e,r,t,n,o){this._viewportRuler=r,this._document=t,this._platform=n,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new J,this._resizeSubscription=Ke.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(Ef),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,r=this._overlayRect,t=this._viewportRect,n=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,n,a),c=this._getOverlayPoint(l,r,a),d=this._getOverlayFit(c,r,t,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,t)){o.push({position:a,origin:l,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleAreal&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&ji(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Ef),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,r)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,r,t){let n;if(t.originX=="center")n=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;n=t.originX=="start"?s:a}r.left<0&&(n-=r.left);let o;return t.originY=="center"?o=e.top+e.height/2:o=t.originY=="top"?e.top:e.bottom,r.top<0&&(o-=r.top),{x:n,y:o}}_getOverlayPoint(e,r,t){let n;t.overlayX=="center"?n=-r.width/2:t.overlayX==="start"?n=this._isRtl()?-r.width:0:n=this._isRtl()?0:-r.width;let o;return t.overlayY=="center"?o=-r.height/2:o=t.overlayY=="top"?0:-r.height,{x:e.x+n,y:e.y+o}}_getOverlayFit(e,r,t,n){let o=Tf(r),{x:s,y:a}=e,l=this._getOffset(n,"x"),c=this._getOffset(n,"y");l&&(s+=l),c&&(a+=c);let d=0-s,u=s+o.width-t.width,f=0-a,m=a+o.height-t.height,g=this._subtractOverflows(o.width,d,u),b=this._subtractOverflows(o.height,f,m),p=g*b;return{visibleArea:p,isCompletelyWithinViewport:o.width*o.height===p,fitsInViewportVertically:b===o.height,fitsInViewportHorizontally:g==o.width}}_canFitWithFlexibleDimensions(e,r,t){if(this._hasFlexibleDimensions){let n=t.bottom-r.y,o=t.right-r.x,s=Sf(this._overlayRef.getConfig().minHeight),a=Sf(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||s!=null&&s<=n,c=e.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(e,r,t){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=Tf(r),o=this._viewportRect,s=Math.max(e.x+n.width-o.width,0),a=Math.max(e.y+n.height-o.height,0),l=Math.max(o.top-t.top-e.y,0),c=Math.max(o.left-t.left-e.x,0),d=0,u=0;return n.width<=o.width?d=c||-s:d=e.xg&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-g/2)}let l=r.overlayX==="start"&&!n||r.overlayX==="end"&&n,c=r.overlayX==="end"&&!n||r.overlayX==="start"&&n,d,u,f;if(c)f=t.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(l)u=e.x,d=t.right-e.x;else{let m=Math.min(t.right-e.x+t.left,e.x),g=this._lastBoundingBoxSize.width;d=m*2,u=e.x-m,d>g&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-g/2)}return{top:s,left:u,bottom:a,right:f,width:d,height:o}}_setBoundingBoxStyles(e,r){let t=this._calculateBoundingBoxRect(e,r);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;n.height=Be(t.height),n.top=Be(t.top),n.bottom=Be(t.bottom),n.width=Be(t.width),n.left=Be(t.left),n.right=Be(t.right),r.overlayX==="center"?n.alignItems="center":n.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?n.justifyContent="center":n.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(n.maxHeight=Be(o)),s&&(n.maxWidth=Be(s))}this._lastBoundingBoxSize=t,ji(this._boundingBox.style,n)}_resetBoundingBoxStyles(){ji(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){ji(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,r){let t={},n=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(n){let d=this._viewportRuler.getViewportScrollPosition();ji(t,this._getExactOverlayY(r,e,d)),ji(t,this._getExactOverlayX(r,e,d))}else t.position="static";let a="",l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),t.transform=a.trim(),s.maxHeight&&(n?t.maxHeight=Be(s.maxHeight):o&&(t.maxHeight="")),s.maxWidth&&(n?t.maxWidth=Be(s.maxWidth):o&&(t.maxWidth="")),ji(this._pane.style,t)}_getExactOverlayY(e,r,t){let n={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;n.bottom=`${s-(o.y+this._overlayRect.height)}px`}else n.top=Be(o.y);return n}_getExactOverlayX(e,r,t){let n={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;n.right=`${a-(o.x+this._overlayRect.width)}px`}else n.left=Be(o.x);return n}_getScrollVisibility(){let e=this._getOriginRect(),r=this._pane.getBoundingClientRect(),t=this._scrollables.map(n=>n.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Cf(e,t),isOriginOutsideView:fl(e,t),isOverlayClipped:Cf(r,t),isOverlayOutsideView:fl(r,t)}}_subtractOverflows(e,...r){return r.reduce((t,n)=>t-Math.max(n,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+e-this._viewportMargin,bottom:t.top+r-this._viewportMargin,width:e-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,r){return r==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&mn(e).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof re)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let r=e.width||0,t=e.height||0;return{top:e.y,bottom:e.y+t,left:e.x,right:e.x+r,height:t,width:r}}};function ji(i,e){for(let r in e)e.hasOwnProperty(r)&&(i[r]=e[r]);return i}function Sf(i){if(typeof i!="number"&&i!=null){let[e,r]=i.split(H0);return!r||r==="px"?parseFloat(e):null}return i||null}function Tf(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function U0(i,e){return i===e?!0:i.isOriginClipped===e.isOriginClipped&&i.isOriginOutsideView===e.isOriginOutsideView&&i.isOverlayClipped===e.isOverlayClipped&&i.isOverlayOutsideView===e.isOverlayOutsideView}var Df="cdk-global-overlay-wrapper",bl=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let r=e.getConfig();this._overlayRef=e,this._width&&!r.width&&e.updateSize({width:this._width}),this._height&&!r.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(Df),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:n,height:o,maxWidth:s,maxHeight:a}=t,l=(n==="100%"||n==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,f=this._overlayRef.getConfig().direction==="rtl",m="",g="",b="";l?b="flex-start":d==="center"?(b="center",f?g=u:m=u):f?d==="left"||d==="end"?(b="flex-end",m=u):(d==="right"||d==="start")&&(b="flex-start",g=u):d==="left"||d==="start"?(b="flex-start",m=u):(d==="right"||d==="end")&&(b="flex-end",g=u),e.position=this._cssPosition,e.marginLeft=l?"0":m,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,r.justifyContent=b,r.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,t=r.style;r.classList.remove(Df),t.justifyContent=t.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},$0=(()=>{let e=class e{constructor(t,n,o,s){this._viewportRuler=t,this._document=n,this._platform=o,this._overlayContainer=s}global(){return new bl}flexibleConnectedTo(t){return new gl(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(n){return new(n||e)(R(zi),R(te),R(ze),R(Mf))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),W0=0,Vi=(()=>{let e=class e{constructor(t,n,o,s,a,l,c,d,u,f,m,g){this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=c,this._document=d,this._directionality=u,this._location=f,this._outsideClickDispatcher=m,this._animationsModuleType=g}create(t){let n=this._createHostElement(),o=this._createPaneElement(n),s=this._createPortalOutlet(o),a=new Fo(t);return a.direction=a.direction||this._directionality.value,new pl(s,n,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(t){let n=this._document.createElement("div");return n.id=`cdk-overlay-${W0++}`,n.classList.add("cdk-overlay-pane"),t.appendChild(n),n}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Ot)),new Ro(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(n){return new(n||e)(R(j0),R(Mf),R(On),R($0),R(V0),R(Et),R(Q),R(te),R(Xt),R(Ki),R(B0),R(ot,8))},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),G0=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],kf=new Y("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=N(Vi);return()=>i.scrollStrategies.reposition()}}),Po=(()=>{let e=class e{constructor(t){this.elementRef=t}};e.\u0275fac=function(n){return new(n||e)(E(re))},e.\u0275dir=Z({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let i=e;return i})(),vl=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,n,o,s,a){this._overlay=t,this._dir=a,this._backdropSubscription=Ke.EMPTY,this._attachSubscription=Ke.EMPTY,this._detachSubscription=Ke.EMPTY,this._positionSubscription=Ke.EMPTY,this._disposeOnNavigation=!1,this._ngZone=N(Q),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new Ee,this.positionChange=new Ee,this.attach=new Ee,this.detach=new Ee,this.overlayKeydown=new Ee,this.overlayOutsideClick=new Ee,this._templatePortal=new gr(n,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=G0);let t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!Kt(n)&&(n.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{this.overlayOutsideClick.next(n)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),n=new Fo({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(n.width=this.width),(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(t){let n=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return t.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(t),t}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Po?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(sc(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(n){return new(n||e)(E(Vi),E(dt),E(gt),E(kf),E(Xt,8))},e.\u0275dir=Z({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[L.None,"cdkConnectedOverlayOrigin","origin"],positions:[L.None,"cdkConnectedOverlayPositions","positions"],positionStrategy:[L.None,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[L.None,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[L.None,"cdkConnectedOverlayOffsetY","offsetY"],width:[L.None,"cdkConnectedOverlayWidth","width"],height:[L.None,"cdkConnectedOverlayHeight","height"],minWidth:[L.None,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[L.None,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[L.None,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[L.None,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[L.None,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[L.None,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[L.None,"cdkConnectedOverlayOpen","open"],disableClose:[L.None,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[L.None,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[L.HasDecoratorInputTransform,"cdkConnectedOverlayHasBackdrop","hasBackdrop",me],lockPosition:[L.HasDecoratorInputTransform,"cdkConnectedOverlayLockPosition","lockPosition",me],flexibleDimensions:[L.HasDecoratorInputTransform,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",me],growAfterOpen:[L.HasDecoratorInputTransform,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",me],push:[L.HasDecoratorInputTransform,"cdkConnectedOverlayPush","push",me],disposeOnNavigation:[L.HasDecoratorInputTransform,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",me]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Pe,Je]});let i=e;return i})();function Y0(i){return()=>i.scrollStrategies.reposition()}var q0={provide:kf,deps:[Vi],useFactory:Y0},Af=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({providers:[Vi,q0],imports:[gi,wf,mr,mr]});let i=e;return i})();var jf=(()=>{let e=class e{constructor(t,n){this._renderer=t,this._elementRef=n,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(n){return new(n||e)(E(Ar),E(re))},e.\u0275dir=Z({type:e});let i=e;return i})(),X0=(()=>{let e=class e extends jf{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=$e(e)))(o||e)}})(),e.\u0275dir=Z({type:e,features:[Se]});let i=e;return i})(),Vf=new Y("");var Z0={provide:Vf,useExisting:Dn(()=>Bf),multi:!0};function K0(){let i=Zi()?Zi().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var Q0=new Y(""),Bf=(()=>{let e=class e extends jf{constructor(t,n,o){super(t,n),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!K0())}writeValue(t){let n=t??"";this.setProperty("value",n)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(n){return new(n||e)(E(Ar),E(re),E(Q0,8))},e.\u0275dir=Z({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(n,o){n&1&&Ne("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[Re([Z0]),Se]});let i=e;return i})();function vi(i){return i==null||(typeof i=="string"||Array.isArray(i))&&i.length===0}function Hf(i){return i!=null&&typeof i.length=="number"}var wl=new Y(""),xl=new Y(""),J0=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Lo=class{static min(e){return e_(e)}static max(e){return t_(e)}static required(e){return i_(e)}static requiredTrue(e){return n_(e)}static email(e){return r_(e)}static minLength(e){return o_(e)}static maxLength(e){return s_(e)}static pattern(e){return a_(e)}static nullValidator(e){return Uf(e)}static compose(e){return Xf(e)}static composeAsync(e){return Zf(e)}};function e_(i){return e=>{if(vi(e.value)||vi(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(vi(e.value)||vi(i))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>i?{max:{max:i,actual:e.value}}:null}}function i_(i){return vi(i.value)?{required:!0}:null}function n_(i){return i.value===!0?null:{required:!0}}function r_(i){return vi(i.value)||J0.test(i.value)?null:{email:!0}}function o_(i){return e=>vi(e.value)||!Hf(e.value)?null:e.value.lengthHf(e.value)&&e.value.length>i?{maxlength:{requiredLength:i,actualLength:e.value.length}}:null}function a_(i){if(!i)return Uf;let e,r;return typeof i=="string"?(r="",i.charAt(0)!=="^"&&(r+="^"),r+=i,i.charAt(i.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=i.toString(),e=i),t=>{if(vi(t.value))return null;let n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}function Uf(i){return null}function $f(i){return i!=null}function Wf(i){return Pr(i)?Xe(i):i}function Gf(i){let e={};return i.forEach(r=>{e=r!=null?F(F({},e),r):e}),Object.keys(e).length===0?null:e}function Yf(i,e){return e.map(r=>r(i))}function l_(i){return!i.validate}function qf(i){return i.map(e=>l_(e)?e:r=>e.validate(r))}function Xf(i){if(!i)return null;let e=i.filter($f);return e.length==0?null:function(r){return Gf(Yf(r,e))}}function Cl(i){return i!=null?Xf(qf(i)):null}function Zf(i){if(!i)return null;let e=i.filter($f);return e.length==0?null:function(r){let t=Yf(r,e).map(Wf);return Gi(t).pipe(ee(Gf))}}function El(i){return i!=null?Zf(qf(i)):null}function Rf(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function Kf(i){return i._rawValidators}function Qf(i){return i._rawAsyncValidators}function _l(i){return i?Array.isArray(i)?i:[i]:[]}function zo(i,e){return Array.isArray(i)?i.includes(e):i===e}function Of(i,e){let r=_l(e);return _l(i).forEach(n=>{zo(r,n)||r.push(n)}),r}function Ff(i,e){return _l(e).filter(r=>!zo(i,r))}var jo=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Cl(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=El(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},Bi=class extends jo{get formDirective(){return null}get path(){return null}},Hi=class extends jo{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},yl=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},c_={"[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"},gT=pe(F({},c_),{"[class.ng-submitted]":"isSubmitted"}),Jf=(()=>{let e=class e extends yl{constructor(t){super(t)}};e.\u0275fac=function(n){return new(n||e)(E(Hi,2))},e.\u0275dir=Z({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,o){n&2&&ke("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)},features:[Se]});let i=e;return i})();var br="VALID",No="INVALID",vn="PENDING",vr="DISABLED";function eh(i){return(Wo(i)?i.validators:i)||null}function d_(i){return Array.isArray(i)?Cl(i):i||null}function th(i,e){return(Wo(e)?e.asyncValidators:i)||null}function u_(i){return Array.isArray(i)?El(i):i||null}function Wo(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function f_(i,e,r){let t=i.controls;if(!(e?Object.keys(t):t).length)throw new De(1e3,"");if(!t[r])throw new De(1001,"")}function h_(i,e,r){i._forEachChild((t,n)=>{if(r[n]===void 0)throw new De(1002,"")})}var Vo=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===br}get invalid(){return this.status===No}get pending(){return this.status==vn}get disabled(){return this.status===vr}get enabled(){return this.status!==vr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Of(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Of(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Ff(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Ff(e,this._rawAsyncValidators))}hasValidator(e){return zo(this._rawValidators,e)}hasAsyncValidator(e){return zo(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=vn,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=vr,this.errors=null,this._forEachChild(t=>{t.disable(pe(F({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(pe(F({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=br,this._forEachChild(t=>{t.enable(pe(F({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(pe(F({},e),{skipPristineCheck:r})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===br||this.status===vn)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?vr:br}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=vn,this._hasOwnPendingAsyncValidator=!0;let r=Wf(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((t,n)=>t&&t._find(n),this)}getError(e,r){let t=r?this.get(r):this;return t&&t.errors?t.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Ee,this.statusChanges=new Ee}_calculateStatus(){return this._allControlsDisabled()?vr:this.errors?No:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(vn)?vn:this._anyControlsHaveStatus(No)?No:br}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Wo(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=d_(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=u_(this._rawAsyncValidators)}},Bo=class extends Vo{constructor(e,r,t){super(eh(r),th(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,t={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){h_(this,!0,e),Object.keys(e).forEach(t=>{f_(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(t=>{let n=this.controls[t];n&&n.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,n)=>{t.reset(e?e[n]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,t)=>(e[t]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,t)=>t._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let t=this.controls[r];t&&e(t,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,t]of Object.entries(this.controls))if(this.contains(r)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,t,n)=>((t.enabled||this.disabled)&&(r[n]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((n,o)=>{t=r(t,n,o)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var Go=new Y("CallSetDisabledState",{providedIn:"root",factory:()=>Sl}),Sl="always";function m_(i,e){return[...e.path,i]}function Ho(i,e,r=Sl){Tl(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||r==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),g_(i,e),v_(i,e),b_(i,e),p_(i,e)}function Pf(i,e,r=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),$o(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function Uo(i,e){i.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function p_(i,e){if(e.valueAccessor.setDisabledState){let r=t=>{e.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(r),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(r)})}}function Tl(i,e){let r=Kf(i);e.validator!==null?i.setValidators(Rf(r,e.validator)):typeof r=="function"&&i.setValidators([r]);let t=Qf(i);e.asyncValidator!==null?i.setAsyncValidators(Rf(t,e.asyncValidator)):typeof t=="function"&&i.setAsyncValidators([t]);let n=()=>i.updateValueAndValidity();Uo(e._rawValidators,n),Uo(e._rawAsyncValidators,n)}function $o(i,e){let r=!1;if(i!==null){if(e.validator!==null){let n=Kf(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(s=>s!==e.validator);o.length!==n.length&&(r=!0,i.setValidators(o))}}if(e.asyncValidator!==null){let n=Qf(i);if(Array.isArray(n)&&n.length>0){let o=n.filter(s=>s!==e.asyncValidator);o.length!==n.length&&(r=!0,i.setAsyncValidators(o))}}}let t=()=>{};return Uo(e._rawValidators,t),Uo(e._rawAsyncValidators,t),r}function g_(i,e){e.valueAccessor.registerOnChange(r=>{i._pendingValue=r,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&ih(i,e)})}function b_(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&ih(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function ih(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function v_(i,e){let r=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};i.registerOnChange(r),e._registerOnDestroy(()=>{i._unregisterOnChange(r)})}function nh(i,e){i==null,Tl(i,e)}function __(i,e){return $o(i,e)}function y_(i,e){if(!i.hasOwnProperty("model"))return!1;let r=i.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function w_(i){return Object.getPrototypeOf(i.constructor)===X0}function rh(i,e){i._syncPendingControls(),e.forEach(r=>{let t=r.control;t.updateOn==="submit"&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function x_(i,e){if(!e)return null;Array.isArray(e);let r,t,n;return e.forEach(o=>{o.constructor===Bf?r=o:w_(o)?t=o:n=o}),n||t||r||null}function C_(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}var E_={provide:Bi,useExisting:Dn(()=>Dl)},_r=Promise.resolve(),Dl=(()=>{let e=class e extends Bi{constructor(t,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ee,this.form=new Bo({},Cl(t),El(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){_r.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),Ho(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){_r.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){_r.then(()=>{let n=this._findContainer(t.path),o=new Bo({});nh(o,t),n.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){_r.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){_r.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,rh(this.form,this._directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(n){return new(n||e)(E(wl,10),E(xl,10),E(Go,8))},e.\u0275dir=Z({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,o){n&1&&Ne("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[L.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Re([E_]),Se]});let i=e;return i})();function Nf(i,e){let r=i.indexOf(e);r>-1&&i.splice(r,1)}function Lf(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var oh=class extends Vo{constructor(e=null,r,t){super(eh(r),th(t,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Wo(r)&&(r.nonNullable||r.initialValueIsDefault)&&(Lf(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Nf(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Nf(this._onDisabledChange,e)}_forEachChild(e){}_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(e){Lf(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var S_=i=>i instanceof oh;var T_={provide:Hi,useExisting:Dn(()=>Il)},zf=Promise.resolve(),Il=(()=>{let e=class e extends Hi{constructor(t,n,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new oh,this._registered=!1,this.name="",this.update=new Ee,this._parent=t,this._setValidators(n),this._setAsyncValidators(o),this.valueAccessor=x_(this,s)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),y_(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Ho(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){zf.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,o=n!==0&&me(n);zf.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?m_(t,this._parent):[t]}};e.\u0275fac=function(n){return new(n||e)(E(Bi,9),E(wl,10),E(xl,10),E(Vf,10),E(at,8),E(Go,8))},e.\u0275dir=Z({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[L.None,"disabled","isDisabled"],model:[L.None,"ngModel","model"],options:[L.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Re([T_]),Se,Je]});let i=e;return i})();var D_={provide:Bi,useExisting:Dn(()=>Ml)},Ml=(()=>{let e=class e extends Bi{constructor(t,n,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ee,this._setValidators(t),this._setAsyncValidators(n)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&($o(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let n=this.form.get(t.path);return Ho(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){Pf(t.control||null,t,!1),C_(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this.submitted=!0,rh(this.form,this.directives),this.ngSubmit.emit(t),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,o=this.form.get(t.path);n!==o&&(Pf(n||null,t),S_(o)&&(Ho(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);nh(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&__(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Tl(this.form,this),this._oldForm&&$o(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(n){return new(n||e)(E(wl,10),E(xl,10),E(Go,8))},e.\u0275dir=Z({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,o){n&1&&Ne("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[L.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Re([D_]),Se,Je]});let i=e;return i})();var I_=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({});let i=e;return i})();var Yo=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:[{provide:Go,useValue:t.callSetDisabledState??Sl}]}}};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({imports:[I_]});let i=e;return i})();var M_=["trigger"],k_=["panel"],A_=[[["mat-select-trigger"]],"*"],R_=["mat-select-trigger","*"];function O_(i,e){if(i&1&&(j(0,"span",4),_e(1),$()),i&2){let r=de();V(),vt(r.placeholder)}}function F_(i,e){i&1&&ve(0)}function P_(i,e){if(i&1&&(j(0,"span",11),_e(1),$()),i&2){let r=de(2);V(),vt(r.triggerValue)}}function N_(i,e){if(i&1&&(j(0,"span",10),ce(1,F_,1,0)(2,P_,2,1),$()),i&2){let r=de();V(),we(1,r.customTrigger?1:2)}}function L_(i,e){if(i&1){let r=ri();j(0,"div",12,1),Ne("@transformPanel.done",function(n){mt(r);let o=de();return pt(o._panelDoneAnimatingStream.next(n.toState))})("keydown",function(n){mt(r);let o=de();return pt(o._handleKeydown(n))}),ve(2,1),$()}if(i&2){let r=de();xc("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",r._getPanelTheme(),""),oe("ngClass",r.panelClass)("@transformPanel","showing"),Me("id",r.id+"-panel")("aria-multiselectable",r.multiple)("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby())}}var z_={transformPanelWrap:Si("transformPanelWrap",[Gt("* => void",Vc("@transformPanel",[jc()],{optional:!0}))]),transformPanel:Si("transformPanel",[li("void",Tt({opacity:0,transform:"scale(1, 0.8)"})),Gt("void => showing",ai("120ms cubic-bezier(0, 0, 0.2, 1)",Tt({opacity:1,transform:"scale(1, 1)"}))),Gt("* => void",ai("100ms linear",Tt({opacity:0})))])};var ah=0,lh=new Y("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let i=N(Vi);return()=>i.scrollStrategies.reposition()}});function j_(i){return()=>i.scrollStrategies.reposition()}var V_=new Y("MAT_SELECT_CONFIG"),B_={provide:lh,deps:[Vi],useFactory:j_},H_=new Y("MatSelectTrigger"),kl=class{constructor(e,r){this.source=e,this.value=r}},ch=(()=>{let e=class e{_scrollOptionIntoView(t){let n=this.options.toArray()[t];if(n){let o=this.panel.nativeElement,s=sf(t,this.options,this.optionGroups),a=n._getHostElement();t===0&&s===1?o.scrollTop=0:o.scrollTop=af(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new kl(this,t)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Lo.required)??!1}set required(t){this._required=t,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._selectionModel,this._multiple=t}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,n,o,s,a,l,c,d,u,f,m,g,b,p){this._viewportRuler=t,this._changeDetectorRef=n,this._elementRef=a,this._dir=l,this._parentFormField=u,this.ngControl=f,this._liveAnnouncer=b,this._defaultOptions=p,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(h,_)=>h===_,this._uid=`mat-select-${ah++}`,this._triggerAriaLabelledBy=null,this._destroy=new J,this.stateChanges=new J,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${ah++}`,this._panelDoneAnimatingStream=new J,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1,this._multiple=!1,this.disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new J,this.optionSelectionChanges=Sn(()=>{let h=this.options;return h?h.changes.pipe(ii(h),Qe(()=>ei(...h.map(_=>_.onSelectionChange)))):this._initialized.pipe(Qe(()=>this.optionSelectionChanges))}),this.openedChange=new Ee,this._openedStream=this.openedChange.pipe(Ue(h=>h),ee(()=>{})),this._closedStream=this.openedChange.pipe(Ue(h=>!h),ee(()=>{})),this.selectionChange=new Ee,this.valueChange=new Ee,this._trackedModal=null,this._skipPredicate=h=>this.panelOpen?!1:h.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),p?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=p.typeaheadDebounceInterval),this._errorStateTracker=new fr(s,f,d,c,this.stateChanges),this._scrollStrategyFactory=g,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(m)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Mo(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Tn(),Ce(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(Ce(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Ce(this._destroy)).subscribe(t=>{t.added.forEach(n=>n.select()),t.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(ii(null),Ce(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let t=this._getTriggerAriaLabelledby(),n=this.ngControl;if(t!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?o.setAttribute("aria-labelledby",t):o.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(this._previousControl!==void 0&&n.disabled!==null&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;let n=`${this.id}-panel`;this._trackedModal&&Ya(this._trackedModal,"aria-owns",n),Bu(t,"aria-owns",n),this._trackedModal=t}_clearFromModal(){if(!this._trackedModal)return;let t=`${this.id}-panel`;Ya(this._trackedModal,"aria-owns",t),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let t=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){let n=t.keyCode,o=n===40||n===38||n===37||n===39,s=n===13||n===32,a=this._keyManager;if(!a.isTyping()&&s&&!Kt(t)||(this.multiple||t.altKey)&&o)t.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;a.onKeydown(t);let c=this.selected;c&&l!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(t){let n=this._keyManager,o=t.keyCode,s=o===40||o===38,a=n.isTyping();if(s&&t.altKey)t.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&n.activeItem&&!Kt(t))t.preventDefault(),n.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&t.ctrlKey){t.preventDefault();let l=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(l?c.select():c.deselect())})}else{let l=n.activeItemIndex;n.onKeydown(t),this._multiple&&s&&t.shiftKey&&n.activeItem&&n.activeItemIndex!==l&&n.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ge(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{let n=this._selectOptionByValue(t);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){let n=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,t)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(t){return t!==this._value||this._multiple&&Array.isArray(t)?(this.options&&this._setSelectionByValue(t),this._value=t,!0):!1}_getOverlayWidth(t){return this.panelWidth==="auto"?(t instanceof Po?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new vo(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let t=ei(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ce(t)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),ei(...this.options.map(n=>n._stateChanges)).pipe(Ce(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,n){let o=this._selectionModel.isSelected(t);t.value==null&&!this._multiple?(t.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(t.value)):(o!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),n&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),n&&this.focus())),o!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let t=this.options.toArray();this._selectionModel.sort((n,o)=>this.sortComparator?this.sortComparator(n,o,t):t.indexOf(n)-t.indexOf(o)),this.stateChanges.next()}}_propagateChanges(t){let n;this.multiple?n=this.selected.map(o=>o.value):n=this.selected?this.selected.value:t,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let n=0;n0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),n=t?t+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId(),n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(n){return new(n||e)(E(zi),E(at),E(Q),E(nf),E(re),E(Xt,8),E(Dl,8),E(Ml,8),E(Io,8),E(Hi,10),ni("tabindex"),E(lh),E($u),E(V_,8))},e.\u0275cmp=ge({type:e,selectors:[["mat-select"]],contentQueries:function(n,o,s){if(n&1&&(Ve(s,H_,5),Ve(s,Eo,5),Ve(s,rl,5)),n&2){let a;fe(a=he())&&(o.customTrigger=a.first),fe(a=he())&&(o.options=a),fe(a=he())&&(o.optionGroups=a)}},viewQuery:function(n,o){if(n&1&&(qe(M_,5),qe(k_,5),qe(vl,5)),n&2){let s;fe(s=he())&&(o.trigger=s.first),fe(s=he())&&(o.panel=s.first),fe(s=he())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(n,o){n&1&&Ne("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),n&2&&(Me("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),ke("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[L.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[L.HasDecoratorInputTransform,"disabled","disabled",me],disableRipple:[L.HasDecoratorInputTransform,"disableRipple","disableRipple",me],tabIndex:[L.HasDecoratorInputTransform,"tabIndex","tabIndex",t=>t==null?0:si(t)],hideSingleSelectionIndicator:[L.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",me],placeholder:"placeholder",required:[L.HasDecoratorInputTransform,"required","required",me],multiple:[L.HasDecoratorInputTransform,"multiple","multiple",me],disableOptionCentering:[L.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",me],compareWith:"compareWith",value:"value",ariaLabel:[L.None,"aria-label","ariaLabel"],ariaLabelledby:[L.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[L.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",si],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[Re([{provide:Do,useExisting:e},{provide:nl,useExisting:e}]),Pe,Je,be],ngContentSelectors:R_,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(n,o){if(n&1){let s=ri();et(A_),j(0,"div",2,0),Ne("click",function(){return mt(s),pt(o.open())}),j(3,"div",3),ce(4,O_,2,1,"span",4)(5,N_,3,1),$(),j(6,"div",5)(7,"div",6),Mn(),j(8,"svg",7),ue(9,"path",8),$()()()(),ce(10,L_,3,9,"ng-template",9),Ne("backdropClick",function(){return mt(s),pt(o.close())})("attach",function(){return mt(s),pt(o._onAttached())})("detach",function(){return mt(s),pt(o.close())})}if(n&2){let s=Ci(1);V(3),Me("id",o._valueId),V(),we(4,o.empty?4:5),V(6),oe("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[Po,vl,Fc],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[z_.transformPanel]},changeDetection:0});let i=e;return i})();var dh=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({providers:[B_],imports:[St,Af,ol,je,Ao,Li,ol,je]});let i=e;return i})();var uh=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({});let i=e;return i})();var fh=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({imports:[je,Li,Li,uh,je]});let i=e;return i})();var $_=["*"],qo;function W_(){if(qo===void 0&&(qo=null,typeof window<"u")){let i=window;i.trustedTypes!==void 0&&(qo=i.trustedTypes.createPolicy("angular#components",{createHTML:e=>e}))}return qo}function yr(i){return W_()?.createHTML(i)||i}function hh(i){return Error(`Unable to find icon with the name "${i}"`)}function G_(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function mh(i){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${i}".`)}function ph(i){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${i}".`)}var Qt=class{constructor(e,r,t){this.url=e,this.svgText=r,this.options=t}},Y_=(()=>{let e=class e{constructor(t,n,o,s){this._httpClient=t,this._sanitizer=n,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(t,n,o){return this.addSvgIconInNamespace("",t,n,o)}addSvgIconLiteral(t,n,o){return this.addSvgIconLiteralInNamespace("",t,n,o)}addSvgIconInNamespace(t,n,o,s){return this._addSvgIconConfig(t,n,new Qt(o,null,s))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,n,o,s){let a=this._sanitizer.sanitize(it.HTML,o);if(!a)throw ph(o);let l=yr(a);return this._addSvgIconConfig(t,n,new Qt("",l,s))}addSvgIconSet(t,n){return this.addSvgIconSetInNamespace("",t,n)}addSvgIconSetLiteral(t,n){return this.addSvgIconSetLiteralInNamespace("",t,n)}addSvgIconSetInNamespace(t,n,o){return this._addSvgIconSetConfig(t,new Qt(n,null,o))}addSvgIconSetLiteralInNamespace(t,n,o){let s=this._sanitizer.sanitize(it.HTML,n);if(!s)throw ph(n);let a=yr(s);return this._addSvgIconSetConfig(t,new Qt("",a,o))}registerFontClassAlias(t,n=t){return this._fontCssClassesByAlias.set(t,n),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){let n=this._sanitizer.sanitize(it.RESOURCE_URL,t);if(!n)throw mh(t);let o=this._cachedIconsByUrl.get(n);return o?X(Xo(o)):this._loadSvgIconFromConfig(new Qt(t,null)).pipe(Fe(s=>this._cachedIconsByUrl.set(n,s)),ee(s=>Xo(s)))}getNamedSvgIcon(t,n=""){let o=gh(n,t),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(n,t),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);let a=this._iconSetConfigs.get(n);return a?this._getSvgFromIconSetConfigs(t,a):yi(hh(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?X(Xo(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(ee(n=>Xo(n)))}_getSvgFromIconSetConfigs(t,n){let o=this._extractIconWithNameFromAnySet(t,n);if(o)return X(o);let s=n.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(At(l=>{let d=`Loading icon set URL: ${this._sanitizer.sanitize(it.RESOURCE_URL,a.url)} failed: ${l.message}`;return this._errorHandler.handleError(new Error(d)),X(null)})));return Gi(s).pipe(ee(()=>{let a=this._extractIconWithNameFromAnySet(t,n);if(!a)throw hh(t);return a}))}_extractIconWithNameFromAnySet(t,n){for(let o=n.length-1;o>=0;o--){let s=n[o];if(s.svgText&&s.svgText.toString().indexOf(t)>-1){let a=this._svgElementFromConfig(s),l=this._extractSvgIconFromSet(a,t,s.options);if(l)return l}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Fe(n=>t.svgText=n),ee(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?X(null):this._fetchIcon(t).pipe(Fe(n=>t.svgText=n))}_extractSvgIconFromSet(t,n,o){let s=t.querySelector(`[id="${n}"]`);if(!s)return null;let a=s.cloneNode(!0);if(a.removeAttribute("id"),a.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(a,o);if(a.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(a),o);let l=this._svgElementFromString(yr(""));return l.appendChild(a),this._setSvgAttributes(l,o)}_svgElementFromString(t){let n=this._document.createElement("DIV");n.innerHTML=t;let o=n.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(t){let n=this._svgElementFromString(yr("")),o=t.attributes;for(let s=0;syr(d)),Rt(()=>this._inProgressUrlFetches.delete(a)),oc());return this._inProgressUrlFetches.set(a,c),c}_addSvgIconConfig(t,n,o){return this._svgIconConfigs.set(gh(t,n),o),this}_addSvgIconSetConfig(t,n){let o=this._iconSetConfigs.get(t);return o?o.push(n):this._iconSetConfigs.set(t,[n]),this}_svgElementFromConfig(t){if(!t.svgElement){let n=this._svgElementFromString(t.svgText);this._setSvgAttributes(n,t.options),t.svgElement=n}return t.svgElement}_getIconConfigFromResolvers(t,n){for(let o=0;oe?e.pathname+e.search:""}}var bh=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Q_=bh.map(i=>`[${i}]`).join(", "),J_=/^url\(['"]?#(.*?)['"]?\)$/,vh=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){let n=this._cleanupFontValue(t);n!==this._fontSet&&(this._fontSet=n,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){let n=this._cleanupFontValue(t);n!==this._fontIcon&&(this._fontIcon=n,this._updateFontIconClasses())}constructor(t,n,o,s,a,l){this._elementRef=t,this._iconRegistry=n,this._location=s,this._errorHandler=a,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=Ke.EMPTY,l&&(l.color&&(this.color=this._defaultColor=l.color),l.fontSet&&(this.fontSet=l.fontSet)),o||t.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let n=t.split(":");switch(n.length){case 1:return["",n[0]];case 2:return n;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let n=this._location.getPathname();n!==this._previousPath&&(this._previousPath=n,this._prependPathToReferences(n))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();let n=this._location.getPathname();this._previousPath=n,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(n),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,n=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();n--;){let o=t.childNodes[n];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,n=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>t.classList.remove(o)),n.forEach(o=>t.classList.add(o)),this._previousFontSetClass=n,this.fontIcon!==this._previousFontIconClass&&!n.includes("mat-ligature-font")&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(t){return typeof t=="string"?t.trim().split(" ")[0]:t}_prependPathToReferences(t){let n=this._elementsWithExternalReferences;n&&n.forEach((o,s)=>{o.forEach(a=>{s.setAttribute(a.name,`url('${t}#${a.value}')`)})})}_cacheChildrenWithExternalReferences(t){let n=t.querySelectorAll(Q_),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{let l=n[s],c=l.getAttribute(a),d=c?c.match(J_):null;if(d){let u=o.get(l);u||(u=[],o.set(l,u)),u.push({name:a,value:d[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[n,o]=this._splitIconName(t);n&&(this._svgNamespace=n),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,n).pipe(Ge(1)).subscribe(s=>this._setSvgElement(s),s=>{let a=`Error retrieving icon ${n}:${o}! ${s.message}`;this._errorHandler.handleError(new Error(a))})}}};e.\u0275fac=function(n){return new(n||e)(E(re),E(Y_),ni("aria-hidden"),E(Z_),E(xi),E(X_,8))},e.\u0275cmp=ge({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(n,o){n&2&&(Me("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),nt(o.color?"mat-"+o.color:""),ke("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[L.HasDecoratorInputTransform,"inline","inline",me],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[Pe,be],ngContentSelectors:$_,decls:1,vars:0,template:function(n,o){n&1&&(et(),ve(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let i=e;return i})(),_h=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({imports:[je,je]});let i=e;return i})();var ty=["determinateSpinner"];function iy(i,e){if(i&1&&(Mn(),j(0,"svg",11),ue(1,"circle",12),$()),i&2){let r=de();Me("viewBox",r._viewBox()),V(),bt("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeCircumference()/2,"px")("stroke-width",r._circleStrokeWidth(),"%"),Me("r",r._circleRadius())}}var ny=new Y("mat-progress-spinner-default-options",{providedIn:"root",factory:ry});function ry(){return{diameter:yh}}var yh=100,oy=10,wh=(()=>{let e=class e{get color(){return this._color||this._defaultColor}set color(t){this._color=t}constructor(t,n,o){this._elementRef=t,this._defaultColor="primary",this._value=0,this._diameter=yh,this._noopAnimations=n==="NoopAnimations"&&!!o&&!o._forceAnimations,this.mode=t.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",o&&(o.color&&(this.color=this._defaultColor=o.color),o.diameter&&(this.diameter=o.diameter),o.strokeWidth&&(this.strokeWidth=o.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,t||0))}get diameter(){return this._diameter}set diameter(t){this._diameter=t||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(t){this._strokeWidth=t||0}_circleRadius(){return(this.diameter-oy)/2}_viewBox(){let t=this._circleRadius()*2+this.strokeWidth;return`0 0 ${t} ${t}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}};e.\u0275fac=function(n){return new(n||e)(E(re),E(ot,8),E(ny))},e.\u0275cmp=ge({type:e,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(n,o){if(n&1&&qe(ty,5),n&2){let s;fe(s=he())&&(o._determinateCircle=s.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(n,o){n&2&&(Me("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",o.mode==="determinate"?o.value:null)("mode",o.mode),nt("mat-"+o.color),bt("width",o.diameter,"px")("height",o.diameter,"px")("--mdc-circular-progress-size",o.diameter+"px")("--mdc-circular-progress-active-indicator-width",o.diameter+"px"),ke("_mat-animation-noopable",o._noopAnimations)("mdc-circular-progress--indeterminate",o.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[L.HasDecoratorInputTransform,"value","value",si],diameter:[L.HasDecoratorInputTransform,"diameter","diameter",si],strokeWidth:[L.HasDecoratorInputTransform,"strokeWidth","strokeWidth",si]},exportAs:["matProgressSpinner"],standalone:!0,features:[Pe,be],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(n,o){if(n&1&&(ce(0,iy,2,8,"ng-template",null,0,Or),j(2,"div",2,1),Mn(),j(4,"svg",3),ue(5,"circle",4),$()(),cc(),j(6,"div",5)(7,"div",6)(8,"div",7),Ye(9,8),$(),j(10,"div",9),Ye(11,8),$(),j(12,"div",10),Ye(13,8),$()()()),n&2){let s=Ci(1);V(4),Me("viewBox",o._viewBox()),V(),bt("stroke-dasharray",o._strokeCircumference(),"px")("stroke-dashoffset",o._strokeDashOffset(),"px")("stroke-width",o._circleStrokeWidth(),"%"),Me("r",o._circleRadius()),V(4),oe("ngTemplateOutlet",s),V(2),oe("ngTemplateOutlet",s),V(2),oe("ngTemplateOutlet",s)}},dependencies:[Lr],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}"],encapsulation:2,changeDetection:0});let i=e;return i})();var xh=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({imports:[St,je]});let i=e;return i})();var Ch="https://block-watch.onrender.com/api/v1",Eh=(()=>{let e=class e{constructor(){this.http=N(zn)}getTransactions(t){return this.http.get(`${Ch}/swaps/swaps/`,{params:{usdGTE:t}})}getTransactionsGroup(t){return this.http.get(`${Ch}/swaps/swaps/group/`,{params:{usdGTE:t}})}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Sh=(()=>{let e=class e{constructor(){this.destroyed$=new J}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=Z({type:e,selectors:[["destroyDirective"]],standalone:!0});let i=e;return i})();var Th=(()=>{let e=class e{constructor(){}setItem(t,n){localStorage.setItem(t,JSON.stringify(n))}getItem(t){let n=localStorage.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch(o){return console.error("Error parsing localStorage item:",t,o),null}}removeItem(t){localStorage.removeItem(t)}clear(){localStorage.clear()}};e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var ay=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],ly=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var cy=["mat-mini-fab",""],dy='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab{background-color:var(--mdc-fab-container-color)}.mat-mdc-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-mini-fab{background-color:var(--mdc-fab-small-container-color)}.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-small-icon-size);height:var(--mdc-fab-small-icon-size);font-size:var(--mdc-fab-small-icon-size)}.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-small-container-shape)}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mdc-extended-fab-container-height);border-radius:var(--mdc-extended-fab-container-shape);font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:var(--mdc-extended-fab-container-shape)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab[disabled],.mat-mdc-fab[disabled]:focus,.mat-mdc-fab.mat-mdc-button-disabled,.mat-mdc-fab.mat-mdc-button-disabled:focus,.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab[disabled]:focus,.mat-mdc-mini-fab.mat-mdc-button-disabled,.mat-mdc-mini-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab.mat-mdc-button-disabled-interactive,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{color:var(--mat-fab-foreground-color, inherit);box-shadow:var(--mdc-fab-container-elevation-shadow)}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-touch-target-display)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color)}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color)}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity)}.mat-mdc-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity)}.mat-mdc-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity)}.mat-mdc-fab:hover{box-shadow:var(--mdc-fab-hover-container-elevation-shadow)}.mat-mdc-fab:focus{box-shadow:var(--mdc-fab-focus-container-elevation-shadow)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mdc-fab-pressed-container-elevation-shadow)}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color);background-color:var(--mat-fab-disabled-state-container-color)}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab{color:var(--mat-fab-small-foreground-color, inherit);box-shadow:var(--mdc-fab-small-container-elevation-shadow)}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-fab-small-touch-target-display)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color)}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity)}.mat-mdc-mini-fab.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity)}.mat-mdc-mini-fab:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity)}.mat-mdc-mini-fab:hover{box-shadow:var(--mdc-fab-small-hover-container-elevation-shadow)}.mat-mdc-mini-fab:focus{box-shadow:var(--mdc-fab-small-focus-container-elevation-shadow)}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mdc-fab-small-pressed-container-elevation-shadow)}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color);background-color:var(--mat-fab-small-disabled-state-container-color)}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab{box-shadow:var(--mdc-extended-fab-container-elevation-shadow)}.mat-mdc-extended-fab:hover{box-shadow:var(--mdc-extended-fab-hover-container-elevation-shadow)}.mat-mdc-extended-fab:focus{box-shadow:var(--mdc-extended-fab-focus-container-elevation-shadow)}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mdc-extended-fab-pressed-container-elevation-shadow)}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}';var uy=new Y("MAT_BUTTON_CONFIG");var fy=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],hy=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(t){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,t)}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}constructor(t,n,o,s){this._elementRef=t,this._platform=n,this._ngZone=o,this._animationMode=s,this._focusMonitor=N(Wu),this._rippleLoader=N(lf),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=N(uy,{optional:!0}),l=t.nativeElement,c=l.classList;this.disabledInteractive=a?.disabledInteractive??!1,this._rippleLoader?.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:d,mdcClasses:u}of fy)l.hasAttribute(d)&&c.add(...u)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",n){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,n):this._elementRef.nativeElement.focus(n)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(n){Rn()},e.\u0275dir=Z({type:e,inputs:{color:"color",disableRipple:[L.HasDecoratorInputTransform,"disableRipple","disableRipple",me],disabled:[L.HasDecoratorInputTransform,"disabled","disabled",me],ariaDisabled:[L.HasDecoratorInputTransform,"aria-disabled","ariaDisabled",me],disabledInteractive:[L.HasDecoratorInputTransform,"disabledInteractive","disabledInteractive",me]},features:[Pe]});let i=e;return i})();var my=new Y("mat-mdc-fab-default-options",{providedIn:"root",factory:Ih});function Ih(){return{color:"accent"}}var Dh=Ih();var Mh=(()=>{let e=class e extends hy{constructor(t,n,o,s,a){super(t,n,o,s),this._options=a,this._isFab=!0,this._options=this._options||Dh,this.color=this._options.color||Dh.color}};e.\u0275fac=function(n){return new(n||e)(E(re),E(ze),E(Q),E(ot,8),E(my,8))},e.\u0275cmp=ge({type:e,selectors:[["button","mat-mini-fab",""]],hostVars:14,hostBindings:function(n,o){n&2&&(Me("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),nt(o.color?"mat-"+o.color:""),ke("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Se,be],attrs:cy,ngContentSelectors:ly,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(n,o){n&1&&(et(ay),ue(0,"span",0),ve(1),j(2,"span",1),ve(3,1),$(),ve(4,2),ue(5,"span",2)(6,"span",3)),n&2&&ke("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[dy],encapsulation:2,changeDetection:0});let i=e;return i})();var kh=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({imports:[je,il,je]});let i=e;return i})();var Ah=["toast-component",""];function gy(i,e){if(i&1){let r=ri();j(0,"button",5),Ne("click",function(){mt(r);let n=de();return pt(n.remove())}),j(1,"span",6),_e(2,"\xD7"),$()()}}function by(i,e){if(i&1&&(Ut(0),_e(1),$t()),i&2){let r=de(2);V(),st("[",r.duplicatesCount+1,"]")}}function vy(i,e){if(i&1&&(j(0,"div"),_e(1),ce(2,by,2,1,"ng-container",4),$()),i&2){let r=de();nt(r.options.titleClass),Me("aria-label",r.title),V(),st(" ",r.title," "),V(),oe("ngIf",r.duplicatesCount)}}function _y(i,e){if(i&1&&ue(0,"div",7),i&2){let r=de();nt(r.options.messageClass),oe("innerHTML",r.message,gs)}}function yy(i,e){if(i&1&&(j(0,"div",8),_e(1),$()),i&2){let r=de();nt(r.options.messageClass),Me("aria-label",r.message),V(),st(" ",r.message," ")}}function wy(i,e){if(i&1&&(j(0,"div"),ue(1,"div",9),$()),i&2){let r=de();V(),bt("width",r.width+"%")}}function xy(i,e){if(i&1){let r=ri();j(0,"button",5),Ne("click",function(){mt(r);let n=de();return pt(n.remove())}),j(1,"span",6),_e(2,"\xD7"),$()()}}function Cy(i,e){if(i&1&&(Ut(0),_e(1),$t()),i&2){let r=de(2);V(),st("[",r.duplicatesCount+1,"]")}}function Ey(i,e){if(i&1&&(j(0,"div"),_e(1),ce(2,Cy,2,1,"ng-container",4),$()),i&2){let r=de();nt(r.options.titleClass),Me("aria-label",r.title),V(),st(" ",r.title," "),V(),oe("ngIf",r.duplicatesCount)}}function Sy(i,e){if(i&1&&ue(0,"div",7),i&2){let r=de();nt(r.options.messageClass),oe("innerHTML",r.message,gs)}}function Ty(i,e){if(i&1&&(j(0,"div",8),_e(1),$()),i&2){let r=de();nt(r.options.messageClass),Me("aria-label",r.message),V(),st(" ",r.message," ")}}function Dy(i,e){if(i&1&&(j(0,"div"),ue(1,"div",9),$()),i&2){let r=de();V(),bt("width",r.width+"%")}}var Al=class{_attachedHost;component;viewContainerRef;injector;constructor(e,r){this.component=e,this.injector=r}attach(e,r){return this._attachedHost=e,e.attach(this,r)}detach(){let e=this._attachedHost;if(e)return this._attachedHost=void 0,e.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},Rl=class{_attachedPortal;_disposeFn;attach(e,r){return this._attachedPortal=e,this.attachComponentPortal(e,r)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(e){this._disposeFn=e}},Ol=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new J;_activate=new J;_manualClose=new J;_resetTimeout=new J;_countDuplicate=new J;constructor(e){this._overlayRef=e}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(e,r){e&&this._resetTimeout.next(),r&&this._countDuplicate.next(++this.duplicatesCount)}},_n=class{toastId;config;message;title;toastType;toastRef;_onTap=new J;_onAction=new J;constructor(e,r,t,n,o,s){this.toastId=e,this.config=r,this.message=t,this.title=n,this.toastType=o,this.toastRef=s,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(e){this._onAction.next(e)}onAction(){return this._onAction.asObservable()}},Rh={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},Oh=new Y("ToastConfig"),Fl=class extends Rl{_hostDomElement;_componentFactoryResolver;_appRef;constructor(e,r,t){super(),this._hostDomElement=e,this._componentFactoryResolver=r,this._appRef=t}attachComponentPortal(e,r){let t=this._componentFactoryResolver.resolveComponentFactory(e.component),n;return n=t.create(e.injector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()}),r?this._hostDomElement.insertBefore(this._getComponentRootNode(n),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(n)),n}_getComponentRootNode(e){return e.hostView.rootNodes[0]}},Iy=(()=>{class i{_document=N(te);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let r=this._document.createElement("div");r.classList.add("overlay-container"),r.setAttribute("aria-live","polite"),this._document.body.appendChild(r),this._containerElement=r}static \u0275fac=function(t){return new(t||i)};static \u0275prov=U({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Pl=class{_portalHost;constructor(e){this._portalHost=e}attach(e,r=!0){return this._portalHost.attach(e,r)}detach(){return this._portalHost.detach()}},My=(()=>{class i{_overlayContainer=N(Iy);_componentFactoryResolver=N(On);_appRef=N(Ot);_document=N(te);_paneElements=new Map;create(r,t){return this._createOverlayRef(this.getPaneElement(r,t))}getPaneElement(r="",t){return this._paneElements.get(t)||this._paneElements.set(t,{}),this._paneElements.get(t)[r]||(this._paneElements.get(t)[r]=this._createPaneElement(r,t)),this._paneElements.get(t)[r]}_createPaneElement(r,t){let n=this._document.createElement("div");return n.id="toast-container",n.classList.add(r),n.classList.add("toast-container"),t?t.getContainerElement().appendChild(n):this._overlayContainer.getContainerElement().appendChild(n),n}_createPortalHost(r){return new Fl(r,this._componentFactoryResolver,this._appRef)}_createOverlayRef(r){return new Pl(this._createPortalHost(r))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=U({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Zo=(()=>{class i{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(r,t,n,o,s){this.overlay=t,this._injector=n,this.sanitizer=o,this.ngZone=s,this.toastrConfig=F(F({},r.default),r.config),r.config.iconClasses&&(this.toastrConfig.iconClasses=F(F({},r.default.iconClasses),r.config.iconClasses))}show(r,t,n={},o=""){return this._preBuildNotification(o,r,t,this.applyConfig(n))}success(r,t,n={}){let o=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(o,r,t,this.applyConfig(n))}error(r,t,n={}){let o=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(o,r,t,this.applyConfig(n))}info(r,t,n={}){let o=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(o,r,t,this.applyConfig(n))}warning(r,t,n={}){let o=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(o,r,t,this.applyConfig(n))}clear(r){for(let t of this.toasts)if(r!==void 0){if(t.toastId===r){t.toastRef.manualClose();return}}else t.toastRef.manualClose()}remove(r){let t=this._findToast(r);if(!t||(t.activeToast.toastRef.close(),this.toasts.splice(t.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActivethis._buildNotification(r,t,n,o)):this._buildNotification(r,t,n,o)}_buildNotification(r,t,n,o){if(!o.toastComponent)throw new Error("toastComponent required");let s=this.findDuplicate(n,t,this.toastrConfig.resetTimeoutOnDuplicate&&o.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&n||t)&&this.toastrConfig.preventDuplicates&&s!==null)return s;this.previousToastMessage=t;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let l=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;let c=t;t&&o.enableHtml&&(c=this.sanitizer.sanitize(it.HTML,t));let d=new Ol(l),u=new _n(this.index,o,c,n,r,d),f=[{provide:_n,useValue:u}],m=Et.create({providers:f,parent:this._injector}),g=new Al(o.toastComponent,m),b=l.attach(g,o.newestOnTop);d.componentInstance=b.instance;let p={toastId:this.index,title:n||"",message:t||"",toastRef:d,onShown:d.afterActivate(),onHidden:d.afterClosed(),onTap:u.onTap(),onAction:u.onAction(),portal:b};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{p.toastRef.activate()})),this.toasts.push(p),p}static \u0275fac=function(t){return new(t||i)(R(Oh),R(My),R(Et),R(Hn),R(Q))};static \u0275prov=U({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),ky=(()=>{class i{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";state;get displayStyle(){if(this.state.value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(r,t,n){this.toastrService=r,this.toastPackage=t,this.ngZone=n,this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=pe(F({},this.state),{value:"active"}),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width===0||this.width===100||!this.options.timeOut)return;let r=new Date().getTime(),t=this.hideTime-r;this.width=t/this.options.timeOut*100,this.options.progressAnimation==="increasing"&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=pe(F({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state.value!=="removed"&&(clearTimeout(this.timeout),this.state=pe(F({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state.value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state.value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state.value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(r,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(r),t)):this.timeout=setTimeout(()=>r(),t)}outsideInterval(r,t){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(r),t)):this.intervalId=setInterval(()=>r(),t)}runInsideAngular(r){this.ngZone?this.ngZone.run(()=>r()):r()}static \u0275fac=function(t){return new(t||i)(E(Zo),E(_n),E(Q))};static \u0275cmp=ge({type:i,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(t,n){t&1&&Ne("click",function(){return n.tapToast()})("mouseenter",function(){return n.stickAround()})("mouseleave",function(){return n.delayedHideToast()}),t&2&&(Sc("@flyInOut",n.state),nt(n.toastClasses),bt("display",n.displayStyle))},standalone:!0,features:[be],attrs:Ah,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(t,n){t&1&&ce(0,gy,3,0,"button",0)(1,vy,3,5,"div",1)(2,_y,1,3,"div",2)(3,yy,2,4,"div",3)(4,wy,2,2,"div",4),t&2&&(oe("ngIf",n.options.closeButton),V(),oe("ngIf",n.title),V(),oe("ngIf",n.message&&n.options.enableHtml),V(),oe("ngIf",n.message&&!n.options.enableHtml),V(),oe("ngIf",n.options.progressBar))},dependencies:[xs],encapsulation:2,data:{animation:[Si("flyInOut",[li("inactive",Tt({opacity:0})),li("active",Tt({opacity:1})),li("removed",Tt({opacity:0})),Gt("inactive => active",ai("{{ easeTime }}ms {{ easing }}")),Gt("active => removed",ai("{{ easeTime }}ms {{ easing }}"))])]}})}return i})(),Ay=pe(F({},Rh),{toastComponent:ky}),Fh=(i={})=>Vt([{provide:Oh,useValue:{default:Ay,config:i}}]);var Ry=(()=>{class i{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";get displayStyle(){return this.state==="inactive"?"none":null}state="inactive";timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(r,t,n){this.toastrService=r,this.toastPackage=t,this.appRef=n,this.message=t.message,this.title=t.title,this.options=t.config,this.originalTimeout=t.config.timeOut,this.toastClasses=`${t.toastType} ${t.config.toastClass}`,this.sub=t.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=t.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=t.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=t.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width===0||this.width===100||!this.options.timeOut)return;let r=new Date().getTime(),t=this.hideTime-r;this.width=t/this.options.timeOut*100,this.options.progressAnimation==="increasing"&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state!=="removed"&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(t){return new(t||i)(E(Zo),E(_n),E(Ot))};static \u0275cmp=ge({type:i,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(t,n){t&1&&Ne("click",function(){return n.tapToast()})("mouseenter",function(){return n.stickAround()})("mouseleave",function(){return n.delayedHideToast()}),t&2&&(nt(n.toastClasses),bt("display",n.displayStyle))},standalone:!0,features:[be],attrs:Ah,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(t,n){t&1&&ce(0,xy,3,0,"button",0)(1,Ey,3,5,"div",1)(2,Sy,1,3,"div",2)(3,Ty,2,4,"div",3)(4,Dy,2,2,"div",4),t&2&&(oe("ngIf",n.options.closeButton),V(),oe("ngIf",n.title),V(),oe("ngIf",n.message&&n.options.enableHtml),V(),oe("ngIf",n.message&&!n.options.enableHtml),V(),oe("ngIf",n.options.progressBar))},dependencies:[xs],encapsulation:2})}return i})(),ZD=pe(F({},Rh),{toastComponent:Ry});var Ph=(()=>{let e=class e{transform(t){if(isNaN(t))return"";let n=Math.abs(t),o=Math.abs(t).toString();return n>=1e12?o=(n/1e12).toFixed(2)+"T":n>=1e9?o=(n/1e9).toFixed(2)+"B":n>=1e6?o=(n/1e6).toFixed(2)+"M":n>=1e3?o=(n/1e3).toFixed(2)+"K":o=n.toFixed(2),o}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=Ir({name:"numberFormatter",type:e,pure:!0,standalone:!0});let i=e;return i})();var Fy=[[["caption"]],[["colgroup"],["col"]],"*"],Py=["caption","colgroup, col","*"];function Ny(i,e){i&1&&ve(0,2)}function Ly(i,e){i&1&&(j(0,"thead",0),Ye(1,1),$(),j(2,"tbody",0),Ye(3,2)(4,3),$(),j(5,"tfoot",0),Ye(6,4),$())}function zy(i,e){i&1&&Ye(0,1)(1,2)(2,3)(3,4)}var kt=new Y("CDK_TABLE");var is=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(E(dt))},e.\u0275dir=Z({type:e,selectors:[["","cdkCellDef",""]],standalone:!0});let i=e;return i})(),ns=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(E(dt))},e.\u0275dir=Z({type:e,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let i=e;return i})(),zh=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(n){return new(n||e)(E(dt))},e.\u0275dir=Z({type:e,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let i=e;return i})(),yn=(()=>{let e=class e{get name(){return this._name}set name(t){this._setNameInput(t)}get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){t!==this._stickyEnd&&(this._stickyEnd=t,this._hasStickyChanged=!0)}constructor(t){this._table=t,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};e.\u0275fac=function(n){return new(n||e)(E(kt,8))},e.\u0275dir=Z({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(n,o,s){if(n&1&&(Ve(s,is,5),Ve(s,ns,5),Ve(s,zh,5)),n&2){let a;fe(a=he())&&(o.cell=a.first),fe(a=he())&&(o.headerCell=a.first),fe(a=he())&&(o.footerCell=a.first)}},inputs:{name:[L.None,"cdkColumnDef","name"],sticky:[L.HasDecoratorInputTransform,"sticky","sticky",me],stickyEnd:[L.HasDecoratorInputTransform,"stickyEnd","stickyEnd",me]},standalone:!0,features:[Re([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),Pe]});let i=e;return i})(),Qo=class{constructor(e,r){r.nativeElement.classList.add(...e._columnCssClassName)}},jh=(()=>{let e=class e extends Qo{constructor(t,n){super(t,n)}};e.\u0275fac=function(n){return new(n||e)(E(yn),E(re))},e.\u0275dir=Z({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[Se]});let i=e;return i})();var Vh=(()=>{let e=class e extends Qo{constructor(t,n){super(t,n);let o=t._table?._getCellRole();o&&n.nativeElement.setAttribute("role",o)}};e.\u0275fac=function(n){return new(n||e)(E(yn),E(re))},e.\u0275dir=Z({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[Se]});let i=e;return i})(),Jo=class{constructor(){this.tasks=[],this.endTasks=[]}},es=new Y("_COALESCED_STYLE_SCHEDULER"),Ll=(()=>{let e=class e{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new J}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Jo,this._getScheduleObservable().pipe(Ce(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let t=this._currentSchedule;this._currentSchedule=new Jo;for(let n of t.tasks)n();for(let n of t.endTasks)n()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Xe(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Ge(1))}};e.\u0275fac=function(n){return new(n||e)(R(Q))},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})();var zl=(()=>{let e=class e{constructor(t,n){this.template=t,this._differs=n}ngOnChanges(t){if(!this._columnsDiffer){let n=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(n).create(),this._columnsDiffer.diff(n)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof wr?t.headerCell.template:this instanceof jl?t.footerCell.template:t.cell.template}};e.\u0275fac=function(n){return new(n||e)(E(dt),E(Ei))},e.\u0275dir=Z({type:e,features:[Je]});let i=e;return i})(),wr=(()=>{let e=class e extends zl{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,n,o){super(t,n),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(n){return new(n||e)(E(dt),E(Ei),E(kt,8))},e.\u0275dir=Z({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[L.None,"cdkHeaderRowDef","columns"],sticky:[L.HasDecoratorInputTransform,"cdkHeaderRowDefSticky","sticky",me]},standalone:!0,features:[Pe,Se,Je]});let i=e;return i})(),jl=(()=>{let e=class e extends zl{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,n,o){super(t,n),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(n){return new(n||e)(E(dt),E(Ei),E(kt,8))},e.\u0275dir=Z({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[L.None,"cdkFooterRowDef","columns"],sticky:[L.HasDecoratorInputTransform,"cdkFooterRowDefSticky","sticky",me]},standalone:!0,features:[Pe,Se,Je]});let i=e;return i})(),rs=(()=>{let e=class e extends zl{constructor(t,n,o){super(t,n),this._table=o}};e.\u0275fac=function(n){return new(n||e)(E(dt),E(Ei),E(kt,8))},e.\u0275dir=Z({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:[L.None,"cdkRowDefColumns","columns"],when:[L.None,"cdkRowDefWhen","when"]},standalone:!0,features:[Se]});let i=e;return i})(),Ui=(()=>{let e=class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}};e.mostRecentCellOutlet=null,e.\u0275fac=function(n){return new(n||e)(E(gt))},e.\u0275dir=Z({type:e,selectors:[["","cdkCellOutlet",""]],standalone:!0});let i=e;return i})(),Vl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ge({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[be],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&Ye(0,0)},dependencies:[Ui],encapsulation:2});let i=e;return i})();var Bl=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ge({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[be],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&Ye(0,0)},dependencies:[Ui],encapsulation:2});let i=e;return i})(),Bh=(()=>{let e=class e{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}};e.\u0275fac=function(n){return new(n||e)(E(dt))},e.\u0275dir=Z({type:e,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let i=e;return i})(),Nh=["top","bottom","left","right"],Nl=class{constructor(e,r,t,n,o=!0,s=!0,a){this._isNativeHtmlTable=e,this._stickCellCss=r,this.direction=t,this._coalescedStyleScheduler=n,this._isBrowser=o,this._needsPositionStickyOnElement=s,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${r}-border-elem-top`,bottom:`${r}-border-elem-bottom`,left:`${r}-border-elem-left`,right:`${r}-border-elem-right`}}clearStickyPositioning(e,r){let t=[];for(let n of e)if(n.nodeType===n.ELEMENT_NODE){t.push(n);for(let o=0;o{for(let n of t)this._removeStickyStyle(n,r)})}updateStickyColumns(e,r,t,n=!0){if(!e.length||!this._isBrowser||!(r.some(o=>o)||t.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=e[0],s=o.children.length,a=this._getCellWidths(o,n),l=this._getStickyStartColumnPositions(a,r),c=this._getStickyEndColumnPositions(a,t),d=r.lastIndexOf(!0),u=t.indexOf(!0),f=this.direction==="rtl",m=f?"right":"left",g=f?"left":"right";for(let b of e)for(let p=0;pr[p]?b:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:u===-1?[]:a.slice(u).map((b,p)=>t[p+u]?b:null).reverse()}))})}stickRows(e,r,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let n=t==="bottom"?e.slice().reverse():e,o=t==="bottom"?r.slice().reverse():r,s=[],a=[],l=[];for(let d=0,u=0;d{let t=e.querySelector("tfoot");t&&(r.some(n=>!n)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(e,r){for(let n of r)e.style[n]="",e.classList.remove(this._borderCellCss[n]);Nh.some(n=>r.indexOf(n)===-1&&e.style[n])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,r,t,n){e.classList.add(this._stickCellCss),n&&e.classList.add(this._borderCellCss[r]),e.style[r]=`${t}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let r={top:100,bottom:10,left:1,right:1},t=0;for(let n of Nh)e.style[n]&&(t+=r[n]);return t?`${t}`:""}_getCellWidths(e,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],n=e.children;for(let o=0;o0;o--)r[o]&&(t[o]=n,n+=e[o]);return t}};var ts=new Y("CDK_SPL");var Hl=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=N(kt);o._rowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(E(gt),E(re))},e.\u0275dir=Z({type:e,selectors:[["","rowOutlet",""]],standalone:!0});let i=e;return i})(),Ul=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=N(kt);o._headerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(E(gt),E(re))},e.\u0275dir=Z({type:e,selectors:[["","headerRowOutlet",""]],standalone:!0});let i=e;return i})(),$l=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=N(kt);o._footerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(E(gt),E(re))},e.\u0275dir=Z({type:e,selectors:[["","footerRowOutlet",""]],standalone:!0});let i=e;return i})(),Wl=(()=>{let e=class e{constructor(t,n){this.viewContainer=t,this.elementRef=n;let o=N(kt);o._noDataRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(n){return new(n||e)(E(gt),E(re))},e.\u0275dir=Z({type:e,selectors:[["","noDataRowOutlet",""]],standalone:!0});let i=e;return i})();var Gl=(()=>{let e=class e{_getCellRole(){if(this._cellRoleInternal===void 0){let t=this._elementRef.nativeElement.getAttribute("role"),n=t==="grid"||t==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&n==="cell"?null:n}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=t,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=t,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(t,n,o,s,a,l,c,d,u,f,m,g){this._differs=t,this._changeDetectorRef=n,this._elementRef=o,this._dir=a,this._platform=c,this._viewRepeater=d,this._coalescedStyleScheduler=u,this._viewportRuler=f,this._stickyPositioningListener=m,this._ngZone=g,this._onDestroy=new J,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new Ee,this.viewChange=new We({start:0,end:Number.MAX_VALUE}),s||o.nativeElement.setAttribute("role","table"),this._document=l,this._isServer=!c.isBrowser,this._isNativeHtmlTable=o.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((t,n)=>this.trackBy?this.trackBy(n.dataIndex,n.data):n),this._viewportRuler.change().pipe(Ce(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(t=>{t?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),ko(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let t=this._dataDiffer.diff(this._renderRows);if(!t){this._updateNoDataRow(),this.contentChanged.next();return}let n=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,n,(o,s,a)=>this._getEmbeddedViewArgs(o.item,a),o=>o.item.data,o=>{o.operation===gn.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(o=>{let s=n.get(o.currentIndex);s.context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&Q.isInAngularZone()?this._ngZone.onStable.pipe(Ge(1),Ce(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){let t=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=Lh(this._headerRowOutlet,"thead");o&&(o.style.display=t.length?"":"none")}let n=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let t=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=Lh(this._footerRowOutlet,"tfoot");o&&(o.style.display=t.length?"":"none")}let n=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let t=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...n,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((s,a)=>{this._addStickyColumnStyles([s],this._headerRowDefs[a])}),this._rowDefs.forEach(s=>{let a=[];for(let l=0;l{this._addStickyColumnStyles([s],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(s=>s.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let n=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||n,this._forceRecalculateCellWidths=n,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){let t=[],n=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let l=o&&o.has(a)?o.get(a):[];if(l.length){let c=l.shift();return c.dataIndex=n,c}else return{data:t,rowDef:a,dataIndex:n}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ko(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(n=>{this._columnDefsByName.has(n.name),this._columnDefsByName.set(n.name,n)})}_cacheRowDefs(){this._headerRowDefs=Ko(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ko(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ko(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let t=this._rowDefs.filter(n=>!n.when);!this.multiTemplateDataRows&&t.length>1,this._defaultRowDef=t[0]}_renderUpdatedColumns(){let t=(a,l)=>a||!!l.getColumnsDiff(),n=this._rowDefs.reduce(t,!1);n&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(t,!1);o&&this._forceRenderHeaderRows();let s=this._footerRowDefs.reduce(t,!1);return s&&this._forceRenderFooterRows(),n||o||s}_switchDataSource(t){this._data=[],ko(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;ko(this.dataSource)?t=this.dataSource.connect(this):Wi(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=X(this.dataSource)),this._renderChangeSubscription=t.pipe(Ce(this._onDestroy)).subscribe(n=>{this._data=n||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,n)=>this._renderRow(this._headerRowOutlet,t,n)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,n)=>this._renderRow(this._footerRowOutlet,t,n)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,n){let o=Array.from(n.columns||[]).map(l=>{let c=this._columnDefsByName.get(l);return c}),s=o.map(l=>l.sticky),a=o.map(l=>l.stickyEnd);this._stickyStyler.updateStickyColumns(t,s,a,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){let n=[];for(let o=0;o!s.when||s.when(n,t));else{let s=this._rowDefs.find(a=>a.when&&a.when(n,t))||this._defaultRowDef;s&&o.push(s)}return o.length,o}_getEmbeddedViewArgs(t,n){let o=t.rowDef,s={$implicit:t.data};return{templateRef:o.template,context:s,index:n}}_renderRow(t,n,o,s={}){let a=t.viewContainer.createEmbeddedView(n.template,s,o);return this._renderCellTemplateForItem(n,s),a}_renderCellTemplateForItem(t,n){for(let o of this._getCellTemplates(t))Ui.mostRecentCellOutlet&&Ui.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let t=this._rowOutlet.viewContainer;for(let n=0,o=t.length;n{let o=this._columnDefsByName.get(n);return t.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let t=(n,o)=>n||o.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let t=this._dir?this._dir.value:"ltr";this._stickyStyler=new Nl(this._isNativeHtmlTable,this.stickyCssClass,t,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:X()).pipe(Ce(this._onDestroy)).subscribe(n=>{this._stickyStyler.direction=n,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(n=>!n._table||n._table===this)}_updateNoDataRow(){let t=this._customNoDataRow||this._noDataRow;if(!t)return;let n=this._rowOutlet.viewContainer.length===0;if(n===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(n){let s=o.createEmbeddedView(t.templateRef),a=s.rootNodes[0];s.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE&&(a.setAttribute("role","row"),a.classList.add(t._contentClassName))}else o.clear();this._isShowingNoDataRow=n,this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(n){return new(n||e)(E(Ei),E(at),E(re),ni("role"),E(Xt,8),E(te),E(ze),E(hr),E(es),E(zi),E(ts,12),E(Q,8))},e.\u0275cmp=ge({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(n,o,s){if(n&1&&(Ve(s,Bh,5),Ve(s,yn,5),Ve(s,rs,5),Ve(s,wr,5),Ve(s,jl,5)),n&2){let a;fe(a=he())&&(o._noDataRow=a.first),fe(a=he())&&(o._contentColumnDefs=a),fe(a=he())&&(o._contentRowDefs=a),fe(a=he())&&(o._contentHeaderRowDefs=a),fe(a=he())&&(o._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(n,o){n&2&&ke("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[L.HasDecoratorInputTransform,"multiTemplateDataRows","multiTemplateDataRows",me],fixedLayout:[L.HasDecoratorInputTransform,"fixedLayout","fixedLayout",me]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[Re([{provide:kt,useExisting:e},{provide:hr,useClass:bn},{provide:es,useClass:Ll},{provide:ts,useValue:null}]),Pe,be],ngContentSelectors:Py,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(et(Fy),ve(0),ve(1,1),ce(2,Ny,1,0)(3,Ly,7,0)(4,zy,4,0)),n&2&&(V(2),we(2,o._isServer?2:-1),V(),we(3,o._isNativeHtmlTable?3:4))},dependencies:[Ul,Hl,Wl,$l],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let i=e;return i})();function Ko(i,e){return i.concat(Array.from(e))}function Lh(i,e){let r=e.toUpperCase(),t=i.viewContainer.element.nativeElement;for(;t;){let n=t.nodeType===1?t.nodeName:null;if(n===r)return t;if(n==="TABLE")break;t=t.parentNode}return null}var Hh=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({imports:[mr]});let i=e;return i})();var jy=[[["caption"]],[["colgroup"],["col"]],"*"],Vy=["caption","colgroup, col","*"];function By(i,e){i&1&&ve(0,2)}function Hy(i,e){i&1&&(j(0,"thead",0),Ye(1,1),$(),j(2,"tbody",2),Ye(3,3)(4,4),$(),j(5,"tfoot",0),Ye(6,5),$())}function Uy(i,e){i&1&&Ye(0,1)(1,3)(2,4)(3,5)}var Uh=(()=>{let e=class e extends Gl{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=$e(e)))(o||e)}})(),e.\u0275cmp=ge({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(n,o){n&2&&ke("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[Re([{provide:Gl,useExisting:e},{provide:kt,useExisting:e},{provide:es,useClass:Ll},{provide:hr,useClass:bn},{provide:ts,useValue:null}]),Se,be],ngContentSelectors:Vy,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(n,o){n&1&&(et(jy),ve(0),ve(1,1),ce(2,By,1,0)(3,Hy,7,0)(4,Uy,4,0)),n&2&&(V(2),we(2,o._isServer?2:-1),V(),we(3,o._isNativeHtmlTable?3:4))},dependencies:[Ul,Hl,Wl,$l],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2});let i=e;return i})(),$h=(()=>{let e=class e extends is{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=$e(e)))(o||e)}})(),e.\u0275dir=Z({type:e,selectors:[["","matCellDef",""]],standalone:!0,features:[Re([{provide:is,useExisting:e}]),Se]});let i=e;return i})(),Wh=(()=>{let e=class e extends ns{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=$e(e)))(o||e)}})(),e.\u0275dir=Z({type:e,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[Re([{provide:ns,useExisting:e}]),Se]});let i=e;return i})();var Gh=(()=>{let e=class e extends yn{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=$e(e)))(o||e)}})(),e.\u0275dir=Z({type:e,selectors:[["","matColumnDef",""]],inputs:{name:[L.None,"matColumnDef","name"]},standalone:!0,features:[Re([{provide:yn,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),Se]});let i=e;return i})(),Yh=(()=>{let e=class e extends jh{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=$e(e)))(o||e)}})(),e.\u0275dir=Z({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[Se]});let i=e;return i})();var qh=(()=>{let e=class e extends Vh{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=$e(e)))(o||e)}})(),e.\u0275dir=Z({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[Se]});let i=e;return i})();var Xh=(()=>{let e=class e extends wr{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=$e(e)))(o||e)}})(),e.\u0275dir=Z({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[L.None,"matHeaderRowDef","columns"],sticky:[L.HasDecoratorInputTransform,"matHeaderRowDefSticky","sticky",me]},standalone:!0,features:[Re([{provide:wr,useExisting:e}]),Pe,Se]});let i=e;return i})();var Zh=(()=>{let e=class e extends rs{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=$e(e)))(o||e)}})(),e.\u0275dir=Z({type:e,selectors:[["","matRowDef",""]],inputs:{columns:[L.None,"matRowDefColumns","columns"],when:[L.None,"matRowDefWhen","when"]},standalone:!0,features:[Re([{provide:rs,useExisting:e}]),Se]});let i=e;return i})(),Kh=(()=>{let e=class e extends Vl{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=$e(e)))(o||e)}})(),e.\u0275cmp=ge({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[Re([{provide:Vl,useExisting:e}]),Se,be],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&Ye(0,0)},dependencies:[Ui],encapsulation:2});let i=e;return i})();var Qh=(()=>{let e=class e extends Bl{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=$e(e)))(o||e)}})(),e.\u0275cmp=ge({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[Re([{provide:Bl,useExisting:e}]),Se,be],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(n,o){n&1&&Ye(0,0)},dependencies:[Ui],encapsulation:2});let i=e;return i})();var Jh=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=ne({type:e}),e.\u0275inj=ie({imports:[je,Hh,je]});let i=e;return i})();var em=(()=>{let e=class e{transform(t){return`https://static.arkhamintelligence.com/tokens/${t}.png`}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=Ir({name:"transactionsTokenName",type:e,pure:!0,standalone:!0});let i=e;return i})();function Wy(i,e){i&1&&(j(0,"th",9),_e(1,"Amount"),$())}function Gy(i,e){if(i&1&&(j(0,"td",10)(1,"div",11)(2,"b"),_e(3),Wt(4,"numberFormatter"),$(),j(5,"span"),_e(6),Wt(7,"date"),$()()()),i&2){let r=e.$implicit;V(3),st("",oi(4,2,r.historicalUSD),"$"),V(3),st("(",Mc(7,4,r.blockTimestamp,"HH:mm","UTC+3"),")")}}function Yy(i,e){i&1&&(j(0,"th",9),_e(1,"From"),$())}function qy(i,e){if(i&1&&(j(0,"td",10)(1,"div",12)(2,"div",13),ue(3,"img",14),Wt(4,"transactionsTokenName"),$(),j(5,"b"),_e(6),$(),j(7,"b"),_e(8),Wt(9,"numberFormatter"),$()()()),i&2){let r=e.$implicit;V(3),oe("src",oi(4,4,r.token0Id),bs)("alt",r.token0Id),V(3),vt(r.token0Symbol),V(2),vt(oi(9,6,r.unitValue0))}}function Xy(i,e){i&1&&(j(0,"th",9),_e(1,"To"),$())}function Zy(i,e){if(i&1&&(j(0,"td",10)(1,"span",12)(2,"div",13),ue(3,"img",14),Wt(4,"transactionsTokenName"),$(),j(5,"b"),_e(6),$(),j(7,"b"),_e(8),Wt(9,"numberFormatter"),$()()()),i&2){let r=e.$implicit;V(3),oe("src",oi(4,4,r.token1Id),bs)("alt",r.token1Id),V(3),vt(r.token1Symbol),V(2),vt(oi(9,6,r.unitValue1))}}function Ky(i,e){i&1&&ue(0,"tr",15)}function Qy(i,e){i&1&&ue(0,"tr",16)}function Jy(i,e){if(i&1&&(j(0,"div",0)(1,"table",1),Ut(2,2),ce(3,Wy,2,0,"th",3)(4,Gy,8,8,"td",4),$t(),Ut(5,5),ce(6,Yy,2,0,"th",3)(7,qy,10,8,"td",4),$t(),Ut(8,6),ce(9,Xy,2,0,"th",3)(10,Zy,10,8,"td",4),$t(),ce(11,Ky,1,0,"tr",7)(12,Qy,1,0,"tr",8),$()()),i&2){let r=de();V(),oe("dataSource",r.transactions),V(10),oe("matHeaderRowDef",r.displayedColumns),V(),oe("matRowDefColumns",r.displayedColumns)}}var tm=(()=>{let e=class e{constructor(){this.displayedColumns=["amount","from","to"]}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ge({type:e,selectors:[["crt-transactions-table"]],inputs:{transactions:"transactions"},standalone:!0,features:[be],decls:1,vars:1,consts:[[1,"transactions-table"],["mat-table","",1,"mat-elevation-z8",3,"dataSource"],["matColumnDef","amount"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","from"],["matColumnDef","to"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[1,"transactions-table__amount"],[1,"transactions-table__name"],[1,"transactions-table__name-img"],[3,"src","alt"],["mat-header-row",""],["mat-row",""]],template:function(n,o){n&1&&ce(0,Jy,13,3,"div",0),n&2&&we(0,o.transactions!=null&&o.transactions.length?0:-1)},dependencies:[St,Nc,Yo,Jh,Uh,Wh,Xh,Gh,$h,Zh,Yh,qh,Kh,Qh,Ph,em],styles:[".transactions-table__name[_ngcontent-%COMP%]{display:flex;align-items:center;gap:7px;max-width:125px}.transactions-table__name-img[_ngcontent-%COMP%]{width:22px;height:22px}.transactions-table__name-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;height:auto}.transactions-table__amount[_ngcontent-%COMP%]{display:flex;flex-direction:column}.mdc-data-table__cell[_ngcontent-%COMP%]{padding:0 10px}"],changeDetection:0});let i=e;return i})();var ew=(i,e)=>e.value;function tw(i,e){if(i&1&&(j(0,"mat-option",3),_e(1),$()),i&2){let r=e.$implicit;oe("value",r.value),V(),vt(r.viewValue)}}function iw(i,e){i&1&&(j(0,"div",5),ue(1,"mat-spinner"),$())}var im="volume",nm=(()=>{let e=class e extends Sh{constructor(){super(...arguments),this.transactionsApiService=N(Eh),this.localStorageService=N(Th),this.toastrService=N(Zo),this.transactionsGroups=[],this.transactions=[],this.isLoading$=new We(!1),this.volumeOptions=[{value:1e3,viewValue:"1000"},{value:1e4,viewValue:"10 000"},{value:1e5,viewValue:"100 000"},{value:1e6,viewValue:"1 000 000"},{value:1e9,viewValue:"1 000 000 000"}],this.selectedVolume=this.localStorageService.getItem(im)||1e6}ngOnInit(){this.getTransactionsList()}onVolumeChange(){this.localStorageService.setItem(im,this.selectedVolume),this.getTransactionsList()}getTransactionsList(){this.isLoading$.next(!0),Gi([this.transactionsApiService.getTransactions(this.selectedVolume),this.transactionsApiService.getTransactionsGroup(this.selectedVolume)]).pipe(Fe(([t,n])=>{this.transactions=t,this.transactionsGroups=n,this.initSwiper()}),At(t=>(this.toastrService.error(t.message),X(t))),Rt(()=>this.isLoading$.next(!1)),Ce(this.destroyed$)).subscribe()}initSwiper(){let t=new _t(".mySwiper",{modules:[],spaceBetween:40})}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=$e(e)))(o||e)}})(),e.\u0275cmp=ge({type:e,selectors:[["crt-transactions"]],standalone:!0,features:[Se,be],decls:19,vars:5,consts:[[1,"transactions"],[1,"transactions__filter"],[3,"ngModelChange","ngModel"],[3,"value"],[1,"transactions__inner"],[1,"transactions__loader"],[1,"swiper","mySwiper"],[1,"swiper-wrapper"],[1,"swiper-slide"],[3,"transactions"],[1,"transactions__action-refresh"],["mat-mini-fab","","color","primary",3,"click"]],template:function(n,o){n&1&&(j(0,"div",0)(1,"div",1)(2,"mat-form-field")(3,"mat-label"),_e(4,"Volume"),$(),j(5,"mat-select",2),Ic("ngModelChange",function(a){return Dc(o.selectedVolume,a)||(o.selectedVolume=a),a}),Ne("ngModelChange",function(){return o.onVolumeChange()}),Cc(6,tw,2,2,"mat-option",3,ew),$()()(),j(8,"div",4),ce(9,iw,2,0,"div",5),Wt(10,"async"),j(11,"div",6)(12,"div",7)(13,"div",8),ue(14,"crt-transactions-table",9),$()()()(),j(15,"div",10)(16,"button",11),Ne("click",function(){return o.getTransactionsList()}),j(17,"mat-icon"),_e(18,"cached"),$()()()()),n&2&&(V(5),Tc("ngModel",o.selectedVolume),V(),Ec(o.volumeOptions),V(3),we(9,oi(10,3,o.isLoading$)?9:-1),V(5),oe("transactions",o.transactions))},dependencies:[dh,_f,To,ch,Eo,Li,fh,_h,vh,kh,Mh,St,Pc,Yo,Jf,Il,xh,wh,tm],styles:["[_nghost-%COMP%] .mat-expansion-panel-body{display:flex;flex-direction:column;gap:10px;border-top:1px solid #d0d0d9;padding-block-start:12px}.transactions[_ngcontent-%COMP%]{position:relative}.transactions__panel-title[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;color:#000}.transactions__panel-title-img[_ngcontent-%COMP%]{margin-inline-end:10px;width:22px;height:22px}.transactions__panel-title-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;height:auto}.transactions__panel-description[_ngcontent-%COMP%]{display:flex;align-items:center;gap:20px}.transactions__panel-body[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr)}.transactions__loader[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-block-start:50px}.transactions__action-refresh[_ngcontent-%COMP%]{position:fixed;right:10px;bottom:10px;z-index:1}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.swiper[_ngcontent-%COMP%]{width:100%;height:100%}"],changeDetection:0});let i=e;return i})();var rm=[{path:"",component:nm}];var om=[...rm];var nw="@",rw=(()=>{let e=class e{constructor(t,n,o,s,a){this.doc=t,this.delegate=n,this.zone=o,this.animationType=s,this.moduleImpl=a,this._rendererFactoryPromise=null,this.scheduler=N(_c,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){return(this.moduleImpl??import("./chunk-R4B3TIJC.js")).catch(n=>{throw new De(5300,!1)}).then(({\u0275createEngine:n,\u0275AnimationRendererFactory:o})=>{this._engine=n(this.animationType,this.doc,this.scheduler);let s=new o(this.delegate,this._engine,this.zone);return this.delegate=s,s})}createRenderer(t,n){let o=this.delegate.createRenderer(t,n);if(o.\u0275type===0)return o;typeof o.throwOnSyntheticProps=="boolean"&&(o.throwOnSyntheticProps=!1);let s=new Yl(o);return n?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(a=>{let l=a.createRenderer(t,n);s.use(l)}).catch(a=>{s.use(o)}),s}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}};e.\u0275fac=function(n){Rn()},e.\u0275prov=U({token:e,factory:e.\u0275fac});let i=e;return i})(),Yl=class{constructor(e){this.delegate=e,this.replay=[],this.\u0275type=1}use(e){if(this.delegate=e,this.replay!==null){for(let r of this.replay)r(e);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(e,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}get destroyNode(){return this.delegate.destroyNode}appendChild(e,r){this.delegate.appendChild(e,r)}insertBefore(e,r,t,n){this.delegate.insertBefore(e,r,t,n)}removeChild(e,r,t){this.delegate.removeChild(e,r,t)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,t,n){this.delegate.setAttribute(e,r,t,n)}removeAttribute(e,r,t){this.delegate.removeAttribute(e,r,t)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,t,n){this.delegate.setStyle(e,r,t,n)}removeStyle(e,r,t){this.delegate.removeStyle(e,r,t)}setProperty(e,r,t){this.shouldReplay(r)&&this.replay.push(n=>n.setProperty(e,r,t)),this.delegate.setProperty(e,r,t)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,t){return this.shouldReplay(r)&&this.replay.push(n=>n.listen(e,r,t)),this.delegate.listen(e,r,t)}shouldReplay(e){return this.replay!==null&&e.startsWith(nw)}};function sm(i="animations"){return vs("NgAsyncAnimations"),Vt([{provide:kr,useFactory:(e,r,t)=>new rw(e,r,t,i),deps:[te,Gr,Q]},{provide:ot,useValue:i==="noop"?"NoopAnimations":"BrowserAnimations"}])}var am={providers:[ku(om),sm(),Xc(),Fh({timeOut:1e4,positionClass:"toast-bottom-right",preventDuplicates:!0})]};var lm=(()=>{let e=class e{constructor(){this.title="crt"}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=ge({type:e,selectors:[["app-root"]],standalone:!0,features:[be],decls:2,vars:0,consts:[[1,"box-container"]],template:function(n,o){n&1&&(j(0,"div",0),ue(1,"router-outlet"),$())},dependencies:[Aa],styles:[".box-container[_ngcontent-%COMP%]{padding:5px}"]});let i=e;return i})();Xd();nd(lm,am).catch(i=>console.error(i));