@mxtommy/kip 3.10.0-beta.32 → 3.10.0-beta.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kip-plugin/src/index.ts +22 -17
- package/package.json +1 -1
- package/plugin/index.js +17 -13
- package/public/3rdpartylicenses.txt +26 -26
- package/public/{chunk-4RVFIZB6.js → chunk-7FXC6ZCG.js} +1 -1
- package/public/{chunk-RFSG3HYB.js → chunk-DW3FZIIP.js} +8 -8
- package/public/{chunk-GJ33QBJ6.js → chunk-EWWJTY5U.js} +1 -1
- package/public/chunk-H2UHZISE.js +1 -0
- package/public/{chunk-OSFVNS4U.js → chunk-HWRYGZHY.js} +11 -11
- package/public/chunk-JBNATG4K.js +1 -0
- package/public/chunk-KSORZFLR.js +7 -0
- package/public/chunk-LA7JUGVG.js +2 -0
- package/public/{chunk-BJBOBGE4.js → chunk-PBYG5L2Q.js} +1 -1
- package/public/{chunk-J3WNXGAQ.js → chunk-QFA6EGZZ.js} +1 -1
- package/public/chunk-QHWRRGKT.js +2 -0
- package/public/{chunk-PZS3DSZO.js → chunk-QKZFW37P.js} +1 -1
- package/public/{chunk-LRX3XYXK.js → chunk-RSFIBBDU.js} +1 -1
- package/public/{chunk-LEXHVK5K.js → chunk-UMX5S3AL.js} +1 -1
- package/public/chunk-YN2WYPNC.js +16 -0
- package/public/{chunk-WKDUEVL2.js → chunk-ZFPSXMA5.js} +1 -1
- package/public/{chunk-CKTYGHMF.js → chunk-ZZOEEKZS.js} +5 -5
- package/public/index.html +1 -1
- package/public/main-BAIQ3IBV.js +53 -0
- package/public/chunk-ARHEMYCP.js +0 -2
- package/public/chunk-FW2LAMAA.js +0 -16
- package/public/chunk-JFDPDIG2.js +0 -2
- package/public/chunk-NL52VRFS.js +0 -1
- package/public/chunk-PTADMSJZ.js +0 -1
- package/public/chunk-QOWRNJOY.js +0 -1
- package/public/chunk-VJWBCIDF.js +0 -7
- package/public/main-5CMGKUTD.js +0 -53
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var $C=Object.create;var Yu=Object.defineProperty,zC=Object.defineProperties,WC=Object.getOwnPropertyDescriptor,GC=Object.getOwnPropertyDescriptors,qC=Object.getOwnPropertyNames,wa=Object.getOwnPropertySymbols,YC=Object.getPrototypeOf,Zu=Object.prototype.hasOwnProperty,Ig=Object.prototype.propertyIsEnumerable;var Cg=(e,n,t)=>n in e?Yu(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,v=(e,n)=>{for(var t in n||={})Zu.call(n,t)&&Cg(e,t,n[t]);if(wa)for(var t of wa(n))Ig.call(n,t)&&Cg(e,t,n[t]);return e},U=(e,n)=>zC(e,GC(n));var ZC=(e,n)=>{var t={};for(var r in e)Zu.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&wa)for(var r of wa(e))n.indexOf(r)<0&&Ig.call(e,r)&&(t[r]=e[r]);return t};var yP=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var KC=(e,n,t,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of qC(n))!Zu.call(e,o)&&o!==t&&Yu(e,o,{get:()=>n[o],enumerable:!(r=WC(n,o))||r.enumerable});return e};var bP=(e,n,t)=>(t=e!=null?$C(YC(e)):{},KC(n||!e||!e.__esModule?Yu(t,"default",{value:e,enumerable:!0}):t,e));var Un=(e,n,t)=>new Promise((r,o)=>{var i=c=>{try{a(t.next(c))}catch(l){o(l)}},s=c=>{try{a(t.throw(c))}catch(l){o(l)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((t=t.apply(e,n)).next())});function A(e){return typeof e=="function"}function Hn(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Ca=Hn(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
2
|
+
${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
3
|
+
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function Er(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var H=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(A(r))try{r()}catch(i){n=i instanceof Ca?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Sg(i)}catch(s){n=n??[],s instanceof Ca?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ca(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Sg(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&Er(t,n)}remove(n){let{_finalizers:t}=this;t&&Er(t,n),n instanceof e&&n._removeParent(this)}};H.EMPTY=(()=>{let e=new H;return e.closed=!0,e})();var Ku=H.EMPTY;function Ia(e){return e instanceof H||e&&"closed"in e&&A(e.remove)&&A(e.add)&&A(e.unsubscribe)}function Sg(e){A(e)?e():e.unsubscribe()}var Nt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var go={setTimeout(e,n,...t){let{delegate:r}=go;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=go;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Sa(e){go.setTimeout(()=>{let{onUnhandledError:n}=Nt;if(n)n(e);else throw e})}function st(){}var Tg=Xu("C",void 0,void 0);function Mg(e){return Xu("E",void 0,e)}function Rg(e){return Xu("N",e,void 0)}function Xu(e,n,t){return{kind:e,value:n,error:t}}var Dr=null;function vo(e){if(Nt.useDeprecatedSynchronousErrorHandling){let n=!Dr;if(n&&(Dr={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=Dr;if(Dr=null,t)throw r}}else e()}function xg(e){Nt.useDeprecatedSynchronousErrorHandling&&Dr&&(Dr.errorThrown=!0,Dr.error=e)}var wr=class extends H{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ia(n)&&n.add(this)):this.destination=JC}static create(n,t,r){return new Ot(n,t,r)}next(n){this.isStopped?Ju(Rg(n),this):this._next(n)}error(n){this.isStopped?Ju(Mg(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Ju(Tg,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},XC=Function.prototype.bind;function Qu(e,n){return XC.call(e,n)}var ed=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Ta(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Ta(r)}else Ta(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Ta(t)}}},Ot=class extends wr{constructor(n,t,r){super();let o;if(A(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&Nt.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Qu(n.next,i),error:n.error&&Qu(n.error,i),complete:n.complete&&Qu(n.complete,i)}):o=n}this.destination=new ed(o)}};function Ta(e){Nt.useDeprecatedSynchronousErrorHandling?xg(e):Sa(e)}function QC(e){throw e}function Ju(e,n){let{onStoppedNotification:t}=Nt;t&&go.setTimeout(()=>t(e,n))}var JC={closed:!0,next:st,error:QC,complete:st};var yo=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Le(e){return e}function td(...e){return nd(e)}function nd(e){return e.length===0?Le:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var k=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=tI(t)?t:new Ot(t,r,o);return vo(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=Ag(r),new r((o,i)=>{let s=new Ot({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[yo](){return this}pipe(...t){return nd(t)(this)}toPromise(t){return t=Ag(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Ag(e){var n;return(n=e??Nt.Promise)!==null&&n!==void 0?n:Promise}function eI(e){return e&&A(e.next)&&A(e.error)&&A(e.complete)}function tI(e){return e&&e instanceof wr||eI(e)&&Ia(e)}var Ng=Hn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var N=(()=>{class e extends k{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new Ma(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Ng}next(t){vo(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){vo(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){vo(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Ku:(this.currentObservers=null,i.push(t),new H(()=>{this.currentObservers=null,Er(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new k;return t.source=this,t}}return e.create=(n,t)=>new Ma(n,t),e})(),Ma=class extends N{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:Ku}};function rd(e){return A(e?.lift)}function S(e){return n=>{if(rd(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function w(e,n,t,r,o){return new od(e,n,t,r,o)}var od=class extends wr{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function M(e,n){return S((t,r)=>{let o=0;t.subscribe(w(r,i=>{r.next(e.call(n,i,o++))}))})}var Ra=class extends H{constructor(n,t){super()}schedule(n,t=0){return this}};var Oi={setInterval(e,n,...t){let{delegate:r}=Oi;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=Oi;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var bo=class extends Ra{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return Oi.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&Oi.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r=!1,o;try{this.work(n)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,Er(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var ki={now(){return(ki.delegate||Date).now()},delegate:void 0};var _o=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}};_o.now=ki.now;var Eo=class extends _o{constructor(n,t=_o.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var Ge=new Eo(bo),Og=Ge;function $n(e,n=Ge){return S((t,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=n.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}t.subscribe(w(r,l=>{i=l,s=n.now(),o||(o=n.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Pg(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}function kg(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.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(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Cr(e){return this instanceof Cr?(this.v=e,this):new Cr(e)}function Fg(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(h){return function(m){return Promise.resolve(m).then(h,d)}}function a(h,m){r[h]&&(o[h]=function(_){return new Promise(function(E,D){i.push([h,_,E,D])>1||c(h,_)})},m&&(o[h]=m(o[h])))}function c(h,m){try{l(r[h](m))}catch(_){p(i[0][3],_)}}function l(h){h.value instanceof Cr?Promise.resolve(h.value.v).then(u,d):p(i[0][2],h)}function u(h){c("next",h)}function d(h){c("throw",h)}function p(h,m){h(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Lg(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof kg=="function"?kg(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Do=e=>e&&typeof e.length=="number"&&typeof e!="function";function xa(e){return A(e?.then)}function Aa(e){return A(e[yo])}function Na(e){return Symbol.asyncIterator&&A(e?.[Symbol.asyncIterator])}function Oa(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 nI(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ka=nI();function Pa(e){return A(e?.[ka])}function Fa(e){return Fg(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield Cr(t.read());if(o)return yield Cr(void 0);yield yield Cr(r)}}finally{t.releaseLock()}})}function La(e){return A(e?.getReader)}function L(e){if(e instanceof k)return e;if(e!=null){if(Aa(e))return rI(e);if(Do(e))return oI(e);if(xa(e))return iI(e);if(Na(e))return jg(e);if(Pa(e))return sI(e);if(La(e))return aI(e)}throw Oa(e)}function rI(e){return new k(n=>{let t=e[yo]();if(A(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function oI(e){return new k(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function iI(e){return new k(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Sa)})}function sI(e){return new k(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function jg(e){return new k(n=>{cI(e,n).catch(t=>n.error(t))})}function aI(e){return jg(Fa(e))}function cI(e,n){var t,r,o,i;return Pg(this,void 0,void 0,function*(){try{for(t=Lg(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function Bg(e,n){return S((t,r)=>{let{leading:o=!0,trailing:i=!1}=n??{},s=!1,a=null,c=null,l=!1,u=()=>{c?.unsubscribe(),c=null,i&&(h(),l&&r.complete())},d=()=>{c=null,l&&r.complete()},p=m=>c=L(e(m)).subscribe(w(r,u,d)),h=()=>{if(s){s=!1;let m=a;a=null,r.next(m),!l&&p(m)}};t.subscribe(w(r,m=>{s=!0,a=m,!(c&&!c.closed)&&(o?h():p(m))},()=>{l=!0,!(i&&s&&c&&!c.closed)&&r.complete()}))})}function ja(e){return e&&A(e.schedule)}function Ba(e){return e instanceof Date&&!isNaN(e)}function _n(e=0,n,t=Og){let r=-1;return n!=null&&(ja(n)?t=n:r=n),new k(o=>{let i=Ba(e)?+e-t.now():e;i<0&&(i=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function lI(e,n=Ge,t){let r=_n(e,n);return Bg(()=>r,t)}function wo(){return S((e,n)=>{let t=null;e._refCount++;let r=w(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){t=null;return}let o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}var zn=class extends k{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,rd(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new H;let t=this.getSubject();n.add(this.source.subscribe(w(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=H.EMPTY)}return n}refCount(){return wo()(this)}};var Co={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame,{delegate:r}=Co;r&&(n=r.requestAnimationFrame,t=r.cancelAnimationFrame);let o=n(i=>{t=void 0,e(i)});return new H(()=>t?.(o))},requestAnimationFrame(...e){let{delegate:n}=Co;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:n}=Co;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Ee=class extends N{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var Io=class extends N{constructor(n=1/0,t=1/0,r=ki){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){let{isStopped:t,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;t||(r.push(n),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!n.closed;s+=r?1:2)n.next(i[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){let{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*n;if(n<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=t.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Va=class extends bo{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=Co.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&t===n._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(Co.cancelAnimationFrame(t),n._scheduled=void 0)}};var Ua=class extends Eo{flush(n){this._active=!0;let t;n?t=n.id:(t=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var Vg=new Ua(Va);var je=new k(e=>e.complete());function id(e){return e[e.length-1]}function So(e){return A(id(e))?e.pop():void 0}function Kt(e){return ja(id(e))?e.pop():void 0}function Ug(e,n){return typeof id(e)=="number"?e.pop():n}function Be(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ha(e,n=0){return S((t,r)=>{t.subscribe(w(r,o=>Be(r,e,()=>r.next(o),n),()=>Be(r,e,()=>r.complete(),n),o=>Be(r,e,()=>r.error(o),n)))})}function $a(e,n=0){return S((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Hg(e,n){return L(e).pipe($a(n),Ha(n))}function $g(e,n){return L(e).pipe($a(n),Ha(n))}function zg(e,n){return new k(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Wg(e,n){return new k(t=>{let r;return Be(t,n,()=>{r=e[ka](),Be(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>A(r?.return)&&r.return()})}function za(e,n){if(!e)throw new Error("Iterable cannot be null");return new k(t=>{Be(t,n,()=>{let r=e[Symbol.asyncIterator]();Be(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Gg(e,n){return za(Fa(e),n)}function qg(e,n){if(e!=null){if(Aa(e))return Hg(e,n);if(Do(e))return zg(e,n);if(xa(e))return $g(e,n);if(Na(e))return za(e,n);if(Pa(e))return Wg(e,n);if(La(e))return Gg(e,n)}throw Oa(e)}function ue(e,n){return n?qg(e,n):L(e)}function I(...e){let n=Kt(e);return ue(e,n)}function Wn(e,n){let t=A(e)?e:()=>e,r=o=>o.error(t());return new k(n?o=>n.schedule(r,0,o):r)}function Wa(e){return!!e&&(e instanceof k||A(e.lift)&&A(e.subscribe))}var at=Hn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function uI(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):t?r(n.defaultValue):o(new at)}})})}function dI(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=new Ot({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new at)}});e.subscribe(i)})}var fI=Hn(e=>function(t=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t});function hI(e,n){let{first:t,each:r,with:o=pI,scheduler:i=n??Ge,meta:s=null}=Ba(e)?{first:e}:typeof e=="number"?{each:e}:e;if(t==null&&r==null)throw new TypeError("No timeout provided.");return S((a,c)=>{let l,u,d=null,p=0,h=m=>{u=Be(c,i,()=>{try{l.unsubscribe(),L(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(_){c.error(_)}},m)};l=a.subscribe(w(c,m=>{u?.unsubscribe(),p++,c.next(d=m),r>0&&h(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!p&&h(t!=null?typeof t=="number"?t:+t-i.now():r)})}function pI(e){throw new fI(e)}var{isArray:mI}=Array;function gI(e,n){return mI(n)?e(...n):e(n)}function To(e){return M(n=>gI(e,n))}var{isArray:vI}=Array,{getPrototypeOf:yI,prototype:bI,keys:_I}=Object;function Ga(e){if(e.length===1){let n=e[0];if(vI(n))return{args:n,keys:null};if(EI(n)){let t=_I(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function EI(e){return e&&typeof e=="object"&&yI(e)===bI}function qa(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Ir(...e){let n=Kt(e),t=So(e),{args:r,keys:o}=Ga(e);if(r.length===0)return ue([],n);let i=new k(DI(r,n,o?s=>qa(o,s):Le));return t?i.pipe(To(t)):i}function DI(e,n,t=Le){return r=>{Yg(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Yg(n,()=>{let l=ue(e[c],n),u=!1;l.subscribe(w(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Yg(e,n,t){e?Be(t,e,n):n()}function Zg(e,n,t,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&n.complete()},h=_=>l<r?m(_):c.push(_),m=_=>{i&&n.next(_),l++;let E=!1;L(t(_,u++)).subscribe(w(n,D=>{o?.(D),i?h(D):n.next(D)},()=>{E=!0},void 0,()=>{if(E)try{for(l--;c.length&&l<r;){let D=c.shift();s?Be(n,s,()=>m(D)):m(D)}p()}catch(D){n.error(D)}}))};return e.subscribe(w(n,h,()=>{d=!0,p()})),()=>{a?.()}}function se(e,n,t=1/0){return A(n)?se((r,o)=>M((i,s)=>n(r,i,o,s))(L(e(r,o))),t):(typeof n=="number"&&(t=n),S((r,o)=>Zg(r,o,e,t)))}function Gn(e=1/0){return se(Le,e)}function Kg(){return Gn(1)}function Xt(...e){return Kg()(ue(e,Kt(e)))}function Pi(e){return new k(n=>{L(e()).subscribe(n)})}function sd(...e){let n=So(e),{args:t,keys:r}=Ga(e),o=new k(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;L(t[u]).subscribe(w(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?qa(r,a):a),i.complete())}))}});return n?o.pipe(To(n)):o}var wI=["addListener","removeListener"],CI=["addEventListener","removeEventListener"],II=["on","off"];function ad(e,n,t,r){if(A(t)&&(r=t,t=void 0),r)return ad(e,n,t).pipe(To(r));let[o,i]=MI(e)?CI.map(s=>a=>e[s](n,a,t)):SI(e)?wI.map(Xg(e,n)):TI(e)?II.map(Xg(e,n)):[];if(!o&&Do(e))return se(s=>ad(s,n,t))(L(e));if(!o)throw new TypeError("Invalid event target");return new k(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Xg(e,n){return t=>r=>e[t](n,r)}function SI(e){return A(e.addListener)&&A(e.removeListener)}function TI(e){return A(e.on)&&A(e.off)}function MI(e){return A(e.addEventListener)&&A(e.removeEventListener)}function cd(e=0,n=Ge){return e<0&&(e=0),_n(e,e,n)}function RI(...e){let n=Kt(e),t=Ug(e,1/0),r=e;return r.length?r.length===1?L(r[0]):Gn(t)(ue(r,n)):je}function oe(e,n){return S((t,r)=>{let o=0;t.subscribe(w(r,i=>e.call(n,i,o++)&&r.next(i)))})}function Qg(e){return S((n,t)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,t.next(l)}s&&t.complete()},c=()=>{i=null,s&&t.complete()};n.subscribe(w(t,l=>{r=!0,o=l,i||L(e(l)).subscribe(i=w(t,a,c))},()=>{s=!0,(!r||!i||i.closed)&&t.complete()}))})}function Ya(e,n=Ge){return Qg(()=>_n(e,n))}function ht(e){return S((n,t)=>{let r=null,o=!1,i;r=n.subscribe(w(t,void 0,void 0,s=>{i=L(e(s,ht(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function Jg(e,n,t,r,o){return(i,s)=>{let a=t,c=n,l=0;i.subscribe(w(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function kt(e,n){return A(n)?se(e,n,1):se(e,1)}function xI(e){return S((n,t)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,t.next(a)}};n.subscribe(w(t,a=>{i?.unsubscribe(),r=!0,o=a,i=w(t,s,st),L(e(a)).subscribe(i)},()=>{s(),t.complete()},void 0,()=>{o=i=null}))})}function qn(e){return S((n,t)=>{let r=!1;n.subscribe(w(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function Ve(e){return e<=0?()=>je:S((n,t)=>{let r=0;n.subscribe(w(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function ev(){return S((e,n)=>{e.subscribe(w(n,st))})}function ld(e){return M(()=>e)}function Za(e,n){return n?t=>Xt(n.pipe(Ve(1),ev()),t.pipe(Za(e))):se((t,r)=>L(e(t,r)).pipe(Ve(1),ld(t)))}function AI(e,n=Ge){let t=_n(e,n);return Za(()=>t)}function Ka(e,n=Le){return e=e??NI,S((t,r)=>{let o,i=!0;t.subscribe(w(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function NI(e,n){return e===n}function Xa(e=OI){return S((n,t)=>{let r=!1;n.subscribe(w(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function OI(){return new at}function Pt(e){return S((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function En(e,n){let t=arguments.length>=2;return r=>r.pipe(e?oe((o,i)=>e(o,i,r)):Le,Ve(1),t?qn(n):Xa(()=>new at))}function Mo(e){return e<=0?()=>je:S((n,t)=>{let r=[];n.subscribe(w(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function ud(e,n){let t=arguments.length>=2;return r=>r.pipe(e?oe((o,i)=>e(o,i,r)):Le,Mo(1),t?qn(n):Xa(()=>new at))}function tv(){return S((e,n)=>{let t,r=!1;e.subscribe(w(n,o=>{let i=t;t=o,r&&n.next([i,o]),r=!0}))})}function kI(e){return S((n,t)=>{let r,o=!1,i,s=()=>{r=n.subscribe(w(t,void 0,void 0,a=>{i||(i=new N,L(e(i)).subscribe(w(t,()=>r?s():o=!0))),i&&i.next(a)})),o&&(r.unsubscribe(),r=null,o=!1,s())};s()})}function nv(e){return S((n,t)=>{let r=!1,o=null;n.subscribe(w(t,i=>{r=!0,o=i})),L(e).subscribe(w(t,()=>{if(r){r=!1;let i=o;o=null,t.next(i)}},st))})}function PI(e,n=Ge){return nv(cd(e,n))}function dd(e,n){return S(Jg(e,n,arguments.length>=2,!0))}function Fi(e={}){let{connector:n=()=>new N,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},h=()=>{p(),s=c=void 0,u=d=!1},m=()=>{let _=s;h(),_?.unsubscribe()};return S((_,E)=>{l++,!d&&!u&&p();let D=c=c??n();E.add(()=>{l--,l===0&&!d&&!u&&(a=fd(m,o))}),D.subscribe(E),!s&&l>0&&(s=new Ot({next:$=>D.next($),error:$=>{d=!0,p(),a=fd(h,t,$),D.error($)},complete:()=>{u=!0,p(),a=fd(h,r),D.complete()}}),L(_).subscribe(s))})(i)}}function fd(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new Ot({next:()=>{r.unsubscribe(),e()}});return L(n(...t)).subscribe(r)}function rv(e,n,t){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:t}=e:r=e??1/0,Fi({connector:()=>new Io(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ro(e){return oe((n,t)=>e<=t)}function Sr(...e){let n=Kt(e);return S((t,r)=>{(n?Xt(e,t,n):Xt(e,t)).subscribe(r)})}function Me(e,n){return S((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(w(r,c=>{o?.unsubscribe();let l=0,u=i++;L(e(c,u)).subscribe(o=w(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ft(e){return S((n,t)=>{L(e).subscribe(w(t,()=>t.complete(),st)),!t.closed&&n.subscribe(t)})}function hd(e,n=!1){return S((t,r)=>{let o=0;t.subscribe(w(r,i=>{let s=e(i,o++);(s||n)&&r.next(i),!s&&r.complete()}))})}function ae(e,n,t){let r=A(e)||n||t?{next:e,error:n,complete:t}:e;return r?S((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(w(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):Le}function FI(...e){let n=So(e);return S((t,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)L(e[c]).subscribe(w(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every(Le))&&(s=null))},st));t.subscribe(w(r,c=>{if(a){let l=[c,...i];r.next(n?n(...l):l)}}))})}var pd;function Qa(){return pd}function Qt(e){let n=pd;return pd=e,n}var ov=Symbol("NotFound");function xo(e){return e===ov||e?.name==="\u0275NotFound"}function Li(e,n){return Object.is(e,n)}var Ue=null,Ja=!1,md=1,LI=null,de=Symbol("SIGNAL");function P(e){let n=Ue;return Ue=e,n}function ec(){return Ue}var wn={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Cn(e){if(Ja)throw new Error("");if(Ue===null)return;Ue.consumerOnSignalRead(e);let n=Ue.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=Ue.recomputing;if(r&&(t=n!==void 0?n.nextProducer:Ue.producers,t!==void 0&&t.producer===e)){Ue.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Ue&&(!r||BI(o,Ue)))return;let i=No(Ue),s={producer:e,consumer:Ue,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Ue.producersTail=s,n!==void 0?n.nextProducer=s:Ue.producers=s,i&&sv(e,s)}function iv(){md++}function Mr(e){if(!(No(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===md)){if(!e.producerMustRecompute(e)&&!Rr(e)){Ao(e);return}e.producerRecomputeValue(e),Ao(e)}}function gd(e){if(e.consumers===void 0)return;let n=Ja;Ja=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||jI(r)}}finally{Ja=n}}function vd(){return Ue?.consumerAllowSignalWrites!==!1}function jI(e){e.dirty=!0,gd(e),e.consumerMarkedDirty?.(e)}function Ao(e){e.dirty=!1,e.lastCleanEpoch=md}function Jt(e){return e&&(e.producersTail=void 0,e.recomputing=!0),P(e)}function In(e,n){if(P(n),!e)return;e.recomputing=!1;let t=e.producersTail,r=t!==void 0?t.nextProducer:e.producers;if(r!==void 0){if(No(e))do r=yd(r);while(r!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Rr(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(Mr(t),r!==t.version))return!0}return!1}function Zn(e){if(No(e)){let n=e.producers;for(;n!==void 0;)n=yd(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function sv(e,n){let t=e.consumersTail,r=No(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)sv(o.producer,o)}function yd(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!No(n)){let i=n.producers;for(;i!==void 0;)i=yd(i)}return t}function No(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ji(e){LI?.(e)}function BI(e,n){let t=n.producersTail;if(t!==void 0){let r=n.producers;do{if(r===e)return!0;if(r===t)break;r=r.nextProducer}while(r!==void 0)}return!1}function Bi(e,n){let t=Object.create(VI);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(Mr(t),Cn(t),t.value===Dn)throw t.error;return t.value};return r[de]=t,ji(t),r}var Yn=Symbol("UNSET"),Tr=Symbol("COMPUTING"),Dn=Symbol("ERRORED"),VI=U(v({},wn),{value:Yn,dirty:!0,error:null,equal:Li,kind:"computed",producerMustRecompute(e){return e.value===Yn||e.value===Tr},producerRecomputeValue(e){if(e.value===Tr)throw new Error("");let n=e.value;e.value=Tr;let t=Jt(e),r,o=!1;try{r=e.computation(),P(null),o=n!==Yn&&n!==Dn&&r!==Dn&&e.equal(n,r)}catch(i){r=Dn,e.error=i}finally{In(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function UI(){throw new Error}var av=UI;function cv(e){av(e)}function bd(e){av=e}var HI=null;function _d(e,n){let t=Object.create(Vi);t.value=e,n!==void 0&&(t.equal=n);let r=()=>lv(t);return r[de]=t,ji(t),[r,s=>Kn(t,s),s=>tc(t,s)]}function lv(e){return Cn(e),e.value}function Kn(e,n){vd()||cv(e),e.equal(e.value,n)||(e.value=n,$I(e))}function tc(e,n){vd()||cv(e),Kn(e,n(e.value))}var Vi=U(v({},wn),{equal:Li,value:void 0,kind:"signal"});function $I(e){e.version++,iv(),gd(e),HI?.(e)}function Ed(e,n,t){let r=Object.create(zI);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(Mr(r),Cn(r),r.value===Dn)throw r.error;return r.value};return i[de]=r,ji(r),i}function uv(e,n){Mr(e),Kn(e,n),Ao(e)}function dv(e,n){Mr(e),tc(e,n),Ao(e)}var zI=U(v({},wn),{value:Yn,dirty:!0,error:null,equal:Li,kind:"linkedSignal",producerMustRecompute(e){return e.value===Yn||e.value===Tr},producerRecomputeValue(e){if(e.value===Tr)throw new Error("");let n=e.value;e.value=Tr;let t=Jt(e),r;try{let o=e.source(),i=n===Yn||n===Dn?void 0:{source:e.sourceValue,value:n};r=e.computation(o,i),e.sourceValue=o}catch(o){r=Dn,e.error=o}finally{In(e,t)}if(n!==Yn&&r!==Dn&&e.equal(n,r)){e.value=n;return}e.value=r,e.version++}});function fv(e){let n=P(null);try{return e()}finally{P(n)}}var sc="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",y=class extends Error{code;constructor(n,t){super(mt(n,t)),this.code=n}};function WI(e){return`NG0${Math.abs(e)}`}function mt(e,n){return`${WI(e)}${n?": "+n:""}`}var Ce=globalThis;function Z(e){for(let n in e)if(e[n]===Z)return n;throw Error("")}function mv(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Tn(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Tn).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
|
|
4
|
+
`);return r>=0?t.slice(0,r):t}function ac(e,n){return e?n?`${e} ${n}`:e:n||""}var GI=Z({__forward_ref__:Z});function Gi(e){return e.__forward_ref__=Gi,e.toString=function(){return Tn(this())},e}function De(e){return Od(e)?e():e}function Od(e){return typeof e=="function"&&e.hasOwnProperty(GI)&&e.__forward_ref__===Gi}function gv(e,n){e==null&&kd(n,e,null,"!=")}function kd(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}function g(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function z(e){return{providers:e.providers||[],imports:e.imports||[]}}function qi(e){return qI(e,cc)}function Pd(e){return qi(e)!==null}function qI(e,n){return e.hasOwnProperty(n)&&e[n]||null}function YI(e){let n=e?.[cc]??null;return n||null}function wd(e){return e&&e.hasOwnProperty(rc)?e[rc]:null}var cc=Z({\u0275prov:Z}),rc=Z({\u0275inj:Z}),b=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=g({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Fd(e){return e&&!!e.\u0275providers}var Ld=Z({\u0275cmp:Z}),jd=Z({\u0275dir:Z}),Bd=Z({\u0275pipe:Z}),Vd=Z({\u0275mod:Z}),$i=Z({\u0275fac:Z}),kr=Z({__NG_ELEMENT_ID__:Z}),hv=Z({__NG_ENV_ID__:Z});function gt(e){return typeof e=="string"?e:e==null?"":String(e)}function oc(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():gt(e)}var Ud=Z({ngErrorCode:Z}),vv=Z({ngErrorMessage:Z}),Hi=Z({ngTokenPath:Z});function Hd(e,n){return yv("",-200,n)}function lc(e,n){throw new y(-201,!1)}function ZI(e,n){e[Hi]??=[];let t=e[Hi],r;typeof n=="object"&&"multi"in n&&n?.multi===!0?(gv(n.provide,"Token with multi: true should have a provide property"),r=oc(n.provide)):r=oc(n),t[0]!==r&&e[Hi].unshift(r)}function KI(e,n){let t=e[Hi],r=e[Ud],o=e[vv]||e.message;return e.message=QI(o,r,t,n),e}function yv(e,n,t){let r=new y(n,e);return r[Ud]=n,r[vv]=e,t&&(r[Hi]=t),r}function XI(e){return e[Ud]}function QI(e,n,t=[],r=null){let o="";t&&t.length>1&&(o=` Path: ${t.join(" -> ")}.`);let i=r?` Source: ${r}.`:"";return mt(n,`${e}${i}${o}`)}var Cd;function bv(){return Cd}function qe(e){let n=Cd;return Cd=e,n}function $d(e,n,t){let r=qi(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;lc(e,"Injector")}var JI={},xr=JI,Id="__NG_DI_FLAG__",Sd=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=Ar(t)||0;try{return this.injector.get(n,r&8?null:xr,r)}catch(o){if(xo(o))return o;throw o}}};function eS(e,n=0){let t=Qa();if(t===void 0)throw new y(-203,!1);if(t===null)return $d(e,void 0,n);{let r=tS(n),o=t.retrieve(e,r);if(xo(o)){if(r.optional)return null;throw o}return o}}function C(e,n=0){return(bv()||eS)(De(e),n)}function f(e,n){return C(e,Ar(n))}function Ar(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function tS(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Td(e){let n=[];for(let t=0;t<e.length;t++){let r=De(e[t]);if(Array.isArray(r)){if(r.length===0)throw new y(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=nS(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(C(o,i))}else n.push(C(r))}return n}function zd(e,n){return e[Id]=n,e.prototype[Id]=n,e}function nS(e){return e[Id]}function Xn(e,n){let t=e.hasOwnProperty($i);return t?e[$i]:null}function _v(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function Ev(e){return e.flat(Number.POSITIVE_INFINITY)}function uc(e,n){e.forEach(t=>Array.isArray(t)?uc(t,n):n(t))}function Wd(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Yi(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function Dv(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function wv(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function Zi(e,n,t){let r=ko(e,n);return r>=0?e[r|1]=t:(r=~r,wv(e,r,n,t)),r}function dc(e,n){let t=ko(e,n);if(t>=0)return e[t|1]}function ko(e,n){return rS(e,n,1)}function rS(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var Lt={},He=[],Mn=new b(""),Gd=new b("",-1),qd=new b(""),zi=class{get(n,t=xr){if(t===xr){let o=yv("",-201);throw o.name="\u0275NotFound",o}return t}};function Yd(e){return e[Vd]||null}function en(e){return e[Ld]||null}function fc(e){return e[jd]||null}function Cv(e){return e[Bd]||null}function Jn(e){return{\u0275providers:e}}function Iv(...e){return{\u0275providers:Zd(!0,e),\u0275fromNgModule:!0}}function Zd(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return uc(n,s=>{let a=s;ic(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Sv(o,i),t}function Sv(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];Kd(o,i=>{n(i,r)})}}function ic(e,n,t,r){if(e=De(e),!e)return!1;let o=null,i=wd(e),s=!i&&en(e);if(!i&&!s){let c=e.ngModule;if(i=wd(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)ic(l,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{uc(i.imports,u=>{ic(u,n,t,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Sv(l,n)}if(!a){let l=Xn(o)||(()=>new o);n({provide:o,useFactory:l,deps:He},o),n({provide:qd,useValue:o,multi:!0},o),n({provide:Mn,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Kd(c,u=>{n(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Kd(e,n){for(let t of e)Fd(t)&&(t=t.\u0275providers),Array.isArray(t)?Kd(t,n):n(t)}var oS=Z({provide:String,useValue:Z});function Tv(e){return e!==null&&typeof e=="object"&&oS in e}function iS(e){return!!(e&&e.useExisting)}function sS(e){return!!(e&&e.useFactory)}function Nr(e){return typeof e=="function"}function Mv(e){return!!e.useClass}var Ki=new b(""),nc={},pv={},Dd;function Po(){return Dd===void 0&&(Dd=new zi),Dd}var ne=class{},Or=class extends ne{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Rd(n,s=>this.processProvider(s)),this.records.set(Gd,Oo(void 0,this)),o.has("environment")&&this.records.set(ne,Oo(void 0,this));let i=this.records.get(Ki);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(qd,He,{self:!0}))}retrieve(n,t){let r=Ar(t)||0;try{return this.get(n,xr,r)}catch(o){if(xo(o))return o;throw o}}destroy(){Ui(this),this._destroyed=!0;let n=P(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),P(n)}}onDestroy(n){return Ui(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Ui(this);let t=Qt(this),r=qe(void 0),o;try{return n()}finally{Qt(t),qe(r)}}get(n,t=xr,r){if(Ui(this),n.hasOwnProperty(hv))return n[hv](this);let o=Ar(r),i,s=Qt(this),a=qe(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=dS(n)&&qi(n);u&&this.injectableDefInScope(u)?l=Oo(Md(n),nc):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?Po():this.parent;return t=o&8&&t===xr?null:t,c.get(n,t)}catch(c){let l=XI(c);throw l===-200||l===-201?new y(l,null):c}finally{qe(a),Qt(s)}}resolveInjectorInitializers(){let n=P(null),t=Qt(this),r=qe(void 0),o;try{let i=this.get(Mn,He,{self:!0});for(let s of i)s()}finally{Qt(t),qe(r),P(n)}}toString(){let n=[],t=this.records;for(let r of t.keys())n.push(Tn(r));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=De(n);let t=Nr(n)?n:De(n&&n.provide),r=cS(n);if(!Nr(n)&&n.multi===!0){let o=this.records.get(t);o||(o=Oo(void 0,nc,!0),o.factory=()=>Td(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=P(null);try{if(t.value===pv)throw Hd(Tn(n));return t.value===nc&&(t.value=pv,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&uS(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{P(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=De(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Md(e){let n=qi(e),t=n!==null?n.factory:Xn(e);if(t!==null)return t;if(e instanceof b)throw new y(204,!1);if(e instanceof Function)return aS(e);throw new y(204,!1)}function aS(e){if(e.length>0)throw new y(204,!1);let t=YI(e);return t!==null?()=>t.factory(e):()=>new e}function cS(e){if(Tv(e))return Oo(void 0,e.useValue);{let n=Xd(e);return Oo(n,nc)}}function Xd(e,n,t){let r;if(Nr(e)){let o=De(e);return Xn(o)||Md(o)}else if(Tv(e))r=()=>De(e.useValue);else if(sS(e))r=()=>e.useFactory(...Td(e.deps||[]));else if(iS(e))r=(o,i)=>C(De(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=De(e&&(e.useClass||e.provide));if(lS(e))r=()=>new o(...Td(e.deps));else return Xn(o)||Md(o)}return r}function Ui(e){if(e.destroyed)throw new y(205,!1)}function Oo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function lS(e){return!!e.deps}function uS(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function dS(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Rd(e,n){for(let t of e)Array.isArray(t)?Rd(t,n):t&&Fd(t)?Rd(t.\u0275providers,n):n(t)}function xe(e,n){let t;e instanceof Or?(Ui(e),t=e):t=new Sd(e);let r,o=Qt(t),i=qe(void 0);try{return n()}finally{Qt(o),qe(i)}}function Qd(){return bv()!==void 0||Qa()!=null}var jt=0,x=1,F=2,we=3,vt=4,Ye=5,Pr=6,Fo=7,pe=8,Fr=9,tn=10,Q=11,Lo=12,Jd=13,Lr=14,Ze=15,er=16,jr=17,nn=18,Xi=19,ef=20,Sn=21,hc=22,Rn=23,ct=24,Br=25,re=26,Rv=1,tf=6,tr=7,Qi=8,Vr=9,Ae=10;function rn(e){return Array.isArray(e)&&typeof e[Rv]=="object"}function Bt(e){return Array.isArray(e)&&e[Rv]===!0}function nf(e){return(e.flags&4)!==0}function nr(e){return e.componentOffset>-1}function jo(e){return(e.flags&1)===1}function Vt(e){return!!e.template}function Bo(e){return(e[F]&512)!==0}function Ur(e){return(e[F]&256)===256}var rf="svg",xv="math";function yt(e){for(;Array.isArray(e);)e=e[jt];return e}function of(e,n){return yt(n[e])}function Ut(e,n){return yt(n[e.index])}function Ji(e,n){return e.data[n]}function es(e,n){return e[n]}function ts(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function bt(e,n){let t=n[e];return rn(t)?t:t[jt]}function Av(e){return(e[F]&4)===4}function pc(e){return(e[F]&128)===128}function Nv(e){return Bt(e[we])}function lt(e,n){return n==null?null:e[n]}function sf(e){e[jr]=0}function af(e){e[F]&1024||(e[F]|=1024,pc(e)&&rr(e))}function Ov(e,n){for(;e>0;)n=n[Lr],e--;return n}function ns(e){return!!(e[F]&9216||e[ct]?.dirty)}function mc(e){e[tn].changeDetectionScheduler?.notify(8),e[F]&64&&(e[F]|=1024),ns(e)&&rr(e)}function rr(e){e[tn].changeDetectionScheduler?.notify(0);let n=Qn(e);for(;n!==null&&!(n[F]&8192||(n[F]|=8192,!pc(n)));)n=Qn(n)}function cf(e,n){if(Ur(e))throw new y(911,!1);e[Sn]===null&&(e[Sn]=[]),e[Sn].push(n)}function kv(e,n){if(e[Sn]===null)return;let t=e[Sn].indexOf(n);t!==-1&&e[Sn].splice(t,1)}function Qn(e){let n=e[we];return Bt(n)?n[we]:n}function lf(e){return e[Fo]??=[]}function uf(e){return e.cleanup??=[]}function Pv(e,n,t,r){let o=lf(n);o.push(t),e.firstCreatePass&&uf(e).push(r,o.length-1)}var j={lFrame:qv(null),bindingsEnabled:!0,skipHydrationRootTNode:null},rs=(function(e){return e[e.Off=0]="Off",e[e.Exhaustive=1]="Exhaustive",e[e.OnlyDirtyViews=2]="OnlyDirtyViews",e})(rs||{}),fS=0,xd=!1;function Fv(){return j.lFrame.elementDepthCount}function Lv(){j.lFrame.elementDepthCount++}function df(){j.lFrame.elementDepthCount--}function gc(){return j.bindingsEnabled}function ff(){return j.skipHydrationRootTNode!==null}function hf(e){return j.skipHydrationRootTNode===e}function pf(){j.skipHydrationRootTNode=null}function T(){return j.lFrame.lView}function J(){return j.lFrame.tView}function jv(e){return j.lFrame.contextLView=e,e[pe]}function Bv(e){return j.lFrame.contextLView=null,e}function ye(){let e=mf();for(;e!==null&&e.type===64;)e=e.parent;return e}function mf(){return j.lFrame.currentTNode}function Vv(){let e=j.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function Hr(e,n){let t=j.lFrame;t.currentTNode=e,t.isParent=n}function gf(){return j.lFrame.isParent}function vf(){j.lFrame.isParent=!1}function yf(){return j.lFrame.contextLView}function bf(e){kd("Must never be called in production mode"),fS=e}function _f(){return xd}function Vo(e){let n=xd;return xd=e,n}function Uo(){let e=j.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Ef(){return j.lFrame.bindingIndex}function Uv(e){return j.lFrame.bindingIndex=e}function xn(){return j.lFrame.bindingIndex++}function os(e){let n=j.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Hv(){return j.lFrame.inI18n}function $v(e,n){let t=j.lFrame;t.bindingIndex=t.bindingRootIndex=e,vc(n)}function zv(){return j.lFrame.currentDirectiveIndex}function vc(e){j.lFrame.currentDirectiveIndex=e}function Wv(e){let n=j.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function yc(){return j.lFrame.currentQueryIndex}function is(e){j.lFrame.currentQueryIndex=e}function hS(e){let n=e[x];return n.type===2?n.declTNode:n.type===1?e[Ye]:null}function Df(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=hS(i),o===null||(i=i[Lr],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=j.lFrame=Gv();return r.currentTNode=n,r.lView=e,!0}function bc(e){let n=Gv(),t=e[x];j.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Gv(){let e=j.lFrame,n=e===null?null:e.child;return n===null?qv(e):n}function qv(e){let n={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=n),n}function Yv(){let e=j.lFrame;return j.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var wf=Yv;function _c(){let e=Yv();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 Zv(e){return(j.lFrame.contextLView=Ov(e,j.lFrame.contextLView))[pe]}function _t(){return j.lFrame.selectedIndex}function or(e){j.lFrame.selectedIndex=e}function ss(){let e=j.lFrame;return Ji(e.tView,e.selectedIndex)}function Kv(){j.lFrame.currentNamespace=rf}function Xv(){pS()}function pS(){j.lFrame.currentNamespace=null}function Qv(){return j.lFrame.currentNamespace}var Jv=!0;function Ec(){return Jv}function as(e){Jv=e}function Ad(e,n=null,t=null,r){let o=Cf(e,n,t,r);return o.resolveInjectorInitializers(),o}function Cf(e,n=null,t=null,r,o=new Set){let i=[t||He,Iv(e)];return r=r||(typeof e=="object"?void 0:Tn(e)),new Or(i,n||Po(),r||null,o)}var V=class e{static THROW_IF_NOT_FOUND=xr;static NULL=new zi;static create(n,t){if(Array.isArray(n))return Ad({name:""},t,n,"");{let r=n.name??"";return Ad({name:r},n.parent,n.providers,r)}}static \u0275prov=g({token:e,providedIn:"any",factory:()=>C(Gd)});static __NG_ELEMENT_ID__=-1},O=new b(""),Ie=(()=>{class e{static __NG_ELEMENT_ID__=mS;static __NG_ENV_ID__=t=>t}return e})(),Wi=class extends Ie{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Ur(this._lView)}onDestroy(n){let t=this._lView;return cf(t,n),()=>kv(t,n)}};function mS(){return new Wi(T())}var Re=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Ke=new b("",{providedIn:"root",factory:()=>{let e=f(ne),n;return t=>{e.destroyed&&!n?setTimeout(()=>{throw t}):(n??=e.get(Re),n.handleError(t))}}}),ey={provide:Mn,useValue:()=>void f(Re),multi:!0};function Ho(e){return typeof e=="function"&&e[de]!==void 0}function me(e,n){let[t,r,o]=_d(e,n?.equal),i=t,s=i[de];return i.set=r,i.update=o,i.asReadonly=$o.bind(i),i}function $o(){let e=this[de];if(e.readonlyFn===void 0){let n=()=>this();n[de]=e,e.readonlyFn=n}return e.readonlyFn}function If(e){return Ho(e)&&typeof e.set=="function"}var pt=class{},cs=new b("",{providedIn:"root",factory:()=>!1});var Sf=new b(""),Tf=new b("");var $r=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=gS}return e})();function gS(){return new $r(T(),ye())}var on=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Ee(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new k(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=g({token:e,providedIn:"root",factory:()=>new e})}return e})(),ir=(()=>{class e{internalPendingTasks=f(on);scheduler=f(pt);errorHandler=f(Ke);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=g({token:e,providedIn:"root",factory:()=>new e})}return e})();function zr(...e){}var ls=(()=>{class e{static \u0275prov=g({token:e,providedIn:"root",factory:()=>new Nd})}return e})(),Nd=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,r]of this.queues)t===null?n||=this.flushQueue(r):n||=t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}};function Qo(e){return{toString:e}.toString()}var Dc="__parameters__";function DS(e){return function(...t){if(e){let r=e(...t);for(let o in r)this[o]=r[o]}}}function By(e,n,t){return Qo(()=>{let r=DS(n);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(c,l,u){let d=c.hasOwnProperty(Dc)?c[Dc]:Object.defineProperty(c,Dc,{value:[]})[Dc];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Jo=zd(By("Optional"),8);var Kc=zd(By("SkipSelf"),4);function wS(e){return typeof e=="function"}var Nc=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}};function Vy(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var Dt=(()=>{let e=()=>Uy;return e.ngInherit=!0,e})();function Uy(e){return e.type.prototype.ngOnChanges&&(e.setInput=IS),CS}function CS(){let e=$y(this),n=e?.current;if(n){let t=e.previous;if(t===Lt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function IS(e,n,t,r,o){let i=this.declaredInputs[r],s=$y(e)||SS(e,{previous:Lt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Nc(l&&l.currentValue,t,c===Lt),Vy(e,n,o,t)}var Hy="__ngSimpleChanges__";function $y(e){return e[Hy]||null}function SS(e,n){return e[Hy]=n}var ty=[];var X=function(e,n=null,t){for(let r=0;r<ty.length;r++){let o=ty[r];o(e,n,t)}};function TS(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=Uy(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function zy(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),l&&((e.viewHooks??=[]).push(t,l),(e.viewCheckHooks??=[]).push(t,l)),u!=null&&(e.destroyHooks??=[]).push(t,u)}}function Tc(e,n,t){Wy(e,n,3,t)}function Mc(e,n,t,r){(e[F]&3)===t&&Wy(e,n,t,r)}function Mf(e,n){let t=e[F];(t&3)===n&&(t&=16383,t+=1,e[F]=t)}function Wy(e,n,t,r){let o=r!==void 0?e[jr]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[jr]+=65536),(a<i||i==-1)&&(MS(e,t,n,c),e[jr]=(e[jr]&4294901760)+c+2),c++}function ny(e,n){X(4,e,n);let t=P(null);try{n.call(e)}finally{P(t),X(5,e,n)}}function MS(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[F]>>14<e[jr]>>16&&(e[F]&3)===n&&(e[F]+=16384,ny(a,i)):ny(a,i)}var Wo=-1,qr=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=t,this.injectImpl=r}};function RS(e){return(e.flags&8)!==0}function xS(e){return(e.flags&16)!==0}function AS(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];NS(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function Gy(e){return e===3||e===4||e===6}function NS(e){return e.charCodeAt(0)===64}function Go(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?ry(e,t,o,null,n[++r]):ry(e,t,o,null,null))}}return e}function ry(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function qy(e){return e!==Wo}function Oc(e){return e&32767}function OS(e){return e>>16}function kc(e,n){let t=OS(e),r=n;for(;t>0;)r=r[Lr],t--;return r}var Bf=!0;function Pc(e){let n=Bf;return Bf=e,n}var kS=256,Yy=kS-1,Zy=5,PS=0,sn={};function FS(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(kr)&&(r=t[kr]),r==null&&(r=t[kr]=PS++);let o=r&Yy,i=1<<o;n.data[e+(o>>Zy)]|=i}function Fc(e,n){let t=Ky(e,n);if(t!==-1)return t;let r=n[x];r.firstCreatePass&&(e.injectorIndex=n.length,Rf(r.data,e),Rf(n,null),Rf(r.blueprint,null));let o=Ch(e,n),i=e.injectorIndex;if(qy(o)){let s=Oc(o),a=kc(o,n),c=a[x].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function Rf(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Ky(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ch(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=tb(o),r===null)return Wo;if(t++,o=o[Lr],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Wo}function Vf(e,n,t){FS(e,n,t)}function LS(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(Gy(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function Xy(e,n,t){if(t&8||e!==void 0)return e;lc(n,"NodeInjector")}function Qy(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[Fr],i=qe(void 0);try{return o?o.get(n,r,t&8):$d(n,r,t&8)}finally{qe(i)}}return Xy(r,n,t)}function Jy(e,n,t,r=0,o){if(e!==null){if(n[F]&2048&&!(r&2)){let s=US(e,n,t,r,sn);if(s!==sn)return s}let i=eb(e,n,t,r,sn);if(i!==sn)return i}return Qy(n,t,r,o)}function eb(e,n,t,r,o){let i=BS(t);if(typeof i=="function"){if(!Df(n,e,r))return r&1?Xy(o,t,r):Qy(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))lc(t);else return s}finally{wf()}}else if(typeof i=="number"){let s=null,a=Ky(e,n),c=Wo,l=r&1?n[Ze][Ye]:null;for((a===-1||r&4)&&(c=a===-1?Ch(e,n):n[a+8],c===Wo||!iy(r,!1)?a=-1:(s=n[x],a=Oc(c),n=kc(c,n)));a!==-1;){let u=n[x];if(oy(i,a,u.data)){let d=jS(a,n,t,s,r,l);if(d!==sn)return d}c=n[a+8],c!==Wo&&iy(r,n[x].data[a+8]===l)&&oy(i,a,n)?(s=u,a=Oc(c),n=kc(c,n)):a=-1}}return o}function jS(e,n,t,r,o,i){let s=n[x],a=s.data[e+8],c=r==null?nr(a)&&Bf:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=Rc(a,s,t,c,l);return u!==null?fs(n,s,u,a,o):sn}function Rc(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let h=d;h<p;h++){let m=s[h];if(h<c&&t===m||h>=c&&m.type===t)return h}if(o){let h=s[c];if(h&&Vt(h)&&h.type===t)return c}return null}function fs(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof qr){let a=i;if(a.resolving){let h=oc(s[t]);throw Hd(h)}let c=Pc(a.canSeeViewProviders);a.resolving=!0;let l=s[t].type||s[t],u,d=a.injectImpl?qe(a.injectImpl):null,p=Df(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&TS(t,s[t],n)}finally{d!==null&&qe(d),Pc(c),a.resolving=!1,wf()}}return i}function BS(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(kr)?e[kr]:void 0;return typeof n=="number"?n>=0?n&Yy:VS:n}function oy(e,n,t){let r=1<<e;return!!(t[n+(e>>Zy)]&r)}function iy(e,n){return!(e&2)&&!(e&1&&n)}var Gr=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Jy(this._tNode,this._lView,n,Ar(r),t)}};function VS(){return new Gr(ye(),T())}function cr(e){return Qo(()=>{let n=e.prototype.constructor,t=n[$i]||Uf(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[$i]||Uf(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Uf(e){return Od(e)?()=>{let n=Uf(De(e));return n&&n()}:Xn(e)}function US(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[F]&2048&&!Bo(s);){let a=eb(i,s,t,r|2,sn);if(a!==sn)return a;let c=i.parent;if(!c){let l=s[ef];if(l){let u=l.get(t,sn,r);if(u!==sn)return u}c=tb(s),s=s[Lr]}i=c}return o}function tb(e){let n=e[x],t=n.type;return t===2?n.declTNode:t===1?e[Ye]:null}function bs(e){return LS(ye(),e)}function HS(){return ei(ye(),T())}function ei(e,n){return new W(Ut(e,n))}var W=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=HS}return e})();function nb(e){return e instanceof W?e.nativeElement:e}function $S(){return this._results[Symbol.iterator]()}var Yr=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new N}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=Ev(n);(this._changesDetected=!_v(this._results,r,t))&&(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.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=$S};function rb(e){return(e.flags&128)===128}var Ih=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(Ih||{}),ob=new Map,zS=0;function WS(){return zS++}function GS(e){ob.set(e[Xi],e)}function Hf(e){ob.delete(e[Xi])}var sy="__ngContext__";function qo(e,n){rn(n)?(e[sy]=n[Xi],GS(n)):e[sy]=n}function ib(e){return ab(e[Lo])}function sb(e){return ab(e[vt])}function ab(e){for(;e!==null&&!Bt(e);)e=e[vt];return e}var $f;function Sh(e){$f=e}function Th(){if($f!==void 0)return $f;if(typeof document<"u")return document;throw new y(210,!1)}var lr=new b("",{providedIn:"root",factory:()=>qS}),qS="ng",Xc=new b(""),ur=new b("",{providedIn:"platform",factory:()=>"unknown"});var _s=new b(""),ti=new b("",{providedIn:"root",factory:()=>Th().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var YS="h",ZS="b";var cb="r";var lb="di";var ub=!1,db=new b("",{providedIn:"root",factory:()=>ub});var KS=(e,n,t,r)=>{};function XS(e,n,t,r){KS(e,n,t,r)}function Qc(e){return(e.flags&32)===32}var QS=()=>null;function fb(e,n,t=!1){return QS(e,n,t)}function hb(e,n){let t=e.contentQueries;if(t!==null){let r=P(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];is(i),a.contentQueries(2,n[s],s)}}}finally{P(r)}}}function zf(e,n,t){is(0);let r=P(null);try{n(e,t)}finally{P(r)}}function Mh(e,n,t){if(nf(n)){let r=P(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{P(r)}}}var An=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(An||{}),wc;function JS(){if(wc===void 0&&(wc=null,Ce.trustedTypes))try{wc=Ce.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return wc}function Jc(e){return JS()?.createHTML(e)||e}var Cc;function pb(){if(Cc===void 0&&(Cc=null,Ce.trustedTypes))try{Cc=Ce.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Cc}function ay(e){return pb()?.createHTML(e)||e}function cy(e){return pb()?.createScriptURL(e)||e}var Nn=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${sc})`}},Wf=class extends Nn{getTypeName(){return"HTML"}},Gf=class extends Nn{getTypeName(){return"Style"}},qf=class extends Nn{getTypeName(){return"Script"}},Yf=class extends Nn{getTypeName(){return"URL"}},Zf=class extends Nn{getTypeName(){return"ResourceURL"}};function tt(e){return e instanceof Nn?e.changingThisBreaksApplicationSecurity:e}function cn(e,n){let t=mb(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${sc})`)}return t===n}function mb(e){return e instanceof Nn&&e.getTypeName()||null}function Rh(e){return new Wf(e)}function xh(e){return new Gf(e)}function Ah(e){return new qf(e)}function Nh(e){return new Yf(e)}function Oh(e){return new Zf(e)}function eT(e){let n=new Xf(e);return tT()?new Kf(n):n}var Kf=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(Jc(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},Xf=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=Jc(n),t}};function tT(){try{return!!new window.DOMParser().parseFromString(Jc(""),"text/html")}catch{return!1}}var nT=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Es(e){return e=String(e),e.match(nT)?e:"unsafe:"+e}function On(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function Ds(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var gb=On("area,br,col,hr,img,wbr"),vb=On("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yb=On("rp,rt"),rT=Ds(yb,vb),oT=Ds(vb,On("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")),iT=Ds(yb,On("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")),ly=Ds(gb,oT,iT,rT),bb=On("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),sT=On("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"),aT=On("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"),cT=Ds(bb,sT,aT),lT=On("script,style,template"),Qf=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=fT(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=dT(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=uy(n).toLowerCase();if(!ly.hasOwnProperty(t))return this.sanitizedSomething=!0,!lT.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!cT.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;bb[a]&&(c=Es(c)),this.buf.push(" ",s,'="',dy(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=uy(n).toLowerCase();ly.hasOwnProperty(t)&&!gb.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(dy(n))}};function uT(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function dT(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw _b(n);return n}function fT(e){let n=e.firstChild;if(n&&uT(e,n))throw _b(n);return n}function uy(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function _b(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var hT=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pT=/([^\#-~ |!])/g;function dy(e){return e.replace(/&/g,"&").replace(hT,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(pT,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ic;function el(e,n){let t=null;try{Ic=Ic||eT(e);let r=n?String(n):"";t=Ic.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=t.innerHTML,t=Ic.getInertBodyElement(r)}while(r!==i);let a=new Qf().sanitizeChildren(fy(t)||t);return Jc(a)}finally{if(t){let r=fy(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function fy(e){return"content"in e&&mT(e)?e.content:null}function mT(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Oe=(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})(Oe||{});function gT(e){let n=Ph();return n?ay(n.sanitize(Oe.HTML,e)||""):cn(e,"HTML")?ay(tt(e)):el(Th(),gt(e))}function Eb(e){let n=Ph();return n?n.sanitize(Oe.URL,e)||"":cn(e,"URL")?tt(e):Es(gt(e))}function Db(e){let n=Ph();if(n)return cy(n.sanitize(Oe.RESOURCE_URL,e)||"");if(cn(e,"ResourceURL"))return cy(tt(e));throw new y(904,!1)}function vT(e,n){return n==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||n==="href"&&(e==="base"||e==="link")?Db:Eb}function kh(e,n,t){return vT(n,t)(e)}function Ph(){let e=T();return e&&e[tn].sanitizer}var yT=/^>|^->|<!--|-->|--!>|<!-$/g,bT=/(<|>)/g,_T="\u200B$1\u200B";function ET(e){return e.replace(yT,n=>n.replace(bT,_T))}function DT(e){return e.ownerDocument.defaultView}function wT(e){return e.ownerDocument}function wb(e){return e instanceof Function?e():e}function CT(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var Cb="ng-template";function IT(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&CT(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(Fh(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function Fh(e){return e.type===4&&e.value!==Cb}function ST(e,n,t){let r=e.type===4&&!t?Cb:e.value;return n===r}function TT(e,n,t){let r=4,o=e.attrs,i=o!==null?xT(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!Ht(r)&&!Ht(c))return!1;if(s&&Ht(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!ST(e,c,t)||c===""&&n.length===1){if(Ht(r))return!1;s=!0}}else if(r&8){if(o===null||!IT(e,o,c,t)){if(Ht(r))return!1;s=!0}}else{let l=n[++a],u=MT(c,o,Fh(e),t);if(u===-1){if(Ht(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ht(r))return!1;s=!0}}}}return Ht(r)||s}function Ht(e){return(e&1)===0}function MT(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return AT(n,e)}function Ib(e,n,t=!1){for(let r=0;r<n.length;r++)if(TT(e,n[r],t))return!0;return!1}function RT(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function xT(e){for(let n=0;n<e.length;n++){let t=e[n];if(Gy(t))return n}return e.length}function AT(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function NT(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function hy(e,n){return e?":not("+n.trim()+")":n}function OT(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ht(s)&&(n+=hy(i,o),o=""),r=s,i=i||!Ht(r);t++}return o!==""&&(n+=hy(i,o)),n}function kT(e){return e.map(OT).join(",")}function PT(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!Ht(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var ke={};function FT(e,n){return e.createText(n)}function LT(e,n,t){e.setValue(n,t)}function jT(e,n){return e.createComment(ET(n))}function Sb(e,n,t){return e.createElement(n,t)}function Lc(e,n,t,r,o){e.insertBefore(n,t,r,o)}function Tb(e,n,t){e.appendChild(n,t)}function py(e,n,t,r,o){r!==null?Lc(e,n,t,r,o):Tb(e,n,t)}function Mb(e,n,t){e.removeChild(null,n,t)}function BT(e,n,t){e.setAttribute(n,"style",t)}function VT(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function Rb(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&AS(e,n,r),o!==null&&VT(e,n,o),i!==null&&BT(e,n,i)}function Lh(e,n,t,r,o,i,s,a,c,l,u){let d=re+r,p=d+o,h=UT(d,p),m=typeof l=="function"?l():l;return h[x]={type:e,blueprint:h,template:t,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:u}}function UT(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:ke);return t}function HT(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=Lh(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function jh(e,n,t,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[jt]=o,d[F]=r|4|128|8|64|1024,(l!==null||e&&e[F]&2048)&&(d[F]|=2048),sf(d),d[we]=d[Lr]=e,d[pe]=t,d[tn]=s||e&&e[tn],d[Q]=a||e&&e[Q],d[Fr]=c||e&&e[Fr]||null,d[Ye]=i,d[Xi]=WS(),d[Pr]=u,d[ef]=l,d[Ze]=n.type==2?e[Ze]:d,d}function $T(e,n,t){let r=Ut(n,e),o=HT(t),i=e[tn].rendererFactory,s=Bh(e,jh(e,o,null,xb(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function xb(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function Ab(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function Bh(e,n){return e[Lo]?e[Jd][vt]=n:e[Lo]=n,e[Jd]=n,n}function Nb(e=1){Ob(J(),T(),_t()+e,!1)}function Ob(e,n,t,r){if(!r)if((n[F]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Tc(n,i,t)}else{let i=e.preOrderHooks;i!==null&&Mc(n,i,0,t)}or(t)}var tl=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(tl||{});function Jf(e,n,t,r){let o=P(null);try{let[i,s,a]=e.inputs[t],c=null;(s&tl.SignalBased)!==0&&(c=n[i][de]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):Vy(n,c,i,r)}finally{P(o)}}var an=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(an||{}),zT;function Vh(e,n){return zT(e,n)}function zo(e,n,t,r,o){if(r!=null){let i,s=!1;Bt(r)?i=r:rn(r)&&(s=!0,r=r[jt]);let a=yt(r);e===0&&t!==null?o==null?Tb(n,t,a):Lc(n,t,a,o||null,!0):e===1&&t!==null?Lc(n,t,a,o||null,!0):e===2?Mb(n,a,s):e===3&&n.destroyNode(a),i!=null&&eM(n,e,i,t,o)}}function WT(e,n){kb(e,n),n[jt]=null,n[Ye]=null}function GT(e,n,t,r,o,i){r[jt]=o,r[Ye]=n,rl(e,r,t,1,o,i)}function kb(e,n){n[tn].changeDetectionScheduler?.notify(9),rl(e,n,n[Q],2,null,null)}function qT(e){let n=e[Lo];if(!n)return xf(e[x],e);for(;n;){let t=null;if(rn(n))t=n[Lo];else{let r=n[Ae];r&&(t=r)}if(!t){for(;n&&!n[vt]&&n!==e;)rn(n)&&xf(n[x],n),n=n[we];n===null&&(n=e),rn(n)&&xf(n[x],n),t=n&&n[vt]}n=t}}function Uh(e,n){let t=e[Vr],r=t.indexOf(n);t.splice(r,1)}function nl(e,n){if(Ur(n))return;let t=n[Q];t.destroyNode&&rl(e,n,t,3,null,null),qT(n)}function xf(e,n){if(Ur(n))return;let t=P(null);try{n[F]&=-129,n[F]|=256,n[ct]&&Zn(n[ct]),ZT(e,n),YT(e,n),n[x].type===1&&n[Q].destroy();let r=n[er];if(r!==null&&Bt(n[we])){r!==n[we]&&Uh(r,n);let o=n[nn];o!==null&&o.detachView(e)}Hf(n)}finally{P(t)}}function YT(e,n){let t=e.cleanup,r=n[Fo];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[Fo]=null);let o=n[Sn];if(o!==null){n[Sn]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[Rn];if(i!==null){n[Rn]=null;for(let s of i)s.destroy()}}function ZT(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof qr)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];X(4,a,c);try{c.call(a)}finally{X(5,a,c)}}else{X(4,o,i);try{i.call(o)}finally{X(5,o,i)}}}}}function Pb(e,n,t){return KT(e,n.parent,t)}function KT(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[jt];if(nr(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===An.None||o===An.Emulated)return null}return Ut(r,t)}function Fb(e,n,t){return QT(e,n,t)}function XT(e,n,t){return e.type&40?Ut(e,t):null}var QT=XT,my;function Hh(e,n,t,r){let o=Pb(e,r,n),i=n[Q],s=r.parent||n[Ye],a=Fb(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)py(i,o,t[c],a,!1);else py(i,o,t,a,!1);my!==void 0&&my(i,r,n,t,o)}function us(e,n){if(n!==null){let t=n.type;if(t&3)return Ut(n,e);if(t&4)return eh(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return us(e,r);{let o=e[n.index];return Bt(o)?eh(-1,o):yt(o)}}else{if(t&128)return us(e,n.next);if(t&32)return Vh(n,e)()||yt(e[n.index]);{let r=Lb(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=Qn(e[Ze]);return us(o,r)}else return us(e,n.next)}}}return null}function Lb(e,n){if(n!==null){let r=e[Ze][Ye],o=n.projection;return r.projection[o]}return null}function eh(e,n){let t=Ae+e+1;if(t<n.length){let r=n[t],o=r[x].firstChild;if(o!==null)return us(r,o)}return n[tr]}function $h(e,n,t,r,o,i,s){for(;t!=null;){if(t.type===128){t=t.next;continue}let a=r[t.index],c=t.type;if(s&&n===0&&(a&&qo(yt(a),r),t.flags|=2),!Qc(t))if(c&8)$h(e,n,t.child,r,o,i,!1),zo(n,e,o,a,i);else if(c&32){let l=Vh(t,r),u;for(;u=l();)zo(n,e,o,u,i);zo(n,e,o,a,i)}else c&16?jb(e,n,r,t,o,i):zo(n,e,o,a,i);t=s?t.projectionNext:t.next}}function rl(e,n,t,r,o,i){$h(t,r,e.firstChild,n,o,i,!1)}function JT(e,n,t){let r=n[Q],o=Pb(e,t,n),i=t.parent||n[Ye],s=Fb(i,t,n);jb(r,0,n,t,o,s)}function jb(e,n,t,r,o,i){let s=t[Ze],c=s[Ye].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];zo(n,e,o,u,i)}else{let l=c,u=s[we];rb(r)&&(l.flags|=128),$h(e,n,l,u,o,i,!0)}}function eM(e,n,t,r,o){let i=t[tr],s=yt(t);i!==s&&zo(n,e,r,i,o);for(let a=Ae;a<t.length;a++){let c=t[a];rl(c[x],c,e,n,r,i)}}function tM(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:an.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=an.Important),e.setStyle(t,r,o,i))}}function Bb(e,n,t,r,o){let i=_t(),s=r&2;try{or(-1),s&&n.length>re&&Ob(e,n,re,!1),X(s?2:0,o,t),t(r,o)}finally{or(i),X(s?3:1,o,t)}}function ol(e,n,t){aM(e,n,t),(t.flags&64)===64&&cM(e,n,t)}function ws(e,n,t=Ut){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function nM(e,n,t,r){let i=r.get(db,ub)||t===An.ShadowDom,s=e.selectRootElement(n,i);return rM(s),s}function rM(e){oM(e)}var oM=()=>null;function iM(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Vb(e,n,t,r,o,i){let s=n[x];if(qh(e,s,n,t,r)){nr(e)&&sM(n,e.index);return}e.type&3&&(t=iM(t)),Ub(e,n,t,r,o,i)}function Ub(e,n,t,r,o,i){if(e.type&3){let s=Ut(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function sM(e,n){let t=bt(n,e);t[F]&16||(t[F]|=64)}function aM(e,n,t){let r=t.directiveStart,o=t.directiveEnd;nr(t)&&$T(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||Fc(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=fs(n,e,s,t);if(qo(c,n),i!==null&&fM(n,s-r,c,a,t,i),Vt(a)){let l=bt(t.index,n);l[pe]=fs(n,e,s,t)}}}function cM(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=zv();try{or(i);for(let a=r;a<o;a++){let c=e.data[a],l=n[a];vc(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&lM(c,l)}}finally{or(-1),vc(s)}}function lM(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function zh(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];Ib(n,i.selectors,!1)&&(r??=[],Vt(i)?r.unshift(i):r.push(i))}return r}function uM(e,n,t,r,o,i){let s=Ut(e,n);dM(n[Q],s,i,e.value,t,r,o)}function dM(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?gt(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function fM(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];Jf(r,t,c,l)}}function Wh(e,n,t,r,o){let i=re+t,s=n[x],a=o(s,n,e,r,t);n[i]=a,Hr(e,!0);let c=e.type===2;return c?(Rb(n[Q],a,e),(Fv()===0||jo(e))&&qo(a,n),Lv()):qo(a,n),Ec()&&(!c||!Qc(e))&&Hh(s,n,a,e),e}function Gh(e){let n=e;return gf()?vf():(n=n.parent,Hr(n,!1)),n}function hM(e,n){let t=e[Fr];if(!t)return;t.get(Ke,null)?.(n)}function qh(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=n.data[l];Jf(d,t[l],u,o),a=!0}if(i)for(let c of i){let l=t[c],u=n.data[c];Jf(u,l,r,o),a=!0}return a}function pM(e,n){let t=bt(n,e),r=t[x];mM(r,t);let o=t[jt];o!==null&&t[Pr]===null&&(t[Pr]=fb(o,t[Fr])),X(18),Yh(r,t,t[pe]),X(19,t[pe])}function mM(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function Yh(e,n,t){bc(n);try{let r=e.viewQuery;r!==null&&zf(1,r,t);let o=e.template;o!==null&&Bb(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[nn]?.finishViewCreation(e),e.staticContentQueries&&hb(e,n),e.staticViewQueries&&zf(2,e.viewQuery,t);let i=e.components;i!==null&&gM(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[F]&=-5,_c()}}function gM(e,n){for(let t=0;t<n.length;t++)pM(e,n[t])}function Cs(e,n,t,r){let o=P(null);try{let i=n.tView,a=e[F]&4096?4096:16,c=jh(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[n.index];c[er]=l;let u=e[nn];return u!==null&&(c[nn]=u.createEmbeddedView(i)),Yh(i,c,t),c}finally{P(o)}}function Yo(e,n){return!n||n.firstChild===null||rb(e)}var gy=!1,vM=new b("");function hs(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(yt(i)),Bt(i)&&Hb(i,r);let s=t.type;if(s&8)hs(e,n,t.child,r);else if(s&32){let a=Vh(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=Lb(n,t);if(Array.isArray(a))r.push(...a);else{let c=Qn(n[Ze]);hs(c[x],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function Hb(e,n){for(let t=Ae;t<e.length;t++){let r=e[t],o=r[x].firstChild;o!==null&&hs(r[x],r,o,n)}e[tr]!==e[jt]&&n.push(e[tr])}function $b(e){if(e[Br]!==null){for(let n of e[Br])n.impl.addSequence(n);e[Br].length=0}}var zb=[];function yM(e){return e[ct]??bM(e)}function bM(e){let n=zb.pop()??Object.create(EM);return n.lView=e,n}function _M(e){e.lView[ct]!==e&&(e.lView=null,zb.push(e))}var EM=U(v({},wn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{rr(e.lView)},consumerOnSignalRead(){this.lView[ct]=this}});function DM(e){let n=e[ct]??Object.create(wM);return n.lView=e,n}var wM=U(v({},wn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=Qn(e.lView);for(;n&&!Wb(n[x]);)n=Qn(n);n&&af(n)},consumerOnSignalRead(){this.lView[ct]=this}});function Wb(e){return e.type!==2}function Gb(e){if(e[Rn]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[Rn])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[F]&8192)}}var CM=100;function Zh(e,n=0){let r=e[tn].rendererFactory,o=!1;o||r.begin?.();try{IM(e,n)}finally{o||r.end?.()}}function IM(e,n){let t=_f();try{Vo(!0),th(e,n);let r=0;for(;ns(e);){if(r===CM)throw new y(103,!1);r++,th(e,1)}}finally{Vo(t)}}function qb(e,n){bf(n?rs.Exhaustive:rs.OnlyDirtyViews);try{Zh(e)}finally{bf(rs.Off)}}function SM(e,n,t,r){if(Ur(n))return;let o=n[F],i=!1,s=!1;bc(n);let a=!0,c=null,l=null;i||(Wb(e)?(l=yM(n),c=Jt(l)):ec()===null?(a=!1,l=DM(n),c=Jt(l)):n[ct]&&(Zn(n[ct]),n[ct]=null));try{sf(n),Uv(e.bindingStartIndex),t!==null&&Bb(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let h=e.preOrderCheckHooks;h!==null&&Tc(n,h,null)}else{let h=e.preOrderHooks;h!==null&&Mc(n,h,0,null),Mf(n,0)}if(s||TM(n),Gb(n),Yb(n,0),e.contentQueries!==null&&hb(e,n),!i)if(u){let h=e.contentCheckHooks;h!==null&&Tc(n,h)}else{let h=e.contentHooks;h!==null&&Mc(n,h,1),Mf(n,1)}RM(e,n);let d=e.components;d!==null&&Kb(n,d,0);let p=e.viewQuery;if(p!==null&&zf(2,p,r),!i)if(u){let h=e.viewCheckHooks;h!==null&&Tc(n,h)}else{let h=e.viewHooks;h!==null&&Mc(n,h,2),Mf(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[hc]){for(let h of n[hc])h();n[hc]=null}i||($b(n),n[F]&=-73)}catch(u){throw i||rr(n),u}finally{l!==null&&(In(l,c),a&&_M(l)),_c()}}function Yb(e,n){for(let t=ib(e);t!==null;t=sb(t))for(let r=Ae;r<t.length;r++){let o=t[r];Zb(o,n)}}function TM(e){for(let n=ib(e);n!==null;n=sb(n)){if(!(n[F]&2))continue;let t=n[Vr];for(let r=0;r<t.length;r++){let o=t[r];af(o)}}}function MM(e,n,t){X(18);let r=bt(n,e);Zb(r,t),X(19,r[pe])}function Zb(e,n){pc(e)&&th(e,n)}function th(e,n){let r=e[x],o=e[F],i=e[ct],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&Rr(i)),s||=!1,i&&(i.dirty=!1),e[F]&=-9217,s)SM(r,e,r.template,e[pe]);else if(o&8192){let a=P(null);try{Gb(e),Yb(e,1);let c=r.components;c!==null&&Kb(e,c,1),$b(e)}finally{P(a)}}}function Kb(e,n,t){for(let r=0;r<n.length;r++)MM(e,n[r],t)}function RM(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)or(~o);else{let i=o,s=t[++r],a=t[++r];$v(s,i);let c=n[i];X(24,c),a(2,c),X(25,c)}}}finally{or(-1)}}function Kh(e,n){let t=_f()?64:1088;for(e[tn].changeDetectionScheduler?.notify(n);e;){e[F]|=t;let r=Qn(e);if(Bo(e)&&!r)return e;e=r}return null}function Xb(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function Qb(e,n){let t=Ae+n;if(t<e.length)return e[t]}function Is(e,n,t,r=!0){let o=n[x];if(xM(o,n,e,t),r){let s=eh(t,e),a=n[Q],c=a.parentNode(e[tr]);c!==null&>(o,e[Ye],a,n,c,s)}let i=n[Pr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Jb(e,n){let t=ps(e,n);return t!==void 0&&nl(t[x],t),t}function ps(e,n){if(e.length<=Ae)return;let t=Ae+n,r=e[t];if(r){let o=r[er];o!==null&&o!==e&&Uh(o,r),n>0&&(e[t-1][vt]=r[vt]);let i=Yi(e,Ae+n);WT(r[x],r);let s=i[nn];s!==null&&s.detachView(i[x]),r[we]=null,r[vt]=null,r[F]&=-129}return r}function xM(e,n,t,r){let o=Ae+r,i=t.length;r>0&&(t[o-1][vt]=n),r<i-Ae?(n[vt]=t[o],Wd(t,Ae+r,n)):(t.push(n),n[vt]=null),n[we]=t;let s=n[er];s!==null&&t!==s&&e_(s,n);let a=n[nn];a!==null&&a.insertView(e),mc(n),n[F]|=128}function e_(e,n){let t=e[Vr],r=n[we];if(rn(r))e[F]|=2;else{let o=r[we][Ze];n[Ze]!==o&&(e[F]|=2)}t===null?e[Vr]=[n]:t.push(n)}var sr=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[x];return hs(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[pe]}set context(n){this._lView[pe]=n}get destroyed(){return Ur(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[we];if(Bt(n)){let t=n[Qi],r=t?t.indexOf(this):-1;r>-1&&(ps(n,r),Yi(t,r))}this._attachedToViewContainer=!1}nl(this._lView[x],this._lView)}onDestroy(n){cf(this._lView,n)}markForCheck(){Kh(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[F]&=-129}reattach(){mc(this._lView),this._lView[F]|=128}detectChanges(){this._lView[F]|=1024,Zh(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Bo(this._lView),t=this._lView[er];t!==null&&!n&&Uh(t,this._lView),kb(this._lView[x],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=n;let t=Bo(this._lView),r=this._lView[er];r!==null&&!t&&e_(r,this._lView),mc(this._lView)}};var Et=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=AM;constructor(t,r,o){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,o){let i=Cs(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new sr(i)}}return e})();function AM(){return il(ye(),T())}function il(e,n){return e.type&4?new Et(n,e,ei(e,n)):null}function Kr(e,n,t,r,o){let i=e.data[n];if(i===null)i=NM(e,n,t,r,o),Hv()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=Vv();i.injectorIndex=s===null?-1:s.injectorIndex}return Hr(i,!0),i}function NM(e,n,t,r,o){let i=mf(),s=gf(),a=s?i:i&&i.parent,c=e.data[n]=kM(e,a,t,n,r,o);return OM(e,c,i,s),c}function OM(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function kM(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return ff()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var Y$=new RegExp(`^(\\d+)*(${ZS}|${YS})*(.*)`);function PM(e){let n=e[tf]??[],r=e[we][Q],o=[];for(let i of n)i.data[lb]!==void 0?o.push(i):FM(i,r);e[tf]=o}function FM(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[cb];for(;t<o;){let i=r.nextSibling;Mb(n,r,!1),r=i,t++}}}var LM=()=>null,jM=()=>null;function jc(e,n){return LM(e,n)}function t_(e,n,t){return jM(e,n,t)}var n_=class{},sl=class{},nh=class{resolveComponentFactory(n){throw new y(917,!1)}},Ss=class{static NULL=new nh},Ne=class{},wt=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>BM()}return e})();function BM(){let e=T(),n=ye(),t=bt(n.index,e);return(rn(t)?t:e)[Q]}var r_=(()=>{class e{static \u0275prov=g({token:e,providedIn:"root",factory:()=>null})}return e})();var xc={},rh=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,xc,r);return o!==xc||t===xc?o:this.parentInjector.get(n,t,r)}};function Bc(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=ac(o,a);else if(i==2){let c=a,l=n[++s];r=ac(r,c+": "+l+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function ge(e,n=0){let t=T();if(t===null)return C(e,n);let r=ye();return Jy(r,t,De(e),n)}function Xh(){let e="invalid";throw new Error(e)}function o_(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}HM(e,n,t,a,i,c,l)}i!==null&&r!==null&&VM(t,r,i)}function VM(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new y(-301,!1);r.push(n[o],i)}}function UM(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function HM(e,n,t,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let h=r[p];!c&&Vt(h)&&(c=!0,UM(e,t,p)),Vf(Fc(t,n),e,h.type)}YM(t,e.data.length,a);for(let p=0;p<a;p++){let h=r[p];h.providersResolver&&h.providersResolver(h)}let l=!1,u=!1,d=Ab(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let p=0;p<a;p++){let h=r[p];if(t.mergedAttrs=Go(t.mergedAttrs,h.hostAttrs),zM(e,t,n,d,h),qM(d,h,o),s!==null&&s.has(h)){let[_,E]=s.get(h);t.directiveToIndex.set(h.type,[d,_+t.directiveStart,E+t.directiveStart])}else(i===null||!i.has(h))&&t.directiveToIndex.set(h.type,d);h.contentQueries!==null&&(t.flags|=4),(h.hostBindings!==null||h.hostAttrs!==null||h.hostVars!==0)&&(t.flags|=64);let m=h.type.prototype;!l&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),l=!0),!u&&(m.ngOnChanges||m.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}$M(e,t,i)}function $M(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))vy(0,n,o,r),vy(1,n,o,r),by(n,r,!1);else{let i=t.get(o);yy(0,n,i,r),yy(1,n,i,r),by(n,r,!0)}}}function vy(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),i_(n,i)}}function yy(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),i_(n,s)}}function i_(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function by(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||Fh(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!t&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===n){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function zM(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=Xn(o.type,!0)),s=new qr(i,Vt(o),ge,null);e.blueprint[r]=s,t[r]=s,WM(e,n,r,Ab(e,t,o.hostVars,ke),o)}function WM(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;GM(s)!=a&&s.push(a),s.push(t,r,i)}}function GM(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function qM(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Vt(n)&&(t[""]=e)}}function YM(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function Qh(e,n,t,r,o,i,s,a){let c=n[x],l=c.consts,u=lt(l,s),d=Kr(c,e,t,r,u);return i&&o_(c,n,d,lt(l,a),o),d.mergedAttrs=Go(d.mergedAttrs,d.attrs),d.attrs!==null&&Bc(d,d.attrs,!1),d.mergedAttrs!==null&&Bc(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Jh(e,n){zy(e,n),nf(n)&&e.queries.elementEnd(n)}function ZM(e,n,t,r,o,i){let s=n.consts,a=lt(s,o),c=Kr(n,e,t,r,a);if(c.mergedAttrs=Go(c.mergedAttrs,c.attrs),i!=null){let l=lt(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Bc(c,c.attrs,!1),c.mergedAttrs!==null&&Bc(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function ep(e){return al(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function s_(e,n){if(Array.isArray(e))for(let t=0;t<e.length;t++)n(e[t]);else{let t=e[Symbol.iterator](),r;for(;!(r=t.next()).done;)n(r.value)}}function al(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function cl(e,n,t){return e[n]=t}function KM(e,n){return e[n]}function et(e,n,t){if(t===ke)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function tp(e,n,t,r){let o=et(e,n,t);return et(e,n+1,r)||o}function a_(e,n,t,r,o){let i=tp(e,n,t,r);return et(e,n+2,o)||i}function Ac(e,n,t){return function r(o){let i=nr(e)?bt(e.index,n):n;Kh(i,5);let s=n[pe],a=_y(n,s,t,o),c=r.__ngNextListenerFn__;for(;c;)a=_y(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function _y(e,n,t,r){let o=P(null);try{return X(6,n,t),t(r)!==!1}catch(i){return hM(e,i),!1}finally{X(7,n,t),P(o)}}function c_(e,n,t,r,o,i,s,a){let c=jo(e),l=!1,u=null;if(!r&&c&&(u=XM(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=Ut(e,t),p=r?r(d):d;XS(t,p,i,a);let h=o.listen(p,i,a),m=r?_=>r(yt(_[e.index])):e.index;l_(m,n,t,i,a,h,!1)}return l}function XM(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[Fo],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function l_(e,n,t,r,o,i,s){let a=n.firstCreatePass?uf(n):null,c=lf(t),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Ey(e,n,t,r,o,i){let s=n[t],a=n[x],l=a.data[t].outputs[r],d=s[l].subscribe(i);l_(e.index,a,n,o,i,d,!0)}var oh=Symbol("BINDING");var Vc=class extends Ss{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=en(n);return new ar(t,this.ngModule)}};function QM(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&tl.SignalBased)!==0};return o&&(i.transform=o),i})}function JM(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function e0(e,n,t){let r=n instanceof ne?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new rh(t,r):t}function t0(e){let n=e.get(Ne,null);if(n===null)throw new y(407,!1);let t=e.get(r_,null),r=e.get(pt,null);return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1}}function n0(e,n){let t=(e.selectors[0][0]||"div").toLowerCase();return Sb(n,t,t==="svg"?rf:t==="math"?xv:null)}var ar=class extends sl{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=QM(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=JM(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=kT(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){X(22);let a=P(null);try{let c=this.componentDef,l=r0(r,c,s,i),u=e0(c,o||this.ngModule,n),d=t0(u),p=d.rendererFactory.createRenderer(null,c),h=r?nM(p,r,c.encapsulation,u):n0(c,p),m=s?.some(Dy)||i?.some(D=>typeof D!="function"&&D.bindings.some(Dy)),_=jh(null,l,null,512|xb(c),null,null,d,p,u,null,fb(h,u,!0));_[re]=h,bc(_);let E=null;try{let D=Qh(re,_,2,"#host",()=>l.directiveRegistry,!0,0);h&&(Rb(p,h,D),qo(h,_)),ol(l,_,D),Mh(l,D,_),Jh(l,D),t!==void 0&&i0(D,this.ngContentSelectors,t),E=bt(D.index,_),_[pe]=E[pe],Yh(l,_,null)}catch(D){throw E!==null&&Hf(E),Hf(_),D}finally{X(23),_c()}return new Uc(this.componentType,_,!!m)}finally{P(a)}}};function r0(e,n,t,r){let o=e?["ng-version","20.1.7"]:PT(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[oh].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[oh].requiredVars;let h=u+1;p.create&&(p.targetIdx=h,(i??=[]).push(p)),p.update&&(p.targetIdx=h,(s??=[]).push(p))}}let c=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=fc(d);c.push(p)}return Lh(0,null,o0(i,s),1,a,c,null,null,null,[o],null)}function o0(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function Dy(e){let n=e[oh].kind;return n==="input"||n==="twoWay"}var Uc=class extends n_{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=Ji(t[x],re),this.location=ei(this._tNode,t),this.instance=bt(this._tNode.index,t)[pe],this.hostView=this.changeDetectorRef=new sr(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=qh(r,o[x],o,n,t);this.previousInputValues.set(n,t);let s=bt(r.index,o);Kh(s,1)}get injector(){return new Gr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function i0(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var $e=(()=>{class e{static __NG_ELEMENT_ID__=s0}return e})();function s0(){let e=ye();return d_(e,T())}var a0=$e,u_=class extends a0{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return ei(this._hostTNode,this._hostLView)}get injector(){return new Gr(this._hostTNode,this._hostLView)}get parentInjector(){let n=Ch(this._hostTNode,this._hostLView);if(qy(n)){let t=kc(n,this._hostLView),r=Oc(n),o=t[x].data[r+8];return new Gr(o,t)}else return new Gr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=wy(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Ae}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=jc(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,Yo(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!wS(n),l;if(c)l=t;else{let E=t||{};l=E.index,r=E.injector,o=E.projectableNodes,i=E.environmentInjector||E.ngModuleRef,s=E.directives,a=E.bindings}let u=c?n:new ar(en(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let D=(c?d:this.parentInjector).get(ne,null);D&&(i=D)}let p=en(u.componentType??{}),h=jc(this._lContainer,p?.id??null),m=h?.firstChild??null,_=u.create(d,o,m,i,s,a);return this.insertImpl(_.hostView,l,Yo(this._hostTNode,h)),_}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(Nv(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[we],l=new u_(c,c[Ye],c[we]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Is(s,o,i,r),n.attachToViewContainerRef(),Wd(Af(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=wy(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=ps(this._lContainer,t);r&&(Yi(Af(this._lContainer),t),nl(r[x],r))}detach(n){let t=this._adjustIndex(n,-1),r=ps(this._lContainer,t);return r&&Yi(Af(this._lContainer),t)!=null?new sr(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function wy(e){return e[Qi]}function Af(e){return e[Qi]||(e[Qi]=[])}function d_(e,n){let t,r=n[e.index];return Bt(r)?t=r:(t=Xb(r,n,null,e),n[e.index]=t,Bh(n,t)),l0(t,n,e,r),new u_(t,e,n)}function c0(e,n){let t=e[Q],r=t.createComment(""),o=Ut(n,e),i=t.parentNode(o);return Lc(t,i,r,t.nextSibling(o),!1),r}var l0=f0,u0=()=>!1;function d0(e,n,t){return u0(e,n,t)}function f0(e,n,t,r){if(e[tr])return;let o;t.type&8?o=yt(r):o=c0(n,t),e[tr]=o}var ih=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},sh=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){let s=t.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)rp(n,t).matches!==null&&this.queries[t].setDirty()}},Hc=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=v0(n):this.predicate=n}},ah=class e{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){let o=t!==null?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,t!==null?t.push(i):t=[i])}return t!==null?new e(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},ch=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,t,h0(t,i)),this.matchTNodeWithReadOption(n,t,Rc(t,n,i,!1,!1))}else r===Et?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,Rc(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===W||o===$e||o===Et&&t.type&4)this.addMatch(t.index,-2);else{let i=Rc(t,n,o,!1,!1);i!==null&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function h0(e,n){let t=e.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1]}return null}function p0(e,n){return e.type&11?ei(e,n):e.type&4?il(e,n):null}function m0(e,n,t,r){return t===-1?p0(n,e):t===-2?g0(e,n,r):fs(e,e[x],t,n)}function g0(e,n,t){if(t===W)return ei(n,e);if(t===Et)return il(n,e);if(t===$e)return d_(n,e)}function f_(e,n,t,r){let o=n[nn].queries[r];if(o.matches===null){let i=e.data,s=t.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(m0(n,u,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function lh(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=f_(e,n,o,t);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=n[-c];for(let d=Ae;d<u.length;d++){let p=u[d];p[er]===p[we]&&lh(p[x],p,l,r)}if(u[Vr]!==null){let d=u[Vr];for(let p=0;p<d.length;p++){let h=d[p];lh(h[x],h,l,r)}}}}}return r}function np(e,n){return e[nn].queries[n].queryList}function h_(e,n,t){let r=new Yr((t&4)===4);return Pv(e,n,r,r.destroy),(n[nn]??=new sh).queries.push(new ih(r))-1}function p_(e,n,t){let r=J();return r.firstCreatePass&&(g_(r,new Hc(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),h_(r,T(),n)}function m_(e,n,t,r){let o=J();if(o.firstCreatePass){let i=ye();g_(o,new Hc(n,t,r),i.index),y0(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return h_(o,T(),t)}function v0(e){return e.split(",").map(n=>n.trim())}function g_(e,n,t){e.queries===null&&(e.queries=new ah),e.queries.track(new ch(n,t))}function y0(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function rp(e,n){return e.queries.getByIndex(n)}function v_(e,n){let t=e[x],r=rp(t,n);return r.crossesNgTemplate?lh(t,e,n,[]):f_(t,e,r,n)}function y_(e,n,t){let r,o=Bi(()=>{r._dirtyCounter();let i=b0(r,e);if(n&&i===void 0)throw new y(-951,!1);return i});return r=o[de],r._dirtyCounter=me(0),r._flatValue=void 0,o}function op(e){return y_(!0,!1,e)}function ip(e){return y_(!0,!0,e)}function b_(e,n){let t=e[de];t._lView=T(),t._queryIndex=n,t._queryList=np(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function b0(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[F]&4)return n?void 0:He;let o=np(t,r),i=v_(t,r);return o.reset(i,nb),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var Cy=new Set;function Ct(e){Cy.has(e)||(Cy.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var $t=class{},ll=class{};function sp(e,n){return new ms(e,n??null,[])}var ms=class extends $t{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Vc(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=Yd(n);this._bootstrapComponents=wb(i.bootstrap),this._r3Injector=Cf(n,t,[{provide:$t,useValue:this},{provide:Ss,useValue:this.componentFactoryResolver},...r],Tn(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},$c=class extends ll{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new ms(this.moduleType,n,[])}};var gs=class extends $t{injector;componentFactoryResolver=new Vc(this);instance=null;constructor(n){super();let t=new Or([...n.providers,{provide:$t,useValue:this},{provide:Ss,useValue:this.componentFactoryResolver}],n.parent||Po(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function ni(e,n,t=null){return new gs({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var _0=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=Zd(!1,t.type),o=r.length>0?ni([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=g({token:e,providedIn:"environment",factory:()=>new e(C(ne))})}return e})();function be(e){return Qo(()=>{let n=__(e),t=U(v({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Ih.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(_0).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||An.Emulated,styles:e.styles||He,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&Ct("NgStandalone"),E_(t);let r=e.dependencies;return t.directiveDefs=Iy(r,E0),t.pipeDefs=Iy(r,Cv),t.id=C0(t),t})}function E0(e){return en(e)||fc(e)}function G(e){return Qo(()=>({type:e.type,bootstrap:e.bootstrap||He,declarations:e.declarations||He,imports:e.imports||He,exports:e.exports||He,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function D0(e,n){if(e==null)return Lt;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=tl.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function w0(e){if(e==null)return Lt;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function ee(e){return Qo(()=>{let n=__(e);return E_(n),n})}function Xr(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 __(e){let n={};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:n,inputConfig:e.inputs||Lt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||He,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:D0(e.inputs,n),outputs:w0(e.outputs),debugInfo:null}}function E_(e){e.features?.forEach(n=>n(e))}function Iy(e,n){return e?()=>{let t=typeof e=="function"?e():e,r=[];for(let o of t){let i=n(o);i!==null&&r.push(i)}return r}:null}function C0(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function I0(e){return Object.getPrototypeOf(e.prototype).constructor}function It(e){let n=I0(e.type),t=!0,r=[e];for(;n;){let o;if(Vt(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new y(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);let s=e;s.inputs=Nf(e.inputs),s.declaredInputs=Nf(e.declaredInputs),s.outputs=Nf(e.outputs);let a=o.hostBindings;a&&x0(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&M0(e,c),l&&R0(e,l),S0(e,o),mv(e.outputs,o.outputs),Vt(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===It&&(t=!1)}}n=Object.getPrototypeOf(n)}T0(r)}function S0(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function T0(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=Go(o.hostAttrs,t=Go(t,o.hostAttrs))}}function Nf(e){return e===Lt?{}:e===He?[]:e}function M0(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function R0(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function x0(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function A0(e){let n=t=>{let r=Array.isArray(e);t.hostDirectives===null?(t.resolveHostDirectives=N0,t.hostDirectives=r?e.map(uh):[e]):r?t.hostDirectives.unshift(...e.map(uh)):t.hostDirectives.unshift(e)};return n.ngInherit=!0,n}function N0(e){let n=[],t=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=n.length;r??=new Map,o??=new Map,D_(s,n,r),o.set(s,[a,n.length-1])}i===0&&Vt(s)&&(t=!0,n.push(s))}for(let i=t?1:0;i<e.length;i++)n.push(e[i]);return[n,r,o]}function D_(e,n,t){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Sy(uh(i),n,t)}else Sy(r,n,t)}function Sy(e,n,t){let r=fc(e.directive);O0(r.declaredInputs,e.inputs),D_(r,n,t),t.set(r,e),n.push(r)}function uh(e){return typeof e=="function"?{directive:De(e),inputs:Lt,outputs:Lt}:{directive:De(e.directive),inputs:Ty(e.inputs),outputs:Ty(e.outputs)}}function Ty(e){if(e===void 0||e.length===0)return Lt;let n={};for(let t=0;t<e.length;t+=2)n[e[t]]=e[t+1];return n}function O0(e,n){for(let t in n)if(n.hasOwnProperty(t)){let r=n[t],o=e[t];e[r]=o}}function w_(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=Go(e.mergedAttrs,e.attrs);let u=e.tView=Lh(2,e,o,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),u.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),Hr(e,!1);let c=P0(t,n,e,r);Ec()&&Hh(t,n,c,e),qo(c,n);let l=Xb(c,n,c,e);n[r+re]=l,Bh(n,l),d0(l,e,n)}function k0(e,n,t,r,o,i,s,a,c,l,u){let d=t+re,p;return n.firstCreatePass?(p=Kr(n,d,4,s||null,a||null),gc()&&o_(n,e,p,lt(n.consts,l),zh),zy(n,p)):p=n.data[d],w_(p,e,n,t,r,o,i,c),jo(p)&&ol(n,e,p),l!=null&&ws(e,p,u),p}function Zo(e,n,t,r,o,i,s,a,c,l,u){let d=t+re,p;if(n.firstCreatePass){if(p=Kr(n,d,4,s||null,a||null),l!=null){let h=lt(n.consts,l);p.localNames=[];for(let m=0;m<h.length;m+=2)p.localNames.push(h[m],-1)}}else p=n.data[d];return w_(p,e,n,t,r,o,i,c),l!=null&&ws(e,p,u),p}function C_(e,n,t,r,o,i,s,a){let c=T(),l=J(),u=lt(l.consts,i);return k0(c,l,e,n,t,r,o,u,void 0,s,a),C_}function I_(e,n,t,r,o,i,s,a){let c=T(),l=J(),u=lt(l.consts,i);return Zo(c,l,e,n,t,r,o,u,void 0,s,a),I_}var P0=F0;function F0(e,n,t,r){return as(!0),n[Q].createComment("")}var ul=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ul||{}),dr=new b(""),S_=!1,dh=class extends N{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,Qd()&&(this.destroyRef=f(Ie,{optional:!0})??void 0,this.pendingTasks=f(on,{optional:!0})??void 0)}emit(n){let t=P(null);try{super.next(n)}finally{P(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return n instanceof H&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},K=dh;function T_(e){let n,t;function r(){e=zr;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function My(e){return queueMicrotask(()=>e()),()=>{e=zr}}var ap="isAngularZone",zc=ap+"_ID",L0=0,R=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new K(!1);onMicrotaskEmpty=new K(!1);onStable=new K(!1);onError=new K(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=S_}=n;if(typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,V0(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ap)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,j0,zr,zr);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},j0={};function cp(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 B0(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){T_(()=>{e.callbackScheduled=!1,fh(e),e.isCheckStableRunning=!0,cp(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),fh(e)}function V0(e){let n=()=>{B0(e)},t=L0++;e._inner=e._inner.fork({name:"angular",properties:{[ap]:!0,[zc]:t,[zc+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(U0(c))return r.invokeTask(i,s,a,c);try{return Ry(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),xy(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Ry(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!H0(c)&&n(),xy(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,fh(e),cp(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function fh(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ry(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xy(e){e._nesting--,cp(e)}var Wc=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new K;onMicrotaskEmpty=new K;onStable=new K;onError=new K;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function U0(e){return M_(e,"__ignore_ng_zone__")}function H0(e){return M_(e,"__scheduler_tick__")}function M_(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var dl=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=g({token:e,providedIn:"root",factory:()=>new e})}return e})(),lp=[0,1,2,3],up=(()=>{class e{ngZone=f(R);scheduler=f(pt);errorHandler=f(Re,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){f(dr,{optional:!0})}execute(){let t=this.sequences.size>0;t&&X(16),this.executing=!0;for(let r of lp)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&X(17)}register(t){let{view:r}=t;r!==void 0?((r[Br]??=[]).push(t),rr(r),r[F]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(ul.AFTER_NEXT_RENDER,t):t()}static \u0275prov=g({token:e,providedIn:"root",factory:()=>new e})}return e})(),vs=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i,s=null){this.impl=n,this.hooks=t,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[Br];n&&(this.view[Br]=n.filter(t=>t!==this))}};function kn(e,n){let t=n?.injector??f(V);return Ct("NgAfterNextRender"),z0(e,t,n,!0)}function $0(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function z0(e,n,t,r){let o=n.get(dl);o.impl??=n.get(up);let i=n.get(dr,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(Ie):null,a=n.get($r,null,{optional:!0}),c=new vs(o.impl,$0(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var fl=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var hl=new b(""),ri=new b(""),Ts=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(t,r,o){this._ngZone=t,this.registry=r,Qd()&&(this._destroyRef=f(Ie,{optional:!0})??void 0),dp||(R_(o),o.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let t=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{R.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{t.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(t)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t()},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,o),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static \u0275fac=function(r){return new(r||e)(C(R),C(Ms),C(ri))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),Ms=(()=>{class e{_applications=new Map;registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return dp?.findTestabilityInTree(this,t,r)??null}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function R_(e){dp=e}var dp;function Qr(e){return!!e&&typeof e.then=="function"}function pl(e){return!!e&&typeof e.subscribe=="function"}var fp=new b("");function ml(e){return Jn([{provide:fp,multi:!0,useValue:e}])}var hp=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=f(fp,{optional:!0})??[];injector=f(V);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=xe(this.injector,o);if(Qr(i))t.push(i);else if(pl(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),oi=new b("");function x_(){bd(()=>{let e="";throw new y(600,e)})}function A_(e){return e.isBoundToModule}var W0=10;var Xe=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=f(Ke);afterRenderManager=f(dl);zonelessEnabled=f(cs);rootEffectScheduler=f(ls);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new N;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=f(on);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(M(t=>!t))}constructor(){f(dr,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=f(ne);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=V.NULL){return this._injector.get(R).run(()=>{X(10);let s=t instanceof sl;if(!this._injector.get(hp).done){let m="";throw new y(405,m)}let c;s?c=t:c=this._injector.get(Ss).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let l=A_(c)?void 0:this._injector.get($t),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,h=d.injector.get(hl,null);return h?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),ds(this.components,d),h?.unregisterApplication(p)}),this._loadComponent(d),X(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){X(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(ul.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new y(101,!1);let t=P(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,P(t),this.afterTick.next(),X(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ne,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<W0;)X(14),this.synchronizeOnce(),X(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!ns(o))continue;let i=r&&!this.zonelessEnabled?0:1;Zh(o,i),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>ns(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;ds(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(t),this._injector.get(oi,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>ds(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new y(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ds(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function Pn(e,n,t,r){let o=T(),i=xn();if(et(o,i,n)){let s=J(),a=ss();uM(a,o,e,n,t,r)}return Pn}var hh=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),o=Math.max(n,t),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(n,t){this.attach(t,this.detach(n))}};function Of(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function G0(e,n,t){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(n)){let c=n.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=n[i],d=Of(i,l,i,u,t);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),h=n[c],m=Of(s,p,c,h,t);if(m!==0){m<0&&e.updateValue(s,h),s--,c--;continue}let _=t(i,l),E=t(s,p),D=t(i,u);if(Object.is(D,E)){let $=t(c,h);Object.is($,_)?(e.swap(i,s),e.updateValue(s,h),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Gc,o??=Ny(e,i,s,t),ph(e,r,i,D))e.updateValue(i,u),i++,s++;else if(o.has(D))r.set(_,e.detach(i)),s--;else{let $=e.create(i,n[i]);e.attach(i,$),i++,s++}}for(;i<=c;)Ay(e,r,t,i,n[i]),i++}else if(n!=null){let c=n[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=Of(i,u,i,d,t);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Gc,o??=Ny(e,i,s,t);let h=t(i,d);if(ph(e,r,i,h))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(h))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let m=t(i,u);r.set(m,e.detach(i)),s--}}}for(;!l.done;)Ay(e,r,t,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function ph(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function Ay(e,n,t,r,o){if(ph(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ny(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var Gc=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function q0(e,n,t,r,o,i,s,a){Ct("NgControlFlow");let c=T(),l=J(),u=lt(l.consts,i);return Zo(c,l,e,n,t,r,o,u,256,s,a),pp}function pp(e,n,t,r,o,i,s,a){Ct("NgControlFlow");let c=T(),l=J(),u=lt(l.consts,i);return Zo(c,l,e,n,t,r,o,u,512,s,a),pp}function Y0(e,n){Ct("NgControlFlow");let t=T(),r=xn(),o=t[r]!==ke?t[r]:-1,i=o!==-1?qc(t,re+o):void 0,s=0;if(et(t,r,e)){let a=P(null);try{if(i!==void 0&&Jb(i,s),e!==-1){let c=re+e,l=qc(t,c),u=yh(t[x],c),d=t_(l,u,t),p=Cs(t,u,n,{dehydratedView:d});Is(l,p,s,Yo(u,d))}}finally{P(a)}}else if(i!==void 0){let a=Qb(i,s);a!==void 0&&(a[pe]=n)}}var mh=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Ae}};function Z0(e){return e}function K0(e,n){return n}var gh=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function X0(e,n,t,r,o,i,s,a,c,l,u,d,p){Ct("NgControlFlow");let h=T(),m=J(),_=c!==void 0,E=T(),D=a?s.bind(E[Ze][pe]):s,$=new gh(_,D);E[re+e]=$,Zo(h,m,e+1,n,t,r,o,lt(m.consts,i),256),_&&Zo(h,m,e+2,c,l,u,d,lt(m.consts,p),512)}var vh=class extends hh{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-Ae}at(n){return this.getLView(n)[pe].$implicit}attach(n,t){let r=t[Pr];this.needsIndexUpdate||=n!==this.length,Is(this.lContainer,t,n,Yo(this.templateTNode,r))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,J0(this.lContainer,n)}create(n,t){let r=jc(this.lContainer,this.templateTNode.tView.ssrId),o=Cs(this.hostLView,this.templateTNode,new mh(this.lContainer,t,n),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(n){nl(n[x],n),this.operationsCounter?.recordDestroy()}updateValue(n,t){this.getLView(n)[pe].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[pe].$index=n}getLView(n){return eR(this.lContainer,n)}};function Q0(e){let n=P(null),t=_t();try{let r=T(),o=r[x],i=r[t],s=t+1,a=qc(r,s);if(i.liveCollection===void 0){let l=yh(o,s);i.liveCollection=new vh(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(G0(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=xn(),u=c.length===0;if(et(r,l,u)){let d=t+2,p=qc(r,d);if(u){let h=yh(o,d),m=t_(p,h,r),_=Cs(r,h,void 0,{dehydratedView:m});Is(p,_,0,Yo(h,m))}else o.firstUpdatePass&&PM(p),Jb(p,0)}}}finally{P(n)}}function qc(e,n){return e[n]}function J0(e,n){return ps(e,n)}function eR(e,n){return Qb(e,n)}function yh(e,n){return Ji(e,n)}function N_(e,n,t){let r=T(),o=xn();if(et(r,o,n)){let i=J(),s=ss();Vb(s,r,e,n,r[Q],t)}return N_}function bh(e,n,t,r,o){qh(n,e,t,o?"class":"style",r)}function mp(e,n,t,r){let o=T(),i=o[x],s=e+re,a=i.firstCreatePass?Qh(s,o,2,n,zh,gc(),t,r):i.data[s];if(Wh(a,o,e,n,O_),jo(a)){let c=o[x];ol(c,o,a),Mh(c,a,o)}return r!=null&&ws(o,a),mp}function gp(){let e=J(),n=ye(),t=Gh(n);return e.firstCreatePass&&Jh(e,t),hf(t)&&pf(),df(),t.classesWithoutHost!=null&&RS(t)&&bh(e,t,T(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&xS(t)&&bh(e,t,T(),t.stylesWithoutHost,!1),gp}function gl(e,n,t,r){return mp(e,n,t,r),gp(),gl}function fr(e,n,t,r){let o=T(),i=o[x],s=e+re,a=i.firstCreatePass?ZM(s,i,2,n,t,r):i.data[s];return Wh(a,o,e,n,O_),r!=null&&ws(o,a),fr}function hr(){let e=ye(),n=Gh(e);return hf(n)&&pf(),df(),hr}function ut(e,n,t,r){return fr(e,n,t,r),hr(),ut}var O_=(e,n,t,r,o)=>(as(!0),Sb(n[Q],r,Qv()));function vp(e,n,t){let r=T(),o=r[x],i=e+re,s=o.firstCreatePass?Qh(i,r,8,"ng-container",zh,gc(),n,t):o.data[i];if(Wh(s,r,e,"ng-container",tR),jo(s)){let a=r[x];ol(a,r,s),Mh(a,s,r)}return t!=null&&ws(r,s),vp}function yp(){let e=J(),n=ye(),t=Gh(n);return e.firstCreatePass&&Jh(e,t),yp}function k_(e,n,t){return vp(e,n,t),yp(),k_}var tR=(e,n,t,r,o)=>(as(!0),jT(n[Q],""));function nR(){return T()}function P_(e,n,t){let r=T(),o=xn();if(et(r,o,n)){let i=J(),s=ss();Ub(s,r,e,n,r[Q],t)}return P_}var Wr=void 0;function rR(e){let n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&t===0?1:5}var oR=["en",[["a","p"],["AM","PM"],Wr],[["AM","PM"],Wr,Wr],[["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"]],Wr,[["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"]],Wr,[["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}",Wr,"{1} 'at' {0}",Wr],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",rR],kf={};function nt(e){let n=iR(e),t=Oy(n);if(t)return t;let r=n.split("-")[0];if(t=Oy(r),t)return t;if(r==="en")return oR;throw new y(701,!1)}function Oy(e){return e in kf||(kf[e]=Ce.ng&&Ce.ng.common&&Ce.ng.common.locales&&Ce.ng.common.locales[e]),kf[e]}var fe=(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})(fe||{});function iR(e){return e.toLowerCase().replace(/_/g,"-")}var Rs="en-US";var sR=Rs;function F_(e){typeof e=="string"&&(sR=e.toLowerCase().replace(/_/g,"-"))}function vl(e,n,t){let r=T(),o=J(),i=ye();return j_(o,r,r[Q],i,e,n,t),vl}function L_(e,n,t){let r=T(),o=J(),i=ye();return(i.type&3||t)&&c_(i,o,r,t,r[Q],e,n,Ac(i,r,n)),L_}function j_(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Ac(r,n,i),c_(r,e,n,s,t,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],h=u[d+1];c??=Ac(r,n,i),Ey(r,n,p,h,o,c)}if(l&&l.length)for(let d of l)c??=Ac(r,n,i),Ey(r,n,d,o,o,c)}}function aR(e=1){return Zv(e)}function cR(e,n){let t=null,r=RT(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?Ib(e,i,!0):NT(r,i))return o}return t}function ln(e){let n=T()[Ze][Ye];if(!n.projection){let t=e?e.length:1,r=n.projection=Dv(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?cR(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function ze(e,n=0,t,r,o,i){let s=T(),a=J(),c=r?e+1:null;c!==null&&Zo(s,a,c,r,o,i,null,t);let l=Kr(a,re+e,16,null,t||null);l.projection===null&&(l.projection=n),vf();let d=!s[Pr]||ff();s[Ze][Ye].projection[l.projection]===null&&c!==null?lR(s,a,c):d&&!Qc(l)&&JT(a,s,l)}function lR(e,n,t){let r=re+t,o=n.data[r],i=e[r],s=jc(i,o.tView.ssrId),a=Cs(e,o,void 0,{dehydratedView:s});Is(i,a,0,Yo(o,s))}function B_(e,n,t,r){m_(e,n,t,r)}function V_(e,n,t){p_(e,n,t)}function bp(e){let n=T(),t=J(),r=yc();is(r+1);let o=rp(t,r);if(e.dirty&&Av(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=v_(n,r);e.reset(i,nb),e.notifyOnChanges()}return!0}return!1}function _p(){return np(T(),yc())}function uR(e,n,t,r,o){b_(n,m_(e,t,r,o))}function dR(e,n,t,r){b_(e,p_(n,t,r))}function fR(e=1){is(yc()+e)}function hR(e){let n=yf();return es(n,re+e)}function Sc(e,n){return e<<17|n<<2}function Zr(e){return e>>17&32767}function pR(e){return(e&2)==2}function mR(e,n){return e&131071|n<<17}function _h(e){return e|2}function Ko(e){return(e&131068)>>2}function Pf(e,n){return e&-131069|n<<2}function gR(e){return(e&1)===1}function Eh(e){return e|1}function vR(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Zr(s),c=Ko(s);e[r]=t;let l=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||ko(d,u)>0)&&(l=!0)}else u=t;if(o)if(c!==0){let p=Zr(e[a+1]);e[r+1]=Sc(p,a),p!==0&&(e[p+1]=Pf(e[p+1],r)),e[a+1]=mR(e[a+1],r)}else e[r+1]=Sc(a,0),a!==0&&(e[a+1]=Pf(e[a+1],r)),a=r;else e[r+1]=Sc(c,0),a===0?a=r:e[c+1]=Pf(e[c+1],r),c=r;l&&(e[r+1]=_h(e[r+1])),ky(e,u,r,!0),ky(e,u,r,!1),yR(n,u,e,r,i),s=Sc(a,c),i?n.classBindings=s:n.styleBindings=s}function yR(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&ko(i,n)>=0&&(t[r+1]=Eh(t[r+1]))}function ky(e,n,t,r){let o=e[t+1],i=n===null,s=r?Zr(o):Ko(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];bR(c,n)&&(a=!0,e[s+1]=r?Eh(l):_h(l)),s=r?Zr(l):Ko(l)}a&&(e[t+1]=r?_h(o):Eh(o))}function bR(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?ko(e,n)>=0:!1}var Se={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function U_(e){return e.substring(Se.key,Se.keyEnd)}function _R(e){return e.substring(Se.value,Se.valueEnd)}function ER(e){return z_(e),H_(e,Xo(e,0,Se.textEnd))}function H_(e,n){let t=Se.textEnd;return t===n?-1:(n=Se.keyEnd=wR(e,Se.key=n,t),Xo(e,n,t))}function DR(e){return z_(e),$_(e,Xo(e,0,Se.textEnd))}function $_(e,n){let t=Se.textEnd,r=Se.key=Xo(e,n,t);return t===r?-1:(r=Se.keyEnd=CR(e,r,t),r=Py(e,r,t,58),r=Se.value=Xo(e,r,t),r=Se.valueEnd=IR(e,r,t),Py(e,r,t,59))}function z_(e){Se.key=0,Se.keyEnd=0,Se.value=0,Se.valueEnd=0,Se.textEnd=e.length}function Xo(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function wR(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function CR(e,n,t){let r;for(;n<t&&((r=e.charCodeAt(n))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)n++;return n}function Py(e,n,t,r){return n=Xo(e,n,t),n<t&&n++,n}function IR(e,n,t){let r=-1,o=-1,i=-1,s=n,a=s;for(;s<t;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Fy(e,c,s,t):n===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Fy(e,41,s,t):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Fy(e,n,t,r){let o=-1,i=t;for(;i<r;){let s=e.charCodeAt(i++);if(s==n&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Ep(e,n,t){return W_(e,n,t,!1),Ep}function rt(e,n){return W_(e,n,null,!0),rt}function SR(e){G_(Z_,TR,e,!1)}function TR(e,n){for(let t=DR(n);t>=0;t=$_(n,t))Z_(e,U_(n),_R(n))}function xs(e){G_(kR,MR,e,!0)}function MR(e,n){for(let t=ER(n);t>=0;t=H_(n,t))Zi(e,U_(n),!0)}function W_(e,n,t,r){let o=T(),i=J(),s=os(2);if(i.firstUpdatePass&&Y_(i,e,s,r),n!==ke&&et(o,s,n)){let a=i.data[_t()];K_(i,a,o,o[Q],e,o[s+1]=FR(n,t),r,s)}}function G_(e,n,t,r){let o=J(),i=os(2);o.firstUpdatePass&&Y_(o,null,i,r);let s=T();if(t!==ke&&et(s,i,t)){let a=o.data[_t()];if(X_(a,r)&&!q_(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=ac(c,t||"")),bh(o,a,s,t,r)}else PR(o,a,s,s[Q],s[i+1],s[i+1]=OR(e,n,t),r,i)}}function q_(e,n){return n>=e.expandoStartIndex}function Y_(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[_t()],s=q_(e,t);X_(i,r)&&n===null&&!s&&(n=!1),n=RR(o,i,n,r),vR(o,i,n,t,s,r)}}function RR(e,n,t,r){let o=Wv(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Ff(null,e,n,t,r),t=ys(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=Ff(o,e,n,t,r),i===null){let c=xR(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Ff(null,e,n,c[1],r),c=ys(c,n.attrs,r),AR(e,n,r,c))}else i=NR(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function xR(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Ko(r)!==0)return e[Zr(r)]}function AR(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[Zr(o)]=r}function NR(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=ys(r,s,t)}return ys(r,n.attrs,t)}function Ff(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=ys(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function ys(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Zi(e,s,t?!0:n[++i]))}return e===void 0?null:e}function OR(e,n,t){if(t==null||t==="")return He;let r=[],o=tt(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function Z_(e,n,t){Zi(e,n,tt(t))}function kR(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&Zi(e,r,t)}function PR(e,n,t,r,o,i,s,a){o===ke&&(o=He);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,h=l<i.length?i[l+1]:void 0,m=null,_;u===d?(c+=2,l+=2,p!==h&&(m=d,_=h)):d===null||u!==null&&u<d?(c+=2,m=u):(l+=2,m=d,_=h),m!==null&&K_(e,n,t,r,m,_,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function K_(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,l=c[a+1],u=gR(l)?Ly(c,n,t,o,Ko(l),s):void 0;if(!Yc(u)){Yc(i)||pR(l)&&(i=Ly(c,null,t,o,a,s));let d=of(_t(),t);tM(r,s,d,o,i)}}function Ly(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=t[o+1];p===ke&&(p=d?He:void 0);let h=d?dc(p,r):u===r?p:void 0;if(l&&!Yc(h)&&(h=dc(c,r)),Yc(h)&&(a=h,s))return a;let m=e[o+1];o=s?Zr(m):Ko(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=dc(c,r))}return a}function Yc(e){return e!==void 0}function FR(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Tn(tt(e)))),e}function X_(e,n){return(e.flags&(n?8:16))!==0}function LR(e,n=""){let t=T(),r=J(),o=e+re,i=r.firstCreatePass?Kr(r,o,1,n,null):r.data[o],s=jR(r,t,i,n,e);t[o]=s,Ec()&&Hh(r,t,s,i),Hr(i,!1)}var jR=(e,n,t,r,o)=>(as(!0),FT(n[Q],r));function Q_(e,n,t,r=""){return et(e,xn(),t)?n+gt(t)+r:ke}function BR(e,n,t,r,o,i=""){let s=Ef(),a=tp(e,s,t,o);return os(2),a?n+gt(t)+r+gt(o)+i:ke}function VR(e,n,t,r,o,i,s,a=""){let c=Ef(),l=a_(e,c,t,o,s);return os(3),l?n+gt(t)+r+gt(o)+i+gt(s)+a:ke}function J_(e){return Dp("",e),J_}function Dp(e,n,t){let r=T(),o=Q_(r,e,n,t);return o!==ke&&wp(r,_t(),o),Dp}function eE(e,n,t,r,o){let i=T(),s=BR(i,e,n,t,r,o);return s!==ke&&wp(i,_t(),s),eE}function tE(e,n,t,r,o,i,s){let a=T(),c=VR(a,e,n,t,r,o,i,s);return c!==ke&&wp(a,_t(),c),tE}function wp(e,n,t){let r=of(n,e);LT(e[Q],r,t)}function nE(e,n,t){If(n)&&(n=n());let r=T(),o=xn();if(et(r,o,n)){let i=J(),s=ss();Vb(s,r,e,n,r[Q],t)}return nE}function UR(e,n){let t=If(e);return t&&e.set(n),t}function rE(e,n){let t=T(),r=J(),o=ye();return j_(r,t,t[Q],o,e,n),rE}var oE={};function iE(e){let n=J(),t=T(),r=e+re,o=Kr(n,r,128,null,null);return Hr(o,!1),ts(n,t,r,oE),iE}function HR(e){Ct("NgLet");let n=J(),t=T(),r=_t();return ts(n,t,r,e),e}function $R(e){let n=yf(),t=es(n,re+e);if(t===oE)throw new y(314,!1);return t}function zR(e){return et(T(),xn(),e)?gt(e):ke}function WR(e,n,t=""){return Q_(T(),e,n,t)}function GR(e,n,t){let r=J();if(r.firstCreatePass){let o=Vt(e);Dh(t,r.data,r.blueprint,o,!0),Dh(n,r.data,r.blueprint,o,!1)}}function Dh(e,n,t,r,o){if(e=De(e),Array.isArray(e))for(let i=0;i<e.length;i++)Dh(e[i],n,t,r,o);else{let i=J(),s=T(),a=ye(),c=Nr(e)?e:De(e.provide),l=Xd(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Nr(e)||!e.multi){let h=new qr(l,o,ge,null),m=jf(c,n,o?u:u+p,d);m===-1?(Vf(Fc(a,s),i,c),Lf(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(h),s.push(h)):(t[m]=h,s[m]=h)}else{let h=jf(c,n,u+p,d),m=jf(c,n,u,u+p),_=h>=0&&t[h],E=m>=0&&t[m];if(o&&!E||!o&&!_){Vf(Fc(a,s),i,c);let D=ZR(o?YR:qR,t.length,o,r,l,e);!o&&E&&(t[m].providerFactory=D),Lf(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(D),s.push(D)}else{let D=sE(t[o?m:h],l,!o&&r);Lf(i,e,h>-1?h:m,D)}!o&&r&&E&&t[m].componentProviders++}}}function Lf(e,n,t,r){let o=Nr(n),i=Mv(n);if(o||i){let c=(i?De(n.useClass):n).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let u=l.indexOf(t);u===-1?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function sE(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function jf(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function qR(e,n,t,r,o){return wh(this.multi,[])}function YR(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=fs(r,r[x],this.providerFactory.index,o);s=c.slice(0,a),wh(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],wh(i,s);return s}function wh(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function ZR(e,n,t,r,o,i){let s=new qr(e,t,ge,null);return s.multi=[],s.index=n,s.componentProviders=0,sE(s,o,r&&!t),s}function yl(e,n=[]){return t=>{t.providersResolver=(r,o)=>GR(r,o?o(e):e,n)}}function KR(e,n,t){let r=Uo()+e,o=T();return o[r]===ke?cl(o,r,t?n.call(t):n()):KM(o,r)}function XR(e,n,t,r){return aE(T(),Uo(),e,n,t,r)}function QR(e,n,t,r,o,i){return ex(T(),Uo(),e,n,t,r,o,i)}function Cp(e,n){let t=e[n];return t===ke?void 0:t}function aE(e,n,t,r,o,i){let s=n+t;return et(e,s,o)?cl(e,s+1,i?r.call(i,o):r(o)):Cp(e,s+1)}function JR(e,n,t,r,o,i,s){let a=n+t;return tp(e,a,o,i)?cl(e,a+2,s?r.call(s,o,i):r(o,i)):Cp(e,a+2)}function ex(e,n,t,r,o,i,s,a){let c=n+t;return a_(e,c,o,i,s)?cl(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Cp(e,c+3)}function tx(e,n){let t=J(),r,o=e+re;t.firstCreatePass?(r=nx(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];let i=r.factory||(r.factory=Xn(r.type,!0)),s,a=qe(ge);try{let c=Pc(!1),l=i();return Pc(c),ts(t,T(),o,l),l}finally{qe(a)}}function nx(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function rx(e,n,t){let r=e+re,o=T(),i=es(o,r);return cE(o,r)?aE(o,Uo(),n,i.transform,t,i):i.transform(t)}function ox(e,n,t,r){let o=e+re,i=T(),s=es(i,o);return cE(i,o)?JR(i,Uo(),n,s.transform,t,r,s):s.transform(t,r)}function cE(e,n){return e[x].data[n].pure}function ix(e,n){return il(e,n)}var Zc=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},Ip=(()=>{class e{compileModuleSync(t){return new $c(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=Yd(t),i=wb(o.declarations).reduce((s,a)=>{let c=en(a);return c&&s.push(new ar(c)),s},[]);return new Zc(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var sx=(()=>{class e{zone=f(R);changeDetectionScheduler=f(pt);applicationRef=f(Xe);applicationErrorHandler=f(Ke);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(t){this.applicationErrorHandler(t)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function lE({ngZoneFactory:e,ignoreChangesOutsideZone:n,scheduleInRootZone:t}){return e??=()=>new R(U(v({},uE()),{scheduleInRootZone:t})),[{provide:R,useFactory:e},{provide:Mn,multi:!0,useFactory:()=>{let r=f(sx,{optional:!0});return()=>r.initialize()}},{provide:Mn,multi:!0,useFactory:()=>{let r=f(ax);return()=>{r.initialize()}}},n===!0?{provide:Sf,useValue:!0}:[],{provide:Tf,useValue:t??S_},{provide:Ke,useFactory:()=>{let r=f(R),o=f(ne),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Re),i.handleError(s))})}}}]}function uE(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var ax=(()=>{class e{subscription=new H;initialized=!1;zone=f(R);pendingTasks=f(on);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{R.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{R.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var dE=(()=>{class e{applicationErrorHandler=f(Ke);appRef=f(Xe);taskService=f(on);ngZone=f(R);zonelessEnabled=f(cs);tracing=f(dr,{optional:!0});disableScheduling=f(Sf,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new H;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(zc):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(f(Tf,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Wc||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&t===5)return;let r=!1;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?My:T_;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(zc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(t),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,My(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function cx(){return typeof $localize<"u"&&$localize.locale||Rs}var As=new b("",{providedIn:"root",factory:()=>f(As,{optional:!0,skipSelf:!0})||cx()});var Ns=class{destroyed=!1;listeners=null;errorHandler=f(Re,{optional:!0});destroyRef=f(Ie);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new y(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed){console.warn(mt(953,!1));return}if(this.listeners===null)return;let t=P(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{P(t)}}};function Pe(e){return fv(e)}function zt(e,n){return Bi(e,n?.equal)}var Sp=class{[de];constructor(n){this[de]=n}destroy(){this[de].destroy()}};function si(e,n){let t=n?.injector??f(V),r=n?.manualCleanup!==!0?t.get(Ie):null,o,i=t.get($r,null,{optional:!0}),s=t.get(pt);return i!==null?(o=dx(i.view,s,e),r instanceof Wi&&r._lView===i.view&&(r=null)):o=fx(e,t.get(ls),s),o.injector=t,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Sp(o)}var pE=U(v({},wn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:zr,run(){if(this.dirty=!1,this.hasRun&&!Rr(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),n=Jt(this),t=Vo(!1);try{this.maybeCleanup(),this.fn(e)}finally{Vo(t),In(this,n)}},maybeCleanup(){if(!this.cleanupFns?.length)return;let e=P(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],P(e)}}}),lx=U(v({},pE),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Zn(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),ux=U(v({},pE),{consumerMarkedDirty(){this.view[F]|=8192,rr(this.view),this.notifier.notify(13)},destroy(){Zn(this),this.onDestroyFn(),this.maybeCleanup(),this.view[Rn]?.delete(this)}});function dx(e,n,t){let r=Object.create(ux);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=t,e[Rn]??=new Set,e[Rn].add(r),r.consumerMarkedDirty(r),r}function fx(e,n,t){let r=Object.create(lx);return r.fn=e,r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}var hx=e=>e;function Jr(e,n){if(typeof e=="function"){let t=Ed(e,hx,n?.equal);return fE(t)}else{let t=Ed(e.source,e.computation,e.equal);return fE(t)}}function fE(e){let n=e[de],t=e;return t.set=r=>uv(n,r),t.update=r=>dv(n,r),t.asReadonly=$o.bind(e),t}var mE=!0;function gE(e){let n=e.request,t=e.params??n??(()=>null);return new ii(t,mx(e),e.defaultValue,e.equal?px(e.equal):void 0,e.injector??f(V),mE)}var Tp=class{value;constructor(n){this.value=n,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=$o}isError=zt(()=>this.status()==="error");update(n){this.set(n(Pe(this.value)))}isLoading=zt(()=>this.status()==="loading"||this.status()==="reloading");isValueDefined=zt(()=>this.isError()?!1:this.value()!==void 0);hasValue(){return this.isValueDefined()}asReadonly(){return this}},ii=class extends Tp{loaderFn;equal;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;constructor(n,t,r,o,i,s=mE){super(zt(()=>{let a=this.state().stream?.();if(!a||this.state().status==="loading"&&this.error())return r;if(!Mp(a)){if(s)throw new Rp(this.error());return r}return a.value},{equal:o})),this.loaderFn=t,this.equal=o,this.extRequest=Jr({source:n,computation:a=>({request:a,reload:0})}),this.state=Jr({source:this.extRequest,computation:(a,c)=>{let l=a.request===void 0?"idle":"loading";return c?{extRequest:a,status:l,previousStatus:hE(c.value),stream:c.value.extRequest.request===a.request?c.value.stream:void 0}:{extRequest:a,status:l,previousStatus:"idle",stream:void 0}}}),this.effectRef=si(this.loadEffect.bind(this),{injector:i,manualCleanup:!0}),this.pendingTasks=i.get(ir),this.unregisterOnDestroy=i.get(Ie).onDestroy(()=>this.destroy())}status=zt(()=>hE(this.state()));error=zt(()=>{let n=this.state().stream?.();return n&&!Mp(n)?n.error:void 0});set(n){if(this.destroyed)return;let t=Pe(this.error),r=Pe(this.state);if(!t){let o=Pe(this.value);if(r.status==="local"&&(this.equal?this.equal(o,n):o===n))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:me({value:n})}),this.abortInProgressLoad()}reload(){let{status:n}=Pe(this.state);return n==="idle"||n==="loading"?!1:(this.extRequest.update(({request:t,reload:r})=>({request:t,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}loadEffect(){return Un(this,null,function*(){let n=this.extRequest(),{status:t,previousStatus:r}=Pe(this.state);if(n.request===void 0)return;if(t!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=yield Pe(()=>this.loaderFn({params:n.request,request:n.request,abortSignal:i,previous:{status:r}}));if(i.aborted||Pe(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||Pe(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"error",stream:me({error:ai(s)})})}finally{o?.(),o=void 0}})}abortInProgressLoad(){Pe(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function px(e){return(n,t)=>n===void 0||t===void 0?n===t:e(n,t)}function mx(e){return gx(e)?e.stream:n=>Un(null,null,function*(){try{return me({value:yield e.loader(n)})}catch(t){return me({error:ai(t)})}})}function gx(e){return!!e.stream}function hE(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return Mp(e.stream())?"resolved":"error";default:return e.status}}function Mp(e){return e.error===void 0}function ai(e){return e instanceof Error?e:new xp(e)}var Rp=class extends Error{constructor(n){super(n.message,{cause:n})}},xp=class extends Error{constructor(n){super(String(n),{cause:n})}};var El=Symbol("InputSignalNode#UNSET"),SE=U(v({},Vi),{transformFn:void 0,applyValueToInputSignal(e,n){Kn(e,n)}});function TE(e,n){let t=Object.create(SE);t.value=e,t.transformFn=n?.transform;function r(){if(Cn(t),t.value===El){let o=null;throw new y(-950,o)}return t.value}return r[de]=t,r}var ci=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>bs(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},Rx=new b("");Rx.__NG_ELEMENT_ID__=e=>{let n=ye();if(n===null)throw new y(204,!1);if(n.type&2)return n.value;if(e&8)return null;throw new y(204,!1)};function d4(e){return new Ns}function vE(e,n){return TE(e,n)}function xx(e){return TE(El,e)}var ME=(vE.required=xx,vE);function yE(e,n){return op(n)}function Ax(e,n){return ip(n)}var f4=(yE.required=Ax,yE);function bE(e,n){return op(n)}function Nx(e,n){return ip(n)}var h4=(bE.required=Nx,bE);function RE(e,n){let t=Object.create(SE),r=new Ns;t.value=e;function o(){return Cn(t),_E(t.value),t.value}return o[de]=t,o.asReadonly=$o.bind(o),o.set=i=>{t.equal(t.value,i)||(Kn(t,i),r.emit(i))},o.update=i=>{_E(t.value),o.set(i(t.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function _E(e){if(e===El)throw new y(952,!1)}function EE(e,n){return RE(e,n)}function Ox(e){return RE(El,e)}var p4=(EE.required=Ox,EE);var Np=new b(""),kx=new b("");function Os(e){return!e.moduleRef}function Px(e){let n=Os(e)?e.r3Injector:e.moduleRef.injector,t=n.get(R);return t.run(()=>{Os(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(Ke),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),Os(e)){let i=()=>n.destroy(),s=e.platformInjector.get(Np);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Np);s.add(i),e.moduleRef.onDestroy(()=>{ds(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Lx(r,t,()=>{let i=n.get(on),s=i.add(),a=n.get(hp);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(As,Rs);if(F_(c||Rs),!n.get(kx,!0))return Os(e)?n.get(Xe):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Os(e)){let u=n.get(Xe);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return Fx?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var Fx;function Lx(e,n,t){try{let r=t();return Qr(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var bl=null;function jx(e=[],n){return V.create({name:n,providers:[{provide:Ki,useValue:"platform"},{provide:Np,useValue:new Set([()=>bl=null])},...e]})}function Bx(e=[]){if(bl)return bl;let n=jx(e);return bl=n,x_(),Vx(n),n}function Vx(e){let n=e.get(Xc,null);xe(e,()=>{n?.forEach(t=>t())})}var eo=(()=>{class e{static __NG_ELEMENT_ID__=Ux}return e})();function Ux(e){return Hx(ye(),T(),(e&16)===16)}function Hx(e,n,t){if(nr(e)&&!t){let r=bt(e.index,n);return new sr(r,r)}else if(e.type&175){let r=n[Ze];return new sr(r,n)}return null}var Op=class{constructor(){}supports(n){return ep(n)}create(n){return new kp(n)}},$x=(e,n)=>n,kp=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||$x}forEachItem(n){let t;for(t=this._itHead;t!==null;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){let s=!r||t&&t.currentIndex<DE(r,o,i)?t:r,a=DE(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(t=t._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let h=p<i.length?i[p]:i[p]=0,m=h+p;u<=m&&m<l&&(i[p]=h+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&n(s,a,c)}}forEachPreviousItem(n){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachMovedItem(n){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}forEachIdentityChange(n){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)n(t)}diff(n){if(n==null&&(n=[]),!ep(n))throw new y(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._itHead,r=!1,o,i,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)i=n[a],s=this._trackByFn(a,i),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,i,s,a),r=!0):(r&&(t=this._verifyReinsertion(t,i,s,a)),Object.is(t.item,i)||this._addIdentityChange(t,i)),t=t._next}else o=0,s_(n,a=>{s=this._trackByFn(o,a),t===null||!Object.is(t.trackById,s)?(t=this._mismatch(t,a,s,o),r=!0):(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new Pp(t,r),i,o)),n}_verifyReinsertion(n,t,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let t=n._next;this._addToRemovals(this._unlink(n)),n=t}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(n,t,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){let o=t===null?this._itHead:t._next;return n._next=o,n._prev=t,o===null?this._itTail=n:o._prev=n,t===null?this._itHead=n:t._next=n,this._linkedRecords===null&&(this._linkedRecords=new _l),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let t=n._prev,r=n._next;return t===null?this._itHead=r:t._next=r,r===null?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new _l),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},Pp=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,t){this.item=n,this.trackById=t}},Fp=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;r!==null;r=r._nextDup)if((t===null||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let t=n._prevDup,r=n._nextDup;return t===null?this._head=r:t._nextDup=r,r===null?this._tail=t:r._prevDup=t,this._head===null}},_l=class{map=new Map;put(n){let t=n.trackById,r=this.map.get(t);r||(r=new Fp,this.map.set(t,r)),r.add(n)}get(n,t){let r=n,o=this.map.get(r);return o?o.get(n,t):null}remove(n){let t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function DE(e,n,t){let r=e.previousIndex;if(r===null)return r;let o=0;return t&&r<t.length&&(o=t[r]),r+n+o}var Lp=class{constructor(){}supports(n){return n instanceof Map||al(n)}create(){return new jp}},jp=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(n){let t;for(t=this._mapHead;t!==null;t=t._next)n(t)}forEachPreviousItem(n){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)n(t)}forEachChangedItem(n){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)n(t)}forEachAddedItem(n){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)n(t)}forEachRemovedItem(n){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)n(t)}diff(n){if(!n)n=new Map;else if(!(n instanceof Map||al(n)))throw new y(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(n,(r,o)=>{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{let i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){let r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,t);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Bp(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}},Bp=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function wE(){return new Up([new Op])}var Up=(()=>{class e{factories;static \u0275prov=g({token:e,providedIn:"root",factory:wE});constructor(t){this.factories=t}static create(t,r){if(r!=null){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||wE()),deps:[[e,new Kc,new Jo]]}}find(t){let r=this.factories.find(o=>o.supports(t));if(r!=null)return r;throw new y(901,!1)}}return e})();function CE(){return new Hp([new Lp])}var Hp=(()=>{class e{static \u0275prov=g({token:e,providedIn:"root",factory:CE});factories;constructor(t){this.factories=t}static create(t,r){if(r){let o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||CE()),deps:[[e,new Kc,new Jo]]}}find(t){let r=this.factories.find(o=>o.supports(t));if(r)return r;throw new y(901,!1)}}return e})();var xE=(()=>{class e{constructor(t){}static \u0275fac=function(r){return new(r||e)(C(Xe))};static \u0275mod=G({type:e});static \u0275inj=z({})}return e})();function AE(e){X(8);try{let{rootComponent:n,appProviders:t,platformProviders:r}=e,o=Bx(r),i=[lE({}),{provide:pt,useExisting:dE},ey,...t||[]],s=new gs({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return Px({r3Injector:s.injector,platformInjector:o,rootComponent:n})}catch(n){return Promise.reject(n)}finally{X(9)}}function ce(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function $p(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}var Ap=Symbol("NOT_SET"),NE=new Set,zx=U(v({},Vi),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Ap,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Ap&&!Rr(this))return this.signal;try{for(let o of this.cleanup??NE)o()}finally{this.cleanup?.clear()}let n=[];e!==void 0&&n.push(e),n.push(this.registerCleanupFn);let t=Jt(this),r;try{r=this.userFn.apply(null,n)}finally{In(this,t)}return(this.value===Ap||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),Vp=class extends vs{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(n,t,r,o,i,s=null){super(n,[void 0,void 0,void 0,void 0],r,!1,i,s),this.scheduler=o;for(let a of lp){let c=t[a];if(c===void 0)continue;let l=Object.create(zx);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(Cn(l),l.value),l.signal[de]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let n of this.nodes)if(n)try{for(let t of n.cleanup??NE)t()}finally{Zn(n)}}};function m4(e,n){let t=n?.injector??f(V),r=t.get(pt),o=t.get(dl),i=t.get(dr,null,{optional:!0});o.impl??=t.get(up);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=t.get($r,null,{optional:!0}),c=new Vp(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,t.get(Ie),i?.snapshot(null));return o.impl.register(c),c}function Dl(e,n){let t=en(e),r=n.elementInjector||Po();return new ar(t).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}function OE(e){let n=en(e);if(!n)return null;let t=new ar(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var FE=null;function un(){return FE}function zp(e){FE??=e}var ks=class{},Ps=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:()=>f(LE),providedIn:"platform"})}return e})(),Wp=new b(""),LE=(()=>{class e extends Ps{_location;_history;_doc=f(O);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return un().getBaseHref(this._doc)}onPopState(t){let r=un().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=un().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function wl(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function kE(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function Wt(e){return e&&e[0]!=="?"?`?${e}`:e}var St=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:()=>f(Il),providedIn:"root"})}return e})(),Cl=new b(""),Il=(()=>{class e extends St{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??f(O).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return wl(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+Wt(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Wt(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Wt(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(C(Ps),C(Cl,8))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),dn=(()=>{class e{_subject=new N;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=qx(kE(PE(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Wt(r))}normalize(t){return e.stripTrailingSlash(Gx(this._basePath,PE(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Wt(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Wt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Wt;static joinWithSlash=wl;static stripTrailingSlash=kE;static \u0275fac=function(r){return new(r||e)(C(St))};static \u0275prov=g({token:e,factory:()=>Wx(),providedIn:"root"})}return e})();function Wx(){return new dn(C(St))}function Gx(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function PE(e){return e.replace(/\/index.html$/,"")}function qx(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var kl=(()=>{class e extends St{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(t){let r=wl(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Wt(i))||this._platformLocation.pathname;this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Wt(i))||this._platformLocation.pathname;this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(C(Ps),C(Cl,8))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})();var em=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(em||{});var We=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(We||{}),te=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(te||{}),ot=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(ot||{}),it={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 zE(e){return nt(e)[fe.LocaleId]}function WE(e,n,t){let r=nt(e),o=[r[fe.DayPeriodsFormat],r[fe.DayPeriodsStandalone]],i=Tt(o,n);return Tt(i,t)}function GE(e,n,t){let r=nt(e),o=[r[fe.DaysFormat],r[fe.DaysStandalone]],i=Tt(o,n);return Tt(i,t)}function qE(e,n,t){let r=nt(e),o=[r[fe.MonthsFormat],r[fe.MonthsStandalone]],i=Tt(o,n);return Tt(i,t)}function YE(e,n){let r=nt(e)[fe.Eras];return Tt(r,n)}function Fs(e,n){let t=nt(e);return Tt(t[fe.DateFormat],n)}function Ls(e,n){let t=nt(e);return Tt(t[fe.TimeFormat],n)}function js(e,n){let r=nt(e)[fe.DateTimeFormat];return Tt(r,n)}function fn(e,n){let t=nt(e),r=t[fe.NumberSymbols][n];if(typeof r>"u"){if(n===it.CurrencyDecimal)return t[fe.NumberSymbols][it.Decimal];if(n===it.CurrencyGroup)return t[fe.NumberSymbols][it.Group]}return r}function ZE(e,n){return nt(e)[fe.NumberFormats][n]}function KE(e){if(!e[fe.ExtraData])throw new y(2303,!1)}function XE(e){let n=nt(e);return KE(n),(n[fe.ExtraData][2]||[]).map(r=>typeof r=="string"?Gp(r):[Gp(r[0]),Gp(r[1])])}function QE(e,n,t){let r=nt(e);KE(r);let o=[r[fe.ExtraData][0],r[fe.ExtraData][1]],i=Tt(o,n)||[];return Tt(i,t)||[]}function Tt(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new y(2304,!1)}function Gp(e){let[n,t]=e.split(":");return{hours:+n,minutes:+t}}var Yx=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Sl={},Zx=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Kx(e,n,t,r){let o=iA(e);n=Fn(t,n)||n;let s=[],a;for(;n;)if(a=Zx.exec(n),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;n=u}else{s.push(n);break}let c=o.getTimezoneOffset();r&&(c=eD(r,c),o=oA(o,r));let l="";return s.forEach(u=>{let d=nA(u);l+=d?d(o,t,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Al(e,n,t){let r=new Date(0);return r.setFullYear(e,n,t),r.setHours(0,0,0),r}function Fn(e,n){let t=zE(e);if(Sl[t]??={},Sl[t][n])return Sl[t][n];let r="";switch(n){case"shortDate":r=Fs(e,ot.Short);break;case"mediumDate":r=Fs(e,ot.Medium);break;case"longDate":r=Fs(e,ot.Long);break;case"fullDate":r=Fs(e,ot.Full);break;case"shortTime":r=Ls(e,ot.Short);break;case"mediumTime":r=Ls(e,ot.Medium);break;case"longTime":r=Ls(e,ot.Long);break;case"fullTime":r=Ls(e,ot.Full);break;case"short":let o=Fn(e,"shortTime"),i=Fn(e,"shortDate");r=Tl(js(e,ot.Short),[o,i]);break;case"medium":let s=Fn(e,"mediumTime"),a=Fn(e,"mediumDate");r=Tl(js(e,ot.Medium),[s,a]);break;case"long":let c=Fn(e,"longTime"),l=Fn(e,"longDate");r=Tl(js(e,ot.Long),[c,l]);break;case"full":let u=Fn(e,"fullTime"),d=Fn(e,"fullDate");r=Tl(js(e,ot.Full),[u,d]);break}return r&&(Sl[t][n]=r),r}function Tl(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,r){return n!=null&&r in n?n[r]:t})),e}function Gt(e,n,t="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=t));let s=String(e);for(;s.length<n;)s="0"+s;return r&&(s=s.slice(s.length-n)),i+s}function Xx(e,n){return Gt(e,3).substring(0,n)}function _e(e,n,t=0,r=!1,o=!1){return function(i,s){let a=Qx(e,i);if((t>0||a>-t)&&(a+=t),e===3)a===0&&t===-12&&(a=12);else if(e===6)return Xx(a,n);let c=fn(s,it.MinusSign);return Gt(a,n,c,r,o)}}function Qx(e,n){switch(e){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new y(2301,!1)}}function ie(e,n,t=We.Format,r=!1){return function(o,i){return Jx(o,i,e,n,t,r)}}function Jx(e,n,t,r,o,i){switch(t){case 2:return qE(n,o,r)[e.getMonth()];case 1:return GE(n,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let l=XE(n),u=QE(n,o,r),d=l.findIndex(p=>{if(Array.isArray(p)){let[h,m]=p,_=s>=h.hours&&a>=h.minutes,E=s<m.hours||s===m.hours&&a<m.minutes;if(h.hours<m.hours){if(_&&E)return!0}else if(_||E)return!0}else if(p.hours===s&&p.minutes===a)return!0;return!1});if(d!==-1)return u[d]}return WE(n,o,r)[s<12?0:1];case 3:return YE(n,r)[e.getFullYear()<=0?0:1];default:let c=t;throw new y(2302,!1)}}function Ml(e){return function(n,t,r){let o=-1*r,i=fn(t,it.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+Gt(s,2,i)+Gt(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+Gt(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+Gt(s,2,i)+":"+Gt(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+Gt(s,2,i)+":"+Gt(Math.abs(o%60),2,i);default:throw new y(2302,!1)}}}var eA=0,xl=4;function tA(e){let n=Al(e,eA,1).getDay();return Al(e,0,1+(n<=xl?xl:xl+7)-n)}function JE(e){let n=e.getDay(),t=n===0?-3:xl-n;return Al(e.getFullYear(),e.getMonth(),e.getDate()+t)}function qp(e,n=!1){return function(t,r){let o;if(n){let i=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+i)/7)}else{let i=JE(t),s=tA(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Gt(o,e,fn(r,it.MinusSign))}}function Rl(e,n=!1){return function(t,r){let i=JE(t).getFullYear();return Gt(i,e,fn(r,it.MinusSign),n)}}var Yp={};function nA(e){if(Yp[e])return Yp[e];let n;switch(e){case"G":case"GG":case"GGG":n=ie(3,te.Abbreviated);break;case"GGGG":n=ie(3,te.Wide);break;case"GGGGG":n=ie(3,te.Narrow);break;case"y":n=_e(0,1,0,!1,!0);break;case"yy":n=_e(0,2,0,!0,!0);break;case"yyy":n=_e(0,3,0,!1,!0);break;case"yyyy":n=_e(0,4,0,!1,!0);break;case"Y":n=Rl(1);break;case"YY":n=Rl(2,!0);break;case"YYY":n=Rl(3);break;case"YYYY":n=Rl(4);break;case"M":case"L":n=_e(1,1,1);break;case"MM":case"LL":n=_e(1,2,1);break;case"MMM":n=ie(2,te.Abbreviated);break;case"MMMM":n=ie(2,te.Wide);break;case"MMMMM":n=ie(2,te.Narrow);break;case"LLL":n=ie(2,te.Abbreviated,We.Standalone);break;case"LLLL":n=ie(2,te.Wide,We.Standalone);break;case"LLLLL":n=ie(2,te.Narrow,We.Standalone);break;case"w":n=qp(1);break;case"ww":n=qp(2);break;case"W":n=qp(1,!0);break;case"d":n=_e(2,1);break;case"dd":n=_e(2,2);break;case"c":case"cc":n=_e(7,1);break;case"ccc":n=ie(1,te.Abbreviated,We.Standalone);break;case"cccc":n=ie(1,te.Wide,We.Standalone);break;case"ccccc":n=ie(1,te.Narrow,We.Standalone);break;case"cccccc":n=ie(1,te.Short,We.Standalone);break;case"E":case"EE":case"EEE":n=ie(1,te.Abbreviated);break;case"EEEE":n=ie(1,te.Wide);break;case"EEEEE":n=ie(1,te.Narrow);break;case"EEEEEE":n=ie(1,te.Short);break;case"a":case"aa":case"aaa":n=ie(0,te.Abbreviated);break;case"aaaa":n=ie(0,te.Wide);break;case"aaaaa":n=ie(0,te.Narrow);break;case"b":case"bb":case"bbb":n=ie(0,te.Abbreviated,We.Standalone,!0);break;case"bbbb":n=ie(0,te.Wide,We.Standalone,!0);break;case"bbbbb":n=ie(0,te.Narrow,We.Standalone,!0);break;case"B":case"BB":case"BBB":n=ie(0,te.Abbreviated,We.Format,!0);break;case"BBBB":n=ie(0,te.Wide,We.Format,!0);break;case"BBBBB":n=ie(0,te.Narrow,We.Format,!0);break;case"h":n=_e(3,1,-12);break;case"hh":n=_e(3,2,-12);break;case"H":n=_e(3,1);break;case"HH":n=_e(3,2);break;case"m":n=_e(4,1);break;case"mm":n=_e(4,2);break;case"s":n=_e(5,1);break;case"ss":n=_e(5,2);break;case"S":n=_e(6,1);break;case"SS":n=_e(6,2);break;case"SSS":n=_e(6,3);break;case"Z":case"ZZ":case"ZZZ":n=Ml(0);break;case"ZZZZZ":n=Ml(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Ml(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=Ml(2);break;default:return null}return Yp[e]=n,n}function eD(e,n){e=e.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function rA(e,n){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+n),e}function oA(e,n,t){let o=e.getTimezoneOffset(),i=eD(n,o);return rA(e,-1*(i-o))}function iA(e){if(jE(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 Al(o,i-1,s)}let t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let r;if(r=e.match(Yx))return sA(r)}let n=new Date(e);if(!jE(n))throw new y(2302,!1);return n}function sA(e){let n=new Date(0),t=0,r=0,o=e[8]?n.setUTCFullYear:n.setFullYear,i=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-t,a=Number(e[5]||0)-r,c=Number(e[6]||0),l=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(n,s,a,c,l),n}function jE(e){return e instanceof Date&&!isNaN(e.valueOf())}var aA=/^(\d+)?\.((\d+)(-(\d+))?)?$/,BE=22,Nl=".",Bs="0",cA=";",lA=",",Zp="#";function uA(e,n,t,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=fn(t,it.Infinity);else{let l=hA(e);s&&(l=fA(l));let u=n.minInt,d=n.minFrac,p=n.maxFrac;if(i){let $=i.match(aA);if($===null)throw new y(2306,!1);let Fe=$[1],le=$[3],mo=$[5];Fe!=null&&(u=Kp(Fe)),le!=null&&(d=Kp(le)),mo!=null?p=Kp(mo):le!=null&&d>p&&(p=d)}pA(l,d,p);let h=l.digits,m=l.integerLen,_=l.exponent,E=[];for(c=h.every($=>!$);m<u;m++)h.unshift(0);for(;m<0;m++)h.unshift(0);m>0?E=h.splice(m,h.length):(E=h,h=[0]);let D=[];for(h.length>=n.lgSize&&D.unshift(h.splice(-n.lgSize,h.length).join(""));h.length>n.gSize;)D.unshift(h.splice(-n.gSize,h.length).join(""));h.length&&D.unshift(h.join("")),a=D.join(fn(t,r)),E.length&&(a+=fn(t,o)+E.join("")),_&&(a+=fn(t,it.Exponential)+"+"+_)}return e<0&&!c?a=n.negPre+a+n.negSuf:a=n.posPre+a+n.posSuf,a}function tD(e,n,t){let r=ZE(n,em.Decimal),o=dA(r,fn(n,it.MinusSign));return uA(e,o,n,it.Group,it.Decimal,t)}function dA(e,n="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(cA),o=r[0],i=r[1],s=o.indexOf(Nl)!==-1?o.split(Nl):[o.substring(0,o.lastIndexOf(Bs)+1),o.substring(o.lastIndexOf(Bs)+1)],a=s[0],c=s[1]||"";t.posPre=a.substring(0,a.indexOf(Zp));for(let u=0;u<c.length;u++){let d=c.charAt(u);d===Bs?t.minFrac=t.maxFrac=u+1:d===Zp?t.maxFrac=u+1:t.posSuf+=d}let l=a.split(lA);if(t.gSize=l[1]?l[1].length:0,t.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,i){let u=o.length-t.posPre.length-t.posSuf.length,d=i.indexOf(Zp);t.negPre=i.substring(0,d).replace(/'/g,""),t.negSuf=i.slice(d+u).replace(/'/g,"")}else t.negPre=n+t.posPre,t.negSuf=t.posSuf;return t}function fA(e){if(e.digits[0]===0)return e;let n=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(n===0?e.digits.push(0,0):n===1&&e.digits.push(0),e.integerLen+=2),e}function hA(e){let n=Math.abs(e)+"",t=0,r,o,i,s,a;for((o=n.indexOf(Nl))>-1&&(n=n.replace(Nl,"")),(i=n.search(/e/i))>0?(o<0&&(o=i),o+=+n.slice(i+1),n=n.substring(0,i)):o<0&&(o=n.length),i=0;n.charAt(i)===Bs;i++);if(i===(a=n.length))r=[0],o=1;else{for(a--;n.charAt(a)===Bs;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(n.charAt(i))}return o>BE&&(r=r.splice(0,BE-1),t=o-1,o=1),{digits:r,exponent:t,integerLen:o}}function pA(e,n,t){if(n>t)throw new y(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(n,o),t),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,l=n+e.integerLen,u=r.reduceRight(function(d,p,h,m){return p=p+d,m[h]=p<10?p:p-10,c&&(m[h]===0&&h>=l?m.pop():c=!1),p>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}function Kp(e){let n=parseInt(e);if(isNaN(n))throw new y(2305,!1);return n}var Xp=/\s+/,VE=[],mA=(()=>{class e{_ngEl;_renderer;initialClasses=VE;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(Xp):VE}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Xp):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){t=t.trim(),t.length>0&&t.split(Xp).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(ge(W),ge(wt))};static \u0275dir=ee({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),gA=(()=>{class e{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletEnvironmentInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(t){this._viewContainerRef=t}_needToReCreateNgModuleInstance(t){return t.ngComponentOutletNgModule!==void 0||t.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(t){return t.ngComponentOutlet!==void 0||t.ngComponentOutletContent!==void 0||t.ngComponentOutletInjector!==void 0||t.ngComponentOutletEnvironmentInjector!==void 0||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let r=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=sp(this.ngComponentOutletNgModule,UE(r)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(UE(r)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:r,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent,environmentInjector:this.ngComponentOutletEnvironmentInjector})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(let[r,o]of this._inputsUsed)o?(t.setInput(r,this.ngComponentOutletInputs[r]),this._inputsUsed.set(r,!1)):(t.setInput(r,void 0),this._inputsUsed.delete(r))}static \u0275fac=function(r){return new(r||e)(ge($e))};static \u0275dir=ee({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletEnvironmentInjector:"ngComponentOutletEnvironmentInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[Dt]})}return e})();function UE(e){return e.get($t).injector}var vA=(()=>{class e{_viewContainer;_context=new Ol;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,r){this._viewContainer=t,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){HE(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){HE(t,!1),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(t,r){return!0}static \u0275fac=function(r){return new(r||e)(ge($e),ge(Et))};static \u0275dir=ee({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),Ol=class{$implicit=null;ngIf=null};function HE(e,n){if(e&&!e.createEmbeddedView)throw new y(2020,!1)}var yA=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(t,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(ge($e))};static \u0275dir=ee({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Dt]})}return e})();function Pl(e,n){return new y(2100,!1)}var Qp=class{createSubscription(n,t,r){return Pe(()=>n.subscribe({next:t,error:r}))}dispose(n){Pe(()=>n.unsubscribe())}},Jp=class{createSubscription(n,t,r){return n.then(o=>t?.(o),o=>r?.(o)),{unsubscribe:()=>{t=null,r=null}}}dispose(n){n.unsubscribe()}},bA=new Jp,_A=new Qp,EA=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=f(Ke);constructor(t){this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(t){if(!this._obj){if(t)try{this.markForCheckOnValueUpdate=!1,this._subscribe(t)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,r=>this._updateLatestValue(t,r),r=>this.applicationErrorHandler(r))}_selectStrategy(t){if(Qr(t))return bA;if(pl(t))return _A;throw Pl(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,r){t===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(ge(eo,16))};static \u0275pipe=Xr({name:"async",type:e,pure:!1})}return e})();var DA=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,wA=(()=>{class e{transform(t){if(t==null)return null;if(typeof t!="string")throw Pl(e,t);return t.replace(DA,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Xr({name:"titlecase",type:e,pure:!0})}return e})();function CA(e,n){return{key:e,value:n}}var IA=(()=>{class e{differs;constructor(t){this.differs=t}differ;keyValues=[];compareFn=$E;transform(t,r=$E){if(!t||!(t instanceof Map)&&typeof t!="object")return null;this.differ??=this.differs.find(t).create();let o=this.differ.diff(t),i=r!==this.compareFn;return o&&(this.keyValues=[],o.forEachItem(s=>{this.keyValues.push(CA(s.key,s.currentValue))})),(o||i)&&(r&&this.keyValues.sort(r),this.compareFn=r),this.keyValues}static \u0275fac=function(r){return new(r||e)(ge(Hp,16))};static \u0275pipe=Xr({name:"keyvalue",type:e,pure:!1})}return e})();function $E(e,n){let t=e.key,r=n.key;if(t===r)return 0;if(t==null)return 1;if(r==null)return-1;if(typeof t=="string"&&typeof r=="string")return t<r?-1:1;if(typeof t=="number"&&typeof r=="number")return t-r;if(typeof t=="boolean"&&typeof r=="boolean")return t<r?-1:1;let o=String(t),i=String(r);return o==i?0:o<i?-1:1}var SA=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,r,o){if(!TA(t))return null;o||=this._locale;try{let i=MA(t);return tD(i,o,r)}catch(i){throw Pl(e,i.message)}}static \u0275fac=function(r){return new(r||e)(ge(As,16))};static \u0275pipe=Xr({name:"number",type:e,pure:!0})}return e})();function TA(e){return!(e==null||e===""||e!==e)}function MA(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new y(2309,!1);return e}var RA=(()=>{class e{transform(t,r,o){if(t==null)return null;if(!(typeof t=="string"||Array.isArray(t)))throw Pl(e,t);return t.slice(r,o)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Xr({name:"slice",type:e,pure:!1})}return e})();var tm=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=G({type:e});static \u0275inj=z({})}return e})();function Vs(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var to=class{};var rm="browser";function nD(e){return e===rm}var rD=(()=>{class e{static \u0275prov=g({token:e,providedIn:"root",factory:()=>new nm(f(O),window)})}return e})(),nm=class{document;window;offset=()=>[0,0];constructor(n,t){this.document=n,this.window=t}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,t){this.window.scrollTo(U(v({},t),{left:n[0],top:n[1]}))}scrollToAnchor(n,t){let r=NA(this.document,n);r&&(this.scrollToElement(r,t),r.focus())}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch{console.warn(mt(2400,!1))}}scrollToElement(n,t){let r=n.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(U(v({},t),{left:o-s[0],top:i-s[1]}))}};function NA(e,n){let t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}var li=class{},Us=class{},hn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
|
|
5
|
+
`).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var Ll=class{encodeKey(n){return oD(n)}encodeValue(n){return oD(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function kA(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var PA=/%(\d[a-f0-9])/gi,FA={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function oD(e){return encodeURIComponent(e).replace(PA,(n,t)=>FA[t]??n)}function Fl(e){return`${e}`}var qt=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Ll,n.fromString){if(n.fromObject)throw new y(2805,!1);this.map=kA(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(Fl):[Fl(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(Fl(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(Fl(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};var jl=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}};function LA(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function iD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function sD(e){return typeof Blob<"u"&&e instanceof Blob}function aD(e){return typeof FormData<"u"&&e instanceof FormData}function jA(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var cD="Content-Type",lD="Accept",dD="X-Request-URL",fD="text/plain",hD="application/json",BA=`${hD}, ${fD}, */*`,no=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(LA(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new Error("");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),this.transferCache=i.transferCache}if(this.headers??=new hn,this.context??=new jl,!this.params)this.params=new qt,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||iD(this.body)||sD(this.body)||aD(this.body)||jA(this.body)?this.body:this.body instanceof qt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||aD(this.body)?null:sD(this.body)?this.body.type||null:iD(this.body)?null:typeof this.body=="string"?fD:this.body instanceof qt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?hD:null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,l=n.redirect||this.redirect,u=n.credentials||this.credentials,d=n.transferCache??this.transferCache,p=n.timeout??this.timeout,h=n.body!==void 0?n.body:this.body,m=n.withCredentials??this.withCredentials,_=n.reportProgress??this.reportProgress,E=n.headers||this.headers,D=n.params||this.params,$=n.context??this.context;return n.setHeaders!==void 0&&(E=Object.keys(n.setHeaders).reduce((Fe,le)=>Fe.set(le,n.setHeaders[le]),E)),n.setParams&&(D=Object.keys(n.setParams).reduce((Fe,le)=>Fe.set(le,n.setParams[le]),D)),new e(t,r,h,{params:D,headers:E,context:$,reportProgress:_,responseType:o,withCredentials:m,transferCache:d,keepalive:i,cache:a,priority:s,timeout:p,mode:c,redirect:l,credentials:u})}},Ln=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(Ln||{}),ui=class{headers;status;statusText;url;ok;type;constructor(n,t=200,r="OK"){this.headers=n.headers||new hn,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}},Bl=class e extends ui{constructor(n={}){super(n)}type=Ln.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Hs=class e extends ui{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Ln.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},ro=class extends ui{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},VA=200,UA=204;function om(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect}}var zs=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof no)i=t;else{let c;o.headers instanceof hn?c=o.headers:c=new hn(o.headers);let l;o.params&&(o.params instanceof qt?l=o.params:l=new qt({fromObject:o.params})),i=new no(t,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials})}let s=I(i).pipe(kt(c=>this.handler.handle(c)));if(t instanceof no||o.observe==="events")return s;let a=s.pipe(oe(c=>c instanceof Hs));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(M(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new y(2806,!1);return c.body}));case"blob":return a.pipe(M(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new y(2807,!1);return c.body}));case"text":return a.pipe(M(c=>{if(c.body!==null&&typeof c.body!="string")throw new y(2808,!1);return c.body}));case"json":default:return a.pipe(M(c=>c.body))}case"response":return a;default:throw new y(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new qt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,om(o,r))}post(t,r,o={}){return this.request("POST",t,om(o,r))}put(t,r,o={}){return this.request("PUT",t,om(o,r))}static \u0275fac=function(r){return new(r||e)(C(li))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})();var HA=new b("");function pD(e,n){return n(e)}function $A(e,n){return(t,r)=>n.intercept(t,{handle:o=>e(o,r)})}function zA(e,n,t){return(r,o)=>xe(t,()=>n(r,i=>e(i,o)))}var mD=new b(""),sm=new b(""),gD=new b(""),am=new b("",{providedIn:"root",factory:()=>!0});function WA(){let e=null;return(n,t)=>{e===null&&(e=(f(mD,{optional:!0})??[]).reduceRight($A,pD));let r=f(ir);if(f(am)){let i=r.add();return e(n,t).pipe(Pt(i))}else return e(n,t)}}var Vl=(()=>{class e extends li{backend;injector;chain=null;pendingTasks=f(ir);contributeToStability=f(am);constructor(t,r){super(),this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(sm),...this.injector.get(gD,[])]));this.chain=r.reduceRight((o,i)=>zA(o,i,this.injector),pD)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Pt(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(C(Us),C(ne))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})();var GA=/^\)\]\}',?\n/,qA=RegExp(`^${dD}:`,"m");function YA(e){return"responseURL"in e&&e.responseURL?e.responseURL:qA.test(e.getAllResponseHeaders())?e.getResponseHeader(dD):null}var im=(()=>{class e{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new y(-2800,!1);let r=this.xhrFactory;return I(null).pipe(Me(()=>new k(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((E,D)=>s.setRequestHeader(E,D.join(","))),t.headers.has(lD)||s.setRequestHeader(lD,BA),!t.headers.has(cD)){let E=t.detectContentTypeHeader();E!==null&&s.setRequestHeader(cD,E)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let E=t.responseType.toLowerCase();s.responseType=E!=="json"?E:"text"}let a=t.serializeBody(),c=null,l=()=>{if(c!==null)return c;let E=s.statusText||"OK",D=new hn(s.getAllResponseHeaders()),$=YA(s)||t.url;return c=new Bl({headers:D,status:s.status,statusText:E,url:$}),c},u=()=>{let{headers:E,status:D,statusText:$,url:Fe}=l(),le=null;D!==UA&&(le=typeof s.response>"u"?s.responseText:s.response),D===0&&(D=le?VA:0);let mo=D>=200&&D<300;if(t.responseType==="json"&&typeof le=="string"){let UC=le;le=le.replace(GA,"");try{le=le!==""?JSON.parse(le):null}catch(HC){le=UC,mo&&(mo=!1,le={error:HC,text:le})}}mo?(i.next(new Hs({body:le,headers:E,status:D,statusText:$,url:Fe||void 0})),i.complete()):i.error(new ro({error:le,headers:E,status:D,statusText:$,url:Fe||void 0}))},d=E=>{let{url:D}=l(),$=new ro({error:E,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});i.error($)},p=d;t.timeout&&(p=E=>{let{url:D}=l(),$=new ro({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:D||void 0});i.error($)});let h=!1,m=E=>{h||(i.next(l()),h=!0);let D={type:Ln.DownloadProgress,loaded:E.loaded};E.lengthComputable&&(D.total=E.total),t.responseType==="text"&&s.responseText&&(D.partialText=s.responseText),i.next(D)},_=E=>{let D={type:Ln.UploadProgress,loaded:E.loaded};E.lengthComputable&&(D.total=E.total),i.next(D)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",p),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",_)),s.send(a),i.next({type:Ln.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",p),t.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",_)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(C(to))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),vD=new b(""),ZA="XSRF-TOKEN",KA=new b("",{providedIn:"root",factory:()=>ZA}),XA="X-XSRF-TOKEN",QA=new b("",{providedIn:"root",factory:()=>XA}),$s=class{},JA=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,r){this.doc=t,this.cookieName=r}getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Vs(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)(C(O),C(KA))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})();function eN(e,n){let t=e.url.toLowerCase();if(!f(vD)||e.method==="GET"||e.method==="HEAD"||t.startsWith("http://")||t.startsWith("https://"))return n(e);let r=f($s).getToken(),o=f(QA);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),n(e)}var cm=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(cm||{});function tN(e,n){return{\u0275kind:e,\u0275providers:n}}function nN(...e){let n=[zs,im,Vl,{provide:li,useExisting:Vl},{provide:Us,useFactory:()=>f(HA,{optional:!0})??f(im)},{provide:sm,useValue:eN,multi:!0},{provide:vD,useValue:!0},{provide:$s,useClass:JA}];for(let t of e)n.push(...t.\u0275providers);return Jn(n)}var uD=new b("");function rN(){return tN(cm.LegacyInterceptors,[{provide:uD,useFactory:WA},{provide:sm,useExisting:uD,multi:!0}])}var o5=(()=>{let e=Ul("json");return e.arrayBuffer=Ul("arraybuffer"),e.blob=Ul("blob"),e.text=Ul("text"),e})();function Ul(e){return function(t,r){let o=r?.injector??f(V);return new lm(o,()=>oN(t,e),r?.defaultValue,r?.parse,r?.equal)}}function oN(e,n){let t=typeof e=="function"?e():e;if(t===void 0)return;typeof t=="string"&&(t={url:t});let r=t.headers instanceof hn?t.headers:new hn(t.headers),o=t.params instanceof qt?t.params:new qt({fromObject:t.params});return new no(t.method??"GET",t.url,t.body??null,{headers:r,params:o,reportProgress:t.reportProgress,withCredentials:t.withCredentials,keepalive:t.keepalive,cache:t.cache,priority:t.priority,mode:t.mode,redirect:t.redirect,responseType:n,context:t.context,transferCache:t.transferCache,credentials:t.credentials,timeout:t.timeout})}var lm=class extends ii{client;_headers=Jr({source:this.extRequest,computation:()=>{}});_progress=Jr({source:this.extRequest,computation:()=>{}});_statusCode=Jr({source:this.extRequest,computation:()=>{}});headers=zt(()=>this.status()==="resolved"||this.status()==="error"?this._headers():void 0);progress=this._progress.asReadonly();statusCode=this._statusCode.asReadonly();constructor(n,t,r,o,i){super(t,({params:s,abortSignal:a})=>{let c,l=()=>c.unsubscribe();a.addEventListener("abort",l);let u=me({value:void 0}),d,p=new Promise(m=>d=m),h=m=>{u.set(m),d?.(u),d=void 0};return c=this.client.request(s).subscribe({next:m=>{switch(m.type){case Ln.Response:this._headers.set(m.headers),this._statusCode.set(m.status);try{h({value:o?o(m.body):m.body})}catch(_){h({error:ai(_)})}break;case Ln.DownloadProgress:this._progress.set(m);break}},error:m=>{m instanceof ro&&(this._headers.set(m.headers),this._statusCode.set(m.status)),h({error:m}),a.removeEventListener("abort",l)},complete:()=>{d&&h({error:new y(991,!1)}),a.removeEventListener("abort",l)}}),p},r,i,n),this.client=n.get(zs)}set(n){super.set(n),this._headers.set(void 0),this._progress.set(void 0),this._statusCode.set(void 0)}};function h5(e){e||(e=f(Ie));let n=new k(t=>{if(e.destroyed){t.next();return}return e.onDestroy(t.next.bind(t))});return t=>t.pipe(Ft(n))}function p5(e,n){let r=!n?.manualCleanup?n?.injector?.get(Ie)??f(Ie):null,o=sN(n?.equal),i;n?.requireSync?i=me({kind:0},{equal:o}):i=me({kind:1,value:n?.initialValue},{equal:o});let s,a=e.subscribe({next:c=>i.set({kind:1,value:c}),error:c=>{i.set({kind:2,error:c}),s?.()},complete:()=>{s?.()}});if(n?.requireSync&&i().kind===0)throw new y(601,!1);return s=r?.onDestroy(a.unsubscribe.bind(a)),zt(()=>{let c=i();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new y(601,!1)}},{equal:n?.equal})}function sN(e=Object.is){return(n,t)=>n.kind===1&&t.kind===1&&e(n.value,t.value)}var $l=new b(""),pm=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new y(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(C($l),C(R))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),Ws=class{_doc;constructor(n){this._doc=n}manager},um="ng-app-id";function yD(e){for(let n of e)n.remove()}function bD(e,n){let t=n.createElement("style");return t.textContent=e,t}function aN(e,n,t,r){let o=e.head?.querySelectorAll(`style[${um}="${n}"],link[${um}="${n}"]`);if(o)for(let i of o)i.removeAttribute(um),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function fm(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var mm=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,aN(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,bD);r?.forEach(o=>this.addUsage(o,this.external,fm))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(yD(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])yD(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,bD(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,fm(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(C(O),C(lr),C(ti,8),C(ur))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),dm={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},gm=/%COMP%/g;var ED="%COMP%",cN=`_nghost-${ED}`,lN=`_ngcontent-${ED}`,uN=!0,dN=new b("",{providedIn:"root",factory:()=>uN});function fN(e){return lN.replace(gm,e)}function hN(e){return cN.replace(gm,e)}function DD(e,n){return n.map(t=>t.replace(gm,e))}var vm=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,r,o,i,s,a,c,l=null,u=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.tracingService=u,this.platformIsServer=!1,this.defaultRenderer=new Gs(t,s,c,this.platformIsServer,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof Hl?o.applyToHost(t):o instanceof qs&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer,p=this.tracingService;switch(r.encapsulation){case An.Emulated:i=new Hl(c,l,r,this.appId,u,s,a,d,p);break;case An.ShadowDom:return new hm(c,l,t,r,s,a,this.nonce,d,p);default:i=new qs(c,l,r,u,s,a,d,p);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(C(pm),C(mm),C(lr),C(dN),C(O),C(ur),C(R),C(ti),C(dr,8))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),Gs=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o,i){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(dm[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(_D(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(_D(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new y(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=dm[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=dm[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(an.DashCase|an.Important)?n.style.setProperty(t,r,o&an.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&an.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=un().getGlobalEventTarget(this.doc,n),!n))throw new y(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function _D(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var hm=class extends Gs{sharedStylesHost;hostEl;shadowRoot;constructor(n,t,r,o,i,s,a,c,l){super(n,i,s,c,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=o.styles;u=DD(o.id,u);for(let p of u){let h=document.createElement("style");a&&h.setAttribute("nonce",a),h.textContent=p,this.shadowRoot.appendChild(h)}let d=o.getExternalStyles?.();if(d)for(let p of d){let h=fm(p,i);a&&h.setAttribute("nonce",a),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},qs=class extends Gs{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c,l){super(n,i,s,a,c),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=l?DD(l,u):u,this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Hl=class extends qs{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c,l){let u=o+"-"+r.id;super(n,t,r,i,s,a,c,l,u),this.contentAttr=fN(u),this.hostAttr=hN(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var zl=class e extends ks{supportsDOMEvents=!0;static makeCurrent(){zp(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=pN();return t==null?null:mN(t)}resetBaseElement(){Ys=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Vs(document.cookie,n)}},Ys=null;function pN(){return Ys=Ys||document.head.querySelector("base"),Ys?Ys.getAttribute("href"):null}function mN(e){return new URL(e,document.baseURI).pathname}var Wl=class{addToWindow(n){Ce.getAngularTestability=(r,o=!0)=>{let i=n.findTestabilityInTree(r,o);if(i==null)throw new y(5103,!1);return i},Ce.getAllAngularTestabilities=()=>n.getAllTestabilities(),Ce.getAllAngularRootElements=()=>n.getAllRootElements();let t=r=>{let o=Ce.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};Ce.frameworkStabilizers||(Ce.frameworkStabilizers=[]),Ce.frameworkStabilizers.push(t)}findTestabilityInTree(n,t,r){if(t==null)return null;let o=n.getTestability(t);return o??(r?un().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},gN=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),CD=(()=>{class e extends Ws{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(C(O))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),wD=["alt","control","meta","shift"],vN={"\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"},yN={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},ID=(()=>{class e extends Ws{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>un().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),wD.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=vN[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),wD.forEach(s=>{if(s!==o){let a=yN[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(C(O))};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})();function bN(e,n){let t=v({rootComponent:e},_N(n));return AE(t)}function _N(e){return{appProviders:[...SD,...e?.providers??[]],platformProviders:CN}}function EN(){zl.makeCurrent()}function DN(){return new Re}function wN(){return Sh(document),document}var CN=[{provide:ur,useValue:rm},{provide:Xc,useValue:EN,multi:!0},{provide:O,useFactory:wN}];var IN=[{provide:ri,useClass:Wl},{provide:hl,useClass:Ts,deps:[R,Ms,ri]},{provide:Ts,useClass:Ts,deps:[R,Ms,ri]}],SD=[{provide:Ki,useValue:"root"},{provide:Re,useFactory:DN},{provide:$l,useClass:CD,multi:!0,deps:[O]},{provide:$l,useClass:ID,multi:!0,deps:[O]},vm,mm,pm,{provide:Ne,useExisting:vm},{provide:to,useClass:gN},[]],SN=(()=>{class e{constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275mod=G({type:e});static \u0275inj=z({providers:[...SD,...IN],imports:[tm,xE]})}return e})();var TD=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(C(O))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ym=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=C(TN),o},providedIn:"root"})}return e})(),TN=(()=>{class e extends ym{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case Oe.NONE:return r;case Oe.HTML:return cn(r,"HTML")?tt(r):el(this._doc,String(r)).toString();case Oe.STYLE:return cn(r,"Style")?tt(r):r;case Oe.SCRIPT:if(cn(r,"Script"))return tt(r);throw new y(5200,!1);case Oe.URL:return cn(r,"URL")?tt(r):Es(String(r));case Oe.RESOURCE_URL:if(cn(r,"ResourceURL"))return tt(r);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(t){return Rh(t)}bypassSecurityTrustStyle(t){return xh(t)}bypassSecurityTrustScript(t){return Ah(t)}bypassSecurityTrustUrl(t){return Nh(t)}bypassSecurityTrustResourceUrl(t){return Oh(t)}static \u0275fac=function(r){return new(r||e)(C(O))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var B="primary",aa=Symbol("RouteTitle"),wm=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function so(e){return new wm(e)}function FD(e,n,t){let r=t.path.split("/");if(r.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function MN(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!pn(e[t],n[t]))return!1;return!0}function pn(e,n){let t=e?Cm(e):void 0,r=n?Cm(n):void 0;if(!t||!r||t.length!=r.length)return!1;let o;for(let i=0;i<t.length;i++)if(o=t[i],!LD(e[o],n[o]))return!1;return!0}function Cm(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function LD(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;let t=[...e].sort(),r=[...n].sort();return t.every((o,i)=>r[i]===o)}else return e===n}function jD(e){return e.length>0?e[e.length-1]:null}function jn(e){return Wa(e)?e:Qr(e)?ue(Promise.resolve(e)):I(e)}var RN={exact:VD,subset:UD},BD={exact:xN,subset:AN,ignored:()=>!0};function RD(e,n,t){return RN[t.paths](e.root,n.root,t.matrixParams)&&BD[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function xN(e,n){return pn(e,n)}function VD(e,n,t){if(!oo(e.segments,n.segments)||!Yl(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!VD(e.children[r],n.children[r],t))return!1;return!0}function AN(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>LD(e[t],n[t]))}function UD(e,n,t){return HD(e,n,n.segments,t)}function HD(e,n,t,r){if(e.segments.length>t.length){let o=e.segments.slice(0,t.length);return!(!oo(o,t)||n.hasChildren()||!Yl(o,t,r))}else if(e.segments.length===t.length){if(!oo(e.segments,t)||!Yl(e.segments,t,r))return!1;for(let o in n.children)if(!e.children[o]||!UD(e.children[o],n.children[o],r))return!1;return!0}else{let o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!oo(e.segments,o)||!Yl(e.segments,o,r)||!e.children[B]?!1:HD(e.children[B],n,i,r)}}function Yl(e,n,t){return n.every((r,o)=>BD[t](e[o].parameters,r.parameters))}var gn=class{root;queryParams;fragment;_queryParamMap;constructor(n=new Y([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=so(this.queryParams),this._queryParamMap}toString(){return kN.serialize(this)}},Y=class{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Zl(this)}},pr=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=so(this.parameters),this._parameterMap}toString(){return zD(this)}};function NN(e,n){return oo(e,n)&&e.every((t,r)=>pn(t.parameters,n[r].parameters))}function oo(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function ON(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===B&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==B&&(t=t.concat(n(o,r)))}),t}var ao=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:()=>new mr,providedIn:"root"})}return e})(),mr=class{parse(n){let t=new Sm(n);return new gn(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${Zs(n.root,!0)}`,r=LN(n.queryParams),o=typeof n.fragment=="string"?`#${PN(n.fragment)}`:"";return`${t}${r}${o}`}},kN=new mr;function Zl(e){return e.segments.map(n=>zD(n)).join("/")}function Zs(e,n){if(!e.hasChildren())return Zl(e);if(n){let t=e.children[B]?Zs(e.children[B],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==B&&r.push(`${o}:${Zs(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=ON(e,(r,o)=>o===B?[Zs(e.children[B],!1)]:[`${o}:${Zs(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[B]!=null?`${Zl(e)}/${t[0]}`:`${Zl(e)}/(${t.join("//")})`}}function $D(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Gl(e){return $D(e).replace(/%3B/gi,";")}function PN(e){return encodeURI(e)}function Im(e){return $D(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Kl(e){return decodeURIComponent(e)}function xD(e){return Kl(e.replace(/\+/g,"%20"))}function zD(e){return`${Im(e.path)}${FN(e.parameters)}`}function FN(e){return Object.entries(e).map(([n,t])=>`;${Im(n)}=${Im(t)}`).join("")}function LN(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(o=>`${Gl(t)}=${Gl(o)}`).join("&"):`${Gl(t)}=${Gl(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var jN=/^[^\/()?;#]+/;function bm(e){let n=e.match(jN);return n?n[0]:""}var BN=/^[^\/()?;=#]+/;function VN(e){let n=e.match(BN);return n?n[0]:""}var UN=/^[^=?&#]+/;function HN(e){let n=e.match(UN);return n?n[0]:""}var $N=/^[^&#]+/;function zN(e){let n=e.match($N);return n?n[0]:""}var Sm=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Y([],{}):new Y([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[B]=new Y(n,t)),r}parseSegment(){let n=bm(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(n),new pr(Kl(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=VN(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let o=bm(this.remaining);o&&(r=o,this.capture(r))}n[Kl(t)]=Kl(r)}parseQueryParam(n){let t=HN(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let s=zN(this.remaining);s&&(r=s,this.capture(r))}let o=xD(t),i=xD(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=bm(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new y(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):n&&(i=B);let s=this.parseChildren();t[i]=Object.keys(s).length===1?s[B]:new Y([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new y(4011,!1)}};function WD(e){return e.segments.length>0?new Y([],{[B]:e}):e}function GD(e){let n={};for(let[r,o]of Object.entries(e.children)){let i=GD(o);if(r===B&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}let t=new Y(e.segments,n);return WN(t)}function WN(e){if(e.numberOfChildren===1&&e.children[B]){let n=e.children[B];return new Y(e.segments.concat(n.segments),n.children)}return e}function gr(e){return e instanceof gn}function qD(e,n,t=null,r=null){let o=YD(e);return ZD(o,n,t,r)}function YD(e){let n;function t(i){let s={};for(let c of i.children){let l=t(c);s[c.outlet]=l}let a=new Y(i.url,s);return i===e&&(n=a),a}let r=t(e.root),o=WD(r);return n??o}function ZD(e,n,t,r){let o=e;for(;o.parent;)o=o.parent;if(n.length===0)return _m(o,o,o,t,r);let i=GN(n);if(i.toRoot())return _m(o,o,new Y([],{}),t,r);let s=qN(i,o,e),a=s.processChildren?Xs(s.segmentGroup,s.index,i.commands):XD(s.segmentGroup,s.index,i.commands);return _m(o,s.segmentGroup,a,t,r)}function Xl(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Js(e){return typeof e=="object"&&e!=null&&e.outlets}function _m(e,n,t,r,o){let i={};r&&Object.entries(r).forEach(([c,l])=>{i[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`});let s;e===n?s=t:s=KD(e,n,t);let a=WD(GD(s));return new gn(a,i,o)}function KD(e,n,t){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===n?r[o]=t:r[o]=KD(i,n,t)}),new Y(e.segments,r)}var Ql=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&Xl(r[0]))throw new y(4003,!1);let o=r.find(Js);if(o&&o!==jD(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function GN(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Ql(!0,0,e);let n=0,t=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?t=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Ql(t,n,r)}var hi=class{segmentGroup;processChildren;index;constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function qN(e,n,t){if(e.isAbsolute)return new hi(n,!0,0);if(!t)return new hi(n,!1,NaN);if(t.parent===null)return new hi(t,!0,0);let r=Xl(e.commands[0])?0:1,o=t.segments.length-1+r;return YN(t,o,e.numberOfDoubleDots)}function YN(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new y(4005,!1);o=r.segments.length}return new hi(r,!1,o-i)}function ZN(e){return Js(e[0])?e[0].outlets:{[B]:e}}function XD(e,n,t){if(e??=new Y([],{}),e.segments.length===0&&e.hasChildren())return Xs(e,n,t);let r=KN(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new Y(e.segments.slice(0,r.pathIndex),{});return i.children[B]=new Y(e.segments.slice(r.pathIndex),e.children),Xs(i,0,o)}else return r.match&&o.length===0?new Y(e.segments,{}):r.match&&!e.hasChildren()?Tm(e,n,t):r.match?Xs(e,0,o):Tm(e,n,t)}function Xs(e,n,t){if(t.length===0)return new Y(e.segments,{});{let r=ZN(t),o={};if(Object.keys(r).some(i=>i!==B)&&e.children[B]&&e.numberOfChildren===1&&e.children[B].segments.length===0){let i=Xs(e.children[B],n,t);return new Y(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=XD(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new Y(e.segments,o)}}function KN(e,n,t){let r=0,o=n,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=t.length)return i;let s=e.segments[o],a=t[r];if(Js(a))break;let c=`${a}`,l=r<t.length-1?t[r+1]:null;if(o>0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!ND(c,l,s))return i;r+=2}else{if(!ND(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Tm(e,n,t){let r=e.segments.slice(0,n),o=0;for(;o<t.length;){let i=t[o];if(Js(i)){let c=XN(i.outlets);return new Y(r,c)}if(o===0&&Xl(t[0])){let c=e.segments[n];r.push(new pr(c.path,AD(t[0]))),o++;continue}let s=Js(i)?i.outlets[B]:`${i}`,a=o<t.length-1?t[o+1]:null;s&&a&&Xl(a)?(r.push(new pr(s,AD(a))),o+=2):(r.push(new pr(s,{})),o++)}return new Y(r,{})}function XN(e){let n={};return Object.entries(e).forEach(([t,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[t]=Tm(new Y([],{}),0,r))}),n}function AD(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function ND(e,n,t){return e==t.path&&pn(n,t.parameters)}var pi="imperative",Te=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.ResolveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(Te||{}),ft=class{id;url;constructor(n,t){this.id=n,this.url=t}},vr=class extends ft{type=Te.NavigationStart;navigationTrigger;restoredState;constructor(n,t,r="imperative",o=null){super(n,t),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Mt=class extends ft{urlAfterRedirects;type=Te.NavigationEnd;constructor(n,t,r){super(n,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Qe=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(Qe||{}),gi=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(gi||{}),mn=class extends ft{reason;code;type=Te.NavigationCancel;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},vn=class extends ft{reason;code;type=Te.NavigationSkipped;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}},vi=class extends ft{error;target;type=Te.NavigationError;constructor(n,t,r,o){super(n,t),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ea=class extends ft{urlAfterRedirects;state;type=Te.RoutesRecognized;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Jl=class extends ft{urlAfterRedirects;state;type=Te.GuardsCheckStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},eu=class extends ft{urlAfterRedirects;state;shouldActivate;type=Te.GuardsCheckEnd;constructor(n,t,r,o,i){super(n,t),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},tu=class extends ft{urlAfterRedirects;state;type=Te.ResolveStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},nu=class extends ft{urlAfterRedirects;state;type=Te.ResolveEnd;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},ru=class{route;type=Te.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},ou=class{route;type=Te.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},iu=class{snapshot;type=Te.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},su=class{snapshot;type=Te.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},au=class{snapshot;type=Te.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},cu=class{snapshot;type=Te.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},yi=class{routerEvent;position;anchor;type=Te.Scroll;constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},ta=class{},bi=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function QN(e){return!(e instanceof ta)&&!(e instanceof bi)}function JN(e,n){return e.providers&&!e._injector&&(e._injector=ni(e.providers,n,`Route: ${e.path}`)),e._injector??n}function Yt(e){return e.outlet||B}function eO(e,n){let t=e.filter(r=>Yt(r)===n);return t.push(...e.filter(r=>Yt(r)!==n)),t}function Di(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){let t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var lu=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Di(this.route?.snapshot)??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new co(this.rootInjector)}},co=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,r){let o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new lu(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(r){return new(r||e)(C(ne))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),uu=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=Mm(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=Mm(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=Rm(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return Rm(n,this._root).map(t=>t.value)}};function Mm(e,n){if(e===n.value)return n;for(let t of n.children){let r=Mm(e,t);if(r)return r}return null}function Rm(e,n){if(e===n.value)return[n];for(let t of n.children){let r=Rm(e,t);if(r.length)return r.unshift(n),r}return[]}var dt=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function fi(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var na=class extends uu{snapshot;constructor(n,t){super(n),this.snapshot=t,Lm(this,n)}toString(){return this.snapshot.toString()}};function QD(e){let n=tO(e),t=new Ee([new pr("",{})]),r=new Ee({}),o=new Ee({}),i=new Ee({}),s=new Ee(""),a=new yn(t,r,i,s,o,B,e,n.root);return a.snapshot=n.root,new na(new dt(a,[]),n)}function tO(e){let n={},t={},r={},i=new io([],n,r,"",t,B,e,null,{});return new ra("",new dt(i,[]))}var yn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,r,o,i,s,a,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(M(l=>l[aa]))??I(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(M(n=>so(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(M(n=>so(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function du(e,n,t="emptyOnly"){let r,{routeConfig:o}=e;return n!==null&&(t==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:v(v({},n.params),e.params),data:v(v({},n.data),e.data),resolve:v(v(v(v({},e.data),n.data),o?.data),e._resolvedData)}:r={params:v({},e.params),data:v({},e.data),resolve:v(v({},e.data),e._resolvedData??{})},o&&ew(o)&&(r.resolve[aa]=o.title),r}var io=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[aa]}constructor(n,t,r,o,i,s,a,c,l){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=so(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=so(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},ra=class extends uu{url;constructor(n,t){super(t),this.url=n,Lm(this,t)}toString(){return JD(this._root)}};function Lm(e,n){n.value._routerState=e,n.children.forEach(t=>Lm(e,t))}function JD(e){let n=e.children.length>0?` { ${e.children.map(JD).join(", ")} } `:"";return`${e.value}${n}`}function Em(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,pn(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),pn(n.params,t.params)||e.paramsSubject.next(t.params),MN(n.url,t.url)||e.urlSubject.next(t.url),pn(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function xm(e,n){let t=pn(e.params,n.params)&&NN(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||xm(e.parent,n.parent))}function ew(e){return typeof e.title=="string"||e.title===null}var tw=new b(""),jm=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=B;activateEvents=new K;deactivateEvents=new K;attachEvents=new K;detachEvents=new K;routerOutletData=ME(void 0);parentContexts=f(co);location=f($e);changeDetector=f(eo);inputBinder=f(ca,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:o}=t.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(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 y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,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,r){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=t;let o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Am(t,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ee({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Dt]})}return e})(),Am=class{route;childContexts;parent;outletData;constructor(n,t,r,o){this.route=n,this.childContexts=t,this.parent=r,this.outletData=o}get(n,t){return n===yn?this.route:n===co?this.childContexts:n===tw?this.outletData:this.parent.get(n,t)}},ca=new b(""),Bm=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:r}=t,o=Ir([r.queryParams,r.params,r.data]).pipe(Me(([i,s,a],c)=>(a=v(v(v({},i),s),a),c===0?I(a):Promise.resolve(a)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(t);return}let s=OE(r.component);if(!s){this.unsubscribeFromRouteData(t);return}for(let{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(t,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})(),Vm=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=be({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&gl(0,"router-outlet")},dependencies:[jm],encapsulation:2})}return e})();function Um(e){let n=e.children&&e.children.map(Um),t=n?U(v({},e),{children:n}):v({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==B&&(t.component=Vm),t}function nO(e,n,t){let r=oa(e,n._root,t?t._root:void 0);return new na(r,n)}function oa(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let r=t.value;r._futureSnapshot=n.value;let o=rO(e,n,t);return new dt(r,o)}else{if(e.shouldAttach(n.value)){let i=e.retrieve(n.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>oa(e,a)),s}}let r=oO(n.value),o=n.children.map(i=>oa(e,i));return new dt(r,o)}}function rO(e,n,t){return n.children.map(r=>{for(let o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return oa(e,r,o);return oa(e,r)})}function oO(e){return new yn(new Ee(e.url),new Ee(e.params),new Ee(e.queryParams),new Ee(e.fragment),new Ee(e.data),e.outlet,e.component,e)}var _i=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},nw="ngNavigationCancelingError";function fu(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=gr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=rw(!1,Qe.Redirect);return o.url=t,o.navigationBehaviorOptions=r,o}function rw(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[nw]=!0,t.cancellationCode=n,t}function iO(e){return ow(e)&&gr(e.url)}function ow(e){return!!e&&e[nw]}var sO=(e,n,t,r)=>M(o=>(new Nm(n,o.targetRouterState,o.currentRouterState,t,r).activate(e),o)),Nm=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),Em(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let o=fi(t);n.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=fi(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=fi(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){let o=fi(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new cu(i.value.snapshot))}),n.children.length&&this.forwardEvent(new su(n.value.snapshot))}activateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(Em(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Em(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},hu=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},mi=class{component;route;constructor(n,t){this.component=n,this.route=t}};function aO(e,n,t){let r=e._root,o=n?n._root:null;return Ks(r,o,t,[r.value])}function cO(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function wi(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e=="function"&&!Pd(e)?e:n.get(e):r}function Ks(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=fi(n);return e.children.forEach(s=>{lO(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Qs(a,t.getContext(s),o)),o}function lO(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=uO(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new hu(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Ks(e,n,a?a.children:null,r,o):Ks(e,n,t,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new mi(a.outlet.component,s))}else s&&Qs(n,a,o),o.canActivateChecks.push(new hu(r)),i.component?Ks(e,null,a?a.children:null,r,o):Ks(e,null,t,r,o);return o}function uO(e,n,t){if(typeof t=="function")return t(e,n);switch(t){case"pathParamsChange":return!oo(e.url,n.url);case"pathParamsOrQueryParamsChange":return!oo(e.url,n.url)||!pn(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xm(e,n)||!pn(e.queryParams,n.queryParams);case"paramsChange":default:return!xm(e,n)}}function Qs(e,n,t){let r=fi(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?n?Qs(s,n.children.getContext(i),t):Qs(s,null,t):Qs(s,n,t)}),o.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new mi(n.outlet.component,o)):t.canDeactivateChecks.push(new mi(null,o)):t.canDeactivateChecks.push(new mi(null,o))}function la(e){return typeof e=="function"}function dO(e){return typeof e=="boolean"}function fO(e){return e&&la(e.canLoad)}function hO(e){return e&&la(e.canActivate)}function pO(e){return e&&la(e.canActivateChild)}function mO(e){return e&&la(e.canDeactivate)}function gO(e){return e&&la(e.canMatch)}function iw(e){return e instanceof at||e?.name==="EmptyError"}var ql=Symbol("INITIAL_VALUE");function Ei(){return Me(e=>Ir(e.map(n=>n.pipe(Ve(1),Sr(ql)))).pipe(M(n=>{for(let t of n)if(t!==!0){if(t===ql)return ql;if(t===!1||vO(t))return t}return!0}),oe(n=>n!==ql),Ve(1)))}function vO(e){return gr(e)||e instanceof _i}function yO(e,n){return se(t=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=t;return s.length===0&&i.length===0?I(U(v({},t),{guardsResult:!0})):bO(s,r,o,e).pipe(se(a=>a&&dO(a)?_O(r,i,e,n):I(a)),M(a=>U(v({},t),{guardsResult:a})))})}function bO(e,n,t,r){return ue(e).pipe(se(o=>IO(o.component,o.route,t,n,r)),En(o=>o!==!0,!0))}function _O(e,n,t,r){return ue(n).pipe(kt(o=>Xt(DO(o.route.parent,r),EO(o.route,r),CO(e,o.path,t),wO(e,o.route,t))),En(o=>o!==!0,!0))}function EO(e,n){return e!==null&&n&&n(new au(e)),I(!0)}function DO(e,n){return e!==null&&n&&n(new iu(e)),I(!0)}function wO(e,n,t){let r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||r.length===0)return I(!0);let o=r.map(i=>Pi(()=>{let s=Di(n)??t,a=wi(i,s),c=hO(a)?a.canActivate(n,e):xe(s,()=>a(n,e));return jn(c).pipe(En())}));return I(o).pipe(Ei())}function CO(e,n,t){let r=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(s=>cO(s)).filter(s=>s!==null).map(s=>Pi(()=>{let a=s.guards.map(c=>{let l=Di(s.node)??t,u=wi(c,l),d=pO(u)?u.canActivateChild(r,e):xe(l,()=>u(r,e));return jn(d).pipe(En())});return I(a).pipe(Ei())}));return I(i).pipe(Ei())}function IO(e,n,t,r,o){let i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!i||i.length===0)return I(!0);let s=i.map(a=>{let c=Di(n)??o,l=wi(a,c),u=mO(l)?l.canDeactivate(e,n,t,r):xe(c,()=>l(e,n,t,r));return jn(u).pipe(En())});return I(s).pipe(Ei())}function SO(e,n,t,r){let o=n.canLoad;if(o===void 0||o.length===0)return I(!0);let i=o.map(s=>{let a=wi(s,e),c=fO(a)?a.canLoad(n,t):xe(e,()=>a(n,t));return jn(c)});return I(i).pipe(Ei(),sw(r))}function sw(e){return td(ae(n=>{if(typeof n!="boolean")throw fu(e,n)}),M(n=>n===!0))}function TO(e,n,t,r){let o=n.canMatch;if(!o||o.length===0)return I(!0);let i=o.map(s=>{let a=wi(s,e),c=gO(a)?a.canMatch(n,t):xe(e,()=>a(n,t));return jn(c)});return I(i).pipe(Ei(),sw(r))}var ia=class{segmentGroup;constructor(n){this.segmentGroup=n||null}},sa=class extends Error{urlTree;constructor(n){super(),this.urlTree=n}};function di(e){return Wn(new ia(e))}function MO(e){return Wn(new y(4e3,!1))}function RO(e){return Wn(rw(!1,Qe.GuardRejected))}var Om=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return I(r);if(o.numberOfChildren>1||!o.children[B])return MO(`${n.redirectTo}`);o=o.children[B]}}applyRedirectCommands(n,t,r,o,i){return xO(t,o,i).pipe(M(s=>{if(s instanceof gn)throw new sa(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new sa(a);return a}))}applyRedirectCreateUrlTree(n,t,r,o){let i=this.createSegmentGroup(n,t.root,r,o);return new gn(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let r={};return Object.entries(n).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){let i=this.createSegments(n,t.segments,r,o),s={};return Object.entries(t.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,o)}),new Y(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path[0]===":"?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){let o=r[t.path.substring(1)];if(!o)throw new y(4001,!1);return o}findOrReturn(n,t){let r=0;for(let o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}};function xO(e,n,t){if(typeof e=="string")return I(e);let r=e,{queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,params:l,data:u,title:d}=n;return jn(xe(t,()=>r({params:l,data:u,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d})))}var km={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function AO(e,n,t,r,o){let i=aw(e,n,t);return i.matched?(r=JN(n,r),TO(r,n,t,o).pipe(M(s=>s===!0?i:v({},km)))):I(i)}function aw(e,n,t){if(n.path==="**")return NO(t);if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?v({},km):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(n.matcher||FD)(t,e,n);if(!o)return v({},km);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?v(v({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function NO(e){return{matched:!0,parameters:e.length>0?jD(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function OD(e,n,t,r){return t.length>0&&PO(e,t,r)?{segmentGroup:new Y(n,kO(r,new Y(t,e.children))),slicedSegments:[]}:t.length===0&&FO(e,t,r)?{segmentGroup:new Y(e.segments,OO(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new Y(e.segments,e.children),slicedSegments:t}}function OO(e,n,t,r){let o={};for(let i of t)if(mu(e,n,i)&&!r[Yt(i)]){let s=new Y([],{});o[Yt(i)]=s}return v(v({},r),o)}function kO(e,n){let t={};t[B]=n;for(let r of e)if(r.path===""&&Yt(r)!==B){let o=new Y([],{});t[Yt(r)]=o}return t}function PO(e,n,t){return t.some(r=>mu(e,n,r)&&Yt(r)!==B)}function FO(e,n,t){return t.some(r=>mu(e,n,r))}function mu(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function LO(e,n,t){return n.length===0&&!e.children[t]}var Pm=class{};function jO(e,n,t,r,o,i,s="emptyOnly"){return new Fm(e,n,t,r,o,s,i).recognize()}var BO=31,Fm=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,r,o,i,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Om(this.urlSerializer,this.urlTree)}noMatchError(n){return new y(4002,`'${n.segmentGroup}'`)}recognize(){let n=OD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(M(({children:t,rootSnapshot:r})=>{let o=new dt(r,t),i=new ra("",o),s=qD(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(n){let t=new io([],Object.freeze({}),Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),B,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,B,t).pipe(M(r=>({children:r,rootSnapshot:t})),ht(r=>{if(r instanceof sa)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof ia?this.noMatchError(r):r}))}processSegmentGroup(n,t,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(n,t,r,i):this.processSegment(n,t,r,r.segments,o,!0,i).pipe(M(s=>s instanceof dt?[s]:[]))}processChildren(n,t,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return ue(i).pipe(kt(s=>{let a=r.children[s],c=eO(t,s);return this.processSegmentGroup(n,c,a,s,o)}),dd((s,a)=>(s.push(...a),s)),qn(null),ud(),se(s=>{if(s===null)return di(r);let a=cw(s);return VO(a),I(a)}))}processSegment(n,t,r,o,i,s,a){return ue(t).pipe(kt(c=>this.processSegmentAgainstRoute(c._injector??n,t,c,r,o,i,s,a).pipe(ht(l=>{if(l instanceof ia)return I(null);throw l}))),En(c=>!!c),ht(c=>{if(iw(c))return LO(r,o,i)?I(new Pm):di(r);throw c}))}processSegmentAgainstRoute(n,t,r,o,i,s,a,c){return Yt(r)!==s&&(s===B||!mu(o,i,r))?di(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(n,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s,c):di(o)}expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:p}=aw(t,o,i);if(!c)return di(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>BO&&(this.allowRedirects=!1));let h=new io(i,l,Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,kD(o),Yt(o),o.component??o._loadedComponent??null,o,PD(o)),m=du(h,a,this.paramsInheritanceStrategy);return h.params=Object.freeze(m.params),h.data=Object.freeze(m.data),this.applyRedirects.applyRedirectCommands(u,o.redirectTo,d,h,n).pipe(Me(E=>this.applyRedirects.lineralizeSegments(o,E)),se(E=>this.processSegment(n,r,t,E.concat(p),s,!1,a)))}matchSegmentAgainstRoute(n,t,r,o,i,s){let a=AO(t,r,o,n,this.urlSerializer);return r.path==="**"&&(t.children={}),a.pipe(Me(c=>c.matched?(n=r._injector??n,this.getChildConfig(n,r,o).pipe(Me(({routes:l})=>{let u=r._loadedInjector??n,{parameters:d,consumedSegments:p,remainingSegments:h}=c,m=new io(p,d,Object.freeze(v({},this.urlTree.queryParams)),this.urlTree.fragment,kD(r),Yt(r),r.component??r._loadedComponent??null,r,PD(r)),_=du(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(_.params),m.data=Object.freeze(_.data);let{segmentGroup:E,slicedSegments:D}=OD(t,p,h,l);if(D.length===0&&E.hasChildren())return this.processChildren(u,l,E,m).pipe(M(Fe=>new dt(m,Fe)));if(l.length===0&&D.length===0)return I(new dt(m,[]));let $=Yt(r)===i;return this.processSegment(u,l,E,D,$?B:i,!0,m).pipe(M(Fe=>new dt(m,Fe instanceof dt?[Fe]:[])))}))):di(t)))}getChildConfig(n,t,r){return t.children?I({routes:t.children,injector:n}):t.loadChildren?t._loadedRoutes!==void 0?I({routes:t._loadedRoutes,injector:t._loadedInjector}):SO(n,t,r,this.urlSerializer).pipe(se(o=>o?this.configLoader.loadChildren(n,t).pipe(ae(i=>{t._loadedRoutes=i.routes,t._loadedInjector=i.injector})):RO(t))):I({routes:[],injector:n})}};function VO(e){e.sort((n,t)=>n.value.outlet===B?-1:t.value.outlet===B?1:n.value.outlet.localeCompare(t.value.outlet))}function UO(e){let n=e.value.routeConfig;return n&&n.path===""}function cw(e){let n=[],t=new Set;for(let r of e){if(!UO(r)){n.push(r);continue}let o=n.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),t.add(o)):n.push(r)}for(let r of t){let o=cw(r.children);n.push(new dt(r.value,o))}return n.filter(r=>!t.has(r))}function kD(e){return e.data||{}}function PD(e){return e.resolve||{}}function HO(e,n,t,r,o,i){return se(s=>jO(e,n,t,r,s.extractedUrl,o,i).pipe(M(({state:a,tree:c})=>U(v({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function $O(e,n){return se(t=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=t;if(!o.length)return I(t);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let l of lw(c))s.add(l);let a=0;return ue(s).pipe(kt(c=>i.has(c)?zO(c,r,e,n):(c.data=du(c,c.parent,e).resolve,I(void 0))),ae(()=>a++),Mo(1),se(c=>a===s.size?I(t):je))})}function lw(e){let n=e.children.map(t=>lw(t)).flat();return[e,...n]}function zO(e,n,t,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!ew(o)&&(i[aa]=o.title),Pi(()=>(e.data=du(e,e.parent,t).resolve,WO(i,e,n,r).pipe(M(s=>(e._resolvedData=s,e.data=v(v({},e.data),s),null)))))}function WO(e,n,t,r){let o=Cm(e);if(o.length===0)return I({});let i={};return ue(o).pipe(se(s=>GO(e[s],n,t,r).pipe(En(),ae(a=>{if(a instanceof _i)throw fu(new mr,a);i[s]=a}))),Mo(1),M(()=>i),ht(s=>iw(s)?je:Wn(s)))}function GO(e,n,t,r){let o=Di(n)??r,i=wi(e,o),s=i.resolve?i.resolve(n,t):xe(o,()=>i(n,t));return jn(s)}function Dm(e){return Me(n=>{let t=e(n);return t?ue(t).pipe(M(()=>n)):I(n)})}var Hm=(()=>{class e{buildTitle(t){let r,o=t.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===B);return r}getResolvedTitleForRoute(t){return t.data[aa]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:()=>f(uw),providedIn:"root"})}return e})(),uw=(()=>{class e extends Hm{title;constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(C(TD))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),yr=new b("",{providedIn:"root",factory:()=>({})}),lo=new b(""),gu=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=f(Ip);loadComponent(t,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return I(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=jn(xe(t,()=>r.loadComponent())).pipe(M(fw),Me(hw),ae(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Pt(()=>{this.componentLoaders.delete(r)})),i=new zn(o,()=>new N).pipe(wo());return this.componentLoaders.set(r,i),i}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return I({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=dw(r,this.compiler,t,this.onLoadEndListener).pipe(Pt(()=>{this.childrenLoaders.delete(r)})),s=new zn(i,()=>new N).pipe(wo());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function dw(e,n,t,r){return jn(xe(t,()=>e.loadChildren())).pipe(M(fw),Me(hw),se(o=>o instanceof ll||Array.isArray(o)?I(o):ue(n.compileModuleAsync(o))),M(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(t).injector,s=i.get(lo,[],{optional:!0,self:!0}).flat()),{routes:s.map(Um),injector:i}}))}function qO(e){return e&&typeof e=="object"&&"default"in e}function fw(e){return qO(e)?e.default:e}function hw(e){return I(e)}var vu=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:()=>f(YO),providedIn:"root"})}return e})(),YO=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$m=new b(""),zm=new b("");function pw(e,n,t){let r=e.get(zm),o=e.get(O);if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(l=>setTimeout(l));let i,s=new Promise(l=>{i=l}),a=o.startViewTransition(()=>(i(),ZO(e)));a.ready.catch(l=>{});let{onViewTransitionCreated:c}=r;return c&&xe(e,()=>c({transition:a,from:n,to:t})),s}function ZO(e){return new Promise(n=>{kn({read:()=>setTimeout(n)},{injector:e})})}var Wm=new b(""),yu=(()=>{class e{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new N;transitionAbortWithErrorSubject=new N;configLoader=f(gu);environmentInjector=f(ne);destroyRef=f(Ie);urlSerializer=f(ao);rootContexts=f(co);location=f(dn);inputBindingEnabled=f(ca,{optional:!0})!==null;titleStrategy=f(Hm);options=f(yr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=f(vu);createViewTransition=f($m,{optional:!0});navigationErrorHandler=f(Wm,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>I(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=o=>this.events.next(new ru(o)),r=o=>this.events.next(new ou(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;this.transitions?.next(U(v({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))}setupNavigations(t){return this.transitions=new Ee(null),this.transitions.pipe(oe(r=>r!==null),Me(r=>{let o=!1;return I(r).pipe(Me(i=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Qe.SupersededByNewNavigation),je;this.currentTransition=r,this.currentNavigation={id:i.id,initialUrl:i.rawUrl,extractedUrl:i.extractedUrl,targetBrowserUrl:typeof i.extras.browserUrl=="string"?this.urlSerializer.parse(i.extras.browserUrl):i.extras.browserUrl,trigger:i.source,extras:i.extras,previousNavigation:this.lastSuccessfulNavigation?U(v({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>i.abortController.abort()};let s=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=i.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new vn(i.id,this.urlSerializer.serialize(i.rawUrl),"",gi.IgnoredSameUrlNavigation)),i.resolve(!1),je;if(this.urlHandlingStrategy.shouldProcessUrl(i.rawUrl))return I(i).pipe(Me(c=>(this.events.next(new vr(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?je:Promise.resolve(c))),HO(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),ae(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation=U(v({},this.currentNavigation),{finalUrl:c.urlAfterRedirects});let l=new ea(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(i.currentRawUrl)){let{id:c,extractedUrl:l,source:u,restoredState:d,extras:p}=i,h=new vr(c,this.urlSerializer.serialize(l),u,d);this.events.next(h);let m=QD(this.rootComponentType).snapshot;return this.currentTransition=r=U(v({},i),{targetSnapshot:m,urlAfterRedirects:l,extras:U(v({},p),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=l,I(r)}else return this.events.next(new vn(i.id,this.urlSerializer.serialize(i.extractedUrl),"",gi.IgnoredByUrlHandlingStrategy)),i.resolve(!1),je}),ae(i=>{let s=new Jl(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot);this.events.next(s)}),M(i=>(this.currentTransition=r=U(v({},i),{guards:aO(i.targetSnapshot,i.currentSnapshot,this.rootContexts)}),r)),yO(this.environmentInjector,i=>this.events.next(i)),ae(i=>{if(r.guardsResult=i.guardsResult,i.guardsResult&&typeof i.guardsResult!="boolean")throw fu(this.urlSerializer,i.guardsResult);let s=new eu(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot,!!i.guardsResult);this.events.next(s)}),oe(i=>i.guardsResult?!0:(this.cancelNavigationTransition(i,"",Qe.GuardRejected),!1)),Dm(i=>{if(i.guards.canActivateChecks.length!==0)return I(i).pipe(ae(s=>{let a=new tu(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),Me(s=>{let a=!1;return I(s).pipe($O(this.paramsInheritanceStrategy,this.environmentInjector),ae({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",Qe.NoDataFromResolver)}}))}),ae(s=>{let a=new nu(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Dm(i=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent&&!a.routeConfig._loadedComponent){let l=Di(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(l,a.routeConfig).pipe(ae(u=>{a.component=u}),M(()=>{})))}for(let l of a.children)c.push(...s(l));return c};return Ir(s(i.targetSnapshot.root)).pipe(qn(null),Ve(1))}),Dm(()=>this.afterPreactivation()),Me(()=>{let{currentSnapshot:i,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,i.root,s.root);return a?ue(a).pipe(M(()=>r)):I(r)}),M(i=>{let s=nO(t.routeReuseStrategy,i.targetSnapshot,i.currentRouterState);return this.currentTransition=r=U(v({},i),{targetRouterState:s}),this.currentNavigation.targetRouterState=s,r}),ae(()=>{this.events.next(new ta)}),sO(this.rootContexts,t.routeReuseStrategy,i=>this.events.next(i),this.inputBindingEnabled),Ve(1),Ft(new k(i=>{let s=r.abortController.signal,a=()=>i.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(oe(()=>!o&&!r.targetRouterState),ae(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",Qe.Aborted)}))),ae({next:i=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Mt(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects))),this.titleStrategy?.updateTitle(i.targetRouterState.snapshot),i.resolve(!0)},complete:()=>{o=!0}}),Ft(this.transitionAbortWithErrorSubject.pipe(ae(i=>{throw i}))),Pt(()=>{o||this.cancelNavigationTransition(r,"",Qe.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation=null,this.currentTransition=null)}),ht(i=>{if(this.destroyed)return r.resolve(!1),je;if(o=!0,ow(i))this.events.next(new mn(r.id,this.urlSerializer.serialize(r.extractedUrl),i.message,i.cancellationCode)),iO(i)?this.events.next(new bi(i.url,i.navigationBehaviorOptions)):r.resolve(!1);else{let s=new vi(r.id,this.urlSerializer.serialize(r.extractedUrl),i,r.targetSnapshot??void 0);try{let a=xe(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof _i){let{message:c,cancellationCode:l}=fu(this.urlSerializer,a);this.events.next(new mn(r.id,this.urlSerializer.serialize(r.extractedUrl),c,l)),this.events.next(new bi(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),i}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return je}))}))}cancelNavigationTransition(t,r,o){let i=new mn(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function KO(e){return e!==pi}var mw=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:()=>f(XO),providedIn:"root"})}return e})(),pu=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}},XO=(()=>{class e extends pu{static \u0275fac=(()=>{let t;return function(o){return(t||(t=cr(e)))(o||e)}})();static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),gw=(()=>{class e{urlSerializer=f(ao);options=f(yr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=f(dn);urlHandlingStrategy=f(vu);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new gn;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:r,targetBrowserUrl:o}){let i=t!==void 0?this.urlHandlingStrategy.merge(t,r):r,s=o??i;return s instanceof gn?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:t,finalUrl:r,initialUrl:o}){r&&t?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=t):this.rawUrlTree=o}routerState=QD(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:()=>f(QO),providedIn:"root"})}return e})(),QO=(()=>{class e extends gw{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{t(r.url,r.state,"popstate")})})}handleRouterEvent(t,r){t instanceof vr?this.updateStateMemento():t instanceof vn?this.commitTransition(r):t instanceof ea?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof ta?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof mn&&t.code!==Qe.SupersededByNewNavigation&&t.code!==Qe.Redirect?this.restoreHistory(r):t instanceof vi?this.restoreHistory(r,!0):t instanceof Mt&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(t)||i){let a=this.browserPageId,c=v(v({},s),this.generateNgRouterState(o,a));this.location.replaceState(t,"",c)}else{let a=v(v({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(t,"",a)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===t.finalUrl&&i===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(o){return(t||(t=cr(e)))(o||e)}})();static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function bu(e,n){e.events.pipe(oe(t=>t instanceof Mt||t instanceof mn||t instanceof vi||t instanceof vn),M(t=>t instanceof Mt||t instanceof vn?0:(t instanceof mn?t.code===Qe.Redirect||t.code===Qe.SupersededByNewNavigation:!1)?2:1),oe(t=>t!==2),Ve(1)).subscribe(()=>{n()})}var JO={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ek={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},bn=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=f(fl);stateManager=f(gw);options=f(yr,{optional:!0})||{};pendingTasks=f(on);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=f(yu);urlSerializer=f(ao);location=f(dn);urlHandlingStrategy=f(vu);injector=f(ne);_events=new N;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=f(mw);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=f(lo,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!f(ca,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new H;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof mn&&r.code!==Qe.Redirect&&r.code!==Qe.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Mt)this.navigated=!0;else if(r instanceof bi){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=v({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||KO(o.source)},s);this.scheduleNavigation(a,pi,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}QN(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.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),pi,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r,o)=>{this.navigateToSyncWithBrowser(t,o,r)})}navigateToSyncWithBrowser(t,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=v({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(t);this.scheduleNavigation(a,r,s,i).catch(c=>{this.disposed||this.injector.get(Ke)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Um),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=v(v({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let p=o?o.snapshot:this.routerState.snapshot.root;d=YD(p)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return ZD(d,t,u,l??null)}navigateByUrl(t,r={skipLocationChange:!1}){let o=gr(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,pi,null,r)}navigate(t,r={skipLocationChange:!1}){return tk(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,r){let o;if(r===!0?o=v({},JO):r===!1?o=v({},ek):o=r,gr(t))return RD(this.currentUrlTree,t,o);let i=this.parseUrl(t);return RD(this.currentUrlTree,i,o)}removeEmptyProps(t){return Object.entries(t).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,p)=>{a=d,c=p});let u=this.pendingTasks.add();return bu(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:i,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tk(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new y(4008,!1)}var vw=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;reactiveHref=me(null);get href(){return Pe(this.reactiveHref)}set href(t){this.reactiveHref.set(t)}target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new N;applicationErrorHandler=f(Ke);options=f(yr,{optional:!0});constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.reactiveHref.set(f(new ci("href"),{optional:!0}));let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href")),this.isAnchorElement?this.setTabIndexIfNotOnNativeEl("0"):this.subscribeToNavigationEventsIfNecessary()}subscribeToNavigationEventsIfNecessary(){if(this.subscription!==void 0||!this.isAnchorElement)return;let t=this.preserveFragment,r=o=>o==="merge"||o==="preserve";t||=r(this.queryParamsHandling),t||=!this.queryParamsHandling&&!r(this.options?.defaultQueryParamsHandling),t&&(this.subscription=this.router.events.subscribe(o=>{o instanceof Mt&&this.updateHref()}))}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&(this.updateHref(),this.subscribeToNavigationEventsIfNecessary()),this.onChanges.next(this)}routerLinkInput=null;set routerLink(t){t==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(gr(t)?this.routerLinkInput=t:this.routerLinkInput=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,o,i,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(t!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(l=>{this.applicationErrorHandler(l)}),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let t=this.urlTree;this.reactiveHref.set(t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t))??"":null)}applyAttributeValue(t,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,t,r):o.removeAttribute(i,t)}get urlTree(){return this.routerLinkInput===null?null:gr(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(r){return new(r||e)(ge(bn),ge(yn),bs("tabindex"),ge(wt),ge(W),ge(St))};static \u0275dir=ee({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&vl("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Pn("href",o.reactiveHref(),kh)("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",ce],skipLocationChange:[2,"skipLocationChange","skipLocationChange",ce],replaceUrl:[2,"replaceUrl","replaceUrl",ce],routerLink:"routerLink"},features:[Dt]})}return e})();var ua=class{};var yw=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(t,r,o,i){this.router=t,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(oe(t=>t instanceof Mt),kt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=ni(i.providers,t,`Route: ${i.path}`));let s=i._injector??t,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return ue(o).pipe(Gn())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(t,r):o=I(null);let i=o.pipe(se(s=>s===null?I(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(t,r);return ue([i,s]).pipe(Gn())}else return i})}static \u0275fac=function(r){return new(r||e)(C(bn),C(ne),C(ua),C(gu))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),bw=new b(""),nk=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=pi;restoredId=0;store={};constructor(t,r,o,i,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof vr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Mt?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof vn&&t.code===gi.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof yi&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>Un(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new yi(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Xh()};static \u0275prov=g({token:e,factory:e.\u0275fac})}return e})();function rk(e,...n){return Jn([{provide:lo,multi:!0,useValue:e},[],{provide:yn,useFactory:_w,deps:[bn]},{provide:oi,multi:!0,useFactory:Ew},n.map(t=>t.\u0275providers)])}function _w(e){return e.routerState.root}function Ci(e,n){return{\u0275kind:e,\u0275providers:n}}function Ew(){let e=f(V);return n=>{let t=e.get(Xe);if(n!==t.components[0])return;let r=e.get(bn),o=e.get(Dw);e.get(qm)===1&&r.initialNavigation(),e.get(Iw,null,{optional:!0})?.setUpPreloading(),e.get(bw,null,{optional:!0})?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var Dw=new b("",{factory:()=>new N}),qm=new b("",{providedIn:"root",factory:()=>1});function ww(){let e=[{provide:qm,useValue:0},ml(()=>{let n=f(V);return n.get(Wp,Promise.resolve()).then(()=>new Promise(r=>{let o=n.get(bn),i=n.get(Dw);bu(o,()=>{r(!0)}),n.get(yu).afterPreactivation=()=>(r(!0),i.closed?I(void 0):i),o.initialNavigation()}))})];return Ci(2,e)}function Cw(){let e=[ml(()=>{f(bn).setUpLocationChangeListener()}),{provide:qm,useValue:2}];return Ci(3,e)}var Iw=new b("");function Sw(e){return Ci(0,[{provide:Iw,useExisting:yw},{provide:ua,useExisting:e}])}function ok(){return Ci(6,[{provide:St,useClass:kl}])}function Tw(){return Ci(8,[Bm,{provide:ca,useExisting:Bm}])}function Mw(e){Ct("NgRouterViewTransitions");let n=[{provide:$m,useValue:pw},{provide:zm,useValue:v({skipNextTransition:!!e?.skipInitialTransition},e)}];return Ci(9,n)}var Rw=[dn,{provide:ao,useClass:mr},bn,co,{provide:yn,useFactory:_w,deps:[bn]},gu,[]],ik=(()=>{class e{constructor(){}static forRoot(t,r){return{ngModule:e,providers:[Rw,[],{provide:lo,multi:!0,useValue:t},[],r?.errorHandler?{provide:Wm,useValue:r.errorHandler}:[],{provide:yr,useValue:r||{}},r?.useHash?ak():ck(),sk(),r?.preloadingStrategy?Sw(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?lk(r):[],r?.bindToComponentInputs?Tw().\u0275providers:[],r?.enableViewTransitions?Mw().\u0275providers:[],uk()]}}static forChild(t){return{ngModule:e,providers:[{provide:lo,multi:!0,useValue:t}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=G({type:e});static \u0275inj=z({})}return e})();function sk(){return{provide:bw,useFactory:()=>{let e=f(rD),n=f(R),t=f(yr),r=f(yu),o=f(ao);return t.scrollOffset&&e.setOffset(t.scrollOffset),new nk(o,r,e,n,t)}}}function ak(){return{provide:St,useClass:kl}}function ck(){return{provide:St,useClass:Il}}function lk(e){return[e.initialNavigation==="disabled"?Cw().\u0275providers:[],e.initialNavigation==="enabledBlocking"?ww().\u0275providers:[]]}var Gm=new b("");function uk(){return[{provide:Gm,useFactory:Ew},{provide:oi,multi:!0,useExisting:Gm}]}var Ym;try{Ym=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Ym=!1}var he=(()=>{class e{_platformId=f(ur);isBrowser=this._platformId?nD(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Ym)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function uo(e){return Array.isArray(e)?e:[e]}var xw=new Set,fo,_u=(()=>{class e{_platform=f(he);_nonce=f(ti,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):fk}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&dk(t,this._nonce),this._matchMedia(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function dk(e,n){if(!xw.has(e))try{fo||(fo=document.createElement("style"),n&&fo.setAttribute("nonce",n),fo.setAttribute("type","text/css"),document.head.appendChild(fo)),fo.sheet&&(fo.sheet.insertRule(`@media ${e} {body{ }}`,0),xw.add(e))}catch(t){console.error(t)}}function fk(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}var Zm=(()=>{class e{_mediaMatcher=f(_u);_zone=f(R);_queries=new Map;_destroySubject=new N;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Aw(uo(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=Aw(uo(t)).map(s=>this._registerQuery(s).observable),i=Ir(o);return i=Xt(i.pipe(Ve(1)),i.pipe(Ro(1),$n(0))),i.pipe(M(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let r=this._mediaMatcher.matchMedia(t),i={observable:new k(s=>{let a=c=>this._zone.run(()=>s.next(c));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(Sr(r),M(({matches:s})=>({query:t,matches:s})),Ft(this._destroySubject)),mql:r};return this._queries.set(t,i),i}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Aw(e){return e.map(n=>n.split(",")).reduce((n,t)=>n.concat(t)).map(n=>n.trim())}var Eu;function hk(){if(Eu===void 0&&(Eu=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(Eu=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Eu}function da(e){return hk()?.createHTML(e)||e}function Nw(e){return Error(`Unable to find icon with the name "${e}"`)}function pk(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function Ow(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function kw(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var Bn=class{url;svgText;options;svgElement;constructor(n,t,r){this.url=n,this.svgText=t,this.options=r}},Fw=(()=>{class e{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(t,r,o,i){this._httpClient=t,this._sanitizer=r,this._errorHandler=i,this._document=o}addSvgIcon(t,r,o){return this.addSvgIconInNamespace("",t,r,o)}addSvgIconLiteral(t,r,o){return this.addSvgIconLiteralInNamespace("",t,r,o)}addSvgIconInNamespace(t,r,o,i){return this._addSvgIconConfig(t,r,new Bn(o,null,i))}addSvgIconResolver(t){return this._resolvers.push(t),this}addSvgIconLiteralInNamespace(t,r,o,i){let s=this._sanitizer.sanitize(Oe.HTML,o);if(!s)throw kw(o);let a=da(s);return this._addSvgIconConfig(t,r,new Bn("",a,i))}addSvgIconSet(t,r){return this.addSvgIconSetInNamespace("",t,r)}addSvgIconSetLiteral(t,r){return this.addSvgIconSetLiteralInNamespace("",t,r)}addSvgIconSetInNamespace(t,r,o){return this._addSvgIconSetConfig(t,new Bn(r,null,o))}addSvgIconSetLiteralInNamespace(t,r,o){let i=this._sanitizer.sanitize(Oe.HTML,r);if(!i)throw kw(r);let s=da(i);return this._addSvgIconSetConfig(t,new Bn("",s,o))}registerFontClassAlias(t,r=t){return this._fontCssClassesByAlias.set(t,r),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(...t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){let r=this._sanitizer.sanitize(Oe.RESOURCE_URL,t);if(!r)throw Ow(t);let o=this._cachedIconsByUrl.get(r);return o?I(Du(o)):this._loadSvgIconFromConfig(new Bn(t,null)).pipe(ae(i=>this._cachedIconsByUrl.set(r,i)),M(i=>Du(i)))}getNamedSvgIcon(t,r=""){let o=Pw(r,t),i=this._svgIconConfigs.get(o);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(r,t),i)return this._svgIconConfigs.set(o,i),this._getSvgFromConfig(i);let s=this._iconSetConfigs.get(r);return s?this._getSvgFromIconSetConfigs(t,s):Wn(Nw(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?I(Du(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(M(r=>Du(r)))}_getSvgFromIconSetConfigs(t,r){let o=this._extractIconWithNameFromAnySet(t,r);if(o)return I(o);let i=r.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(ht(a=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(Oe.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(l)),I(null)})));return sd(i).pipe(M(()=>{let s=this._extractIconWithNameFromAnySet(t,r);if(!s)throw Nw(t);return s}))}_extractIconWithNameFromAnySet(t,r){for(let o=r.length-1;o>=0;o--){let i=r[o];if(i.svgText&&i.svgText.toString().indexOf(t)>-1){let s=this._svgElementFromConfig(i),a=this._extractSvgIconFromSet(s,t,i.options);if(a)return a}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(ae(r=>t.svgText=r),M(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?I(null):this._fetchIcon(t).pipe(ae(r=>t.svgText=r))}_extractSvgIconFromSet(t,r,o){let i=t.querySelector(`[id="${r}"]`);if(!i)return null;let s=i.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,o);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),o);let a=this._svgElementFromString(da("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,o)}_svgElementFromString(t){let r=this._document.createElement("DIV");r.innerHTML=t;let o=r.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(t){let r=this._svgElementFromString(da("<svg></svg>")),o=t.attributes;for(let i=0;i<o.length;i++){let{name:s,value:a}=o[i];s!=="id"&&r.setAttribute(s,a)}for(let i=0;i<t.childNodes.length;i++)t.childNodes[i].nodeType===this._document.ELEMENT_NODE&&r.appendChild(t.childNodes[i].cloneNode(!0));return r}_setSvgAttributes(t,r){return t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),r&&r.viewBox&&t.setAttribute("viewBox",r.viewBox),t}_fetchIcon(t){let{url:r,options:o}=t,i=o?.withCredentials??!1;if(!this._httpClient)throw pk();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let s=this._sanitizer.sanitize(Oe.RESOURCE_URL,r);if(!s)throw Ow(r);let a=this._inProgressUrlFetches.get(s);if(a)return a;let c=this._httpClient.get(s,{responseType:"text",withCredentials:i}).pipe(M(l=>da(l)),Pt(()=>this._inProgressUrlFetches.delete(s)),Fi());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(t,r,o){return this._svgIconConfigs.set(Pw(t,r),o),this}_addSvgIconSetConfig(t,r){let o=this._iconSetConfigs.get(t);return o?o.push(r):this._iconSetConfigs.set(t,[r]),this}_svgElementFromConfig(t){if(!t.svgElement){let r=this._svgElementFromString(t.svgText);this._setSvgAttributes(r,t.options),t.svgElement=r}return t.svgElement}_getIconConfigFromResolvers(t,r){for(let o=0;o<this._resolvers.length;o++){let i=this._resolvers[o](r,t);if(i)return mk(i)?new Bn(i.url,null,i.options):new Bn(i,null)}}static \u0275fac=function(r){return new(r||e)(C(zs,8),C(ym),C(O,8),C(Re))};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Du(e){return e.cloneNode(!0)}function Pw(e,n){return e+":"+n}function mk(e){return!!(e.url&&e.options)}function fa(e){return e.buttons===0||e.detail===0}function ha(e){let n=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var Km;function Lw(){if(Km==null){let e=typeof document<"u"?document.head:null;Km=!!(e&&(e.createShadowRoot||e.attachShadow))}return Km}function Xm(e){if(Lw()){let n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function gk(){let e=typeof document<"u"&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let n=e.shadowRoot.activeElement;if(n===e)break;e=n}return e}function Je(e){return e.composedPath?e.composedPath()[0]:e.target}var pa;function jw(){if(pa==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>pa=!0}))}finally{pa=pa||!1}return pa}function Ii(e){return jw()?e:!!e.capture}function wu(e,n=0){return Bw(e)?Number(e):arguments.length===2?n:0}function Bw(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Rt(e){return e instanceof W?e.nativeElement:e}var Vw=new b("cdk-input-modality-detector-options"),Uw={ignoreKeys:[18,17,224,91,16]},Hw=650,Qm={passive:!0,capture:!0},$w=(()=>{class e{_platform=f(he);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Ee(null);_options;_lastTouchMs=0;_onKeydown=t=>{this._options?.ignoreKeys?.some(r=>r===t.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Je(t))};_onMousedown=t=>{Date.now()-this._lastTouchMs<Hw||(this._modality.next(fa(t)?"keyboard":"mouse"),this._mostRecentTarget=Je(t))};_onTouchstart=t=>{if(ha(t)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Je(t)};constructor(){let t=f(R),r=f(O),o=f(Vw,{optional:!0});if(this._options=v(v({},Uw),o),this.modalityDetected=this._modality.pipe(Ro(1)),this.modalityChanged=this.modalityDetected.pipe(Ka()),this._platform.isBrowser){let i=f(Ne).createRenderer(null,null);this._listenerCleanups=t.runOutsideAngular(()=>[i.listen(r,"keydown",this._onKeydown,Qm),i.listen(r,"mousedown",this._onMousedown,Qm),i.listen(r,"touchstart",this._onTouchstart,Qm)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(t=>t())}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ma=(function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e})(ma||{}),zw=new b("cdk-focus-monitor-default-options"),Cu=Ii({passive:!0,capture:!0}),Iu=(()=>{class e{_ngZone=f(R);_platform=f(he);_inputModalityDetector=f($w);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=f(O);_stopInputModalityDetector=new N;constructor(){let t=f(zw,{optional:!0});this._detectionMode=t?.detectionMode||ma.IMMEDIATE}_rootNodeFocusAndBlurListener=t=>{let r=Je(t);for(let o=r;o;o=o.parentElement)t.type==="focus"?this._onFocus(t,o):this._onBlur(t,o)};monitor(t,r=!1){let o=Rt(t);if(!this._platform.isBrowser||o.nodeType!==1)return I();let i=Xm(o)||this._document,s=this._elementInfo.get(o);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new N,rootNode:i};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){let r=Rt(t),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(t,r,o){let i=Rt(t),s=this._document.activeElement;i===s?this._getClosestElementsInfo(i).forEach(([a,c])=>this._originChanged(a,r,c)):(this._setOrigin(r),typeof i.focus=="function"&&i.focus(o))}ngOnDestroy(){this._elementInfo.forEach((t,r)=>this.stopMonitoring(r))}_getWindow(){return this._document.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===ma.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,r){t.classList.toggle("cdk-focused",!!r),t.classList.toggle("cdk-touch-focused",r==="touch"),t.classList.toggle("cdk-keyboard-focused",r==="keyboard"),t.classList.toggle("cdk-mouse-focused",r==="mouse"),t.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(t,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&r,this._detectionMode===ma.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Hw:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,r){let o=this._elementInfo.get(r),i=Je(t);!o||!o.checkChildren&&r!==i||this._originChanged(r,this._getFocusOrigin(i),o)}_onBlur(t,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&t.relatedTarget instanceof Node&&r.contains(t.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(t,r){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(r))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let r=t.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,Cu),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,Cu)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ft(this._stopInputModalityDetector)).subscribe(i=>{this._setOrigin(i,!0)}))}_removeGlobalListeners(t){let r=t.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Cu),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Cu),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,r,o){this._setClasses(t,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(t){let r=[];return this._elementInfo.forEach((o,i)=>{(i===t||o.checkChildren&&i.contains(t))&&r.push([i,o])}),r}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!r||r===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let i=t.labels;if(i){for(let s=0;s<i.length;s++)if(i[s].contains(r))return!0}return!1}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vk=(()=>{class e{_elementRef=f(W);_focusMonitor=f(Iu);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new K;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,t.nodeType===1&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(r=>{this._focusOrigin=r,this.cdkFocusChange.emit(r)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ee({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return e})();var Su=new WeakMap,xt=(()=>{class e{_appRef;_injector=f(V);_environmentInjector=f(ne);load(t){let r=this._appRef=this._appRef||this._injector.get(Xe),o=Su.get(r);o||(o={loaders:new Set,refs:[]},Su.set(r,o),r.onDestroy(()=>{Su.get(r)?.refs.forEach(i=>i.destroy()),Su.delete(r)})),o.loaders.has(t)||(o.loaders.add(t),o.refs.push(Dl(t,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Tu=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=be({type:e,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(r,o){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
|
|
6
|
+
`],encapsulation:2,changeDetection:0})}return e})();function yk(e){if(e.type==="characterData"&&e.target instanceof Comment)return!0;if(e.type==="childList"){for(let n=0;n<e.addedNodes.length;n++)if(!(e.addedNodes[n]instanceof Comment))return!1;for(let n=0;n<e.removedNodes.length;n++)if(!(e.removedNodes[n]instanceof Comment))return!1;return!0}return!1}var Ww=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Gw=(()=>{class e{_mutationObserverFactory=f(Ww);_observedElements=new Map;_ngZone=f(R);constructor(){}ngOnDestroy(){this._observedElements.forEach((t,r)=>this._cleanupObserver(r))}observe(t){let r=Rt(t);return new k(o=>{let s=this._observeElement(r).pipe(M(a=>a.filter(c=>!yk(c))),oe(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{o.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(t){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(t))this._observedElements.get(t).count++;else{let r=new N,o=this._mutationObserverFactory.create(i=>r.next(i));o&&o.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:o,stream:r,count:1})}return this._observedElements.get(t).stream})}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){let{observer:r,stream:o}=this._observedElements.get(t);r&&r.disconnect(),o.complete(),this._observedElements.delete(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),V6=(()=>{class e{_contentObserver=f(Gw);_elementRef=f(W);event=new K;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(t){this._debounce=wu(t),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let t=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?t.pipe($n(this.debounce)):t).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ee({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",ce],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return e})(),qw=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=G({type:e});static \u0275inj=z({providers:[Ww]})}return e})();var Xw=(()=>{class e{_platform=f(he);constructor(){}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return _k(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let r=bk(Mk(t));if(r&&(Yw(r)===-1||!this.isVisible(r)))return!1;let o=t.nodeName.toLowerCase(),i=Yw(t);return t.hasAttribute("contenteditable")?i!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Sk(t)?!1:o==="audio"?t.hasAttribute("controls")?i!==-1:!1:o==="video"?i===-1?!1:i!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,r){return Tk(t)&&!this.isDisabled(t)&&(r?.ignoreVisibility||this.isVisible(t))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function bk(e){try{return e.frameElement}catch{return null}}function _k(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects=="function"&&e.getClientRects().length)}function Ek(e){let n=e.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function Dk(e){return Ck(e)&&e.type=="hidden"}function wk(e){return Ik(e)&&e.hasAttribute("href")}function Ck(e){return e.nodeName.toLowerCase()=="input"}function Ik(e){return e.nodeName.toLowerCase()=="a"}function Qw(e){if(!e.hasAttribute("tabindex")||e.tabIndex===void 0)return!1;let n=e.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function Yw(e){if(!Qw(e))return null;let n=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function Sk(e){let n=e.nodeName.toLowerCase(),t=n==="input"&&e.type;return t==="text"||t==="password"||n==="select"||n==="textarea"}function Tk(e){return Dk(e)?!1:Ek(e)||wk(e)||e.hasAttribute("contenteditable")||Qw(e)}function Mk(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var Mu=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,t,r,o,i=!1,s){this._element=n,this._checker=t,this._ngZone=r,this._document=o,this._injector=s,i||this.attachAnchors()}destroy(){let n=this._startAnchor,t=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let t=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let r=this._getFirstTabbableElement(t);return r?.focus(n),!!r}return t.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let t=this._getRegionBoundary("start");return t&&t.focus(n),!!t}focusLastTabbableElement(n){let t=this._getRegionBoundary("end");return t&&t.focus(n),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let t=n.children;for(let r=0;r<t.length;r++){let o=t[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[r]):null;if(o)return o}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let t=n.children;for(let r=t.length-1;r>=0;r--){let o=t[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[r]):null;if(o)return o}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,t){n?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?kn(n,{injector:this._injector}):setTimeout(n)}},Rk=(()=>{class e{_checker=f(Xw);_ngZone=f(R);_document=f(O);_injector=f(V);constructor(){f(xt).load(Tu)}create(t,r=!1){return new Mu(t,this._checker,this._ngZone,this._document,r,this._injector)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Jw=new b("liveAnnouncerElement",{providedIn:"root",factory:eC});function eC(){return null}var tC=new b("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),xk=0,Ak=(()=>{class e{_ngZone=f(R);_defaultOptions=f(tC,{optional:!0});_liveElement;_document=f(O);_previousTimeout;_currentPromise;_currentResolve;constructor(){let t=f(Jw,{optional:!0});this._liveElement=t||this._createLiveElement()}announce(t,...r){let o=this._defaultOptions,i,s;return r.length===1&&typeof r[0]=="number"?s=r[0]:[i,s]=r,this.clear(),clearTimeout(this._previousTimeout),i||(i=o&&o.politeness?o.politeness:"polite"),s==null&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",i),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),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",r=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let i=0;i<r.length;i++)r[i].remove();return o.classList.add(t),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id=`cdk-live-announcer-${xk++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(t){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<r.length;o++){let i=r[o],s=i.getAttribute("aria-owns");s?s.indexOf(t)===-1&&i.setAttribute("aria-owns",s+" "+t):i.setAttribute("aria-owns",t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var br=(function(e){return e[e.NONE=0]="NONE",e[e.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",e[e.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",e})(br||{}),Zw="cdk-high-contrast-black-on-white",Kw="cdk-high-contrast-white-on-black",Jm="cdk-high-contrast-active",Ru=(()=>{class e{_platform=f(he);_hasCheckedHighContrastMode;_document=f(O);_breakpointSubscription;constructor(){this._breakpointSubscription=f(Zm).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return br.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(t):null,i=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),i){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return br.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return br.BLACK_ON_WHITE}return br.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(Jm,Zw,Kw),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===br.BLACK_ON_WHITE?t.add(Jm,Zw):r===br.WHITE_ON_BLACK&&t.add(Jm,Kw)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Nk=(()=>{class e{constructor(){f(Ru)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||e)};static \u0275mod=G({type:e});static \u0275inj=z({imports:[qw]})}return e})();var eg={},tg=(()=>{class e{_appId=f(lr);getId(t){return this._appId!=="ng"&&(t+=this._appId),eg.hasOwnProperty(t)||(eg[t]=0),`${t}${eg[t]++}`}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ok=200,xu=class{_letterKeyStream=new N;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new N;selectedItem=this._selectedItem;constructor(n,t){let r=typeof t?.debounceInterval=="number"?t.debounceInterval:Ok;t?.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(n),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let t=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(ae(t=>this._pressedLetters.push(t)),$n(n),oe(()=>this._pressedLetters.length>0),M(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let r=1;r<this._items.length+1;r++){let o=(this._selectedItemIndex+r)%this._items.length,i=this._items[o];if(!this._skipPredicateFn?.(i)&&i.getLabel?.().toLocaleUpperCase().trim().indexOf(t)===0){this._selectedItem.next(i);break}}this._pressedLetters=[]})}};function Au(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var Si=class{_items;_activeItemIndex=me(-1);_activeItem=me(null);_wrap=!1;_typeaheadSubscription=H.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,t){this._items=n,n instanceof Yr?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):Ho(n)&&(this._effectRef=si(()=>this._itemsChanged(n()),{injector:t}))}tabOut=new N;change=new N;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let t=this._getItemsArray();return this._typeahead=new xu(t,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,t=10){return this._pageUpAndDown={enabled:n,delta:t},this}setActiveItem(n){let t=this._activeItem();this.updateActiveItem(n),this._activeItem()!==t&&this.change.next(this._activeItemIndex())}onKeydown(n){let t=n.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(i=>!n[i]||this._allowedModifierKeys.indexOf(i)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let i=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(i>0?i:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let i=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(i<s?i:s-1,-1);break}else return;default:(o||Au(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let t=this._getItemsArray(),r=typeof n=="number"?n:t.indexOf(n),o=t[r];this._activeItem.set(o??null),this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let t=this._getItemsArray();for(let r=1;r<=t.length;r++){let o=(this._activeItemIndex()+n*r+t.length)%t.length,i=t[o];if(!this._skipPredicateFn(i)){this.setActiveItem(o);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,t){let r=this._getItemsArray();if(r[n]){for(;this._skipPredicateFn(r[n]);)if(n+=t,!r[n])return;this.setActiveItem(n)}}_getItemsArray(){return Ho(this._items)?this._items():this._items instanceof Yr?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let t=this._activeItem();if(t){let r=n.indexOf(t);r>-1&&r!==this._activeItemIndex()&&(this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r))}}};var ng=class extends Si{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var rg=class extends Si{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var rC=" ";function kk(e,n,t){let r=Ou(e,n);t=t.trim(),!r.some(o=>o.trim()===t)&&(r.push(t),e.setAttribute(n,r.join(rC)))}function Pk(e,n,t){let r=Ou(e,n);t=t.trim();let o=r.filter(i=>i!==t);o.length?e.setAttribute(n,o.join(rC)):e.removeAttribute(n)}function Ou(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}var oC="cdk-describedby-message",Nu="cdk-describedby-host",ig=0,L9=(()=>{class e{_platform=f(he);_document=f(O);_messageRegistry=new Map;_messagesContainer=null;_id=`${ig++}`;constructor(){f(xt).load(Tu),this._id=f(lr)+"-"+ig++}describe(t,r,o){if(!this._canBeDescribed(t,r))return;let i=og(r,o);typeof r!="string"?(nC(r,this._id),this._messageRegistry.set(i,{messageElement:r,referenceCount:0})):this._messageRegistry.has(i)||this._createMessageElement(r,o),this._isElementDescribedByMessage(t,i)||this._addMessageReference(t,i)}removeDescription(t,r,o){if(!r||!this._isElementNode(t))return;let i=og(r,o);if(this._isElementDescribedByMessage(t,i)&&this._removeMessageReference(t,i),typeof r=="string"){let s=this._messageRegistry.get(i);s&&s.referenceCount===0&&this._deleteMessageElement(i)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let t=this._document.querySelectorAll(`[${Nu}="${this._id}"]`);for(let r=0;r<t.length;r++)this._removeCdkDescribedByReferenceIds(t[r]),t[r].removeAttribute(Nu);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(t,r){let o=this._document.createElement("div");nC(o,this._id),o.textContent=t,r&&o.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(og(t,r),{messageElement:o,referenceCount:0})}_deleteMessageElement(t){this._messageRegistry.get(t)?.messageElement?.remove(),this._messageRegistry.delete(t)}_createMessagesContainer(){if(this._messagesContainer)return;let t="cdk-describedby-message-container",r=this._document.querySelectorAll(`.${t}[platform="server"]`);for(let i=0;i<r.length;i++)r[i].remove();let o=this._document.createElement("div");o.style.visibility="hidden",o.classList.add(t),o.classList.add("cdk-visually-hidden"),this._platform.isBrowser||o.setAttribute("platform","server"),this._document.body.appendChild(o),this._messagesContainer=o}_removeCdkDescribedByReferenceIds(t){let r=Ou(t,"aria-describedby").filter(o=>o.indexOf(oC)!=0);t.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(t,r){let o=this._messageRegistry.get(r);kk(t,"aria-describedby",o.messageElement.id),t.setAttribute(Nu,this._id),o.referenceCount++}_removeMessageReference(t,r){let o=this._messageRegistry.get(r);o.referenceCount--,Pk(t,"aria-describedby",o.messageElement.id),t.removeAttribute(Nu)}_isElementDescribedByMessage(t,r){let o=Ou(t,"aria-describedby"),i=this._messageRegistry.get(r),s=i&&i.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(t,r){if(!this._isElementNode(t))return!1;if(r&&typeof r=="object")return!0;let o=r==null?"":`${r}`.trim(),i=t.getAttribute("aria-label");return o?!i||i.trim()!==o:!1}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function og(e,n){return typeof e=="string"?`${n||""}/${e}`:e}function nC(e,n){e.id||(e.id=`${oC}-${n}-${ig++}`)}var Fk=new b("cdk-dir-doc",{providedIn:"root",factory:Lk});function Lk(){return f(O)}var jk=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function iC(e){let n=e?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?jk.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Ti=(()=>{class e{get value(){return this.valueSignal()}valueSignal=me("ltr");change=new K;constructor(){let t=f(Fk,{optional:!0});if(t){let r=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.valueSignal.set(iC(r||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var _r=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=G({type:e});static \u0275inj=z({})}return e})();var Vn=(()=>{class e{constructor(){f(Ru)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||e)};static \u0275mod=G({type:e});static \u0275inj=z({imports:[_r,_r]})}return e})();var Bk=["*"],Vk=new b("MAT_ICON_DEFAULT_OPTIONS"),Uk=new b("mat-icon-location",{providedIn:"root",factory:Hk});function Hk(){let e=f(O),n=e?e.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}var sC=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],$k=sC.map(e=>`[${e}]`).join(", "),zk=/^url\(['"]?#(.*?)['"]?\)$/,dZ=(()=>{class e{_elementRef=f(W);_iconRegistry=f(Fw);_location=f(Uk);_errorHandler=f(Re);_defaultColor;get color(){return this._color||this._defaultColor}set color(t){this._color=t}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(t){let r=this._cleanupFontValue(t);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(t){let r=this._cleanupFontValue(t);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=H.EMPTY;constructor(){let t=f(new ci("aria-hidden"),{optional:!0}),r=f(Vk,{optional:!0});r&&(r.color&&(this.color=this._defaultColor=r.color),r.fontSet&&(this.fontSet=r.fontSet)),t||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(t){if(!t)return["",""];let r=t.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let t=this._elementsWithExternalReferences;if(t&&t.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(t),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(t)}_clearSvgElement(){let t=this._elementRef.nativeElement,r=t.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let o=t.childNodes[r];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let t=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>t.classList.remove(o)),r.forEach(o=>t.classList.add(o)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.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 r=this._elementsWithExternalReferences;r&&r.forEach((o,i)=>{o.forEach(s=>{i.setAttribute(s.name,`url('${t}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(t){let r=t.querySelectorAll($k),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i<r.length;i++)sC.forEach(s=>{let a=r[i],c=a.getAttribute(s),l=c?c.match(zk):null;if(l){let u=o.get(a);u||(u=[],o.set(a,u)),u.push({name:s,value:l[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){let[r,o]=this._splitIconName(t);r&&(this._svgNamespace=r),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,r).pipe(Ve(1)).subscribe(i=>this._setSvgElement(i),i=>{let s=`Error retrieving icon ${r}:${o}! ${i.message}`;this._errorHandler.handleError(new Error(s))})}}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=be({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,o){r&2&&(Pn("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),xs(o.color?"mat-"+o.color:""),rt("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",ce],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:Bk,decls:1,vars:0,template:function(r,o){r&1&&(ln(),ze(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.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}
|
|
7
|
+
`],encapsulation:2,changeDetection:0})}return e})(),fZ=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=G({type:e});static \u0275inj=z({imports:[Vn,Vn]})}return e})();var pZ={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var Zt=(function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e})(Zt||{}),ku,ho;function Pu(){if(ho==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return ho=!1,ho;if("scrollBehavior"in document.documentElement.style)ho=!0;else{let e=Element.prototype.scrollTo;e?ho=!/\{\s*\[native code\]\s*\}/.test(e.toString()):ho=!1}}return ho}function Mi(){if(typeof document!="object"||!document)return Zt.NORMAL;if(ku==null){let e=document.createElement("div"),n=e.style;e.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let t=document.createElement("div"),r=t.style;r.width="2px",r.height="1px",e.appendChild(t),document.body.appendChild(e),ku=Zt.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,ku=e.scrollLeft===0?Zt.NEGATED:Zt.INVERTED),e.remove()}return ku}function sg(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Ri,aC=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function bZ(){if(Ri)return Ri;if(typeof document!="object"||!document)return Ri=new Set(aC),Ri;let e=document.createElement("input");return Ri=new Set(aC.filter(n=>(e.setAttribute("type",n),e.type===n))),Ri}var Wk=new b("MATERIAL_ANIMATIONS");var cC=null;function Gk(){return f(Wk,{optional:!0})?.animationsDisabled||f(_s,{optional:!0})==="NoopAnimations"?"di-disabled":(cC??=f(_u).matchMedia("(prefers-reduced-motion)").matches,cC?"reduced-motion":"enabled")}function xi(){return Gk()!=="enabled"}function ve(e){return e==null?"":typeof e=="string"?e:`${e}px`}function MZ(e){return e!=null&&`${e}`!="false"}var At=(function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e})(At||{}),ag=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=At.HIDDEN;constructor(n,t,r,o=!1){this._renderer=n,this.element=t,this.config=r,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},lC=Ii({passive:!0,capture:!0}),cg=class{_events=new Map;addHandler(n,t,r,o){let i=this._events.get(t);if(i){let s=i.get(r);s?s.add(o):i.set(r,new Set([o]))}else this._events.set(t,new Map([[r,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,lC)})}removeHandler(n,t,r){let o=this._events.get(n);if(!o)return;let i=o.get(t);i&&(i.delete(r),i.size===0&&o.delete(t),o.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,lC)))}_delegateEventHandler=n=>{let t=Je(n);t&&this._events.get(n.type)?.forEach((r,o)=>{(o===t||o.contains(t))&&r.forEach(i=>i.handleEvent(n))})}},ga={enterDuration:225,exitDuration:150},qk=800,uC=Ii({passive:!0,capture:!0}),dC=["mousedown","touchstart"],fC=["mouseup","mouseleave","touchend","touchcancel"],Yk=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=be({type:e,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(r,o){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
|
|
8
|
+
`],encapsulation:2,changeDetection:0})}return e})(),va=class e{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new cg;constructor(n,t,r,o,i){this._target=n,this._ngZone=t,this._platform=o,o.isBrowser&&(this._containerElement=Rt(r)),i&&i.get(xt).load(Yk)}fadeInRipple(n,t,r={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=v(v({},ga),r.animation);r.centered&&(n=o.left+o.width/2,t=o.top+o.height/2);let s=r.radius||Zk(n,t,o),a=n-o.left,c=t-o.top,l=i.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${a-s}px`,u.style.top=`${c-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,r.color!=null&&(u.style.backgroundColor=r.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);let d=window.getComputedStyle(u),p=d.transitionProperty,h=d.transitionDuration,m=p==="none"||h==="0s"||h==="0s, 0s"||o.width===0&&o.height===0,_=new ag(this,u,r,m);u.style.transform="scale3d(1, 1, 1)",_.state=At.FADING_IN,r.persistent||(this._mostRecentTransientRipple=_);let E=null;return!m&&(l||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let D=()=>{E&&(E.fallbackTimer=null),clearTimeout(Fe),this._finishRippleTransition(_)},$=()=>this._destroyRipple(_),Fe=setTimeout($,l+100);u.addEventListener("transitionend",D),u.addEventListener("transitioncancel",$),E={onTransitionEnd:D,onTransitionCancel:$,fallbackTimer:Fe}}),this._activeRipples.set(_,E),(m||!l)&&this._finishRippleTransition(_),_}fadeOutRipple(n){if(n.state===At.FADING_OUT||n.state===At.HIDDEN)return;let t=n.element,r=v(v({},ga),n.config.animation);t.style.transitionDuration=`${r.exitDuration}ms`,t.style.opacity="0",n.state=At.FADING_OUT,(n._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let t=Rt(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,dC.forEach(r=>{e._eventManager.addHandler(this._ngZone,r,t,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{fC.forEach(t=>{this._triggerElement.addEventListener(t,this,uC)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===At.FADING_IN?this._startFadeOutTransition(n):n.state===At.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let t=n===this._mostRecentTransientRipple,{persistent:r}=n.config;n.state=At.VISIBLE,!r&&(!t||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let t=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=At.HIDDEN,t!==null&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel),t.fallbackTimer!==null&&clearTimeout(t.fallbackTimer)),n.element.remove()}_onMousedown(n){let t=fa(n),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+qk;!this._target.rippleDisabled&&!t&&!r&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!ha(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let t=n.changedTouches;if(t)for(let r=0;r<t.length;r++)this.fadeInRipple(t[r].clientX,t[r].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let t=n.state===At.VISIBLE||n.config.terminateOnPointerUp&&n.state===At.FADING_IN;!n.config.persistent&&t&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(dC.forEach(t=>e._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&(fC.forEach(t=>n.removeEventListener(t,this,uC)),this._pointerUpEventsRegistered=!1))}};function Zk(e,n,t){let r=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),o=Math.max(Math.abs(n-t.top),Math.abs(n-t.bottom));return Math.sqrt(r*r+o*o)}var lg=new b("mat-ripple-global-options"),$Z=(()=>{class e{_elementRef=f(W);_animationsDisabled=xi();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let t=f(R),r=f(he),o=f(lg,{optional:!0}),i=f(V);this._globalOptions=o||{},this._rippleRenderer=new va(this,t,this._elementRef,r,i)}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:v(v(v({},this._globalOptions.animation),this._animationsDisabled?{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,r=0,o){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,r,v(v({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,v(v({},this.rippleConfig),t))}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ee({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,o){r&2&&rt("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return e})();var Kk={capture:!0},Xk=["focus","mousedown","mouseenter","touchstart"],ug="mat-ripple-loader-uninitialized",dg="mat-ripple-loader-class-name",hC="mat-ripple-loader-centered",Fu="mat-ripple-loader-disabled",pC=(()=>{class e{_document=f(O);_animationsDisabled=xi();_globalRippleOptions=f(lg,{optional:!0});_platform=f(he);_ngZone=f(R);_injector=f(V);_eventCleanups;_hosts=new Map;constructor(){let t=f(Ne).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>Xk.map(r=>t.listen(this._document,r,this._onInteraction,Kk)))}ngOnDestroy(){let t=this._hosts.keys();for(let r of t)this.destroyRipple(r);this._eventCleanups.forEach(r=>r())}configureRipple(t,r){t.setAttribute(ug,this._globalRippleOptions?.namespace??""),(r.className||!t.hasAttribute(dg))&&t.setAttribute(dg,r.className||""),r.centered&&t.setAttribute(hC,""),r.disabled&&t.setAttribute(Fu,"")}setDisabled(t,r){let o=this._hosts.get(t);o?(o.target.rippleDisabled=r,!r&&!o.hasSetUpEvents&&(o.hasSetUpEvents=!0,o.renderer.setupTriggerEvents(t))):r?t.setAttribute(Fu,""):t.removeAttribute(Fu)}_onInteraction=t=>{let r=Je(t);if(r instanceof HTMLElement){let o=r.closest(`[${ug}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}};_createRipple(t){if(!this._document||this._hosts.has(t))return;t.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",t.getAttribute(dg)),t.append(r);let o=this._globalRippleOptions,i=this._animationsDisabled?0:o?.animation?.enterDuration??ga.enterDuration,s=this._animationsDisabled?0:o?.animation?.exitDuration??ga.exitDuration,a={rippleDisabled:this._animationsDisabled||o?.disabled||t.hasAttribute(Fu),rippleConfig:{centered:t.hasAttribute(hC),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:i,exitDuration:s}}},c=new va(a,this._ngZone,r,this._platform,this._injector),l=!a.rippleDisabled;l&&c.setupTriggerEvents(t),this._hosts.set(t,{target:a,renderer:c,hasSetUpEvents:l}),t.removeAttribute(ug)}destroyRipple(t){let r=this._hosts.get(t);r&&(r.renderer._removeTriggerEvents(),this._hosts.delete(t))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var mC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=be({type:e,selectors:[["structural-styles"]],decls:0,vars:0,template:function(r,o){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
|
|
9
|
+
`],encapsulation:2,changeDetection:0})}return e})();var Qk=["mat-icon-button",""],Jk=["*"],eP=new b("MAT_BUTTON_CONFIG");function gC(e){return e==null?void 0:$p(e)}var ya=(()=>{class e{_elementRef=f(W);_ngZone=f(R);_animationsDisabled=xi();_config=f(eP,{optional:!0});_focusMonitor=f(Iu);_cleanupClick;_renderer=f(wt);_rippleLoader=f(pC);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(t){this.tabIndex=t}constructor(){f(xt).load(mC);let t=this._elementRef.nativeElement;this._isAnchor=t.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(t,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(t="program",r){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,r):this._elementRef.nativeElement.focus(r)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null: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)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",t=>{this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}))}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ee({type:e,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(r,o){r&2&&(Pn("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled())("tabindex",o._getTabIndex()),xs(o.color?"mat-"+o.color:""),rt("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("mat-unthemed",!o.color)("_mat-animation-noopable",o._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",ce],disabled:[2,"disabled","disabled",ce],ariaDisabled:[2,"aria-disabled","ariaDisabled",ce],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ce],tabIndex:[2,"tabIndex","tabIndex",gC],_tabindex:[2,"tabindex","_tabindex",gC]}})}return e})(),tP=(()=>{class e extends ya{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=be({type:e,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[It],attrs:Qk,ngContentSelectors:Jk,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(ln(),ut(0,"span",0),ze(1),ut(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-icon-button-touch-target-display, block);left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}
|
|
10
|
+
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
|
|
11
|
+
`],encapsulation:2,changeDetection:0})}return e})();var vC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=G({type:e});static \u0275inj=z({imports:[Vn,Vn]})}return e})();var nP=["matButton",""],fg=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],hg=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],rP=["mat-fab",""],oP=["mat-mini-fab",""],iP=`.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;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;-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);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .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-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus>.mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::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}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mat-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mat-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mat-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mat-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-fab-touch-target-display, block);left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.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, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mat-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mat-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mat-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mat-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-fab-small-touch-target-display);left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.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, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mat-fab-extended-container-elevation-shadow, var(--mat-sys-level3));height:var(--mat-fab-extended-container-height, 56px);border-radius:var(--mat-fab-extended-container-shape, var(--mat-sys-corner-large));font-family:var(--mat-fab-extended-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-fab-extended-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-fab-extended-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-fab-extended-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mat-fab-extended-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mat-fab-extended-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mat-fab-extended-pressed-container-elevation-shadow, var(--mat-sys-level3))}.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}[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>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}
|
|
12
|
+
`,yC=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),D7=(()=>{class e extends ya{get appearance(){return this._appearance}set appearance(t){this.setAppearance(t||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let t=sP(this._elementRef.nativeElement);t&&this.setAppearance(t)}setAppearance(t){if(t===this._appearance)return;let r=this._elementRef.nativeElement.classList,o=this._appearance?yC.get(this._appearance):null,i=yC.get(t);o&&r.remove(...o),r.add(...i),this._appearance=t}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=be({type:e,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[It],attrs:nP,ngContentSelectors:hg,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(ln(fg),ut(0,"span",0),ze(1),fr(2,"span",1),ze(3,1),hr(),ze(4,2),ut(5,"span",2)(6,"span",3)),r&2&&rt("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before,.mat-tonal-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
|
|
13
|
+
`,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
|
|
14
|
+
`],encapsulation:2,changeDetection:0})}return e})();function sP(e){return e.hasAttribute("mat-raised-button")?"elevated":e.hasAttribute("mat-stroked-button")?"outlined":e.hasAttribute("mat-flat-button")?"filled":e.hasAttribute("mat-button")?"text":null}var bC=new b("mat-mdc-fab-default-options",{providedIn:"root",factory:_C});function _C(){return{color:"accent"}}var Lu=_C(),w7=(()=>{class e extends ya{_options=f(bC,{optional:!0});_isFab=!0;extended;constructor(){super(),this._options=this._options||Lu,this.color=this._options.color||Lu.color}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=be({type:e,selectors:[["button","mat-fab",""],["a","mat-fab",""],["button","matFab",""],["a","matFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mat-mdc-fab"],hostVars:4,hostBindings:function(r,o){r&2&&rt("mdc-fab--extended",o.extended)("mat-mdc-extended-fab",o.extended)},inputs:{extended:[2,"extended","extended",ce]},exportAs:["matButton","matAnchor"],features:[It],attrs:rP,ngContentSelectors:hg,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(ln(fg),ut(0,"span",0),ze(1),fr(2,"span",1),ze(3,1),hr(),ze(4,2),ut(5,"span",2)(6,"span",3)),r&2&&rt("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[`.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;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;-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);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .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-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus>.mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::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}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mat-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:hover{box-shadow:var(--mat-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-fab:focus{box-shadow:var(--mat-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mat-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-fab-touch-target-display, block);left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.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, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mat-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-small-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:hover{box-shadow:var(--mat-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-mini-fab:focus{box-shadow:var(--mat-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mat-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.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, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;display:var(--mat-fab-small-touch-target-display);left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.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, var(--mat-sys-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, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mat-fab-extended-container-elevation-shadow, var(--mat-sys-level3));height:var(--mat-fab-extended-container-height, 56px);border-radius:var(--mat-fab-extended-container-shape, var(--mat-sys-corner-large));font-family:var(--mat-fab-extended-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-fab-extended-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-fab-extended-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-fab-extended-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-extended-fab:hover{box-shadow:var(--mat-fab-extended-hover-container-elevation-shadow, var(--mat-sys-level4))}.mat-mdc-extended-fab:focus{box-shadow:var(--mat-fab-extended-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mat-fab-extended-pressed-container-elevation-shadow, var(--mat-sys-level3))}.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}[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>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}
|
|
15
|
+
`],encapsulation:2,changeDetection:0})}return e})(),C7=(()=>{class e extends ya{_options=f(bC,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||Lu,this.color=this._options.color||Lu.color}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=be({type:e,selectors:[["button","mat-mini-fab",""],["a","mat-mini-fab",""],["button","matMiniFab",""],["a","matMiniFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"],exportAs:["matButton","matAnchor"],features:[It],attrs:oP,ngContentSelectors:hg,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(ln(fg),ut(0,"span",0),ze(1),fr(2,"span",1),ze(3,1),hr(),ze(4,2),ut(5,"span",2)(6,"span",3)),r&2&&rt("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[iP],encapsulation:2,changeDetection:0})}return e})();var I7=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=G({type:e});static \u0275inj=z({imports:[Vn,vC,Vn]})}return e})();var EC=class{};function M7(e){return e&&typeof e.connect=="function"&&!(e instanceof zn)}var aP=(function(e){return e[e.REPLACED=0]="REPLACED",e[e.INSERTED=1]="INSERTED",e[e.MOVED=2]="MOVED",e[e.REMOVED=3]="REMOVED",e})(aP||{}),A7=new b("_ViewRepeater");var cP=20,ba=(()=>{class e{_ngZone=f(R);_platform=f(he);_renderer=f(Ne).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new N;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let r=this.scrollContainers.get(t);r&&(r.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=cP){return this._platform.isBrowser?new k(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=t>0?this._scrolled.pipe(Ya(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):I()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((t,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(t,r){let o=this.getAncestorScrollContainers(t);return this.scrolled(r).pipe(oe(i=>!i||o.indexOf(i)>-1))}getAncestorScrollContainers(t){let r=[];return this.scrollContainers.forEach((o,i)=>{this._scrollableContainsElement(i,t)&&r.push(i)}),r}_scrollableContainsElement(t,r){let o=Rt(r),i=t.getElementRef().nativeElement;do if(o==i)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),lP=(()=>{class e{elementRef=f(W);scrollDispatcher=f(ba);ngZone=f(R);dir=f(Ti,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new N;_renderer=f(wt);_cleanupScroll;_elementScrolled=new N;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",t=>this._elementScrolled.next(t))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){let r=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";t.left==null&&(t.left=o?t.end:t.start),t.right==null&&(t.right=o?t.start:t.end),t.bottom!=null&&(t.top=r.scrollHeight-r.clientHeight-t.bottom),o&&Mi()!=Zt.NORMAL?(t.left!=null&&(t.right=r.scrollWidth-r.clientWidth-t.left),Mi()==Zt.INVERTED?t.left=t.right:Mi()==Zt.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=r.scrollWidth-r.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let r=this.elementRef.nativeElement;Pu()?r.scrollTo(t):(t.top!=null&&(r.scrollTop=t.top),t.left!=null&&(r.scrollLeft=t.left))}measureScrollOffset(t){let r="left",o="right",i=this.elementRef.nativeElement;if(t=="top")return i.scrollTop;if(t=="bottom")return i.scrollHeight-i.clientHeight-i.scrollTop;let s=this.dir&&this.dir.value=="rtl";return t=="start"?t=s?o:r:t=="end"&&(t=s?r:o),s&&Mi()==Zt.INVERTED?t==r?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:s&&Mi()==Zt.NEGATED?t==r?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:t==r?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ee({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return e})(),uP=20,Ai=(()=>{class e{_platform=f(he);_listeners;_viewportSize;_change=new N;_document=f(O);constructor(){let t=f(R),r=f(Ne).createRenderer(null,null);t.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=i=>this._change.next(i);this._listeners=[r.listen("window","resize",o),r.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(t=>t()),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:r,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,r=this._getWindow(),o=t.documentElement,i=o.getBoundingClientRect(),s=-i.top||t.body.scrollTop||r.scrollY||o.scrollTop||0,a=-i.left||t.body.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:s,left:a}}change(t=uP){return t>0?this._change.pipe(Ya(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}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var pg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=G({type:e});static \u0275inj=z({})}return e})(),mg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=G({type:e});static \u0275inj=z({imports:[_r,pg,_r,pg]})}return e})();var _a=class{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},gg=class extends _a{component;viewContainerRef;injector;projectableNodes;constructor(n,t,r,o){super(),this.component=n,this.viewContainerRef=t,this.injector=r,this.projectableNodes=o}},Ni=class extends _a{templateRef;viewContainerRef;context;injector;constructor(n,t,r,o){super(),this.templateRef=n,this.viewContainerRef=t,this.context=r,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}},vg=class extends _a{element;constructor(n){super(),this.element=n instanceof W?n.nativeElement:n}},ju=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof gg)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Ni)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof vg)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Bu=class extends ju{outletElement;_appRef;_defaultInjector;constructor(n,t,r){super(),this.outletElement=n,this._appRef=t,this._defaultInjector=r}attachComponentPortal(n){let t;if(n.viewContainerRef){let r=n.injector||n.viewContainerRef.injector,o=r.get($t,null,{optional:!0})||void 0;t=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:r,ngModuleRef:o,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>t.destroy())}else{let r=this._appRef,o=n.injector||this._defaultInjector||V.NULL,i=o.get(ne,r.injector);t=Dl(n.component,{elementInjector:o,environmentInjector:i,projectableNodes:n.projectableNodes||void 0}),r.attachView(t.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(t.hostView),t.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=n,t}attachTemplatePortal(n){let t=n.viewContainerRef,r=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(o=>this.outletElement.appendChild(o)),r.detectChanges(),this.setDisposeFn(()=>{let o=t.indexOf(r);o!==-1&&t.remove(o)}),this._attachedPortal=n,r}attachDomPortal=n=>{let t=n.element;t.parentNode;let r=this.outletElement.ownerDocument.createComment("dom-portal");t.parentNode.insertBefore(r,t),this.outletElement.appendChild(t),this._attachedPortal=n,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(t,r)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},rK=(()=>{class e extends Ni{constructor(){let t=f(Et),r=f($e);super(t,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ee({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[It]})}return e})();var oK=(()=>{class e extends ju{_moduleRef=f($t,{optional:!0});_document=f(O);_viewContainerRef=f($e);_isInitialized=!1;_attachedRef;constructor(){super()}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)}attached=new K;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let r=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,o=r.createComponent(t.component,{index:r.length,injector:t.injector||r.injector,projectableNodes:t.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=t,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(t){t.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}attachDomPortal=t=>{let r=t.element;r.parentNode;let o=this._document.createComment("dom-portal");t.setAttachedHost(this),r.parentNode.insertBefore(o,r),this._getRootNode().appendChild(r),this._attachedPortal=t,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(r,o)})};_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ee({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[It]})}return e})();var DC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=G({type:e});static \u0275inj=z({})}return e})();var wC=Pu();function xC(e){return new Vu(e.get(Ai),e.get(O))}var Vu=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,t){this._viewportRuler=n,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=ve(-this._previousScrollPosition.left),n.style.top=ve(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,t=this._document.body,r=n.style,o=t.style,i=r.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),wC&&(r.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),wC&&(r.scrollBehavior=i,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let t=this._document.documentElement,r=this._viewportRuler.getViewportSize();return t.scrollHeight>r.height||t.scrollWidth>r.width}};function AC(e,n){return new Uu(e.get(ba),e.get(R),e.get(Ai),n)}var Uu=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,t,r,o){this._scrollDispatcher=n,this._ngZone=t,this._viewportRuler=r,this._config=o}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(oe(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var Ea=class{enable(){}disable(){}attach(){}};function yg(e,n){return n.some(t=>{let r=e.bottom<t.top,o=e.top>t.bottom,i=e.right<t.left,s=e.left>t.right;return r||o||i||s})}function CC(e,n){return n.some(t=>{let r=e.top<t.top,o=e.bottom>t.bottom,i=e.left<t.left,s=e.right>t.right;return r||o||i||s})}function qu(e,n){return new Hu(e.get(ba),e.get(Ai),e.get(R),n)}var Hu=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,t,r,o){this._scrollDispatcher=n,this._viewportRuler=t,this._ngZone=r,this._config=o}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:o}=this._viewportRuler.getViewportSize();yg(t,[{width:r,height:o,bottom:o,right:r,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}},NC=(()=>{class e{_injector=f(V);constructor(){}noop=()=>new Ea;close=t=>AC(this._injector,t);block=()=>xC(this._injector);reposition=t=>qu(this._injector,t);static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Da=class{positionStrategy;scrollStrategy=new Ea;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(n){if(n){let t=Object.keys(n);for(let r of t)n[r]!==void 0&&(this[r]=n[r])}}};var $u=class{connectionPair;scrollableViewProperties;constructor(n,t){this.connectionPair=n,this.scrollableViewProperties=t}};var OC=(()=>{class e{_attachedOverlays=[];_document=f(O);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let r=this._attachedOverlays.indexOf(t);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),kC=(()=>{class e extends OC{_ngZone=f(R);_renderer=f(Ne).createRenderer(null,null);_cleanupKeydown;add(t){super.add(t),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=t=>{let r=this._attachedOverlays;for(let o=r.length-1;o>-1;o--)if(r[o]._keydownEvents.observers.length>0){this._ngZone.run(()=>r[o]._keydownEvents.next(t));break}};static \u0275fac=(()=>{let t;return function(o){return(t||(t=cr(e)))(o||e)}})();static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),PC=(()=>{class e extends OC{_platform=f(he);_ngZone=f(R);_renderer=f(Ne).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(t){if(super.add(t),!this._isAttached){let r=this._document.body,o={capture:!0},i=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[i.listen(r,"pointerdown",this._pointerDownListener,o),i.listen(r,"click",this._clickListener,o),i.listen(r,"auxclick",this._clickListener,o),i.listen(r,"contextmenu",this._clickListener,o)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(t=>t()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=t=>{this._pointerDownEventTarget=Je(t)};_clickListener=t=>{let r=Je(t),o=t.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;let i=this._attachedOverlays.slice();for(let s=i.length-1;s>-1;s--){let a=i[s];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(IC(a.overlayElement,r)||IC(a.overlayElement,o))break;let c=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>c.next(t)):c.next(t)}};static \u0275fac=(()=>{let t;return function(o){return(t||(t=cr(e)))(o||e)}})();static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function IC(e,n){let t=typeof ShadowRoot<"u"&&ShadowRoot,r=n;for(;r;){if(r===e)return!0;r=t&&r instanceof ShadowRoot?r.host:r.parentNode}return!1}var FC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=be({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(r,o){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
|
|
16
|
+
`],encapsulation:2,changeDetection:0})}return e})(),Eg=(()=>{class e{_platform=f(he);_containerElement;_document=f(O);_styleLoader=f(xt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||sg()){let o=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let i=0;i<o.length;i++)o[i].remove()}let r=this._document.createElement("div");r.classList.add(t),sg()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(FC)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),bg=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,t,r,o){this._renderer=t,this._ngZone=r,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",o)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},zu=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new N;_attachments=new N;_detachments=new N;_positionStrategy;_scrollStrategy;_locationChanges=H.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new N;_outsidePointerEvents=new N;_afterNextRenderRef;constructor(n,t,r,o,i,s,a,c,l,u=!1,d,p){this._portalOutlet=n,this._host=t,this._pane=r,this._config=o,this._ngZone=i,this._keyboardDispatcher=s,this._document=a,this._location=c,this._outsideClickDispatcher=l,this._animationsDisabled=u,this._injector=d,this._renderer=p,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let t=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=kn(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof t?.onDestroy=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),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._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=v(v({},this._config),n),this._updateElementSize()}setDirection(n){this._config=U(v({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=ve(this._config.width),n.height=ve(this._config.height),n.minWidth=ve(this._config.minWidth),n.minHeight=ve(this._config.minHeight),n.maxWidth=ve(this._config.maxWidth),n.maxHeight=ve(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new bg(this._document,this._renderer,this._ngZone,t=>{this._backdropClick.next(t)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,t,r){let o=uo(t||[]).filter(i=>!!i);o.length&&(r?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=kn(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(t){if(n)throw t;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!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()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},SC="cdk-overlay-connected-position-bounding-box",dP=/([A-Za-z%]+)$/;function Dg(e,n){return new Wu(n,e.get(Ai),e.get(O),e.get(he),e.get(Eg))}var Wu=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new N;_resizeSubscription=H.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,t,r,o,i){this._viewportRuler=t,this._document=r,this._platform=o,this._overlayContainer=i,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(SC),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,t=this._overlayRect,r=this._viewportRect,o=this._containerRect,i=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(n,o,a),l=this._getOverlayPoint(c,t,a),u=this._getOverlayFit(l,t,r,a);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(u,l,r)){i.push({position:a,origin:c,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!s||s.overlayFit.visibleArea<u.visibleArea)&&(s={overlayFit:u,overlayPoint:l,originPoint:c,position:a,overlayRect:t})}if(i.length){let a=null,c=-1;for(let l of i){let u=l.boundingBoxRect.width*l.boundingBoxRect.height*(l.position.weight||1);u>c&&(c=u,a=l)}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&&po(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(SC),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,t)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,t,r){let o;if(r.originX=="center")o=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o=r.originX=="start"?s:a}t.left<0&&(o-=t.left);let i;return r.originY=="center"?i=n.top+n.height/2:i=r.originY=="top"?n.top:n.bottom,t.top<0&&(i-=t.top),{x:o,y:i}}_getOverlayPoint(n,t,r){let o;r.overlayX=="center"?o=-t.width/2:r.overlayX==="start"?o=this._isRtl()?-t.width:0:o=this._isRtl()?0:-t.width;let i;return r.overlayY=="center"?i=-t.height/2:i=r.overlayY=="top"?0:-t.height,{x:n.x+o,y:n.y+i}}_getOverlayFit(n,t,r,o){let i=MC(t),{x:s,y:a}=n,c=this._getOffset(o,"x"),l=this._getOffset(o,"y");c&&(s+=c),l&&(a+=l);let u=0-s,d=s+i.width-r.width,p=0-a,h=a+i.height-r.height,m=this._subtractOverflows(i.width,u,d),_=this._subtractOverflows(i.height,p,h),E=m*_;return{visibleArea:E,isCompletelyWithinViewport:i.width*i.height===E,fitsInViewportVertically:_===i.height,fitsInViewportHorizontally:m==i.width}}_canFitWithFlexibleDimensions(n,t,r){if(this._hasFlexibleDimensions){let o=r.bottom-t.y,i=r.right-t.x,s=TC(this._overlayRef.getConfig().minHeight),a=TC(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||s!=null&&s<=o,l=n.fitsInViewportHorizontally||a!=null&&a<=i;return c&&l}return!1}_pushOverlayOnScreen(n,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let o=MC(t),i=this._viewportRect,s=Math.max(n.x+o.width-i.width,0),a=Math.max(n.y+o.height-i.height,0),c=Math.max(i.top-r.top-n.y,0),l=Math.max(i.left-r.left-n.x,0),u=0,d=0;return o.width<=i.width?u=l||-s:u=n.x<this._viewportMargin?i.left-r.left-n.x:0,o.height<=i.height?d=c||-a:d=n.y<this._viewportMargin?i.top-r.top-n.y:0,this._previousPushAmount={x:u,y:d},{x:n.x+u,y:n.y+d}}_applyPosition(n,t){if(this._setTransformOrigin(n),this._setOverlayElementStyles(t,n),this._setBoundingBoxStyles(t,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let r=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!fP(this._lastScrollVisibility,r)){let o=new $u(n,r);this._positionChanges.next(o)}this._lastScrollVisibility=r}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,o=n.overlayY;n.overlayX==="center"?r="center":this._isRtl()?r=n.overlayX==="start"?"right":"left":r=n.overlayX==="start"?"left":"right";for(let i=0;i<t.length;i++)t[i].style.transformOrigin=`${r} ${o}`}_calculateBoundingBoxRect(n,t){let r=this._viewportRect,o=this._isRtl(),i,s,a;if(t.overlayY==="top")s=n.y,i=r.height-s+this._viewportMargin;else if(t.overlayY==="bottom")a=r.height-n.y+this._viewportMargin*2,i=r.height-a+this._viewportMargin;else{let h=Math.min(r.bottom-n.y+r.top,n.y),m=this._lastBoundingBoxSize.height;i=h*2,s=n.y-h,i>m&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-m/2)}let c=t.overlayX==="start"&&!o||t.overlayX==="end"&&o,l=t.overlayX==="end"&&!o||t.overlayX==="start"&&o,u,d,p;if(l)p=r.width-n.x+this._viewportMargin*2,u=n.x-this._viewportMargin;else if(c)d=n.x,u=r.right-n.x;else{let h=Math.min(r.right-n.x+r.left,n.x),m=this._lastBoundingBoxSize.width;u=h*2,d=n.x-h,u>m&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-m/2)}return{top:s,left:d,bottom:a,right:p,width:u,height:i}}_setBoundingBoxStyles(n,t){let r=this._calculateBoundingBoxRect(n,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{let i=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.height=ve(r.height),o.top=ve(r.top),o.bottom=ve(r.bottom),o.width=ve(r.width),o.left=ve(r.left),o.right=ve(r.right),t.overlayX==="center"?o.alignItems="center":o.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?o.justifyContent="center":o.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",i&&(o.maxHeight=ve(i)),s&&(o.maxWidth=ve(s))}this._lastBoundingBoxSize=r,po(this._boundingBox.style,o)}_resetBoundingBoxStyles(){po(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){po(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,t){let r={},o=this._hasExactPosition(),i=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){let u=this._viewportRuler.getViewportScrollPosition();po(r,this._getExactOverlayY(t,n,u)),po(r,this._getExactOverlayX(t,n,u))}else r.position="static";let a="",c=this._getOffset(t,"x"),l=this._getOffset(t,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),r.transform=a.trim(),s.maxHeight&&(o?r.maxHeight=ve(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(o?r.maxWidth=ve(s.maxWidth):i&&(r.maxWidth="")),po(this._pane.style,r)}_getExactOverlayY(n,t,r){let o={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,n);if(this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;o.bottom=`${s-(i.y+this._overlayRect.height)}px`}else o.top=ve(i.y);return o}_getExactOverlayX(n,t,r){let o={left:"",right:""},i=this._getOverlayPoint(t,this._overlayRect,n);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;o.right=`${a-(i.x+this._overlayRect.width)}px`}else o.left=ve(i.x);return o}_getScrollVisibility(){let n=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:CC(n,r),isOriginOutsideView:yg(n,r),isOverlayClipped:CC(t,r),isOverlayOutsideView:yg(t,r)}}_subtractOverflows(n,...t){return t.reduce((r,o)=>r-Math.max(o,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+n-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:n-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,t){return t==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&uo(n).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){let n=this._origin;if(n instanceof W)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let t=n.width||0,r=n.height||0;return{top:n.y,bottom:n.y+r,left:n.x,right:n.x+t,height:r,width:t}}};function po(e,n){for(let t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}function TC(e){if(typeof e!="number"&&e!=null){let[n,t]=e.split(dP);return!t||t==="px"?parseFloat(n):null}return e||null}function MC(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}function fP(e,n){return e===n?!0:e.isOriginClipped===n.isOriginClipped&&e.isOriginOutsideView===n.isOriginOutsideView&&e.isOverlayClipped===n.isOverlayClipped&&e.isOverlayOutsideView===n.isOverlayOutsideView}var RC="cdk-global-overlay-wrapper";function LC(e){return new Gu}var Gu=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let t=n.getConfig();this._overlayRef=n,this._width&&!t.width&&n.updateSize({width:this._width}),this._height&&!t.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(RC),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:o,height:i,maxWidth:s,maxHeight:a}=r,c=(o==="100%"||o==="100vw")&&(!s||s==="100%"||s==="100vw"),l=(i==="100%"||i==="100vh")&&(!a||a==="100%"||a==="100vh"),u=this._xPosition,d=this._xOffset,p=this._overlayRef.getConfig().direction==="rtl",h="",m="",_="";c?_="flex-start":u==="center"?(_="center",p?m=d:h=d):p?u==="left"||u==="end"?(_="flex-end",h=d):(u==="right"||u==="start")&&(_="flex-start",m=d):u==="left"||u==="start"?(_="flex-start",h=d):(u==="right"||u==="end")&&(_="flex-end",m=d),n.position=this._cssPosition,n.marginLeft=c?"0":h,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":m,t.justifyContent=_,t.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(RC),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},jC=(()=>{class e{_injector=f(V);constructor(){}global(){return LC()}flexibleConnectedTo(t){return Dg(this._injector,t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wg(e,n){e.get(xt).load(FC);let t=e.get(Eg),r=e.get(O),o=e.get(tg),i=e.get(Xe),s=e.get(Ti),a=r.createElement("div"),c=r.createElement("div");c.id=o.getId("cdk-overlay-"),c.classList.add("cdk-overlay-pane"),a.appendChild(c),t.getContainerElement().appendChild(a);let l=new Bu(c,i,e),u=new Da(n),d=e.get(wt,null,{optional:!0})||e.get(Ne).createRenderer(null,null);return u.direction=u.direction||s.value,new zu(l,a,c,u,e.get(R),e.get(kC),r,e.get(dn),e.get(PC),n?.disableAnimations??e.get(_s,null,{optional:!0})==="NoopAnimations",e.get(ne),d)}var BC=(()=>{class e{scrollStrategies=f(NC);_positionBuilder=f(jC);_injector=f(V);constructor(){}create(t){return wg(this._injector,t)}position(){return this._positionBuilder}static \u0275fac=function(r){return new(r||e)};static \u0275prov=g({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),hP=[{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"}],VC=new b("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=f(V);return()=>qu(e)}}),_g=(()=>{class e{elementRef=f(W);constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ee({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return e})(),pP=(()=>{class e{_dir=f(Ti,{optional:!0});_injector=f(V);_overlayRef;_templatePortal;_backdropSubscription=H.EMPTY;_attachSubscription=H.EMPTY;_detachSubscription=H.EMPTY;_positionSubscription=H.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=f(VC);_disposeOnNavigation=!1;_ngZone=f(R);origin;positions;positionStrategy;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)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}backdropClick=new K;positionChange=new K;attach=new K;detach=new K;overlayKeydown=new K;overlayOutsideClick=new K;constructor(){let t=f(Et),r=f($e);this._templatePortal=new Ni(t,r),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?.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=hP);let t=this._overlayRef=wg(this._injector,this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!Au(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),i=Je(r);(!o||o!==i&&!o.contains(i))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),r=new Da({direction:this._dir||"ltr",positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(r.width=this.width),(this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(t){let r=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._getOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=Dg(this._injector,this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof _g?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof _g?this.origin.elementRef.nativeElement:this.origin instanceof W?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}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(hd(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(r){return new(r||e)};static \u0275dir=ee({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",ce],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",ce],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",ce],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",ce],push:[2,"cdkConnectedOverlayPush","push",ce],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",ce]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Dt]})}return e})();function mP(e){let n=f(V);return()=>qu(n)}var gP={provide:VC,useFactory:mP},vP=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=G({type:e});static \u0275inj=z({providers:[BC,gP],imports:[_r,DC,mg,mg]})}return e})();export{v as a,U as b,ZC as c,yP as d,bP as e,Un as f,H as g,wr as h,k as i,N as j,Ma as k,Ee as l,Io as m,Vg as n,je as o,ue as p,I as q,Wn as r,Wa as s,uI as t,dI as u,hI as v,M as w,Ir as x,Xt as y,Pi as z,sd as A,ad as B,_n as C,cd as D,RI as E,oe as F,ht as G,kt as H,xI as I,$n as J,Ve as K,ld as L,Za as M,AI as N,Ka as O,Pt as P,tv as Q,kI as R,PI as S,rv as T,Ro as U,Sr as V,Me as W,Ft as X,ae as Y,lI as Z,FI as _,y as $,Gi as aa,g as ba,z as ca,b as da,C as ea,f as fa,Iv as ga,ne as ha,jv as ia,Bv as ja,Kv as ka,Xv as la,V as ma,O as na,Ie as oa,Ho as pa,me as qa,Jo as ra,Kc as sa,Dt as ta,cr as ua,W as va,Yr as wa,ur as xa,_s as ya,Oe as za,gT as Aa,Db as Ba,DT as Ca,wT as Da,Nb as Ea,Et as Fa,Ne as Ga,wt as Ha,ge as Ia,Xh as Ja,$e as Ka,Ct as La,be as Ma,G as Na,ee as Oa,Xr as Pa,It as Qa,A0 as Ra,C_ as Sa,I_ as Ta,K as Ua,R as Va,kn as Wa,Qr as Xa,ml as Ya,Xe as Za,Pn as _a,q0 as $a,Y0 as ab,Z0 as bb,K0 as cb,X0 as db,Q0 as eb,N_ as fb,mp as gb,gp as hb,gl as ib,fr as jb,hr as kb,ut as lb,vp as mb,yp as nb,k_ as ob,nR as pb,P_ as qb,vl as rb,L_ as sb,aR as tb,ln as ub,ze as vb,B_ as wb,V_ as xb,bp as yb,_p as zb,uR as Ab,dR as Bb,fR as Cb,hR as Db,Ep as Eb,rt as Fb,SR as Gb,xs as Hb,LR as Ib,J_ as Jb,Dp as Kb,eE as Lb,tE as Mb,nE as Nb,UR as Ob,rE as Pb,iE as Qb,HR as Rb,$R as Sb,zR as Tb,WR as Ub,yl as Vb,KR as Wb,XR as Xb,QR as Yb,tx as Zb,rx as _b,ox as $b,ix as ac,Pe as bc,zt as cc,si as dc,Jr as ec,gE as fc,ci as gc,d4 as hc,ME as ic,f4 as jc,h4 as kc,p4 as lc,eo as mc,Up as nc,ce as oc,$p as pc,m4 as qc,OE as rc,un as sc,Kx as tc,mA as uc,gA as vc,vA as wc,yA as xc,EA as yc,wA as zc,IA as Ac,SA as Bc,RA as Cc,tm as Dc,nD as Ec,zs as Fc,mD as Gc,nN as Hc,rN as Ic,o5 as Jc,h5 as Kc,p5 as Lc,vm as Mc,bN as Nc,SN as Oc,ym as Pc,Mt as Qc,yn as Rc,jm as Sc,bn as Tc,vw as Uc,rk as Vc,ok as Wc,ik as Xc,Fw as Yc,fa as Zc,ha as _c,Xm as $c,gk as ad,Je as bd,he as cd,Ii as dd,wu as ed,Bw as fd,Rt as gd,Iu as hd,vk as id,xt as jd,Tu as kd,uo as ld,Zm as md,V6 as nd,qw as od,Xw as pd,Rk as qd,Ak as rd,Nk as sd,tg as td,Au as ud,ng as vd,rg as wd,kk as xd,Pk as yd,L9 as zd,Ti as Ad,Vn as Bd,dZ as Cd,fZ as Dd,bZ as Ed,pZ as Fd,xi as Gd,MZ as Hd,At as Id,va as Jd,lg as Kd,$Z as Ld,mC as Md,tP as Nd,vC as Od,D7 as Pd,w7 as Qd,C7 as Rd,I7 as Sd,gg as Td,Ni as Ud,ju as Vd,Bu as Wd,rK as Xd,oK as Yd,DC as Zd,EC as _d,M7 as $d,aP as ae,A7 as be,ba as ce,lP as de,Ai as ee,pg as fe,mg as ge,xC as he,qu as ie,Da as je,Eg as ke,zu as le,Dg as me,LC as ne,wg as oe,BC as pe,_g as qe,pP as re,vP as se};
|